/* =========================================================
   まりあんヌのアトリエ v7 — ポップ版（てがきアトリエの改良）
   ・文字の大きさは「役割」で決める（下の --fs-* 以外の大きさは使わない）
       --fs-display … TOPの大見出しだけ
       --fs-title   … 各ページのタイトル
       --fs-sec     … セクションの見出し
       --fs-1 / --fs-2 … 大きめの見出し（掲示板の入口・あいさつ など）
       --fs-3       … カードや小見出し
       --fs-body / --fs-sm / --fs-xs … 本文・補足・ラベル
   ・余白は --sp-* の段階だけを使う
   ・ヘッダーとフッターはエメラルドグリーン
   ・本人の写真は「まりあんヌについて」と、吹き出しの小さいお顔だけ
   ========================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  --bg:      #fff8fb;
  --panel:   #ffffff;
  --line:    rgba(38, 31, 70, 0.12);
  --line-2:  rgba(38, 31, 70, 0.26);
  --text:    #261f46;
  --muted:   #554f74;
  --ink:     #261f46;
  --paper:   #ffffff;

  /* エメラルド（水色より・ヘッダー・フッター）＋ 濃い青緑 ＋ 反対色のコーラル */
  --emerald:      #0a8380;
  --emerald-deep: #0b4148;
  --emerald-fill: #33c3b6;
  --emerald-soft: #9fe6dc;
  --tint-emerald: #d9f5f1;
  --teal-line:    #4fd1c5; /* 濃い青緑の上で使う明るい青緑（Copyright など） */
  --coral:   #ff8a6e;
  --coral-t: #c4462b;
  --cream:   #fdf8f0;

  /* 面（塗り）に使う色 */
  --hot:     #ff5aa5;
  --cyan:    #67d3f6;
  --volt:    #ffdb4d;
  --violet:  #9b84ff;
  /* 白地の上の文字に使う色（読みやすい濃さ） */
  --hot-t:    #c4105f;
  --cyan-t:   #0a6d99;
  --volt-t:   #845800;
  --violet-t: #5338c9;
  --live:     #0a7a46;

  /* うすい色面 */
  --tint-hot:    #ffe6f1;
  --tint-cyan:   #e3f6fd;
  --tint-violet: #efeaff;
  --tint-volt:   #fff6cf;
  /* 3匹の色 */
  --kuu:   #fcf0b4;
  --maru:  #e5f2dc;
  --cath:  #fde0e7;

  --dots: radial-gradient(rgba(255, 90, 165, 0.2) 1.3px, transparent 1.7px);
  --shadow: 0 24px 48px -24px rgba(38, 31, 70, 0.42);
  --shadow-s: 0 12px 26px -16px rgba(38, 31, 70, 0.34);

  --f-hand: "Yusei Magic", "Klee One", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --f-en:   "Josefin Sans", "Klee One", sans-serif; /* 英字ラベル・Copyright 用 */
  --f-ja:   "Klee One", "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --fs-display: clamp(3rem, 7.2vw, 8rem);
  --fs-title: clamp(3rem, 6.6vw, 6.4rem);   /* 各ページのタイトル */
  --fs-sec:   clamp(2.5rem, 5.4vw, 4.8rem); /* セクションの見出し */
  --fs-1:   clamp(2.5rem, 5.2vw, 4.6rem);
  --fs-2:   clamp(1.9rem, 3.6vw, 3rem);
  --fs-3:   clamp(1.2rem, 1.7vw, 1.42rem);
  --fs-body: 1.0625rem;
  --fs-sm:  0.9375rem;
  --fs-xs:  0.8125rem;

  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px;
  --sec: clamp(72px, 8.5vw, 120px);
  --r-s: 14px; --r-m: 22px; --r-l: 32px;

  --hd-h: 72px;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ページを開いたとき、ふわっと表示 */
main { animation: page-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
@keyframes page-in { from { opacity: 0; } }

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--dots);
  background-size: 26px 26px;
  color: var(--text);
  font-family: var(--f-ja);
  font-weight: 600;
  font-size: var(--fs-body);
  line-height: 1.95;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--violet-t); outline-offset: 3px; }
::selection { background: var(--volt); color: var(--ink); }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 999;
  background: var(--volt); color: var(--ink);
  padding: 10px 18px; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.keep { word-break: keep-all; overflow-wrap: anywhere; }

[id] { scroll-margin-top: calc(var(--hd-h) + 24px); }

/* ---------- 3. 1文字ずつ出てくる見出し（data-split） ---------- */
[data-split] .seg { display: inline-block; white-space: nowrap; }
[data-split] .ch { display: inline-block; opacity: 0; transform: translateY(0.55em) rotate(8deg) scale(0.6); }
[data-split].is-visible .ch { animation: pop-in 0.75s var(--spring) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes pop-in {
  from { opacity: 0; transform: translateY(0.55em) rotate(8deg) scale(0.6); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 4. CHARACTER SPRITE（くぅ・まる・キャサリン） ---------- */
.sprite { display: block; width: var(--s, 120px); aspect-ratio: 1; overflow: hidden; flex: none; }
.sprite img { width: 400%; max-width: none; height: 100%; animation: sprite var(--spd, 0.9s) steps(4) infinite; }
@keyframes sprite { to { transform: translateX(-100%); } }
@keyframes hop {
  0% { transform: none; }
  30% { transform: translateY(-20%) scale(1.04, 0.96); }
  55% { transform: translateY(0) scale(1.08, 0.9); }
  75% { transform: translateY(-6%); }
  100% { transform: none; }
}

/* ---------- 5. 読んだ量のバー・ローダー ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; z-index: 320; height: 4px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--volt), var(--hot)); transform-origin: left; transform: scaleX(0); }

.loader {
  position: fixed; inset: 0; z-index: 900;
  background: var(--emerald); color: #fff;
  display: grid; place-items: center;
  transition: clip-path 0.9s var(--ease) 0.2s;
  clip-path: circle(150% at 50% 50%);
}
.loader.is-done { clip-path: circle(0% at 50% 50%); pointer-events: none; }
.loader__box { width: min(440px, 84vw); }
.loader__logo { margin: 0 0 var(--sp-2); }
.loader__logo img { display: block; width: 100%; height: auto; }
.loader__logo span { color: var(--volt); }
.loader__run { position: relative; height: 74px; }
.loader__run .sprite { --s: 74px; --spd: 0.6s; position: absolute; bottom: -6px; left: 0; transform: translateX(-50%); scale: -1 1; } /* くぅは左向きの絵なので、右へ走るときは反転 */
.loader__bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--volt); }
.loader__row { display: flex; justify-content: space-between; margin-top: 10px; font-size: var(--fs-sm); }

/* ---------- 6. HEADER（エメラルド） ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--hd-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-left: var(--gutter);
  background: var(--emerald); color: #fff;
  transition: transform 0.45s var(--ease), box-shadow 0.35s;
}
.hd.is-scrolled { box-shadow: 0 10px 30px -18px rgba(7, 60, 48, 0.8); }
.hd.is-hidden { transform: translateY(-100%); }
.hd__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
/* ロゴマーク（んヌ）：クリームの丸に入れて、どの背景でも見えるように */
.badge {
  display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%;
  background: var(--cream); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 6px 14px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s var(--spring);
}
.badge img { width: 74%; height: auto; margin: 4% 0 0 4%; }
.hd__logo:hover .badge { transform: rotate(-12deg) scale(1.06); }
/* ヘッダーのロゴマークは背景の丸なし。白いふちどりでシールのように見せる */
.hd .badge { background: none; box-shadow: none; border-radius: 0; }
.hd .badge img { width: 100%; margin: 0; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }
.badge--l { width: 84px; height: 84px; }
.hd__logo b { font-family: var(--f-hand); font-weight: 400; font-size: 1.5rem; line-height: 1; white-space: nowrap; }
.hd__logo b small { font-size: 0.72em; color: var(--volt); margin: 0 0.06em; }

.hd__nav { margin-left: auto; margin-right: var(--sp-3); }
.hd__nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hd__nav a {
  position: relative; display: block; text-decoration: none; padding: 8px 12px; white-space: nowrap;
  font-family: var(--f-hand); font-size: 1rem; line-height: 1.4; color: #fff;
}
.hd__nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 4px; border-radius: 4px;
  background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.hd__nav a:hover::after, .hd__nav a[aria-current="page"]::after { transform: scaleX(1); }

.hd__menu-btn {
  width: var(--hd-h); height: var(--hd-h); flex: none;
  border: 0; cursor: pointer;
  background: var(--volt); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  font-family: var(--f-hand); font-size: 0.84rem;
  transition: background-color 0.25s;
}
.hd__menu-btn:hover { background: #fff; }
.hd__menu-btn .bars { display: grid; gap: 5px; width: 26px; }
.hd__menu-btn .bars i { display: block; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
/* 3本線。ホバーで真ん中だけ少し短くなる */
.hd__menu-btn .bars i:nth-child(2) { transform-origin: right; }
.hd__menu-btn:hover .bars i:nth-child(2) { transform: scaleX(0.6); }

/* ---------- 7. FULLSCREEN MENU ---------- */
.menu {
  position: fixed; inset: 0; z-index: 400;
  background-color: var(--bg); background-image: var(--dots); background-size: 26px 26px;
  display: grid; grid-template-columns: 1fr minmax(260px, 34vw);
  clip-path: circle(0 at calc(100% - 36px) 36px);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 36px) 36px); visibility: visible; transition: clip-path 0.7s var(--ease), visibility 0s; }
.menu__close {
  position: absolute; top: 0; right: 0; z-index: 2;
  width: var(--hd-h); height: var(--hd-h); border: 0; cursor: pointer;
  background: var(--volt); color: var(--ink); font-family: var(--f-hand); font-size: 0.92rem;
}
.menu__main { padding: calc(var(--hd-h) + 10px) var(--gutter) 40px; overflow-y: auto; }
.menu__label { font-family: var(--f-hand); font-size: var(--fs-sm); color: var(--hot-t); margin: 0 0 var(--sp-1); }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { border-bottom: 2px dashed var(--line-2); overflow: hidden; }
.menu__list a {
  display: grid; grid-template-columns: 52px auto 1fr; align-items: baseline; gap: 6px 18px;
  padding: 12px 0; text-decoration: none;
  transform: translateY(110%); transition: transform 0.6s var(--ease), color 0.25s;
}
.menu.is-open .menu__list a { transform: none; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: 0.05s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: 0.1s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: 0.15s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: 0.2s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: 0.25s; }
.menu__list .num { font-family: var(--f-hand); font-size: var(--fs-sm); color: var(--hot-t); }
.menu__list .ja { font-family: var(--f-hand); font-size: var(--fs-2); line-height: 1.3; }
.menu__list .desc { font-size: var(--fs-xs); color: var(--muted); }
.menu__list a:hover .ja, .menu__list a[aria-current="page"] .ja { color: var(--emerald); }
.menu__side {
  position: relative; overflow: hidden; background-color: var(--emerald);
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.6px, transparent 2px); background-size: 22px 22px;
  padding: calc(var(--hd-h) + 30px) 30px 30px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
}
.menu__side .say__bubble { align-self: flex-start; }
.menu__crew { display: flex; justify-content: center; align-items: flex-end; }
.menu__crew .sprite { --s: clamp(96px, 9vw, 140px); }

