/* =========================================================
   AIビタミン 研修サイト v3（2026-10-20）
   研修サイトのページはこのファイルだけを読み込む。
   LP（clinic-portal.html）は css/style.css のまま。ここでは触らない。
   仕様: design/SPEC-site-v3.md ／ 色・トーン: DESIGN.md v2
   並び: 1 変数 → 2 リセット → 3 文字 → 4 枠組み → 5 部品 → 6 ヘッダー → 7 フッター
        → 8 トップ①〜⑧ ＋ 共通部品（⑥⑦⑨⑩⑪・料金表・要約カード） → 9 動き → 10 下層の受け皿（既存クラスの互換）
   ========================================================= */

/* ---------- 1 変数 ---------- */
:root {
  --ink: #1A1A2E;
  --text: #3A3A4A;
  --sub: #6B6B78;
  --or: #FF9900;
  --or-t: #B35900;
  --y: #FFB700;
  --mk: #FFE08A;
  --co: #FF6B6B;
  --apr: #FFF5E8;
  --line: #F0E2C9;
  --white: #fff;
  --grad: linear-gradient(135deg, #FFB700 0%, #FF9900 52%, #FF6B6B 100%);
  --wash: rgba(255, 255, 255, .18);
  --shadow: 0 14px 32px rgba(90, 50, 10, .12);
  --shadow-deep: 0 24px 56px rgba(90, 50, 10, .24);
  --ff: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --ff-en: "Montserrat", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --wrap: 1200px;
  --gap: 32px;
  --sec: 128px;
  --head-gap: 56px;
  --hd: 96px;
  --hd-s: 72px;
}
@media (max-width: 767px) {
  :root { --sec: 80px; --head-gap: 36px; --gap: 20px; --hd: 64px; --hd-s: 60px; }
}

/* ---------- 2 リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-s) + 16px); }
body {
  margin: 0; font-family: var(--ff); font-weight: 500; font-size: 16px; line-height: 1.9;
  color: var(--text); background: var(--white); overflow-x: clip;
  font-feature-settings: "palt" 0; -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 767px) { body { font-size: 15px; } }

/* ---------- 3 文字の段階 ---------- */
.t-h1 { font-size: 56px; font-weight: 900; line-height: 1.32; color: var(--ink); letter-spacing: .01em; }
.t-h2 { font-size: 40px; font-weight: 900; line-height: 1.4; color: var(--ink); }
.t-h3 { font-size: 24px; font-weight: 800; line-height: 1.5; color: var(--ink); }
.t-lead { font-size: 18px; font-weight: 500; line-height: 1.9; color: var(--text); max-width: 760px; }
.t-quote { font-size: 28px; font-weight: 800; line-height: 1.6; color: var(--ink); }
.t-num { font-family: var(--ff-en); font-weight: 800; color: var(--ink); line-height: 1.1; }
.t-en {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-en); font-weight: 800;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); line-height: 1.4;
}
.t-en::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or); flex: none; }
@media (max-width: 767px) {
  .t-h1 { font-size: 28px; }
  .t-h2 { font-size: 26px; }
  .t-h3 { font-size: 20px; }
  .t-lead { font-size: 16px; }
  .t-quote { font-size: 21px; }
}

/* ---------- 4 枠組み（内寸1200・12列） ---------- */
.v3-wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.c-4 { grid-column: span 4; } .c-5 { grid-column: span 5; } .c-6 { grid-column: span 6; }
.c-7 { grid-column: span 7; } .c-8 { grid-column: span 8; } .c-12 { grid-column: 1 / -1; }
@media (max-width: 1023px) {
  .g12 { grid-template-columns: minmax(0, 1fr); }
  .g12 > * { grid-column: 1 / -1; }
}
.sec { padding: var(--sec) 0; position: relative; }
.sec--apr { background: var(--apr); }
.sec--white { background: var(--white); }
.sec--rule { border-top: 1px solid var(--line); }
.v3-head { margin-bottom: var(--head-gap); display: grid; gap: 16px; justify-items: start; }
.v3-head .t-lead { margin-top: 4px; }

/* ---------- 5 部品 ---------- */
/* ボタン */
.v3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 60px;
  padding: 0 32px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1.3; text-decoration: none;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background-color .24s var(--ease);
}
.v3-btn svg { width: 22px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.v3-btn--navy { background: var(--ink); color: var(--white); }
.v3-btn--line { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.v3-btn--line.on-grad { box-shadow: inset 0 0 0 2px var(--white); }
.v3-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.v3-btn--line:hover { box-shadow: inset 0 0 0 2px var(--ink), var(--shadow); }
.v3-btn--line.on-grad:hover { box-shadow: inset 0 0 0 2px var(--white), var(--shadow); }
.v3-btn--sm { min-height: 48px; padding: 0 22px; font-size: 15px; }
/* 文字のリンク（→） */
.v3-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink);
  text-decoration: none; border-bottom: 2px solid var(--or); padding-bottom: 2px;
}
.v3-link svg { width: 20px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .24s var(--ease); }
.v3-link:hover svg { transform: translateX(4px); }
/* チップ */
.v3-chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 800; line-height: 1.4; color: var(--ink); background: var(--wash);
}
.v3-chip--line { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
/* タグ */
.v3-tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: 4px;
  font-size: 13px; font-weight: 800; color: var(--ink); background: var(--apr); line-height: 1.5;
}

/* ---------- 6 ヘッダー（白・不透明） ---------- */
.v3-header {
  position: sticky; top: 0; z-index: 100; background: var(--white);
  border-bottom: 1px solid transparent; transition: border-color .24s var(--ease);
}
.v3-header.is-scrolled { border-bottom-color: var(--line); }
.v3-header-in {
  max-width: 1440px; margin: 0 auto; padding: 0 32px; height: var(--hd); display: flex; align-items: center; gap: 24px;
  transition: height .28s var(--ease);
}
.v3-header.is-scrolled .v3-header-in { height: var(--hd-s); }
.v3-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; margin-right: auto; }
.v3-brand img { width: 150px; height: auto; }
.v3-brand span { font-size: 13px; font-weight: 800; color: var(--ink); padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.4; white-space: nowrap; }
.v3-gnav { display: flex; align-items: center; gap: 4px; }
.v3-gnav > a, .v3-dd-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; font-size: 15px; font-weight: 800;
  color: var(--ink); text-decoration: none; border-radius: 8px; white-space: nowrap;
}
.v3-gnav > a:hover, .v3-dd-btn:hover, .v3-dd.is-open .v3-dd-btn { background: var(--apr); }
.v3-dd { position: relative; }
.v3-dd-btn::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid var(--or); border-bottom: 2px solid var(--or);
  transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease);
}
.v3-dd.is-open .v3-dd-btn::after { transform: translateY(1px) rotate(-135deg); }
.v3-dd-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; padding: 10px; background: var(--white);
  border: 1px solid var(--line); border-top: 4px solid var(--or); border-radius: 0 0 12px 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.v3-dd.is-open .v3-dd-panel { opacity: 1; visibility: visible; transform: none; }
