/* ==========================================================================
   せいちゃんLP type-d — SPファースト・デザイン画像忠実再現版
   各セクションは背景画像の実寸比率に aspect-ratio を固定し、子要素は
   %ベース絶対配置 + clamp()で幅320〜430pxのどこでも同じ位置関係を保つ。
   ========================================================================== */

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  /* hidden だと iOS Safari で body がスクロールコンテナ化し、
     position:fixed（お供キャラ）がスクロールに追従せず流れる。clip は scroll container を作らない */
  overflow-x: clip;
  background: #eff3fa;
  color: #212d47;
  -webkit-text-size-adjust: 100%;
}
body { font-family: var(--font-body); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; border: none; cursor: pointer; background: none; }
input, textarea { font-family: inherit; }

:root {
  --pink: #1b2a4a;
  --pink-strong: #0f1c38;
  --pink-soft: #e8edf6;
  --ink: #212d47;
  --ink-soft: #5c6780;
  --cta-grad: linear-gradient(135deg, #f5a04a 0%, #e0742a 100%);
  /* フォント変数化（2026-07-18 Phase A、配管のみ・視覚変化ゼロ）。値は既存指定と完全同一 */
  --font-body: 'Klee One', sans-serif;
  --font-mincho: 'Shippori Mincho', serif;
  --font-klee: 'Klee One', sans-serif;
  --font-maru: 'Zen Maru Gothic', sans-serif;
  --font-cormorant: 'Cormorant Garamond', serif;
}

.f-mincho { font-family: var(--font-mincho); font-weight: 500; line-height: 1.3; }
.f-klee { font-family: var(--font-klee); font-weight: 400; }
.f-klee-sb { font-family: var(--font-klee); font-weight: 600; }
.f-maru { font-family: var(--font-maru); font-weight: 700; }
.f-cormorant {
  font-family: var(--font-cormorant);
  font-weight: 500;
  letter-spacing: 0.35em;
  line-height: 1.3;
}

/* ==========================================================================
   ボタン（ピンクグラデ ピル型CTA）
   ========================================================================== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: var(--cta-grad);
  color: #fff;
  border-radius: 999px;
  padding: 0.85em 1.6em;
  font-size: clamp(13px, 3.8vw, 16px);
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(111, 144, 211, 0.35);
}
.btn-cta__arrow { font-size: 0.85em; }
.btn-cta--sm {
  padding: 0.55em 1.1em;
  font-size: clamp(10.5px, 3vw, 12.5px);
}

/* ==========================================================================
   ヘッダー（sticky 白バー）
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f8faff;
  padding: 10px 14px;
  box-shadow: 0 2px 10px rgba(103, 117, 148, 0.08);
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.site-header__avatar {
  width: clamp(30px, 8vw, 38px);
  height: clamp(30px, 8vw, 38px);
  border-radius: 50%;
  flex: none;
  /* 顔アイコン（hero-person.webp の顔クロップ、切り抜き素材）。グラデは背景として残す */
  background: url(../img/avatar-face.webp) center / cover no-repeat,
              linear-gradient(135deg, #c9b7ef 0%, #bccdf0 100%);
}
.site-header__name {
  font-size: clamp(15px, 4.2vw, 18px);
  color: #212d47;
  white-space: nowrap;
}

/* ==========================================================================
   セクション共通（背景画像＝実寸比率のfull-widthコンテナ）
   ========================================================================== */
.sec {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* HEROだけ画像実寸比でなくスマホ画面いっぱいの高さ（2026-07-09 ytk指示）。
   svh - stickyヘッダー分でファーストビューにぴったり収め、要素の%アンカーを縦に広げる。
   背景は cover で左右を少し切って無歪みを維持 */
.sec-hero {
  height: calc(100svh - 51px);
  max-height: 960px;
}
.sec-profile { aspect-ratio: 1023 / 1537; }
.sec-live    { aspect-ratio: 1024 / 1536; }
.sec-genres  { aspect-ratio: 1045 / 1505; }
/* WORKS は TikTok 埋め込み（動的高さ）に追従するため自然高（2026-07-14 sei 522f5fc 還元）。bg は cover でクロップ */
.sec-works   { padding: 12% 24px 14%; text-align: center; }
.sec-contact { aspect-ratio: 894 / 2750;  }  /* SP は縦長化OK（2026-07-10 ytk指示）。bg は 100%100% で追従。
     ai-bag: フォーム項目増（相談先ラジオ+電話番号）でカード実高 751px@390。
     アイコン16.7%/カード25.6% 配置 + 360px幅で下端余白+40px を満たす高さに再設計（pitfalls.md 29） */

/* 背景は内側レイヤーに分離し、JS(initBgParallax)が scale(1.08)+縦スクラブで
   ゆっくり動かす（セクション中央通過時にオフセット0＝要素とアートの整合を維持）。
   GSAP未読込・reduced-motion 時は scale(1) 静止のまま＝従来と同じ見え方 */
.sec__bg {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  will-change: transform;
  pointer-events: none;
}
.sec-hero    .sec__bg { background-image: url(../img/bg-hero.webp?v=titled3); background-size: cover; }
.sec-profile .sec__bg { background-image: url(../img/bg-profile.webp?v=dense1); }
.sec-live    .sec__bg { background-image: url(../img/bg-live.webp); }
.sec-genres  .sec__bg { background-image: url(../img/bg-genre.webp); }
.sec-works   .sec__bg { background-image: url(../img/bg-works.webp); background-size: cover; }
.sec-contact .sec__bg { background-image: url(../img/bg-contact.webp?v=cosme1); }

.abs { position: absolute; }

/* ==========================================================================
   ① HERO
   ========================================================================== */
/* タイトルは背景（bg-hero.webp、画像内 20〜35% 帯）に焼き込み済み。
   コピー+SNS は 1 ブロック内の通常フロー＝固定間隔で、画面高さ差による被りを防ぐ */
.hero-copy-block {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 100%;
  transform: translateX(-50%);
  text-align: center;
}
.hero-copy {
  width: 84%;
  margin: 0 auto;
  /* ai-bag: hero 背景が濃紺のため白抜き + 紺グローで可読性を担保 */
  color: #ffffff;
  font-size: clamp(16px, 5.1vw, 21px);
  line-height: 1.55;
  text-shadow: 0 0 4px rgba(15, 28, 56, 0.9), 0 0 10px rgba(15, 28, 56, 0.7);
}

.hero-sns {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 3vw, 16px);
  list-style: none;
  margin: 12px auto 0;
  padding: 0;
}
.sns-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(38px, 10vw, 48px);
  height: clamp(38px, 10vw, 48px);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(93, 111, 147, 0.18);
}
.sns-circle svg { width: 55%; height: 55%; }

.hero-cta {
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
}

/* 実写せいちゃん（人物切り抜き動画）。
   下端は overflow:hidden でセクション端に切れる（静止画時代と同じ見え方）。
   2026-07-09: テキスト上詰めに合わせて右寄せ+少し上げ、左下をちびキャラ紹介に充てる */