/* ---------- 8. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 28px; text-decoration: none; cursor: pointer;
  font-family: var(--f-hand); font-size: 1.1rem; line-height: 1.2;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--panel); color: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color 0.3s, translate 0.35s var(--ease), box-shadow 0.35s;
  box-shadow: 0 6px 0 -2px rgba(38, 31, 70, 0.18);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { box-shadow: 0 2px 0 -2px rgba(38, 31, 70, 0.18); }
.btn .arw { transition: transform 0.3s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }
.btn--hot { background: var(--hot); color: var(--ink); }
.btn--hot::before { background: var(--volt); }
.btn--hot:hover { color: var(--ink); }
.btn[disabled] { opacity: 0.5; cursor: wait; }

/* ---------- 9. SPEECH BUBBLE（小さいお顔＋吹き出し） ---------- */
.say { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-2); align-items: start; }
.say__ava {
  position: relative; width: var(--ava, 64px); height: var(--ava, 64px); border-radius: 50%; overflow: hidden; flex: none;
  border: 3px solid var(--hot); background: var(--panel); box-shadow: var(--shadow-s);
}
.say__ava img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.say__ava--pet { background: var(--c, var(--kuu)); border-color: var(--panel); }
.say__ava--pet .sprite { --s: 175%; position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%); }
.say__ava--pet .sprite img { width: 400%; height: 100%; object-fit: fill; }
.say__ava--txt { display: grid; place-items: center; background: var(--c, var(--tint-cyan)); border-color: var(--panel); font-family: var(--f-hand); font-size: 1.25rem; }
.say__bubble {
  position: relative; min-width: 0;
  background: var(--panel); border: 2px solid var(--ink); border-radius: var(--r-m);
  padding: 14px 22px 16px; box-shadow: var(--shadow-s);
}
.say__bubble::before {
  content: ""; position: absolute; left: -10px; top: calc(var(--ava, 64px) / 2 - 9px);
  width: 16px; height: 16px; background: var(--panel);
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}
.say__name { display: block; font-family: var(--f-hand); font-size: var(--fs-sm); line-height: 1.5; color: var(--hot-t); margin-bottom: 2px; }
.say__bubble p { margin: 0; }
.say--r { grid-template-columns: minmax(0, 1fr) auto; }
.say--r .say__ava { order: 2; }
.say--r .say__bubble::before { left: auto; right: -10px; transform: rotate(-135deg); }
.say__bubble--solo::before { display: none; }

/* ---------- 10. HERO (TOP) ---------- */
.hero { position: relative; overflow: hidden; min-height: max(720px, 100svh); isolation: isolate; }
.hero__block {
  position: absolute; z-index: -1; top: var(--hd-h); right: 0; width: 41%; height: 78%;
  background-color: var(--cyan);
  background-image: radial-gradient(rgba(255, 255, 255, 0.5) 1.6px, transparent 2px);
  background-size: 22px 22px;
  border-bottom-left-radius: 64px;
  animation: block-in 1.2s var(--ease) both;
}
@keyframes block-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
.hero__inner {
  min-height: max(720px, 100svh);
  display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 4vw;
  padding: calc(var(--hd-h) + 40px) var(--gutter) 130px;
  max-width: 1500px; margin: 0 auto;
}
.hero__kicker {
  display: inline-block; margin: 0 0 var(--sp-2); padding: 4px 16px 5px;
  font-family: var(--f-hand); font-size: 1.05rem; color: var(--ink);
  background: var(--panel); border: 2px solid var(--ink); border-radius: 999px;
  animation: wiggle 3.2s ease-in-out infinite;
}
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(2deg); } }
.hero__title { font-family: var(--f-hand); font-weight: 400; margin: 0; font-size: var(--fs-display); line-height: 1.15; letter-spacing: 0.02em; }
.hero__title > span { display: block; }
.hero__title .l2 {
  display: inline-block; color: var(--hot-t); padding: 0 0.06em;
  background: linear-gradient(var(--volt), var(--volt)) no-repeat 0 82% / 0% 30%;
  animation: marker 0.9s var(--ease) 0.7s forwards;
}
@keyframes marker { to { background-size: 100% 30%; } }
/* タイトルの看板（Canvaのタイトル文字をエメラルドの板にのせる） */
.hero__sign {
  position: relative; display: block; margin: 0; max-width: 660px;
  padding: clamp(22px, 3vw, 40px) clamp(22px, 3.2vw, 46px) clamp(20px, 2.8vw, 36px);
  background-color: var(--emerald);
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.6px, transparent 2px); background-size: 22px 22px;
  border-radius: 28px; box-shadow: var(--shadow), inset 0 0 0 3px rgba(255, 255, 255, 0.16);
  transform: rotate(-2deg); transform-origin: 30% 0;
  animation: sign-in 1.2s var(--spring) 0.15s both;
}
.hero__sign img { display: block; width: 100%; height: auto; }
.hero__sign::before, .hero__sign::after {
  content: ""; position: absolute; top: -12px; width: 92px; height: 28px; background: rgba(255, 219, 77, 0.85);
}
.hero__sign::before { left: 22px; transform: rotate(-8deg); }
.hero__sign::after { right: 22px; transform: rotate(7deg); background: rgba(255, 138, 110, 0.85); }
.hero__sign:hover { animation: sign-sway 1.2s ease-in-out; }
@keyframes sign-in { from { opacity: 0; transform: translateY(-70px) rotate(-9deg); } 60% { transform: translateY(6px) rotate(1deg); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes sign-sway { 0%, 100% { transform: rotate(-2deg); } 30% { transform: rotate(1.5deg); } 60% { transform: rotate(-3.5deg); } }
.say--hero { margin: var(--sp-4) 0 var(--sp-4); max-width: 36em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* 作業机のコラージュ：本・作品・3匹 */
.hero__desk { position: relative; justify-self: end; width: min(100%, 540px); aspect-ratio: 1 / 1.04; margin-right: 1.5vw; }
.desk__item {
  position: absolute; margin: 0; background: var(--panel); padding: 9px 9px 36px; box-shadow: var(--shadow);
  transform: rotate(var(--r, -4deg));
  animation: drop-in 1s var(--spring) both, bob 5s ease-in-out 1.2s infinite alternate;
}
.desk__item img { width: 100%; object-fit: cover; }
.desk__item figcaption { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--f-hand); font-size: 1rem; line-height: 1.5; color: var(--ink); }
.desk__item::before {
  content: ""; position: absolute; top: -13px; left: 50%; z-index: 1; width: 86px; height: 26px; margin-left: -43px;
  background: rgba(255, 219, 77, 0.78); transform: rotate(-4deg);
}
.desk__item:nth-of-type(2)::before { background: rgba(103, 211, 246, 0.7); transform: rotate(5deg); }
.desk__item:nth-of-type(3)::before { background: rgba(255, 90, 165, 0.55); }
.desk__book { --r: -5deg; left: 3%; top: 7%; width: 50%; z-index: 2; animation-delay: 0.3s, 1.5s; }
.desk__book img { aspect-ratio: 776 / 1100; }
.desk__uma { --r: 6deg; right: 0; top: 2%; width: 50%; z-index: 1; animation-delay: 0.45s, 0.5s; }
.desk__uma img { aspect-ratio: 16 / 10; }
.desk__note { --r: -2deg; right: 4%; top: 41%; width: 44%; z-index: 3; animation-delay: 0.6s, 2.2s; }
.desk__note img { aspect-ratio: 3 / 2; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-60px) rotate(calc(var(--r) * -2)) scale(0.9); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes bob { from { transform: rotate(var(--r)) translateY(0); } to { transform: rotate(var(--r)) translateY(-10px); } }
.desk__crew { position: absolute; z-index: 4; left: 0; right: 2%; bottom: -9%; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.desk__crew .sprite { --s: clamp(100px, 11vw, 158px); animation: peek 0.9s var(--spring) both; }
.desk__crew .sprite:nth-child(1) { --s: clamp(112px, 12.6vw, 178px); --spd: 1s; margin-bottom: 6%; animation-delay: 0.9s; }
.desk__crew .sprite:nth-child(2) { animation-delay: 1.05s; }
.desk__crew .sprite:nth-child(3) { --spd: 1.2s; animation-delay: 1.2s; }
@keyframes peek { from { opacity: 0; transform: translateY(40%); } to { opacity: 1; transform: none; } }

.hero__side { position: absolute; top: 50%; z-index: 2; margin: 0; font-size: var(--fs-xs); letter-spacing: 0.3em; color: var(--muted); writing-mode: vertical-rl; transform: translateY(-50%); }
.hero__side--l { left: 18px; }
.hero__side--r { right: 16px; color: var(--ink); }

.hero__ticker { position: absolute; left: 0; bottom: 0; z-index: 3; width: min(660px, 84vw); height: 58px; display: flex; background: var(--hot); color: var(--ink); border-top-right-radius: 22px; overflow: hidden; }
.hero__ticker-label { flex: none; display: grid; place-items: center; padding: 0 18px; background: var(--emerald); color: #fff; font-family: var(--f-hand); font-size: 1rem; }
.marquee { overflow: hidden; display: flex; align-items: center; flex: 1; }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; padding-left: 1.5rem; }
.marquee__track > * { white-space: nowrap; }
.hero__ticker .marquee__track { font-size: var(--fs-sm); }
.hero__ticker .marquee__track a { text-decoration: none; }
.hero__ticker .marquee__track a:hover { text-decoration: underline; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero__scroll { position: absolute; right: var(--gutter); bottom: 22px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--f-hand); font-size: 0.85rem; color: var(--muted); text-decoration: none; }
.hero__scroll i { display: block; width: 2px; height: 56px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--hot); animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { to { top: 100%; } }

/* ---------- 11. SECTION HEAD（全セクション共通の型） ---------- */
.sec { position: relative; padding: var(--sec) 0; }
.sec--tight { padding-top: var(--sp-6); }
.sec--first { padding-top: var(--sp-7); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--sp-2) var(--sp-5); margin-bottom: var(--sp-5); }
.sec-head__num { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--sp-1); font-family: var(--f-hand); font-size: var(--fs-sm); color: var(--hot-t); }
.sec-head__num::after { content: ""; width: 44px; height: 4px; border-radius: 4px; background: var(--hot); }
.sec-head__title { margin: 0; font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-sec); line-height: 1.2; }
.sec-head__pet { display: inline-block; vertical-align: bottom; margin: 0 0 -0.12em 0.18em; animation: bob-pet 2.6s ease-in-out infinite alternate; }
.sec-head__pet .sprite { --s: 1.45em; --spd: 1.1s; }
@keyframes bob-pet { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-8px) rotate(4deg); } }
.sec-head__sub { margin: var(--sp-2) 0 0; font-size: var(--fs-body); color: var(--muted); }
.sec-head__more {
  justify-self: start; font-family: var(--f-hand); font-size: 1.05rem; text-decoration: none;
  display: inline-flex; gap: 10px; align-items: center; padding: 10px 22px; border: 2px solid var(--ink); border-radius: 999px; background: var(--panel);
  transition: background-color 0.25s, color 0.25s;
}
.sec-head__more:hover { background: var(--ink); color: #fff; }
.sec-head--art { align-items: center; }
.sec-head__art {
  margin: 0; width: clamp(140px, 17vw, 210px); background: var(--panel); padding: 8px 8px 8px;
  box-shadow: var(--shadow); transform: rotate(3deg); border-radius: 8px;
}
.sec-head__art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.sec-head__art.is-visible { animation: art-in 0.9s var(--spring) both; }
@keyframes art-in { from { opacity: 0; transform: rotate(-8deg) scale(0.8); } to { opacity: 1; transform: rotate(3deg); } }

/* ---------- 12. BIG MARQUEE BAND ---------- */
.band { overflow: hidden; padding: 6px 0; background: var(--volt); }
.band .marquee__track { animation-duration: 40s; gap: 2.4rem; align-items: center; }
.band span { font-family: var(--f-hand); font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1.3; color: var(--ink); }
.band span:nth-child(4n+3) { color: var(--hot-t); }
.band span.star { color: var(--hot); font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.band--rev { background: var(--hot); }
.band--rev .marquee__track { animation-direction: reverse; }
.band--rev span { color: #fff; }
.band--rev span:nth-child(4n+3) { color: var(--ink); }
.band--rev span.star { color: var(--volt); }

/* ---------- 13. つくったもの（縦スクロールで横にめくれるギャラリー） ---------- */
.hs {
  position: relative; color: #fff;
  background-color: var(--emerald-deep);
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.6px, transparent 2px); background-size: 24px 24px;
}
.hs__sticky { display: flex; flex-direction: column; justify-content: center; gap: var(--sp-5); padding: var(--sec) 0; overflow: hidden; }
.hs.is-pinned .hs__sticky { position: sticky; top: 0; height: 100svh; padding: calc(var(--hd-h) * 0.5) 0 var(--sp-4); }
.hs__head .sec-head { margin: 0; }
.hs .sec-head__num { color: var(--coral); }
.hs .sec-head__num::after { background: var(--coral); }
.hs .sec-head__sub { color: var(--emerald-soft); }
.hs__track { display: flex; align-items: flex-start; gap: clamp(28px, 3.6vw, 56px); width: max-content; padding: 26px var(--gutter) 12px; will-change: transform; }
.hs:not(.is-pinned) .hs__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--sp-3); scrollbar-color: var(--coral) transparent; }
.hs__item {
  --r: -2.5deg; --tape: rgba(255, 219, 77, 0.88);
  flex: none; position: relative; display: grid; gap: 2px; width: calc(min(41svh, 380px) * 0.82);
  padding: 12px 12px 18px; background: #fff; color: var(--ink); text-decoration: none; border-radius: 6px;
  box-shadow: 0 26px 40px -24px rgba(0, 0, 0, 0.6); scroll-snap-align: start;
  transform: perspective(900px) rotate(var(--r)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--spring);
}
.hs__item:nth-child(even) { --r: 2deg; --tape: rgba(255, 138, 110, 0.85); margin-top: 5vh; }
.hs__item:nth-child(3n) { --r: -1deg; --tape: rgba(103, 211, 246, 0.85); }
.hs__item:hover { --r: 0deg; }
.hs__item.is-tilting { transition: transform 0.12s linear; }
.hs__item::before { content: ""; position: absolute; top: -12px; left: 50%; z-index: 1; width: 90px; height: 26px; margin-left: -45px; background: var(--tape); transform: rotate(-4deg); }
.hs__pic { margin: 0 0 8px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--tint-hot); }
.hs__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hs__item:hover .hs__pic img { transform: scale(1.06); }
.hs__no { font-family: var(--f-hand); font-size: var(--fs-sm); color: var(--coral-t); }
.hs__title { font-family: var(--f-hand); font-size: var(--fs-3); line-height: 1.45; }
.hs__meta { font-size: var(--fs-xs); color: var(--muted); }
.hs__more { flex: none; align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); width: 260px; font-family: var(--f-hand); font-size: var(--fs-3); line-height: 1.6; color: #fff; text-decoration: none; }
.hs__more .arw-circle { border-color: #fff; background: transparent; color: #fff; }
.hs__more:hover .arw-circle { background: var(--volt); border-color: var(--volt); color: var(--ink); transform: rotate(-45deg) scale(1.08); }
.hs__bar::before { content: ""; display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.15); }
.hs__bar i { display: block; height: 6px; margin-top: -6px; border-radius: 6px; background: linear-gradient(90deg, var(--volt), var(--coral)); transform-origin: left; transform: scaleX(0); }
.hs:not(.is-pinned) .hs__bar { display: none; }

