/* =========================================================
   AIビタミン 研修サイト v4（2026-10-20）— site-v3.css を土台に、末尾へ「11 トップv4」を足した。トップ index.html だけがこれを読む
   研修サイトのページはこのファイルだけを読み込む。
   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; }

/* =========================================================
   11 トップ v4（完成図A design/v4/comp-a.png に合わせる・2026-10-20）
   kv4 1画面目 / st4 5つのステップ / sol4 お悩み / pl4 研修3種類 / af4 研修のあと
   vo4 声 / pr4 料金 / tm4 担当 / fl4 流れ / cta4 最後のCTA
   ========================================================= */
.sp { display: none; }
@media (max-width: 767px) { .sp { display: inline; } .pc { display: none; } }
.dd4-sep { display: block; margin: 8px 6px 2px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--sub); }
.top4 .v3-head .t-en { gap: 14px; }
.top4 .v3-head .t-en::before { width: 28px; height: 3px; border-radius: 2px; }
.top4 .t-h2 { font-size: 44px; letter-spacing: .01em; }
@media (max-width: 767px) { .top4 .t-h2 { font-size: 27px; } }

/* ① 1画面目 kv6（完成図A「研修の日から続く道」design/kv6/a-pc.png・a-sp.png／2026-10-21 梅村さん選定）
   絵 img/kv6-bg*.webp は GPT で描いた「人なし・文字なし」の背景（design/kv6/impl-plan.txt）。
   ラベル3つとりんちゃんは .kv6-art（絵と同じ縦横比の箱）の中に % で置くので、幅が変わっても絵とずれない */