.hero-person {
  position: absolute;
  /* タイトル焼き込み背景に合わせた再配置: 人物実体の水平中心=画面50%、
     頭頂=画面≈54%・下端=画面下端接地（bbox: 上余白3.8%・左12.5%・実体中心53.1%） */
  left: 19%;
  top: 53.5%;
  width: 58%;
  aspect-ratio: 750 / 1231;
  pointer-events: none;
}

.hero-person__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   ②b 3つの形態（FORMS。type-a の lineup 移植。背景画像なしの自然高セクション）
   ========================================================================== */
.sec-forms {
  position: relative;
  overflow: hidden;
  /* 上下バンド画像（突き合わせ側はアルファフェード済み）+ 中間はエッジ実測色で補間 */
  background:
    url("../img/bg-forms-top.webp") top center / 100% auto no-repeat,
    url("../img/bg-forms-bottom.webp") bottom center / 100% auto no-repeat,
    linear-gradient(180deg, #e7e9ed 0%, #ecedf0 50%, #f1f2f4 100%);
  /* 上下 padding はバンド画像の小物帯（幅比）ぶん確保して重なりを防ぐ。
     40%/46%→34%/40%: 行レイアウト化に合わせ縦詰め、帯のフェード部へ軽く食い込む（2026-07-10） */
  padding: 34% 24px 44%;   /* ai-bag: 下帯小物が幅比42%まで届くため 40%→44%（実測） */
  text-align: center;
}
.forms-eyebrow {
  margin: 0 0 10px;
  color: #7c94c5;
  font-size: clamp(11px, 3vw, 13px);
}
.forms-title {
  margin: 0 0 12px;
  color: #212d47;
  font-size: clamp(20px, 6vw, 26px);
}
.forms-lead {
  margin: 0 auto 24px;
  max-width: 30em;
  color: #5c6780;
  font-size: clamp(11.5px, 3.2vw, 13.5px);
  line-height: 1.7;
}
.forms-lineup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
/* 顔アップ円形フレーム+ラベルの横並び行。--flip で画像を右側に（zigzag） */
.forms-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 6vw, 34px);
  margin: 0;
}
.forms-row--flip { flex-direction: row-reverse; }
/* 化粧台シーンの円形アートワーク（枠・装飾込みの一体画像、円外は透過処理済み。
   2026-07-10 ytk指示「化粧台の鏡みたいなイメージ」参考画像準拠 */
.forms-row__media {
  flex: none;
  width: clamp(150px, 44vw, 195px);
  height: clamp(150px, 44vw, 195px);
  filter: drop-shadow(0 10px 22px rgba(103, 118, 148, 0.25));
}
.forms-row__media img {
  width: 100%;
  height: 100%;
}
.forms-row__label {
  margin: 0;
  color: #212d47;
  font-size: clamp(18px, 5vw, 22px);
}

/* ==========================================================================
   ②c LIVE COMMERCE（縦型動画プレースホルダ。動画は後日差し込み）
   ========================================================================== */
.live-eyebrow {
  position: absolute;
  left: 50%;
  top: 8.5%;
  transform: translateX(-50%);
  margin: 0;
  color: #7c94c5;
  font-size: clamp(11px, 3vw, 13px);
  white-space: nowrap;
}
.live-title {
  position: absolute;
  left: 50%;
  top: 11.5%;
  transform: translateX(-50%);
  margin: 0;
  color: #212d47;
  font-size: clamp(20px, 6vw, 26px);
  white-space: nowrap;
}
.live-lead {
  position: absolute;
  left: 50%;
  top: 17.5%;
  transform: translateX(-50%);
  width: 88%;
  margin: 0;
  text-align: center;
  color: #5c6780;
  font-size: clamp(11px, 3vw, 12.5px);
  line-height: 1.7;
}
/* .video-card の見た目を流用しつつ、works の flex アイテム前提を打ち消して中央配置 */
/* 作例2枚の横スクロール（WORKS の snap ギャラリーと同方式、2026-07-11）。
   2枚目が右にチラ見えする幅設定。スクロールバー非表示、カードごとにスナップ */
.live-videos {
  position: absolute;
  left: 0;
  top: 27%;
  width: 100%;
  display: flex;
  gap: 4%;
  overflow-x: auto;
  padding: 0 6%;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 6%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.live-videos::-webkit-scrollbar { display: none; }
/* WORKS の .video-card { flex: 0 0 42% } と同 specificity で後勝ちされるため
   親クラス付きで上書き（pitfall 12 と同種の specificity 地雷） */
.live-videos .video-card {
  /* flex-basis % は padding 済みコンテナ幅(88%)基準 → 60% ≒ セクション幅の 53%
     （旧・単独カードの width:52% と同等サイズを維持しつつ2枚目をチラ見せ） */
  flex: 0 0 60%;
  margin: 0;
}
.live-badge {
  position: absolute;
  top: 3.5%;
  left: 6%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.88);
  color: #0f1c38;
  font-size: clamp(9px, 2.6vw, 11px);
  padding: 3px 10px;
  border-radius: 999px;
}
.live-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5782d9;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ==========================================================================
   ② PROFILE
   ========================================================================== */
/* セクション見出し（人物除去で空いた上部マーブル帯） */
.profile-eyebrow {
  position: absolute;
  left: 50%;
  top: 3.5%;
  transform: translateX(-50%);
  margin: 0;
  color: #7c94c5;
  font-size: clamp(11px, 3vw, 13px);
  white-space: nowrap;
}
.profile-title {
  /* SP はカタカナ見出しなし（2026-07-10 ytk指示「ダサい」）。英字 eyebrow のみ。
     PC は media 内で display 復活 */
  display: none;
  position: absolute;
  left: 50%;
  top: 6.5%;
  transform: translateX(-50%);
  margin: 0;
  color: #212d47;
  font-size: clamp(20px, 6vw, 26px);
  white-space: nowrap;
}

/* 表は紙の左端（x≈10%）から14%内側=左24%に寄せる。値カラムの右端は
   ちび（右側常駐）の手前 x≈78% で折り返す */
