:root {
  --ink: #17314b;
  --muted: #5f7180;
  --blue: #287cba;
  --blue-light: #eaf5fb;
  --blue-line: #c9e1f0;
  --orange: #eb7127;
  --line: #06c755;
  --white: #fff;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); line-height: 1.85; }
.desktop-layout { min-width: 0; }
.mobile-page { min-width: 0; container: mobile-page / inline-size; }
.desktop-media, .desktop-guide { display: none; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
section[id] { scroll-margin-top: 88px; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 30; padding: 10px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); box-shadow: 0 1px 0 rgba(23, 49, 75, .08); }
.header-inner { width: min(1320px, calc(100% - 48px)); min-height: 76px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-link { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand-logo { display: block; position: relative; width: 108px; height: 72px; overflow: hidden; }
.brand-logo img { position: absolute; display: block; width: 163px; max-width: none; height: auto; left: -29px; top: -45px; mix-blend-mode: multiply; }
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 31px; letter-spacing: .025em; line-height: 1; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.9vw, 30px); }
.site-nav > a { text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-nav > a:not(.nav-line):hover { color: var(--blue); }
.site-nav .nav-line { padding: 12px 17px; color: white; background: var(--line); border-radius: 100px; }
.site-nav .nav-line:hover, .line-button:hover { background: #05a947; }
.menu-button { display: none; }

.hero { min-height: min(640px, 70vw); position: relative; isolation: isolate; display: flex; align-items: center; overflow: hidden; color: white; background: #1c2f41 url("../assets/training-concept.png") center center/cover no-repeat; }
.hero-video, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; object-position: center 46%; z-index: -2; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgba(7, 27, 43, .76), rgba(7, 27, 43, .36) 49%, rgba(7, 27, 43, .02) 100%); }
.hero-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 105px; }
.hero-kicker { margin: 0 0 20px; font: 600 12px/1.5 var(--sans); letter-spacing: .19em; }
.hero h1 { margin: 0; font: 500 clamp(42px, 5.2vw, 76px)/1.4 var(--serif); letter-spacing: .08em; text-shadow: 0 2px 18px rgba(0,0,0,.17); }
.hero-sub { margin: 28px 0 0; font-size: clamp(14px, 1.5vw, 18px); letter-spacing: .08em; }
.hero-caption { position: absolute; right: 24px; bottom: 16px; color: #fff; font-size: 11px; text-shadow: 0 1px 5px #000; }

.section { padding: clamp(60px, 7vw, 104px) 0; }
.pricing-section { padding-bottom: 62px; }
.booking-section { padding-top: 32px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 2px solid var(--blue); }
.eyebrow { margin: 0 0 6px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.section-heading h2 { margin: 0; font: 600 clamp(27px, 3.1vw, 41px)/1.35 var(--serif); letter-spacing: .03em; }
.section-aside { margin: 0 0 5px; color: var(--blue); font-size: 13px; font-weight: 700; white-space: nowrap; }

.price-table { overflow: hidden; border: 1px solid var(--blue-line); border-radius: 10px; }
.price-row { display: grid; grid-template-columns: minmax(165px, 1.1fr) minmax(160px, .9fr) minmax(250px, 1.55fr); align-items: center; min-height: 76px; gap: 22px; padding: 14px 34px; }
.price-row:nth-child(odd) { background: var(--blue-light); }
.price-row + .price-row { border-top: 1px solid #dce8ef; }
.price-row-featured { background: #fff2e8 !important; box-shadow: inset 5px 0 var(--orange); }
.price-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; font-family: var(--serif); }
.price-badge-row { flex: 0 0 100%; }
.price-badge { display: inline-block; padding: 2px 11px; border-radius: 100px; background: var(--orange); color: white; font: 700 11px/1.6 var(--sans); white-space: nowrap; }
.price-row-featured .price-amount { color: #c85416; }
.price-name strong { font-size: clamp(18px, 1.7vw, 24px); font-weight: 600; }
.price-name span { white-space: nowrap; font-size: 15px; }
.price-amount { font-family: Georgia, var(--serif); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-amount small { margin-left: 3px; font: 500 15px var(--sans); }
.price-row p { margin: 0; font-size: 14px; }
.price-row p small { color: var(--muted); }
.pair-note { margin-top: 22px; padding: 20px 24px; border-radius: 8px; background: var(--blue-light); }
.pair-note h3 { margin: 0 0 8px; font: 600 18px/1.5 var(--serif); }
.pair-note p { margin: 0; font-size: 14px; }

.booking-section { background: linear-gradient(var(--white), #f7fbfe); }
.booking-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(16px, 5vw, 82px); margin: 30px auto 38px; max-width: 920px; }
.booking-step { position: relative; }
.booking-screen { display: block; max-width: 225px; margin: auto; overflow: hidden; border: 3px solid #233541; border-radius: 22px; background: #191919; }
.booking-screen img { display: block; width: 100%; height: auto; }
.booking-step:not(:last-child)::after { content: "›"; position: absolute; top: 34%; right: calc(clamp(16px, 5vw, 82px) / -2 - 7px); color: var(--ink); font-size: 42px; font-weight: 300; }
.phone-placeholder { position: relative; min-height: 220px; max-width: 225px; margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 7px solid #233541; border-bottom: none; border-radius: 26px 26px 0 0; background: linear-gradient(#f5f8f9, #e6edf1); color: var(--muted); text-align: center; font-size: 13px; line-height: 1.6; }
.phone-notch { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 40%; height: 12px; border-radius: 0 0 10px 10px; background: #233541; }
.phone-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #b5c0c5; color: white; font-size: 12px; font-weight: 700; }
.booking-step p { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 12px 0 0; font-size: 15px; font-weight: 700; white-space: nowrap; }
.step-number { flex: 0 0 auto; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: white; font: 700 15px/1 var(--sans); }
.line-button { width: fit-content; min-width: min(330px, 100%); min-height: 54px; margin: 0 auto; padding: 12px 25px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 100px; background: var(--line); color: white; text-align: center; font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.line-button:hover { transform: translateY(-2px); }
.line-icon { width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; background: white; color: var(--line); font-size: 9px; letter-spacing: -.04em; }
.booking-note, .image-note, .trial-footnote { margin: 13px 0 0; color: var(--muted); text-align: center; font-size: 12px; }

.feature-stack { display: grid; gap: 16px; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 290px; overflow: hidden; background: var(--blue-light); border-radius: 8px; }
.feature-row-reverse .feature-image { order: 2; }
.feature-image { min-height: 290px; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-row:first-child .feature-image img { object-position: 65% 50%; }
.feature-row:nth-child(2) .feature-image img { object-position: 45% 52%; }
.feature-row:nth-child(3) .feature-image img { object-position: 50% 50%; }
.feature-row:nth-child(4) .feature-image img { object-position: 50% 50%; }
.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 76px); }
.feature-index { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .17em; }
.feature-copy h3 { margin: 8px 0 12px; font: 600 clamp(22px, 2.5vw, 32px)/1.4 var(--serif); }
.feature-copy p { max-width: 32em; margin: 0; color: #40596b; font-size: 15px; }

.therapist-section { background: #f8fbfd; }
.therapist-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.therapist-grid > img { width: 100%; height: auto; border-radius: 8px; }
.therapist-kicker { margin: 0; color: var(--blue); font-size: 12px; letter-spacing: .09em; }
.therapist-copy h3 { margin: 4px 0 25px; font: 500 21px var(--serif); }
.therapist-lead { margin: 0 0 20px; font: 500 clamp(25px, 3vw, 39px)/1.55 var(--serif); }
.therapist-copy p:last-child { color: var(--muted); }

.trial-list { display: grid; gap: 16px; }
.trial-step { display: grid; grid-template-columns: minmax(240px, 42%) 48px 1fr; align-items: center; gap: clamp(20px, 3vw, 48px); min-height: 240px; padding: 14px; background: var(--blue-light); border-radius: 8px; }
.trial-step img { width: 100%; height: 100%; min-height: 210px; max-height: 280px; object-fit: cover; border-radius: 5px; }
.trial-step:first-child img { object-position: 48% 36%; }
.trial-step .step-number { align-self: start; margin-top: 17px; width: 42px; height: 42px; font-size: 20px; }
.trial-step > div { padding: 12px 24px 12px 0; }
.trial-title-line { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.trial-title-line h3 { margin: 0; font: 600 clamp(20px, 2.3vw, 30px)/1.45 var(--serif); }
.duration { padding: 2px 12px; border: 1px solid var(--blue); border-radius: 100px; color: var(--blue); font-size: 13px; font-weight: 700; white-space: nowrap; }
.trial-step p { margin: 12px 0 0; color: #425b6d; font-size: 15px; }
.trial-section .line-button { margin-top: 28px; }

.venue-section { background: #f8fbfd; }
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.venue-grid img { width: 100%; height: 340px; object-fit: cover; border-radius: 8px; }
.venue-grid > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 60px); background: var(--blue-light); border-radius: 8px; }
.venue-tag { width: fit-content; margin: 0 0 10px; padding: 3px 10px; border-radius: 100px; color: var(--blue); background: white; font-size: 12px; font-weight: 700; }
.venue-grid h3 { margin: 0 0 14px; font: 600 clamp(24px, 2.7vw, 34px)/1.5 var(--serif); }
.venue-grid p:not(.venue-tag) { margin: 0; }
.venue-grid small { margin-top: 20px; color: var(--muted); }

.faq-list { margin-bottom: 30px; border-top: 1px solid #dce6ed; }
.faq-list details { border-bottom: 1px solid #dce6ed; }
.faq-list summary { position: relative; padding: 20px 46px 20px 16px; cursor: pointer; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "＋"; position: absolute; right: 16px; color: var(--blue); font-size: 25px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 16px 23px; color: var(--muted); }
.dispatch-section { padding: 44px 0; background: linear-gradient(105deg, #e6f4fc, #d7eaf6); }
.dispatch-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dispatch-inner h2 { margin: 0; font: 600 clamp(25px, 2.7vw, 35px)/1.4 var(--serif); }
.dispatch-inner p:last-child { margin: 8px 0 0; }
.dispatch-inner a { white-space: nowrap; padding: 11px 24px; border: 1px solid #a6c9df; border-radius: 100px; background: white; font-weight: 700; text-decoration: none; }
.dispatch-inner a:hover { color: var(--blue); border-color: var(--blue); }
.site-footer { padding: 34px 0; background: #d5ecf9; }
.site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer small { color: #5d7180; }
.site-footer a:last-child { font-size: 12px; text-decoration: none; }

@container mobile-page (max-width: 940px) {
  .menu-button { width: 54px; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .menu-button > span:not(.menu-label) { width: 23px; height: 2px; background: currentColor; }
  .menu-label { font-size: 9px; letter-spacing: .1em; }
  .site-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; padding: 18px 24px 26px; background: white; box-shadow: 0 12px 22px rgba(23, 49, 75, .13); }
  .site-nav.is-open { display: grid; gap: 0; }
  .site-nav > a { padding: 12px 4px; border-bottom: 1px solid #edf2f5; font-size: 15px; }
  .site-nav .nav-line { margin-top: 14px; padding: 13px 19px; text-align: center; border: 0; }
}
@container mobile-page (max-width: 700px) {
  .container, .header-inner, .hero-inner { width: min(100% - 36px, 1120px); }
  .header-inner { min-height: 78px; }
  .wordmark { font-size: 26px; }
  .hero { min-height: 570px; align-items: end; background-position: 66% center; }
  .hero-video { object-position: 53% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(7, 27, 43, .76), rgba(7, 27, 43, .15) 75%); }
  .hero-inner { padding: 0 0 78px; }
  .hero h1 { font-size: clamp(32px, 8cqi, 43px); }
  .hero-sub { font-size: 13px; }
  .hero-caption { right: 18px; bottom: 10px; font-size: 10px; }
  .section { padding: 58px 0; }
  .pricing-section { padding-bottom: 34px; }
  .booking-section { padding-top: 27px; }
  .section-heading { align-items: end; gap: 8px; }
  .section-heading h2 { font-size: clamp(25px, 6.8vw, 34px); }
  .section-aside { font-size: 11px; }
  .price-row { grid-template-columns: 1fr auto; gap: 2px 12px; min-height: 91px; padding: 14px 17px; }
  .price-name strong { font-size: 17px; }
  .price-name span { font-size: 13px; }
  .price-amount { font-size: 29px; text-align: right; }
  .price-amount small { font-size: 12px; }
  .price-row p { grid-column: 1 / -1; font-size: 12px; }
  .booking-steps { gap: 11px; }
  .booking-step:not(:last-child)::after { display: none; }
  .phone-placeholder { min-height: 148px; border-width: 5px; border-radius: 14px 14px 0 0; padding: 8px 3px; font-size: 10px; }
  .phone-notch { height: 8px; }
  .phone-mark { width: 38px; height: 38px; font-size: 9px; }
  .booking-step p { gap: 4px; font-size: 10px; white-space: normal; align-items: start; }
  .booking-step .step-number { width: 22px; height: 22px; font-size: 11px; }
  .feature-row, .feature-row-reverse { display: flex; flex-direction: column; min-height: 0; }
  .feature-row-reverse .feature-image { order: 0; }
  .feature-image { min-height: 0; aspect-ratio: 16 / 9; }
  .feature-copy { padding: 25px 22px 30px; }
  .feature-copy h3 { font-size: 23px; }
  .therapist-grid, .venue-grid { grid-template-columns: 1fr; gap: 20px; }
  .therapist-grid > img { max-height: none; }
  .trial-step { grid-template-columns: 40px 1fr; gap: 0 12px; padding: 11px; min-height: 0; }
  .trial-step img { grid-column: 1 / -1; grid-row: 1; min-height: 0; height: auto; aspect-ratio: 16 / 9; margin-bottom: 17px; }
  .trial-step .step-number { grid-column: 1; grid-row: 2; margin: 0; width: 37px; height: 37px; font-size: 18px; }
  .trial-step > div { grid-column: 2; grid-row: 2; padding: 0 0 10px; }
  .trial-title-line { gap: 8px; }
  .trial-title-line h3 { font-size: 20px; }
  .trial-step p { margin: 7px 0 0; font-size: 13px; }
  .venue-grid img { height: auto; aspect-ratio: 16 / 10; }
  .venue-grid > div { padding: 27px 23px; }
  .venue-grid h3 { font-size: clamp(20px, 5cqi, 25px); word-break: keep-all; }
  .dispatch-inner { display: block; }
  .dispatch-inner a { display: inline-block; margin-top: 18px; }
  .site-footer .container { flex-wrap: wrap; }
}
@media (min-width: 1024px) {
  body { background: #eaf5fb; }
  .desktop-layout { --page-offset-x: 70px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, clamp(390px, 32vw, 440px)) minmax(0, .94fr); align-items: stretch; }
  .mobile-page { position: relative; z-index: 1; width: 100%; margin-left: var(--page-offset-x); background: white; box-shadow: 0 0 28px rgba(20, 62, 92, .12); }
  .desktop-media, .desktop-guide { display: block; position: relative; min-width: 0; }
  .desktop-media { width: calc(100% + var(--page-offset-x)); background: #e6f2f8; }
  .desktop-guide { width: calc(100% - var(--page-offset-x)); margin-left: var(--page-offset-x); background: #f2f8fc; }
  .desktop-media-inner, .desktop-guide-inner { position: sticky; top: 0; height: 100dvh; max-width: 440px; margin-inline: auto; }
  .desktop-media-inner { width: 100%; max-width: none; margin: 0; }
  .desktop-media-photo { position: relative; width: 100%; height: 100%; overflow: hidden; background: #688da4; }
  .desktop-media-layer, .desktop-media-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
  .desktop-media-layer { object-fit: cover; object-position: 68% center; opacity: 0; transition: opacity .55s ease; }
  .desktop-media-layer.is-active { opacity: 1; }
  .desktop-media-shade { background: linear-gradient(180deg, rgba(7,27,43,.25), transparent 32%, transparent 45%, rgba(7,27,43,.70)); pointer-events: none; }
  .desktop-media-kicker { position: absolute; top: 23px; left: 22px; right: 22px; margin: 0; color: white; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-shadow: 0 1px 6px rgba(0,0,0,.32); }
  .desktop-media-copy { position: absolute; bottom: 42px; left: 22px; right: 22px; margin: 0; color: white; font: 500 clamp(19px, 2vw, 27px)/1.6 var(--serif); text-shadow: 0 2px 10px rgba(0,0,0,.45); }
  .desktop-media-indicator { position: absolute; right: 22px; bottom: 17px; color: white; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
  .side-eyebrow { margin: 0; color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; }
  .desktop-guide-inner { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 46px); }
  .desktop-guide h2 { margin: 13px 0 28px; font: 600 clamp(25px, 2.4vw, 34px)/1.4 var(--serif); letter-spacing: .04em; }
  .guide-steps { border-top: 1px solid var(--blue-line); }
  .guide-steps a { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 13px; padding: clamp(16px, 3vh, 25px) 0; border-bottom: 1px solid var(--blue-line); text-decoration: none; transition: color .2s, padding-left .2s; }
  .guide-steps a:hover, .guide-steps a:focus-visible, .guide-steps a.is-current { color: var(--blue); padding-left: 6px; }
  .guide-number { color: var(--orange); font: 700 18px/1 Georgia, serif; }
  .guide-steps strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.4; }
  .guide-steps a > span:last-child { color: var(--blue); font-size: 19px; }
  .guide-line-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 49px; margin-top: 30px; padding: 10px 20px; border-radius: 100px; background: var(--line); color: white; font-size: 13px; font-weight: 700; text-decoration: none; }
  .guide-line-button:hover { background: #05a947; }
  .mobile-page .hero-video { display: none; }
  .mobile-page .hero-caption { display: none; }
  .mobile-page .hero { background-image: url("../assets/training-concept.png"); }
}
@media (min-width: 1024px) and (max-width: 1100px) {
  .desktop-guide-inner { padding: 20px; }
  .desktop-guide h2 { font-size: 22px; letter-spacing: 0; }
  .guide-line-button { padding: 10px 12px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line-button { transition: none; }
  .desktop-media-layer { transition: none; }
}
