/* ═══════════════════════════════════════════════════════
   home.css — トップページ専用 (v2 かわいいポップ)
   ═══════════════════════════════════════════════════════ */

/* ═══ 1. ヒーロー ═══ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background:
    radial-gradient(60vmax 60vmax at 8% 0%, var(--lavender-wash), transparent 60%),
    radial-gradient(55vmax 55vmax at 100% 20%, var(--sky-wash), transparent 55%),
    radial-gradient(70vmax 70vmax at 60% 110%, var(--pink-wash), transparent 60%),
    var(--paper);
}
#heroCanvas { position: absolute; inset: 0; pointer-events: none; }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--sp-4) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 6.5fr) minmax(320px, 5.5fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
}

.hero-meta { padding-bottom: var(--sp-3); }
.hero-meta .overline { display: block; margin-bottom: var(--sp-3); }

.hero-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: var(--sp-3);
  background: var(--grad-idol);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-intro {
  font-size: 16px;
  line-height: 2.3;
  color: var(--ink);
  max-width: 32em;
  margin-bottom: var(--sp-4);
  text-wrap: pretty;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* 縦書きコピーの列（書の落款のように、コピーの下に「ぴ」印を置く） */
.hero-title-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* 縦書きメインコピー
   高さ固定をやめ、行の折り返しを禁止することでどの画面サイズでも
   「2列＋段差」のレイアウトが絶対に崩れないようにする */
.hero-title {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(34px, min(6vh, 3.4vw), 72px);
  line-height: 1.55;
  letter-spacing: 0.16em;
  height: auto;
  white-space: nowrap;
  color: var(--ink);
}
.hero-title .accent { color: var(--ruby); }
/* 2行目を1文字分下げて、右→左の読み順を明示する */
.hero-title .l2 { padding-top: 1.05em; }
@media (max-width: 768px) {
  .hero-title .l2 { padding-top: 0; padding-left: 0.8em; }
}

/* 右カラム: 写真 */
.hero-photo { position: relative; }
.hero-photo .frame {
  aspect-ratio: 3 / 4.1;
  max-height: 76vh;
  margin-left: auto;
}
.hero-photo .artlabel {
  position: absolute;
  left: 14px;              /* 写真の内側に置き、端が切れないようにする */
  bottom: 28px;
  transform: rotate(-2deg);
}

/* スクロールキュー */
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink);
}
.scroll-cue::after {
  content: '';
  width: 2px;
  height: 44px;
  border-radius: 2px;
  background: linear-gradient(var(--pink), transparent);
  animation: cue-drop 2.2s var(--ease-soft) infinite;
}
@keyframes cue-drop {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* 舞い散る羽根（静的下敷き。Phase 2 で p5 物理に置換） */
.feather { position: absolute; z-index: 1; opacity: 0.6; pointer-events: none; }
.feather svg path { fill: var(--pink-wash); stroke: var(--pink); stroke-width: 1.4; }

/* ═══ 2.3 ぴのてゃのゆめ（アイドル × クリエイター） ═══ */
.dream {
  background: linear-gradient(var(--paper), var(--paper-pink) 45%, var(--paper));
  text-align: center;
}
.dream .overline { display: block; margin-bottom: var(--sp-2); }
.dream-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(32px, 3.6vw, 52px);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-4);
}
.dream-lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 2.3;
  letter-spacing: 0.05em;
  max-width: 46em;
  margin: 0 auto var(--sp-5);
}
.dream-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  text-align: left;
  max-width: 1240px;
  margin-inline: auto;
}
.dream-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 3vw, 48px);
  overflow: hidden;
}
.dream-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--grad-idol);
}
.dream-photo { margin-bottom: var(--sp-3); }
.dream-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
/* 本文はフレックス縦積みにして、リンクを常にカード最下部へ（左右カードで縦位置を揃える） */
.dream-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dream-ico {
  position: absolute;
  top: 0;
  right: 0;
}
.dream-ico svg {
  width: clamp(38px, 3vw, 48px);
  height: auto;
  fill: none;
  stroke: var(--pink-strong);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dream-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink-strong);
}
.dream-card-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(24px, 2vw, 32px);
  letter-spacing: 0.08em;
  margin: 6px 0 14px;
}
.dream-card p { font-size: 16.5px; }
.dream-card .textlink {
  margin-top: auto;              /* カード最下部に吸着 */
  padding-top: var(--sp-2);      /* 本文との最低間隔 */
  align-self: flex-start;        /* 下線の幅をテキスト幅に保つ */
}
/* 工事中リンク（クリック不可・控えめ表示） */
.textlink.is-soon {
  color: var(--ink-faint);
  border-color: var(--line);
  cursor: default;
  pointer-events: none;
}
@media (max-width: 860px) {
  .dream-grid { grid-template-columns: 1fr; }
}

