:root {
  --ink: #1c1820;
  --ink-soft: #5f5963;
  --paper: #f7f7f4;
  --paper-cool: #f0f1ef;
  --white: #fff;
  --line: #d9d7da;
  --purple: #59406a;
  --purple-deep: #412d50;
  --purple-soft: #eee8f1;
  --lime: #c6cf43;
  --lime-soft: #f1f3d7;
  --serif: "Shippori Mincho B1", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body, input, select, textarea, button { font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(89,64,106,.32); outline-offset: 3px; }

.labo-site { overflow: hidden; }
.site-header, main > section, .site-footer { width: min(100% - 48px, 1240px); margin-inline: auto; }

.site-header { position: relative; z-index: 20; min-height: 84px; display: flex; align-items: center; gap: 36px; border-bottom: 1px solid rgba(89,64,106,.2); background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand svg { width: 43px; height: 43px; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-family: var(--serif); font-size: 19px; letter-spacing: .04em; }
.brand strong em { color: var(--purple); font-family: var(--sans); font-size: 13px; font-style: normal; letter-spacing: .12em; }
.brand small { margin-top: 6px; color: var(--ink-soft); font-family: "IBM Plex Mono", monospace; font-size: 8.5px; letter-spacing: .18em; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.site-nav a, .sibling-link { color: var(--ink-soft); font-size: 13px; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .sibling-link:hover { color: var(--purple); }
.site-nav__sibling, .menu-toggle { display: none; }
.sibling-link { padding-left: 24px; border-left: 1px solid var(--line); white-space: nowrap; }
.sibling-link__mobile { display: none; }

.kicker { margin: 0 0 21px; color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); }
h1 { margin-bottom: 28px; font-size: clamp(43px, 4.2vw, 67px); font-weight: 700; line-height: 1.38; letter-spacing: -.035em; }
h1 em, h2 em { color: var(--purple); font-style: normal; }
h2 { margin-bottom: 0; font-size: clamp(36px, 4vw, 57px); font-weight: 700; line-height: 1.45; letter-spacing: -.025em; }

.hero { position: relative; display: flex; width: 100%; min-height: calc(100svh - 84px); align-items: center; overflow: hidden; }
.hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(247,247,244,.98) 0%, rgba(247,247,244,.91) 27%, rgba(247,247,244,.48) 45%, rgba(247,247,244,0) 64%); pointer-events: none; }
.hero__copy { position: relative; z-index: 2; width: min(100% - 48px, 1240px); margin-inline: auto; padding: 70px 0; }
.hero__copy > * { max-width: 570px; }
.hero__lead { margin-bottom: 32px; color: var(--ink-soft); font-size: 16px; line-height: 2; }
.hero__visual { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: var(--paper); overflow: hidden; }
.hero__visual img { width: 100%; height: 100%; object-fit: contain; object-position: right center; transform: scale(.94); transform-origin: right center; }

.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 26px; padding: 14px 25px; border: 0; border-radius: 7px; background: var(--purple); color: var(--white); font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 10px 26px rgba(65,45,80,.16); transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--purple-deep); transform: translateY(-1px); }

.opening { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding-block: 140px; }
.opening__copy { padding-top: 45px; }
.opening__copy > p { margin-bottom: 23px; color: var(--ink-soft); font-size: 16px; line-height: 2.1; }
.opening__copy .opening__note { margin: 34px 0 0; padding: 22px 24px; border-left: 3px solid var(--purple); background: var(--white); color: var(--ink); font-weight: 500; }