.profile-table {
  position: absolute;
  left: 24%;
  top: 21%;     /* アイコン実測top≈142px＝メモ吹き出し実線(141px)ギリ下。glow には食い込む */
  /* dl 既定 margin-top 1em が top% に上乗せされ下端が設計値 87% を超える下駄になっていた
     （akane 実機で OPERATED BY ピル食い込みが顕在化、2026-07-16。pitfalls.md 14） */
  margin: 0;
  width: 52%;
  height: 66%;  /* 下端 87%（OPERATED BY の上端 ≈89% の手前） */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.profile-row {
  flex: none;
  display: flex;
  align-items: stretch;
  gap: 4%;
  border-bottom: 1px dashed rgba(153, 173, 212, 0.55);
  padding: 1.5% 0;
}
.profile-row--last { border-bottom: none; }
.profile-row--name {
  /* メモ直下・中央寄せ（2026-07-10 ytk指示「真ん中に」） */
  justify-content: center;
  align-items: center;
  padding-left: 0;
}
/* 名前横のアカウント風アイコン（SPのみ。PC は media 内で非表示） */
.profile-name-icon {
  flex: none;
  width: clamp(40px, 11.5vw, 48px);
  height: clamp(40px, 11.5vw, 48px);
  border-radius: 50%;
  background: url(../img/avatar-face.webp) center / cover no-repeat,
              linear-gradient(135deg, #c8d5ee 0%, #a4bae5 100%);
  box-shadow: 0 3px 8px rgba(103, 118, 148, 0.25);
}
.profile-row--name dd {
  flex: 0 0 auto;
  color: #212d47;
  background-image: linear-gradient(transparent 72%, rgba(151, 177, 228, 0.55) 72%);
  display: inline-block;
  border-left: none;
}
.profile-row dt {
  flex: 0 0 30%;
  display: flex;
  align-items: center;
  color: #87a2d8;
  font-size: clamp(10.5px, 2.9vw, 12.5px);
  white-space: nowrap;
  /* ラベルと値の間の細い縦罫線（デザイン正本 2.jpg の vertical divider） */
  border-right: 1px solid rgba(168, 187, 225, 0.5);
}
.profile-row dd {
  margin: 0;
  flex: 1;
  /* display:grid だと .mk span が別 grid item に分割され文中で改行してしまう。
     block のまま align-self で行内センタリングする */
  align-self: center;
  color: #212d47;
  font-size: clamp(10px, 2.7vw, 12px);
  line-height: 1.4;
}
.profile-row dd .mk {
  background-image: linear-gradient(transparent 68%, rgba(151, 177, 228, 0.55) 68%);
}
/* 名前だけ大きく（2026-07-10 ytk指示）。.profile-row dd と同 specificity のため
   後置しないと負ける（上の --name dd ブロック内に書いても効かない） */
.profile-row--name dd { font-size: clamp(19px, 5.4vw, 24px); }

/* OPERATED BY 行は表の下に独立配置（丸アイコン + 2段テキスト） */
.profile-operated {
  position: absolute;
  left: 16%;
  /* bottom 基準だと実機の文字サイズ設定でピルが育った時にカード（下端87%）へ
     食い込む（akane 2026-07-16）。カード直下に top 固定し、育つ分は下へ逃がす */
  top: 88.5%;
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-operated__avatar {
  width: clamp(26px, 7vw, 32px);
  height: clamp(26px, 7vw, 32px);
  border-radius: 50%;
  flex: none;
  /* 運用者（作った人）の写真が入る予定のプレースホルダ。せいちゃん顔は入れない */
  background: linear-gradient(135deg, #c8d5ee 0%, #a4bae5 100%);
}
.profile-operated__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profile-operated__label {
  font-size: clamp(9px, 2.5vw, 10.5px);
  color: #7c94c5;
}
.profile-operated__name {
  font-size: clamp(11px, 3vw, 13px);
  color: #212d47;
}

/* ==========================================================================
   ③ GENRES
   ========================================================================== */
.genres-eyebrow {
  position: absolute;
  left: 50%;
  top: 23.5%;
  transform: translateX(-50%);
  margin: 0;
  color: #7c94c5;
  font-size: clamp(11px, 3vw, 13px);
  white-space: nowrap;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.95), 0 0 12px rgba(255, 255, 255, 0.85);
  z-index: 1;   /* 後続 h2 の雲(::before)に塗り潰されないよう前面へ */
}
.genres-title {
  position: absolute;
  left: 50%;
  top: 26.5%;
  transform: translateX(-50%);
  margin: 0;
  color: #212d47;
  font-size: clamp(20px, 6vw, 26px);
  white-space: nowrap;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.95), 0 0 14px rgba(255, 255, 255, 0.85);
}
/* キラキラ背景で見出しが沈むため、eyebrow ごと覆う雲状の白バックドロップ
   （プロフィールの手書きメモ風もくもく。2026-07-10 ytk指示）。
   transform 持ちの h2 がスタッキング文脈を作るので z-index:-1 でも bg より手前 */
.genres-title::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -9%;
  right: -9%;
  top: -1.15em;
  bottom: -0.4em;
  pointer-events: none;
  background:
    radial-gradient(ellipse 62% 80% at 50% 58%, rgba(250, 252, 255, 0.95) 42%, rgba(250, 252, 255, 0) 78%),
    radial-gradient(ellipse 36% 62% at 9% 55%, rgba(250, 252, 255, 0.92) 28%, rgba(250, 252, 255, 0) 72%),
    radial-gradient(ellipse 36% 62% at 91% 55%, rgba(250, 252, 255, 0.92) 28%, rgba(250, 252, 255, 0) 72%),
    radial-gradient(ellipse 32% 58% at 28% 24%, rgba(250, 252, 255, 0.9) 26%, rgba(250, 252, 255, 0) 70%),
    radial-gradient(ellipse 32% 58% at 72% 24%, rgba(250, 252, 255, 0.9) 26%, rgba(250, 252, 255, 0) 70%);
}

.genre-grid {
  position: absolute;
  left: 15%;
  top: 33%;
  width: 71%;
  height: 55%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 3% 4%;
}
.genre-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6%;
  background: rgba(255, 252, 248, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(172, 184, 208, 0.3);
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(103, 117, 148, 0.12);
  padding: 5% 4%;
}
.genre-card::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #bbc9e4 70%);
  box-shadow: 0 0 3px rgba(154, 178, 226, 0.7);
}
.genre-card__icon {
  width: 25%;
  flex: none;
  border-radius: 3px;
}
.genre-card__title {
  margin: 0;
  color: #212d47;
  font-size: clamp(9.5px, 2.5vw, 11.5px);
  line-height: 1.25;
  white-space: nowrap;
}
.genre-card__desc {
  margin: 0.25em 0 0;
  color: #758ab5;
  font-size: clamp(7.5px, 2vw, 9px);
  line-height: 1.35;
}

.genre-note {
  position: absolute;
  left: 50%;
  bottom: 2.5%;   /* ai-bag: SP 背景下部の製品列は ima2 edit で除去済み（グリッドが88%まで達し共存不可のため） */
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  color: #212d47;
  font-size: clamp(11.5px, 3.2vw, 13.5px);
  line-height: 1.6;
}

/* ==========================================================================
   ④ WORKS
   ========================================================================== */
/* 見出しは全セクション統一形: 英字 eyebrow(#7c94c5) + 明朝タイトル(#212d47, 20-26px) 中央（2026-07-10 ytk指示）。
   自然高化に伴い static flow（.sec__bg が absolute のため position:relative で前面へ） */
.works-eyebrow {
  position: relative;
  margin: 0 0 10px;
  color: #7c94c5;
  font-size: clamp(11px, 3vw, 13px);
}
.works-title {
  position: relative;
  margin: 0 0 26px;
  color: #212d47;
  font-size: clamp(20px, 6vw, 26px);
}

/* 白い自動更新カード（TikTok 公式クリエイター埋め込み）。高さは TikTok 側が制御。
   works_soon（未登録フォールバック）も同じラッパーで中央配置 */
.works-embed {
  position: relative;
  display: flex;
  justify-content: center;
}
.works-embed .tiktok-embed {
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(124, 148, 197, 0.18);
}
/* TikTok 未登録時の COMING SOON カード（自然高セクション内なので幅は明示指定。
   .video-card 基底の flex-basis 42% を打ち消す） */
