:root {
  --navy: #142d3d;
  --navy-deep: #0b2332;
  --navy-soft: #264659;
  --copper: #a96f4f;
  --copper-light: #d2a484;
  --cta: #c96f32;
  --cta-hover: #df8240;
  --paper: #f5f3ed;
  --paper-2: #ebe9e3;
  --ink: #1d2b35;
  --muted: #68727a;
  --rule: rgba(27, 47, 60, .18);
  --serif: "BIZ UDPMincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", "Times New Roman", serif;
  --sans: "BIZ UDPGothic", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; white-space: nowrap; }
.sp-only { display: none; }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  min-height: 72px;
  padding: 10px max(36px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgba(26, 44, 54, .15);
  background: rgba(248, 247, 243, .97);
}
.brand { display: flex; flex-direction: column; line-height: 1.25; }
.brand span { font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 600; letter-spacing: .1em; white-space: nowrap; }
.brand small { margin-top: 4px; color: #646e74; font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.site-header nav { display: flex; justify-content: flex-end; gap: clamp(18px, 2.2vw, 36px); }
.site-header nav a { position: relative; font-size: 13px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; }
.site-header nav a::after { position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; content: ""; background: var(--copper); transform: scaleX(0); transition: transform .22s ease; }
.site-header nav a:hover::after { transform: scaleX(1); }

.line-button {
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 0;
  color: #fff;
  background: var(--navy);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .075em;
  transition: background .2s ease, transform .2s ease;
}
.line-button:hover { background: var(--navy-soft); transform: translateY(-1px); }
.line-button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
.line-button--header { min-height: 46px; padding: 0 22px; border-color: var(--cta); font-size: 13px; background: var(--cta); box-shadow: 0 7px 18px rgba(120, 58, 22, .2); }
.line-button--header:hover { background: var(--cta-hover); }
.line-button--copper { color: #fff; border-color: var(--cta); background: var(--cta); box-shadow: 0 9px 22px rgba(120, 58, 22, .2); }
.line-button--copper:hover { background: var(--cta-hover); }

.hero { position: relative; height: 500px; overflow: hidden; background: #172d3a; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 56%; filter: saturate(.55) contrast(1.02) hue-rotate(142deg); }
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246,244,238,.98) 0, rgba(246,244,238,.96) 34%, rgba(246,244,238,.74) 49%, rgba(10,30,42,.12) 65%, rgba(7,24,34,.4) 100%),
    linear-gradient(0deg, rgba(8,26,37,.22), transparent 44%);
}
.hero__inner { position: relative; z-index: 2; width: min(1320px, calc(100% - 72px)); height: 100%; margin: 0 auto; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 53%; height: 100%; padding: 24px 0 20px; }
.eyebrow { margin: 0 0 13px; color: var(--copper); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 3.7vw, 58px); font-weight: 500; line-height: 1.38; letter-spacing: .035em; }
.hero__lead { margin: 19px 0 20px; color: #3f4e57; font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.9; }
.hero__copy .line-button { min-width: 330px; }
.hero__vertical { position: absolute; z-index: 3; right: 30px; top: 50%; margin: 0; color: rgba(255,255,255,.84); font-family: var(--serif); font-size: 13px; letter-spacing: .15em; writing-mode: vertical-rl; transform: translateY(-50%); }

.page-section { position: relative; width: min(1320px, calc(100% - 72px)); margin: 0 auto; }
.section-index { min-width: 94px; color: #7f8a91; }
.section-index b { display: block; color: var(--navy); font-family: var(--serif); font-size: 61px; font-weight: 400; line-height: .92; }
.section-index span { display: block; margin-top: 11px; font-family: Georgia, serif; font-size: 9px; font-weight: 600; line-height: 1.55; letter-spacing: .06em; }
.section-index--light { color: rgba(255,255,255,.58); }
.section-index--light b { color: #fff; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(29px, 2.45vw, 38px); font-weight: 600; line-height: 1.45; letter-spacing: .035em; }
.section-heading > p { margin: 7px 0 0; color: #59666e; font-size: 14px; font-weight: 600; line-height: 1.75; }

.diagnosis { display: grid; grid-template-columns: 98px minmax(390px, 1fr) minmax(420px, .95fr); gap: 38px; padding: 68px 0 56px; }
.diagnosis > .section-index { padding-top: 8px; border-right: 1px solid rgba(169,111,79,.55); }
.diagnosis__patterns { padding-right: 10px; }
.pattern-list { margin: 21px 0 0; padding: 0; list-style: none; }
.pattern-list li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--rule); }
.pattern-list li:first-child { border-top: 0; padding-top: 8px; }
.pattern-list li > b { color: var(--copper); font-family: Georgia, serif; font-size: 14px; font-weight: 500; }
.pattern-list h3 { margin: 0; font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.55; }
.pattern-list p { margin: 5px 0 0; color: #59666e; font-size: 13px; font-weight: 500; line-height: 1.75; }

.diagnosis-card { align-self: stretch; margin: 0; padding: 25px 29px 28px; border: 1px solid rgba(31,48,59,.32); background: rgba(250,249,245,.87); box-shadow: 0 16px 36px rgba(31,43,51,.06); }
.diagnosis-card__head { padding-bottom: 13px; border-bottom: 1px solid var(--rule); }
.diagnosis-card__head p { margin: 0 0 3px; color: var(--copper); font-family: Georgia, serif; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.diagnosis-card__head h2 { margin: 0; font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .025em; }
.diagnosis-card__head span { color: #606c73; font-size: 12px; font-weight: 600; }
.diagnosis-card fieldset { margin: 13px 0 0; padding: 0; border: 0; }
.diagnosis-card label { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: center; min-height: 40px; border-bottom: 1px solid rgba(31,48,59,.1); color: #334650; font-size: 13px; font-weight: 600; cursor: pointer; }
.diagnosis-card input { appearance: none; width: 16px; height: 16px; margin: 0; border: 1px solid #8c979d; background: #fff; }
.diagnosis-card input:checked { border-color: var(--copper); background: var(--copper); }
.diagnosis-card input:checked::after { display: block; width: 7px; height: 4px; margin: 3px 0 0 3px; border: solid #fff; border-width: 0 0 2px 2px; content: ""; transform: rotate(-45deg); }
.diagnosis-result { margin-top: 16px; }
.diagnosis-result > div:first-child { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.diagnosis-result > div > span { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.diagnosis-result strong { color: var(--navy); font-family: Georgia, serif; font-size: 42px; font-weight: 400; line-height: 1; }
.diagnosis-result strong small { margin-left: 2px; font-size: 17px; }
.score-track { height: 8px; margin-top: 7px; background: #dddcd8; }
.score-track i { display: block; height: 100%; background: linear-gradient(90deg, #9b6245, #c18b68); transition: width .35s ease; }
.diagnosis-result > small { display: block; margin-top: 10px; color: #747d82; font-size: 10px; font-weight: 500; line-height: 1.65; }
.diagnosis-cta { display: grid; place-items: center; width: 100%; min-height: 50px; margin-top: 14px; color: #fff; background: var(--cta); box-shadow: 0 9px 22px rgba(120, 58, 22, .18); font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.diagnosis-cta:hover { background: var(--cta-hover); }

.section-bridge { display: flex; align-items: center; justify-content: center; gap: 26px; height: 58px; background: #f1efe9; }
.section-bridge span { width: 90px; height: 1px; background: #89939a; }
.section-bridge p { margin: 0; font-family: var(--serif); font-size: 16px; letter-spacing: .1em; }

.framework { display: grid; grid-template-columns: 98px 1fr; gap: 38px; padding: 58px 0 68px; isolation: isolate; }
.framework::before {
  position: absolute;
  z-index: -2;
  top: 0;
  right: calc((100vw - 100%) / -2);
  bottom: 0;
  left: calc((100vw - 100%) / -2);
  content: "";
  border-top: 1px solid rgba(31, 50, 61, .08);
  border-bottom: 1px solid rgba(31, 50, 61, .12);
  background:
    radial-gradient(circle at 82% 22%, rgba(172, 117, 82, .09), transparent 30%),
    linear-gradient(105deg, rgba(255,255,255,.74), rgba(229,228,222,.88)),
    #ebe9e3;
}
.framework::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc((100vw - 100%) / -2);
  bottom: 0;
  left: 32%;
  content: "";
  opacity: .075;
  background: url("assets/curriculum-workbook.png") right 44% / min(720px, 58vw) auto no-repeat;
  filter: grayscale(1) sepia(.18) hue-rotate(145deg) contrast(.78);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 35%, #000 100%);
}
.framework > .section-index { padding-top: 12px; border-right: 1px solid rgba(169,111,79,.55); }
.framework__content { padding-right: 40px; }
.framework-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin: 28px 0 0; padding: 0; list-style: none; }
.framework-list li { position: relative; min-height: 170px; padding: 23px 24px; border: 1px solid rgba(32,51,63,.24); background: rgba(250,249,245,.88); box-shadow: 0 8px 18px rgba(20,40,52,.04); }
.framework-list li:not(:last-child)::after { position: absolute; right: -27px; top: 50%; width: 17px; height: 17px; border-top: 1px solid var(--navy); border-right: 1px solid var(--navy); content: ""; transform: translateY(-50%) rotate(45deg); }
.framework-list em { color: var(--copper); font-family: Georgia, serif; font-size: 14px; font-style: normal; font-weight: 600; letter-spacing: .08em; }
.framework-list h3 { margin: 2px 0 10px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.framework-list p { margin: 0; color: #59666e; font-size: 13px; font-weight: 500; line-height: 1.75; }
.framework__closing { margin: 20px 0 0; font-family: var(--serif); font-size: 15px; font-weight: 600; text-align: right; letter-spacing: .05em; }

.record { position: relative; min-height: 625px; overflow: hidden; color: #fff; background: var(--navy-deep); }
.record > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; filter: saturate(.45) contrast(1.1) hue-rotate(145deg); }
.record__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,39,.97) 0 20%, rgba(7,27,39,.58) 42%, rgba(7,27,39,.35) 67%, rgba(7,27,39,.92) 100%), linear-gradient(0deg, rgba(5,23,34,.5), transparent 36%); }
.record__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 98px minmax(620px, 1fr) 280px; gap: 38px; width: min(1320px, calc(100% - 72px)); min-height: 625px; margin: 0 auto; padding: 62px 0; }
.record__inner > .section-index { padding-top: 10px; border-right: 1px solid rgba(210,164,132,.55); }
.section-heading--light h2 { color: #fff; }
.section-heading--light > p { color: rgba(255,255,255,.68); }
.record-book { display: grid; grid-template-columns: 1fr 1fr; max-width: 760px; min-height: 375px; margin-top: 24px; color: #293942; filter: drop-shadow(0 24px 30px rgba(0,0,0,.24)); transform: rotate(-1deg); }
.record-page { position: relative; padding: 32px 34px; background: #f4f0e7; }
.record-page::before { position: absolute; inset: 0; content: ""; opacity: .25; background: repeating-linear-gradient(0deg, transparent 0 29px, rgba(50,73,86,.16) 29px 30px); }
.record-page > * { position: relative; z-index: 1; }
.record-page--before { border-radius: 7px 0 0 7px; box-shadow: inset -12px 0 24px rgba(66,53,38,.08); }
.record-page--after { border-radius: 0 7px 7px 0; box-shadow: inset 12px 0 24px rgba(66,53,38,.08); }
.record-page > p { margin: 0; color: #5f6b71; font-family: Georgia, serif; font-size: 15px; font-style: italic; font-weight: 600; }
.record-page h3 { margin: 3px 0 24px; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.record-page ul { margin: 0; padding-left: 22px; color: #4f5f67; font-family: var(--serif); font-size: 14px; font-weight: 600; line-height: 2.35; }
.record-page strong { display: block; margin-top: 28px; color: #625149; font-family: var(--serif); font-size: 13px; font-weight: 600; }
.record-page dl { margin: 0; }
.record-page dl div { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(45,59,66,.18); font-size: 12px; font-weight: 600; }
.record-page dt { padding: 1px 4px; border: 1px solid #829098; text-align: center; }
.record-page dd { margin: 0; }
.record__message { align-self: center; margin: 100px 0 0; padding-left: 32px; border-left: 1px solid rgba(210,164,132,.5); font-family: var(--serif); font-size: 20px; line-height: 2.2; letter-spacing: .07em; }
.record__message span { white-space: nowrap; }

.workbook { display: grid; grid-template-columns: 98px minmax(560px, 1.2fr) minmax(270px, .65fr); gap: 38px; padding: 62px 0 70px; }
.workbook > .section-index { padding-top: 10px; border-right: 1px solid rgba(169,111,79,.55); }
.workbook__main .section-heading { margin-bottom: 24px; }
.workbook__visual { position: relative; display: grid; grid-template-columns: 38% 62%; min-height: 350px; margin: 0; overflow: hidden; box-shadow: 0 20px 45px rgba(31,42,49,.13); transform: perspective(1000px) rotateX(1.5deg); }
.workbook__cover { display: flex; flex-direction: column; justify-content: center; padding: 35px; color: #fff; background: linear-gradient(145deg, #183b4d, #0b2433); }
.workbook__cover::after { width: 100%; height: 100px; margin-top: 30px; content: ""; opacity: .75; background: url("assets/hero-library.png") 65% 55% / 235% auto no-repeat; }
.workbook__cover span { font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.workbook__cover b { margin-top: 6px; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.5; }
.workbook__cover small { margin-top: 8px; color: rgba(255,255,255,.76); font-size: 10px; font-weight: 600; }
.workbook__visual > img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.workbook__chapters { align-self: end; margin: 0; padding: 0 0 4px; list-style: none; }
.workbook__chapters li { padding: 0 0 21px 22px; border-left: 1px solid var(--copper); }
.workbook__chapters li + li { padding-top: 18px; }
.workbook__chapters b { color: var(--copper); font-size: 11px; font-weight: 700; }
.workbook__chapters h3 { margin: 2px 0 5px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.workbook__chapters p { margin: 0; color: #56646c; font-size: 13px; font-weight: 500; line-height: 1.75; }
.workbook__closing { position: absolute; right: 0; bottom: 30px; margin: 0; font-family: var(--serif); font-size: 14px; font-weight: 600; letter-spacing: .05em; }

.teacher { display: grid; grid-template-columns: 350px minmax(480px, 1fr) 230px; gap: 42px; align-items: center; min-height: 470px; padding: 60px 0; border-top: 1px solid var(--rule); }
.teacher__portrait { position: relative; align-self: stretch; margin: 0; min-height: 350px; overflow: hidden; }
.teacher__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; filter: saturate(.67) contrast(1.04); }
.teacher__portrait figcaption { position: absolute; right: 7px; bottom: 5px; padding: 2px 5px; color: rgba(255,255,255,.8); background: rgba(0,0,0,.38); font-size: 8px; }
.teacher__copy > p { margin: 24px 0; color: #485a64; font-family: var(--serif); font-size: 14px; font-weight: 600; line-height: 2.05; }
.teacher__copy dl { margin: 0; padding-top: 16px; border-top: 1px solid var(--rule); }
.teacher__copy dl div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; font-size: 13px; }
.teacher__copy dt { color: var(--copper); font-weight: 700; }
.teacher__copy dd { margin: 0; }
.teacher__principles { margin: 0; padding: 0 0 0 24px; list-style: none; border-left: 1px solid var(--copper); }
.teacher__principles li { padding: 19px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 17px; font-weight: 600; }

.faq { display: grid; grid-template-columns: 290px 1fr; gap: 62px; align-items: start; padding: 60px 0 66px; border-top: 1px solid var(--rule); }
.faq .section-heading { padding-top: 5px; }
.faq__list { border-top: 1px solid var(--rule); }
.faq__pair { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: 28px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.faq__question, .faq__answer { display: grid; grid-template-columns: 32px 1fr; gap: 10px; margin: 0; }
.faq__question { font-family: var(--serif); font-size: 14px; font-weight: 600; }
.faq__answer { color: #56646c; font-size: 13px; font-weight: 500; line-height: 1.75; }
.faq__question span, .faq__answer span { color: var(--copper); font-family: Georgia, serif; font-size: 13px; }

.line-entry { position: relative; display: grid; grid-template-columns: 280px 1fr 340px; gap: 52px; align-items: center; min-height: 390px; padding: 48px max(40px, calc((100vw - 1220px) / 2)); overflow: hidden; color: #fff; background: #0b3549; }
.line-entry::before { position: absolute; inset: 0; content: ""; opacity: .17; background: url("assets/line-library.png") center / cover no-repeat; }
.line-entry::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(8,39,55,.4), rgba(8,39,55,.94) 72%); }
.line-entry > * { position: relative; z-index: 2; }
.line-entry__phone { align-self: end; height: 330px; padding: 12px 12px 0; border: 7px solid #111b22; border-bottom: 0; border-radius: 34px 34px 0 0; background: #e4e8e7; box-shadow: 0 20px 60px rgba(0,0,0,.32); }
.phone-screen { height: 100%; color: #26343b; background: linear-gradient(#d7e2e8 0 60px, #edf0ee 60px); }
.phone-screen__bar { display: grid; place-items: center; height: 60px; border-bottom: 1px solid #b7c5cc; font-size: 12px; font-weight: 700; }
.phone-screen__message { margin: 28px 16px; padding: 17px; border-radius: 3px 15px 15px 15px; background: #fff; font-family: var(--serif); font-size: 12px; line-height: 1.8; box-shadow: 0 7px 18px rgba(50,67,76,.12); }
.line-entry h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: .04em; }
.line-entry__content > p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; }
.line-entry__content ul { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; margin: 21px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.28); list-style: none; }
.line-entry__content li { position: relative; padding-left: 17px; font-family: var(--serif); font-size: 13px; font-weight: 600; }
.line-entry__content li::before { position: absolute; left: 0; top: .72em; width: 8px; height: 1px; content: ""; background: var(--copper-light); }
.line-entry__action { padding-left: 38px; border-left: 1px solid rgba(255,255,255,.25); }
.line-entry__action p { margin: 0 0 20px; color: rgba(255,255,255,.78); font-size: 13px; font-weight: 600; }
.line-entry__action p b { color: #fff; font-family: var(--serif); font-size: 17px; }
.line-entry__action .line-button { width: 100%; }

.risk-notice { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; min-height: 112px; margin: 0; padding: 25px max(40px, calc((100vw - 1220px) / 2)); border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.78); background: #0b3549; }
.risk-notice h2 { margin: 0; color: #fff; font-family: var(--serif); font-size: 16px; font-weight: 500; }
.risk-notice p { margin: 0; font-size: 11px; font-weight: 500; line-height: 1.75; }

.site-footer { display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 40px; align-items: center; min-height: 145px; padding: 34px max(40px, calc((100vw - 1220px) / 2)) 44px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.65); background: var(--navy-deep); }
.site-footer__brand { display: flex; flex-direction: column; }
.site-footer__brand b { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 23px; letter-spacing: .1em; }
.site-footer__brand span { font-size: 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.site-footer nav a, .site-footer > p { margin: 0; font-size: 10px; font-weight: 600; }
.site-footer nav a:hover { color: #fff; }

.mobile-sticky { display: none; background: var(--cta); box-shadow: 0 12px 30px rgba(103, 47, 18, .3); }
dialog { width: min(430px, calc(100% - 32px)); padding: 38px; border: 1px solid rgba(28,45,56,.25); color: var(--ink); background: var(--paper); box-shadow: 0 24px 90px rgba(0,0,0,.28); text-align: center; }
dialog::backdrop { background: rgba(7,22,31,.7); }
.dialog-kicker { margin: 0; color: var(--copper); font-family: Georgia, serif; font-size: 9px; letter-spacing: .2em; }
dialog h2 { margin: 8px 0 14px; font-family: var(--serif); font-size: 25px; }
dialog > p:not(.dialog-kicker) { color: var(--muted); font-size: 12px; }
.dialog-close { position: absolute; top: 8px; right: 11px; border: 0; background: transparent; font-size: 25px; }
.dialog-ok { min-height: 42px; padding: 0 35px; border: 0; color: #fff; background: var(--navy); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .72s ease var(--reveal-delay, 0ms), transform .72s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .site-header { gap: 24px; }
  .site-header nav { gap: 17px; }
  .site-header nav a { font-size: 10px; }
  .diagnosis { grid-template-columns: 78px minmax(330px, 1fr) minmax(380px, .95fr); gap: 25px; }
  .record__inner { grid-template-columns: 80px 1fr 220px; gap: 26px; }
  .workbook { grid-template-columns: 78px 1fr 250px; gap: 25px; }
  .teacher { grid-template-columns: 300px 1fr 190px; gap: 30px; }
  .line-entry { grid-template-columns: 230px 1fr 285px; gap: 34px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .site-header { grid-template-columns: 1fr auto; min-height: 64px; padding: 9px 20px; }
  .site-header nav { display: none; }
  .brand span { font-size: 20px; }
  .line-button--header { min-height: 40px; padding: 0 13px; font-size: 10px; }
  .hero { height: auto; padding-top: 255px; background: var(--paper); }
  .hero__image { height: 285px; object-position: 62% 58%; }
  .hero__veil { height: 285px; background: linear-gradient(0deg, rgba(8,26,37,.18), transparent 55%); }
  .hero__inner { width: 100%; }
  .hero__copy { width: 100%; height: auto; padding: 34px 24px 38px; background: var(--paper); }
  .hero h1 { font-size: clamp(34px, 9.7vw, 46px); }
  .hero__lead { font-size: 14px; }
  .hero__copy .line-button { width: 100%; min-width: 0; }
  .hero__vertical { display: none; }
  .page-section { width: calc(100% - 40px); }
  .section-index { display: flex; align-items: baseline; gap: 13px; min-width: 0; }
  .section-index b { font-size: 45px; }
  .section-index span { margin: 0; }
  .section-heading h2 { font-size: 27px; }
  .diagnosis { display: block; padding: 48px 0 50px; }
  .diagnosis > .section-index, .framework > .section-index, .workbook > .section-index { margin-bottom: 27px; padding: 0 0 15px; border-right: 0; border-bottom: 1px solid rgba(169,111,79,.5); }
  .diagnosis__patterns { padding: 0; }
  .pattern-list { margin-top: 20px; }
  .pattern-list li { grid-template-columns: 35px 1fr; }
  .pattern-list h3 { font-size: 16px; }
  .diagnosis-card { margin-top: 32px; padding: 23px 20px 24px; }
  .diagnosis-card__head h2 { font-size: 22px; }
  .diagnosis-card label { min-height: 46px; font-size: 13px; }
  .diagnosis-result > div > span { font-size: 14px; }
  .diagnosis-result strong { font-size: 38px; }
  .section-bridge { gap: 14px; padding: 0 20px; }
  .section-bridge span { width: 45px; }
  .section-bridge p { font-size: 13px; white-space: nowrap; }
  .framework { display: block; padding: 48px 0 54px; }
  .framework::after { left: 0; opacity: .055; background-position: 75% 58%; background-size: auto 78%; }
  .framework__content { padding: 0; }
  .framework-list { grid-template-columns: 1fr; gap: 16px; }
  .framework-list li { min-height: 0; }
  .framework-list li::after { display: none; }
  .framework__closing { text-align: left; }
  .record { min-height: 0; }
  .record > img { object-position: 34% center; }
  .record__shade { background: rgba(7,27,39,.84); }
  .record__inner { display: block; width: calc(100% - 40px); min-height: 0; padding: 48px 0 56px; }
  .record__inner > .section-index { margin-bottom: 25px; padding-bottom: 15px; border-right: 0; border-bottom: 1px solid rgba(210,164,132,.5); }
  .record-book { grid-template-columns: 1fr; min-height: 0; transform: none; }
  .record-page { min-height: 290px; padding: 26px 24px; }
  .record-page--before { border-radius: 7px 7px 0 0; }
  .record-page--after { border-radius: 0 0 7px 7px; }
  .record__message { margin: 28px 0 0; font-size: 17px; }
  .workbook { display: block; padding: 48px 0 62px; }
  .workbook__visual { grid-template-columns: 42% 58%; min-height: 290px; }
  .workbook__cover { padding: 21px; }
  .workbook__cover b { font-size: 19px; }
  .workbook__cover::after { height: 70px; margin-top: 20px; }
  .workbook__chapters { margin-top: 34px; }
  .workbook__closing { position: static; margin: 20px 0 0; text-align: right; }
  .teacher { grid-template-columns: 42% 1fr; gap: 28px; min-height: 0; padding: 50px 0; }
  .teacher__portrait { min-height: 420px; }
  .teacher__copy > p { font-size: 12px; }
  .teacher__principles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; border-top: 1px solid var(--copper); border-left: 0; }
  .teacher__principles li { padding: 14px 8px; font-size: 13px; text-align: center; }
  .faq { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 54px; }
  .line-entry { grid-template-columns: 185px 1fr; gap: 30px; min-height: 0; padding: 48px 24px 0; }
  .line-entry__phone { height: 300px; }
  .line-entry__content { align-self: start; }
  .line-entry__content ul { grid-template-columns: 1fr; gap: 8px; }
  .line-entry__action { grid-column: 1 / -1; padding: 28px 0 44px; border-top: 1px solid rgba(255,255,255,.2); border-left: 0; text-align: center; }
  .line-entry__action .line-button { width: min(440px, 100%); }
  .risk-notice { grid-template-columns: 1fr; gap: 8px; padding: 26px 24px; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; padding: 36px 24px 58px; }
  .mobile-sticky { position: fixed; z-index: 40; right: 12px; bottom: 10px; left: 12px; display: block; width: calc(100% - 24px); min-height: 54px; box-shadow: 0 12px 32px rgba(5,25,36,.28); transform: translateY(90px); transition: transform .25s ease; }
  .mobile-sticky.is-visible { transform: translateY(0); }
}

@media (max-width: 560px) {
  .site-header { padding-right: 14px; padding-left: 14px; }
  .brand small { display: none; }
  .line-button--header { padding: 0 10px; }
  .hero { padding-top: 225px; }
  .hero__image, .hero__veil { height: 255px; }
  .hero__copy { padding: 30px 20px 34px; }
  .hero h1 { font-size: 30px; line-height: 1.5; }
  .hero__lead br { display: none; }
  .page-section, .record__inner { width: calc(100% - 36px); }
  .section-heading h2 { font-size: 24px; }
  .diagnosis-card__head h2 { font-size: 20px; }
  .diagnosis-result > div:first-child { align-items: center; }
  .diagnosis-result > div > span { max-width: 190px; font-size: 16px; }
  .workbook__visual { grid-template-columns: 1fr; }
  .workbook__cover { min-height: 245px; }
  .workbook__visual > img { height: 245px; }
  .teacher { display: block; }
  .teacher__portrait { height: 410px; min-height: 0; margin-bottom: 28px; }
  .teacher__principles { margin-top: 28px; }
  .teacher__principles li { font-size: 11px; }
  .faq__pair { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .faq__question, .faq__answer { grid-template-columns: 27px 1fr; gap: 9px; }
  .line-entry { display: flex; flex-direction: column; padding: 44px 20px 0; }
  .line-entry__phone { order: 2; align-self: center; width: min(260px, 78vw); height: 300px; }
  .line-entry__content { order: 1; width: 100%; }
  .line-entry h2 { font-size: 24px; }
  .line-entry__action { order: 3; width: 100%; }
  .sp-only { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