.kv4-cap { position: absolute; z-index: 1; background: var(--wash); border-radius: 999px; pointer-events: none; } /* 最後のCTA（.cta4-cap）が使う */
.kv6 {
  --kv6-h: clamp(600px, 57.3vw, 860px); /* 57.3vw = 絵の縦横比。1500px までは絵が横幅いっぱいになる */
  position: relative; overflow: hidden; height: var(--kv6-h);
  background: linear-gradient(180deg, #FDFBF5 0%, #FDFAF0 62%, #FDE6A8 100%);
}
.kv6-in { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; pointer-events: none; }
.kv6-text { width: 48%; padding: 24px 0 40px; pointer-events: auto; }
.kv6-label {
  display: inline-block; padding: 7px 18px; border-radius: 999px; background: var(--white); color: var(--ink);
  font-size: 14px; font-weight: 800; line-height: 1.5; box-shadow: 0 10px 24px -14px rgba(122, 46, 0, .35);
}
.kv6-label b { color: var(--or-t); }
.kv6-h1 { margin-top: 22px; font-size: clamp(44px, 5.1vw, 80px); font-weight: 900; line-height: 1.32; color: var(--ink); letter-spacing: .01em; white-space: nowrap; }
.kv6-mark {
  background: linear-gradient(transparent 68%, #FFE08A 68%, #FFE08A 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.kv6-btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 16px; }
.kv6-btns .v3-btn { min-width: 220px; }
.kv6-btn-w { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.kv6-sub { margin-top: 24px; font-size: 18px; font-weight: 800; color: var(--ink); line-height: 1.8; }
.kv6-chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.kv6-chips li {
  padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(26, 26, 46, .1);
  font-size: 13px; font-weight: 800; color: var(--ink); line-height: 1.6;
}
/* 絵の箱（PC: 右上を基準に高さいっぱい。幅が足りないときは左がはみ出して切れる） */
.kv6-art { position: absolute; z-index: 1; top: 0; right: 0; height: 100%; aspect-ratio: 2048 / 1173; }
.kv6-art picture, .kv6-bg { display: block; width: 100%; height: 100%; }
.kv6-bg { object-fit: cover; }
.kv6-steps { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.kv6-step {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  padding: .5em 1.2em; border-radius: 999px; background: var(--white); color: var(--ink);
  font-size: clamp(12px, 1.05vw, 16px); font-weight: 800; line-height: 1.4; white-space: nowrap;
  box-shadow: 0 10px 22px -12px rgba(122, 46, 0, .4);
}
.kv6-step--1 { --x: 49%; --y: 57%; }
.kv6-step--2 { --x: 62.2%; --y: 30.5%; }
.kv6-step--3 { --x: 73.2%; --y: 13%; }
.kv6-rin {
  position: absolute; left: 67.7%; top: 16.5%; width: 32.7%; height: auto; max-width: none;
  filter: drop-shadow(0 30px 40px rgba(122, 46, 0, .25));
}
/* PC: 絵の左端はいつもクリームに溶かす（画面が絵より広いときや、絵を右へずらしたときに継ぎ目が出ないように） */
@media (min-width: 901px) {
  .kv6-art .kv6-bg { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%); mask-image: linear-gradient(90deg, transparent 0, #000 14%); }
}
/* 小さめのPC・タブレット横（901〜1279px）: 文字の幅を取り、絵を少し右へ逃がして机と文字が重ならないように */
@media (min-width: 901px) and (max-width: 1279px) {
  .kv6-text { width: 54%; }
  .kv6-art { right: -9%; }
  .kv6-btns .v3-btn { min-width: 0; padding: 0 26px; }
  .kv6-sub { font-size: 16px; }
}
@media (min-width: 1280px) and (max-width: 1499px) { .kv6-art { right: -4.5%; } }
/* スマホ・タブレット縦（〜900px）: 上に文字、下に絵とりんちゃん（a-sp.png） */
@media (max-width: 900px) {
  .kv6 { height: auto; background: linear-gradient(180deg, #FCF9ED 0%, #FDF9E8 100%); }
  .kv6-in { display: block; height: auto; }
  .kv6-text { width: auto; padding: 30px 0 0; }
  .kv6-label { font-size: 12px; padding: 6px 14px; }
  .kv6-h1 { margin-top: 16px; font-size: clamp(28px, 8.7vw, 52px); line-height: 1.34; }
  .kv6-btns { margin-top: 22px; gap: 10px; }
  .kv6-btns .v3-btn { min-width: 0; flex: 1 1 140px; min-height: 52px; padding: 0 16px; font-size: 15px; gap: 8px; }
  .kv6-sub { margin-top: 18px; font-size: 15px; }
  .kv6-chips { margin-top: 14px; }
  .kv6-chips li { font-size: 12px; }
  .kv6-art { position: relative; top: auto; right: auto; width: 100%; height: auto; aspect-ratio: 960 / 1200; margin-top: -2%; }
  .kv6-art .kv6-bg { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%); mask-image: linear-gradient(180deg, transparent 0, #000 12%); }
  .kv6-step { font-size: clamp(12px, 3.4vw, 18px); }
  .kv6-step--1 { --x: 17.5%; --y: 49%; }
  .kv6-step--2 { --x: 35.4%; --y: 23%; }
  .kv6-step--3 { --x: 61.5%; --y: 7.3%; }
  .kv6-rin { left: 40.1%; top: 18.75%; width: 63%; }
}

/* タブレット縦（600〜900px）: 絵が縦に長くなりすぎないよう幅を抑えて右に寄せ、左端もクリームに溶かす */
@media (min-width: 600px) and (max-width: 900px) {
  .kv6-art { width: 640px; margin-left: auto; margin-right: -24px; }
  .kv6-art .kv6-bg {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%), linear-gradient(90deg, transparent 0, #000 16%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg, transparent 0, #000 12%), linear-gradient(90deg, transparent 0, #000 16%);
    mask-composite: intersect;
  }
  .kv6-step { font-size: 15px; }
}

/* スマホ（〜599px）: 1画面目でりんちゃんが見えるよう、札・見出し → 絵 → ボタン・サブ・チップの順に（2026-10-21 梅村さん「CTAとか下げていいから」） */
@media (max-width: 599px) {
  .kv6 { display: flex; flex-direction: column; }
  .kv6-in, .kv6-text { display: contents; }
  .kv6-label, .kv6-h1, .kv6-btns, .kv6-sub, .kv6-chips { margin-left: 24px; margin-right: 24px; }
  .kv6-label { order: 1; align-self: flex-start; margin-top: 24px; }
  .kv6-h1 { order: 2; }
  .kv6-art { order: 3; margin-top: 4px; overflow: hidden; }
  .kv6-btns { order: 4; margin-top: 20px; }
  .kv6-sub { order: 5; }
  .kv6-chips { order: 6; margin-bottom: 40px; }
}

/* ② 5つのステップ */
.st4 { background: #FFFAF3; overflow: hidden; }
.st4 .v3-wrap { position: relative; }
.st4 .v3-head { max-width: 640px; position: relative; z-index: 2; }
.st4-arrow { position: absolute; right: 120px; top: 0; width: 600px; height: auto; z-index: 0; }
.st4-stairs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 0; margin-top: -40px; }
.st4-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 30px; color: var(--ink); border-radius: 16px 16px 0 0; }
.st4-step:first-child { border-bottom-left-radius: 16px; }
.st4-step:last-child { border-bottom-right-radius: 16px; }
.st4-step--1 { min-height: 250px; background: #FFF1CC; }
.st4-step--2 { min-height: 300px; background: #FFE2A0; }
.st4-step--3 { min-height: 350px; background: #FFCC78; }
.st4-step--4 { min-height: 400px; background: #FFB45E; }
.st4-step--5 { min-height: 450px; background: #FF8E6E; }
.st4-lv { font-family: var(--ff-en); font-weight: 800; font-size: 40px; line-height: 1; display: flex; flex-direction: column; gap: 6px; }
.st4-lv span { font-size: 12px; letter-spacing: .2em; }
.st4-step h3 { font-size: 20px; font-weight: 900; line-height: 1.45; }
.st4-step h3 small { display: block; font-size: 14px; font-weight: 700; margin-top: 2px; }
.st4-gos { display: flex; flex-wrap: wrap; gap: 6px; }
.st4-go { align-self: flex-start; display: inline-flex; align-items: center; min-height: 30px; padding: 2px 12px; border-radius: 999px; background: rgba(255, 255, 255, .78); font-size: 13px; font-weight: 800; color: var(--ink); text-decoration: none; line-height: 1.4; }
.st4-go:hover { background: var(--white); }
.st4-txt { margin-top: auto; font-size: 13.5px; font-weight: 700; line-height: 1.75; color: var(--ink); }
.st4-foot { margin-top: 48px; text-align: center; }
@media (max-width: 1023px) {
  .st4-arrow { display: none; }
  .st4-stairs { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 0; }
  .st4-step { min-height: 0 !important; border-radius: 14px !important; padding: 18px 20px; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; }
  .st4-step > :not(.st4-lv) { grid-column: 2; }
  .st4-lv { grid-row: 1 / span 3; font-size: 32px; }
  .st4-step--2 { margin-left: 4%; } .st4-step--3 { margin-left: 8%; } .st4-step--4 { margin-left: 12%; } .st4-step--5 { margin-left: 16%; }
  .st4-step h3 { font-size: 17px; }
}

/* ③ お悩み */
.sol4-in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: end; }
.sol4-list { display: grid; gap: 12px; }
.sol4-row { display: grid; grid-template-columns: minmax(0, 1.15fr) 40px minmax(0, 1fr); align-items: center; gap: 8px; }
.sol4-q { padding: 14px 22px; border-radius: 12px; background: #F6F6F9; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.6; box-shadow: 0 6px 16px -12px rgba(26, 26, 46, .3); }
.sol4-ar { display: grid; place-items: center; }
.sol4-ar svg { width: 24px; height: 10px; fill: none; stroke: var(--ink); stroke-width: 2; }
.sol4-a { padding: 12px 20px; border-radius: 12px; background: #FFF6EA; text-decoration: none; display: grid; gap: 2px; transition: background-color .2s; }
.sol4-a:hover { background: #FFEBD0; }
.sol4-a b { color: var(--or-t); font-weight: 900; font-size: 16px; line-height: 1.5; }
.sol4-a small { font-size: 12.5px; font-weight: 700; color: var(--sub); line-height: 1.5; }
.sol4-a .sol4-rec { justify-self: start; padding: 0 10px; border-radius: 999px; background: var(--or); color: var(--ink); }
.sol4-side { position: relative; text-align: center; }
.sol4-side img { width: auto; height: 520px; margin: 0 auto -128px; }
.sol4-bubble { position: relative; margin-bottom: 18px; padding: 16px 18px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 2px var(--ink); font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.7; text-align: left; }
.sol4-bubble::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 18px; height: 18px; background: var(--white); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateX(-50%) rotate(45deg); }
@media (max-width: 1023px) {
  .sol4-in { grid-template-columns: minmax(0, 1fr); }
  .sol4-side { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: end; gap: 12px; order: -1; margin-bottom: -8px; }
  .sol4-side img { height: 220px; margin: 0; }
  .sol4-bubble { margin: 0 0 30px; font-size: 14px; }
  .sol4-bubble::after { left: auto; right: -10px; bottom: 30px; transform: rotate(-45deg); }
  .sol4 .sol4-main .v3-head { margin-bottom: 24px; }
}
@media (max-width: 767px) {
  .sol4-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .sol4-ar { justify-items: start; padding-left: 20px; }
  .sol4-ar svg { transform: rotate(90deg); width: 18px; }
  .sol4-q { padding: 12px 16px; font-size: 14px; }
  .sol4-a { padding: 10px 16px; }
}

/* ④ 研修3種類 */
.pl4 { background: var(--apr); }
.pl4-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.pl4-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: 18px; border-top: 4px solid var(--or); box-shadow: 0 24px 60px -30px rgba(26, 26, 46, .22); }
.pl4-card--rec { box-shadow: 0 0 0 2px var(--or), 0 30px 60px -24px rgba(122, 46, 0, .35); transform: translateY(-12px); }
.pl4-badge { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); z-index: 2; padding: 4px 18px; border-radius: 999px; background: var(--or); color: var(--ink); font-size: 14px; font-weight: 900; line-height: 1.6; white-space: nowrap; }
.pl4-badge--in { position: static; transform: none; display: inline-block; margin: 0 8px 4px 0; padding: 0 10px; font-size: 12px; }
.pl4-cover { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px 14px 0 0; }
.pl4-cover img { width: 100%; height: 100%; object-fit: cover; }
.pl4-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 28px; }
.pl4-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; font-weight: 800; color: var(--sub); line-height: 1.6; }
.pl4-lv { color: var(--or-t); }
.pl4-body h3 { font-size: 25px; font-weight: 900; color: var(--ink); line-height: 1.4; }
.pl4-desc { font-size: 15px; line-height: 1.85; }
.pl4-dl { display: grid; gap: 0; margin-top: 4px; border-top: 1px solid var(--line); }
.pl4-dl > div { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.pl4-dl dt { font-weight: 800; color: var(--ink); }
.pl4-dl dd { color: var(--text); }
.pl4-price { font-family: var(--ff-en); font-size: 28px; font-weight: 800; color: var(--ink); }
.pl4-body .pl4-btn { margin-top: auto; align-self: stretch; }
.pl4-dl + .pl4-btn { margin-top: auto; }
.pl4-body > .pl4-dl { margin-bottom: 12px; }
.pl4-clinic { margin-top: 48px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: center; padding: 28px 36px; background: var(--white); border-radius: 18px; text-decoration: none; color: inherit; box-shadow: 0 24px 60px -30px rgba(26, 26, 46, .18); transition: transform .24s var(--ease); }
.pl4-clinic:hover { transform: translateY(-4px); }
.pl4-clinic figure { margin: 0; }
.pl4-clinic img { width: 200px; border-radius: 8px; box-shadow: var(--shadow); }
.pl4-clinic figcaption { margin-top: 8px; font-size: 12px; color: var(--sub); line-height: 1.5; }
.pl4-clinic-body { display: grid; gap: 10px; justify-items: start; }
.pl4-clinic-body .v3-tag { background: var(--apr); }
.pl4-clinic-body h3 { font-size: 26px; font-weight: 900; color: var(--ink); }
.pl4-others { margin-top: 56px; }
.pl4-others-h { font-size: 16px; font-weight: 900; color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.pl4-others-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pl4-others-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pl4-other { display: grid; gap: 4px; padding: 18px 22px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; transition: background-color .2s; }
.pl4-other:hover { background: var(--white); }
.pl4-other h3 { font-size: 17px; font-weight: 900; color: var(--ink); }
.pl4-other p { font-size: 14px; line-height: 1.7; }
.pl4-other-meta { font-weight: 800; color: var(--or-t); }
.pl4-note { margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
@media (max-width: 1023px) {
  .pl4-cards { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 560px; margin: 0 auto; }
  .pl4-card--rec { transform: none; }
}
@media (max-width: 767px) {
  .pl4-body { padding: 20px 20px 24px; }
  .pl4-body h3 { font-size: 22px; }
  .pl4-dl > div { grid-template-columns: 76px minmax(0, 1fr); }
  .pl4-clinic { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .pl4-clinic img { width: 96px; }
  .pl4-clinic figcaption { display: none; }
  .pl4-clinic-body h3 { font-size: 19px; }
  .pl4-clinic-body p { font-size: 14px; line-height: 1.7; }
  .pl4-others-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ⑤ 研修のあと */
.af4-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.af4-card { display: flex; flex-direction: column; gap: 14px; padding: 30px 30px 32px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -30px rgba(26, 26, 46, .18); }
.af4-top { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.af4-top img { width: 64px; height: 64px; }
.af4-for { display: block; font-size: 12.5px; font-weight: 800; color: var(--or-t); line-height: 1.5; }
.af4-card h3 { font-size: 26px; font-weight: 900; color: var(--ink); line-height: 1.3; }
.af4-price { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.af4-price b { font-family: var(--ff-en); font-size: 38px; font-weight: 800; margin: 0 2px; }
.af4-price .af4-price-j { font-family: var(--ff); font-size: 26px; font-weight: 900; margin: 0; }
.af4-txt { font-size: 14.5px; line-height: 1.85; }
.af4-card .v3-link { margin-top: auto; align-self: flex-start; }
.af4-note { margin-top: 20px; }
@media (max-width: 1023px) {
  .af4-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .af4-card { padding: 22px 20px 24px; }
}

/* ⑥ 声（杏の上に置くのでカードを白に） */
.vo4 .voice3-card { background: var(--white); }
.vo4 .voices-co-card { background: var(--white); }

/* ⑦ 料金 */
.pr4-table { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.pr4-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; min-width: 860px; }
.pr4-table th, .pr4-table td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.pr4-table thead th { background: var(--ink); color: var(--white); font-size: 14px; font-weight: 800; }
.pr4-table tbody th { font-weight: 900; color: var(--ink); }
.pr4-table tbody tr:last-child > * { border-bottom: 0; }
.pr4-rec { background: #FFF6EA; }
.pr4-num { font-family: var(--ff-en); font-size: 22px; font-weight: 800; color: var(--ink); }
.pr4-sub th small { display: block; font-size: 12px; font-weight: 800; color: var(--sub); }
.pr4-sub { font-size: 14px; }
@media (max-width: 767px) {
  .pr4-table { border: 0; overflow: visible; }
  .pr4-table table { min-width: 0; }
  .pr4-table thead { display: none; }
  .pr4-table tbody, .pr4-table table { display: block; }
  .pr4-table tr { display: block; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); }
  .pr4-table tr.pr4-rec { background: #FFF6EA; }
  .pr4-table th, .pr4-table td { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 10px 16px; font-size: 14px; }
  .pr4-table tbody th { display: block; font-size: 16px; background: rgba(255, 153, 0, .08); }
  .pr4-table td::before { content: attr(data-l); font-size: 12px; font-weight: 800; color: var(--sub); }
  .pr4-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
  .pr4-table tr > :last-child { border-bottom: 0 !important; }
}

/* ⑧ 担当 */
.tm4 { background: var(--apr); }
.tm4-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.tm4-card { text-align: center; display: grid; justify-items: center; align-content: start; gap: 4px; }
.tm4-card img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; border: 6px solid var(--white); box-shadow: 0 18px 36px -18px rgba(122, 46, 0, .4); }
.tm4-card h3 { font-size: 22px; font-weight: 900; color: var(--ink); letter-spacing: .06em; }
.tm4-role { font-size: 13px; font-weight: 800; color: var(--or-t); line-height: 1.5; }
.tm4-bio { margin-top: 10px; font-size: 13.5px; line-height: 1.85; text-align: left; }
.tm4-mvv { margin-top: 64px; padding: 36px 40px; background: var(--white); border-radius: 18px; display: grid; gap: 16px; }
.tm4-mvv-h { font-size: 18px; font-weight: 900; color: var(--ink); }
.tm4-mvv dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tm4-mvv dt { font-family: var(--ff-en); font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--or-t); text-transform: uppercase; }
.tm4-mvv dd { margin-top: 4px; font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.7; }
.tm4-mvv-line { padding-top: 16px; border-top: 1px solid var(--line); font-weight: 800; color: var(--ink); }
@media (max-width: 1023px) { .tm4-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .tm4-list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tm4-card img { width: 128px; height: 128px; }
  .tm4-mvv { padding: 24px 20px; }
  .tm4-mvv dl { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ⑨ 流れ */
.fl4-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fl4-step { position: relative; padding: 24px 20px 26px; background: var(--apr); border-radius: 14px; display: grid; gap: 8px; align-content: start; }
.fl4-step:not(:last-child)::after { content: ""; position: absolute; right: -13px; top: 38px; width: 10px; height: 10px; border-top: 2px solid var(--or); border-right: 2px solid var(--or); transform: rotate(45deg); }
.fl4-no { font-family: var(--ff-en); font-size: 30px; font-weight: 800; color: var(--or-t); line-height: 1; }
.fl4-step h3 { font-size: 18px; font-weight: 900; color: var(--ink); }
.fl4-step p { font-size: 13.5px; line-height: 1.8; }
@media (max-width: 1023px) {
  .fl4-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .fl4-step { grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; padding: 16px 18px; }
  .fl4-step > :not(.fl4-no) { grid-column: 2; }
  .fl4-no { grid-row: 1 / span 2; font-size: 26px; }
  .fl4-step:not(:last-child)::after { right: auto; left: 30px; top: auto; bottom: -9px; transform: rotate(135deg); }
}

/* ⑪ 最後のCTA */
.cta4 { position: relative; overflow: hidden; background: var(--grad); }
.cta4-cap { width: 420px; height: 120px; right: -60px; top: 40px; transform: rotate(-22deg); }
.cta4-in { position: relative; z-index: 2; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: end; }
.cta4-fig img { width: auto; height: 400px; max-width: none; margin: 0 auto; filter: drop-shadow(0 24px 30px rgba(122, 46, 0, .25)); }
.cta4-body { align-self: center; padding: 72px 0; color: var(--ink); }
.cta4-h2 { font-size: 40px; font-weight: 900; line-height: 1.45; color: var(--ink); }
.cta4-lead { margin-top: 16px; font-size: 16px; font-weight: 700; line-height: 1.9; color: var(--ink); max-width: 640px; }
.cta4-act { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.cta4-tel { text-decoration: none; color: var(--ink); display: grid; line-height: 1.3; }
.cta4-tel small { font-size: 13px; font-weight: 800; }
.cta4-tel b { font-family: var(--ff-en); font-size: 34px; font-weight: 800; }
.cta4-clinic { margin-top: 28px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 18px; border-radius: 12px; background: rgba(255, 255, 255, .7); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.6; }
.cta4-clinic b { font-weight: 900; }
.cta4-clinic svg { width: 20px; height: 10px; fill: none; stroke: var(--ink); stroke-width: 2; }
@media (max-width: 1023px) {
  .cta4-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cta4-fig { order: 2; }
  .cta4-fig img { height: 260px; }
  .cta4-body { padding: 56px 0 8px; }
}
@media (max-width: 767px) {
  .cta4-h2 { font-size: 25px; }
  .cta4-lead { font-size: 15px; }
  .cta4-tel b { font-size: 28px; }
  .cta4-act .v3-btn { width: 100%; }
  .cta4-clinic { font-size: 13px; }
}

/* 11 の調整（下層の受け皿 line「main > section:not(...)」の余白を v4 の帯から外す） */
main > .kv6, main > .cta4 { padding: 0 !important; }
.st4 .v3-head { max-width: 880px; }
.st4-step--1 { min-height: 300px; } .st4-step--2 { min-height: 350px; } .st4-step--3 { min-height: 400px; }
.st4-step--4 { min-height: 450px; } .st4-step--5 { min-height: 500px; }
.st4-stairs { margin-top: -10px; }
@media (min-width: 768px) { .top4 { --sec: 104px; } }
@media (min-width: 1024px) { .sol4-in { grid-template-columns: minmax(0, 1fr) 340px; } }
@media (max-width: 767px) { .kv6-btns .v3-btn { white-space: nowrap; font-size: 14px; padding: 0 12px; gap: 6px; } .kv6-btns .v3-btn svg { width: 16px; } }

/* 研修メニューの見出しと中身（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; }

/* ④ 受け方は3つ: eラーニングは横長カード＋コース一覧 */
.pl4-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pl4-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pl4-card--wide .pl4-cover { aspect-ratio: auto; height: 100%; border-radius: 14px 0 0 18px; }
.pl4-courses { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pl4-course > a { display: grid; align-content: start; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-decoration: none; color: inherit; transition: background-color .2s, border-color .2s; }
.pl4-course > a:hover { border-color: var(--or); }
.pl4-course--rec > a { background: #FFF6EA; border: 2px solid var(--or); }
.pl4-course .pl4-badge--in { justify-self: start; margin: 0 0 2px; }
.pl4-course h4 { font-size: 17px; font-weight: 900; color: var(--ink); line-height: 1.45; }
.pl4-course h4 small { margin-left: 8px; font-size: 12px; font-weight: 800; color: var(--or-t); white-space: nowrap; }
.pl4-course p { font-size: 14px; line-height: 1.7; }
.pl4-course .pl4-course-meta { margin-top: 2px; font-size: 13px; font-weight: 800; color: var(--or-t); }
.pl4-course-meta b { font-family: var(--ff-en); font-size: 17px; color: var(--ink); }
.pl4-ex { padding: 12px 16px; border-radius: 10px; background: var(--apr); }
.pl4-ex-h { font-size: 13px; font-weight: 900; color: var(--or-t); }
.pl4-ex ul { margin: 4px 0 0; padding-left: 1.1em; font-size: 14px; line-height: 1.7; }
.pl4-ex li + li { margin-top: 4px; }
.pl4-ex a { color: var(--ink); font-weight: 800; }
.pl4-dl dd small { font-size: 12px; color: var(--sub); line-height: 1.6; }
.pl4 .pl4-note { margin-top: 20px; }
.pr4-table tbody th small { display: block; font-size: 12px; font-weight: 700; color: var(--sub); }
.pr4-table tr.pr4-grp th { padding: 10px 20px; background: var(--apr); font-size: 14px; color: var(--ink); }
@media (max-width: 1023px) {
  .pl4-cards { grid-template-columns: minmax(0, 1fr); }
  .pl4-card--wide { grid-column: auto; display: flex; }
  .pl4-card--wide .pl4-cover { aspect-ratio: 3 / 2; height: auto; border-radius: 14px 14px 0 0; }
}
@media (max-width: 767px) {
  .pl4-courses { grid-template-columns: minmax(0, 1fr); }
  .pr4-table tr.pr4-grp { margin: 20px 0 8px; border: 0; background: none; }
  .pr4-table tr.pr4-grp th { padding: 0; background: none; font-size: 16px; }
}
.st4-go:has(.nw) { flex-wrap: wrap; max-width: 100%; }
.st4-go .nw { display: inline-block; white-space: nowrap; }
.pr4-table td .pr4-pr { white-space: nowrap; }
