/* Reading comfort: desktop 20px, phone 18px, supporting text 16px. */
body{font-size:20px;line-height:1.95;color:#293e32}
main p,main li,main dd{font-size:20px!important;line-height:1.95!important;letter-spacing:.015em;overflow-wrap:anywhere}
main p.section-label,main .lesson-category,main .review-note,main .risk-note,main .offer-note,main .benefits-note,main .preview-note,main figcaption,main small,footer p,footer small,footer .footer-review{font-size:16px!important;line-height:1.85!important}
main .section-label{letter-spacing:.08em}
main .review-note,main .risk-note,main .benefits-note,main figcaption,main small,.pending{color:#526357}
.reason .reason-copy>p{color:#344e3f}
.reason .reason-copy>.section-label{color:#326544}
.reason small,.reason .price-note{color:#526357}
.review-banner{font-size:16px;line-height:1.7;padding:10px 20px}
.header nav{font-size:17px;gap:24px}
.header-cta{font-size:16px;padding:12px 18px;min-height:52px}
.header-cta span,.header-cta b{font-size:16px}
.hero{width:min(1296px,calc(100% - 64px));column-gap:48px}
.hero-copy,.section-top>*{min-width:0}
.hero-intro{display:block;max-width:32em}
.hero-intro p+p{padding-top:0;margin-top:18px}
.hero-intro br{display:none}
.hero-catch{font-size:24px!important}
.offer-metrics,.closing-offer{font-size:18px;flex-wrap:wrap;row-gap:8px}
.offer-note{white-space:normal}
.cta{flex-wrap:wrap;min-height:84px;gap:12px 20px;line-height:1.7}
.cta>span{font-size:20px;font-weight:700}
.cta strong{font-size:38px}.cta strong span{font-size:20px}
h2{font-size:42px;line-height:1.65}h3{font-size:27px;line-height:1.7}
.section-top{flex-wrap:wrap;gap:28px 48px}
.account-grid{grid-template-columns:repeat(2,minmax(0,1fr));border:0;gap:28px}
.account{padding:30px!important;border:1px solid #bdcfbf!important;border-radius:18px;min-width:0;background:#ffffff5c}
.account-body{white-space:normal;margin-top:20px!important;letter-spacing:normal}
.account-heading>p{white-space:normal}
.account-question>span,.account-number{font-size:16px}
.account-question p{white-space:normal}
.account-body br,.account-question br{display:none}
.section-end{max-width:42em}
.lesson-summary{width:auto;max-width:100%;gap:24px;flex-wrap:wrap}
.lesson-summary>b,.lesson-summary>p{width:auto;max-width:100%;flex:0 1 auto}
.lesson-list h3{font-size:26px;line-height:1.7}
.lesson-list article{grid-template-columns:70px minmax(0,1fr) 32px}
.lesson-mark{font-size:16px}
.benefit-card{gap:56px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.benefit-copy .keep,.lesson-list .keep{white-space:normal;display:inline}
.benefit-copy h3,.benefit-mails .benefit-copy h3{font-size:30px}
.outline-tag,.benefit-copy .outline-tag{font-size:16px}
.teacher .teacher-role{font-size:18px!important}
.teacher h2 span{font-size:17px}
.teacher-biography{max-width:790px}
.teacher-biography h3{font-size:26px}
.course-facts{grid-template-columns:1fr;column-gap:0}
.course-facts>div{grid-template-columns:160px minmax(0,1fr);gap:28px;padding:25px 0}
.course-facts dt{font-size:18px;font-weight:700;color:#405b49}
.course-facts dd span,.course-facts dd strong,.fact-bonus-list{font-size:20px}
.facts-bonuses{grid-column:auto;grid-row:auto}
.flow h4{font-size:24px}.flow li{padding:26px;min-width:0}
.faq-grid{grid-template-columns:minmax(220px,.7fr) minmax(0,1.6fr);gap:48px}
.faq-list h3{font-size:22px;font-weight:700}.faq-list h3 span{font-size:23px}
.preview-description{max-width:30em}
.preview-duration span,.preview-external,.preview-external span{font-size:16px}
.preview-copy h3{font-size:30px}
.review-tag{font-size:16px}
footer p{max-width:44em;margin-left:auto;margin-right:auto}
.header a,.preview-external{min-height:48px}
@media(min-width:701px) and (max-width:1000px){
.hero{grid-template-columns:1fr;gap:28px;width:calc(100% - 64px);margin:0 auto}
.hero-copy{max-width:740px}.hero-offer{max-width:600px}.hero-visual{height:auto}.hero-visual img{height:auto}
.intro-grid,.reason-grid{grid-template-columns:1fr;gap:40px}
.benefit-card{gap:32px}.flow ol{grid-template-columns:1fr}.faq-grid{grid-template-columns:1fr}
.course-preview{grid-template-columns:minmax(0,1fr);padding:28px;gap:28px}
}
@media(max-width:700px){
body{font-size:18px}
main p,main li,main dd{font-size:18px!important;line-height:1.95!important}
main p.section-label,main .lesson-category,main .review-note,main .risk-note,main .offer-note,main .benefits-note,main .preview-note,main figcaption,main small{font-size:16px!important}
.section-shell{width:calc(100% - 40px)}.section{padding:64px 0}
.hero{width:100%;padding:28px 20px 0;margin:0}
.hero-catch{font-size:20px!important;line-height:1.8!important}
.hero-intro{max-width:none;margin-top:24px}
.hero-intro p+p{margin-top:18px}
.header{height:auto!important}.header.menu-ready{min-height:76px;gap:8px;padding:10px 12px}
.header.menu-ready .academy-brand{flex-basis:104px}
.header .header-cta{min-width:0;width:auto;padding:8px 12px;min-height:52px}
.header-cta span,.header-cta b{font-size:14px;line-height:1.45}
.header .menu-toggle:not([hidden]){font-size:12px;min-height:52px;flex-basis:48px;width:48px}
.header.menu-ready nav{font-size:18px}.header.menu-ready nav a{min-height:56px}
.header.menu-ready~main section[id]{scroll-margin-top:96px}
h2,.reason h2,.bonus-intro h2,.closing h2,.faq h2{font-size:30px;line-height:1.7;letter-spacing:.015em}
.hero-visual figcaption{font-size:18px!important}
.account-grid{grid-template-columns:minmax(0,1fr);gap:20px}
.account{padding:26px 22px!important}.account-heading{padding-left:0}.account-number{position:static}
.account-body{padding-left:0;margin-top:18px!important}.account-question{margin-left:0;margin-top:22px}
.account h3{font-size:34px}.account h3 span{font-size:22px}
.section-end{max-width:none}
.lesson-summary{width:100%;gap:20px}.lesson-summary>b{font-size:56px}.lesson-summary>b span{font-size:17px}
.lesson-summary>p{border-left:0;padding-left:0}
.lesson-list article{grid-template-columns:34px minmax(0,1fr);gap:14px}
.lesson-list h3{font-size:23px}.lesson-number{font-size:28px}.lesson-mark{display:none}
.cta{padding:20px;gap:12px;min-height:84px}.cta>span{font-size:19px}.cta strong{font-size:34px}.cta strong span{font-size:18px}
.offer-metrics,.closing-offer{font-size:17px;gap:10px 16px}
.offer-metrics span+span,.closing-offer span+span{padding-left:16px}
.reason-price{max-width:100%;width:300px}.reason-price>div>span{font-size:24px}
.benefit-card{display:flex;gap:28px}.benefit-copy h3,.benefit-mails .benefit-copy h3{font-size:27px}
.mail-summary{padding:30px 18px}.mail-summary .mail-illustration{width:52%;height:auto}
.teacher .teacher-grid{width:calc(100% - 40px)}.teacher-biography h3{font-size:24px}.teacher h2 span{font-size:16px}
.course-facts>div{grid-template-columns:minmax(0,1fr);gap:8px;padding:24px 0}
.course-facts dt{font-size:17px}.course-facts dd span,.course-facts dd strong{font-size:18px}
.flow h4{font-size:22px}.flow li{padding:22px 18px;column-gap:12px}
.faq-grid{gap:30px;grid-template-columns:minmax(0,1fr)}.faq-list h3{font-size:20px;padding-left:28px}
.faq-list article p{padding-left:0;margin-top:18px}
.course-preview{padding:26px 20px;grid-template-columns:minmax(0,1fr)}.preview-copy h3{font-size:26px}
.mobile-cta{gap:12px;padding:12px 16px max(12px,env(safe-area-inset-bottom));min-height:96px;z-index:45}
.mobile-cta>div>span{font-size:14px}.mobile-cta strong{font-size:29px}.mobile-cta strong small{font-size:16px}
.mobile-cta a{font-size:18px;min-height:56px;padding:10px 14px;line-height:1.5;text-align:center}
.back-to-top{bottom:calc(112px + env(safe-area-inset-bottom));font-size:14px;width:54px;min-height:54px}
footer{padding-bottom:180px}.review-banner{font-size:16px}
}
@media(max-width:360px){.header.menu-ready .academy-brand{flex-basis:86px}.header .header-cta{padding:7px 9px}.cta{align-items:flex-start;flex-direction:column}.mobile-cta{padding-left:12px;padding-right:12px;gap:8px}.mobile-cta a{font-size:17px}.mobile-cta>div>span{font-size:13px}}
/* Hero artwork and caption grow together; enlarged captions must never overlap copy. */
.hero .hero-visual{height:auto;min-height:0;overflow:visible;display:flex;flex-direction:column;gap:16px;align-self:center}
.hero .hero-visual img{display:block;width:100%;height:auto;max-height:485px;object-fit:contain;flex:none}
.hero .hero-visual figcaption{position:static;inset:auto;width:100%;max-width:100%;margin:0;padding:0 12px 8px;color:#497151;text-align:center;line-height:1.85!important;overflow-wrap:normal;word-break:normal;line-break:strict}
.hero .hero-visual figcaption span{display:block}
@media(max-width:700px){
.hero .hero-visual{width:100%;height:auto;margin:18px 0 0;gap:14px;flex:0 0 auto}
.hero .hero-visual img{height:auto;max-height:none;aspect-ratio:346/260;object-fit:contain}
.hero .hero-visual figcaption{font-size:18px!important;line-height:1.8!important;letter-spacing:.02em;padding:0 8px 4px}
.hero .hero-visual figcaption span{display:block;white-space:normal}
.hero .hero-intro{margin-top:30px;flex:0 0 auto}
.hero .hero-offer{margin-top:28px;flex:0 0 auto}
}

/* Preserve the course mark colors and fit the existing header footprint. */
.header .academy-brand img{filter:none;width:100%;height:auto;max-height:64px;object-fit:contain;object-position:left center}
@media(max-width:700px){.header .academy-brand img{max-height:56px}}

/* Supplied portrait: preserve its full composition at each viewport. */
.teacher .teacher-grid>figure{height:auto;aspect-ratio:1000/1229;overflow:hidden}
.teacher .teacher-grid>figure img{display:block;width:100%;height:auto;object-fit:contain;object-position:center}

/* A quiet letter before the final purchase invitation. */
.final-message{background:#f7f4eb;color:#283f32;padding:96px 0}
.final-message-letter{max-width:800px;margin:0 auto;padding:56px 64px;background:#fffdf7;border-top:3px solid #7d9274}
.final-message h2{font-size:clamp(30px,3vw,42px);line-height:1.6;letter-spacing:.06em;margin:16px 0 20px}
.final-message-from{color:#4d644e;font-size:18px;margin:0 0 40px}
.final-message-body p{font-size:20px!important;line-height:2!important;margin:0 0 1.6em;overflow-wrap:anywhere}
.final-message-signature{text-align:right;margin-top:40px}
.final-message-signature p{font-size:16px;margin:0;line-height:1.8}
.final-message-signature .signature-name{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:32px;letter-spacing:.16em;margin-top:8px}
@media(max-width:700px){.final-message{padding:56px 0}.final-message-letter{padding:30px 22px}.final-message h2{font-size:30px}.final-message-from{font-size:16px;margin-bottom:28px}.final-message-body p{font-size:18px!important;line-height:1.95!important}.final-message-signature .signature-name{font-size:28px}}

/* Match DOKKOISHO storefront purchase color. */
:root{--purchase-orange:#e16a42}
a.cta,a.header-cta,.mobile-cta a{background:var(--purchase-orange);border-color:var(--purchase-orange);color:#fff}
a.cta:hover,a.header-cta:hover,.mobile-cta a:hover{background:#c95530;border-color:#c95530;color:#fff}
.footer-store-logo{display:block;width:min(260px,70vw);margin:24px auto 18px}
.footer-store-logo img{display:block;width:100%;height:auto}

@media(max-width:700px){
.header{transition:transform .22s ease,visibility .22s;will-change:transform}
.header.scroll-hidden{transform:translateY(calc(-100% - 12px));visibility:hidden;pointer-events:none}
}
@media(max-width:700px) and (prefers-reduced-motion:reduce){.header{transition:none}}

a.cta,a.header-cta,.mobile-cta a{border-radius:20px}
@media(max-width:700px){.header-cta{min-width:116px}.header-cta span{font-size:11px}.mobile-cta a{border-radius:20px}}

a.cta,a.header-cta{justify-content:center;text-align:center}
a.cta>span{font-size:18px;font-weight:700}
@media(max-width:700px){a.cta>span{font-size:16px}.header-cta span{font-size:11px}}

/* Larger lettering for the full-width course enrollment buttons. */
a.cta>span{font-size:26px;font-weight:700;line-height:1.4;letter-spacing:.05em}
@media(max-width:700px){a.cta>span{font-size:22px}}

.lecture-photo{margin:64px auto 0}
.lecture-photo img{display:block;width:100%;height:auto;border-radius:20px}
@media(max-width:700px){.lecture-photo{margin-top:36px}}

.lessons-photo{margin:64px auto}
.lessons-photo img{display:block;width:100%;height:auto;border-radius:20px}
.lessons-photo+.lessons{padding-top:0}
@media(max-width:700px){.lessons-photo{margin:40px auto}}

/* Consistent photo spacing and rounded portrait. */
.lecture-photo{margin-bottom:64px}
.lecture-photo+.intro{padding-top:0}
.teacher-grid>figure,.teacher-grid>figure img{border-radius:20px}
.teacher-grid>figure{overflow:hidden}
@media(max-width:700px){.lecture-photo{margin-bottom:40px}}

.final-message-photo{margin:64px 0}
.final-message-photo img{display:block;width:100%;height:auto;border-radius:20px}
@media(max-width:700px){.final-message-photo{margin:40px 0}}

.faq-photo{margin:64px auto}
.faq-photo img{display:block;width:100%;height:auto;border-radius:20px}
@media(max-width:700px){.faq-photo{margin:40px auto}}

/* Photo rhythm: avoid stacking section padding and photo margins. */
:root{--photo-gap:64px}
.lecture-photo{margin-top:32px;margin-bottom:var(--photo-gap)}
.lessons-photo{margin-top:0;margin-bottom:var(--photo-gap)}
.faq-photo{margin-top:0;margin-bottom:var(--photo-gap)}
.final-message-from{margin-bottom:0}
.final-message-photo{margin-top:var(--photo-gap);margin-bottom:var(--photo-gap)}
@media(max-width:700px){
:root{--photo-gap:40px}
.lecture-photo{margin-top:16px}
}

/* Put photo-to-heading space inside sections to prevent margin collapse. */
.lecture-photo,.lessons-photo{margin-bottom:0}
.lecture-photo+.intro,.lessons-photo+.lessons{padding-top:64px}
@media(max-width:700px){
.lecture-photo+.intro,.lessons-photo+.lessons{padding-top:40px}
}
