@charset "UTF-8";

/* ========== 基本 ========== */
:root {
  --ink: #23313b;
  --ink-soft: #56646e;
  --line: #dfe7ec;
  --cream: #fffaf0;
  --sky: #eaf6fd;
  --blue: #1487cf;
  --blue-deep: #0b5e97;
  --math: #1596d8;
  --eng: #f05a28;
  --jp: #46ad35;
  --sun: #ffd23f;
  --radius: 18px;
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); line-height: 1.8; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--round); font-weight: 900; line-height: 1.4; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.round { font-family: var(--round); font-weight: 900; }
.small { font-size: 12px; color: var(--ink-soft); }
.math { background: var(--math); }
.eng { background: var(--eng); }
.jp { background: var(--jp); }
.bg-cream { background: var(--cream); }
.bg-sky { background: var(--sky); }

/* ========== ヘッダー ========== */
.mock { background: var(--ink); color: #fff; font-size: 12px; text-align: center; padding: 6px 16px; }
.mock b { color: var(--sun); }

header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 18px; }
.brand-name { font-family: var(--round); font-weight: 900; font-size: 19px; line-height: 1.1; }
.brand-name small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-soft); }
nav ul { display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
nav a:hover { color: var(--blue); }
.hd-tel { display: flex; align-items: center; gap: 8px; background: var(--eng); color: #fff; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.hd-tel img { width: 18px; }

/* ========== ボタン ========== */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-radius: 999px; padding: 14px 26px; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn img { width: 20px; }
.btn small { display: block; font-size: 11px; font-weight: 500; line-height: 1.2; }
.btn-primary { background: var(--eng); color: #fff; box-shadow: 0 6px 0 #c2431a; }
.btn-ghost { background: #fff; color: var(--blue-deep); border: 2px solid var(--blue); }

/* ========== メインビジュアル ========== */
.hero { background: linear-gradient(var(--sky), #fff); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; padding-block: 56px 72px; }
.eyebrow { display: inline-block; background: #fff; border: 1.5px solid var(--blue); color: var(--blue-deep); font-weight: 700; font-size: 13px; padding: 4px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(28px, 4.2vw, 48px); }
.hero h1 span { display: inline-block; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--sun) 62%); }
.lead { font-size: clamp(15px, 1.8vw, 18px); color: var(--ink-soft); margin: 20px 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chips li { background: #fff; border-radius: 12px; padding: 8px 14px; font-size: 14px; font-weight: 700; box-shadow: 0 2px 0 var(--line); }
.chips li::before { content: "●"; color: var(--blue); margin-right: 4px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { width: 100%; }

.award { background: var(--blue-deep); color: #fff; text-align: center; padding: 14px 20px; font-family: var(--round); font-weight: 700; font-size: 15px; }
.award strong { color: var(--sun); font-size: 18px; margin: 0 4px; }
.award small { display: block; font-family: var(--sans); font-weight: 400; font-size: 11px; opacity: .75; }

/* ========== セクション共通 ========== */
section { padding-block: 80px; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head span { display: block; font-family: var(--round); font-weight: 700; color: var(--blue); font-size: 13px; letter-spacing: .2em; margin-bottom: 6px; }
.sec-head h2 { font-size: clamp(24px, 3.4vw, 34px); }
.sec-head p { color: var(--ink-soft); margin: 14px auto 0; max-width: 640px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: 0 4px 0 var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.notes { margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); }
.notes li { padding-left: 1.1em; text-indent: -1.1em; margin-bottom: 4px; }
.notes li::before { content: "※"; }

/* ========== お悩み ========== */
.worries { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.worries li { background: #fff; border-radius: var(--radius); padding: 20px 22px; font-weight: 500; box-shadow: 0 3px 0 var(--line); display: flex; gap: 12px; }
.worries li::before { content: "✓"; flex: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.answer { text-align: center; margin-top: 36px; font-size: clamp(20px, 2.8vw, 26px); }
.answer span { color: var(--blue); }

/* ========== 3つのポイント ========== */
.feature { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 30px 26px 28px; position: relative; }
.feature .num { position: absolute; top: -18px; left: 24px; background: var(--blue); color: #fff; border-radius: 999px; padding: 2px 14px; font-size: 14px; }
.feature img { width: 84px; margin-bottom: 14px; }
.feature h3 { font-size: 21px; margin-bottom: 10px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ========== 教室の様子 ========== */
.photo { margin: 0; overflow: hidden; position: relative; }
.photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo::before { content: "写真差し替え予定"; position: absolute; top: 10px; right: 10px; background: rgba(35,49,59,.78); color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 999px; }
.photo figcaption { padding: 14px 18px; font-size: 14px; font-weight: 500; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.services li { background: #fff; border-radius: 16px; text-align: center; padding: 20px 10px; font-weight: 700; font-size: 14px; line-height: 1.5; }
.services img { width: 44px; margin: 0 auto 8px; }

/* ========== 教科 ========== */
.subject { border-radius: var(--radius); padding: 28px 24px; color: #fff; position: relative; overflow: hidden; }
.subject h3 { font-size: 24px; margin-bottom: 8px; }
.subject p { font-size: 15px; }
.subject::after { content: attr(data-glyph); position: absolute; right: -6px; bottom: -26px; font-family: var(--round); font-weight: 900; font-size: 110px; line-height: 1; opacity: .18; }
.center-note { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 18px; }

/* ========== 教室日時・対象年齢 ========== */
.schedule { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.schedule .card { padding: 28px; }
.schedule h3 { font-size: 20px; margin-bottom: 16px; padding-left: 14px; border-left: 6px solid var(--blue); line-height: 1.2; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.week li { border-radius: 12px; background: #f3f6f8; padding: 10px 2px; font-size: 13px; color: #9aa6ae; }
.week b { display: block; font-family: var(--round); font-size: 18px; color: var(--ink-soft); }
.week .open, .week .open b { background: var(--blue); color: #fff; }
.time { text-align: center; font-size: clamp(22px, 3vw, 30px); margin: 18px 0 6px; }
.time span { font-size: 15px; background: var(--sun); border-radius: 6px; padding: 2px 10px; margin-right: 8px; vertical-align: middle; }
.ages { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ages li { background: var(--sky); border-radius: 12px; padding: 14px; text-align: center; font-family: var(--round); font-weight: 700; font-size: 17px; }
.ages small { display: block; font-family: var(--sans); font-weight: 400; font-size: 12px; color: var(--ink-soft); }
.baby { margin-top: 14px; font-size: 13.5px; background: #fff1f2; border: 1.5px dashed #f19aa4; border-radius: 12px; padding: 10px 14px; }

/* ========== 月謝 ========== */
.fee-area { max-width: 820px; }
.zero { display: block; width: fit-content; margin: 0 auto 26px; background: var(--eng); color: #fff; font-size: clamp(20px, 3vw, 26px); padding: 10px 30px; border-radius: 999px; transform: rotate(-2deg); }
.fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fees li { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); text-align: center; padding: 24px 12px; font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.fees b { display: block; font-family: var(--round); font-weight: 900; font-size: clamp(28px, 4vw, 38px); color: var(--blue-deep); line-height: 1.3; }
.fees b small { font-size: 15px; color: var(--ink); }
.fees span { font-size: 12px; font-weight: 400; }

/* ========== お客様の声 ========== */
.voice { padding: 26px 24px; position: relative; }
.voice::after { content: ""; position: absolute; left: 36px; bottom: -14px; border: 14px solid transparent; border-top-color: #fff; border-bottom: 0; }
.voice p { font-size: 15px; margin-bottom: 14px; }
.sample { display: inline-block; background: #fff4c7; color: #8a6a00; font-size: 11px; font-weight: 700; border-radius: 6px; padding: 0 8px; margin-bottom: 10px; }
.who { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.who i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-family: var(--round); font-weight: 900; }

/* ========== 指導者メッセージ ========== */
.message { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; max-width: 900px; margin: 0 auto; }
.message img { width: 100%; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.message h3 { font-size: 24px; margin-bottom: 6px; }
.message p { margin-bottom: 10px; }
.message .role { color: var(--blue); font-weight: 700; font-size: 14px; margin-bottom: 14px; }

/* ========== 入会の流れ ========== */
.step { background: #fff; border-radius: var(--radius); padding: 26px 22px; text-align: center; counter-increment: step; }
.step::before { content: "STEP " counter(step); display: inline-block; font-family: var(--round); font-weight: 900; color: #fff; background: var(--blue); border-radius: 999px; padding: 0 14px; font-size: 13px; margin-bottom: 10px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ========== よくある質問 ========== */
.faq { max-width: 820px; margin: 0 auto; }
details { background: #fff; border: 2px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
summary { cursor: pointer; list-style: none; padding: 16px 50px 16px 20px; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "Q"; color: var(--blue); font-family: var(--round); font-weight: 900; margin-right: 10px; }
summary::after { content: "+"; position: absolute; top: 14px; right: 20px; color: var(--blue); font-size: 22px; line-height: 1.2; }
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 18px 44px; color: var(--ink-soft); font-size: 15px; }

/* ========== アクセス ========== */
.access { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; }
.access dl { margin: 0; padding: 28px; }
.access dl div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.access dt { font-weight: 700; color: var(--blue-deep); font-size: 14px; }
.access dd { margin: 0; font-size: 15px; }
.access dd a { color: var(--blue-deep); font-weight: 700; }
.access iframe { width: 100%; height: 100%; min-height: 340px; border: 2px solid var(--line); border-radius: var(--radius); }

/* ========== お問い合わせ ========== */
.contact { background: var(--blue) radial-gradient(rgba(255,255,255,.14) 2px, transparent 2px) 0 0 / 22px 22px; color: #fff; text-align: center; border-radius: 28px; padding: 48px 24px; }
.contact h2 { font-size: clamp(22px, 3.4vw, 32px); margin-bottom: 10px; }
.contact p { margin-bottom: 26px; }
.tel-big { display: inline-block; background: #fff; color: var(--ink-soft); font-size: 13px; border-radius: 20px; padding: 16px 36px; box-shadow: 0 6px 0 var(--blue-deep); }
.tel-big b { display: block; font-family: var(--round); font-weight: 900; font-size: clamp(26px, 5vw, 38px); color: var(--eng); line-height: 1.3; }

/* ========== フッター ========== */
footer { background: #1f2c35; color: #c9d3d9; font-size: 13px; padding-block: 36px 90px; }
footer .wrap > div { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
footer p { margin-top: 6px; }
footer .brand-name { color: #fff; }
footer .brand-name small { color: #9fb0ba; }
footer .copy { margin-top: 24px; font-size: 11px; color: #8193a0; }

.sp-bar { display: none; }

/* ========== レスポンシブ ========== */
@media (max-width: 880px) {
  nav { display: none; }
}
@media (max-width: 820px) {
  .hero .wrap, .grid3, .schedule, .access { grid-template-columns: 1fr; }
  .hero .wrap { padding-block: 36px 48px; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
  .grid3 { gap: 34px; }
  .photo { max-width: 460px; margin-inline: auto; }
}
@media (max-width: 700px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .message { grid-template-columns: 1fr; text-align: center; }
  .message img { width: 180px; margin: 0 auto; }
  .sp-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; box-shadow: 0 -4px 16px rgba(0,0,0,.08); }
  .sp-bar a { padding: 14px 8px; text-align: center; font-weight: 700; font-size: 14px; background: #fff; color: var(--blue-deep); }
  .sp-bar a:first-child { background: var(--eng); color: #fff; }
}
@media (max-width: 600px) {
  section { padding-block: 56px; }
  .worries { gap: 10px; }
  .worries li { padding: 14px 18px; }
  .fees { grid-template-columns: 1fr; }
  .fees li { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
  .fees span { display: none; }
}
@media (max-width: 480px) {
  .hd-tel span { display: none; }
  .hd-tel { padding: 10px; }
}
@media (max-width: 420px) {
  .week { gap: 3px; }
  .week li { font-size: 10px; }
  .week b { font-size: 15px; }
}
