
:root {
  --pink: #ffdce8;
  --sky: #bfe8ff;
  --yellow: #fff0a8;
  --paper: #fffdf5;
  --blue: #1d4fb8;
  --ink: #22284f;
  --mint: #7fd6c2;
  --gold: #ffd166;
  --orange: #ff9a6b;
  --light-blue: #9ccbff;
  --body: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box }
html { scroll-padding: 16px 0 80px }
body { margin: 0; background: var(--pink); color: var(--ink); font: 400 1rem/1.8 var(--body); overflow-wrap: anywhere }
p, h1, h2, h3, figure, blockquote, dl, dd { margin: 0 }
img { display: block; max-width: 100%; height: auto }
h1, h2, h3 { font: 900 2rem/1.4 var(--display); text-wrap: balance; overflow-wrap: normal; word-break: auto-phrase }
.nb { white-space: nowrap }
h2 { color: var(--blue); margin-bottom: 32px }
h3 { font-size: 1.25rem }
a { color: inherit; text-underline-offset: .2em }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--gold) }
.skip { position: fixed; inset: 8px auto auto 8px; z-index: 10; transform: translateY(-150%); background: var(--paper); padding: 8px 16px; min-height: 44px }
.skip:focus { transform: none }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.note, .footer { font-size: .875rem }
.price { font: 400 1rem/1.5 var(--body); color: var(--ink) }
.wrap { width: min(calc(100% - 48px), 960px); margin-inline: auto }
.section { padding-block: 80px }
.white { background: var(--paper) }
.sky { background: var(--sky) }
.stack { display: grid; gap: 16px }
.prose { max-width: 68ch; margin-inline: auto }
.prose h3:not(:first-child) { margin-top: 16px }
.icon { width: 32px; height: 32px; object-fit: contain; flex: none }
.cta { display: grid; justify-items: center; gap: 8px; text-align: center; margin-top: 32px }
.btn {
  display: inline-flex; justify-content: center; align-items: center; text-align: center;
  min-height: 48px; min-width: min(100%, 272px); padding: 8px 24px;
  border: 3px double var(--paper); outline: 1px solid var(--blue); border-radius: 8px;
  background: var(--blue); color: var(--paper); font-weight: 700; text-decoration: none;
}
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px }
.btn:hover { text-decoration: underline }
.hero { max-width: 1440px; min-height: min(56.25vw, 810px); margin-inline: auto; position: relative; padding: 24px 40px 56px; isolation: isolate }
.hero-badge { display: table; background: var(--mint); border: 2px solid var(--blue); font: 900 clamp(.875rem,1.35vw,1.25rem)/1.4 var(--display); padding: 4px 16px; margin-bottom: 16px }
.hero-scene { position: absolute; inset: min(5.84vw,84px) 40px auto; height: min(33.25vw,478px); background: var(--yellow) url(ripple-desktop.svg) center/100% 100% no-repeat }
.hero-person { position: absolute; width: min(47.8%, 648px); right: 9.5%; top: min(2.55vw,37px); }
.hero-rays { position: absolute; width: min(1.4vw,20px); left: 49.4%; top: 11%; }
.vertical-tag { position: absolute; right: 0.4%; top: max(-2.4vw,-35px); width: min(9vw,128px); min-width: 80px; aspect-ratio: 124/460; background: url(tag-desktop.svg) center/100% 100% no-repeat; display: grid; grid-template-columns: 1fr 1fr; align-items: start }
.vertical-copy { writing-mode: vertical-rl; justify-self: center; align-self: stretch; display: grid; place-items: center; width: 100%; font-size: clamp(.75rem,1.62vw,1.5rem); line-height: 1; text-orientation: upright; padding-block: 8px; white-space: nowrap; }
.vertical-title { display: grid; grid-template-rows: repeat(4,1fr); height: 55.65%; font: 900 clamp(1.25rem,3.1vw,2.75rem)/1 var(--display); text-align: center }
.vertical-title span { display: grid; place-items: center }
.hero-content { position: relative; width: min(40%,532px); margin: min(3.05vw,44px) 0 0 min(3.33vw,48px); text-align: center }
.hero-card { display: grid; justify-items: center; gap: 16px; padding: 16px 8px 24px; border: 2px solid var(--blue); background: var(--paper) }
.hero h1 { display: grid; justify-items: center; gap: 8px; font-size: clamp(1.125rem,2.8vw,2.5rem); letter-spacing: -.01em }
.hero-course { white-space: nowrap; background: var(--sky); border: 2px solid var(--blue); padding: 0 12px; font-size: 1.36em; letter-spacing: -.01em }
.hero-details { line-height: 1.5; font-weight: 500 }
.hero-result { display: grid; font-weight: 500; line-height: 1.5; }
.hero-result strong { font: 900 clamp(2rem,5vw,4.5rem)/1.14 var(--display); color: var(--blue); letter-spacing: -.02em; text-shadow: 4px 4px var(--orange); margin-bottom: 8px }
.hero-result span:last-child { font-size: .875rem }
.hero .cta { margin-top: 32px }
.hero .btn { width: 100%; min-height: 72px; font-size: 1.25rem }
.photo-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,34%); align-items: end; gap: 24px }
.worry-panel { background: var(--paper); align-items: center }
.worries, .outcome-list, .flow { list-style: none; padding: 0; margin: 0 }
.worries, .outcome-list { display: grid; gap: 8px }
.worries li, .outcome-list li { border: 2px solid var(--blue); background: var(--pink); padding: 16px }
.worries li:nth-child(even), .outcome-list li:nth-child(even) { background: var(--sky) }
.turn { font: 900 1.25rem/1.4 var(--display) }
.turn span, .stat { background: var(--sky) }
.turn .nb { background: none }
.side-photo { width: 100%; }
.ripple { background: var(--yellow) url(ripple-panel.svg) center/cover no-repeat; border: 2px solid var(--blue) }
.proof { margin-top: 48px; position: relative; padding: 32px; display: grid; gap: 24px; justify-items: start }
.proof figure { width: min(100%,604px); background: var(--paper); border: 2px solid var(--blue); padding: 16px; z-index: 1 }
.proof figcaption { margin-top: 16px }
.proof .january { width: min(100%, 302px) }
.january .sales-image { margin-top: 8px }
.proof-person { position: absolute; width: 25%; right: 8px; top: -48px }
.number-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 24px; padding-top: 24px }
.audience, .flow { grid-template-columns: repeat(3,minmax(0,1fr)) }
.number-card { position: relative; background: var(--sky); border: 2px solid var(--blue); padding: 32px 24px 24px; display: grid; align-content: start; gap: 8px; }
.number-card:nth-child(2) { background: var(--yellow) }
.number-card:nth-child(3) { background: var(--mint) }
.number-card:nth-child(4) { background: var(--light-blue) }
.audience .number-card { text-align: center; justify-items: center }
.number { position: absolute; inset: 0 auto auto 24px; transform: translateY(-52%); background: var(--paper); border: 2px solid var(--blue); padding: 0 8px; color: var(--ink); font: 400 2rem/1.1 Questrial,var(--body) }
.audience .number { inset-inline: auto; }
.number small { display: block; font: 400 .875rem/1.3 Questrial,var(--body); padding-top: 2px }
.feature-photo { display: flex; justify-content: end; margin-top: -72px; margin-bottom: -16px; pointer-events: none }
.feature-photo img { width: min(23%, 176px) }
[data-sec="curriculum"] .note { margin-bottom: 24px }
.curr { display: grid; gap: 16px; grid-template-columns: repeat(4,minmax(0,1fr)); position: relative; padding-top: 24px }
.curr::before { content: ""; position: absolute; top: 8px; left: 12.5%; right: 12.5%; border-top: 2px solid var(--blue) }
.lesson { display: grid; align-content: start; position: relative; gap: 8px; border: 2px solid var(--blue); background: var(--paper); padding: 0 16px 16px }
.lesson::before { content: ""; position: absolute; top: -26px; left: calc(50% - 8px); width: 16px; aspect-ratio: 1; background: var(--sky); border: 2px solid var(--blue); border-radius: 50%; }
.lesson:nth-child(2)::before { background: var(--gold) }
.lesson:nth-child(3)::before { background: var(--mint) }
.lesson:nth-child(4)::before { background: var(--orange) }
.when, .profile-tab { background: url(tab-sky.svg) center/100% 100% no-repeat; padding: 8px; font-size: .875rem }
.lesson:nth-child(2) .when { background-image: url(tab-yellow.svg) }
.lesson:nth-child(3) .when { background-image: url(tab-mint.svg) }
.lesson:nth-child(4) .when { background-image: url(tab-orange.svg) }
.lesson ul { padding-left: 1.2em; margin: 0 }
.hw { background: var(--sky); padding: 8px; font-size: .875rem }
.profile { background: var(--sky); border: 2px solid var(--blue); padding: 24px; display: grid; grid-template-columns: 34% minmax(0,1fr); align-items: center; gap: 24px; margin-bottom: 32px }
.portrait { width: 100%; max-height: 400px; object-fit: cover; object-position: center 32%; border: 2px solid var(--blue); margin-top: -48px }
.profile-tab { justify-self: start; min-width: 80px; text-align: center; background-image: url(tab-yellow.svg) }
.stat { border: 2px solid var(--blue); background: var(--paper); padding: 8px }
.msg { display: grid; gap: 16px; padding: 24px; background: var(--paper); border: 2px solid var(--blue) }
.msg .icon { display: inline-block; vertical-align: middle; width: 1em; height: 1em; margin-left: .25em }
.outcome-list li { display: flex; align-items: center; gap: 16px }
.table { border: 2px solid var(--blue); background: var(--paper) }
.table > div { display: grid; grid-template-columns: minmax(0, 26%) minmax(0, 1fr) }
.table > div + div { border-top: 1px solid var(--blue) }
.table dt, .table dd { padding: 16px }
.table dt { background: var(--sky); border-right: 1px solid var(--blue); font-weight: 500 }
.flow { column-gap: 48px }
.flow li:not(:last-child)::after { content: ""; position: absolute; inset: 48px -42px auto auto; width: 32px; height: 24px; background: url(arrow-right.svg) center/contain no-repeat }
.privacy { margin-top: 24px; text-align: center }
.privacy + .cta { margin-top: 8px }
details { background: var(--paper); border: 2px solid var(--blue) }
summary { cursor: pointer; min-height: 48px; padding: 8px 48px 8px 56px; display: grid; align-items: center; position: relative; font-weight: 500; list-style: none }
summary::-webkit-details-marker { display: none }
summary .icon { width: 24px; height: 24px; position: absolute; left: 16px }
summary::after { content: "+"; position: absolute; right: 16px; color: var(--blue); font-size: 1.25rem }
details[open] summary::after { content: "−" }
details > p { padding: 0 16px 16px }
[data-sec="faq"] .contact { margin-top: 24px }
.final-panel { display: grid; grid-template-columns: minmax(0,40%) minmax(0,1fr); gap: 32px; align-items: center; padding: 32px }
.laugh { width: 100%; border: 2px solid var(--blue); }
.final-copy { padding: 24px; background: var(--paper); border: 2px solid var(--blue); text-align: center }
.final-copy h2, .final-copy .cta { margin: 0 }
.footer { display: grid; gap: 8px; justify-items: center; padding: 24px 16px }
.footer a { display: grid; align-items: center; min-height: 44px; }
.dock { display: flex; justify-content: center; align-items: center; gap: 24px; background: var(--paper); border-top: 2px solid var(--blue); padding: 8px 16px; line-height: 1.35 }
.dock .price { display: block }
.dock .cta { margin: 0 }
.dock .btn { min-width: 128px }
.legal h1 { margin-bottom: 32px; color: var(--blue) }

