/*
Theme Name: MBB Yomiuriland Official
Theme URI: https://www.mbb-yland.com/
Author: MBB Yomiuriland
Description: メガブルーバード英会話 よみうりランド校の公式ランディングページ用クラシックテーマ。
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: mbb-yomiuriland
*/

:root {
  --green: #2daa43;
  --pink: #da6098;
  --blue: #2298d0;
  --yellow: #f5d33b;
  --navy: #123f75;
  --orange: #e87516;
  --line: #06a847;
  --text: #263548;
  --muted: #637083;
  --sky: #f2fafd;
  --mint: #f5fbef;
  --blush: #fff4f8;
  --white: #fff;
  --border: #dce8ec;
  --shadow: 0 18px 50px rgba(18, 63, 117, .10);
  --radius: 24px;
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--text); background: var(--white); font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.35; letter-spacing: .02em; }
h2 { margin-bottom: 30px; font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1.2em; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(920px, calc(100% - 40px)); }
.section { position: relative; padding: 108px 0; overflow: hidden; }
.section-blue { background: var(--sky); }
.section-green { background: var(--mint); }
.section-pink { background: var(--blush); }
.section-kicker { margin: 0 0 8px; color: var(--pink); font-size: .78rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.section-intro { max-width: 660px; margin: -14px auto 38px; color: var(--muted); text-align: center; }
.section-heading-row { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 60px; margin-bottom: 52px; }
.section-heading-row h2 { margin-bottom: 0; }
.section-heading-row > p { margin-bottom: 5px; color: var(--muted); }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 12px 18px; transform: translateY(-150%); border-radius: 8px; background: var(--navy); color: white; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-hidden { display: none !important; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 12px 22px; border: 2px solid transparent; border-radius: 999px; font-size: .95rem; font-weight: 800; line-height: 1.3; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(18, 63, 117, .16); }
.button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.button-trial { background: var(--orange); color: white; box-shadow: 0 8px 0 #c85e0a; }
.button-trial:hover { background: #d76d13; }
.button-line { background: var(--line); color: white; }
.button-large { min-height: 58px; padding-inline: 28px; font-size: 1rem; }
.button-small { min-height: 44px; padding: 10px 17px; font-size: .8rem; }
.button-outline { border-color: var(--navy); background: white; color: var(--navy); }
.button-navy { background: var(--navy); color: white; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--navy); font-weight: 800; text-underline-offset: 4px; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(18,63,117,.08); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 76px; align-items: center; gap: 26px; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; color: var(--navy); font-size: .9rem; font-weight: 900; text-decoration: none; white-space: nowrap; }
.brand img { width: 85px; height: auto; }
.global-nav { display: flex; align-items: center; gap: 19px; margin-left: auto; }
.global-nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .82rem; font-weight: 700; text-decoration: none; }
.global-nav a:hover { color: var(--green); }
.header-actions { display: flex; gap: 8px; }
.menu-button { display: none; width: 48px; height: 48px; padding: 11px; border: 0; border-radius: 50%; background: var(--sky); }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 3px; background: var(--navy); }

