/* Sprout English（デモ）— 明るく、対象年齢・料金・体験の申込が分かりやすいデザイン */
:root {
  --cream: #fffaf0;
  --white: #ffffff;
  --ink: #26324a;
  --ink-soft: #55607a;
  --yellow: #ffd23f;
  --yellow-pale: #fff4c7;
  --blue: #2b8fd6;
  --blue-pale: #e1f1fc;
  --green: #36a35e;
  --green-pale: #e2f5e8;
  --coral: #ff6f4f;
  --coral-dark: #e8553a;
  --coral-pale: #ffe7df;
  --line: #eadfc9;
  --round: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
  --latin: 'Fredoka', 'Arial Rounded MT Bold', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--round); font-weight: 500; font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.4; font-weight: 900; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 12px; top: 12px; }

/* デモ表示 */
.demo-banner { background: var(--ink); color: #f1f3f8; font-size: 0.8rem; line-height: 1.6; text-align: center; padding: 8px 16px; }

/* ヘッダー：丸いピル型で浮かせる */
.site-header { position: sticky; top: 10px; z-index: 50; padding: 0 12px; margin-top: 10px; }
.header-pill {
  max-width: 1120px; margin: 0 auto; background: var(--white); border-radius: 999px;
  box-shadow: 0 6px 20px rgba(38, 50, 74, 0.12); display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px 8px 16px; position: relative;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { font-family: var(--latin); font-weight: 600; font-size: 1.2rem; line-height: 1.1; }
.logo-text small { display: block; font-family: var(--round); font-size: 0.66rem; font-weight: 700; color: var(--ink-soft); }
.nav-toggle { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--yellow); cursor: pointer; display: grid; place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.site-nav { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: var(--white); border-radius: 24px; box-shadow: 0 10px 30px rgba(38, 50, 74, 0.16); padding: 12px; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-nav a { display: block; padding: 12px 16px; border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; }
.site-nav a:hover { background: var(--yellow-pale); }
.site-nav a.nav-cta { background: var(--coral); color: #fff; text-align: center; }
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; box-shadow: none; padding: 0; background: none; }
  .site-nav ul { display: flex; align-items: center; gap: 2px; }
  .site-nav a { padding: 8px 12px; font-size: 0.92rem; border-radius: 999px; }
  .site-nav a.nav-cta { padding: 10px 22px; margin-left: 6px; }
  .site-nav a.nav-cta:hover { background: var(--coral-dark); }
}

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 26px; border-radius: 999px; font: inherit; font-weight: 900; text-decoration: none; border: 0; cursor: pointer; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 5px 0 var(--coral-dark); }
.btn-coral:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--coral-dark); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: 0 5px 0 var(--line); }
.btn-block { width: 100%; }
.btn-block small { font-size: 0.8em; white-space: nowrap; }