@media (max-width: 900px) {
  .hero { padding-inline: 24px }
  .hero-scene { inset-inline: 24px }
  .curr { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px }
  .curr::before, .lesson::before { display: none }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px) }
  .section { padding-block: 56px }
  h1, h2 { font-size: 1.5rem; margin-bottom: 24px }
  .hero { padding: 14px 14px 24px; }
  .hero-badge { font-size: .9375rem; margin-bottom: 16px; padding: 4px 8px }
  .hero-scene { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 347/270; margin-bottom: 28px; background-image: url(ripple-mobile.svg) }
  .hero-person { top: 10%; left: 0; width: 74%; right: auto; }
  .hero-rays { width: 16px; top: 6%; left: 23%; }
  .vertical-tag { right: 2.4%; top: -9%; min-width: 0; width: 22%; aspect-ratio: 76.5/292; background-image: url(tag-mobile.svg); }
  .vertical-copy { font-size: clamp(.625rem,4.25vw,1.35rem); padding-block: 4px; overflow-wrap: normal }
  .vertical-title { font-size: clamp(1.4rem,7vw,2.7rem); height: 54.3%; }
  .hero-content { width: 100%; margin: 0 }
  .hero-card { padding: 16px 8px 24px; gap: 8px }
  .hero h1 { margin: 0; font-size: clamp(1rem,6.05vw,2.375rem); }
  .hero-result { grid-row: 2 }
  .hero-result strong { font-size: clamp(2rem,11.35vw,4.5rem); text-shadow: 3px 3px var(--mint); margin: 0 0 4px }
  .hero .cta { margin: 32px 8px 0 }
  .hero .btn { min-height: 56px }
  .btn { width: 100% }
  .photo-layout { grid-template-columns: minmax(0,1fr); gap: 16px }
  .side-photo { width: 40%; justify-self: end }
  .feature-photo { margin: -8px 0 8px }
  .feature-photo img { width: 34% }
  .number-grid, .final-panel, .profile { grid-template-columns: minmax(0,1fr) }
  .proof { padding: 56px 16px 16px; margin-top: 32px }
  .proof-person { top: 4px; width: 27%; right: 8px; }
  .proof .january { width: 100%; }
  .january .sales-image { width: 50% }
  .curr { grid-template-columns: minmax(0,1fr); padding: 0 0 0 24px; gap: 16px }
  .curr::before { display: block; inset: 16px auto 16px 8px; border-top: 0; border-left: 2px solid var(--blue) }
  .lesson::before { display: block; left: -26px; top: 16px }
  .profile { margin-top: 32px; padding: 16px }
  .portrait { margin-top: -32px; width: 58%; max-height: 280px }
  .table > div { grid-template-columns: minmax(0,1fr) }
  .table dt { border-right: 0 }
  .table dt, .table dd { padding: 8px 16px }
  .flow li:not(:last-child)::after { inset: auto auto -43px calc(50% - 12px); width: 24px; height: 32px; background-image: url(arrow-down.svg) }
  .final-panel { padding: 16px; gap: 16px }
  .laugh { width: min(100%, 420px); justify-self: center }
  .final-copy { padding: 16px }
  .landing { padding-bottom: 64px }
  .dock { position: fixed; inset: auto 0 0; z-index: 5; min-height: 64px; gap: 16px; padding-block: 6px }
  .dock .btn { width: auto; padding-inline: 16px; }
}
@media (min-width: 500px) and (max-width: 720px) {
  .hero-person { width: 73%; }
  .hero-scene { margin-bottom: 48px }
}
@media (max-width: 340px), (max-height: 400px) {
  .dock { position: static; flex-wrap: wrap }
  .landing { padding-bottom: 0 }
}
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(1rem,7.05vw,2.375rem) }
  .hero-course { font-size: 1.22em }
  .hero-badge { font-size: .875rem }
  .hero .cta { margin-top: 24px }
  .dock.dock-tall { position: static }
}
@media (min-width: 721px) {
  .cta-dock .note { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip-path: none; white-space: normal }
}
@media (min-width: 721px) {
  .hero-content { margin-top: min(4.55vw,65px) }
  .hero-card { padding-bottom: 32px }
  .hero-details .note { font-size: 1rem }
  .hero-details .price { margin-top: 8px }
  .hero .cta { margin-top: 40px }
}
/* タブレット幅：背景の黄色い面を、見出しカードの下まで広げる（指さしの先にカードが来る） */
@media (min-width: 721px) and (max-width: 1100px) {
  .hero-scene { height: auto; top: max(5.84vw,60px); bottom: 144px; background-size: cover }
  .hero-person { width: min(50%, 648px); right: 6% }
}
/* 601〜720px：スマホ配置をやめ、タブレット配置（左にカード・右に写真）にする */
@media (min-width: 601px) and (max-width: 720px) {
  .hero { padding: 24px 24px 56px }
  .hero-badge { font-size: .875rem; padding: 4px 16px }
  .hero-scene { position: absolute; inset: 60px 24px 144px; width: auto; height: auto; aspect-ratio: auto; margin: 0; background-image: url(ripple-desktop.svg); background-size: cover }
  .hero-person { width: 50%; right: 6%; left: auto; top: 2.55vw }
  .hero-rays { width: min(1.4vw,20px); left: 49.4%; top: 11% }
  .vertical-tag { right: .4%; top: -2.4vw; width: 9vw; min-width: 80px; aspect-ratio: 124/460; background-image: url(tag-desktop.svg) }
  .vertical-copy { font-size: clamp(.75rem,1.62vw,1.5rem); padding-block: 8px }
  .vertical-title { font-size: clamp(1.25rem,3.1vw,2.75rem); height: 55.65% }
  .hero-content { width: 40%; margin: 4.55vw 0 0 3.33vw }
  .hero-card { padding: 16px 8px 32px; gap: 16px }
  .hero h1 { font-size: clamp(1rem,2.8vw,2.5rem) }
  .hero-course { font-size: 1.36em }
  .hero-result { grid-row: auto }
  .hero-result strong { font-size: clamp(2rem,5vw,4.5rem); text-shadow: 4px 4px var(--orange); margin-bottom: 8px }
  .hero-details .note { font-size: 1rem }
  .hero .cta { margin: 40px 0 0 }
  .hero .btn { min-height: 72px }
}