.hero { position: relative; min-height: 720px; overflow: hidden; background: #eaf8ff; }
.hero-art { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(242,250,253,.96) 0%, rgba(242,250,253,.91) 38%, rgba(242,250,253,.2) 67%, rgba(242,250,253,.06)), url("assets/hero-generated.webp") center/cover no-repeat; }
.hero-grid { position: relative; display: grid; min-height: 720px; grid-template-columns: 1.1fr .9fr; align-items: center; padding-block: 72px 86px; }
.hero-copy { position: relative; z-index: 2; max-width: 660px; }
.hero .eyebrow { display: inline-block; margin-bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.86); color: var(--navy); font-size: .82rem; font-weight: 800; }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.6rem, 5.3vw, 5rem); letter-spacing: .01em; }
.hero h1 span { color: var(--green); }
.hero-lead { max-width: 590px; font-size: 1.05rem; font-weight: 600; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 30px; padding: 0; list-style: none; }
.hero-points li { position: relative; padding-left: 22px; font-size: .9rem; font-weight: 700; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: var(--green); }
.cta-group { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.cta-note { margin: 16px 0 0; color: var(--muted); font-size: .82rem; }
.hero-character { position: relative; align-self: end; justify-self: end; width: min(380px, 100%); }
.hero-character img { width: 330px; margin-left: auto; filter: drop-shadow(0 24px 28px rgba(18,63,117,.18)); }
.joy-bubble { position: absolute; z-index: 2; top: 38px; left: -60px; padding: 16px 22px; border-radius: 28px 28px 4px 28px; background: white; color: var(--pink); font-size: 1.4rem; font-weight: 900; text-align: center; box-shadow: var(--shadow); transform: rotate(-3deg); }
.joy-bubble span { display: block; color: var(--text); font-size: .7rem; font-weight: 700; }
.hero-status { position: absolute; z-index: 3; bottom: 0; left: 50%; display: flex; min-height: 50px; align-items: center; gap: 10px; padding: 11px 28px; transform: translateX(-50%); border-radius: 22px 22px 0 0; background: white; color: var(--navy); box-shadow: 0 -8px 30px rgba(18,63,117,.08); white-space: nowrap; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(232,117,22,.15); }

.concerns h2 { text-align: center; }
.concerns .section-kicker { text-align: center; }
.concern-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.concern-grid article { min-height: 185px; padding: 26px 20px; border: 1px solid var(--border); border-radius: 20px; background: white; text-align: center; box-shadow: 0 12px 28px rgba(18,63,117,.06); }
.concern-grid span { display: grid; width: 44px; height: 44px; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--blush); color: var(--pink); font-weight: 900; }
.concern-grid p { margin: 0; font-size: .92rem; font-weight: 700; }