/* ---------- 14. うちの3匹（TOP） ---------- */
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); list-style: none; margin: 0 0 var(--sp-5); padding: 0; }
.crew__card {
  --c: var(--kuu);
  position: relative; background: var(--c); border-radius: var(--r-l); padding: var(--sp-3) var(--sp-3) var(--sp-4); text-align: center;
  box-shadow: var(--shadow-s); transition: transform 0.5s var(--spring), box-shadow 0.5s;
}
.crew__card--maru { --c: var(--maru); }
.crew__card--cath { --c: var(--cath); }
.crew__card:nth-child(1) { rotate: -1.5deg; }
.crew__card:nth-child(3) { rotate: 1.5deg; }
.crew__card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.crew__pet {
  display: grid; place-items: center; width: min(82%, 240px); aspect-ratio: 1; margin: 0 auto var(--sp-1);
  padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.6); cursor: pointer;
}
.crew__pet .sprite { --s: 100%; --spd: 1.1s; }
.crew__card:hover .crew__pet .sprite, .crew__pet.is-hop .sprite { animation: hop 0.75s var(--spring); }
.crew__name { margin: 0; font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-3); line-height: 1.4; }
.crew__role { display: inline-block; margin: 6px 0 0; padding: 2px 14px; border-radius: 999px; background: var(--panel); font-size: var(--fs-xs); }
.chat { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }

/* ---------- 15. NEWS ---------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); background: rgba(255, 255, 255, 0.8); border-radius: 0 0 var(--r-m) var(--r-m); }
.news-item { border-bottom: 2px dashed var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item > a, .news-item > div {
  display: grid; grid-template-columns: 116px 104px 1fr 30px; gap: var(--sp-2); align-items: center;
  padding: var(--sp-3) var(--sp-2); text-decoration: none; position: relative; isolation: isolate;
}
.news-item > a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tint-emerald); transform: scaleY(0); transform-origin: bottom; transition: transform 0.4s var(--ease); }
.news-item > a:hover::before { transform: scaleY(1); }
.news-item time { font-size: var(--fs-sm); color: var(--muted); }
.news-item .t { font-size: var(--fs-body); line-height: 1.7; }
.news-item .arw { color: var(--emerald); transition: transform 0.3s var(--ease); }
.news-item > a:hover .arw { transform: translateX(6px); }
.tag { display: inline-block; justify-self: start; font-size: var(--fs-xs); line-height: 1; font-weight: 600; padding: 7px 12px; border-radius: 999px; color: var(--ink); background: var(--tint-violet); }
.tag--info { background: var(--volt); }
.tag--blog { background: var(--hot); }
.tag--works { background: var(--cyan); }

/* ---------- 16. つぶやき（ノートのページ風カード） ---------- */
/* ノートのページ（罫線・左の余白線・とじ穴） */
.p-card:not(.p-card--all), .tl-card, .note-card {
  background-color: #fff;
  background-image:
    linear-gradient(90deg, transparent 46px, rgba(255, 90, 165, 0.42) 46px, rgba(255, 90, 165, 0.42) 48px, transparent 48px),
    repeating-linear-gradient(transparent 0 33px, rgba(103, 211, 246, 0.36) 33px 34px);
  background-position: 0 0, 0 20px;
  border-radius: 6px 24px 24px 6px;
}
.p-card:not(.p-card--all)::after, .tl-card::after, .note-card::after {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: 34px; width: 14px; pointer-events: none;
  background: radial-gradient(circle, var(--bg) 5px, rgba(38, 31, 70, 0.14) 5.5px, transparent 6.5px) 0 0 / 14px 44px repeat-y;
}
/* マスキングテープ */
.p-card::before, .tl-card::before, .note-card::before {
  content: ""; position: absolute; top: -13px; left: 50%; z-index: 1; width: 96px; height: 28px; margin-left: -48px;
  background: var(--tape, rgba(255, 219, 77, 0.85)); transform: rotate(-3deg);
}
/* 日付のスタンプ */
.p-card__stamp, .tl-card__stamp, .note-card__stamp {
  position: absolute; right: 18px; top: 18px; display: grid; place-items: center; align-content: center;
  width: 76px; height: 76px; border-radius: 50%; border: 2px dashed var(--hot); background: rgba(255, 255, 255, 0.9);
  font-family: var(--f-hand); color: var(--hot-t); line-height: 1.15; transform: rotate(-12deg);
  transition: transform 0.6s var(--spring);
}
.p-card__stamp b, .tl-card__stamp b, .note-card__stamp b { font-weight: 400; font-size: 1.25rem; }
.p-card__stamp small, .tl-card__stamp small, .note-card__stamp small { font-family: var(--f-ja); font-size: 0.68rem; }
.p-card:hover .p-card__stamp, .tl-card:hover .tl-card__stamp, .note-card:hover .note-card__stamp { transform: rotate(8deg) scale(1.08); }

.slider-ctrl { display: flex; gap: 10px; }
.slider-ctrl button { width: 56px; height: 56px; border: 2px solid var(--ink); border-radius: 50%; background: var(--panel); cursor: pointer; font-size: 1.1rem; transition: background-color 0.25s, color 0.25s, transform 0.35s var(--spring); }
.slider-ctrl button:hover { background: var(--ink); color: var(--paper); transform: scale(1.08); }
.slider { display: flex; gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; padding: 22px var(--gutter) 40px; margin: 0; list-style: none; scrollbar-width: thin; scrollbar-color: var(--hot) transparent; }
.slider > li { flex: none; width: clamp(290px, 30vw, 420px); scroll-snap-align: start; }
.slider > li:nth-child(even) .p-card { --r: 1.2deg; --tape: rgba(255, 138, 110, 0.85); }
.slider > li:nth-child(3n) .p-card { --tape: rgba(103, 211, 246, 0.85); }
.p-card {
  --r: -1.2deg;
  height: 100%; min-height: 380px; display: flex; flex-direction: column; position: relative;
  padding: 30px 28px 26px 66px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)) rotate(var(--r));
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.p-card:hover { --ty: -8px; --r: 0deg; box-shadow: var(--shadow); }
.p-card.is-tilting { transition: transform 0.12s linear, box-shadow 0.5s; }
.p-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; position: relative; padding-right: 84px; }
.p-card__ava { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 3px solid var(--hot); flex: none; }
.p-card__ava img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.p-card__meta b { font-family: var(--f-hand); font-weight: 400; }
.p-card__title { margin: auto 0 var(--sp-1); padding-top: var(--sp-4); font-family: var(--f-hand); font-size: var(--fs-3); line-height: 1.6; }
.p-card__sum { color: var(--muted); font-size: var(--fs-sm); margin: 0 0 var(--sp-3); }
.p-card__more { align-self: flex-start; display: inline-flex; gap: 8px; padding: 8px 18px; border-radius: 999px; background: var(--tint-hot); font-family: var(--f-hand); font-size: 1rem; color: var(--hot-t); transition: background-color 0.3s, color 0.3s; }
.p-card:hover .p-card__more { background: var(--hot); color: var(--ink); }
.p-card--all { --r: 0deg; background: var(--emerald); color: #fff; padding: var(--sp-4); border-radius: var(--r-l); justify-content: space-between; align-items: flex-start; }
.p-card--all .label { font-size: var(--fs-xs); color: #fff; }
.p-card--all .hand { font-family: var(--f-hand); font-size: var(--fs-2); line-height: 1.25; }
.p-card--all .sprite { --s: 150px; align-self: flex-end; margin: -20px -10px -16px 0; }

/* ---------- 17. ARCHIVE LIST (TOP) ---------- */
.arc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); background: rgba(255, 255, 255, 0.8); border-radius: 0 0 var(--r-m) var(--r-m); overflow: hidden; }
.arc-row { border-bottom: 2px dashed var(--line); }
.arc-row:last-child { border-bottom: 0; }
.arc-row a {
  display: grid; grid-template-columns: 64px 1fr 120px 100px; gap: var(--sp-3); align-items: center;
  padding: var(--sp-3) var(--sp-2); text-decoration: none; position: relative; isolation: isolate;
  transition: padding 0.45s var(--ease);
}
.arc-row a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.arc-row a:hover::before, .arc-row a:focus-visible::before { transform: scaleX(1); }
.arc-row a:hover { padding-left: var(--sp-4); }
.arc-row .num { font-family: var(--f-hand); font-size: var(--fs-3); color: var(--hot-t); }
.arc-row .ttl { font-family: var(--f-hand); font-size: var(--fs-3); line-height: 1.5; }
.arc-row .cat { font-size: var(--fs-sm); color: var(--muted); }
.arc-row a:hover .num, .arc-row a:hover .cat, .arc-row a:hover .lamp { color: var(--ink); }
.arc-thumb {
  position: fixed; z-index: 250; pointer-events: none; width: 300px; aspect-ratio: 16 / 10;
  overflow: hidden; border: 8px solid #fff; border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; transform: translate(-50%, -50%) scale(0.6) rotate(-4deg);
  transition: opacity 0.25s, transform 0.4s var(--spring);
}
.arc-thumb.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.arc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lamp { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; }
.lamp::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.lamp--live { color: var(--live); }
.lamp--live::before { animation: blink 1.4s ease-in-out infinite; }
.lamp--wip { color: var(--volt-t); }
.lamp--soon { color: var(--muted); }
@keyframes blink { 50% { opacity: 0.2; } }