/* ═══ 2.5 統計ハイライト（数字をポップに！） ═══ */
.stats {
  padding-block: clamp(56px, 7vw, 100px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.stat-card {
  position: relative;
  text-align: center;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 3vw, 48px) var(--sp-3) clamp(24px, 2.5vw, 40px);
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--grad-idol);
}
.stat-label {
  font-size: 17px;
  font-weight: var(--body-bold);
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: var(--sp-1);
}
.stat-num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(42px, 3.4vw, 56px);
  line-height: 1.1;
  background: var(--grad-idol);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-unit {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 18px;
  color: var(--ink-soft);
  margin-left: 4px;
}
.stat-goal {
  font-size: 16px;
  font-weight: var(--body-bold);
  letter-spacing: 0.1em;
  color: var(--pink-strong);
  margin-top: 4px;
}
/* ゴールへの進捗（円グラフ・肉球スタンプラリー） — 円周の肉球10個 = ゲージ10分割 */
.stat-ring {
  position: relative;
  width: clamp(150px, 12vw, 195px);
  aspect-ratio: 1;
  margin: var(--sp-2) auto 0;
}
.stat-ring svg {
  width: 100%;
  height: 100%;
}
.paw-track {
  fill: none;
  stroke: #f8e7f0;
  stroke-width: 21;
}
.paw-slot {
  fill: none;
  stroke: #dfc9da;
  stroke-width: 1.4;
  stroke-dasharray: 3 3;
}
.paw {
  fill: var(--pink-strong);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.paw.on { animation: paw-stamp 0.5s var(--ease-bounce) forwards; }
@keyframes paw-stamp {
  0%   { opacity: 0;    transform: scale(2.2); }
  60%  { opacity: 0.95; transform: scale(0.9); }
  100% { opacity: 0.9;  transform: scale(1); }
}
.stat-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-direction: row;
  align-content: center;
  flex-wrap: wrap;
}
.stat-goal { margin-top: var(--sp-2); }

/* ═══ 3. プロフィール ═══ */
#profile {
  background: linear-gradient(var(--paper), var(--paper-pink) 30%, var(--paper));
}
.profile-grid {
  display: grid;
  grid-template-columns: minmax(300px, 5.5fr) minmax(0, 6.5fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}
.profile-photo .frame { aspect-ratio: 4 / 3.2; }

.profile-name-row {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-bottom: var(--sp-1);
}
.profile-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(40px, 4.5vw, 60px);
  letter-spacing: 0.1em;
}
.profile-name-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.16em;
  color: var(--pink);
}
.profile-role {
  font-size: 15.5px;
  font-weight: var(--body-bold);
  letter-spacing: 0.16em;
  color: var(--ruby);
  margin-bottom: var(--sp-3);
}
.profile-bio {
  font-size: 16px;
  line-height: 2.35;
  max-width: 36em;
  margin-bottom: var(--sp-3);
}

/* タグ（ボックスなしのテキスト行） */
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-bottom: var(--sp-4);
}
.profile-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: var(--body-bold);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.profile-tags svg { width: 19px; height: 19px; flex-shrink: 0; }
.profile-tags svg path {
  fill: none;
  stroke: var(--pink-strong);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--line);
}
.profile-data > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: var(--sp-2);
  padding: 15px 4px;
  border-bottom: 2px solid var(--line);
  font-size: 15px;
}
.profile-data dt {
  color: var(--pink-strong);
  font-weight: var(--body-bold);
  letter-spacing: 0.1em;
}
.profile-data dd { letter-spacing: 0.04em; }

/* あゆみ冒頭の統計（タイムラインの前に置く） */
.story-stats { margin-bottom: clamp(48px, 6vw, 88px); }

/* ═══ 4. 成長アルバム（クレッシェンドタイムライン） ═══ */
#story { background: var(--paper); }
.story-list {
  max-width: 880px;
  margin-inline: auto;
  position: relative;
  padding-left: 30px;
}
/* 成長の線: 下にいくほど色が濃くなる */
.story-list::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--pink-wash), var(--pink) 55%, var(--ruby));
}
.story-item {
  position: relative;
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: var(--sp-3);
  align-items: baseline;
  padding: 16px 18px;
  border-radius: var(--radius-s);
}
.story-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 50%;
  translate: 0 -50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--pink);
}
.story-item.milestone::before {
  border-color: var(--ruby);
  background: var(--ruby);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ruby) 16%, transparent);
}
/* 最新に近づくほどうっすら色づく（成長のクレッシェンド） */
.story-item:nth-child(n+9)  { background: color-mix(in srgb, var(--pink-wash) 35%, transparent); }
.story-item:nth-child(n+11) { background: color-mix(in srgb, var(--pink-wash) 65%, transparent); }
.story-date {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--pink-strong);
}
.story-text { font-size: 16px; letter-spacing: 0.04em; }
.story-text a {
  font-weight: var(--body-bold);
  color: var(--ink);
  border-bottom: 2px solid var(--line-strong);
  transition: color 0.3s, border-color 0.3s;
}
.story-text a:hover { color: var(--ruby); border-color: var(--ruby); }
.story-item .new-chip {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #fff;
  background: var(--ruby);
  border-radius: 4px;
  padding: 2px 8px;
  vertical-align: 2px;
}
.story-note {
  max-width: 880px;
  margin: var(--sp-3) auto 0;
  text-align: right;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 15px;
  color: var(--pink-strong);
}

