@charset "UTF-8";

:root {
  --navy: #10254a;
  --navy-2: #183563;
  --blue: #1f73b7;
  --sky: #79c8e7;
  --orange: #f07b2d;
  --orange-dark: #d96319;
  --ink: #12213a;
  --muted: #5f6c7e;
  --pale: #f2f7fa;
  --pale-blue: #eaf4f8;
  --line: #dce4e9;
  --white: #fff;
  --shadow: 0 24px 70px rgba(16, 37, 74, .12);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
/* home.cssにしかfocus-visible定義がなく、他ページ(コース一覧・詳細等)でキーボード操作時の
   フォーカスが見えなくなっていたため、サイト全体の既定として定義する */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 9999; transform: translateY(-150%); background: #fff; padding: 10px 14px; box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }
.section-kicker { margin: 0 0 18px; color: var(--blue); font: 800 12px/1.2 Arial, sans-serif; letter-spacing: .18em; }
.section-kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 11px 4px 0; background: currentColor; }
.section-kicker.light { color: #87d2ee; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 5px; font-size: 14px; font-weight: 800; line-height: 1.3; letter-spacing: .02em; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: #b8540f; }
.button-primary:hover { background: #9c460b; }
.button-secondary { color: var(--navy); background: #fff; border-color: var(--navy); }
.button-dark { color: #fff; background: var(--navy); }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.button-large { min-height: 66px; padding: 13px 28px; }
.line-cta { color: #fff; background: #03702e; }
.line-cta:hover { background: #025022; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,228,233,.85); backdrop-filter: blur(14px); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(16,37,74,.08); }
.header-inner { display: flex; align-items: center; height: 82px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 43px; height: 43px; color: var(--blue); }
.brand-mark svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark svg circle { fill: var(--orange); stroke: var(--orange); }
.brand-type { display: flex; flex-direction: column; }
.brand-type strong { color: var(--navy); font-size: 21px; line-height: 1.1; letter-spacing: .04em; }
.brand-type small { margin-top: 4px; color: var(--muted); font: 700 8px/1 Arial, sans-serif; letter-spacing: .2em; }
.custom-logo { display: block; max-height: 52px; width: auto; }
/* ロゴは黒文字＋濃赤リング＋人物シルエットの原色構成でネイビー地に馴染まないため、
   フッターでは白いバッジ(チップ)を敷いてフルカラーのまま乗せる。
   全体を白反転させると円アイコン内部の階調が失われ「白い無地の丸」に潰れるため不採用。
   原画(2304x1536)はキャンバス上下に大きな透過余白があり、実際の文字/アイコンは
   キャンバス高さの約49%しか占めない。max-heightはキャンバス基準のため、
   ヘッダー(52px・フィルターなし)と同等以上の実効サイズにするには64px前後が必要。 */
.brand-logo-mono { display: inline-flex; align-items: center; padding: 12px 20px; background: #fff; border-radius: 10px; }
.brand-logo-mono .custom-logo { max-height: 64px; }
.desktop-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); list-style: none; padding: 0; margin: 0; }
.nav-list a { position: relative; padding: 28px 0; color: #26364d; font-size: 13px; font-weight: 700; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--orange); transition: right .2s; }
.nav-list a:hover::after { right: 0; }
.header-cta { min-height: 46px; padding: 10px 20px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 12px 10px; border: 0; background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: var(--navy); transition: transform .2s, opacity .2s; }
.mobile-menu { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 90px 0; background: #eef2f5; }
.page-grid, .final-grid, .diagnosis-stage-grid { position: absolute; inset: 0; opacity: .42; pointer-events: none; background-image: linear-gradient(rgba(31,115,183,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(31,115,183,.055) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(90deg, #000, transparent 60%); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 46% 54%; align-items: center; min-height: 560px; }
.hero-copy { position: relative; z-index: 2; padding-right: 30px; }
.hero-label { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; color: var(--navy); font-size: 13px; font-weight: 700; }
.hero-label span { padding: 6px 10px; color: #fff; background: var(--blue); font-size: 11px; letter-spacing: .06em; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(42px, 5vw, 67px); line-height: 1.27; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 em { position: relative; color: var(--blue); font-style: normal; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; z-index: -1; height: 11px; background: rgba(121,200,231,.35); }
.hero-lead { margin: 26px 0 30px; color: #46566d; font-size: 16px; line-height: 2; }
.hero-actions { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; }
.hero-actions .button { flex-shrink: 0; white-space: nowrap; }
.hero-actions .button-primary { min-width: 272px; }
.hero-assurance { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; color: #5b697a; font-size: 11px; font-weight: 700; }
.hero-assurance i { display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 5px; color: #fff; background: var(--blue); border-radius: 50%; font-size: 10px; font-style: normal; }
.hero-photo-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 74%; z-index: 1; overflow: hidden; }
.hero-photo-panel img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 8%; display: block; }
.hero-photo-panel::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, #eef2f5 0%, rgba(238,242,245,.85) 10%, rgba(238,242,245,.5) 22%, rgba(238,242,245,.2) 34%, rgba(238,242,245,0) 46%); }

/* Problems / Challenge timeline */
.section-problem { background: #fff; }
.split-heading, .section-heading-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; margin-bottom: 54px; }
.split-heading h2, .section-heading-row h2, .reasons-heading h2 { margin: 0; color: var(--navy); font-size: clamp(32px, 4vw, 48px); line-height: 1.4; letter-spacing: -.035em; }
.split-heading > p, .section-heading-row > p { margin: 0 0 5px; color: var(--muted); font-size: 14px; line-height: 2; }
.challenge-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; }
.challenge-track::before { content: ""; position: absolute; top: 34px; left: 60px; right: 60px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.challenge-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; }
.challenge-step .ic { position: relative; z-index: 2; display: grid; place-items: center; width: 68px; height: 68px; flex: none; border-radius: 50%; background: #fff; border: 2px solid var(--sky); color: var(--blue); font-size: 24px; margin-bottom: 22px; }
.challenge-step h3 { margin: 0 0 10px; color: var(--navy); font-size: 16px; line-height: 1.6; }
.challenge-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.challenge-step.answer .ic { background: var(--orange); border-color: var(--orange); color: #fff; }
.challenge-step.answer h3 { color: var(--orange-dark); }
.challenge-step.answer h3 em { color: var(--blue); font-style: normal; }

/* Diagnosis banner */
.diagnosis-banner { padding-top: 0; }
.diagnosis-inner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: center; min-height: 310px; padding: 55px 70px; color: #fff; background: linear-gradient(125deg, var(--navy), #173f72); box-shadow: var(--shadow); }
.diagnosis-inner::before, .diagnosis-inner::after { content: ""; position: absolute; border: 1px solid rgba(121,200,231,.25); border-radius: 50%; }
.diagnosis-inner::before { width: 400px; height: 400px; top: -230px; right: 20%; }
.diagnosis-inner::after { width: 190px; height: 190px; right: -70px; bottom: -90px; }
.diagnosis-copy { position: relative; z-index: 1; }
.diagnosis-copy h2 { margin: 0 0 13px; font-size: 35px; }
.diagnosis-copy > p { margin: 0; color: #c8d5e6; font-size: 14px; }
.diagnosis-points { display: flex; gap: 8px; margin-top: 24px; }
.diagnosis-points span { padding: 5px 10px; color: #dcecf5; border: 1px solid rgba(255,255,255,.22); font-size: 10px; font-weight: 700; }
.diagnosis-reassurance { margin: 16px 0 0; color: #a9c1dc; font-size: 12px; font-weight: 700; }
.diagnosis-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.diagnosis-line-link { display: block; text-align: center; color: #dcecf5; font-size: 12px; font-weight: 700; transition: color .2s; }
.diagnosis-line-link:hover { color: #fff; }
.diagnosis-button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 104px; padding: 24px 28px; color: var(--navy); background: #fff; box-shadow: 0 15px 40px rgba(0,0,0,.18); transition: transform .2s; }
.diagnosis-button:hover { transform: translateX(4px); }
.diagnosis-button small { display: block; margin-bottom: 7px; color: var(--orange); font: 800 10px/1 Arial, sans-serif; letter-spacing: .14em; }
.diagnosis-button span { font-size: 15px; font-weight: 800; }
.diagnosis-button b { color: var(--orange); font-size: 24px; }

/* Courses */
.section-courses { background: var(--pale); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(16,37,74,.04); transition: transform .25s, box-shadow .25s; }
.course-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
/* 固定高さでは列数に応じてカード幅だけ変わり、生成サムネイル画像内の文字が左右に切れるため、
   画像の実際の縦横比に追従させる(3列/1列どのブレークポイントでも崩れない) */
.course-art { position: relative; overflow: hidden; display: flex; align-items: stretch; height: auto; aspect-ratio: 1672 / 941; color: #fff; }
.course-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,.08)); pointer-events: none; }
.course-art-navy { background: linear-gradient(135deg, #0d3268, #2b5a9b); }
.course-art-teal { background: linear-gradient(135deg, #0e5f56, #1a7566); }
.course-art-wine { background: linear-gradient(135deg, #6f1d33, #8e3247); }
.course-art-bronze { background: linear-gradient(135deg, #6e4a14, #8f621c); }
.course-art-blue { background: linear-gradient(135deg, #0d3268, #2b5a9b); }
.course-art-orange { background: linear-gradient(135deg, #6f1d33, #8e3247); }
/* テキストエリア(左)とツールバッジ(右・任意)の2ゾーン構成 */
.course-art-main { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; flex: 1; min-width: 0; padding: 24px 26px; }
.course-art-main > span { display: block; margin-bottom: auto; font: 800 12px/1 Arial, sans-serif; letter-spacing: .14em; opacity: .9; }
.course-art-main > span em { margin-left: 9px; font-style: normal; font-weight: 700; letter-spacing: .04em; opacity: .8; }
.course-art-main > strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; font: 800 22px/1.32 "Yu Mincho","Hiragino Mincho ProN",serif; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: break-word; }
.course-art-tool { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; width: 132px; flex-shrink: 0; padding: 18px 12px; color: var(--navy); background: #f4ede1; text-align: center; }
.course-art-tool-icon { position: relative; width: 34px; height: 34px; background: linear-gradient(135deg, #e8632c, #c94a1c); border-radius: 9px; }
.course-art-tool-icon::before { content: ""; position: absolute; inset: 8px; background: #fff; clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%); }
.course-art-tool small { font-size: 9.5px; font-weight: 700; color: #8a7c68; letter-spacing: .01em; line-height: 1.4; }
.course-art-tool b { font-size: 13.5px; font-weight: 800; line-height: 1.3; word-break: keep-all; overflow-wrap: break-word; }
.course-orbit { position: absolute; right: -55px; bottom: -80px; width: 245px; height: 245px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; box-shadow: 0 0 0 34px rgba(255,255,255,.06), 0 0 0 68px rgba(255,255,255,.05); pointer-events: none; }
.course-card-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.course-tags { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.course-tags span { padding: 4px 9px; color: var(--blue); background: var(--pale-blue); font-size: 11px; font-weight: 800; }
.level-meter { display: inline-flex; gap: 3px; margin-left: 2px; }
.level-meter i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.level-meter i.on { background: var(--blue); }
.course-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 20px; line-height: 1.45; }
.course-card h3 a { display: block; }
.course-fit { margin: 0 0 16px; color: var(--navy); font-size: 12px; font-weight: 700; background: var(--pale); display: inline-block; padding: 5px 10px; }
.course-card p { flex: 1; margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.course-card dl { margin: 0 0 21px; padding: 16px; background: var(--pale); border-radius: 4px; }
.course-card dl > div { display: flex; justify-content: space-between; gap: 10px; margin: 4px 0; }
.course-card dt { color: var(--muted); font-size: 12px; }
.course-card dd { margin: 0; color: var(--navy); font-size: 14px; font-weight: 800; }
.course-card dd.course-card-price { font-size: 17px; letter-spacing: -.01em; }
.course-card-body > a:last-child { display: flex; justify-content: space-between; align-items: center; min-height: 44px; color: var(--navy); font-size: 12px; font-weight: 800; }
.course-card-body > a:last-child b { color: var(--orange); }
.section-more { margin-top: 44px; text-align: center; }

/* Compare */
.compare-section { background: #fff; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 30px rgba(16,37,74,.04); }
.compare-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 22px 24px; text-align: center; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 14px; }
.compare-table th:last-child, .compare-table td:last-child { border-right: none; }
.compare-table thead th { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .02em; border-bottom: 2px solid var(--navy); }
.compare-axis { color: var(--navy); font-size: 13px; font-weight: 800; white-space: nowrap; text-align: left; background: var(--pale); }
.compare-table tbody tr:nth-child(even) td:not(.compare-axis):not(.compare-us) { background: #fafcfd; }
.compare-us { color: var(--navy); font-weight: 800; background: var(--pale-blue); position: relative; }
.compare-table thead th.compare-us { color: #fff; background: var(--blue); border-bottom: 2px solid var(--blue); border-radius: 8px 8px 0 0; font-size: 14px; }
.compare-table tbody tr:last-child .compare-us { border-radius: 0 0 8px 8px; }
.compare-table tbody tr td.compare-us { display: flex; align-items: center; justify-content: flex-start; gap: 7px; text-align: left; }
.compare-table tbody tr td.compare-us::before { content: "✓"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; color: #fff; background: var(--blue); border-radius: 50%; font-size: 10px; font-weight: 900; }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* Reasons */
.reasons { color: #fff; background: var(--navy); }
.reasons-heading { margin-bottom: 70px; }
.reasons-heading h2 { color: #fff; }
.reasons-heading h2 em { color: #8ed5ef; font-style: normal; }
.reason-row { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 45px; align-items: center; min-height: 340px; padding: 55px 0; border-top: 1px solid rgba(255,255,255,.15); }
.reason-number { align-self: start; color: #75bad7; font: 700 14px/1 Arial, sans-serif; }
.reason-copy > span { color: #7dc8e6; font: 800 10px/1 Arial, sans-serif; letter-spacing: .16em; }
.reason-copy h3 { margin: 14px 0 18px; font-size: 28px; line-height: 1.55; }
.reason-copy p { max-width: 480px; margin: 0; color: #bccbdb; font-size: 13px; }
.reason-visual { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 230px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); }
.visual-one { gap: 34px; }
.vo-node { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vo-circle { display: grid; place-items: center; width: 100px; height: 100px; color: #dcecf6; border: 1.5px solid #69b9dc; border-radius: 50%; font: 800 13px/1.3 "Noto Sans JP", sans-serif; letter-spacing: .04em; text-align: center; }
.vo-circle.last { color: var(--navy); background: #80cbe8; border-color: #80cbe8; }
.vo-node small { color: #9fb6cb; font-size: 11px; letter-spacing: .02em; }
.vo-arrow { display: flex; align-items: center; width: 56px; height: 2px; background: #69b9dc; position: relative; }
.vo-arrow::after { content: ""; position: absolute; right: -1px; top: 50%; width: 9px; height: 9px; border-top: 2px solid #69b9dc; border-right: 2px solid #69b9dc; transform: translateY(-50%) rotate(45deg); }
.visual-two { gap: 18px; }
.visual-two div { min-width: 145px; padding: 24px 16px; text-align: center; color: #80cbe8; border: 1px solid rgba(128,203,232,.55); font: 800 13px/1 Arial, sans-serif; letter-spacing: .1em; }
.visual-two div:last-child { color: var(--navy); background: #80cbe8; }
.visual-two small { display: block; margin-top: 9px; font-family: inherit; font-weight: 600; letter-spacing: 0; }
.visual-three { flex-direction: column; }
.map-dots { position: relative; width: 210px; height: 120px; transform: rotate(-8deg); }
.map-dots i { position: absolute; width: 12px; height: 12px; background: #7bc8e5; border-radius: 50%; box-shadow: 0 0 18px #7bc8e5; }
.map-dots i:nth-child(1){left:100px;top:5px}.map-dots i:nth-child(2){left:120px;top:28px}.map-dots i:nth-child(3){left:90px;top:45px}.map-dots i:nth-child(4){left:66px;top:60px}.map-dots i:nth-child(5){left:45px;top:76px}.map-dots i:nth-child(6){left:145px;top:56px}.map-dots i:nth-child(7){left:165px;top:88px}
.visual-three strong { color: #8ed5ef; font: 800 13px/1 Arial, sans-serif; letter-spacing: .18em; }

/* Flow and FAQ */
.flow-section { background: #fff; }
.centered-heading { margin-bottom: 54px; text-align: center; }
.centered-heading .section-kicker::before { display: none; }
.centered-heading h2 { margin: 0 0 12px; color: var(--navy); font-size: 40px; text-wrap: balance; }
.centered-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-step { position: relative; min-height: 300px; padding: 30px 28px; border-right: 1px solid var(--line); }
.flow-step:last-child { border: 0; }
.flow-step > span { position: absolute; top: 27px; right: 24px; color: #b7c2cc; font: 800 11px/1 Arial, sans-serif; }
.flow-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 20px 0 40px; color: var(--blue); background: var(--pale-blue); border-radius: 50%; font: 700 24px/1 Arial, sans-serif; }
.flow-step h3 { margin: 0 0 12px; color: var(--navy); font-size: 17px; }
.flow-step p { margin: 0; color: var(--muted); font-size: 12px; }
.faq-section { background: var(--pale); }
.faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: 85px; }
.faq-intro h2 { margin: 0 0 18px; color: var(--navy); font-size: 43px; line-height: 1.35; }
.faq-intro > p:not(.section-kicker) { color: var(--muted); font-size: 14px; line-height: 1.75; }
.faq-intro > a { display: inline-block; margin-top: 20px; padding-bottom: 6px; color: var(--blue); border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 800; }
.faq-list details { border-top: 1px solid #cfd9df; }
.faq-list details:last-child { border-bottom: 1px solid #cfd9df; }
.faq-list summary { display: grid; grid-template-columns: 35px 1fr 28px; align-items: center; gap: 15px; min-height: 88px; cursor: pointer; list-style: none; color: var(--navy); font-size: 15px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { color: var(--blue); font: 800 16px/1 Arial, sans-serif; }
.faq-list summary i { position: relative; width: 24px; height: 24px; border: 1px solid #aab7c2; border-radius: 50%; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; top: 11px; left: 6px; width: 10px; height: 1px; background: var(--blue); }
.faq-list summary i::after { transform: rotate(90deg); transition: transform .2s; }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details > div { padding: 0 50px 28px; }
.faq-list details p { margin: 0; color: var(--muted); font-size: 15px; max-width: 42em; }

/* Final CTA and footer */
.final-cta { position: relative; overflow: hidden; padding: 100px 0; color: #fff; background: linear-gradient(130deg, #133765, #0c2446); }
.final-grid { opacity: .15; mask-image: none; }
.final-cta::after { content: "AI"; position: absolute; right: 5%; bottom: -100px; color: rgba(255,255,255,.035); font: 900 390px/1 Arial, sans-serif; }
.final-inner { position: relative; z-index: 2; }
.final-inner h2 { margin: 0 0 22px; font-size: clamp(42px, 6vw, 70px); line-height: 1.18; letter-spacing: -.04em; }
.final-inner h2 em { color: #8ed5ef; font-style: normal; }
.final-inner > p { color: #c8d5e3; font-size: 15px; }
.final-actions { display: flex; gap: 14px; margin: 34px 0 14px; }
.final-inner > small { color: #92a5ba; font-size: 10px; }
.site-footer { padding: 70px 0 24px; color: #a8b4c5; background: #091a34; }
.footer-main { display: grid; grid-template-columns: 1fr 1.25fr; gap: 100px; padding-bottom: 55px; }
.brand-light .brand-type strong { color: #fff; }
.brand-light .brand-type small { color: #8190a5; }
.footer-brand > p { margin: 22px 0 0; font-size: 12px; }
.footer-brand .footer-company { margin-top: 8px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.footer-links h2 { margin: 0 0 22px; color: #fff; font: 800 11px/1.4 Arial, sans-serif; letter-spacing: .12em; }
.footer-links a { display: flex; align-items: center; min-height: 44px; margin: 0; font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font: 600 9px/1.5 Arial, sans-serif; letter-spacing: .08em; }

/* Generic pages */
.page-hero { padding: 88px 0; color: #fff; background: var(--navy); }
.page-hero h1 { margin: 0; font-size: 45px; }
.prose { max-width: 830px; }
.prose h2 { margin: 2.4em 0 .8em; color: var(--navy); font-size: 30px; }
.prose h3 { margin: 2em 0 .6em; color: var(--navy); }
.prose p, .prose li { color: #45556a; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 16px; border: 1px solid var(--line); text-align: left; }
.error-page { min-height: 60vh; text-align: center; }
.error-page h1 { font-size: 38px; text-wrap: balance; word-break: keep-all; overflow-wrap: break-word; }
.error-page .button { margin-top: 25px; }

/* Archive / Course lineup */
.results-hero { position: relative; overflow: hidden; padding: 78px 0 96px; color: #fff; background: linear-gradient(125deg, var(--navy), #174c7c); }
.results-hero::after { content: ""; position: absolute; right: -120px; top: -220px; width: 480px; height: 480px; border: 1px solid rgba(121,200,231,.28); border-radius: 50%; box-shadow: 0 0 0 70px rgba(121,200,231,.04), 0 0 0 140px rgba(121,200,231,.03); }
.results-grid-bg { position: absolute; inset: 0; opacity: .11; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.results-hero-inner { position: relative; z-index: 2; max-width: 640px; }
.results-hero h1 { margin: 0 0 16px; font-size: clamp(32px, 4.4vw, 44px); line-height: 1.4; letter-spacing: -.03em; text-wrap: balance; }
.results-hero h1 em { color: #8bd2ed; font-style: normal; }
.results-hero > .container > p { margin: 0; color: #c5d4e2; font-size: 14px; line-height: 1.9; }
.match-section { background: var(--pale); }
.match-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.match-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); transition: transform .2s, box-shadow .2s; }
.match-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.match-persona { color: var(--navy); font-size: 15px; font-weight: 800; line-height: 1.6; }
.match-arrow { color: var(--orange); font-size: 18px; font-weight: 900; }
.match-course { display: flex; align-items: baseline; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; }
.match-course b { color: var(--blue); font: 800 11px/1 Arial, sans-serif; }
.match-course strong { color: var(--navy); font-size: 14px; }
.lineup-section { background: #fff; padding-top: 88px; }
.lineup-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.lineup-head h2 { margin: 0; color: var(--navy); font-size: 30px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tabs button { min-height: 44px; padding: 9px 20px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 22px; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter-tabs button:hover { border-color: var(--blue); }
.filter-tabs button.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.filter-count { margin: -20px 0 34px; color: var(--muted); font-size: 12px; }
.course-card.hidden-by-filter { display: none; }
.unsure-strip { background: var(--pale); }
.unsure-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 34px 42px; background: #fff; border: 1px solid var(--line); }
.unsure-inner p { margin: 0; color: var(--navy); font-size: 14px; font-weight: 700; }
.unsure-inner p small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.unsure-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pagination .nav-links { display: flex; gap: 6px; margin-top: 42px; }
.pagination .page-numbers { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); font-size: 12px; }
.pagination .current { color: #fff; background: var(--navy); }
.empty-state { grid-column: 1/-1; padding: 70px 30px; text-align: center; background: var(--pale); }

/* Diagnosis result pick */
.pick-section { background: var(--pale); }
.pick-card { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: 0; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.pick-ribbon { position: absolute; top: 14px; left: 14px; z-index: 3; padding: 7px 14px; color: #fff; background: #b8540f; font: 800 12px/1 "Noto Sans JP", sans-serif; letter-spacing: .04em; border-radius: 4px; box-shadow: 0 6px 14px rgba(184,84,15,.35); }
.pick-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; color: #fff; background: linear-gradient(150deg, var(--navy), var(--blue)); }
.pick-art-navy { background: linear-gradient(150deg, #0d3268, #2b5a9b); }
.pick-art-teal { background: linear-gradient(150deg, #0e5f56, #1a7566); }
.pick-art-wine { background: linear-gradient(150deg, #6f1d33, #8e3247); }
.pick-art-bronze { background: linear-gradient(150deg, #6e4a14, #8f621c); }
.pick-art span { color: #a9d8ee; font: 800 11px/1 Arial, sans-serif; letter-spacing: .1em; }
.pick-art strong { margin-top: 10px; font-size: 22px; line-height: 1.25; }
.pick-orbit { position: absolute; right: -55px; bottom: -80px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.05); }
.pick-body { padding: 34px 38px; }
.pick-tags { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.pick-tags span { padding: 4px 9px; color: var(--blue); background: var(--pale-blue); font-size: 11px; font-weight: 800; }
.pick-fit { display: inline-block; margin: 0 0 14px; padding: 5px 10px; color: var(--navy); background: var(--pale); font-size: 12px; font-weight: 700; }
.pick-body p.pick-desc { max-width: 560px; margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.pick-meta { display: flex; gap: 34px; margin-bottom: 24px; }
.pick-meta dt { color: var(--muted); font-size: 11px; }
.pick-meta dd { margin: 3px 0 0; color: var(--navy); font-size: 15px; font-weight: 800; }
.pick-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Single course */
.course-hero { position: relative; overflow: hidden; padding: 80px 0 70px; color: #fff; background: var(--navy); }
.course-hero .page-grid { opacity: .09; mask-image: none; }
.course-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.breadcrumbs { display: flex; gap: 8px; margin-bottom: 35px; color: #9db1c7; font: 700 11px/1 Arial, sans-serif; letter-spacing: .13em; }
.light-tags span { color: #d9eff8; background: rgba(121,200,231,.15); }
.course-hero h1 { margin: 14px 0 18px; font-size: clamp(38px, 5vw, 58px); line-height: 1.3; text-wrap: balance; }
.course-lead { color: #c4d1df; font-size: 15px; }
.course-hero-meta { display: flex; gap: 50px; margin: 32px 0; }
.course-hero-meta > div { padding-left: 16px; border-left: 2px solid #6ec0e2; }
.course-hero-meta small, .course-hero-meta strong { display: block; }
.course-hero-meta small { margin-bottom: 5px; color: #79c8e7; font: 800 11px/1 Arial, sans-serif; letter-spacing: .12em; }
.course-hero-meta strong { font-size: 22px; white-space: nowrap; }
.course-hero-meta span { color: #b6c6d8; font-size: 11px; }
.course-hero-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1.2; padding: 40px; background: linear-gradient(135deg, #237db7, #63bddc); box-shadow: 0 25px 60px rgba(0,0,0,.28); }
.course-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-hero-art > span, .course-hero-art > strong { position: relative; z-index: 2; }
.course-hero-art > span { font: 800 11px/1 Arial, sans-serif; letter-spacing: .14em; }
.course-hero-art > strong { max-width: 100%; margin-top: 12px; font-size: 31px; line-height: 1.4; text-wrap: balance; word-break: keep-all; overflow-wrap: break-word; }
.course-hero-orbit { position: absolute; width: 420px; height: 420px; right: -180px; bottom: -210px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; box-shadow: 0 0 0 50px rgba(255,255,255,.05), 0 0 0 100px rgba(255,255,255,.04); }
.course-anchor-nav { position: sticky; top: 82px; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.course-anchor-nav .container { display: flex; }
.course-anchor-nav a { flex: 1; padding: 17px; border-right: 1px solid var(--line); text-align: center; font-size: 11px; font-weight: 800; }
.course-anchor-nav a:first-child { border-left: 1px solid var(--line); }
.course-content-layout { display: grid; grid-template-columns: 1fr 300px; gap: 80px; align-items: start; }
.course-main-content h2 { margin: 0 0 28px; color: var(--navy); font-size: 34px; }
.target-box { margin: 60px 0; padding: 38px; background: var(--pale-blue); border-left: 5px solid var(--blue); }
.target-box > span { color: var(--blue); font: 800 11px/1 Arial, sans-serif; letter-spacing: .14em; }
.target-box h3 { margin: 8px 0 18px; }
.target-box ul { margin: 0; padding: 0; list-style: none; }
.target-box li { position: relative; padding: 8px 0 8px 26px; }
.target-box li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.learning-list { padding-top: 40px; scroll-margin-top: 130px; }
.learning-list > div { display: grid; grid-template-columns: 60px 1fr; align-items: center; min-height: 90px; border-top: 1px solid var(--line); }
.learning-list > div:last-child { border-bottom: 1px solid var(--line); }
.learning-list > div span { color: var(--blue); font: 800 12px/1 Arial, sans-serif; }
.learning-list > div p { margin: 0; font-weight: 700; }
.course-info-table { padding-top: 90px; scroll-margin-top: 110px; }
.course-info-table dl { margin: 0; border-top: 2px solid var(--navy); }
.course-info-table dl > div { display: grid; grid-template-columns: 180px 1fr; padding: 20px; border-bottom: 1px solid var(--line); }
.course-info-table dt { color: var(--muted); font-size: 12px; }
.course-info-table dd { margin: 0; font-size: 14px; }
.course-side-card { position: sticky; top: 150px; padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.course-side-card > span { display: block; color: var(--muted); font-size: 11px; }
.course-side-card > strong { display: block; margin: 6px 0 20px; color: var(--navy); font-size: 25px; }
.course-side-card dl { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.course-side-card dl > div { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; font-size: 12px; }
.course-side-card dt { flex-shrink: 0; white-space: nowrap; }
.course-side-card dd { margin: 0; font-weight: 800; text-align: right; }
.course-side-card .button { width: 100%; margin: 8px 0 12px; }
.course-side-card > a:last-child { display: block; padding: 12px 0; color: var(--blue); font-size: 12px; text-align: center; text-decoration: underline; }
.course-apply-band { padding: 75px 0; color: #fff; background: var(--navy); }
.course-apply-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.course-apply-band h2 { margin: 0; font-size: 40px; }
.course-apply-band p { color: #c0cedd; font-size: 14px; }

/* Diagnosis */
.diagnosis-stage { position: relative; overflow: hidden; min-height: 780px; padding: 70px 0 90px; color: #fff; background: linear-gradient(125deg, var(--navy), #154d7f); }
.diagnosis-stage-grid { opacity: .12; mask-image: none; }
.diagnosis-shell { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.diagnosis-side > a { display: inline-block; margin-bottom: 80px; color: #aac0d3; font: 700 10px/1 Arial, sans-serif; letter-spacing: .12em; }
.diagnosis-side h1 { margin: 0 0 20px; font-size: clamp(38px, 5vw, 57px); line-height: 1.35; }
.diagnosis-side h1 em { color: #8ad1ec; font-style: normal; }
.diagnosis-side > p:not(.section-kicker) { color: #c1cfdd; font-size: 14px; line-height: 1.75; }
.diagnosis-side-points { display: flex; gap: 12px; margin-top: 28px; font-size: 11px; font-weight: 700; }
.diagnosis-side-points i { margin-right: 5px; color: #80cbe8; font-style: normal; }
.diagnosis-app { min-height: 560px; padding: 46px; color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.diag-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-bottom: 36px; }
.diag-progress i { height: 4px; background: var(--line); border-radius: 3px; transition: background .2s; }
.diag-progress i.active { background: var(--blue); }
.diag-eyebrow { color: var(--orange); font: 800 10px/1 Arial, sans-serif; letter-spacing: .14em; }
.diagnosis-app h2 { margin: 12px 0 26px; color: var(--navy); font-size: 29px; line-height: 1.55; }
.diag-options { display: grid; gap: 11px; }
.diag-option { display: flex; align-items: center; width: 100%; min-height: 61px; padding: 14px 18px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 6px; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.diag-option:hover { background: var(--pale-blue); border-color: var(--blue); }
.diag-option span { display: grid; place-items: center; width: 28px; height: 28px; margin-right: 14px; color: var(--blue); background: var(--pale-blue); border-radius: 50%; font: 800 11px/1 Arial, sans-serif; }
.diag-back { margin-top: 12px; padding: 12px 0; color: var(--muted); background: none; border: 0; cursor: pointer; font-size: 11px; text-decoration: underline; }
.diag-intro { display: flex; flex-direction: column; justify-content: center; min-height: 455px; text-align: center; }
.diag-intro-icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 20px; color: var(--blue); background: var(--pale-blue); border-radius: 50%; font-size: 29px; }
.diag-intro p { margin: -10px auto 28px; max-width: 420px; color: var(--muted); font-size: 14px; }
.diag-intro .button { align-self: center; min-width: 260px; }
.diag-result-label { display: inline-block; padding: 5px 10px; color: #fff; background: #b8540f; font-size: 11px; font-weight: 800; }
.diag-result-card { margin: 22px 0; padding: 24px; color: #fff; background: linear-gradient(125deg, var(--navy), #246ba1); }
.diag-result-card small { color: #8ed5ef; font: 800 9px/1 Arial, sans-serif; letter-spacing: .12em; }
.diag-result-card h3 { margin: 8px 0 8px; font-size: 23px; }
.diag-result-card p { margin: 0; color: #ccdbe8; font-size: 15px; }
.diag-result-reason { color: var(--muted); font-size: 14px; }
.diag-result-actions { display: flex; gap: 10px; margin-top: 22px; }
.diag-result-actions .button { flex: 1; }

/* Form page */
.form-page-head { padding: 75px 0; color: #fff; text-align: center; background: var(--navy); }
.form-page-head .section-kicker::before { display: none; }
.form-page-head h1 { margin: 0 0 10px; font-size: 42px; }
.form-page-head p:last-child { margin: 0; color: #c4d2e0; font-size: 14px; }
.form-layout { display: grid; grid-template-columns: 330px 1fr; gap: 70px; align-items: start; max-width: 1020px; }
.form-intro > span { color: var(--blue); font: 800 10px/1 Arial, sans-serif; letter-spacing: .14em; }
.form-intro h2 { margin: 10px 0 30px; color: var(--navy); font-size: 32px; line-height: 1.45; }
.form-intro ol { margin: 0; padding: 0; list-style: none; }
.form-intro li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.form-intro li:last-child { border-bottom: 1px solid var(--line); }
.form-intro li > b { color: var(--blue); font: 800 11px/1.5 Arial, sans-serif; }
.form-intro li strong { display: block; font-size: 14px; }
.form-intro li p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.safe-note { display: flex; gap: 13px; margin-top: 25px; padding: 18px; background: var(--pale-blue); }
.safe-note i { color: var(--blue); font-style: normal; }
.safe-note p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.safe-note strong { display: block; color: var(--navy); font-size: 12px; }
.form-card { min-height: 500px; padding: 42px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card label { color: var(--navy); font-size: 14px; font-weight: 800; }
.form-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .form-card select, .form-card textarea { width: 100%; min-height: 52px; margin-top: 6px; padding: 12px 14px; font-size: 16px; background: #f9fbfc; border: 1px solid var(--line); border-radius: 0; }
.form-card input::placeholder, .form-card textarea::placeholder { color: #6a7480; }
.form-card input[type="submit"], .form-card button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 13px 28px; color: #fff; background: #b8540f; border: 0; border-radius: 4px; font-size: 16px; font-weight: 800; cursor: pointer; }
.form-card input[type="submit"]:disabled, .form-card button[type="submit"]:disabled { opacity: .6; cursor: not-allowed; }
.form-card .wpcf7-not-valid-tip { font-size: 12px; }
.form-card .wpcf7-response-output { font-size: 14px; }
.form-placeholder { padding: 30px; text-align: center; background: var(--pale); }
.form-placeholder > span { color: var(--navy); font: 800 11px/1 Arial, sans-serif; letter-spacing: .13em; }
.form-placeholder h2 { margin: 12px 0; font-size: 24px; }
.form-placeholder p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.form-placeholder code { display: block; margin: 20px 0; padding: 12px; background: #fff; }

/* Sub pages */
.subpage-hero { position: relative; overflow: hidden; padding: 115px 0; color: #fff; background: linear-gradient(125deg, var(--navy), #174c7c); }
.subpage-hero::after { content: ""; position: absolute; right: -120px; top: -220px; width: 520px; height: 520px; border: 1px solid rgba(121,200,231,.28); border-radius: 50%; box-shadow: 0 0 0 70px rgba(121,200,231,.04), 0 0 0 140px rgba(121,200,231,.03); }
.subpage-grid, .thanks-grid-bg { position: absolute; inset: 0; opacity: .11; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.subpage-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 90px; align-items: end; }
.subpage-hero h1 { margin: 0; font-size: clamp(44px, 6vw, 68px); line-height: 1.3; letter-spacing: -.045em; text-wrap: balance; }
.subpage-hero h1 em { color: #8bd2ed; font-style: normal; }
.subpage-hero-inner > p { margin: 0 0 8px; color: #c5d4e2; font-size: 14px; line-height: 2; }
.subpage-hero-compact { padding: 88px 0; }
.subpage-hero-compact h1 { font-size: clamp(40px, 5vw, 57px); }
.unset-value { display: inline-block; padding: 5px 9px; color: #a54712; background: #fff1e8; font-size: 11px; font-weight: 800; }

/* About */
.about-hero { position: relative; padding: 100px 0 84px; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.about-hero-inner { max-width: 640px; }
.about-hero h1 { margin: 0 0 16px; font-size: clamp(34px, 4.6vw, 46px); line-height: 1.4; letter-spacing: -.03em; text-wrap: balance; }
.about-hero h1 em { color: #8bd2ed; font-style: normal; }
.about-hero > .container > p { margin: 0; color: #c5d4e2; font-size: 14px; line-height: 1.9; }
.message-section { background: var(--pale); }
.message-layout { display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start; }
.message-photo { overflow: hidden; aspect-ratio: 3/4; box-shadow: 0 16px 40px rgba(16,37,74,.1); }
.message-photo img { width: 100%; height: 100%; object-fit: cover; }
.message-role { margin-top: 20px; text-align: center; }
.message-role strong { display: block; color: var(--navy); font-size: 16px; }
.message-role span { color: var(--muted); font-size: 11px; }
.message-copy .section-kicker::before { display: none; }
.message-copy h2 { margin: 0 0 26px; color: var(--navy); font-size: 28px; line-height: 1.6; }
.message-copy p { margin: 0 0 20px; max-width: 42em; color: #4f5e71; font-size: 14px; line-height: 2; }
.message-sign { margin-top: 28px; color: var(--navy); font-size: 14px; font-weight: 800; }
.overview-section { background: #fff; }
.overview-table { max-width: 820px; margin-inline: auto; border-top: 2px solid var(--navy); }
.overview-table dl { margin: 0; }
.overview-table dl > div { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px solid var(--line); }
.overview-table dt, .overview-table dd { padding: 20px; }
.overview-table dt { color: var(--navy); background: var(--pale); font-size: 12px; font-weight: 800; }
.overview-table dd { margin: 0; color: #536175; font-size: 14px; }
.about-values { color: #fff; background: var(--navy); }
.about-values .centered-heading .section-kicker { color: #87d2ee; }
.about-values .centered-heading h2 { color: #fff; }
.about-values .centered-heading > p.desc { color: #bccbdb; }
.value-list { max-width: 900px; margin-inline: auto; }
.value-detail { display: grid; grid-template-columns: 70px 1fr; gap: 36px; padding: 40px 0; border-top: 1px solid rgba(255,255,255,.15); }
.value-detail > span { align-self: start; color: #75bad7; font: 700 14px/1 Arial, sans-serif; }
.value-detail-body h3 { margin: 0 0 12px; color: #fff; font-size: 22px; }
.value-detail-body p { margin: 0; max-width: 520px; color: #bccbdb; font-size: 14px; }
.about-cta-strip { background: var(--pale); }
.about-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 34px 42px; background: #fff; border: 1px solid var(--line); }
.about-cta-inner p { margin: 0; color: var(--navy); font-size: 14px; font-weight: 700; }
.about-cta-inner p small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 400; }
.about-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.company-table dd { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 13px; font-weight: 700; }

/* Full FAQ */
.faq-full-section { background: var(--pale); }
.faq-full-layout { display: grid; grid-template-columns: 240px 1fr; gap: 75px; align-items: start; }
.faq-category-nav { position: sticky; top: 110px; padding: 24px; background: var(--navy); }
.faq-category-nav > span { display: block; margin-bottom: 18px; color: #81cae7; font: 800 11px/1.4 Arial, sans-serif; letter-spacing: .12em; }
.faq-category-nav a { display: flex; gap: 12px; padding: 14px 0; color: #dbe5ef; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; font-weight: 700; }
.faq-category-nav a b { color: #79c8e7; font: 800 9px/1.8 Arial, sans-serif; }
.faq-group { scroll-margin-top: 120px; margin-bottom: 70px; }
.faq-group-title { display: flex; align-items: baseline; gap: 18px; margin-bottom: 20px; }
.faq-group-title span { color: var(--blue); font: 800 11px/1 Arial, sans-serif; }
.faq-group-title h2 { margin: 0; color: var(--navy); font-size: 27px; }
.faq-groups .faq-list { background: #fff; padding-inline: 28px; }
.faq-contact-band { padding: 70px 0; background: #fff; }
.faq-contact-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; }
.faq-contact-band h2 { margin: 0; color: var(--navy); font-size: 34px; line-height: 1.5; text-wrap: balance; word-break: keep-all; overflow-wrap: break-word; }
.faq-contact-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Contact */
.contact-section { background: var(--pale); }
.contact-layout { display: grid; grid-template-columns: 320px 1fr; gap: 70px; max-width: 1060px; align-items: start; }
.contact-intro h2 { margin: 0 0 26px; color: var(--navy); font-size: 32px; line-height: 1.5; }
.contact-intro ul { margin: 0 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-intro li { position: relative; padding: 13px 0 13px 25px; border-bottom: 1px solid var(--line); color: #4f5e71; font-size: 12px; }
.contact-intro li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.contact-alt { padding: 24px; color: #fff; background: var(--blue); }
.contact-alt span, .contact-alt strong { display: block; }
.contact-alt span { color: #fff; font-size: 11px; }
.contact-alt strong { margin: 4px 0 8px; }
.contact-alt p { margin: 0 0 12px; color: #fff; font-size: 14px; line-height: 1.75; }
.contact-alt a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 800; }
.contact-form-card { padding: 48px; }
.form-card-heading { margin-bottom: 34px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.form-card-heading span { color: var(--blue); font: 800 11px/1 Arial, sans-serif; letter-spacing: .14em; }
.form-card-heading h2 { margin: 8px 0 8px; font-size: 27px; }
.form-card-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.line-card { display: flex; flex-direction: column; align-items: flex-start; }
.line-card .line-cta { margin-top: 4px; }
.line-cta svg, .footer-line-button svg { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
.line-benefits { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 0 0 22px; padding: 0; list-style: none; }
.line-benefits li { position: relative; padding-left: 21px; color: var(--muted); font-size: 13px; font-weight: 700; }
.line-benefits li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #03702e; font-weight: 900; }
.line-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.line-course-tag { margin: 0 0 16px; font-size: 14px; }
.line-course-tag strong { color: var(--navy); }

/* Thanks */
.thanks-stage { position: relative; overflow: hidden; padding: 95px 0 115px; background: linear-gradient(145deg, #eef6f9, #fff); }
.thanks-grid-bg { opacity: .3; background-image: linear-gradient(rgba(31,115,183,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(31,115,183,.12) 1px, transparent 1px); mask-image: radial-gradient(circle at center, #000, transparent 70%); }
.thanks-card { position: relative; z-index: 2; max-width: 790px; padding: 62px 70px; text-align: center; background: #fff; box-shadow: var(--shadow); }
.thanks-check { width: 82px; margin: 0 auto 22px; color: var(--blue); }
.thanks-check svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thanks-card .section-kicker::before { display: none; }
.thanks-card h1 { margin: 0 0 20px; color: var(--navy); font-size: 41px; line-height: 1.45; text-wrap: balance; word-break: keep-all; overflow-wrap: break-word; }
.thanks-lead { margin: 0 auto; color: var(--muted); font-size: 15px; }
.thanks-next { margin-top: 42px; padding: 30px; background: var(--pale); text-align: left; }
.thanks-next > span { color: var(--blue); font: 800 11px/1 Arial, sans-serif; letter-spacing: .14em; }
.thanks-next h2 { margin: 7px 0 20px; color: var(--navy); font-size: 20px; }
.thanks-next ol { margin: 0; padding: 0; list-style: none; }
.thanks-next li { display: flex; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.thanks-next li > b { color: #b8540f; font: 800 11px/1.7 Arial, sans-serif; }
.thanks-next li strong { display: block; font-size: 13px; }
.thanks-next li p { margin: 3px 0 0; color: var(--muted); font-size: 14px; }
.mail-trouble { display: flex; gap: 17px; margin-top: 22px; padding: 22px; text-align: left; border: 1px solid var(--line); }
.mail-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; color: var(--blue); background: var(--pale-blue); border-radius: 50%; }
.mail-trouble strong { display: block; font-size: 12px; }
.mail-trouble p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.thanks-actions { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: 11px; font-weight: 800; }

/* Legal */
.legal-hero { padding: 88px 0; color: #fff; background: var(--navy); }
.legal-hero h1 { margin: 0 0 10px; font-size: clamp(38px, 5vw, 54px); line-height: 1.35; }
.legal-hero p:last-child { margin: 0; color: #b9c9da; font-size: 12px; }
.legal-section { background: #fff; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 85px; align-items: start; max-width: 1060px; }
.legal-aside { position: sticky; top: 110px; padding-top: 18px; border-top: 2px solid var(--navy); }
.legal-aside span { color: var(--blue); font: 800 9px/1 Arial, sans-serif; letter-spacing: .14em; }
.legal-aside p { margin: 8px 0; font-size: 13px; font-weight: 800; }
.legal-aside small { display: block; color: var(--muted); font-size: 9px; }
.legal-content { min-width: 0; }
.legal-intro { margin: 0 0 45px; padding: 26px; color: #3e4e62; background: var(--pale); font-size: 13px; }
.legal-content section { margin: 0 0 45px; }
.legal-content section h2 { display: flex; align-items: center; gap: 15px; margin: 0 0 18px; padding-bottom: 13px; color: var(--navy); border-bottom: 1px solid var(--line); font-size: 20px; }
.legal-content section h2 span { color: var(--blue); font: 800 10px/1 Arial, sans-serif; }
.legal-content section p, .legal-content section li { color: #566477; font-size: 12px; line-height: 2; }
.legal-content section ul { padding-left: 1.4em; }
.legal-content section a { color: var(--blue); text-decoration: underline; }
.legal-contact-box { display: flex; flex-direction: column; margin-top: 18px; padding: 20px; background: var(--pale-blue); }
.legal-contact-box strong { color: var(--navy); }
.legal-contact-box span { color: var(--muted); font-size: 10px; }
.legal-admin-note { margin-bottom: 30px; padding: 20px 24px; color: #8f4217; background: #fff4ec; border-left: 4px solid var(--orange); }
.legal-admin-note strong { font-size: 13px; }
.legal-admin-note p { margin: 4px 0 0; font-size: 10px; }
.commerce-table dl { margin: 0; border-top: 2px solid var(--navy); }
.commerce-table dl > div { display: grid; grid-template-columns: 190px 1fr; border-bottom: 1px solid var(--line); }
.commerce-table dt, .commerce-table dd { padding: 20px; }
.commerce-table dt { color: var(--navy); background: var(--pale); font-size: 11px; font-weight: 800; }
.commerce-table dd { margin: 0; color: #536175; font-size: 12px; }
.commerce-table dd small { display: block; margin-top: 4px; color: var(--muted); }
.legal-footnote { margin-top: 22px; color: #7a8797; font-size: 9px; }

/* Course extras */
.course-faq-section { background: var(--pale); }
.course-faq-grid { display: grid; grid-template-columns: 280px 1fr; gap: 75px; }
.course-faq-grid h2 { margin: 0; color: var(--navy); font-size: 33px; line-height: 1.5; }
.course-faq-grid .faq-list { padding: 0 28px; background: #fff; }
.related-courses { background: #fff; }
.related-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 35px; }
.related-heading h2 { margin: 0; color: var(--navy); font-size: 34px; }
.related-heading > a { color: var(--blue); font-size: 11px; font-weight: 800; }
.diag-area-note { margin: 12px 0 0; padding: 10px 12px; color: #44647d; background: var(--pale-blue); font-size: 12px; }
.diag-format-result { margin-top: 18px; padding-top: 14px; color: #fff; border-top: 1px solid rgba(255,255,255,.2); font-size: 11px; font-weight: 800; }
.diag-format-result span { display: block; margin-top: 3px; color: #c7d9e6; font-size: 11px; font-weight: 500; }

/* Motion */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translate(0, 16px); transition: opacity .45s cubic-bezier(.16,.8,.24,1), transform .45s cubic-bezier(.16,.8,.24,1); }
.js .reveal.revealed { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }
.js .challenge-track .challenge-step:nth-child(1) { transition-delay: 0s; }
.js .challenge-track .challenge-step:nth-child(2) { transition-delay: .22s; }
.js .challenge-track .challenge-step:nth-child(3) { transition-delay: .44s; }
.js .challenge-track .challenge-step:nth-child(4) { transition-delay: .66s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .header-resource { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; }
  .mobile-menu { position: fixed; inset: 82px 0 auto; height: calc(100vh - 82px); background: rgba(9,26,52,.98); }
  .mobile-menu.open { display: block; }
  .mobile-menu .container { display: flex; flex-direction: column; padding-top: 35px; }
  .mobile-menu a { padding: 17px 4px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); font-weight: 700; }
  .mobile-menu .button { margin-top: 20px; }
  .hero-copy { padding-right: 12px; }
  .hero h1 { font-size: clamp(26px, 3.8vw, 36px); }
  .hero-layout { grid-template-columns: 55% 45%; }
  .hero-photo-panel { width: 48%; }
  .challenge-track { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .challenge-track::before { display: none; }
  .compare-table { min-width: 620px; }
  .course-content-layout { gap: 40px; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 34px), var(--container)); }
  .section { padding: 78px 0; }
  .header-inner { height: 70px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-type strong { font-size: 18px; }
  .header-cta { display: none; }
  /* CTA非表示時はauto余白のアンカーが消えるため、トグル自身を右端に寄せる */
  .menu-toggle { margin-left: auto; }
  .mobile-menu { top: 70px; height: calc(100vh - 70px); }
  .hero { padding: 54px 0 45px; background: #eef2f5; }
  .hero-layout { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(37px, 11vw, 52px); }
  .hero-lead { font-size: 14px; }
  .hero-photo-panel { position: relative; width: 100%; height: 280px; margin-top: 44px; }
  .hero-photo-panel::before { background: linear-gradient(180deg, #eef2f5 0%, rgba(238,242,245,.4) 14%, rgba(238,242,245,0) 30%); }
  .split-heading, .section-heading-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .diagnosis-inner { grid-template-columns: 1fr; padding: 45px 35px; }
  .diagnosis-button { min-height: 88px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { max-width: 560px; width: 100%; margin-inline: auto; }
  .course-art { height: 250px; }
  .reason-row { grid-template-columns: 45px 1fr; gap: 20px; }
  .reason-visual { grid-column: 2; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(2) { border-right: 0; }
  .flow-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .footer-main, .footer-main.has-contact-card { grid-template-columns: 1fr; gap: 50px; }
  .match-grid { grid-template-columns: 1fr; }
  .lineup-head { flex-direction: column; align-items: flex-start; }
  .pick-card { grid-template-columns: 1fr; }
  .pick-art { min-height: 150px; }
  .course-hero-grid { grid-template-columns: 1fr; }
  .course-hero-art { max-width: 570px; width: 100%; }
  .course-content-layout { grid-template-columns: 1fr; }
  .course-side-card { position: static; }
  .course-apply-band .container { grid-template-columns: 1fr; gap: 25px; }
  .diagnosis-shell { grid-template-columns: 1fr; gap: 45px; }
  .diagnosis-side > a { margin-bottom: 45px; }
  .form-layout { grid-template-columns: 1fr; }
  .form-card { order: -1; }
  .subpage-hero { padding: 85px 0; }
  .subpage-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-hero { padding: 70px 0 60px; }
  .message-layout { grid-template-columns: 1fr; }
  .message-photo { max-width: 260px; margin-inline: auto; }
  .value-detail { grid-template-columns: 45px 1fr; gap: 20px; padding: 30px 0; }
  .overview-table dl > div { grid-template-columns: 1fr; }
  .overview-table dt, .overview-table dd { padding: 16px; }
  .faq-full-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-category-nav { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
  .faq-category-nav > span { grid-column: 1/-1; }
  .faq-contact-band .container { grid-template-columns: 1fr; gap: 28px; }
  .faq-contact-actions { justify-content: flex-start; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-card { order: -1; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; }
  .legal-aside { position: static; }
  .course-faq-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 560px) {
  .desktop-only { display: none; }
  .section { padding: 66px 0; }
  .hero-label { align-items: flex-start; flex-direction: column; gap: 7px; }
  .hero h1 { font-size: 38px; }
  .hero-actions, .final-actions { flex-direction: column; }
  .hero-actions .button-primary { min-width: 0; }
  .hero-actions .button { width: 100%; }
  .hero-photo-panel { height: 220px; }
  .challenge-track { grid-template-columns: 1fr; row-gap: 32px; }
  .challenge-step { flex-direction: row; text-align: left; gap: 18px; }
  .challenge-step .ic { width: 52px; height: 52px; font-size: 19px; margin-bottom: 0; }
  .diagnosis-inner { width: 100%; padding: 38px 24px; }
  .diagnosis-copy h2 { font-size: 28px; }
  .diagnosis-points { flex-wrap: wrap; }
  .course-art { height: 210px; }
  .reason-row { grid-template-columns: 1fr; padding: 45px 0; }
  .reason-number { margin-bottom: -10px; }
  .reason-copy h3 { font-size: 24px; }
  .reason-visual { grid-column: 1; min-height: 200px; }
  .visual-one { gap: 18px; }
  .vo-circle { width: 76px; height: 76px; font-size: 11px; }
  .vo-arrow { width: 32px; }
  .visual-two div { min-width: 108px; padding: 20px 8px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-step { min-height: 245px; border-right: 0; border-bottom: 1px solid var(--line); }
  .flow-icon { margin-bottom: 25px; }
  .faq-list summary { grid-template-columns: 30px 1fr 25px; min-height: 82px; gap: 9px; font-size: 13px; }
  .faq-list details > div { padding: 0 34px 25px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .unsure-inner { padding: 24px 22px; }
  .pick-body { padding: 26px 22px; }
  .pick-meta { gap: 22px; }
  .course-hero { padding-top: 50px; }
  .course-hero h1 { font-size: 38px; }
  .course-hero-meta { gap: 20px; }
  .course-hero-art { padding: 28px; }
  .course-anchor-nav a { padding: 15px 4px; font-size: 11px; }
  .course-info-table dl > div { grid-template-columns: 1fr; gap: 5px; }
  .diagnosis-stage { padding-top: 45px; }
  .diagnosis-app { min-height: 510px; padding: 28px 22px; }
  .diagnosis-app h2 { font-size: 23px; }
  .diag-result-actions { flex-direction: column; }
  .form-card { padding: 25px 20px; }
  .form-page-head h1 { font-size: 34px; }
  .subpage-hero { padding: 70px 0; }
  .subpage-hero h1 { font-size: 39px; }
  .course-main-content h2 { font-size: 26px; }
  .about-cta-inner { padding: 24px 22px; }
  .faq-category-nav { grid-template-columns: 1fr; }
  .faq-group { margin-bottom: 50px; }
  .faq-groups .faq-list { padding-inline: 15px; }
  .faq-contact-actions { flex-direction: column; }
  .faq-contact-actions .button { width: 100%; }
  .contact-form-card { padding: 28px 20px; }
  .thanks-stage { padding: 50px 0 70px; }
  .thanks-card { width: calc(100% - 30px); padding: 42px 20px; }
  .thanks-card h1 { font-size: 31px; }
  .thanks-next { padding: 23px 18px; }
  .mail-trouble { padding: 18px; }
  .thanks-actions { flex-direction: column; }
  .legal-hero { padding: 65px 0; }
  .legal-content section h2 { align-items: flex-start; font-size: 18px; }
  .commerce-table dl > div { grid-template-columns: 1fr; }
  .commerce-table dt, .commerce-table dd { padding: 16px; }
  .course-faq-grid .faq-list { padding-inline: 14px; }
  .related-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
}

/* Global refinements */
/* Header resource button (all pages) */
.header-resource { color: var(--navy); background: #fff; border-color: var(--navy); min-height: 46px; padding: 10px 18px; white-space: nowrap; }

/* Footer contact card — the third column appears once the LINE URL is set(デスクトップのみ。
   モバイル/タブレットは820px以下のメディアクエリ側で1カラムに戻す) */
@media (min-width: 821px) {
  .footer-main.has-contact-card { grid-template-columns: 1fr 1.25fr .75fr; gap: 60px; }
}
.footer-contact-card { padding: 22px; border: 1px solid rgba(255,255,255,.28); }
.footer-contact-card small, .footer-contact-card span { display: block; color: #b8cade; font-size: 11px; }
.footer-line-heading { display: block; margin: 6px 0 10px; color: #fff; font-size: 19px; font-weight: 800; line-height: 1.35; }
.footer-line-lead { margin: 0 0 16px; color: #dcecf5; font-size: 12.5px; line-height: 1.7; }
.footer-line-button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 16px; color: #fff; background: #03702e; border-radius: 5px; font-size: 14px; font-weight: 800; transition: background .2s, transform .2s; }
.footer-line-button:hover { background: #025022; transform: translateY(-2px); }
.footer-line-card span { margin-top: 12px; }

/* Site-wide floating LINE CTA ミニカード(全ページ共通。閉じるとlocalStorageに記憶され再表示しない) */
.line-float-banner { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 230px; padding: 18px 20px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(16,37,74,.16); }
.line-float-banner.is-hidden { display: none; }
.line-float-heading { margin: 0 0 12px; padding-right: 14px; color: var(--navy); font-size: 14px; font-weight: 800; line-height: 1.5; }
.line-float-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 13px 16px; color: #fff; background: #03702e; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s, background .2s; }
.line-float-cta:hover { background: #025022; transform: translateY(-2px); }
.line-float-cta svg { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
.line-float-close { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 50%; font-size: 12px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.line-float-close:hover { background: var(--pale); color: var(--navy); }
@media (max-width: 560px) {
  .line-float-banner { right: 14px; bottom: 14px; width: 198px; padding: 16px 16px 18px; }
  .line-float-heading { font-size: 13px; }
}

/* Representative photo placeholder until the real photo is set */
.message-photo { position: relative; background: linear-gradient(150deg, #dcecf6, #b9d8ec); }
.message-photo::before { content: ""; position: absolute; left: 50%; top: 38%; width: 88px; height: 88px; transform: translate(-50%, -50%); background: #fff; border-radius: 50%; opacity: .9; }
.message-photo::after { content: ""; position: absolute; left: 50%; top: 56%; width: 170px; height: 180px; transform: translateX(-50%); background: #fff; border-radius: 85px 85px 0 0; opacity: .9; }
.message-photo img { position: relative; z-index: 2; }
.message-photo .unset-value { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; white-space: nowrap; }

/* Comparison table on narrow screens: state that it scrolls */
.table-scroll-hint { display: none; }
@media (max-width: 820px) {
  .table-scroll-hint { display: block; margin: 10px 2px 0; color: var(--muted); font-size: 11px; }
}

/* Keep multi-line headings breaking at meaningful points */
.u-nobr { display: inline-block; }
/* Short loanwords/terms that must never split mid-word, at any width */
.u-keep { white-space: nowrap; }
/* CJKの語中(特にカタカナの外来語)で改行されるのを防ぐ。動的なタイトルにも効くようセレクタで一括適用 */
.hero h1, .centered-heading h2, .results-hero h1, .course-hero h1, .subpage-hero h1, .about-hero h1, .course-card h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.sp-only { display: none; }
@media (max-width: 560px) {
  .sp-only { display: inline; }
  .results-hero h1 { font-size: 28px; }
  .centered-heading h2 { font-size: 30px; }
  .faq-contact-band h2 { font-size: 26px; }
  .error-page h1 { font-size: 28px; }
  /* 狭幅では固定フレーズ化が偏った改行を生むため、自然な折り返しに戻す */
  .u-nobr { display: inline; }
}

/* Readability floor for multi-sentence body text */
.message-copy p { font-size: 15px; }
.contact-intro li { font-size: 13px; }