/* ---------- 18. SPLIT CTA（掲示板・お問合せ） ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); padding: 0 var(--gutter) var(--sec); max-width: 1500px; margin: 0 auto; }
.split__item {
  min-height: clamp(300px, 40vh, 420px); padding: clamp(28px, 4vw, 52px);
  display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--r-l);
  text-decoration: none; color: var(--ink); position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--spring);
}
.split__item:hover { transform: translateY(-6px) rotate(-0.6deg); }
.split__item--bbs { background: var(--cyan); }
.split__item--contact { background: var(--hot); }
.split__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--volt); transform: translateY(101%); transition: transform 0.55s var(--ease); }
.split__item:hover::before { transform: none; }
.split__label { font-family: var(--f-hand); font-size: var(--fs-sm); }
.split__title { font-family: var(--f-hand); font-size: var(--fs-1); line-height: 1.2; position: relative; z-index: 1; }
.split__lead { font-size: var(--fs-sm); }
.split__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.arw-circle {
  flex: none; width: 68px; height: 68px; border-radius: 50%; border: 2px solid var(--ink); background: rgba(255, 255, 255, 0.55);
  display: grid; place-items: center; font-size: 1.4rem;
  transition: transform 0.5s var(--spring), background-color 0.3s, color 0.3s;
}
.split__item:hover .arw-circle { transform: rotate(-45deg) scale(1.08); background: var(--ink); color: var(--volt); }
.split__pet { position: absolute; right: clamp(16px, 3vw, 44px); top: clamp(16px, 2.4vw, 36px); z-index: 0; }
.split__pet .sprite { --s: clamp(100px, 11vw, 168px); }
.split__item:hover .split__pet .sprite { animation: hop 0.75s var(--spring); }

/* ---------- 19. FOOTER ----------
   ・上：3匹がいろんな歩き方で行き来する「おさんぽ道」（奥と手前の2列）
   ・波の線から下が濃い青緑のフッター本体
   ・タイトル画像 → 左：Contact（お問合せ・SNS）／右：Site Map（縦一列）
   ・いちばん下：Copyright の行（Copyright の文字だけ細く・青緑）
   ※ 歩きの絵は くぅ＝左向き、まる・キャサリン＝右向き。進む向きに合わせて .is-flip で反転する */
.ft { position: relative; }

/* おさんぽ道 */
.ft__parade { position: relative; height: 168px; overflow: hidden; margin-bottom: -30px; pointer-events: none; }
.ft__lane { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; }
.ft__lane--back { bottom: 20px; z-index: 0; opacity: 0.8; }
.ft__lane--back .walker .sprite { --s: 64px; --spd: 0.95s; }
.ft__lane--front { z-index: 2; }
.walker { position: absolute; bottom: 0; left: 0; will-change: transform; animation: walk-r var(--dur, 44s) linear var(--delay, 0s) infinite; }
.walker--l { animation-name: walk-l; }
.walker .sprite { --s: 104px; --spd: 0.75s; }
.walker--run .sprite { --spd: 0.5s; }
.walker__body { position: relative; display: block; }
.walker--hop .walker__body { animation: walk-hop 0.75s ease-in-out infinite; }
.walker--run .walker__body { animation: walk-hop 0.5s ease-in-out infinite; }
.sprite.is-flip { scale: -1 1; }
@keyframes walk-r { from { transform: translateX(-180px); } to { transform: translateX(calc(100vw + 60px)); } }
@keyframes walk-l { from { transform: translateX(calc(100vw + 60px)); } to { transform: translateX(-180px); } }
@keyframes walk-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.walker__say {
  position: absolute; left: 50%; bottom: calc(100% - 6px); translate: -50% 0; white-space: nowrap;
  padding: 3px 12px 4px; border: 2px solid var(--ink); border-radius: 999px; background: #fff;
  font-family: var(--f-hand); font-size: 0.82rem; line-height: 1.5; color: var(--ink);
  animation: say-blink 9s var(--spring) infinite;
}
.walker__say::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: #fff; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg);
}
@keyframes say-blink { 0%, 8% { opacity: 0; transform: scale(0.6); } 14%, 62% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; transform: scale(0.8); } }

/* 波の線 */
.ft__wave { position: relative; z-index: 1; display: block; width: 100%; height: 44px; color: var(--emerald-deep); }
.ft__wave path { fill: currentColor; }
.ft__wave .back { fill: var(--emerald); }

/* 本体 */
.ft__body {
  position: relative; margin-top: -2px; color: #fff;
  background-color: var(--emerald-deep);
  background-image: radial-gradient(rgba(159, 230, 220, 0.09) 1.4px, transparent 1.8px); background-size: 24px 24px;
}
.ft__inner { padding-top: var(--sp-5); padding-bottom: var(--sp-6); }

.ft__brand { display: grid; justify-items: center; text-align: center; }
.ft__title { display: block; width: min(560px, 86%); transition: transform 0.6s var(--spring); }
.ft__title img { display: block; width: 100%; height: auto; }
.ft__title:hover { transform: rotate(-2deg) scale(1.03); }
.ft__tagline { display: inline-flex; align-items: center; gap: 14px; margin: var(--sp-2) 0 0; font-size: var(--fs-sm); color: #cfe6e6; letter-spacing: 0.12em; }
.ft__tagline::before, .ft__tagline::after { content: "✦"; color: var(--volt); font-size: 0.8em; }

.ft__cols {
  display: grid; grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px);
  max-width: 1040px; margin: var(--sp-6) auto 0;
}
.ft__cols::before {
  content: ""; grid-column: 2; grid-row: 1; width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.22) 0 6px, transparent 6px 14px);
}
.ft__col--contact { grid-column: 1; grid-row: 1; }
.ft__col--nav { grid-column: 3; grid-row: 1; }

.ft__label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 var(--sp-3); font-weight: 400; line-height: 1.2; }
.ft__label .en { font-family: var(--f-en); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: 0.08em; color: #fff; }
.ft__label .en::first-letter { color: var(--coral); }
.ft__label .ja { font-size: var(--fs-xs); letter-spacing: 0.14em; color: var(--emerald-soft); }

.ft__text { margin: 0 0 var(--sp-3); font-size: var(--fs-sm); color: #cfe6e6; line-height: 1.9; }
.ft__btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px 14px 16px;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--coral); color: var(--ink);
  font-family: var(--f-hand); font-size: 1.08rem; line-height: 1.3; text-decoration: none;
  box-shadow: 0 6px 0 -1px rgba(0, 0, 0, 0.32);
  transition: transform 0.45s var(--spring), background-color 0.3s, box-shadow 0.3s;
}
.ft__btn:hover { transform: translateY(-3px) rotate(-1.5deg); background: var(--volt); box-shadow: 0 9px 0 -1px rgba(0, 0, 0, 0.32); }
.ft__btn-ico { position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #fff; border: 2px solid var(--ink); flex: none; }
.ft__btn-ico .sprite { --s: 170%; --spd: 1.1s; position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); }
.ft__btn .arw { transition: transform 0.35s var(--ease); }
.ft__btn:hover .arw { transform: translateX(5px); }

.ft__sns { display: flex; flex-wrap: wrap; gap: 12px 26px; list-style: none; margin: var(--sp-4) 0 0; padding: 0; }
.ft__sns a { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--f-en); font-weight: 300; font-size: 0.98rem; letter-spacing: 0.06em; transition: color 0.3s; }
.ft__sns-ico {
  position: relative; display: block; width: 48px; height: 48px; border-radius: 50%; flex: none;
  border: 2px solid rgba(255, 255, 255, 0.7); transition: transform 0.5s var(--spring), background-color 0.3s, border-color 0.3s;
}
.ft__sns-ico::after { content: ""; position: absolute; inset: 12px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.ft__sns-ico--ig { --icon: url("../img/icons/instagram.svg"); }
.ft__sns-ico--x { --icon: url("../img/icons/x.svg"); }
.ft__sns a:hover { color: var(--volt); }
.ft__sns a:hover .ft__sns-ico { transform: rotate(-12deg) scale(1.08); background: var(--emerald); border-color: var(--volt); }
.ft__sns small { display: block; font-family: var(--f-ja); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--emerald-soft); line-height: 1.4; }