.v3-dd-panel a { display: block; padding: 10px 14px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; border-radius: 6px; line-height: 1.5; }
.v3-dd-panel a:hover { background: var(--apr); }
.v3-tel { display: grid; text-decoration: none; color: var(--ink); line-height: 1.2; flex: none; }
.v3-tel small { font-size: 11px; font-weight: 700; color: var(--sub); }
.v3-tel b { font-family: var(--ff-en); font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.v3-header-cta { min-height: 52px; padding: 0 26px; font-size: 15px; flex: none; }
.v3-menu { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); position: relative; flex: none; }
.v3-menu i { position: absolute; left: 15px; width: 18px; height: 2px; background: var(--white); transition: transform .24s var(--ease), opacity .2s; }
.v3-menu i:nth-child(1) { top: 18px; } .v3-menu i:nth-child(2) { top: 23px; } .v3-menu i:nth-child(3) { top: 28px; }
.v3-menu[aria-expanded="true"] i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.v3-menu[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.v3-menu[aria-expanded="true"] i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.v3-spnav {
  display: none; position: fixed; inset: var(--hd-s) 0 0 0; z-index: 99; background: var(--white); overflow-y: auto;
  padding: 16px 24px 48px; border-top: 1px solid var(--line);
}
.v3-spnav.is-open { display: block; }
.v3-spnav p { margin: 20px 0 6px; }
.v3-spnav a { display: flex; align-items: center; min-height: 52px; font-size: 16px; font-weight: 800; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.v3-spnav .v3-btn { margin-top: 24px; width: 100%; border: 0; color: var(--white); }
.v3-spnav .v3-spnav-tel { justify-content: center; border: 0; font-family: var(--ff-en); font-size: 22px; }
body.is-menu-open { overflow: hidden; }
@media (max-width: 1279px) {
  .v3-brand span { display: none; }
  .v3-gnav > a, .v3-dd-btn { padding: 0 9px; font-size: 14px; }
  .v3-tel { display: none; }
}
@media (max-width: 1023px) {
  .v3-gnav, .v3-tel, .v3-header-cta { display: none; }
  .v3-menu { display: block; }
  .v3-header-in { padding: 0 20px; height: var(--hd-s); }
  .v3-brand img { width: 132px; }
  .v3-spnav { inset: var(--hd-s) 0 0 0; }
}
/* スマホの下に固定する「お問い合わせ」 */
.v3-spbar { display: none; }
@media (max-width: 767px) {
  .v3-spbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line); transition: transform .28s var(--ease);
  }
  .v3-spbar .v3-btn { width: 100%; min-height: 52px; }
  .v3-spbar.is-hidden { transform: translateY(110%); }
  body.has-spbar { padding-bottom: 76px; }
}

/* ---------- 7 フッター ---------- */
.v3-ribbon { border-top: 1px solid var(--line); background: var(--white); }
.v3-ribbon a {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; min-height: 64px; padding: 12px 24px;
  text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 700; text-align: left;
}
.v3-ribbon b { font-weight: 800; padding: 2px 10px; border-radius: 4px; background: var(--apr); }
.v3-ribbon svg { width: 20px; height: 10px; fill: none; stroke: var(--or-t); stroke-width: 2; transition: transform .24s var(--ease); }
.v3-ribbon a:hover svg { transform: translateX(4px); }
.v3-footer { background: var(--ink); color: rgba(255, 255, 255, .86); padding: 80px 0 40px; font-size: 14px; line-height: 1.8; }
.v3-footer a { color: var(--white); text-decoration: none; }
.v3-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.v3-footer-top { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.v3-footer-brand img { width: 170px; filter: brightness(0) invert(1); }
.v3-footer-brand p { margin-top: 14px; font-weight: 800; color: var(--white); }
.v3-footer-brand address { margin-top: 12px; font-style: normal; }
.v3-footer-tel { display: inline-block; margin-top: 16px; font-family: var(--ff-en); font-weight: 800; font-size: 24px; }
.v3-footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.v3-footer-cols p { font-family: var(--ff-en); font-weight: 800; font-size: 12px; letter-spacing: .2em; color: var(--y); margin-bottom: 12px; }
.v3-footer-cols li + li { margin-top: 6px; }
.v3-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 12px; color: rgba(255, 255, 255, .7); }
@media (max-width: 767px) {
  .v3-footer { padding: 56px 0 32px; }
  .v3-footer-top { grid-template-columns: 1fr; gap: 36px; }
  .v3-footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .v3-footer-cols > div:last-child { grid-column: 1 / -1; }
}