.works-soon { flex: 0 0 auto; width: min(62vw, 250px); }

.video-card {
  flex: 0 0 42%;
  scroll-snap-align: start;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6%;
}
.video-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  border: 4px solid #fff;
  box-shadow: 0 8px 18px rgba(103, 117, 148, 0.22);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8%;
  overflow: hidden;
}
.video-card--soon .video-card__media {
  background-image: linear-gradient(160deg, #d1dcf1 0%, #acbfe6 100%);
}
.video-card__play { width: 32%; height: auto; }
.video-card__soon {
  color: #fff;
  font-size: clamp(9px, 2.6vw, 11px);
  white-space: nowrap;
}
.video-card figcaption {
  color: #212d47;
  font-size: clamp(11px, 3vw, 13px);
}

/* ==========================================================================
   ⑤ CONTACT / FOOTER
   ========================================================================== */
.sec-contact { padding-bottom: 4%; }

.contact-eyebrow {
  position: absolute;
  left: 50%;
  top: 3.2%;
  transform: translateX(-50%);
  margin: 0;
  color: #7c94c5;
  font-size: clamp(11px, 3vw, 13px);
  white-space: nowrap;
}

.contact-title {
  position: absolute;
  left: 50%;
  top: 6.5%;
  transform: translateX(-50%);
  width: 94%;
  text-align: center;
  color: #212d47;
  font-size: clamp(19px, 5.6vw, 26px);
  white-space: nowrap;   /* ai-bag: 「PRのご相談はこちら」10字の中途折返し防止 */
}

.contact-lead {
  position: absolute;
  left: 50%;
  top: 12.5%;
  transform: translateX(-50%);
  width: 86%;
  text-align: center;
  color: #5c6780;
  font-size: clamp(10.5px, 2.9vw, 12px);
  line-height: 1.6;
}

.contact-icons {
  position: absolute;
  left: 6%;
  top: 16.7%;   /* ai-bag: 背景が無地のためリード直下へ詰める */
  width: 88%;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.contact-icons li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8%;
  width: 22%;
}
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 13.5vw, 60px);
  height: clamp(48px, 13.5vw, 60px);
  border-radius: 50%;
  border: 1.4px solid #9fb1d6;
}
.contact-icon svg { width: 48%; height: 48%; }
.contact-icons p {
  margin: 0;
  color: #485369;
  font-size: clamp(8.5px, 2.3vw, 10px);
  line-height: 1.35;
}

.contact-form-card {
  position: absolute;
  left: 5.5%;
  top: 25.6%;   /* ai-bag: アイコン再配置に合わせ実測で直下へ */
  width: 89%;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  padding: 5.5% 5% 4%;
}
/* SP は全項目を縦1列（2026-07-10 ytk指示）。PC のみ media 内で2カラム化 */
[data-contact-form] {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 4%;
}
.form-field--scope,
.form-field--email,
.form-field--request,
.form-field--message,
.form-submit-row { grid-column: 1 / -1; }
.form-field { margin-bottom: 4.5%; }
.form-field label,
.form-field__legend {
  display: block;
  margin-bottom: 1.5%;
  color: #212d47;
  font-size: clamp(12px, 3.2vw, 14px);
}
.form-field__optional { margin-left: 0.4em; color: var(--ink-soft); font-size: 0.85em; }
/* 相談先2択（scope）。honeypot(website)は position:absolute で grid から外れ視覚非表示 */
.form-radio-group { display: flex; flex-direction: column; gap: 2.5%; }
.form-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #212d47;
  font-size: clamp(11.5px, 3vw, 13px);
}
.form-radio input[type="radio"] { accent-color: var(--pink-strong); width: 16px; height: 16px; flex: none; }
.form-field--hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.input-wrap { position: relative; }
.input-wrap input,
.input-wrap textarea,
.input-wrap select {
  width: 100%;
  border: 1px solid #bbc8e1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 3% 12% 3% 4%;
  font-size: clamp(11.5px, 3vw, 13px);
  color: #212d47;
}
.input-wrap select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.input-wrap select:invalid { color: #abb3c5; }  /* 未選択(value="")はプレースホルダ色 */
.input-wrap textarea {
  min-height: 5em;
  resize: vertical;
  line-height: 1.5;
}
.input-wrap input::placeholder,
.input-wrap textarea::placeholder { color: #abb3c5; }
.input-icon {
  position: absolute;
  pointer-events: none;  /* select のタップを遮らない */
  right: 4%;
  top: 14px;
  width: clamp(14px, 4vw, 17px);
  height: clamp(14px, 4vw, 17px);
  color: #9fb1d6;
}
.input-wrap--textarea .input-icon { top: auto; bottom: 10px; }

.form-submit-row { text-align: center; margin-top: 5%; }
.form-submit-row .btn-cta { width: 72%; justify-content: center; }

.form-status {
  text-align: center;
  color: #212d47;
  font-size: clamp(11px, 3vw, 13px);
  margin: 4% 0 0;
}
.form-status.is-error { color: #5174ba; }

.contact-form-note {
  text-align: center;
  margin: 4% 0 0;
  color: #717989;
  font-size: clamp(10px, 2.7vw, 11.5px);
}

/* ==========================================================================
   L3 お供キャラクター（SP マスコット配置。
   x 位置・ポーズ切替・出現制御は JS (initCharacter) が担当）
   ========================================================================== */
.char-character {
  position: fixed;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  width: clamp(96px, 26vw, 130px);
  aspect-ratio: 3 / 5;
  z-index: 50;
  pointer-events: none;
  opacity: 0; /* GSAP 未読込時は非表示のまま（演出なし劣化） */
}
.char-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(151, 122, 189, 0.22));
}

/* ==========================================================================
   きらめきレイヤー（ページ全体固定。セクション間の断絶を粒の連続移動で繋ぐ。
   粒(.fx-p)は JS が生成し GSAP で浮遊させる）
   ========================================================================== */
.fx-layer {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 480px); /* body の max-width と同じ表示カラムに収める */
  height: 100vh;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
}
.fx-p {
  position: absolute;
  left: 0;
  top: 0;
  color: #d1ddf4;
  line-height: 1;
  text-shadow: 0 0 6px rgba(186, 208, 251, 0.85), 0 0 2px #fff;
  opacity: 0;
  will-change: transform, opacity;
  user-select: none;
}

/* ==========================================================================
   レスポンシブ上限（PC幅でも間延びしすぎないよう中央寄せ）
   ========================================================================== */
@media (min-width: 480px) {
  body { max-width: 480px; margin: 0 auto; }
  /* 480px幅ではヘッダーが58pxになる */
  .sec-hero { height: calc(100svh - 58px); }
}

/* ==========================================================================
   PC レイアウト（2026-07-10 追加。type-d PC 版）
   横長 PC 背景（bg-*-pc.webp、1536x1024）に差し替え、% 絶対配置要素は
   PC 背景ごとに bbox 実測（heatmap script）した値で再定義する。
   SP の % 値・既存ルールは一切変更しない（このブロックのみで完結）。
   ========================================================================== */