.ft__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.ft__links li { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.ft__links a {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 13px 4px; color: #fff; text-decoration: none; transition: color 0.3s, background-color 0.3s;
}
.ft__links .no { font-family: var(--f-en); font-weight: 300; font-size: 0.86rem; letter-spacing: 0.08em; color: var(--emerald-soft); }
.ft__links .t { font-family: var(--f-hand); font-size: 1.04rem; line-height: 1.5; transition: transform 0.4s var(--ease); }
.ft__links .arw { color: var(--coral); opacity: 0.55; transition: transform 0.4s var(--ease), opacity 0.3s; }
.ft__links a:hover { color: var(--volt); background: rgba(255, 255, 255, 0.04); }
.ft__links a:hover .t { transform: translateX(6px); }
.ft__links a:hover .arw { opacity: 1; transform: translateX(4px); }
.ft__links a[aria-current="page"] .t { color: var(--volt); }
.ft__links a[aria-current="page"] .no { color: var(--volt); }

/* Copyright の行 */
.ft__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.16); }
.ft__bottom .wrap { padding-top: 20px; padding-bottom: 22px; text-align: center; }
.ft__copy { margin: 0; font-family: var(--f-en); font-weight: 400; font-size: 0.82rem; line-height: 1.9; letter-spacing: 0.1em; color: #d7ecec; }
.ft__copy-word { font-weight: 200; font-size: 1.12em; letter-spacing: 0.3em; color: var(--teal-line); margin-right: 0.3em; }
.ft__copy .ja { font-family: var(--f-ja); font-weight: 600; letter-spacing: 0.08em; }
.ft__copy .sep { display: inline-block; width: 22px; height: 1px; margin: 0 0.7em; vertical-align: middle; background: var(--teal-line); opacity: 0.7; }

@media (max-width: 860px) {
  .ft__lane .walker.is-wide { display: none; }
  .ft__cols { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); max-width: 560px; }
  .ft__cols::before { display: none; }
  .ft__col--contact, .ft__col--nav { grid-column: 1; grid-row: auto; }
  .ft__col--nav { padding-top: var(--sp-5); border-top: 2px dashed rgba(255, 255, 255, 0.18); }
}
@media (max-width: 640px) {
  .ft__parade { height: 132px; margin-bottom: -22px; }
  .ft__lane--back { bottom: 16px; }
  .ft__lane--back .walker .sprite { --s: 50px; }
  .walker .sprite { --s: 80px; }

  .ft__wave { height: 30px; }
  .ft__inner { padding-top: var(--sp-4); padding-bottom: var(--sp-5); }
  .ft__btn { width: 100%; }
  .ft__copy .sep { display: block; width: 0; height: 0; margin: 0; }
}

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  width: 60px; height: 60px; border: 2px solid var(--ink); border-radius: 50%; cursor: pointer;
  background: var(--volt); color: var(--ink); box-shadow: var(--shadow-s);
  font-family: var(--f-hand); font-size: 0.8rem; line-height: 1.15;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s, transform 0.4s var(--spring), visibility 0.3s, background-color 0.3s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px) rotate(-8deg); background: var(--coral); }

/* ---------- 20. PAGE HERO（下層ページ：パンくず・ページ番号なし） ---------- */
.phero {
  --tint: var(--tint-violet); --accent: var(--violet); --accent-t: var(--violet-t);
  position: relative; overflow: hidden; isolation: isolate;
  --accent-soft: rgba(155, 132, 255, 0.4);
  padding: calc(var(--hd-h) + var(--sp-5)) 0 var(--sp-5);
  background-color: var(--tint); background-image: var(--dots); background-size: 26px 26px;
  border-radius: 0 0 56px 56px;
}
.phero--hot { --tint: var(--tint-hot); --accent: var(--hot); --accent-t: var(--hot-t); --accent-soft: rgba(255, 90, 165, 0.32); }
.phero--cyan { --tint: var(--tint-cyan); --accent: var(--cyan); --accent-t: var(--cyan-t); --accent-soft: rgba(103, 211, 246, 0.5); }
.phero--volt { --tint: var(--tint-volt); --accent: var(--volt); --accent-t: var(--volt-t); --accent-soft: rgba(255, 219, 77, 0.75); }
.phero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--sp-5); min-height: clamp(300px, 42svh, 460px); }
.phero__title {
  display: inline; margin: 0; padding: 0 0.06em; font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-title); line-height: 1.3;
  background: linear-gradient(transparent 66%, var(--accent-soft) 66%, var(--accent-soft) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.phero__sub {
  display: flex; align-items: center; gap: 12px; margin: var(--sp-2) 0 0;
  font-family: var(--f-hand); font-size: var(--fs-3); color: var(--accent-t);
}
.phero__sub::before { content: ""; width: 44px; height: 4px; border-radius: 4px; background: var(--accent); flex: none; }
.phero__lead { max-width: 32em; margin: var(--sp-2) 0 0; color: var(--muted); }
.phero__chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: var(--sp-3) 0 0; padding: 0; }
.phero__chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--panel); font-family: var(--f-hand); font-size: 1rem; text-decoration: none; box-shadow: 0 5px 0 -1px rgba(38, 31, 70, 0.16);
  transition: background-color 0.3s, transform 0.4s var(--spring);
}
.phero__chips a:hover { background: var(--accent); transform: translateY(-3px) rotate(-2deg); }
.phero__chips li { animation: chip-in 0.7s var(--spring) both; }
.phero__chips li:nth-child(2) { animation-delay: 0.1s; }
.phero__chips li:nth-child(3) { animation-delay: 0.2s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(16px) scale(0.9); } }
/* 重なり順：うしろの色ブロック(-2) → 白いカードと枠線(-1) → 写真・キャラ */
.phero__media {
  position: relative; isolation: isolate; justify-self: end; width: min(100%, 500px); aspect-ratio: 5 / 4; margin: 0; padding: 3px;
  border-radius: var(--r-l);
  animation: media-in 1s var(--spring) 0.2s both;
}
.phero__media::before {
  content: ""; position: absolute; inset: 0; z-index: -2; border-radius: var(--r-l);
  background: var(--accent); transform: rotate(5deg) translate(14px, 10px);
}
.phero__media::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-l);
  border: 3px solid var(--ink); background: var(--panel);
}
@keyframes media-in { from { opacity: 0; transform: translateY(30px) rotate(-4deg) scale(0.92); } to { opacity: 1; transform: none; } }
.phero__media--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-l) - 3px); }
.phero__media--grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; padding: 9px; }
.phero__media--grid img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 18px; }
.phero__media--pet { display: grid; place-items: center; }
.phero__media--pet::after {
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 40%, transparent) 1.8px, transparent 2.2px); background-size: 22px 22px;
}
.phero__media--pet .sprite { --s: 62%; --spd: 1.1s; }

/* 英字の小見出し（各ページのタイトルの上） */
.phero__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--sp-1); font-family: var(--f-en); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent-t); animation: chip-in 0.7s var(--spring) both; }
.phero__eyebrow::before { content: ""; width: 26px; height: 20px; flex: none; background: var(--accent); border-radius: 50% 50% 50% 6px; box-shadow: inset 0 0 0 2px var(--ink); animation: eyebrow-bob 2.6s ease-in-out infinite; }
@keyframes eyebrow-bob { 50% { transform: translateY(-3px) rotate(-8deg); } }