/* ヒーロー */
.hero { position: relative; padding: 32px 0 48px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--yellow-pale); right: -140px; top: -120px; z-index: -1; }
.hero::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: var(--blue-pale); left: -120px; bottom: 40px; z-index: -1; }
.hero-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 56px 0 64px; } .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.hero-place { display: inline-block; background: var(--green-pale); color: #1f6e3d; font-weight: 700; font-size: 0.88rem; border-radius: 999px; padding: 4px 14px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 8vw, 3.3rem); margin-bottom: 18px; letter-spacing: 0.02em; }
.hl { color: var(--coral); position: relative; }
.hero-lead { color: var(--ink-soft); max-width: 30em; margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn { flex: 1 1 240px; }
@media (min-width: 600px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-visual { position: relative; width: min(100%, 280px); margin: 0 auto; }
@media (min-width: 900px) { .hero-visual { width: auto; margin: 0; } }
.hero-visual img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: var(--yellow-pale); }
.bubble { position: absolute; margin: 0; font-family: var(--latin); font-weight: 600; font-size: 1.1rem; background: var(--white); border-radius: 18px; padding: 6px 16px; box-shadow: 0 6px 16px rgba(38, 50, 74, 0.14); }
.bubble::after { content: ""; position: absolute; bottom: -8px; width: 16px; height: 16px; background: var(--white); transform: rotate(45deg); }
.bubble-1 { top: 6%; left: 2%; color: var(--blue); }
.bubble-1::after { left: 24px; }
.bubble-2 { bottom: 12%; right: 0; color: var(--coral); }
.bubble-2::after { right: 24px; }

/* 概要のタイル */
.facts { list-style: none; margin: 32px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.fact { border-radius: 20px; padding: 14px 16px; font-weight: 900; font-size: 1.05rem; line-height: 1.4; }
.fact span { display: block; font-size: 0.78rem; font-weight: 700; opacity: 0.85; margin-bottom: 2px; }
.fact small { font-size: 0.72rem; font-weight: 700; }
.fact-yellow { background: var(--yellow); }
.fact-blue { background: var(--blue); color: #fff; }
.fact-green { background: var(--green); color: #fff; }
.fact-coral { background: var(--coral); color: #fff; }

/* セクション共通 */
.section { padding: 72px 0; }
.section-head { margin-bottom: 32px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.section-en { font-family: var(--latin); font-weight: 600; font-size: 1.1rem; color: var(--blue); margin-bottom: 0; }
.section-head h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
.section-head h2 .sub { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink-soft); margin-top: 4px; }
.section-lead { color: var(--ink-soft); margin-top: 10px; max-width: 38em; }

/* コース */
.course { background: var(--white); border-radius: 48px 48px 0 0; }
.course-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .course-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .course-grid { grid-template-columns: repeat(4, 1fr); } }
.course-card { border-radius: 24px; padding: 22px 20px; border: 3px solid; display: flex; flex-direction: column; background: var(--white); }
.course-age { display: inline-block; align-self: flex-start; font-weight: 900; font-size: 0.85rem; border-radius: 999px; padding: 2px 12px; margin-bottom: 10px; }
.course-card h3 { font-size: 1.35rem; margin-bottom: 2px; }
.course-time { font-size: 0.88rem; color: var(--ink-soft); font-weight: 700; margin-bottom: 10px; }
.course-desc { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.course-fee { font-weight: 700; border-top: 2px dashed var(--line); padding-top: 12px; margin-top: 8px; }
.course-fee strong { font-family: var(--latin); font-size: 1.7rem; font-weight: 600; margin: 0 2px; }
.c-yellow { border-color: var(--yellow); }
.c-yellow .course-age { background: var(--yellow); }
.c-green { border-color: var(--green); }
.c-green .course-age { background: var(--green); color: #fff; }
.c-blue { border-color: var(--blue); }
.c-blue .course-age { background: var(--blue); color: #fff; }
.c-coral { border-color: var(--coral); }
.c-coral .course-age { background: var(--coral); color: #fff; }

/* 料金 */
.fee { background: var(--white); padding-top: 0; }
.fee-card { max-width: 820px; background: var(--yellow-pale); border-radius: 28px; padding: 24px 20px; }
@media (min-width: 768px) { .fee-card { padding: 32px 40px; } }
.fee-list { margin: 0; }
.fee-list div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 2px dotted #e6cf7a; }
@media (min-width: 560px) { .fee-list div { grid-template-columns: 9em 1fr; gap: 16px; } }
.fee-list dt { font-weight: 900; }
.fee-list dd { margin: 0; font-weight: 700; }
.fee-list small { display: block; font-size: 0.8rem; color: var(--ink-soft); }
.fee-note { margin-top: 14px; font-size: 0.88rem; color: var(--ink-soft); }

/* レッスンの流れ */
.lesson-inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .lesson-inner { grid-template-columns: 1fr 1fr; gap: 56px; } }
.lesson-visual { margin: 0; }
.lesson-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 32px; background: var(--blue-pale); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 3px; background: var(--line); border-radius: 2px; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 8px 0; position: relative; }
.min { width: 64px; height: 36px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 900; font-size: 0.85rem; display: grid; place-items: center; position: relative; }
.timeline li:nth-child(2) .min { background: var(--green); }
.timeline li:nth-child(3) .min { background: var(--coral); }
.timeline li:nth-child(4) .min { background: #d9a400; }
.timeline h3 { font-size: 1.05rem; }
.timeline p { font-size: 0.92rem; color: var(--ink-soft); }

/* 時間割 */
.schedule { background: var(--white); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.schedule-table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 4px; }
.schedule-table th, .schedule-table td { text-align: center; padding: 10px 4px; border-radius: 10px; font-size: 0.88rem; }
.schedule-table thead th { background: var(--ink); color: #fff; }
.schedule-table tbody th { background: var(--cream); white-space: nowrap; }
.schedule-table td { background: #faf6ee; }
.tag { display: inline-block; font-weight: 900; font-size: 0.8rem; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.t-yellow { background: var(--yellow); }
.t-green { background: var(--green); color: #fff; }
.t-blue { background: var(--blue); color: #fff; }
.t-coral { background: var(--coral); color: #fff; }
.schedule-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 12px; }

/* 講師 */
.teacher-inner { display: grid; gap: 24px; align-items: center; max-width: 900px; }
@media (min-width: 720px) { .teacher-inner { grid-template-columns: 220px 1fr; gap: 40px; } }
.teacher-avatar { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 6px solid var(--yellow); background: var(--yellow-pale); margin: 0 auto; }
.teacher h2 { font-size: 1.5rem; margin-bottom: 12px; }
.teacher p:last-child { color: var(--ink-soft); }

/* 無料体験 */
.trial { background: var(--coral-pale); border-radius: 48px; margin: 0 8px; }
@media (min-width: 768px) { .trial { margin: 0 24px; } }
.trial-steps { list-style: none; margin: 0 auto 32px; padding: 0; max-width: 960px; display: grid; gap: 10px; }
@media (min-width: 800px) { .trial-steps { grid-template-columns: repeat(4, 1fr); } }
.trial-steps li { background: var(--white); border-radius: 20px; padding: 14px 16px; font-weight: 700; font-size: 0.93rem; display: flex; align-items: center; gap: 12px; }
.trial-steps span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: #fff; font-family: var(--latin); font-weight: 600; display: grid; place-items: center; }
.trial-form { max-width: 620px; margin: 0 auto; background: var(--white); border-radius: 28px; padding: 24px 20px; box-shadow: 0 10px 30px rgba(232, 85, 58, 0.12); }
@media (min-width: 600px) { .trial-form { padding: 32px 36px; } }
.form-demo-note { background: var(--yellow-pale); border-radius: 14px; padding: 10px 14px; font-size: 0.85rem; font-weight: 700; }
.field { margin: 0 0 18px; border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 900; font-size: 0.95rem; margin-bottom: 6px; padding: 0; }
.field input[type="text"], .field input[type="email"], .field select {
  width: 100%; min-height: 50px; font: inherit; font-weight: 500; color: var(--ink);
  border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--white);
}
.field input:focus-visible, .field select:focus-visible { border-color: var(--blue); outline: 3px solid var(--blue-pale); }
.day-options { display: flex; flex-wrap: wrap; gap: 8px; }
.day-options label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; font-weight: 700; margin: 0; cursor: pointer; }
.day-options label:has(input:checked) { border-color: var(--coral); background: var(--coral-pale); }
.day-options input { width: 18px; height: 18px; accent-color: var(--coral); margin: 0; }
.form-status { margin-top: 14px; font-weight: 700; color: #1f6e3d; min-height: 1.5em; }

/* よくある質問 */
.faq-inner { max-width: 820px; }
.faq details { background: var(--white); border-radius: 20px; margin-bottom: 12px; box-shadow: 0 3px 0 var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 900; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--coral); border-bottom: 3px solid var(--coral); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); }

/* アクセス */
.access-inner { max-width: 820px; }
.access-list { margin: 0; background: var(--white); border-radius: 24px; padding: 8px 20px; }
.access-list div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 2px dotted var(--line); }
.access-list div:last-child { border-bottom: 0; }
@media (min-width: 560px) { .access-list div { grid-template-columns: 7em 1fr; gap: 16px; } }
.access-list dt { font-weight: 900; color: var(--blue); }
.access-list dd { margin: 0; }

/* スマホ下部に固定する体験ボタン */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
  display: flex; align-items: center; justify-content: center; min-height: 54px;
  background: var(--coral); color: #fff; border-radius: 999px; font-weight: 900; text-decoration: none;
  box-shadow: 0 8px 24px rgba(232, 85, 58, 0.35);
}
@media (min-width: 1000px) { .sticky-cta { display: none; } }

/* フッター */
.site-footer { background: var(--ink); color: #c9cfdc; text-align: center; padding: 48px 20px 96px; margin-top: 72px; font-size: 0.85rem; }
@media (min-width: 1000px) { .site-footer { padding-bottom: 48px; } }
.footer-logo { font-family: var(--latin); font-weight: 600; font-size: 1.6rem; color: var(--yellow); margin-bottom: 6px; }
.footer-note { max-width: 42em; margin: 16px auto; font-size: 0.8rem; }
.footer-copy { font-family: var(--latin); }