@media (min-width: 900px) {
  /* 全幅表示（2026-07-10 ytk指示）。1440px の中央寄せキャップを撤廃し、
     1440/1920/2560 幅いずれでも左右の帯なしでブラウザ全幅に表示する。 */
  body { max-width: none; }
  .site-header { padding: 14px 32px; }

  /* ---- HERO: 2カラム化（左=コピー+SNS+CTA、右=人物） ---- */
  .sec-hero {
    height: auto;
    aspect-ratio: 1536 / 1024;
    /* ヘッダー分を除いた画面いっぱいの縦長 hero（2026-07-10 ytk指示）。
       アスペクト上限(1536/1024)との min なので超ワイドでも破綻しない */
    max-height: calc(100vh - 64px);
  }
  .sec-hero .sec__bg {
    background-image: url(../img/bg-hero-pc.webp?v=dense1);
    background-size: cover;
    /* ai-bag: 焼き込みタイトルが画像上部にあるため縦短ウィンドウでは下側だけを
       クロップしてタイトルを守る（pitfalls.md 30） */
    background-position: center top;
  }
  /* SP で確立した「タイトル→コピー→SNS→CTA の中央スタック」を PC でも踏襲。
     文字・アイコン・CTA は画面比例（vw clamp）にして背景の拡大率と揃える */
  .hero-copy-block {
    left: 50%;
    /* 縦短ウィンドウ（例 1920x750）では % 位置が焼き込みタイトル下端に食い込む。
       vw 下限で常にタイトル帯の下へ（2026-07-22 テンプレ還元、原型は yoshie 2026-07-21）。
       20vw は暫定値 — キャラごとにタイトル帯下端を実測して差し替える必須ゲート
       （[[hero-vh-cap-person-width-trap]]、実測は heatmap 暗ピクセル行クラスタ法） */
    top: max(46%, 19vw);   /* ai-bag: タイトル帯下端 24.6%（=16.4vw、center top 固定）実測 + 余白 */
    width: min(46%, 720px);
    transform: translateX(-50%);
    text-align: center;
  }
  .hero-copy { width: 100%; margin: 0 auto; text-align: center; font-size: clamp(18px, 1.75vw, 32px); }
  .hero-sns { justify-content: center; margin: 1.4vw 0 0; gap: clamp(12px, 1.2vw, 22px); }
  .sns-circle {
    width: clamp(44px, 3.4vw, 62px);
    height: clamp(44px, 3.4vw, 62px);
  }
  .hero-cta {
    left: 50%;
    bottom: 11%;
    transform: translateX(-50%);
    font-size: clamp(15px, 1.15vw, 21px);
  }
  /* 人物は中央寄り基準からちょい右 + 大きめ（2026-07-10 ytk指示） */
  .hero-person {
    left: auto;
    right: 11%;
    top: auto;
    bottom: 0;
    width: 26%;
    /* 幅基準サイズのままだと縦短ウィンドウ（例 1920x750）で hero 高さの
       vh キャップを超えて頭が切れる。barbie-lp と同方式の高さクランプ
       （2026-07-22 テンプレ還元、原型は 2026-07-21） */
    max-height: 94%;
  }

  /* ---- PROFILE: 背景差し替え + 表を横長中央に拡張 ---- */
  .sec-profile {
    aspect-ratio: 1536 / 1024;
  }
  /* SP と同じ構図の PC 横長背景(描き込みのメモ用紙が中央、左右に小物、
     紙の左上に手書きメモ焼き込み)。画像は 100%100% で切り抜きなし＝全部見せる。
     セクションが画面より縦長になるのは許容（2026-07-10 ytk指示「長くてもいい」） */
  .sec-profile {
    aspect-ratio: 1536 / 1024;
  }
  .sec-profile .sec__bg {
    background-image: url(../img/bg-profile-pc.webp?v=memo2);
  }
  /* 文字は PC 用に拡大（SP の clamp 上限 12px が PC では小さすぎるため）。
     テーブルは描かれた紙の内側（紙 ≈ x23-77% / y12-87% / 手書きメモの下）に重ねる */
  /* 見出しは sticky ヘッダー(64px≒7%)に食われない位置まで下げ、
     PC の全幅に負けないサイズへ拡大（2026-07-10 ytk指摘「小さいし場所も微妙」）。
     行高はデフォルト(≒1.6)だと下の要素と接触するため単行前提で締める */
  .profile-title, .forms-title, .genres-title, .works-title, .contact-title { line-height: 1.25; }
  .profile-eyebrow { top: 7%; font-size: clamp(15px, 1.2vw, 22px); }
  .profile-title { display: block; top: 10%; font-size: clamp(34px, 3.2vw, 56px); }
  .profile-table {
    left: 27%;
    top: 23.5%;   /* メモ吹き出しの下端ギリまで上げ、余白を行間に再配分（2026-07-11 ytk指示） */
    width: 46%;
    height: 55%;
  }
  /* SP の縦長表用 margin/padding を打ち消し */
  .profile-row--name {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;   /* SP と同じ中央寄せ（2026-07-11 ytk指示「SP版と同じに」） */
    margin-bottom: 0;
  }
  /* 顔アイコンも SP 同様に表示。サイズは SP の見た目比率（アイコン≒セクション高の7.7%）に合わせる（2026-07-11 ytk指示「もっと大きく」） */
  .profile-name-icon {
    width: clamp(64px, 5.2vw, 80px);
    height: clamp(64px, 5.2vw, 80px);
  }
  .profile-row--name dd {
    font-size: clamp(22px, 1.9vw, 30px);
    flex: 0 0 auto;
    width: fit-content;   /* ハイライト線を文字幅だけに（太い下線に見える問題の対策） */
  }
  .profile-row dt { font-size: clamp(14px, 1.05vw, 20px); }
  .profile-row dd { font-size: clamp(14px, 1.05vw, 20px); }
  /* 名前は同 specificity の .profile-row dd より後置しないと効かない（pitfall 12） */
  .profile-row--name dd { font-size: clamp(28px, 2.5vw, 38px); }
  .profile-operated {
    left: 50%;
    transform: translateX(-50%);
    top: auto;     /* SP の top 基準を打ち消す（top+bottom 両指定だと縦に引き伸ばされる） */
    bottom: 16%;   /* 描かれた紙（下端 ≈87%）の内側に収める */
  }
  .profile-operated__avatar { width: clamp(34px, 2.4vw, 46px); height: clamp(34px, 2.4vw, 46px); }
  .profile-operated__label { font-size: clamp(11px, 0.75vw, 14px); }
  .profile-operated__name { font-size: clamp(13px, 0.95vw, 18px); }

  /* お供ちびキャラも PC では大きく（2026-07-10 ytk指示） */
  .char-character { width: clamp(150px, 11vw, 230px); }

  /* ---- FORMS: SP と同じ zigzag 縦積みを PC でも踏襲（2026-07-10 ytk指示）。
     帯は PC 横長版を SP と同じ 100% auto 全幅表示、円とテキストは PC サイズに拡大 ---- */
  .sec-forms {
    background:
      url("../img/bg-forms-top-pc.webp?v=fade1") top center / 100% auto no-repeat,
      url("../img/bg-forms-bottom-pc.webp?v=fade1") bottom center / 100% auto no-repeat,
      linear-gradient(180deg, #f4f6f8 0%, #f5f5f8 50%, #f5f4f7 100%);
    padding: 27% 24px 26%;   /* ai-bag: 上帯24.0%/下帯22.9%（幅比実測）を回避 */
  }
  .forms-eyebrow { font-size: clamp(15px, 1.2vw, 22px); }
  .forms-title { font-size: clamp(34px, 3.2vw, 56px); margin-bottom: 18px; }
  .forms-lead { font-size: clamp(14px, 1.05vw, 20px); max-width: 36em; margin-bottom: 3vw; }
  /* 円形3つは PC では横並び（円の下にラベル、2026-07-10 ytk指示） */
  .forms-lineup {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(48px, 6vw, 110px);
  }
  .forms-row,
  .forms-row--flip {
    flex-direction: column;
    gap: clamp(16px, 1.4vw, 26px);
  }
  .forms-row__media {
    width: clamp(230px, 17vw, 330px);
    height: clamp(230px, 17vw, 330px);
  }
  .forms-row__label { font-size: clamp(22px, 1.8vw, 34px); }

  /* ---- LIVE COMMERCE: 横長背景 + 縦型動画は中央に据え置き ---- */
  .sec-live {
    aspect-ratio: 1536 / 1024;
  }
  .sec-live .sec__bg { background-image: url(../img/bg-live-pc.webp); }
  .live-eyebrow { top: 8%; font-size: clamp(15px, 1.2vw, 22px); }
  .live-title { top: 11%; font-size: clamp(34px, 3.2vw, 56px); line-height: 1.25; }
  .live-lead { top: 19%; font-size: clamp(14px, 1.05vw, 20px); }
  .live-lead br { display: none; }  /* PC は1行 */
  /* PC は2枚が収まるので中央寄せ・スクロールなし */
  .live-videos {
    top: 25%;
    overflow-x: visible;
    justify-content: center;
    gap: clamp(24px, 2.5vw, 40px);
    padding: 0;
  }
  .live-videos .video-card { flex: 0 0 clamp(240px, 22vw, 330px); }
  .live-badge { font-size: clamp(11px, 0.85vw, 14px); padding: 4px 14px; }

  /* ---- GENRES: 背景差し替え + 4x2 グリッド ---- */
  .sec-genres {
    aspect-ratio: 1536 / 1024;
  }
  .sec-genres .sec__bg { background-image: url(../img/bg-genre-pc.webp); }
  /* SP と同じ「アイコン左+テキスト右」の行カードを 4x2 で敷く。
     縦長スカスカカードをやめ、文字を PC サイズに拡大（2026-07-10 ytk指示） */
  .genres-eyebrow { top: 9%; font-size: clamp(15px, 1.2vw, 22px); }
  .genres-title { top: 12%; font-size: clamp(34px, 3.2vw, 56px); }
  .genres-title::before { display: none; }  /* もくもくは SP のみ（PC は確定済みデザイン維持） */
  .genre-grid {
    left: 12%;
    top: 26%;
    width: 76%;
    height: 34%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6% 2.5%;
  }
  .genre-card { gap: 5%; padding: 2% 4%; }
  .genre-card__icon { width: clamp(56px, 4.2vw, 80px); }
  .genre-card__title { font-size: clamp(17px, 1.25vw, 24px); }
  .genre-card__desc { font-size: clamp(13px, 0.95vw, 18px); }
  .genre-note { bottom: auto; top: 66%; font-size: clamp(14px, 1.05vw, 20px); }

  /* ---- WORKS: 背景差し替え（自然高のまま余白と文字を PC サイズに）---- */
  .sec-works { padding: 6% 24px 7%; }
  .sec-works .sec__bg { background-image: url(../img/bg-works-pc.webp); }
  .works-eyebrow { font-size: clamp(15px, 1.2vw, 22px); }
  .works-title { font-size: clamp(34px, 3.2vw, 56px); }
  /* COMING SOON 仮カード。width 指定は .video-card { flex: 0 0 42% } の flex-basis に
     負けて一度も効いておらず 517px@1280 で表示されていた（akane で ytk「でかすぎ」指摘、
     2026-07-16。pitfalls.md 19）。PC の works-embed は flex なので flex-basis ごと上書き */
  .works-soon { flex: 0 0 clamp(200px, 17vw, 240px); }
  .video-card figcaption { font-size: clamp(15px, 1.15vw, 22px); }
  .video-card__soon { font-size: clamp(12px, 0.9vw, 17px); }

  /* ---- CONTACT: SP 準拠で縦を詰め、アイコン・フォーム・文字を PC サイズに ---- */
  .sec-contact {
    aspect-ratio: 1536 / 1024;
    /* フォーム実高は px ベースなので幅比例の高さだけだと 960〜1280px 幅で
       カードが下端からはみ出す（akane 実測 -63px@960、2026-07-16）。実測回帰式で下支え。
       ai-bag: フォーム項目増（相談先ラジオ+電話番号）でカード実高 671@960/740@1280/809@1440
       を再回帰 → 47vw+700px（全幅で下端余白 +25px 以上） */
    min-height: calc(47vw + 700px);
    padding-bottom: 5%;
  }
  .sec-contact .sec__bg { background-image: url(../img/bg-contact-pc.webp); }
  .contact-eyebrow { top: 7%; font-size: clamp(15px, 1.2vw, 22px); }
  .contact-title { top: 10%; font-size: clamp(34px, 3.2vw, 56px); }
  /* h2/p のデフォルト margin(38px/15px)が top% に上乗せされる前提で実測配分
     （title実箱 134-192 / lead 206-230 / icons 250- で各間隔15-20px） */
  .contact-lead { top: 20%; font-size: clamp(14px, 1.05vw, 20px); }
  .contact-lead br { display: none; }  /* PC は1行で収まる。SP 用改行を無効化 */
  .contact-icons { left: 24%; top: 26%; width: 52%; }
  .contact-icon { width: clamp(64px, 4.8vw, 92px); height: clamp(64px, 4.8vw, 92px); }
  .contact-icons li p { font-size: clamp(13px, 1vw, 18px); }
  .contact-form-card {
    /* translateX(-50%) は GSAP reveal(scale) に上書きされて右ズレするため
       transform に依存しない centering にする */
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 39%;
    width: min(780px, 50%);
    transform: none;
    padding: 3% 3.5% 2.5%;
  }
  .form-field label,
  .form-field__legend { font-size: clamp(15px, 1.1vw, 21px); }
  .input-wrap input,
  .input-wrap textarea,
  .input-wrap select { font-size: clamp(14px, 1.05vw, 19px); }
  /* PC は 会社名|担当者名 / email|電話番号 の2カラムで行数を抑える（依頼内容は単独フル幅） */
  [data-contact-form] { grid-template-columns: 1fr 1fr; column-gap: 3%; }
  .form-field--email { grid-column: auto; }
  .contact-form-note { font-size: clamp(12px, 0.95vw, 17px); }

  /* お供キャラは PC の広い表示カラム（1440px）基準で左右コーナーに配置
     （main.js の COL_MAX を動的化して対応。ここでは配置のみ調整不要） */
}

/* ==========================================================================
   ④b CONSULT（ご相談の流れ + FAQ、2026-07-11 B2B受付強化）
   FORMS と同じ自然高セクション: 上下バンド画像（アルファフェード済）+
   中間は中央帯の実測色 #e5ebf8 で補間。FAQ 開閉で高さが伸びるため
   aspect-ratio 固定にしない
   ========================================================================== */
.sec-consult {
  position: relative;
  overflow: hidden;
  background:
    url("../img/bg-consult-top.webp") top center / 100% auto no-repeat,
    url("../img/bg-consult-bottom.webp") bottom center / 100% auto no-repeat,
    linear-gradient(180deg, #f6f7f9 0%, #f7f7fa 50%, #f7f6f9 100%);
  padding: 30% 24px 34%;   /* ai-bag: 下帯小物 32.7%（幅比実測）回避 */
  text-align: center;
}
.consult-eyebrow {
  margin: 0 0 10px;
  color: #7c94c5;
  font-size: clamp(11px, 3vw, 13px);
}
.consult-title {
  margin: 0 0 12px;
  color: #212d47;
  font-size: clamp(20px, 6vw, 26px);
}
.consult-lead {
  margin: 0 auto 26px;
  max-width: 30em;
  color: #5c6780;
  font-size: clamp(11.5px, 3.2vw, 13.5px);
  line-height: 1.7;
}
.consult-lead br { display: none; }  /* SP は自然折返し（「〜ありま/す。」対策）、PC のみ2行 */
.consult-steps {
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 28px;   /* カード間の流れ矢印ぶん広め（2026-07-11 ytk指示） */
  text-align: left;
}
/* カード間の下向きシェブロン（01→04 の流れを明示） */
.consult-step { position: relative; }
.consult-step + .consult-step::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #0f1c38;
  border-bottom: 2px solid #0f1c38;
  transform: translateX(-50%) rotate(45deg);
}
/* 実写案内は PC のみ（SP は縦導線を邪魔しないよう非表示、2026-07-11 壁打ち合意） */
.consult-person { display: none; }
.consult-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(109, 143, 211, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
}
.consult-step__num {
  color: #0f1c38;
  font-size: clamp(18px, 5vw, 22px);
  line-height: 1.2;
}
.consult-step__t {
  margin: 0 0 4px;
  color: #212d47;
  font-size: clamp(13px, 3.6vw, 15px);
}
.consult-step__d {
  margin: 0;
  color: #5c6780;
  font-size: clamp(11px, 3vw, 12.5px);
  line-height: 1.6;
}
.consult-faq-title {
  margin: 0 0 14px;
  color: #212d47;
  font-size: clamp(16px, 4.6vw, 20px);
}
.consult-faq {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.faq-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(109, 143, 211, 0.18);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  color: #212d47;
  font-size: clamp(12px, 3.4vw, 14px);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex: none;
  position: relative;
  width: 14px;
  height: 14px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: #0f1c38;
  border-radius: 1px;
}
.faq-item__icon::before { width: 12px; height: 2px; }
.faq-item__icon::after { width: 2px; height: 12px; transition: transform 0.25s; }
.faq-item[open] .faq-item__icon::after { transform: scaleY(0); }
.faq-item__a {
  margin: 0;
  padding: 0 15px 14px;
  color: #5c6780;
  font-size: clamp(11.5px, 3.2vw, 13px);
  line-height: 1.7;
}

/* HERO 補足（CTA 直上の白ピル。企業窓口であることの明示、2026-07-11） */
.hero-note {
  position: absolute;
  left: 50%;
  bottom: calc(2% + 54px);
  transform: translateX(-50%);
  margin: 0;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  color: #5e729d;
  font-size: clamp(10px, 2.8vw, 12px);
  white-space: nowrap;
}

/* CONTACT 個人情報の利用目的 1 行 */
.contact-form-note--privacy {
  margin-top: 1.5%;
  opacity: 0.85;
}
/* privacy.html へのリンクだと分かる意匠（グローバル a リセットの上書き、2026-07-16 ytk指示） */
.contact-form-note--privacy a {
  color: #667aa5;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(102, 122, 165, 0.5);
}
.contact-form-note--privacy a::after { content: ' ▸'; font-size: 0.85em; }
.contact-form-note--privacy a:hover {
  color: var(--pink-strong);
  text-decoration-color: currentColor;
}

@media (min-width: 900px) {
  .sec-consult {
    background:
      url("../img/bg-consult-top-pc.webp?v=mid1") top center / 100% auto no-repeat,
      url("../img/bg-consult-bottom-pc.webp?v=mid1") bottom center / 100% auto no-repeat,
      linear-gradient(180deg, #f7f6f9 0%, #f8f7fa 50%, #f8f7fa 100%);
    padding: 18% 24px 16%;   /* ai-bag: 上帯17.3%（幅比実測）回避 */
  }
  .consult-eyebrow { font-size: clamp(15px, 1.2vw, 22px); }
  .consult-title { font-size: clamp(34px, 3.2vw, 56px); margin-bottom: 18px; }
  .consult-lead { font-size: clamp(14px, 1.05vw, 20px); max-width: 40em; margin-bottom: 2.5vw; }
  .consult-lead br { display: inline; }
  /* ステップ2×2（左65%）+ 実写案内（右、下揃え）の2カラム。
     人物の手のひらが左のカード群を指す構図（2026-07-11 GPT壁打ち合意） */
  .consult-main {
    display: grid;
    grid-template-columns: 1fr clamp(340px, 30vw, 420px);   /* 人物大きめ（2026-07-11 ytk「もっと大きく」） */
    gap: 0 clamp(24px, 2.5vw, 44px);
    align-items: end;
    max-width: 1040px;
    margin: 0 auto 3vw;
  }
  /* 01→04 の縦流し（上から下、2026-07-11 ytk指示）。番号左・本文右の行スタイル */
  .consult-steps {
    max-width: none;
    margin: 0;
    gap: 32px;
    align-self: center;   /* 人物より背が低いぶん中央に置いて上下の余白を均す */
  }
  .consult-step + .consult-step::before {
    top: -22px;
    width: 12px;
    height: 12px;
    border-width: 2.5px;
  }
  .consult-person {
    display: block;
    margin: 0;
  }
  .consult-person img {
    display: block;
    width: 100%;
    height: auto;
  }
  .consult-step {
    gap: 20px;
    padding: 16px 22px;
    align-items: center;
  }
  .consult-step__t { font-size: clamp(15px, 1.15vw, 19px); }
  .consult-step__d { font-size: clamp(12px, 0.95vw, 15px); }
  .consult-faq-title { font-size: clamp(22px, 1.8vw, 30px); }
  .consult-faq { max-width: 720px; }
  .faq-item summary { font-size: clamp(13px, 1.05vw, 16px); padding: 16px 20px; }
  .faq-item__a { font-size: clamp(12px, 0.95vw, 14px); padding: 0 20px 16px; }
  .hero-note {
    bottom: calc(11% + 64px);
    font-size: clamp(12px, 0.9vw, 14px);
    padding: 5px 18px;
  }
}

/* ==========================================================================
   CMSオーバーレイ基盤 追加分（Phase A, 2026-07-18。barbie-lp 522f5fc 還元 + 新設）
   ========================================================================== */

/* 白抜き(scrim)は全面撤去（2026-07-17 ytk 決定「しろぬきいらない」）。
   可読性は eyebrow の濃色化と背景アート側の調整で担保する */
.profile-eyebrow, .forms-eyebrow, .works-eyebrow, .consult-eyebrow {
  color: var(--pink-strong);
}

/* ゲート測定枠を実テキスト幅に一致させる（視覚変化なし、setsuko 実証パターン）:
   全幅ブロック見出しは worst-cell が左右端の装飾を拾い誤検知になるため */
.forms-eyebrow, .genres-eyebrow, .works-eyebrow, .consult-eyebrow, .contact-eyebrow,
.forms-title, .works-title, .consult-title, .contact-title {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* プロフィール文スロット（data-slot="profile_text"）。テンプレ本来には「地の文」に
   相当する要素が無かったため新設。位置は暫定値 — Phase B で実データが入り次第、
   実機スクショでの微調整が必要（親レビュー要）。デフォルト hidden = 現状と同一表示 */
.profile-lead {
  position: absolute;
  left: 50%;
  top: 13%;
  transform: translateX(-50%);
  width: 78%;
  margin: 0;
  text-align: center;
  color: #212d47;
  font-size: clamp(10.5px, 2.9vw, 12.5px);
  line-height: 1.6;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.85), 0 0 8px rgba(255, 255, 255, 0.6);
}
@media (min-width: 900px) {
  .profile-lead { top: 16%; width: 50%; font-size: clamp(13px, 1vw, 18px); }
}

/* タップ編集モード（edit-mode.js）のスロットハイライト。iframe+postMessage
   handshake成立時のみ .lpcms-editable が付与される（通常アクセスでは出現しない） */
.lpcms-editable {
  outline: 2px dashed #D4708F; /* CMS 編集UIの統一色（全LP共通・LPパレット非追従、2026-07-20） */
  outline-offset: 3px;
  cursor: pointer;
}
/* フル幅セクション型スロット（live/works）は outline だと左右が html の
   overflow-x: clip で画面外、内側に引いても .sec__bg（will-change: transform の
   合成レイヤー）に覆われて見えないため、::after の内側点線オーバーレイで代替 */
section.lpcms-editable { outline: none; }
section.lpcms-editable::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px dashed #D4708F;
  border-radius: 8px;
  pointer-events: none;
  z-index: 5;
}

/* ==========================================================================
   ④a BLOG（トップのブログカードセクション。デフォルト hidden、
   overlay.js が lp_posts 公開済み最新3件取得時のみ表示）
   ========================================================================== */
.sec-blog {
  padding: 12% 24px 14%;
  text-align: center;
  background: var(--pink-soft);
}
/* バンド背景画像（任意アセット bg-blog-*）がある LP のみ overlay.js が付与。
   FORMS/CONSULT と同じ上下バンド方式（generation-recipes.md 2d）。無い LP は上のベタ表示 */
.sec-blog--band {
  background:
    url("../img/bg-blog-top.webp") top center / 100% auto no-repeat,
    url("../img/bg-blog-bottom.webp") bottom center / 100% auto no-repeat,
    var(--pink-soft);
  padding: 30% 24px 34%;
}
.blog-eyebrow {
  margin: 0 0 10px;
  color: #7c94c5;
  font-size: clamp(11px, 3vw, 13px);
}
.blog-title {
  margin: 0 0 22px;
  color: #212d47;
  font-size: clamp(20px, 6vw, 26px);
}
.blog-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto;
}
.blog-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 8px 18px rgba(103, 117, 148, 0.14);
}
.blog-card__cover { aspect-ratio: 16 / 9; }
.blog-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 14px 16px; }
.blog-card__date {
  margin: 0 0 6px;
  color: #7c94c5;
  font-size: clamp(10px, 2.6vw, 11.5px);
  letter-spacing: 0.08em;
}
.blog-card__title {
  margin: 0;
  color: #212d47;
  font-size: clamp(13.5px, 3.6vw, 15.5px);
  line-height: 1.5;
}
@media (min-width: 900px) {
  .sec-blog { padding: 6% 24px 7%; }
  .sec-blog--band {
    background:
      url("../img/bg-blog-top-pc.webp") top center / 100% auto no-repeat,
      url("../img/bg-blog-bottom-pc.webp") bottom center / 100% auto no-repeat,
      var(--pink-soft);
    padding: 15% 24px 17%;
  }
  .blog-eyebrow { font-size: clamp(15px, 1.2vw, 22px); }
  .blog-title { font-size: clamp(34px, 3.2vw, 56px); }
  .blog-cards {
    max-width: 1040px;
    flex-direction: row;
    gap: clamp(20px, 2vw, 32px);
  }
  .blog-card { flex: 1 1 0; }
  .blog-card__title { font-size: clamp(14px, 1.05vw, 18px); }
}