/* 枠なしのキャラステージ（掲示板・お問合せ）：ゆれる色のかたち＋ふきだし＋3匹 */
.stage { position: relative; justify-self: end; width: min(100%, 520px); aspect-ratio: 1 / 0.86; isolation: isolate; }
.stage__blob {
  position: absolute; inset: 8% 8% 6% 10%; z-index: -2;
  background-color: var(--accent);
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 1.6px, transparent 2px); background-size: 20px 20px;
  border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%;
  animation: blob-morph 12s ease-in-out infinite, blob-in 1s var(--spring) both;
}
.stage__blob--2 {
  inset: 22% 3% auto auto; width: 14%; aspect-ratio: 1; z-index: -1;
  background-color: var(--volt); background-image: none; border: 2px solid var(--ink);
  animation: blob-morph 9s ease-in-out infinite reverse, blob-in 1s var(--spring) 0.25s both;
}
@keyframes blob-morph {
  0%, 100% { border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; }
  33% { border-radius: 44% 56% 60% 40% / 46% 58% 42% 54%; }
  66% { border-radius: 52% 48% 38% 62% / 60% 40% 60% 40%; }
}
@keyframes blob-in { from { opacity: 0; transform: scale(0.6) rotate(-10deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.stage__pet { position: absolute; display: block; }
.stage__pet--main { left: 50%; top: 50%; translate: -50% -52%; animation: pet-in 0.9s var(--spring) 0.3s both; }
.stage__pet--main .sprite { --s: clamp(190px, 21vw, 280px); --spd: 1.1s; animation: pet-bob 3.2s ease-in-out infinite; }
.stage__pet--l { left: 2%; bottom: 0; animation: pet-in 0.9s var(--spring) 0.55s both; }
.stage__pet--r { right: 6%; bottom: 2%; animation: pet-in 0.9s var(--spring) 0.7s both; }
.stage__pet--l .sprite, .stage__pet--r .sprite { --s: clamp(104px, 11vw, 146px); --spd: 1s; animation: pet-bob 2.6s ease-in-out infinite; }
.stage__pet--r .sprite { animation-delay: -1.3s; }
@keyframes pet-in { from { opacity: 0; transform: translateY(40px) scale(0.7); } }
@keyframes pet-bob { 50% { transform: translateY(-8px); } }
/* ふきだし：チャットのように順番にぽこっと出て、ふわっと消える（くりかえし） */
.stage__bubble {
  position: absolute; z-index: 3; padding: 8px 16px 9px; white-space: nowrap;
  background: #fff; border: 2px solid var(--ink); border-radius: 18px 18px 18px 4px;
  font-family: var(--f-hand); font-size: clamp(0.88rem, 1.1vw, 1.02rem); line-height: 1.4; color: var(--ink);
  box-shadow: 0 5px 0 -1px rgba(38, 31, 70, 0.18);
  opacity: 0; animation: bubble-pop 10s var(--spring) infinite;
}
.stage__bubble--1 { left: 0; top: 30%; animation-delay: 0.9s; }
.stage__bubble--2 { right: 0; top: 4%; border-radius: 18px 18px 4px 18px; background: var(--tint-hot); animation-delay: 3.4s; }
.stage__bubble--3 { right: -2%; top: 46%; border-radius: 18px 18px 4px 18px; background: var(--tint-volt); animation-delay: 5.9s; }
.stage__bubble--4 { left: 6%; top: 8%; background: var(--maru); animation-delay: 8.4s; }
@keyframes bubble-pop {
  0% { opacity: 0; transform: translateY(14px) scale(0.5); }
  6% { opacity: 1; transform: none; }
  34% { opacity: 1; transform: translateY(-8px); }
  42%, 100% { opacity: 0; transform: translateY(-22px) scale(0.92); }
}
.stage__spark { position: absolute; z-index: 2; color: var(--hot); font-size: 1.4rem; line-height: 1; animation: twinkle 2.4s ease-in-out infinite; }
.stage__spark--1 { left: 20%; top: 6%; }
.stage__spark--2 { right: 26%; bottom: 8%; color: var(--volt-t); font-size: 1.1rem; animation-delay: -0.8s; }
.stage__spark--3 { right: 6%; top: 30%; color: var(--cyan-t); font-size: 0.95rem; animation-delay: -1.6s; }
@keyframes twinkle { 0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.4; } 50% { transform: scale(1.15) rotate(25deg); opacity: 1; } }
/* 背景をのぼっていく小さなふきだし（掲示板だけ） */
.phero--bbs-float::before, .phero--bbs-float::after {
  content: ""; position: absolute; z-index: -1; width: 54px; height: 40px; border-radius: 50% 50% 50% 8px;
  background: rgba(255, 255, 255, 0.75); border: 2px solid rgba(38, 31, 70, 0.08);
  animation: float-up 14s linear infinite;
}
.phero--bbs-float::before { left: 54%; bottom: -60px; }
.phero--bbs-float::after { left: 93%; bottom: -60px; width: 36px; height: 28px; animation-duration: 18s; animation-delay: -7s; }
@keyframes float-up { from { transform: translateY(0) rotate(-6deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { transform: translateY(-560px) rotate(8deg); opacity: 0; } }

/* つぶやきページの見出し：さいしんのつぶやきをノートで見せる */
.phero__media--note { aspect-ratio: auto; padding: 0; isolation: auto; width: min(100%, 520px); }
.phero__media--note::before, .phero__media--note::after { display: none; }
.note-back {
  position: absolute; inset: 6% 2% 4% 12%; border-radius: 6px 24px 24px 6px; background: var(--tint-hot);
  border: 2px solid rgba(38, 31, 70, 0.15); transform: rotate(5deg); box-shadow: var(--shadow-s);
}
.note-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; margin: 28px 34px 56px 30px;
  padding: 34px 112px 30px 70px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow);
  transform: rotate(-3deg); transition: transform 0.5s var(--spring), box-shadow 0.5s;
}
.note-card:hover { transform: rotate(0deg) translateY(-6px); }
.note-card__label { font-family: var(--f-hand); font-size: var(--fs-sm); color: var(--hot-t); }
.note-card__title { font-family: var(--f-hand); font-size: var(--fs-3); line-height: 1.55; }
.note-card__sum { font-size: var(--fs-sm); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.note-card__more { align-self: flex-start; margin-top: 6px; display: inline-flex; gap: 8px; padding: 8px 18px; border-radius: 999px; background: var(--hot); font-family: var(--f-hand); font-size: 1rem; color: var(--ink); }
.note-say { position: absolute; left: -12px; bottom: 0; z-index: 2; display: flex; align-items: flex-end; gap: 8px; animation: peek 0.9s var(--spring) 0.8s both; }
.note-say .say__ava { --ava: 60px; }
.note-say__bubble { padding: 8px 16px; border: 2px solid var(--ink); border-radius: 18px 18px 18px 4px; background: var(--volt); font-family: var(--f-hand); font-size: 0.95rem; line-height: 1.45; transform: rotate(-3deg); }
.note-pet { position: absolute; right: -18px; bottom: -6px; z-index: 2; animation: peek 0.9s var(--spring) 1s both; }
.note-pet .sprite { --s: 140px; --spd: 1.1s; }

/* 記事ページのヒーロー */
.phero--post .phero__inner { grid-template-columns: 1fr; min-height: 0; }
.phero__title--post { font-size: var(--fs-2); line-height: 1.45; max-width: 24em; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: var(--sp-3) 0 0; }
.post-meta .say__ava { --ava: 44px; border-width: 2px; }
.post-meta b { font-family: var(--f-hand); font-weight: 400; }
.post-meta time { font-size: var(--fs-sm); color: var(--muted); }

/* ---------- 21. ABOUT ---------- */
.intro__row { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro__row + .intro__row { margin-top: var(--sp-7); }
.intro__row--2 { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
.intro__pic {
  position: relative; margin: 0; aspect-ratio: 4 / 5; border: 3px solid var(--ink); border-radius: var(--r-l); overflow: hidden;
  box-shadow: var(--shadow); rotate: -2deg; background: var(--tint-hot);
}
.intro__pic img { width: 100%; height: 100%; object-fit: cover; }
.intro__pic--sub { aspect-ratio: 4 / 3; rotate: 2deg; }
.intro__pic figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 2px 16px; border-radius: 999px; background: var(--panel);
  font-family: var(--f-hand); font-size: var(--fs-sm);
}
.intro__hello { margin: 0; font-family: var(--f-hand); font-size: var(--fs-2); line-height: 1.35; }
.intro__catch { margin: var(--sp-3) 0 0; font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-3); line-height: 1.7; color: var(--hot-t); }
.intro__text p { margin: 0 0 1.5em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: var(--sp-3) 0 0; padding: 0; }
.chips li { font-size: var(--fs-xs); background: var(--panel); border: 2px solid var(--line-2); padding: 4px 14px; border-radius: 999px; }
.chips li:nth-child(3n+1) { border-color: var(--hot); color: var(--hot-t); }
.chips li:nth-child(3n+2) { border-color: var(--cyan); color: var(--cyan-t); }

.spec { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); margin: 0; background: rgba(255, 255, 255, 0.8); border-radius: 0 0 var(--r-m) var(--r-m); }
.spec > div { display: grid; grid-template-columns: 120px 1fr; gap: var(--sp-2); padding: var(--sp-3) var(--sp-2); border-bottom: 2px dashed var(--line); }
.spec > div:nth-child(odd) { border-right: 2px dashed var(--line); }
.spec > div:nth-last-child(-n+2) { border-bottom: 0; }
.spec dt { font-family: var(--f-hand); color: var(--hot-t); }
.spec dd { margin: 0; }

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); list-style: none; margin: 0; padding: 0; counter-reset: tl; }
.timeline li { position: relative; background: var(--panel); border: 2px solid var(--ink); border-radius: var(--r-m); padding: var(--sp-4) var(--sp-3) var(--sp-3); box-shadow: var(--shadow-s); }
.timeline li:nth-child(2) { transition-delay: 0.1s; }
.timeline li:nth-child(3) { transition-delay: 0.2s; }
.timeline__when { display: block; font-family: var(--f-hand); font-size: var(--fs-2); line-height: 1.2; }
.timeline li:nth-child(1) .timeline__when { color: var(--cyan-t); }
.timeline li:nth-child(2) .timeline__when { color: var(--hot-t); }
.timeline li:nth-child(3) .timeline__when { color: var(--violet-t); }
.timeline h3 { margin: var(--sp-2) 0 var(--sp-1); font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-3); line-height: 1.5; }
.timeline p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- 22. つぶやき一覧（お顔＋ノートのページ） ---------- */
.tl-layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 31px; top: 70px; bottom: 10px; border-left: 2px dashed var(--line-2); }
.tl-item { position: relative; padding: 18px 0 var(--sp-5) 92px; }
.tl-item:nth-child(even) .tl-card { --r: 0.8deg; --tape: rgba(255, 138, 110, 0.85); }
.tl-item:nth-child(3n) .tl-card { --tape: rgba(103, 211, 246, 0.85); }
.tl-item__ava { position: absolute; left: 0; top: 18px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid var(--hot); background: var(--panel); box-shadow: var(--shadow-s); }
.tl-item__ava img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.tl-card {
  --r: -0.8deg;
  display: block; position: relative; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s);
  padding: var(--sp-4) 110px var(--sp-3) 70px; transform: rotate(var(--r));
  transition: transform 0.5s var(--spring), box-shadow 0.45s;
}
.tl-card:hover { --r: 0deg; transform: rotate(0deg) translateX(8px); box-shadow: var(--shadow); }
.tl-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 6px; }
.tl-card__meta b { font-family: var(--f-hand); font-weight: 400; color: var(--hot-t); }
.tl-card h2 { font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-3); line-height: 1.6; margin: 0 0 6px; }
.tl-card p { margin: 0 0 14px; color: var(--muted); font-size: var(--fs-sm); }
.tl-card__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.tl-card__foot > span { display: inline-flex; padding: 6px 16px; border-radius: 999px; background: var(--tint-hot); font-family: var(--f-hand); font-size: 1rem; color: var(--hot-t); transition: background-color 0.3s, color 0.3s; }
.tl-card:hover .tl-card__foot > span { background: var(--hot); color: var(--ink); }
.tl-card__foot small { font-size: var(--fs-xs); color: var(--muted); }
.side-box { position: sticky; top: calc(var(--hd-h) + 24px); display: grid; gap: 18px; }
.side-card { background: var(--panel); border: 2px solid var(--ink); border-radius: var(--r-m); box-shadow: var(--shadow-s); padding: var(--sp-3); }
.side-card__ava { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid var(--hot); margin-bottom: 12px; }
.side-card__ava img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.side-card h3, .side-card__title { display: block; margin: 0 0 6px; font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-3); line-height: 1.4; }
.side-card p { margin: 0 0 14px; color: var(--muted); font-size: var(--fs-sm); }
.side-card a.more { font-family: var(--f-hand); font-size: 1rem; color: var(--hot-t); text-decoration: none; }
.side-card--bbs { background: var(--cyan); text-decoration: none; display: block; position: relative; overflow: hidden; }
.side-card--bbs p { color: var(--ink); margin: 8px 0 0; max-width: 13em; }
.side-card--bbs .sprite { --s: 96px; position: absolute; right: -8px; bottom: -6px; }

/* ---------- 23. ARTICLE ---------- */
.article { max-width: 820px; margin: 0 auto; background: var(--panel); padding: clamp(26px, 5vw, 60px); box-shadow: var(--shadow-s); border-radius: var(--r-l); border: 2px solid var(--ink); }
.article__body { font-size: var(--fs-body); line-height: 2.05; }
.article__body p { margin: 0 0 1.6em; }
.article__body > :last-child { margin-bottom: 0; }
.article__body h2 {
  font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-3); line-height: 1.5;
  margin: 2.4em 0 0.9em; display: inline-block;
  background: linear-gradient(transparent 60%, var(--tint-hot) 60%, var(--tint-hot) 94%, transparent 94%);
}
.article__body h3 { font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-body); margin: 2em 0 0.8em; color: var(--cyan-t); }
.article__body img { margin: 2em auto; border-radius: var(--r-s); }
.article__body a { color: var(--cyan-t); }
.article__body blockquote { margin: 2em 0; padding: 18px 24px; background: var(--tint-cyan); border-left: 6px solid var(--cyan); border-radius: 0 16px 16px 0; }
.article__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 2px dashed var(--line); }