/* ---------- 8 トップ ---------- */
/* ① 1画面目 */
.kv3 { position: relative; overflow: hidden; background: var(--grad); } /* lp-kv-bg.webp はアーチの図形が焼き込まれているので使わない（仕様: アーチを消す） */
.kv3::after { /* 下端の浅い円弧 */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 72px; background: var(--white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 3;
}
.kv3-in {
  position: relative; z-index: 2; min-height: 760px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); grid-template-areas: "a a a a a a a v v v v v" "b b b b b b b v v v v v";
  grid-template-rows: auto 1fr; padding-top: 88px; padding-bottom: 120px;
}
.kv3-a { grid-area: a; display: grid; gap: 18px; justify-items: start; align-self: end; }
.kv3-b { grid-area: b; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 24px; }
.kv3-kicker { font-size: 18px; font-weight: 800; color: var(--ink); }
.kv3 .t-h1 { color: var(--ink); }
.kv3-sub { font-size: 18px; line-height: 1.9; color: rgba(26, 26, 46, .9); max-width: 600px; }
.kv3-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.kv3-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.kv3-v { grid-area: v; position: relative; align-self: stretch; min-height: 560px; }
.kv3-big {
  position: absolute; right: -6%; top: 40px; z-index: 0; margin: 0; font-family: var(--ff-en); font-weight: 800;
  font-size: 104px; line-height: .95; letter-spacing: -.01em; color: var(--wash); text-align: right; pointer-events: none;
}
.kv3-capsule {
  position: absolute; z-index: 1; left: 12%; right: 4%; top: 36px; bottom: -120px; border-radius: 999px 999px 0 0; background: var(--wash);
}
.kv3-fig { position: absolute; z-index: 2; inset: 0 -4% -120px 0; display: flex; align-items: flex-end; justify-content: center; }
.kv3-fig img { width: auto; height: 680px; max-width: none; }
.kv3-name {
  position: absolute; z-index: 4; right: 0; bottom: 8px; display: grid; padding: 10px 16px; border-radius: 10px;
  background: var(--white); color: var(--ink); font-size: 14px; font-weight: 800; line-height: 1.4; box-shadow: var(--shadow);
}
.kv3-name b { font-family: var(--ff-en); font-size: 11px; letter-spacing: .2em; color: var(--or-t); }
.kv3-video {
  position: absolute; z-index: 5; left: -96px; bottom: 40px; width: 300px; display: block; text-decoration: none; color: var(--ink);
  background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-deep);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.kv3-video:hover { transform: translateY(-4px); }