/* ==========================================================================
   /blog/[post_slug] SSR記事ページ（api/blog.js が生成する単独ページ用）
   ========================================================================== */
.blog-article-header {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: #f8faff;
  box-shadow: 0 2px 10px rgba(103, 117, 148, 0.08);
}
.blog-article-header a {
  color: #212d47;
  font-size: 14px;
}
.blog-article {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.blog-article__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 0 24px;
}
.blog-article__title {
  margin: 0 0 8px;
  color: #212d47;
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.4;
}
.blog-article__date {
  margin: 0 0 28px;
  color: #7c94c5;
  font-size: 13px;
}
.blog-article__body {
  color: #212d47;
  font-size: 15px;
  line-height: 1.9;
}
.blog-article__body p { margin: 0 0 1.4em; }
.blog-article__body h2 { margin: 1.6em 0 0.7em; font-size: 1.3em; }
.blog-article__body h3 { margin: 1.4em 0 0.6em; font-size: 1.1em; }
.blog-article__body blockquote {
  margin: 1.4em 0;
  padding: 0.2em 1.2em;
  border-left: 3px solid var(--pink-strong);
  color: #5c6780;
}
.blog-article__body img { max-width: 100%; border-radius: 10px; margin: 1.2em 0; }
.blog-article__body a { color: var(--pink-strong); text-decoration: underline; }
.blog-article__notfound {
  max-width: 480px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
  color: #212d47;
}

/* ai-bag: きらめき演出 OFF（機能・信頼訴求の世界観に不整合のため。SKILL.md 定石） */
.fx-layer { display: none !important; }

/* ai-bag: consult のお供が SP で FAQ に被るため縮小（pitfall 26、barbie 実証 0.75x） */
@media (max-width: 899px) {
  .char-character { width: clamp(72px, 19.5vw, 98px); }
}