/* ---------- 24. BOARD（掲示板・コメント） ---------- */
.board { max-width: 920px; margin: 0 auto; }
/* スレッドの見出し：アイコン＋英字ラベル＋タイトル＋書きこみ数のカード */
.board__head {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 22px;
  margin-bottom: var(--sp-3); padding: 20px 26px 20px 20px;
  background: var(--panel); border: 2px solid var(--ink); border-radius: var(--r-l);
  box-shadow: 0 8px 0 -2px var(--cyan), var(--shadow-s);
}
.board__head::before {
  content: ""; position: absolute; left: 34px; top: -14px; width: 76px; height: 24px; border-radius: 4px;
  background: rgba(255, 219, 77, 0.85); transform: rotate(-4deg);
}
.board__head h2 { margin: 0; line-height: 1.3; min-width: 0; }
.board__icon {
  position: relative; display: block; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none;
  background: var(--tint-volt); border: 2px solid var(--ink);
}
.board__icon--hot { background: var(--tint-hot); }
.board__icon .sprite { --s: 150%; --spd: 1.1s; position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%); }
.board__label { display: block; font-family: var(--f-en); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cyan-t); }
.board__title { display: block; font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-2); line-height: 1.3; }
.board__sub { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.board__count {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
  background: var(--tint-cyan); font-family: var(--f-hand); font-size: 1rem; color: var(--cyan-t); white-space: nowrap;
}
.board__count::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(10, 122, 70, 0.5); animation: live-dot 1.8s ease-out infinite; }
@keyframes live-dot { 70% { box-shadow: 0 0 0 9px rgba(10, 122, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(10, 122, 70, 0); } }
.board__note { font-size: var(--fs-sm); border: 2px dashed var(--volt-t); background: var(--tint-volt); color: var(--ink); padding: 12px 18px; margin: 0 0 var(--sp-3); border-radius: var(--r-s); }
.board__rules { background: var(--panel); border: 2px solid var(--line-2); border-radius: var(--r-m); padding: 18px 24px; margin: 0 0 var(--sp-4); font-size: var(--fs-sm); }
.board__rules h3 { font-family: var(--f-hand); font-weight: 400; font-size: 1.1rem; color: var(--hot-t); margin: 0 0 6px; }
.board__rules ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.board__list { list-style: none; margin: 0 0 var(--sp-5); padding: 0; display: grid; gap: 20px; }
.res { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; animation: res-in 0.5s var(--ease) both; }
@keyframes res-in { from { opacity: 0; transform: translateY(10px); } }
.res > .say__ava { --ava: 54px; }
.res__bubble { position: relative; min-width: 0; background: var(--panel); border: 2px solid var(--ink); border-radius: var(--r-m); padding: 12px 20px 14px; box-shadow: var(--shadow-s); }
.res__bubble::before { content: ""; position: absolute; left: -10px; top: 18px; width: 16px; height: 16px; background: var(--panel); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.res--admin > .res__bubble, .res--admin > .res__bubble::before { background: #fff9fc; }
.res__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 4px; font-size: var(--fs-sm); }
.res__no { font-family: var(--f-hand); color: var(--hot-t); }
.res__name { font-family: var(--f-hand); color: var(--live); }
.res__name--admin { color: var(--hot-t); }
.res__name--admin::after { content: "★管理人"; margin-left: 8px; font-family: var(--f-ja); font-size: 0.72rem; color: var(--volt-t); }
.res__meta time { font-size: var(--fs-xs); color: var(--muted); }
.res__body { margin: 0; white-space: pre-wrap; word-break: break-word; }
.res__reply { margin-top: 6px; }
.res__reply a { font-size: var(--fs-xs); color: var(--cyan-t); text-decoration: none; }
.res .children { grid-column: 1 / -1; list-style: none; margin: 4px 0 0 34px; padding: 0 0 0 20px; border-left: 2px dashed var(--line-2); display: grid; gap: 16px; }
.res--moderation .res__body { color: var(--muted); }
.board__empty { color: var(--muted); padding: 20px 4px; margin: 0; }

/* ---------- 25. FORMS ---------- */
.form-card { background: var(--panel); border: 2px solid var(--ink); border-radius: var(--r-l); box-shadow: var(--shadow-s); padding: clamp(24px, 4vw, 46px); }
.form-row { margin-bottom: 22px; }
.form-row label, .form-label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--f-hand); font-size: 1.02rem; }
.req, .opt { font-family: var(--f-ja); font-size: 0.7rem; padding: 4px 9px; line-height: 1; border-radius: 999px; font-weight: 600; }
.req { background: var(--hot); color: var(--ink); }
.opt { border: 1.5px solid var(--line-2); color: var(--muted); }
input[type="text"], input[type="email"], input[type="url"], select, textarea {
  width: 100%; font-family: var(--f-ja); font-weight: 600; font-size: 1rem; color: var(--text);
  background: var(--panel); border: 2px solid var(--line-2); border-radius: var(--r-s);
  padding: 13px 16px; transition: border-color 0.25s, box-shadow 0.25s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
textarea { min-height: 170px; resize: vertical; line-height: 1.8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px var(--tint-emerald); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--hot-t); background: rgba(255, 90, 165, 0.07); }
.form-status { padding: 16px 20px; margin: 0 0 24px; border: 2px solid var(--live); border-radius: var(--r-s); color: var(--text); background: rgba(10, 127, 72, 0.07); animation: res-in 0.4s var(--ease) both; }
.form-status--error { border-color: var(--hot-t); background: rgba(255, 90, 165, 0.1); }
.form-status a { color: var(--cyan-t); }