.self-directed { width: 100%; max-width: none; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding: 112px max(24px, calc((100vw - 1240px) / 2)); background: #2d2831; color: var(--paper); }
.self-directed .kicker { color: var(--lime); }
.self-directed h2 em { color: #dbe277; }
.self-directed__copy { max-width: 620px; padding-top: 22px; }
.self-directed__copy > p { margin-bottom: 22px; color: rgba(247,247,244,.72); font-size: 16px; line-height: 2.05; }
.self-directed__copy .self-directed__closing { margin: 38px 0 0; padding-top: 24px; border-top: 1px solid rgba(247,247,244,.24); color: var(--paper); font-family: var(--serif); font-size: 21px; font-weight: 700; }

.starting-points { width: 100%; max-width: none; display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; align-items: center; padding: 88px max(24px, calc((100vw - 1240px) / 2)); background: #e8ece8; color: var(--ink); }
.starting-points__heading { max-width: 650px; }
.starting-points .kicker { color: var(--purple); }
.starting-points__heading h2 { font-size: clamp(34px, 3.5vw, 48px); }
.starting-points__summary { max-width: 760px; }
.starting-points__routes { margin: 0; padding: 0; border-top: 1px solid #bcc5bd; list-style: none; }
.starting-points__routes li { position: relative; padding: 22px 12px 22px 32px; border-bottom: 1px solid #bcc5bd; font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.65; }
.starting-points__routes li::before { content: ""; position: absolute; top: 34px; left: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--purple); }
.starting-points__summary > p { margin: 22px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }

.time { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr); background: var(--purple-soft); }
.time__statement { padding: 120px max(42px, calc((100vw - 1240px) / 2)) 120px max(24px, calc((100vw - 1240px) / 2)); }
.time__possibilities { padding: 120px max(24px, calc((100vw - 1240px) / 2)) 120px 70px; background: var(--white); }
.time__possibilities .time__headline { margin-bottom: 34px; color: var(--purple); font-family: var(--serif); font-size: clamp(29px, 3vw, 43px); font-weight: 700; line-height: 1.65; }
.time__possibilities .time__body { margin-bottom: 0; color: var(--ink-soft); font-size: 16px; line-height: 2.1; }
.time__possibilities small { display: block; margin-top: 28px; color: #777078; font-size: 11px; line-height: 1.8; }

.plans { width: 100%; max-width: none; padding: 130px max(24px, calc((100vw - 1240px) / 2)); background: #e2dee6; }
.plans__heading { display: grid; grid-template-columns: 1fr .72fr; gap: 80px; align-items: end; margin-bottom: 60px; }
.plans__heading > p { margin-bottom: 9px; padding: 22px 24px; border-left: 3px solid var(--purple); background: rgba(255,255,255,.72); color: var(--ink-soft); font-size: 15px; line-height: 2; }
.plans__scroll-hint { display: none; }
.plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan { display: flex; flex-direction: column; min-width: 0; padding: 39px; border: 1px solid rgba(89,64,106,.12); border-radius: 12px; background: var(--white); box-shadow: 0 18px 46px rgba(46,37,51,.08); }
.plan--featured { padding: 39px; border-color: rgba(89,64,106,.38); background: var(--white); box-shadow: 0 18px 46px rgba(65,45,80,.1); }
.plan__intro { min-height: 190px; }
.plan__eyebrow { display: inline-block; margin-bottom: 15px; padding: 5px 9px 6px; border: 1px solid #d1ced3; border-radius: 4px; background: var(--paper-cool); color: var(--ink-soft); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.plan--featured .plan__eyebrow { border-color: var(--purple); background: var(--purple); color: var(--white); }
.plan__intro h3 { margin-bottom: 17px; font-family: var(--serif); font-size: 28px; }
.plan--featured .plan__intro h3 { color: var(--purple-deep); }
.plan__intro > p:last-child { color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.plan__price { display: grid; grid-template-columns: repeat(2, 1fr); margin: 7px 0 30px; border: 0; border-radius: 8px; background: var(--paper-cool); overflow: hidden; }
.plan--featured .plan__price { background: var(--paper-cool); }
.plan__price > p { position: relative; margin: 0; padding: 19px 5px 18px; }
.plan__price > p + p { padding-left: 22px; border-left: 1px solid var(--line); }
.plan__price span { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }
.plan__price strong { display: block; font-family: var(--serif); font-size: 29px; }
.plan__price small { margin-left: 4px; font-family: var(--sans); font-size: 10px; font-weight: 500; }
.plan__price em { display: inline-block; margin-top: 7px; padding: 3px 7px; background: var(--lime-soft); font-size: 10px; font-style: normal; font-weight: 700; }
.plan > ul { flex: 1; margin: 0 0 29px; padding: 0; list-style: none; }
.plan > ul li { position: relative; padding: 9px 0 9px 23px; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.plan > ul li::before { content: ""; position: absolute; top: 18px; left: 2px; width: 8px; height: 5px; border-bottom: 2px solid var(--purple); border-left: 2px solid var(--purple); transform: rotate(-45deg); }
.text-button { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 8px; border-top: 1px solid rgba(89,64,106,.55); color: var(--ink); font-weight: 700; text-decoration: none; }
.text-button:hover { color: var(--purple); }
.plans__notes { margin-top: 26px; color: #777078; font-size: 11px; line-height: 1.9; }
.plans__notes p { margin-bottom: 5px; }

@media (max-width: 900px) {
  .plans__scroll-hint { display: block; margin: -18px 0 18px; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
  .plans__grid { width: calc(100% + 24px); grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82vw, 360px); gap: 16px; padding: 2px 24px 18px 0; overflow-x: auto; scroll-padding-inline: 0 24px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .plan { scroll-snap-align: start; }
}

.profile { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; padding-block: 128px; }
.profile figure { width: min(100%, 430px); margin: 0; background: var(--purple-soft); }
.profile figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.profile__lead { max-width: 580px; margin: 28px 0; color: var(--ink-soft); font-size: 15px; line-height: 2; }
.profile__bio { display: grid; grid-template-columns: 185px 1fr; gap: 34px; margin-top: 31px; padding-top: 25px; border-top: 1px solid var(--line); }
.profile__bio > p:first-child { display: block; margin-bottom: 0; }
.profile__bio strong { display: block; font-family: var(--serif); font-size: 20px; }
.profile__bio span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 500; letter-spacing: 0; }
.profile__bio > p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 13px; line-height: 2; }

.sibling-service { display: grid; grid-template-columns: 1fr .8fr; gap: 80px; padding: 64px 70px; background: var(--lime-soft); }
.sibling-service h2 { font-size: clamp(31px, 3.2vw, 46px); }
.sibling-service > div:last-child { align-self: center; }
.sibling-service > div:last-child p { color: var(--ink-soft); font-size: 14px; line-height: 2; }
.sibling-service a { display: inline-flex; gap: 22px; margin-top: 12px; padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-weight: 700; text-decoration: none; }

.faq { display: grid; grid-template-columns: .5fr 1fr; gap: 100px; padding-block: 140px; }
.faq h2 { font-size: clamp(35px, 3.5vw, 48px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 44px 24px 0; font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.7; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 23px; right: 5px; color: var(--purple); font-family: var(--sans); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 40px 25px 0; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }

.contact { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(560px, 1fr); background: #202024; color: var(--paper); }
.contact__copy { padding: 120px 80px 120px max(24px, calc((100vw - 1240px) / 2)); }
.contact .kicker { color: var(--lime); }
.contact__copy > p:not(.kicker) { max-width: 500px; margin: 29px 0 0; color: rgba(247,247,244,.7); font-size: 15px; line-height: 2; }
.contact__copy .contact__notice { padding: 16px 18px; border-left: 2px solid var(--lime); background: rgba(255,255,255,.05); font-size: 12px; }
.contact__copy > a { display: inline-block; margin-top: 25px; color: var(--paper); font-size: 13px; font-weight: 700; text-underline-offset: 5px; }
.contact form { display: flex; flex-direction: column; gap: 18px; padding: 85px max(24px, calc((100vw - 1240px) / 2)) 85px 70px; background: var(--white); color: var(--ink); }
.contact form label { display: flex; flex-direction: column; gap: 8px; }
.contact form label > span { font-size: 12px; font-weight: 700; }
.contact input, .contact select, .contact textarea { width: 100%; border: 1px solid var(--line); border-radius: 5px; outline: none; background: var(--paper); color: var(--ink); font-size: 14px; }
.contact input, .contact select { min-height: 51px; padding: 0 14px; }
.contact textarea { padding: 13px 14px; resize: vertical; }
.contact input:focus, .contact select:focus, .contact textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(89,64,106,.09); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact form .consent { flex-direction: row; align-items: flex-start; gap: 10px; margin: 3px 0; }
.contact form .consent input { width: 17px; min-height: auto; height: 17px; margin-top: 2px; }
.contact form .consent span { color: var(--ink-soft); font-size: 12px; font-weight: 500; }
.contact form .button { align-self: flex-start; margin-top: 5px; }

.operator { display: grid; grid-template-columns: .65fr 1fr; gap: 100px; padding-block: 110px; }
.operator h2 { font-size: clamp(30px, 3.1vw, 45px); }
.operator dl { margin: 0; border-top: 1px solid var(--line); }
.operator dl > div { display: grid; grid-template-columns: 150px 1fr; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.8; }
.operator dt { color: var(--ink-soft); font-weight: 700; }
.operator dd { margin: 0; }
.operator dd a { text-underline-offset: 4px; }

.site-footer { width: 100%; max-width: none; display: grid; grid-template-columns: 1.2fr 1fr .85fr; gap: 70px; padding: 65px max(24px, calc((100vw - 1240px) / 2)); background: #161419; color: rgba(247,247,244,.68); font-size: 12px; line-height: 1.9; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand small { color: rgba(247,247,244,.4); }
.site-footer > div > p { margin: 18px 0 0; }
.site-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.site-footer__links a { text-underline-offset: 4px; }

@media (max-width: 1080px) {
  body.menu-open { overflow: hidden; }
  .site-header { gap: 18px; }
  .menu-toggle { position: relative; z-index: 2; display: inline-flex; width: 46px; height: 46px; flex: 0 0 46px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-left: auto; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .menu-toggle span { width: 23px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .site-header.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav { position: absolute; z-index: 1; top: 100%; left: -24px; width: calc(100% + 48px); display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 18px; border-top: 1px solid var(--line); background: rgba(247,247,244,.98); box-shadow: 0 18px 34px rgba(28,24,32,.12); opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
  .site-header.is-menu-open .site-nav { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .site-nav a { display: flex; min-height: 50px; align-items: center; justify-content: space-between; padding: 0 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .site-nav__sibling { display: flex; color: var(--purple) !important; }
  .sibling-link { display: none; }
  .hero__visual img { object-position: right center; }
  .opening, .self-directed, .profile { gap: 60px; }
  .starting-points { gap: 60px; }
  .plans__grid { gap: 16px; }
  .plan { padding: 30px; }
  .plan--featured { padding: 30px; }
  .plan__price { grid-template-columns: 1fr; }
  .plan__price > p + p { padding-left: 5px; border-top: 1px solid var(--line); border-left: 0; }
  .contact { grid-template-columns: .85fr 1.15fr; }
  .contact__copy { padding-right: 50px; }
  .contact form { padding-left: 50px; }
}

@media (max-width: 780px) {
  .site-header, main > section, .site-footer { width: min(100% - 36px, 1240px); }
  .site-header { min-height: 72px; }
  .site-nav { left: -18px; width: calc(100% + 36px); padding-inline: 18px; }
  .brand svg { width: 37px; height: 37px; }
  .brand strong { font-size: 16px; }
  .brand strong em { font-size: 11px; }
  .brand small { display: none; }
  h1 { font-size: clamp(38px, 10.8vw, 48px); line-height: 1.32; }
  h2 { font-size: clamp(32px, 9.2vw, 44px); }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; background: var(--paper); }
  .hero::after { display: none; }
  .hero__copy { order: 2; width: calc(100% - 36px); padding: 22px 0 40px; }
  .hero__copy > * { max-width: 100%; }
  .hero__lead { margin-bottom: 27px; font-size: 14px; line-height: 1.85; }
  .hero__visual { position: relative; inset: auto; order: 1; width: 100%; height: auto; }
  .hero__visual img { width: 100%; height: auto; object-fit: contain; object-position: center top; transform: none; }
  .opening, .profile, .faq, .operator { display: block; padding-block: 76px; }
  .opening { padding-top: 64px; }
  .opening__copy { padding-top: 35px; }
  .opening__copy > p { font-size: 15px; line-height: 2; }
  .self-directed { width: 100%; display: block; padding: 76px 18px; }
  .self-directed__copy { padding-top: 38px; }
  .self-directed__copy > p { font-size: 15px; line-height: 2; }
  .self-directed__copy .self-directed__closing { font-size: 19px; line-height: 1.75; }
  .starting-points { width: 100%; display: block; padding: 68px 18px; }
  .starting-points__heading { margin-bottom: 35px; }
  .starting-points__routes li { padding: 19px 6px 19px 28px; font-size: 18px; line-height: 1.65; }
  .starting-points__routes li::before { top: 30px; width: 8px; height: 8px; }
  .time { width: 100%; display: block; }
  .time__statement, .time__possibilities { padding: 70px 18px; }
  .time__possibilities .time__headline { font-size: clamp(28px, 8vw, 36px); }
  .plans { width: 100%; padding: 80px 18px; }
  .plans__heading { display: block; margin-bottom: 45px; }
  .plans__heading > p { margin-top: 28px; }
  .plans__grid { width: calc(100% + 18px); grid-auto-columns: min(84vw, 350px); gap: 14px; padding-right: 18px; }
  .plan { padding: 27px 23px; }
  .plan--featured { padding: 27px 23px; }
  .plan__intro { min-height: 0; }
  .plan__price { grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
  .plan__price > p + p { padding-left: 17px; border-top: 0; border-left: 1px solid var(--line); }
  .plan__price strong { font-size: 24px; }
  .profile figure { width: min(100%, 310px); margin: 0 auto 45px; }
  .profile__bio { grid-template-columns: 1fr; gap: 17px; }
  .sibling-service { width: calc(100% - 36px); display: block; padding: 45px 28px; }
  .sibling-service > div:last-child { margin-top: 28px; }
  .sibling-service a, .contact__copy > a, .operator dd a, .site-footer__links a { min-height: 44px; align-items: center; }
  .contact__copy > a, .operator dd a, .site-footer__links a { display: inline-flex; }
  .faq > div { margin-top: 45px; }
  .contact { width: 100%; display: block; }
  .contact__copy, .contact form { padding: 78px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .operator dl { margin-top: 43px; }
  .site-footer { width: 100%; display: block; padding: 58px 18px; }
  .site-footer > p, .site-footer__links { margin-top: 34px; }
}

@media (max-width: 420px) {
  .brand strong { font-size: 15px; }
  .hero__copy { padding-top: 18px; }
  .plan__price { grid-template-columns: 1fr; }
  .plan__price > p + p { padding-left: 5px; border-top: 1px solid var(--line); border-left: 0; }
  .operator dl > div { grid-template-columns: 100px 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