.classroom { background: white; }
.classroom-heading { margin-bottom: 42px; }
.classroom-gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 310px 380px; gap: 16px; }
.classroom-gallery figure { position: relative; overflow: hidden; margin: 0; border-radius: 22px; background: var(--sky); box-shadow: var(--shadow); }
.classroom-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.classroom-gallery figure:hover img { transform: scale(1.025); }
.classroom-gallery figcaption, .themes-real-photo figcaption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 14px 17px; border-radius: 15px; background: rgba(255,255,255,.94); color: var(--text); box-shadow: 0 9px 25px rgba(18,63,117,.12); backdrop-filter: blur(7px); }
.classroom-gallery figcaption strong, .themes-real-photo figcaption strong { display: block; color: var(--navy); font-size: .88rem; }
.classroom-gallery figcaption span, .themes-real-photo figcaption span { display: block; color: var(--muted); font-size: .72rem; }
.gallery-main { grid-column: 1 / 8; grid-row: 1; }
.gallery-craft { grid-column: 8 / 13; grid-row: 1; }
.gallery-tree { grid-column: 1 / 6; grid-row: 2; }
.gallery-tree img { object-position: center 58%; }
.gallery-material { grid-column: 6 / 13; grid-row: 2; }
.gallery-material img { object-position: center 41%; }
.classroom-movie { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 34px; margin-top: 38px; padding: 34px; border-radius: 26px; background: var(--navy); color: white; box-shadow: var(--shadow); }
.classroom-movie h3 { margin-bottom: 12px; color: white; font-size: 1.55rem; }
.classroom-movie p:not(.section-kicker) { margin-bottom: 0; color: rgba(255,255,255,.76); font-size: .88rem; }
.classroom-movie video { display: block; width: 100%; border-radius: 18px; background: #071c33; box-shadow: 0 16px 34px rgba(0,0,0,.24); }
.photo-note { margin: 18px 0 0; color: var(--muted); font-size: .72rem; text-align: right; }

.reasons::before { content: ""; position: absolute; top: 36px; right: 4%; width: 130px; height: 50px; opacity: .5; background: radial-gradient(ellipse at center, #fff 60%, transparent 62%); }
.reasons h2 { text-align: center; }
.reasons .section-kicker { text-align: center; }
.reason-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.reason-card { position: relative; padding: 28px 20px 26px; border-top: 5px solid var(--green); border-radius: 20px; background: white; box-shadow: var(--shadow); }
.reason-card:nth-child(2) { border-color: var(--pink); }
.reason-card:nth-child(3) { border-color: var(--blue); }
.reason-card:nth-child(4) { border-color: var(--yellow); }
.reason-card:nth-child(5) { border-color: var(--navy); }
.reason-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 18px; border-radius: 15px; background: var(--sky); color: var(--blue); font-size: 1.35rem; font-weight: 900; }
.reason-number { position: absolute; top: 24px; right: 20px; margin: 0; color: #b7c7d3; font-size: .72rem; font-weight: 900; }
.reason-card h3 { min-height: 64px; margin-bottom: 14px; font-size: 1rem; }
.reason-card > p:last-child { margin: 0; color: var(--muted); font-size: .82rem; }

.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.course-card::after { content: ""; position: absolute; top: -45px; right: -45px; width: 150px; height: 150px; border-radius: 50%; background: var(--sky); }
.course-pre::after { background: var(--blush); }
.course-la::after { background: var(--mint); }
.course-iss::after { background: var(--sky); }
.course-eiken::after { background: #fff9df; }
.course-card header, .course-card > p, .course-card > ul, .course-actions { position: relative; z-index: 1; }
.course-label { display: inline-flex; min-height: 30px; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--navy); color: white; font-size: .75rem; font-weight: 800; }
.course-card h3 { margin: 12px 0 3px; font-size: 1.65rem; }
.course-target { min-height: 28px; color: var(--muted); font-size: .82rem; }
.review-tag { display: inline-block; margin-left: 5px; padding: 2px 7px; border-radius: 5px; background: #fff0bf; color: #705300; font-size: .68rem; }
.course-price { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 10px; margin: 6px 0 22px; padding: 16px 18px; border-radius: 15px; background: #f7fafc; }
.course-price span { grid-column: 1 / -1; color: var(--muted); font-size: .76rem; }
.course-price strong { color: var(--navy); font-size: 1.15rem; }
.course-price small { color: var(--muted); }
.course-card > p { font-size: .92rem; }
.course-card > ul { margin: 0 0 25px; padding-left: 1.3em; color: var(--muted); font-size: .86rem; }
.course-card > ul li::marker { color: var(--green); }
.course-actions { display: flex; align-items: center; gap: 18px; margin-top: auto; }

.themes-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 52px; }
.themes-copy > p:not(.section-kicker):not(.fine-print) { color: var(--muted); }
.theme-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 20px; }
.theme-chips span { padding: 7px 12px; border: 1px solid #cce1c3; border-radius: 999px; background: white; color: var(--navy); font-size: .75rem; font-weight: 800; }
.theme-details { margin: 10px 0 18px; border-radius: 14px; background: white; }
.theme-details summary { min-height: 48px; padding: 10px 18px; cursor: pointer; color: var(--navy); font-weight: 800; }
.theme-details div { padding: 2px 18px 14px; font-size: .8rem; }
.theme-details p { margin-bottom: 8px; }
.fine-print { color: var(--muted); font-size: .72rem; }
.centered { text-align: center; }
.themes-visual { position: relative; overflow: hidden; margin: 0; border: 10px solid white; border-radius: 32px; box-shadow: var(--shadow); }
.themes-visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.themes-real-photo { position: relative; }
.themes-real-photo img { aspect-ratio: 4/3; object-position: center; }
.themes-real-photo figcaption { right: 18px; bottom: 18px; left: 18px; }
.learning-flow { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 58px; }
.learning-flow div { display: grid; min-width: 185px; grid-template-columns: auto 1fr; align-items: center; gap: 0 10px; padding: 18px; border-radius: 17px; background: white; box-shadow: 0 8px 22px rgba(18,63,117,.07); }
.learning-flow span { grid-row: 1 / 3; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--green); color: white; font-weight: 900; }
.learning-flow strong { color: var(--navy); font-size: .86rem; }
.learning-flow small { color: var(--muted); }
.learning-flow i { color: var(--pink); font-size: 1.35rem; font-style: normal; }

.lesson-tabs [role="tablist"] { display: flex; justify-content: center; gap: 8px; margin-bottom: 36px; }
.lesson-tabs [role="tab"] { min-width: 160px; min-height: 48px; padding: 9px 20px; border: 2px solid var(--navy); border-radius: 999px; background: white; color: var(--navy); font-weight: 800; cursor: pointer; }
.lesson-tabs [role="tab"][aria-selected="true"] { background: var(--navy); color: white; }
.lesson-panel ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0 0 25px; padding: 0; list-style: none; }
.lesson-panel li { position: relative; display: grid; min-width: 0; min-height: 220px; grid-template-rows: auto auto auto 1fr; place-items: center; align-content: start; padding: 18px 16px; border: 1px solid var(--border); border-radius: 18px; background: white; box-shadow: 0 8px 20px rgba(18,63,117,.06); text-align: center; }
.lesson-panel .lesson-number { position: absolute; top: 12px; left: 13px; color: var(--pink); font-size: .68rem; font-weight: 900; }
.lesson-panel .lesson-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 2px 0 10px; border-radius: 18px; background: var(--sky); color: var(--blue); font-size: 1.45rem; font-weight: 900; line-height: 1; }
.lesson-panel strong { color: var(--navy); font-size: .88rem; }
.lesson-panel p { margin: 9px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.lesson-schedule { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 44px; margin-top: 58px; padding: 36px; border: 1px solid var(--border); border-radius: 28px; background: var(--sky); }
.lesson-schedule-copy h3 { font-size: clamp(1.45rem, 3vw, 2.2rem); }
.lesson-schedule-image { display: block; overflow: hidden; border: 8px solid white; border-radius: 20px; box-shadow: var(--shadow); }
.lesson-schedule-image img { width: 100%; height: auto; }

.journey-band { position: relative; min-height: 480px; overflow: hidden; }
.journey-band > img { width: 100%; height: 560px; object-fit: cover; }
.journey-copy { position: absolute; top: 46px; left: 50%; width: min(700px, calc(100% - 40px)); transform: translateX(-50%); text-align: center; }
.journey-copy p { color: var(--navy); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.5; }
.journey-copy strong { color: var(--green); }

.price h2, .price > .container > .section-kicker { text-align: center; }
.price-table { overflow: hidden; max-width: 900px; margin: 0 auto 26px; border: 1px solid #f0dce5; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.price-table [role="row"] { display: grid; grid-template-columns: 1fr 1.4fr 1.2fr; align-items: center; min-height: 64px; padding: 8px 26px; border-top: 1px solid #f0e4ea; }
.price-table .price-head { min-height: 48px; border-top: 0; background: var(--navy); color: white; font-size: .78rem; font-weight: 800; }
.price-table b { color: var(--navy); font-size: 1.08rem; text-align: right; }
.fee-grid { display: grid; max-width: 900px; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 auto 36px; }
.fee-grid article { padding: 22px; border-radius: 18px; background: white; text-align: center; }
.fee-grid span { color: var(--pink); font-size: .72rem; font-weight: 900; }
.fee-grid h3 { margin: 4px 0; font-size: .85rem; }
.fee-grid strong { display: block; color: var(--navy); font-size: 1.25rem; }
.fee-grid small { color: var(--muted); }
.campaign { display: grid; max-width: 900px; grid-template-columns: 190px 1fr; align-items: stretch; overflow: hidden; margin: 0 auto 38px; border: 3px solid var(--orange); border-radius: 22px; background: white; }
.campaign-badge { display: grid; place-items: center; padding: 24px; background: var(--orange); color: white; font-weight: 900; text-align: center; }
.campaign > div:last-child { padding: 22px 28px; }
.campaign p { margin: 0; color: var(--pink); font-size: .8rem; font-weight: 900; }
.campaign h3 { margin: 2px 0 6px; }
.campaign h3 strong { color: var(--orange); font-size: 1.4em; }
.campaign small { color: var(--muted); }
.cta-center { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }

.trial-flow h2, .trial-flow > .container > .section-kicker { text-align: center; }
.step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 44px; }
.step-grid article { position: relative; padding: 28px 20px; border: 1px solid var(--border); border-radius: 18px; background: white; text-align: center; }
.step-grid article:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50%; right: -22px; color: var(--pink); font-size: 1.2rem; font-weight: 900; }
.step-grid span { display: grid; width: 42px; height: 42px; place-items: center; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: white; font-weight: 900; }
.step-grid h3 { font-size: .96rem; }
.step-grid p { margin: 0; color: var(--muted); font-size: .78rem; }
.trial-flow .cta-center p { margin: 0; font-size: .85rem; }
.trial-flow .cta-center p a { color: var(--line); font-weight: 800; }

.social-grid { display: grid; grid-template-columns: 1fr .65fr 1fr; gap: 18px; }
.social-grid article { display: flex; min-height: 310px; flex-direction: column; align-items: flex-start; padding: 30px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.social-platform { margin-bottom: 22px; font-size: .78rem; font-weight: 900; letter-spacing: .08em; }
.social-platform.instagram { color: var(--pink); }
.social-platform.threads { color: #111; }
.social-grid h3 { font-size: 1.35rem; }
.social-grid p { color: var(--muted); }
.social-grid .button { margin-top: auto; }
.social-grid .social-joy { align-items: center; justify-content: center; background: var(--yellow); text-align: center; }
.social-joy img { width: 104px; border: 5px solid white; border-radius: 50%; }
.social-joy p { margin: 15px 0 0; color: var(--navy); font-weight: 900; }
.social-to-trial { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 24px; padding: 22px 30px; border-radius: 18px; background: white; }
.social-to-trial p { margin: 0; color: var(--navy); font-weight: 700; }

.access-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 54px; align-items: center; }
.access-place { padding: 16px 18px; border-left: 5px solid var(--green); background: var(--mint); color: var(--navy); font-size: 1rem; font-weight: 700; }
.access-place strong { color: var(--green); font-size: 1.3rem; }
.access address { margin-bottom: 20px; font-style: normal; font-weight: 700; }
.access ul { padding-left: 1.4em; color: var(--muted); }
.access ul li::marker { color: var(--green); }
.access-actions { display: flex; align-items: center; gap: 22px; margin: 25px 0; }
.map-wrap { position: relative; overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.map-wrap iframe { display: block; width: 100%; height: 480px; border: 0; }
.map-note { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); }
.map-note strong { color: var(--green); }
.map-note span { font-size: .74rem; }

.faq h2, .faq > .container > .section-kicker { text-align: center; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 15px; background: white; box-shadow: 0 7px 22px rgba(18,63,117,.05); }
.faq-list summary { position: relative; min-height: 60px; padding: 16px 55px 16px 24px; cursor: pointer; color: var(--navy); font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; margin-right: 12px; color: var(--pink); font-size: 1.1rem; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 22px; transform: translateY(-50%); color: var(--green); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 25px 22px 54px; color: var(--muted); font-size: .9rem; }
.faq-line { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 20px 24px; border-radius: 20px; background: var(--navy); color: white; }
.faq-line img { width: 70px; border-radius: 50%; }
.faq-line div { margin-right: auto; }
.faq-line strong { display: block; }
.faq-line p { margin: 0; font-size: .8rem; }

.final-cta { position: relative; min-height: 680px; overflow: hidden; }
.final-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(242,250,253,.35), rgba(242,250,253,.15)), url("assets/final-generated.webp") center/cover no-repeat; }
.final-inner { position: relative; display: grid; min-height: 680px; grid-template-columns: .45fr 1fr; align-items: end; gap: 40px; padding-top: 80px; }
.final-inner > img { align-self: end; width: 260px; max-height: 480px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 24px rgba(18,63,117,.18)); }
.final-inner > div { align-self: center; max-width: 720px; padding: 45px; border-radius: 30px; background: rgba(255,255,255,.91); box-shadow: var(--shadow); backdrop-filter: blur(5px); }
.final-inner h2 { margin-bottom: 20px; }
.final-social { display: flex; gap: 20px; margin-top: 26px; }
.final-social a { color: var(--navy); font-size: .8rem; font-weight: 800; text-underline-offset: 4px; }