.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact-side__title { margin: 0 0 var(--sp-3); font-family: var(--f-hand); font-size: var(--fs-2); line-height: 1.35; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.contact-list li { padding: 14px 0; border-bottom: 2px dashed var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 14px; font-size: var(--fs-sm); }
.contact-list__k { font-family: var(--f-hand); font-size: 1.02rem; color: var(--hot-t); }
.contact-side .say { margin-top: var(--sp-4); }

/* ---------- 26. ARCHIVE PAGE ---------- */
.arc-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: var(--sp-4); }
.arc-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.arc-filters button { border: 2px solid var(--line-2); background: var(--panel); cursor: pointer; padding: 8px 18px; border-radius: 999px; font-family: var(--f-hand); font-size: 1rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.35s var(--spring); }
.arc-filters button:hover { border-color: var(--ink); transform: translateY(-2px); }
.arc-filters button[aria-pressed="true"] { background: var(--emerald); color: #fff; border-color: var(--emerald); }
.arc-total { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.arc-total b { font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-2); color: var(--text); margin: 0 6px; vertical-align: -0.1em; }
.gacha { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; background: var(--cyan); color: var(--ink); padding: 22px 26px; margin-bottom: var(--sp-5); border-radius: var(--r-l); }
.gacha > .sprite { --s: 92px; margin: -20px 0 -22px -6px; }
.gacha__text { margin: 0; flex: 1; min-width: 220px; }
.gacha__title { display: block; font-family: var(--f-hand); font-size: var(--fs-3); line-height: 1.4; }
.gacha__result { font-family: var(--f-hand); font-size: 1.02rem; min-height: 1.6em; width: 100%; margin: 0; }
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: var(--sp-3); list-style: none; margin: 0; padding: 0; }
.w-card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--panel); border: 2px solid var(--ink); border-radius: var(--r-l); box-shadow: var(--shadow-s); position: relative;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.w-card:hover { --ty: -6px; box-shadow: var(--shadow); }
.w-card.is-tilting { transition: transform 0.12s linear, box-shadow 0.5s; }
.w-card.is-hit { box-shadow: 0 0 0 5px var(--volt), 0 0 40px rgba(255, 219, 77, 0.6); animation: hit 0.6s var(--ease) 2; }
@keyframes hit { 50% { transform: scale(1.025) rotate(-0.6deg); } }
.w-card__pic { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint-hot); border-bottom: 2px solid var(--ink); }
.w-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.w-card:hover .w-card__pic img { transform: scale(1.06); }
.w-card__pic--type { display: grid; place-items: center; text-align: center; background-color: var(--tint-volt); background-image: var(--dots); background-size: 22px 22px; }
.w-card__pic--type span { font-family: var(--f-hand); font-size: var(--fs-2); line-height: 1.25; padding: 0 20px; }
.w-card__no { position: absolute; left: 12px; top: 12px; z-index: 1; background: #fff; padding: 2px 12px; border-radius: 999px; box-shadow: var(--shadow-s); font-family: var(--f-hand); font-size: var(--fs-sm); color: var(--hot-t); }
.w-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.w-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.w-card__cat { font-size: var(--fs-xs); color: var(--muted); }
.w-card h3 { font-family: var(--f-hand); font-weight: 400; font-size: var(--fs-3); line-height: 1.5; margin: 0 0 8px; }
.w-card p { margin: 0 0 18px; color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.w-card__go { align-self: flex-start; font-family: var(--f-hand); font-size: 1.05rem; text-decoration: none; border-bottom: 3px solid var(--hot); padding-bottom: 1px; }
.w-card__go:hover { color: var(--hot-t); }
.w-card__go--off { border-color: var(--line-2); color: var(--muted); }

/* ---------- 27. REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-mask > img { clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.3s var(--ease), transform 1.8s var(--ease); }
.reveal-mask.is-visible > img { clip-path: inset(0); transform: none; }
.reveal-wipe > img { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--ease); }
.reveal-wipe.is-visible > img { clip-path: inset(0); }

/* ---------- 28. RESPONSIVE ---------- */
@media (max-width: 1240px) { .hd__nav { display: none; } }
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; padding-bottom: 130px; }
  .hero__desk { justify-self: center; width: min(78%, 480px); margin-right: 0; }
  .hero__block { top: auto; bottom: 0; width: 72%; height: 50%; border-bottom-left-radius: 0; border-top-left-radius: 64px; }
  .tl-layout { grid-template-columns: 1fr; }
  .side-box { position: static; grid-template-columns: 1fr 1fr; }
  .menu { grid-template-columns: 1fr; }
  .menu__side { display: none; }
}
@media (max-width: 860px) {
  .phero__inner { grid-template-columns: 1fr; gap: var(--sp-5); min-height: 0; }
  .phero__media { justify-self: start; width: min(88%, 440px); order: -1; }
  .stage { justify-self: center; width: min(100%, 440px); order: -1; }
  .phero--bbs-float::before, .phero--bbs-float::after { display: none; }
  .crew { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .crew__card:nth-child(n) { rotate: 0deg; }
  .hs__item:nth-child(even) { margin-top: 0; }
  /* 作品リスト：番号｜タイトル、その下に「分類・状態」を1行で（縦に間延びしない） */
  .arc-row a { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 12px; }
  .arc-row a:hover { padding-left: 18px; }
  .arc-row .num { grid-row: 1 / 3; align-self: start; line-height: 1.5; }
  .arc-row .ttl { grid-column: 2 / 4; line-height: 1.5; }
  .arc-row .cat { grid-column: 2; grid-row: 2; font-size: var(--fs-xs); }
  .arc-row .lamp { grid-column: 3; grid-row: 2; justify-self: end; }
  .arc-thumb { display: none; }
  .split { grid-template-columns: 1fr; }
  .intro__row, .intro__row--2, .contact-layout { grid-template-columns: 1fr; }
  .intro__row--2 .intro__pic { order: -1; }
  .intro__pic { max-width: 420px; }
  .spec { grid-template-columns: 1fr; }
  .spec > div:nth-child(odd) { border-right: 0; }
  .spec > div:nth-last-child(2) { border-bottom: 2px dashed var(--line); }
  .timeline { grid-template-columns: 1fr; }
  .news-item > a, .news-item > div { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .news-item time { grid-column: 1; }
  .news-item .tag { grid-column: 2; grid-row: 1; justify-self: end; }
  .news-item .t { grid-column: 1 / -1; }
  .news-item .arw { display: none; }
}
@media (max-width: 640px) {
  :root { --hd-h: 62px; }
  .hd__logo b { font-size: 1.28rem; }
  .hd__logo .sprite { --s: 40px; }
  .hero__side { display: none; }
  .hero__desk { width: 84%; margin-bottom: 24px; }
  .desk__item { padding: 6px 6px 28px; }
  .desk__item figcaption { font-size: 0.82rem; bottom: 3px; }
  .desk__item::before { width: 60px; height: 20px; margin-left: -30px; top: -10px; }
  .desk__crew { left: -10%; right: -10%; bottom: -14%; }
  .hero__ticker { width: 100%; border-radius: 0; }
  .hero__scroll { display: none; }
  .say { gap: 12px; }
  .say__ava { --ava: 50px; }
  .say__bubble { padding: 12px 16px 14px; }
  .say--hero br { display: none; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head--art .sec-head__art { justify-self: end; margin-top: calc(var(--sp-2) * -1); width: 130px; }
  .side-box { grid-template-columns: 1fr; }
  .tl::before { left: 21px; top: 50px; }
  .tl-item { padding-left: 60px; }
  .tl-item__ava { width: 44px; height: 44px; }
  .tl-card { padding: 18px 20px; }
  .tl-card::before { top: 14px; }
  .res > .say__ava { --ava: 42px; }
  .board__head { grid-template-columns: auto minmax(0, 1fr); padding: 18px; gap: 6px 14px; }
  .board__icon { width: 62px; height: 62px; }
  .board__count { grid-column: 1 / -1; justify-self: start; }
  .stage__bubble--3 { right: 0; }
  .res__bubble { padding: 10px 16px 12px; }
  .res .children { margin-left: 10px; padding-left: 12px; }
  .menu__list a { grid-template-columns: 34px 1fr; }
  .menu__list .desc { grid-column: 2; margin-top: -4px; }
  .hs__item { width: 70vw; }
  .tl-card { padding-right: 24px; padding-top: 96px; }
  .p-card__meta { padding-right: 76px; }
  .note-card { margin: 20px 10px 64px 6px; padding: 92px 22px 24px 62px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .gacha > .sprite { display: none; }
  .phero { border-radius: 0 0 36px 36px; }
}

/* ---------- 28a. PCのトップ：ヘッダー＋トップ＋おしらせで1画面（100svh）ぴったり ----------
   部位ごとの動き
   ・ヘッダー（72px固定） … 上に固定
   ・トップの中身         … 残りの高さの中で上下中央。大きさは「画面の幅」と「画面の高さ」の小さいほうに合わせて拡大・縮小
                            （1em = 画面幅の1.3% か 画面の高さの2.1% の小さいほう。15px〜26px の間）
   ・おしらせの帯         … 1画面目のいちばん下に全部見える（はみ出さない）
   ・2画面目から         … 流れる帯「つくる・あそぶ…」以降 */
@media (min-width: 1101px), (min-width: 861px) and (orientation: landscape) {
  .hero { height: 100vh; height: 100svh; min-height: 620px; }
  .hero__inner {
    --u: clamp(15px, min(1.3vw, 2.1svh), 26px);
    font-size: var(--u);
    height: 100%; min-height: 0; max-width: none;
    grid-template-columns: 1.08fr 0.92fr; gap: 3vw;
    padding: calc(var(--hd-h) + 1.4em) calc(var(--gutter) + 1.2em) calc(58px + 1.6em);
  }
  .hero__copy { justify-self: end; width: min(100%, 44em); }
  .hero__kicker { font-size: 1.1em; padding: 0.25em 1em 0.3em; margin-bottom: 0.9em; }
  .hero__sign { max-width: none; width: 100%; padding: 1.9em 2.3em 1.7em; border-radius: 1.5em; }
  .hero__sign::before, .hero__sign::after { width: 5.2em; height: 1.6em; top: -0.7em; }
  .say--hero { margin: 2em 0; max-width: none; --ava: 4.2em; gap: 1em; }
  .say--hero .say__ava { border-width: 0.18em; }
  .say--hero .say__bubble { padding: 0.9em 1.4em 1em; font-size: 1.06em; line-height: 1.9; border-radius: 1.3em; }
  .say--hero .say__name { font-size: 0.9em; }
  .hero__ctas { gap: 0.9em; }
  .hero__ctas .btn { font-size: 1.12em; padding: 0.85em 1.7em; gap: 0.7em; }
  .hero__desk { justify-self: start; width: min(100%, 34em, calc((100svh - var(--hd-h) - 58px - 5em) / 1.16)); margin: 0 0 0 1em; }
  .desk__item figcaption { font-size: 1em; }
  .desk__crew .sprite { --s: 8.6em; }
  .desk__crew .sprite:nth-child(1) { --s: 9.6em; }
  .hero__block { top: var(--hd-h); bottom: auto; right: 0; width: 41%; height: calc(100% - var(--hd-h) - 96px); border-radius: 0 0 0 64px; }
  .hero__ticker { width: min(46%, 760px); }
  .hero__scroll { left: 50%; right: auto; bottom: 10px; translate: -50% 0; }
  .hero__scroll i { height: 40px; }
}

/* ---------- 28b. スマホのトップ：ヘッダー＋トップで1画面（100svh）ぴったり。あいさつは2画面目へ ---------- */
.hero-greet { display: none; }
@media (max-width: 860px), (max-width: 1100px) and (orientation: portrait) {
  .hero { display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 560px; }
  .hero__inner {
    flex: 1; min-height: 0; width: 100%; max-width: none;
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; align-content: center; gap: 0;
    padding: calc(var(--hd-h) + 14px) var(--gutter) 22px;
  }
  .hero__copy { display: contents; }
  .say--hero-pc { display: none; }
  .hero-greet { display: block; padding-top: var(--sp-5); padding-bottom: var(--sp-5); }
  .hero-greet .say--hero { margin: 0 auto; max-width: 560px; }
  /* 「ようこそ！」は枠なし。きらきらではさむ */
  .hero__kicker {
    order: 1; justify-self: center; margin: 0 0 8px; padding: 0; border: 0; background: none; animation: none;
    display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--emerald);
  }
  .hero__kicker::before, .hero__kicker::after { content: "✦"; color: var(--hot); font-size: 0.8em; animation: twinkle 2.4s ease-in-out infinite; }
  .hero__kicker::after { animation-delay: -1.2s; }
  .hero__sign { order: 2; justify-self: center; width: min(100%, 560px); position: relative; z-index: 5; }
  /* コラージュは残りの高さにあわせて大きさが変わる */
  .hero__inner { container-type: size; }
  /* コラージュは「残りの高さ」と「画面幅」の小さいほうに合わせて大きさが決まる（どの機種でも1画面におさまる） */
  .hero__desk {
    order: 3; justify-self: center; align-self: center; margin: 16px 0 48px;
    width: min(100%, 500px, calc((100cqh - 0.162 * min(100cqw, 560px) - 200px) / 0.98)); height: auto; aspect-ratio: 1 / 0.98;
  }
  .hero__ctas { order: 4; justify-content: center; margin: 0; }
  .hero__block { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 66%; border-radius: 44px 44px 0 0; }
  .hero__ticker { position: relative; flex: none; width: 100%; border-radius: 0; }
  .hero__scroll { display: none; }
}
@media (max-width: 640px) {
  .hero__inner { padding-top: calc(var(--hd-h) + 12px); padding-bottom: 18px; }
  .hero__sign { padding: 14px 16px 12px; border-radius: 20px; }
  .hero__sign::before, .hero__sign::after { width: 64px; height: 20px; top: -9px; }
  .hero__desk { margin: 12px 0 44px; }
  .desk__item { padding: 5px 5px 22px; }
  .desk__item figcaption { font-size: 0.78rem; bottom: 2px; }
  .desk__crew { bottom: -12%; }
  .desk__crew .sprite { --s: clamp(64px, 21vw, 86px); }
  .desk__crew .sprite:nth-child(1) { --s: clamp(72px, 24vw, 96px); }
  .hero__ctas { gap: 10px; flex-wrap: nowrap; justify-self: center; width: min(100%, 360px); padding: 0 6px; }
  .hero__ctas .btn { flex: 1 1 0; justify-content: center; padding: 13px 10px; font-size: 0.9rem; white-space: nowrap; }
  .hero__ticker { height: 46px; }
  .hero-greet { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }

  /* フッター：スマホでは短く */
  .ft__parade { height: 112px; margin-bottom: -20px; }
  .ft__lane--back { bottom: 14px; }
  .ft__lane--back .walker .sprite { --s: 44px; }
  .walker .sprite { --s: 70px; }
  .walker__say { font-size: 0.72rem; padding: 1px 9px 2px; }
  .ft__inner { padding-top: 22px; padding-bottom: 30px; }
  .ft__title { width: 78%; }
  .ft__tagline { margin-top: 8px; font-size: 0.78rem; letter-spacing: 0.08em; }
  .ft__cols { margin-top: 24px; gap: 20px; }
  .ft__col--nav { padding-top: 18px; border-top-width: 1px; }
  .ft__label { margin-bottom: 10px; gap: 2px 10px; justify-content: center; text-align: center; }
  .ft__col--contact { display: grid; justify-items: center; }
  .ft__col--contact > .ft__btn, .ft__col--contact > .ft__sns, .ft__col--contact > .ft__text { width: min(100%, 330px); }
  .ft__label .en { font-size: 1.45rem; }
  .ft__text { width: min(100%, 330px); margin: 0 0 14px; text-align: center; font-size: 0.86rem; line-height: 1.85; }
  .ft__btn { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; padding: 7px 8px; font-size: 1rem; text-align: center; }
  .ft__btn-ico { width: 38px; height: 38px; }
  .ft__btn .arw { justify-self: center; }
  .ft__sns { margin-top: 10px; gap: 10px; display: grid; grid-template-columns: 1fr 1fr; }
  .ft__sns li { display: flex; }
  .ft__sns a { flex: 1; justify-content: center; gap: 8px; padding: 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.86rem; line-height: 1.3; }
  .ft__sns-ico { width: 38px; height: 38px; }
  .ft__sns-ico::after { inset: 10px; }
  .ft__links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; border-top: 0; }
  .ft__links li { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .ft__links a { grid-template-columns: 22px minmax(0, 1fr); gap: 4px; padding: 6px 2px; }
  .ft__links .no { font-size: 0.72rem; }
  .ft__links .t { font-size: 0.9rem; }
  .ft__links .arw { display: none; }
  .ft__bottom .wrap { padding-top: 14px; padding-bottom: 16px; }
  .ft__copy { font-size: 0.7rem; letter-spacing: 0.06em; line-height: 1.8; }
}

@media (max-width: 400px) {
  .hero__ctas .btn { padding-left: 8px; padding-right: 8px; font-size: 0.82rem; gap: 6px; }
}

/* ---------- 28c. 掲示板・お問合せの入口カード（スマホ・タブレット） ----------
   ・カードの幅に合わせて、キャラ・文字・矢印の大きさが一緒に変わる（container query）
   ・キャラは右側の決まった場所。上下の余白を詰めてスリムに */
@media (max-width: 860px) {
  .split { gap: 14px; padding-bottom: var(--sp-6); }
  .split__item {
    container-type: inline-size; min-height: 0; padding: 18px 20px 18px 24px;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 12px; align-items: center;
    border-radius: 26px;
  }
  .split__label { grid-column: 1; grid-row: 1; font-size: clamp(0.78rem, 3.4cqw, 0.95rem); }
  .split__title { grid-column: 1; grid-row: 2; font-size: clamp(1.6rem, 8.6cqw, 2.6rem); line-height: 1.25; margin: 2px 0 6px; }
  .split__title br { display: none; }
  .split__foot { display: contents; }
  .split__lead { grid-column: 1; grid-row: 3; font-size: clamp(0.76rem, 3.3cqw, 0.92rem); line-height: 1.6; }
  .split__pet { position: static; grid-column: 2; grid-row: 1 / 3; justify-self: center; align-self: end; }
  .split__pet .sprite { --s: clamp(84px, 27cqw, 150px); }
  .split__item .arw-circle { grid-column: 2; grid-row: 3; justify-self: center; width: clamp(40px, 11cqw, 54px); height: clamp(40px, 11cqw, 54px); font-size: 1.1rem; }
}

/* ---------- 29. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-split] .ch { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal-mask > img { clip-path: none; transform: none; }
  .reveal-wipe > img { clip-path: none; }
  .marquee__track { animation: none; }
  .walker { display: none; }
  .stage__bubble { opacity: 1; animation: none; }
  .loader { display: none; }
}