.kv3-video-th { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.kv3-video-th img { width: 100%; height: 100%; object-fit: cover; }
.kv3-play {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: var(--white); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); display: grid; place-items: center;
}
.kv3-play::before { content: ""; margin-left: 4px; border-left: 16px solid var(--ink); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.kv3-video-cap { display: grid; gap: 2px; padding: 12px 16px 14px; line-height: 1.5; }
.kv3-video-cap small { font-size: 12px; font-weight: 700; color: var(--sub); }
.kv3-video-cap span { font-size: 15px; font-weight: 800; }
.kv3-video-cap em { white-space: nowrap; font-style: normal; font-family: var(--ff-en); font-weight: 800; color: var(--or-t); margin-left: 6px; }
@media (max-width: 1279px) {
  .kv3-video { left: -40px; }
  .kv3-big { font-size: 84px; }
}
@media (max-width: 1023px) {
  .kv3-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "v" "b"; grid-template-rows: auto; min-height: 0; padding-top: 40px; padding-bottom: 88px; }
  .kv3-a { align-self: start; gap: 12px; }
  .kv3-b { gap: 20px; padding-top: 24px; }
  .kv3-btns { order: 1; width: 100%; }
  .kv3-btns .v3-btn--navy { flex: 1 1 100%; }
  .kv3-btns .v3-btn--line { display: none; }
  .kv3-sub { order: 2; font-size: 16px; }
  .kv3-chips { order: 3; }
  .kv3-v { min-height: 0; margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; align-items: end; }
  .kv3-big, .kv3-capsule, .kv3-name { display: none; }
  .kv3-fig {
    position: relative; inset: auto; height: 230px; border-radius: 999px 999px 24px 24px; background: var(--wash); overflow: hidden; align-items: flex-start;
  }
  .kv3-fig img { height: auto; width: 190%; max-width: none; margin-top: 6px; transform: translateX(-2%); }
  .kv3-video { position: relative; left: auto; bottom: auto; width: auto; }
  .kv3-video-cap { padding: 10px 12px 12px; }
  .kv3-video-cap span { font-size: 13px; }
  .kv3-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .kv3-play::before { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; }
  .kv3::after { height: 36px; }
  .kv3-kicker { font-size: 15px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .kv3-fig { height: 360px; }
  .kv3-fig img { width: 120%; }
}

/* ② 信頼の帯 */
.trust { padding: 40px 0 72px; background: var(--white); }
.trust-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { padding: 8px 28px; border-left: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item dt { order: 2; font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.6; }
.trust-item dd { order: 1; font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1.2; }
.trust-item dd b { font-family: var(--ff-en); font-weight: 800; font-size: 44px; margin: 0 2px; }
.trust-foot { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.trust-foot p { font-size: 15px; color: var(--text); }
.trust-rib {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 0; font-size: 14px; font-weight: 800; color: var(--ink); text-decoration: none;
}
.trust-rib b { padding: 2px 10px; border-radius: 4px; background: var(--apr); color: var(--or-t); font-weight: 800; }
.trust-rib svg { width: 20px; height: 10px; fill: none; stroke: var(--or-t); stroke-width: 2; transition: transform .24s var(--ease); }
.trust-rib:hover svg { transform: translateX(4px); }
@media (max-width: 1023px) {
  .trust { padding: 24px 0 56px; }
  .trust-list { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .trust-item { padding: 4px 16px; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item dd b { font-size: 34px; }
  .trust-item dt { font-size: 13px; }
  .trust-foot { margin-top: 28px; }
}

/* ③ こんなこと、ありませんか */
.pain3-fig { display: flex; align-items: flex-end; justify-content: center; }
.pain3-fig img { width: auto; max-height: 560px; }
.pain3-list { border-top: 1px solid var(--line); }
.pain3-list li {
  display: flex; align-items: center; gap: 20px; min-height: 72px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.6;
}
.pain3-check { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--or); display: grid; place-items: center; background: var(--white); }
.pain3-check svg { width: 14px; height: 14px; fill: none; stroke: var(--or-t); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pain3-foot { margin-top: 36px; display: grid; gap: 18px; justify-items: start; }
.pain3-foot p { max-width: 760px; }
@media (max-width: 1023px) {
  .pain3 .g12 { display: flex; flex-direction: column-reverse; }
  .pain3-fig { justify-content: flex-end; margin-top: -24px; }
  .pain3-fig img { max-height: 300px; }
  .pain3-list li { font-size: 16px; gap: 14px; min-height: 64px; }
  .pain3-check { width: 28px; height: 28px; }
}

/* ④ 研修の選び方（比較表） */
.cmp-tabs { display: none; }
.cmp {
  display: grid; grid-template-columns: 160px repeat(3, minmax(0, 1fr)); column-gap: 20px;
  grid-template-rows: repeat(6, auto);
}
.cmp-col { display: grid; grid-row: 1 / span 6; grid-template-rows: subgrid; }
.cmp-col > div { padding: 18px 24px; border-bottom: 1px solid var(--line); }
.cmp-labels > div { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 800; color: var(--ink); display: flex; align-items: flex-start; }
.cmp-labels > div:first-child { border-bottom: 0; }
.cmp-col:not(.cmp-labels) { background: var(--white); border-top: 4px solid var(--or); box-shadow: inset 0 0 0 1px var(--line); border-radius: 0 0 12px 12px; }
.cmp-col > .cmp-top { display: grid; justify-items: start; gap: 8px; padding-top: 24px; }
.cmp-top img { width: 72px; height: 72px; }
.cmp-top h3 { font-size: 24px; font-weight: 900; color: var(--ink); line-height: 1.4; }
.cmp-col dt { display: none; }
.cmp-col dd, .cmp-col p { font-size: 15px; line-height: 1.8; }
.cmp-price b { font-family: var(--ff-en); font-weight: 800; font-size: 24px; color: var(--ink); }
.cmp-col > .cmp-more { border-bottom: 0; }
.cmp-labels .cmp-more { visibility: hidden; }
@media (max-width: 1023px) {
  .cmp-tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; }
  .cmp-tabs button {
    flex: 1 0 auto; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 800; color: var(--ink);
    background: var(--apr); white-space: nowrap;
  }
  .cmp-tabs button.is-on { background: var(--ink); color: var(--white); }
  .cmp {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -24px; padding: 0 24px 8px; scroll-padding: 0 24px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .cmp::-webkit-scrollbar { display: none; }
  .cmp-labels { display: none; }
  .cmp-col { display: block; flex: 0 0 86%; scroll-snap-align: start; }
  .cmp-col > div { padding: 14px 20px; }
  .cmp-col dt { display: block; font-size: 13px; font-weight: 800; color: var(--or-t); margin-bottom: 2px; }
}
/* クリニック帯 */
.clinic3 {
  margin-top: 56px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: center;
  padding: 40px 48px; border-radius: 24px; background: var(--apr); text-decoration: none; color: inherit;
}
.clinic3-fig { position: relative; }
.clinic3-fig img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.clinic3-fig figcaption { margin-top: 14px; font-size: 13px; color: var(--sub); line-height: 1.6; }
.clinic3-body { display: grid; gap: 14px; justify-items: start; }
.clinic3-body h3 { font-size: 30px; font-weight: 900; color: var(--ink); line-height: 1.4; }
.clinic3-body p { max-width: 640px; font-size: 16px; }
@media (max-width: 767px) {
  .clinic3 { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px; margin-top: 40px; }
  .clinic3-fig { max-width: 220px; }
  .clinic3-body h3 { font-size: 23px; }
}

/* ⑤ 受講した医院の声 */
.voice3-video video { width: 100%; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 24px; box-shadow: 0 28px 56px rgba(84, 46, 12, .28); }
.voice3-chs { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.voice3-ch {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 18px 4px 6px; border-radius: 999px;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 800; color: var(--ink);
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.voice3-ch time { font-family: var(--ff-en); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--apr); color: var(--or-t); }
.voice3-ch:hover { box-shadow: inset 0 0 0 1px var(--or); }
.voice3-ch.is-on { background: var(--ink); color: var(--white); box-shadow: none; }
.voice3-ch.is-on time { background: var(--y); color: var(--ink); }
.voice3-side { display: grid; gap: 24px; align-content: start; }
.voice3-quote { position: relative; padding-top: 28px; }
.voice3-quote::before { content: "“"; position: absolute; top: -18px; left: -4px; font-family: var(--ff-en); font-weight: 800; font-size: 80px; line-height: 1; color: var(--or); }
.voice3-who { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; align-items: end; }
.voice3-who img { width: 160px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.voice3-who p { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.7; }
.voice3-who p b { display: block; font-size: 20px; font-weight: 900; }
.voice3-staff { margin-top: 72px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--gap); align-items: start; }
.voice3-card { padding: 28px; border-top: 4px solid var(--or); background: var(--apr); border-radius: 0 0 16px 16px; display: grid; gap: 12px; }
.voice3-card--poster { grid-template-columns: 132px minmax(0, 1fr); column-gap: 24px; align-items: start; }
.voice3-card--poster img { grid-row: 1 / span 3; width: 132px; border-radius: 6px; box-shadow: var(--shadow); }
.voice3-card small { font-size: 13px; font-weight: 800; color: var(--or-t); }
.voice3-card h3 { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.voice3-card blockquote { font-size: 17px; font-weight: 700; line-height: 1.8; color: var(--ink); }
.voice3-note { margin-top: 28px; font-size: 14px; color: var(--sub); }
@media (max-width: 1023px) {
  .voice3-staff { grid-template-columns: 1fr; margin-top: 48px; gap: 16px; }
  .voice3-video video { border-radius: 16px; }
  .voice3-who { grid-template-columns: 112px minmax(0, 1fr); }
  .voice3-who img { width: 112px; }
}
@media (max-width: 767px) {
  .voice3-ch { font-size: 13px; padding-right: 14px; }
  .voice3-card { padding: 22px 20px; }
  .voice3-card--poster { grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; }
  .voice3-card--poster img { width: 96px; }
}

/* ⑥ バイブコーディング研修（目次は共通部品 .v3-toc・帯は .v3-facts） */
.vibe3 { align-items: start; }
.vibe3-body .v3-head { margin-bottom: 32px; }
.vibe3-sub { font-size: 20px; font-weight: 800; color: var(--ink); }
.vibe3-label { font-size: 14px; font-weight: 800; color: var(--or-t); margin-bottom: 10px; }
.vibe-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vibe-tags li { padding: 4px 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 800; color: var(--ink); }
.vibe3-note { margin-top: 12px; font-size: 14px; color: var(--sub); }
.vibe3-text { margin-top: 28px; max-width: 760px; display: grid; gap: 14px; }
@media (max-width: 1023px) {
  .vibe3-body { order: -1; }
  .vibe3-sub { font-size: 18px; }
}

/* ⑧ 4つの特徴（4行のリスト） */
.v3-feat { border-top: 1px solid var(--ink); }
.v3-feat > li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.v3-feat-no { font-family: var(--ff-en); font-weight: 800; font-size: 48px; line-height: 1; color: var(--or-t); }
.v3-feat h3 { font-size: 22px; font-weight: 800; line-height: 1.5; color: var(--ink); margin-bottom: 10px; }
.v3-feat p { font-size: 16px; max-width: 640px; }
.v3-feat .v3-link { margin-left: 4px; }
@media (max-width: 767px) {
  .v3-feat > li { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .v3-feat-no { font-size: 32px; }
  .v3-feat h3 { font-size: 19px; }
  .v3-feat p { font-size: 15px; }
}

/* =========================================================
   共通部品（トップ⑥⑦⑨⑩⑪と下層で使う。使い方は design/v3-parts.md）
   .v3-sticky .v3-note .v3-toc .v3-facts .v3-stairs .v3-timeline
   .v3-faq .v3-cta .v3-price .v3-summary
   ========================================================= */
/* 左の列を止める（PCだけ） */
@media (min-width: 1024px) { .v3-sticky { position: sticky; top: calc(var(--hd-s) + 32px); } }
/* 注記 */
.v3-note { margin-top: 24px; font-size: 14px; line-height: 1.8; color: var(--sub); max-width: 760px; }

/* 目次（カリキュラム） */
.v3-toc { background: var(--white); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 28px 32px 32px; }
.v3-toc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font-size: 14px; font-weight: 800; color: var(--ink); }
.v3-toc-head span:last-child { color: var(--or-t); }
.v3-toc-list > li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 56px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.v3-toc-no { font-family: var(--ff-en); font-weight: 800; font-size: 14px; color: var(--or-t); letter-spacing: .06em; }
.v3-toc-title { font-size: 16px; font-weight: 800; line-height: 1.5; color: var(--ink); }
.v3-toc-time { font-family: var(--ff-en); font-weight: 700; font-size: 15px; color: var(--ink); text-align: right; white-space: nowrap; }
.v3-toc-more { margin-top: 24px; }
/* 開く目次（curriculum 用）: li の中に <details class="v3-toc-detail"><summary>…</summary>…</details> */
.v3-toc-detail { grid-column: 1 / -1; }
.v3-toc-detail summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.v3-toc-detail summary::-webkit-details-marker { display: none; }
.v3-toc-detail[open] { background: var(--apr); margin: -12px -16px; padding: 12px 16px; border-radius: 8px; }
.v3-toc-detail > div { padding: 12px 0 4px 50px; font-size: 15px; }
@media (max-width: 767px) {
  .v3-toc { padding: 20px 18px 24px; }
  .v3-toc-list > li, .v3-toc-detail summary { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; }
  .v3-toc-title { font-size: 15px; }
  .v3-toc-time { font-size: 13px; }
  .v3-toc-detail > div { padding-left: 38px; }
}

/* 数字の帯（白の4分割） */
.v3-facts { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); border-top: 4px solid var(--or); }
.v3-facts > div { padding: 28px 28px 30px; display: grid; gap: 6px; align-content: start; }
.v3-facts > div + div { border-left: 1px solid var(--line); }
.v3-facts dt { font-size: 13px; font-weight: 800; color: var(--sub); }
.v3-facts dd { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.v3-facts em { font-style: normal; font-family: var(--ff-en); font-weight: 800; font-size: 36px; color: var(--ink); margin: 0 2px; }
.v3-facts-price em { font-size: 48px; }
.v3-facts small { display: block; font-size: 13px; font-weight: 700; margin-top: 4px; }
.v3-facts dd.v3-facts-sub { font-size: 13px; font-weight: 500; color: var(--sub); }
@media (max-width: 1023px) {
  .v3-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .v3-facts > div { padding: 20px 18px; }
  .v3-facts > div + div { border-left: 0; }
  .v3-facts > div:nth-child(2n) { border-left: 1px solid var(--line); }
  .v3-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .v3-facts em { font-size: 26px; margin: 0 1px; }
  .v3-facts dd { font-size: 15px; }
  .v3-facts-price { grid-column: 1 / -1; border-left: 0 !important; }
  .v3-facts-price em { font-size: 36px; }
}

/* 研修のあとの階段（右上がり。下層では .v3-stairs--sm と .is-current） */
.v3-stairs { display: grid; grid-template-columns: .55fr repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; border-bottom: 2px solid var(--ink); }
.v3-stair { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 28px 32px; background: var(--apr); border-top: 4px solid var(--or); border-radius: 12px 12px 0 0; }
.v3-stair:nth-child(2) { min-height: 500px; }
.v3-stair:nth-child(3) { min-height: 556px; }
.v3-stair:nth-child(4) { min-height: 612px; }
.v3-stair--base { min-height: 160px; justify-content: flex-end; background: rgba(255, 245, 232, .6); border-top-color: var(--line); padding: 20px; }
.v3-stair-en { font-family: var(--ff-en); font-weight: 800; font-size: 12px; letter-spacing: .2em; color: var(--sub); }
.v3-stair-basename { font-size: 22px; font-weight: 900; color: var(--sub); line-height: 1.3; }
.v3-stair-ico { width: 88px; height: 88px; }
.v3-stair .v3-tag { background: var(--white); }
.v3-stair-name { font-size: 28px; font-weight: 900; line-height: 1.35; color: var(--ink); }
.v3-stair-name small { display: block; font-size: 13px; font-weight: 700; color: var(--sub); margin-top: 4px; }
.v3-stair-body { font-size: 15px; line-height: 1.85; }
.v3-stair-price { margin-top: auto; padding-top: 8px; font-size: 24px; font-weight: 900; color: var(--ink); line-height: 1.4; }
.v3-stair-price small { display: block; font-size: 13px; font-weight: 700; color: var(--sub); }
.v3-stair .v3-link::after { content: ""; position: absolute; inset: 0; }
.v3-stair:not(.v3-stair--base) { transition: transform .24s var(--ease), box-shadow .24s var(--ease); }
.v3-stairs .v3-stair:not(.v3-stair--base):hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.v3-stairs--sm .v3-stair { padding: 18px 20px; gap: 6px; }
.v3-stairs--sm .v3-stair:nth-child(2) { min-height: 150px; }
.v3-stairs--sm .v3-stair:nth-child(3) { min-height: 190px; }
.v3-stairs--sm .v3-stair:nth-child(4) { min-height: 230px; }
.v3-stairs--sm .v3-stair--base { min-height: 100px; }
.v3-stairs--sm .v3-stair-ico { width: 56px; height: 56px; }
.v3-stairs--sm .v3-stair-name { font-size: 20px; }
.v3-stairs--sm .v3-stair-body, .v3-stairs--sm .v3-tag { display: none; }
.v3-stairs--sm .v3-stair-price { font-size: 16px; }
.v3-stair.is-current { background: var(--white); box-shadow: inset 0 0 0 2px var(--ink); border-top-color: var(--ink); }
@media (max-width: 1023px) {
  .v3-stairs { grid-template-columns: minmax(0, 1fr); gap: 12px; border-bottom: 0; }
  .v3-stair, .v3-stairs--sm .v3-stair { min-height: 0 !important; border-radius: 12px; padding: 24px 20px; }
  .v3-stair--base { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 12px; padding: 14px 20px; }
  .v3-stair-basename { font-size: 18px; }
  .v3-stair:nth-child(3) { margin-left: 12px; } .v3-stair:nth-child(4) { margin-left: 24px; }
  .v3-stair-ico { width: 64px; height: 64px; }
  .v3-stair-name { font-size: 23px; }
  .v3-stair-price { font-size: 20px; }
}

/* 流れ（横の細い時間軸。SPは縦） */
.v3-timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.v3-timeline > li { position: relative; padding: 32px 32px 0 0; border-top: 1px solid var(--ink); display: grid; gap: 8px; align-content: start; }
.v3-timeline > li::before { content: ""; position: absolute; top: -6.5px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--y); }
.v3-timeline-no { font-family: var(--ff-en); font-weight: 800; font-size: 14px; letter-spacing: .1em; color: var(--or-t); }
.v3-timeline h3 { font-size: 20px; font-weight: 800; line-height: 1.5; color: var(--ink); }
.v3-timeline p { font-size: 15px; }
@media (max-width: 767px) {
  .v3-timeline { grid-template-columns: minmax(0, 1fr); }
  .v3-timeline > li { border-top: 0; border-left: 1px solid var(--ink); padding: 0 0 32px 28px; }
  .v3-timeline > li:last-child { border-left-color: transparent; padding-bottom: 0; }
  .v3-timeline > li::before { top: 4px; left: -6.5px; }
}

/* よくある質問（中身は .faq-item / .faq-q / .faq-a。開閉は site-v3.js） */
.v3-faq { background: var(--white); border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.v3-faq .faq-item { border-bottom: 1px solid var(--line); transition: background-color .2s var(--ease); }
.v3-faq .faq-item:last-child { border-bottom: 0; }
.v3-faq .faq-q { min-height: 76px; padding: 20px 28px; gap: 18px; font-size: 17px; }
.v3-faq .faq-mark { font-size: 22px; color: var(--or-t); }
.v3-faq .faq-item[data-open="true"] { background: var(--apr); }
.v3-faq .faq-a-inner { padding: 0 28px 26px 68px; }
.v3-faq-side .v3-head { margin-bottom: 24px; }
.v3-faq-fig { width: auto; max-height: 360px; margin: 0 0 16px; }
.v3-faq-more { font-size: 15px; font-weight: 700; color: var(--ink); }
.v3-faq-more a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--or); margin: 0 2px; }
@media (max-width: 1023px) {
  .v3-faq-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 16px; }
  .v3-faq-side .v3-head { margin-bottom: 8px; }
  .v3-faq-fig { grid-row: 1 / span 2; grid-column: 2; max-height: 180px; margin: 0; }
  .v3-faq-more { grid-column: 1; }
}
@media (max-width: 767px) {
  .v3-faq .faq-q { padding: 16px 18px; gap: 12px; font-size: 16px; }
  .v3-faq .faq-a-inner { padding: 0 18px 22px 18px; }
}

/* 最後のCTA帯（グラデ・全ページ共通） */
.v3-cta { position: relative; overflow: hidden; background: var(--grad); }
.v3-cta > .g12 { align-items: end; }
.v3-cta-body { padding: var(--sec) 0; display: grid; gap: 20px; justify-items: start; }
.v3-cta-body .t-h2 { margin-top: -4px; }
.v3-cta-lead { font-size: 18px; color: var(--ink); max-width: 600px; margin-bottom: 8px; }
.v3-cta-tel { display: grid; gap: 2px; margin-top: 8px; text-decoration: none; color: var(--ink); }
.v3-cta-tel small { font-size: 13px; font-weight: 800; }
.v3-cta-tel b { font-family: var(--ff-en); font-weight: 800; font-size: 40px; line-height: 1.2; letter-spacing: .02em; }
.v3-cta-fig { align-self: end; display: flex; justify-content: center; padding-top: 48px; }
.v3-cta-fig img { width: auto; max-height: 540px; }
@media (max-width: 1023px) {
  .v3-cta-body { padding: var(--sec) 0 8px; }
  .v3-cta-fig { padding-top: 0; justify-content: flex-end; }
  .v3-cta-fig img { max-height: 300px; }
}
@media (max-width: 767px) {
  .v3-cta-lead { font-size: 16px; }
  .v3-cta-tel b { font-size: 30px; }
}

/* 料金表（白地・上線オレンジ4px・行罫線） */
.v3-price { background: var(--white); border-top: 4px solid var(--or); max-width: 960px; }
.v3-price > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.v3-price dt { font-size: 14px; font-weight: 800; color: var(--ink); }
.v3-price dd { margin: 0; font-size: 18px; font-weight: 500; color: var(--text); }
.v3-price-num { font-family: var(--ff-en); font-weight: 800; font-size: 28px; color: var(--ink); margin-right: 4px; }
@media (max-width: 767px) {
  .v3-price > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 18px; }
  .v3-price dd { font-size: 16px; }
}

/* 要約カード（下層の左4列。.v3-sticky と組み合わせる） */
.v3-summary { background: var(--white); border-top: 4px solid var(--or); border-radius: 0 0 16px 16px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: 24px 24px 28px; }
.v3-summary dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.v3-summary dt { font-size: 13px; font-weight: 800; color: var(--sub); }
.v3-summary dd { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.5; }
.v3-summary-num { font-family: var(--ff-en); font-weight: 800; font-size: 28px; margin-right: 2px; }
.v3-summary .v3-btn { width: 100%; margin-top: 20px; }

/* ---------- 9 スクロールで出る動き（1画面目は動かさない） ---------- */
.js-rv .rv { opacity: 0; transform: translateY(16px); transition: opacity .48s var(--ease), transform .48s var(--ease); transition-delay: var(--d, 0s); }
.js-rv .rv.is-in { opacity: 1; transform: none; }
.lift { transition: transform .24s var(--ease), box-shadow .24s var(--ease); }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js-rv .rv { opacity: 1; transform: none; }
  .v3-btn:hover, .lift:hover, .kv3-video:hover { transform: none; }
}

/* =========================================================
   10 下層の受け皿（第3弾で下層を共通部品に移した。残りは開閉・フォーム・お礼の注意だけ）
   ========================================================= */
main > section:not(.kv3):not(.trust):not(.sec):not(.pg-band):not(.v3-cta) { padding: var(--sec) 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; min-height: 72px; padding: 16px 8px; text-align: left; font-size: 17px; font-weight: 800; color: var(--ink); }
.faq-mark { font-family: var(--ff-en); font-weight: 800; font-size: 20px; color: var(--or-t); flex: none; }
.faq-q-text { flex: 1; }
.faq-plus { position: relative; width: 16px; height: 16px; flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--ink); transition: transform .2s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[data-open="true"] .faq-plus::after { transform: rotate(0); }
.faq-a { display: none; }
.faq-item[data-open="true"] { background: var(--white); }
.faq-item[data-open="true"] .faq-a { display: block; }
.faq-a-inner { padding: 0 24px 24px 44px; max-width: 760px; }
.form-group { display: grid; gap: 8px; margin-bottom: 24px; }
.form-group label { font-weight: 800; color: var(--ink); font-size: 15px; }
.form-required { margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--or); color: var(--ink); font-size: 12px; font-weight: 800; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; min-width: 0; min-height: 52px; padding: 12px 16px; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid #D9C9A8; border-radius: 8px; -webkit-appearance: none; appearance: none;
}
.form-group textarea { min-height: 160px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 3px solid var(--mk); border-color: var(--or); }
.form-check { display: flex; gap: 10px; align-items: flex-start; } .form-check input { width: 20px; height: 20px; min-height: 0; -webkit-appearance: auto; appearance: auto; }
.form-submit { margin-top: 16px; }
.form-result { display: none; padding: 16px 20px; margin-bottom: 24px; background: var(--apr); border-left: 4px solid var(--or); font-weight: 700; }
.form-result.is-shown { display: block; }
.hp { position: absolute; left: -9999px; }
.thanks-warn { padding: 16px 20px; border-left: 4px solid #B72402; background: #FFF1EE; }

/* ---------- 微調整（2026-10-20 撮影で確認） ---------- */
.clinic3 .v3-tag { background: var(--white); }
.trust-rib { flex-wrap: wrap; row-gap: 6px; }
.trust-rib b { white-space: nowrap; }
@media (max-width: 1023px) {
  .cmp-col.cmp-labels { display: none; }
}

/* =========================================================
   下層テンプレート（第3弾 2026-10-20）
   見出し帯 .pg-band ／ 本文 .pg-body（左4列 .v3-summary・右8列 .pg-main）
   共通部品（.v3-feat .v3-price .v3-timeline .v3-faq .v3-stairs--sm .v3-cta）はそのまま使う
   ========================================================= */
/* 見出し帯（グラデ・PC360/SP240） */
.pg-band { position: relative; overflow: hidden; background: var(--grad); }
.pg-band-in { position: relative; z-index: 1; min-height: 360px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); }
.pg-band--text .pg-band-in { grid-template-columns: minmax(0, 1fr); min-height: 300px; }
.pg-band-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 56px 0 76px; }
.pg-band h1 { font-size: 52px; font-weight: 900; line-height: 1.3; color: var(--ink); }
.pg-band-sum { font-size: 18px; font-weight: 700; line-height: 1.8; color: var(--ink); max-width: 640px; }
.pg-crumb { position: absolute; left: 24px; bottom: 22px; right: 24px; }
.pg-crumb ol { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.pg-crumb li + li::before { content: "/"; margin-right: 8px; opacity: .45; }
.pg-crumb a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(26, 26, 46, .4); }
.pg-band-fig { display: flex; justify-content: center; align-items: center; min-width: 0; }
.pg-band-fig > img { width: auto; height: auto; max-width: 100%; max-height: 280px; }
.pg-band-fig--person { align-items: flex-end; padding-top: 28px; }
.pg-band-fig--person > img { max-height: 340px; }
.pg-band-fig--toc { align-items: flex-end; padding-top: 48px; }
.pg-band-fig--toc .v3-toc { width: 100%; max-width: 440px; border-radius: 16px 16px 0 0; padding-bottom: 8px; box-shadow: var(--shadow-deep); }
.pg-band-bg { position: absolute; right: -.04em; bottom: -.2em; z-index: 0; font-family: var(--ff-en); font-weight: 800; font-size: 176px; line-height: 1; letter-spacing: -.01em; color: rgba(255, 255, 255, .18); white-space: nowrap; pointer-events: none; }
@media (max-width: 1023px) {
  .pg-band h1 { font-size: 40px; }
  .pg-band-bg { font-size: 120px; }
}
@media (max-width: 767px) {
  .pg-band-in, .pg-band--text .pg-band-in { grid-template-columns: minmax(0, 1fr); min-height: 240px; }
  .pg-band-text { padding: 36px 0 60px; gap: 10px; }
  .pg-band h1 { font-size: 30px; }
  .pg-band-sum { font-size: 15px; }
  .pg-band-fig { display: none; }
  .pg-band-bg { font-size: 72px; }
  .pg-crumb { bottom: 16px; }
}