.site-footer { padding: 68px 0 100px; background: #0b315e; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .7fr; gap: 60px; }
.site-footer h2 { margin-bottom: 15px; color: white; font-size: .85rem; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.8); font-size: .8rem; }
.footer-brand img { width: 105px; margin-bottom: 14px; padding: 6px; border-radius: 10px; background: white; }
.footer-brand strong { display: block; font-size: .95rem; }
.footer-brand p { margin-top: 4px; }
.site-footer nav { display: grid; gap: 5px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.footer-bottom small { color: rgba(255,255,255,.6); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-related { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 18px; }
.footer-related a { text-decoration: underline; text-underline-offset: 4px; }

.sticky-cta { display: none; }

body.admin-bar .site-header { top: 32px; }

.wp-content-area { min-height: 48vh; padding-top: 32px; }
.wp-entry { padding: 30px; border: 1px solid var(--border); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.wp-entry + .wp-entry { margin-top: 24px; }
.wp-entry h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
.wp-entry h1 a { text-decoration: none; }
.wp-entry h1 a:hover { color: var(--green); }
.entry-content > * { max-width: 100%; }
.error-404 { text-align: center; }

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

@media (max-width: 1080px) {
  .global-nav { display: none; }
  .header-actions { margin-left: auto; }
  .reason-grid { grid-template-columns: repeat(3, 1fr); }
  .concern-grid { grid-template-columns: repeat(3, 1fr); }
  .concern-grid article { min-height: 155px; }
  .step-grid { grid-template-columns: repeat(3, 1fr); }
  .step-grid article::after { display: none; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 66px; }
  body { padding-bottom: 72px; }
  .container, .narrow { width: min(100% - 28px, var(--container)); }
  .section { padding: 76px 0; }
  h2 { margin-bottom: 24px; font-size: clamp(1.75rem, 8.5vw, 2.45rem); }
  .section-heading-row { display: block; margin-bottom: 35px; }
  .section-heading-row h2 { margin-bottom: 16px; }
  .site-header { min-height: 66px; }
  .header-inner { min-height: 66px; }
  .brand img { width: 67px; }
  .brand span { font-size: .75rem; }
  .header-actions { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .global-nav { position: fixed; z-index: 110; inset: 66px 0 auto; display: grid; max-height: 0; overflow: hidden; gap: 0; background: white; opacity: 0; pointer-events: none; transition: max-height .25s ease, opacity .25s ease; }
  body.admin-bar .global-nav { inset: 112px 0 auto; }
  body.admin-bar .site-header { top: 46px; }
  .global-nav.is-open { max-height: 420px; padding: 12px 20px 25px; border-bottom: 1px solid var(--border); opacity: 1; pointer-events: auto; box-shadow: var(--shadow); }
  .global-nav a { min-height: 50px; border-bottom: 1px solid var(--border); font-size: .9rem; }
  .hero { min-height: 0; }
  .hero-art { background: linear-gradient(180deg, rgba(242,250,253,.96) 0%, rgba(242,250,253,.87) 57%, rgba(242,250,253,.18)), url("assets/hero-generated.webp") 62% center/cover no-repeat; }
  .hero-grid { display: flex; min-height: 0; flex-direction: column; padding: 52px 0 86px; }
  .hero-copy { max-width: none; }
  .hero .eyebrow { font-size: .68rem; }
  .hero h1 { font-size: clamp(2.3rem, 12vw, 3.5rem); }
  .hero-lead { font-size: .93rem; }
  .hero-points { display: grid; gap: 4px; }
  .cta-group { display: grid; gap: 12px; }
  .cta-group .button { width: 100%; }
  .hero-character { position: relative; right: auto; bottom: auto; display: flex; width: 100%; min-height: 340px; flex-direction: column; align-items: center; margin-top: 28px; align-self: auto; }
  .hero-character img { width: 190px; margin: 0 auto; }
  .joy-bubble { position: relative; top: auto; left: auto; align-self: flex-start; margin: 0 0 12px 8px; padding: 9px 13px; font-size: .9rem; transform: rotate(-2deg); }
  .joy-bubble span { font-size: .55rem; }
  .hero-status { width: 100%; justify-content: center; border-radius: 0; font-size: .8rem; }
  .concern-grid, .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .concern-grid article { min-height: 168px; padding: 22px 14px; }
  .concern-grid p { font-size: .82rem; }
  .reason-card { padding: 23px 17px; }
  .reason-card h3 { min-height: 70px; font-size: .9rem; }
  .reason-card > p:last-child { font-size: .75rem; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { padding: 25px 21px; }
  .course-price { grid-template-columns: 1fr; }
  .course-price small { display: block; }
  .course-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .themes-grid { grid-template-columns: 1fr; gap: 34px; }
  .themes-visual { border-width: 6px; border-radius: 22px; }
  .themes-visual img { aspect-ratio: 4/3; }
  .themes-real-photo { overflow: hidden; background: white; }
  .themes-real-photo figcaption { position: static; margin: 0; padding: 15px 14px 12px; border-radius: 0; background: white; box-shadow: none; backdrop-filter: none; }
  .themes-real-photo figcaption strong { font-size: .88rem; }
  .themes-real-photo figcaption span { font-size: .75rem; }
  .classroom-gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: 260px 220px 260px; gap: 10px; }
  .gallery-main { grid-column: 1 / 3; grid-row: 1; }
  .gallery-craft { grid-column: 1; grid-row: 2; }
  .gallery-tree { grid-column: 2; grid-row: 2; }
  .gallery-material { grid-column: 1 / 3; grid-row: 3; }
  .classroom-gallery figcaption { right: 8px; bottom: 8px; left: 8px; padding: 10px 12px; }
  .classroom-gallery figcaption strong { font-size: .78rem; }
  .classroom-gallery figcaption span { display: none; }
  .classroom-movie { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
  .classroom-movie h3 { font-size: 1.25rem; }
  .photo-note { text-align: left; }
  .learning-flow { align-items: stretch; flex-direction: column; gap: 8px; }
  .learning-flow div { min-width: 0; }
  .learning-flow i { align-self: center; transform: rotate(90deg); }
  .lesson-tabs [role="tab"] { min-width: 0; flex: 1; }
  .lesson-panel ol { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .lesson-panel li { min-height: 218px; padding: 16px 11px; }
  .lesson-panel .lesson-icon { width: 52px; height: 52px; font-size: 1.25rem; }
  .lesson-panel p { font-size: .7rem; }
  .lesson-schedule { grid-template-columns: 1fr; gap: 22px; margin-top: 42px; padding: 20px 16px; }
  .lesson-schedule-image { border-width: 5px; }
  .journey-band { min-height: 420px; }
  .journey-band > img { height: 480px; object-position: center bottom; }
  .journey-copy { top: 30px; }
  .price-table [role="row"] { grid-template-columns: 1fr 1fr; gap: 3px 10px; padding: 12px 17px; }
  .price-table [role="row"] > *:nth-child(2) { grid-row: 2; color: var(--muted); font-size: .75rem; }
  .price-table [role="row"] > *:nth-child(3) { grid-row: 1 / 3; grid-column: 2; align-self: center; }
  .price-table .price-head { display: none; }
  .fee-grid { grid-template-columns: 1fr; gap: 8px; }
  .fee-grid article { display: grid; grid-template-columns: 1fr 1fr; align-items: center; text-align: left; }
  .fee-grid span { grid-column: 1; }
  .fee-grid h3 { grid-column: 1; }
  .fee-grid strong { grid-row: 1 / 3; grid-column: 2; text-align: right; }
  .fee-grid small { grid-column: 2; text-align: right; }
  .campaign { grid-template-columns: 1fr; }
  .campaign-badge { padding: 10px; }
  .campaign > div:last-child { padding: 20px; }
  .step-grid { grid-template-columns: 1fr; gap: 8px; }
  .step-grid article { display: grid; grid-template-columns: auto 1fr; gap: 0 15px; padding: 18px; text-align: left; }
  .step-grid span { grid-row: 1 / 3; margin: 0; }
  .step-grid h3 { margin: 0; }
  .social-grid { grid-template-columns: 1fr; }
  .social-grid article { min-height: 270px; }
  .social-grid .social-joy { min-height: 180px; }
  .social-to-trial { align-items: stretch; flex-direction: column; }
  .access-grid { grid-template-columns: 1fr; gap: 34px; }
  .access-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .map-wrap iframe { height: 380px; }
  .faq-list summary { padding-left: 18px; font-size: .9rem; }
  .faq-list details p { padding-left: 42px; font-size: .82rem; }
  .faq-line { align-items: flex-start; flex-wrap: wrap; padding: 18px; }
  .faq-line img { width: 56px; }
  .faq-line .button { width: 100%; }
  .final-cta { min-height: 720px; }
  .final-inner { display: flex; min-height: 720px; flex-direction: column-reverse; justify-content: flex-end; gap: 0; padding: 50px 0 0; }
  .final-inner > div { padding: 28px 20px; }
  .final-inner > img { position: absolute; right: -15px; bottom: 0; width: 155px; max-height: 230px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .sticky-cta { position: fixed; z-index: 200; right: 0; bottom: 0; left: 0; display: grid; height: 70px; grid-template-columns: .78fr 1.22fr; gap: 7px; padding: 7px max(7px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(7px, env(safe-area-inset-left)); background: white; box-shadow: 0 -8px 28px rgba(18,63,117,.16); }
  .sticky-cta a { display: flex; min-height: 56px; align-items: center; justify-content: center; border-radius: 12px; color: white; font-size: .82rem; font-weight: 900; line-height: 1.2; text-align: center; text-decoration: none; }
  .sticky-line { background: var(--line); }
  .sticky-trial { background: var(--orange); }
  .site-footer { padding-bottom: 55px; }
}

@media (max-width: 390px) {
  .brand span { max-width: 105px; white-space: normal; line-height: 1.3; }
  .hero { min-height: 0; }
  .hero-grid { min-height: 0; }
  .hero h1 { font-size: 2.35rem; }
  .concern-grid { grid-template-columns: 1fr; }
  .concern-grid article { display: grid; min-height: 0; grid-template-columns: auto 1fr; align-items: center; gap: 14px; text-align: left; }
  .concern-grid span { margin: 0; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason-card h3 { min-height: 0; }
  .lesson-panel strong { font-size: .76rem; }
  .sticky-cta a { font-size: .75rem; }
}