/* ═══ 5. 活動 & イベント別の姿 ═══ */
#works { background: linear-gradient(var(--paper), var(--paper-sky) 40%, var(--paper)); }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 44px);
}
.work-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 14px 14px 22px;
  transition: transform 0.5s var(--ease-bounce), box-shadow 0.5s var(--ease-soft);
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -22px rgba(226, 111, 158, 0.35);
}
.work-card .frame {
  aspect-ratio: 16 / 11;
  margin-bottom: var(--sp-3);
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius);
  box-shadow: none;
}
.work-card .frame img { border-radius: var(--radius); transition: transform 0.8s var(--ease-expo); }
.work-card:hover .frame img { transform: scale(1.05); }
.work-body { padding-inline: 10px; display: flex; flex-direction: column; flex-grow: 1; }
.work-role {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.work-role.r-idol { color: var(--pink-strong); }
.work-role.r-maid { color: #6aa5d8; }
.work-role.r-host { color: var(--ruby); }
.work-name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 24px;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-1);
}
.work-desc {
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--ink-soft);
  margin-bottom: var(--sp-2);
  flex-grow: 1;
}
.work-meta {
  font-size: 13px;
  font-weight: var(--body-bold);
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding-top: var(--sp-2);
  border-top: 2px solid var(--line);
  margin-bottom: var(--sp-2);
}

/* もうひとつの顔 */
.another {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 2px solid var(--line);
}
.another-head {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 22px;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-4);
}
.another-head .en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  color: var(--pink);
  margin-left: 14px;
  letter-spacing: 0.14em;
}
.another-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 44px);
}
.another-item {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: 14px 14px 22px;
}
.another-item .frame {
  aspect-ratio: 16 / 10;
  padding: 0;
  border-radius: var(--radius);
  box-shadow: none;
  margin-bottom: var(--sp-2);
  overflow: hidden;
}
.another-item .frame img { border-radius: var(--radius); }
.another-item .t,
.another-item .d,
.another-item .badges { padding-inline: 10px; }
.another-item .t {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 17px;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-1);
}
.another-item .d {
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--ink-soft);
  margin-bottom: var(--sp-2);
}
.another-item .badges {
  font-size: 12.5px;
  font-weight: var(--body-bold);
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--pink-strong);
}

/* ═══ 6. 歌ってみた ═══ */
#covers { background: linear-gradient(var(--paper), var(--paper-pink) 45%, var(--paper)); }
/* 2本の動画は高さを完全に揃える（16:9 と 9:16 の幅を高さから導出） */
.covers-grid {
  --cover-h: clamp(300px, 30vw, 560px);
  display: flex;
  gap: clamp(24px, 3.5vw, 56px);
  align-items: flex-start;
}
.cover-main .frame {
  height: var(--cover-h);
  aspect-ratio: 16 / 9;
  padding: 8px;
}
.cover-side .frame {
  height: var(--cover-h);
  aspect-ratio: 9 / 16;
  padding: 8px;
}
.cover-main iframe,
.cover-side iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: calc(var(--radius) - 6px); }
.cover-caption { margin-top: var(--sp-2); white-space: nowrap; }
.badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.badge-new {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: #fff;
  background: var(--ruby);
  border-radius: 4px;
  padding: 3px 12px;
}
.badge-date {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 4px;
  padding: 1px 10px;
}
.cover-caption .t {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 21px;
  letter-spacing: 0.05em;
  display: block;
}
.cover-caption .a {
  font-size: 13.5px;
  font-weight: var(--body-bold);
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.covers-foot {
  margin-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4);
  align-items: center;
}
.yt-fallback {
  display: none;
  aspect-ratio: 16 / 9;
  place-items: center;
  background: var(--paper-pink);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-soft);
}