/* 本文（白地・2列） */
.pg-body .g12 { align-items: start; }
.pg-main { display: grid; gap: 80px; min-width: 0; }
.pg-main > * { min-width: 0; }
.pg-main--full { grid-column: 1 / -1; }
.pg-intro { display: grid; gap: 16px; justify-items: start; }
.pg-lead { font-size: 20px; font-weight: 700; line-height: 1.9; color: var(--ink); max-width: 760px; }
.pg-catch { font-size: 28px; font-weight: 900; line-height: 1.5; color: var(--ink); max-width: 760px; }
.pg-h { font-size: 30px; font-weight: 900; line-height: 1.45; color: var(--ink); margin-bottom: 24px; }
.pg-h--bar::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 16px; border-radius: 2px; background: var(--grad); }
.pg-kicker { font-size: 14px; font-weight: 800; color: var(--or-t); margin-bottom: 8px; }
.pg-text { display: grid; gap: 12px; }
.pg-text p, .pg-main > p, .pg-block > p { max-width: 760px; font-size: 16px; line-height: 1.95; }
.pg-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 20px; }
.pg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pg-block .v3-price, .pg-block .v3-feat { margin-top: 8px; }
.pg-block .v3-note { margin-top: 16px; }
/* チェックの並び */
.pg-checks { display: grid; border-top: 1px solid var(--ink); max-width: 760px; }
.pg-checks li { position: relative; padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.7; }
.pg-checks li::before { content: ""; position: absolute; left: 4px; top: 1.6em; width: 14px; height: 8px; border-left: 3px solid var(--or-t); border-bottom: 3px solid var(--or-t); transform: rotate(-45deg); }
/* 2つ並び（受け方は2つ） */
.pg-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.pg-pair figure { display: grid; gap: 10px; align-content: start; }
.pg-pair img { border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.pg-pair h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 6px; }
.pg-pair p { font-size: 15px; }
/* 本文の図（院内ポスター） */
.pg-fig { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: center; }
.pg-fig img { width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow); }
.pg-fig figcaption { font-size: 14px; color: var(--sub); margin-top: 10px; }
/* 研修へのリンク行（集合型→クリニック×AI研修） */
.pg-course { display: grid; gap: 10px; padding: 28px 32px; background: var(--apr); border-radius: 16px; text-decoration: none; color: var(--text); border-top: 4px solid var(--or); transition: transform .24s var(--ease), box-shadow .24s var(--ease); }
.pg-course:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pg-course .v3-tag { background: var(--white); }
/* 外部サイトの案内 */
.pg-ext { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.pg-ext p { font-size: 16px; }
/* 会社概要 */
.pg-mvv { display: grid; gap: 10px; padding-bottom: 8px; }
.pg-mvv-text { font-size: 28px; font-weight: 800; line-height: 1.6; color: var(--ink); }
.pg-body .v3-price small { display: block; font-size: 13px; color: var(--sub); }
/* 規約（プライバシー・特商法） */
.pg-policy { max-width: 760px; }
.pg-policy h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.pg-policy p, .pg-policy li { margin-top: 8px; font-size: 16px; line-height: 1.95; }
.pg-policy ul { padding-left: 1.4em; list-style: disc; }
.pg-policy-date { margin-top: 40px !important; color: var(--sub); }
.need-check { color: #B72402; font-weight: 700; }
/* お問い合わせ */
.pg-form { background: var(--white); border-top: 4px solid var(--or); border-radius: 0 0 16px 16px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); padding: 40px; }
.pg-form .v3-btn { min-width: 240px; }
.pg-side { display: grid; gap: 20px; align-content: start; }
.pg-side-tel { display: grid; gap: 2px; text-decoration: none; color: var(--ink); }
.pg-side-tel small { font-size: 13px; font-weight: 800; }
.pg-side-tel b { font-family: var(--ff-en); font-weight: 800; font-size: 34px; line-height: 1.2; }
.pg-side-fig { width: auto; max-height: 360px; margin-top: 8px; }
/* サンクス */
.pg-thanks { display: grid; gap: 16px; max-width: 760px; }
.pg-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
@media (max-width: 1023px) {
  .pg-body aside.c-4 { order: 2; }
  .pg-side-fig { max-height: 220px; }
}
@media (max-width: 767px) {
  .pg-main { gap: 56px; }
  .pg-lead { font-size: 17px; }
  .pg-catch { font-size: 22px; }
  .pg-h { font-size: 23px; margin-bottom: 18px; }
  .pg-checks li { font-size: 16px; padding: 14px 0 14px 32px; }
  .pg-pair, .pg-fig { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pg-fig img { max-width: 320px; }
  .pg-course { padding: 22px 20px; }
  .pg-form { padding: 24px 18px; }
  .pg-mvv-text { font-size: 22px; }
  .pg-side-tel b { font-size: 28px; }
}
/* 下層のFAQは中身の高さで止める／小さな階段は段差が見える高さに */
.pg-faq { align-self: start; }
@media (min-width: 1024px) {
  .v3-stairs--sm .v3-stair:nth-child(2) { min-height: 190px; }
  .v3-stairs--sm .v3-stair:nth-child(3) { min-height: 240px; }
  .v3-stairs--sm .v3-stair:nth-child(4) { min-height: 290px; }
}
.pg-form select { padding-right: 44px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231A1A2E' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px; }
.pg-toc-items li { list-style: disc; }

/* 研修メニューの見出しと中身（2026-10-21 受け方3つ＋コース） */
.v3-dd-panel a.dd4-h { font-weight: 900; }
.v3-dd-panel a.dd4-h + a.dd4-h, .v3-dd-panel a.dd4-sub + a.dd4-h { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 6px 6px; padding-top: 12px; }
.v3-dd-panel a.dd4-sub { padding: 6px 14px 6px 30px; font-size: 14px; position: relative; }
.v3-dd-panel a.dd4-sub::before { content: ""; position: absolute; left: 16px; top: 50%; width: 6px; height: 2px; background: var(--or); }
.v3-spnav a.dd4-sub { min-height: 44px; padding-left: 18px; font-size: 15px; font-weight: 700; }
.v3-footer-cols li.dd4-sub { padding-left: 14px; font-size: .92em; }
