@font-face {
  font-family: "Lesson Sans";
  src: url("/lesson/fonts/lesson-sans-jp.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --lesson-font: "Lesson Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --lesson-header-height: 96px;
  --lesson-title-size: clamp(1.55rem, 1.1rem + 1.5vw, 2.25rem);
  --lesson-subheading-size: clamp(1.1rem, .9rem + .5vw, 1.4rem);
  --lesson-muted: #667b77;
  --lesson-ink: #293b3b;
  --lesson-accent: #336876;
  --lesson-mint: #e4efeb;
  --lesson-paper: #faf9f5;
  --lesson-line: #d6dfda;
  --lesson-space: clamp(3rem, 6vw, 6rem);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; background: var(--lesson-paper); color: var(--lesson-ink); font-family: var(--lesson-font); font-size: 16px; font-weight: 400; line-height: 1.95; letter-spacing: .025em; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
a { color: var(--lesson-accent); text-underline-offset: .25em; }
a:hover { color: #204b56; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #b56e2c; outline-offset: 5px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--lesson-font); font-weight: 350; line-height: 1.6; letter-spacing: .055em; text-wrap: balance; }
#lesson-main { outline: none; }
#lesson-main .row { margin-inline: 0; }
#lesson-main [class*="col-"] { min-width: 0; }
.visually-hidden-h1, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.lesson-skip { position: fixed; top: 8px; left: 12px; z-index: 50; padding: .6rem 1rem; background: #fff; transform: translateY(-160%); }
.lesson-skip:focus { transform: none; }
.lesson-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: var(--lesson-header-height); padding: 1rem clamp(1.25rem, 3vw, 3rem); background: transparent; transition: background-color .2s ease, backdrop-filter .2s ease; }
.lesson-brand { display: flex; align-items: center; flex: 0 1 180px; min-width: 140px; }
.lesson-brand img { display: block; width: 100%; max-height: 48px; object-fit: contain; }
.lesson-navigation { display: grid; flex: 1; align-items: center; justify-content: flex-end; grid-template-columns: 48px 58px 86px 72px 98px 86px; gap: .5rem 1rem; }
.lesson-navigation a { display: block; height: 42px; font-size: 13px; line-height: 26px; letter-spacing: .04em; padding-block: .5rem; white-space: nowrap; color: var(--lesson-ink); text-decoration: none; }
.lesson-navigation a:hover { color: var(--lesson-accent); text-decoration: underline; text-decoration-thickness: 1px; }
.lesson-navigation a[aria-current], .lesson-menu a[aria-current] { color: var(--lesson-accent); text-decoration: underline; text-decoration-thickness: 2px; }
.lesson-menu-toggle { display: none; flex: 0 0 auto; align-items: center; gap: 1rem; width: 130px; height: 48px; min-height: 48px; border: 0; border-radius: 0; background: transparent; color: var(--lesson-accent); padding: .5rem 1rem; white-space: nowrap; }
.lesson-menu, .lesson-video-dialog { color: var(--lesson-ink); background: var(--lesson-paper); border: 0; }
.lesson-menu:not([open]), .lesson-video-dialog:not([open]) { display: none; }
.lesson-menu { position: fixed; inset: 0 0 0 auto; width: min(440px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: clamp(1.25rem, 4vw, 2.5rem); overflow-y: auto; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(20 37 39 / .55); }
.lesson-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.lesson-menu-heading h2 { margin: 0; font-size: 1.25rem; }
.lesson-close { min-height: 44px; padding: .5rem .8rem; border: 0; border-radius: 0; color: var(--lesson-accent); background: transparent; }
.lesson-menu nav { display: grid; gap: 0; }
.lesson-menu nav a { padding: 1rem .5rem; border-bottom: 1px solid var(--lesson-line); color: var(--lesson-ink); }
html.lesson-dialog-open { overflow: hidden; }
html.lesson-dialog-open .lesson-floating { visibility: hidden; }
.lesson-contact { background: var(--lesson-mint); padding: var(--lesson-space) 1.25rem; text-align: center; }
.lesson-eyebrow { letter-spacing: .18em; color: var(--lesson-accent); font-size: .8rem; }
.lesson-contact h2 { font-family: var(--lesson-font); font-weight: 350; font-size: clamp(1.35rem, 2.8vw, 2rem); margin: 1rem auto 1.5rem; }
.lesson-contact p { margin: 0 auto 1.5rem; }
.lesson-button, .btn-contacts, .lesson-floating { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 52px; padding: .9rem 1.6rem; border: 0; border-radius: 3px; background: var(--lesson-accent); color: #fff; font-size: 15px; line-height: 1.6; letter-spacing: .04em; text-align: center; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.lesson-button:hover, .btn-contacts:hover, .lesson-floating:hover { background: #204b56; color: #fff; text-decoration: none; }
.lesson-header-counseling { flex: 0 0 auto; width: 238px; height: 46px; min-height: 46px; padding: .75rem 1rem; font-size: 13px; white-space: nowrap; }
.lesson-footer { background: #2c535c; color: #fff; padding: 4.5rem clamp(1.25rem, 5vw, 5rem) 8rem; }
.lesson-footer-inner { max-width: 1200px; margin: auto; display: grid; grid-template-columns: minmax(140px, 240px) 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.lesson-footer-brand img { display: block; width: 150px; max-width: 100%; margin: auto; }
.lesson-footer-nav, .lesson-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.lesson-footer a { display: inline-block; color: #fff; font-size: 14px; padding-block: .4rem; }
.lesson-footer-nav { padding-bottom: 1.5rem; border-bottom: 1px solid #ffffff40; }
.lesson-legal { margin-top: 1.5rem; }
.lesson-copyright { margin: 1.25rem 0 0; font-size: 12px; color: #e1eeeb; }
.lesson-floating { position: fixed; z-index: 15; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); border-radius: 32px; box-shadow: 0 3px 16px #183c4015; }
.lesson-section-title { display: grid; gap: 1rem; margin: 0 auto 2rem; text-align: center; color: var(--lesson-ink); font-size: var(--lesson-title-size); font-weight: 350; }
.lesson-section-kicker { color: var(--lesson-accent); font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: .24em; }
.lesson-point-label { flex: 0 0 auto; color: var(--lesson-accent); font-size: 11px; letter-spacing: .16em; line-height: 1; }
.lesson-more-label { font-size: 13px; font-weight: 400; letter-spacing: .08em; }
#lesson-main .subtitle { max-width: 42rem; margin: 1.25rem auto 2.25rem; color: #526762; text-align: center; text-wrap: pretty; font-size: 1rem; }
#lesson-main .text-title, #lesson-main .title-interview { color: var(--lesson-accent); font-size: var(--lesson-subheading-size); font-weight: 400; line-height: 1.7; letter-spacing: .035em; text-wrap: balance; }
.text-number, .text-price, .circle-30 .title, .content-3 .graph { font-variant-numeric: tabular-nums; }
.teacher-role, .voice-text { color: var(--lesson-muted); letter-spacing: .04em; }
.block-contact { text-align: center; margin: 2.5rem auto; }
.block-contact > a { display: inline-block; max-width: 100%; }
.btn-contacts .text { position: static; transform: none; }
.faq, .qa-container { width: 100%; max-width: 850px; margin: 2rem auto; }
.faq-item { border-bottom: 1px solid var(--lesson-line); }
.faq__question { position: relative; display: block; cursor: pointer; list-style: none; padding: 1.3rem 3rem 1.3rem .25rem; color: var(--lesson-ink); font-size: 1rem; line-height: 1.8; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: "+"; position: absolute; right: .75rem; top: 1.15rem; font-size: 1.5rem; color: var(--lesson-accent); }
.faq-item[open] > summary::after { content: "−"; }
.faq__answer { padding: 0 1.5rem 1.5rem .25rem; color: #4c5d5b; }
.faq__answer p { margin: 0; }
.btn-more { display: inline-flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.5rem; min-height: 44px; padding: .5rem 0; width: 100px; border-bottom: 1px solid var(--lesson-accent); }
.img-more { width: 70px; }
.img-more-underline { display: none; }
#lesson-main .lesson-video { display: grid; gap: .6rem; height: 100%; padding: 0; background: transparent; text-decoration: none; }
.lesson-video img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.lesson-video > span { font-size: 14px; padding-block: .25rem; }
.lesson-video-dialog { width: min(960px, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); border-radius: 0; padding: 1rem; overflow-y: auto; }
.lesson-video-dialog .lesson-close { display: block; margin: 0 0 1rem auto; }
.lesson-video-dialog iframe { display: block; aspect-ratio: 16 / 9; width: 100%; border: 0; }
@media (max-width: 1100px) {
  .lesson-header-counseling { display: none; }
  .lesson-header { flex-wrap: wrap; gap: 1rem; }
  .lesson-navigation { display: flex; flex: 0 0 100%; width: 100%; flex-wrap: wrap; justify-content: flex-start; }
  .lesson-enhanced .lesson-header { flex-wrap: nowrap; }
  .lesson-enhanced .lesson-navigation { display: none; }
  .lesson-enhanced .lesson-menu-toggle { display: inline-flex; }
}
@media (min-width: 1101px) { .lesson-floating { display: none; } }
@media (max-width: 600px) {
  .lesson-header { padding: 1rem; }
  .lesson-brand { max-width: 180px; }
  .lesson-menu { width: 100%; }
  .lesson-footer-inner { grid-template-columns: 1fr; }
  .lesson-footer-brand { justify-self: start; }
  .lesson-footer-brand img { width: 120px; }
  .lesson-footer-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .lesson-floating { left: 1rem; right: 1rem; bottom: max(12px, env(safe-area-inset-bottom)); font-size: 14px; padding: .8rem 1rem; }
  .lesson-button { padding-inline: 1rem; font-size: 14px; }
  :root { --lesson-header-height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
.lesson-menu nav .lesson-button { margin-top: 1.5rem; border-color: var(--lesson-accent); color: #fff; }
#lesson-main h1.subtitle { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; }
.lesson-enhanced .lesson-header { position: fixed; inset: 0 0 auto; height: var(--lesson-header-height); }
.lesson-enhanced body:not([data-lesson-page="home"]) { padding-top: var(--lesson-header-height); }
.lesson-header.is-scrolled { background: rgb(250 249 245 / .84); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.lesson-header-sentinel { position: absolute; top: 24px; left: 0; width: 1px; height: 1px; pointer-events: none; }
.lesson-menu-icon { width: 22px; height: 12px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
:target { scroll-margin-top: calc(var(--lesson-header-height) + 24px); }
@media (max-width: 600px) { .lesson-menu-toggle { width: 98px; gap: .7rem; padding-inline: 0; } }