/* ═══ 7. リンクハブ ═══ */
/* 応援のしかた（今すぐできる3アクション） */
.support { margin-bottom: clamp(48px, 6vw, 88px); }
.support-title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}
.support-lead {
  font-size: 16.5px;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-3);
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
}
.support-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 2.5vw, 40px) var(--sp-3);
  text-align: center;
  overflow: hidden;
}
.support-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--grad-idol);
}
.support-num {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--ruby);
  border-radius: 5px;
  padding: 1px 12px;
  margin-bottom: 14px;
}
.support-name {
  font-size: 18px;
  font-weight: var(--body-bold);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.support-quote {
  font-size: 15.5px;
  line-height: 2.1;
  text-align: left;
  margin-bottom: var(--sp-3);
}
/* ボタンはカード下部に固定 — テキスト量が変わっても3枚の縦位置が揃う */
.support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.support-card .btn { margin-top: auto; }
@media (max-width: 860px) {
  .support-grid { grid-template-columns: 1fr; }
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 1.5vw, 24px);
}
.link-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;  /* minmax(0,〜): 狭幅で文字列にトラックが押し広げられない */
  align-items: center;
  gap: 4px var(--sp-2);
  padding: 18px 24px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease-bounce), border-color 0.3s, box-shadow 0.4s;
}
.link-row:hover {
  transform: translateY(-3px);
  border-color: var(--pink);
  box-shadow: 0 16px 36px -18px rgba(226, 111, 158, 0.35);
}
.link-row .name {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 18px;
  letter-spacing: 0.06em;
}
.link-row .handle {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--pink);
  margin-left: 12px;
  letter-spacing: 0.06em;
}
.link-row .desc {
  grid-column: 2;
  font-size: 13.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
/* 公式アイコン（ブランドカラーの mask 描画。mask-image は HTML 側でインライン指定） */
.link-ico {
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 30px;
  height: 30px;
  background-color: var(--brand, var(--pink));
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.link-row .arrow {
  grid-row: 1 / span 2;
  grid-column: 3;
  font-size: 18px;
  color: var(--pink);
  transition: transform 0.35s var(--ease-expo), color 0.3s;
}
.link-row:hover .arrow { transform: translateX(5px); color: var(--ruby); }

/* ═══ 8. メッセージ + お問い合わせ ═══ */
.message {
  background: var(--grad-soft);
}
.message-body {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 2.7;
  letter-spacing: 0.08em;
}
.message-from {
  margin-top: var(--sp-4);
  text-align: center;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: 15px;
  color: var(--pink-strong);
}

.contact-inner { max-width: 880px; margin-inline: auto; }
.contact-lede {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: var(--sp-3);
  text-align: center;
}
.contact-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: var(--sp-4);
}
.contact-cats span {
  font-size: 14px;
  font-weight: var(--body-bold);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.contact-cats span + span::before {
  content: '・';
  color: var(--pink);
  margin-right: 14px;
}
.contact-frame {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.contact-frame iframe { width: 100%; height: 720px; border: 0; display: block; }

/* ═══ レスポンシブ ═══ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-4); }
  .hero-photo .frame { max-height: none; max-width: 480px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding-bottom: var(--sp-5); }
  /* minmax(0,1fr): タイトル列の min-content 幅にトラックが引きずられて
     ヒーロー全体が画面外へはみ出すのを防ぐ */
  .hero-copy { grid-template-columns: minmax(0, 1fr); }
  .hero-title-col {
    order: -1;
    flex-direction: row;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: var(--sp-3);
  }
  .hero-title {
    writing-mode: horizontal-tb;
    height: auto;
    font-size: clamp(30px, 8vw, 44px);   /* 落款込みで幅が収まるサイズ */
    line-height: 1.55;
  }
  .section-head { flex-wrap: wrap; row-gap: 4px; }
  .scroll-cue { display: none; }
  .stats-grid { grid-template-columns: 1fr; gap: var(--sp-2); }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-data { grid-template-columns: 1fr; }
  .works-grid, .another-grid { grid-template-columns: 1fr; }
  .covers-grid { flex-direction: column; }
  .cover-main .frame { height: auto; width: 100%; aspect-ratio: 16 / 9; }
  .cover-side .frame { height: auto; width: min(240px, 70vw); aspect-ratio: 9 / 16; }
  .cover-caption { white-space: normal; }
  .links-grid { grid-template-columns: 1fr; }
  .story-list { padding-left: 24px; }
  .story-item { grid-template-columns: 1fr; gap: 0; padding: 14px 14px; }
  .contact-frame iframe { height: 640px; }
}

/* 極小端末（〜374px）: 落款込みのタイトル行をさらにコンパクトに */
@media (max-width: 374px) {
  .hero-title { font-size: clamp(25px, 8vw, 34px); letter-spacing: 0.1em; }
  .hero-title-col { gap: 10px; }
  .hero-title-col .seal { width: 34px; height: 34px; font-size: 17px; }
}
