@charset "UTF-8";
/* ============================================================
   store-school.css — 教育・習い事テーマ(学習塾・音楽教室・語学・料理教室など)
   方向: マキシマル/ポップ(7)を落ち着かせた版。白×紺に青・橙・緑、丸みのある大きなカード
   シグネチャー: 曜日ごとの時間割表と、色分けされたコースのカード
   ============================================================ */
:root {
  --st-bg: #fffdf6;
  --st-surface: #ffffff;
  --st-ink: #243047;
  --st-muted: #5e6679;
  --st-line: #e7e3d6;
  --st-accent: #2f6fb3;
  --st-accent-ink: #ffffff;
  --orange: #f0a232;
  --green: #4f9f78;
  --sky: #e8f1fb;
  --st-font-display: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --st-font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --st-radius: 22px;
  --wrap: min(1120px, 100% - 40px);
}
h1, h2, h3 { font-family: var(--st-font-display); font-weight: 800; line-height: 1.4; }
.e-wrap { width: var(--wrap); margin-inline: auto; }
.e-section { padding-block: clamp(64px, 9vw, 112px); }
.e-eyebrow { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--sky); color: var(--st-accent); font-size: 12px; font-weight: 800; letter-spacing: 0.18em; }
.e-h2 { margin-top: 12px; font-size: clamp(26px, 3.4vw, 38px); }
.e-note { margin-top: 16px; font-size: 14px; color: var(--st-muted); }

.e-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 26px;
  border-radius: 999px; background: var(--orange); color: var(--st-ink); border: 2px solid var(--st-ink);
  font-weight: 800; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 0 var(--st-ink);
  transition: transform 0.15s, box-shadow 0.15s;
}
.e-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--st-ink); }
.e-btn--line { background: #fff; }
.e-btn--white { background: #fff; }
.e-btn--small { min-height: 42px; padding: 8px 18px; font-size: 14px; }
.e-btn svg { width: 18px; height: 18px; }

.e-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255, 253, 246, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--st-line); }
.e-header__inner { width: var(--wrap); margin-inline: auto; min-height: 70px; display: flex; align-items: center; gap: 24px; }
.e-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.e-logo__dots { display: flex; gap: 4px; }
.e-logo__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--st-accent); }
.e-logo__dots i:nth-child(2) { background: var(--orange); }
.e-logo__dots i:nth-child(3) { background: var(--green); }
.e-logo small { display: block; font-size: 11px; color: var(--st-muted); }
.e-logo b { display: block; font-family: var(--st-font-display); font-size: 19px; line-height: 1.3; }
.e-header__nav { margin-left: auto; display: flex; gap: 20px; font-size: 14px; font-weight: 700; }
.e-header__nav a { text-decoration: none; }
.e-header__nav a:hover { color: var(--st-accent); }

/* ヒーロー */
.e-hero { padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.e-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.e-hero__badge { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; font-size: 14px; }
.e-hero__name { margin-top: 16px; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.25; }
.e-hero__name.e-name--m { font-size: clamp(28px, 3.6vw, 42px); }
.e-hero__name.e-name--l { font-size: clamp(22px, 2.8vw, 32px); }
.e-hero__lead { margin-top: 16px; color: var(--st-muted); }
.e-hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.e-hero__visual { position: relative; }
.e-blob { position: absolute; border-radius: 50%; z-index: 0; }
.e-blob--a { width: 46%; aspect-ratio: 1; background: var(--sky); top: -8%; right: -6%; }
.e-blob--b { width: 26%; aspect-ratio: 1; background: #fde7c3; bottom: -6%; left: -6%; }
.e-hero__photo { position: relative; z-index: 1; margin: 0; }
.e-hero__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; border: 3px solid var(--st-ink); }
.e-hero__photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(36, 48, 71, 0.75); color: #fff; font-size: 12px; }
.e-hero__access { position: absolute; z-index: 2; right: -8px; bottom: -18px; padding: 12px 18px; border-radius: 18px; background: #fff; border: 2px solid var(--st-ink); font-size: 14px; box-shadow: 0 4px 0 var(--st-ink); }
.e-hero__access b { color: var(--st-accent); }

/* コースのカード */
.e-course-sec { background: var(--sky); }
.e-courses { margin-top: 32px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.e-course { position: relative; display: grid; gap: 8px; align-content: start; padding: 28px 24px; border-radius: var(--st-radius); background: #fff; border: 2px solid var(--st-ink); box-shadow: 0 6px 0 var(--st-ink); }
.e-course__no { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--st-font-display); font-weight: 800; color: #fff; background: var(--st-accent); }
.e-course--1 .e-course__no { background: var(--orange); color: var(--st-ink); }
.e-course--2 .e-course__no { background: var(--green); }
.e-course b { font-family: var(--st-font-display); font-size: 20px; }
.e-course p { color: var(--st-muted); font-size: 14px; }
.e-course small { margin-top: 8px; justify-self: start; padding: 2px 10px; border-radius: 999px; background: var(--st-bg); border: 1px dashed var(--st-line); color: var(--st-muted); font-size: 12px; }

/* 時間割(シグネチャー) */
.e-week { margin-top: 28px; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.e-week__day { display: grid; gap: 10px; justify-items: center; padding: 18px 8px 22px; border-radius: 18px; background: #fff; border: 2px solid var(--st-line); }
.e-week__day b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--st-font-display); background: var(--sky); color: var(--st-accent); font-size: 18px; }
.e-week__day:nth-child(6) b { background: #e6f3ec; color: var(--green); }
.e-week__day:nth-child(7) b { background: #fde7c3; color: #b56d00; }
.e-week__day span { font-size: 12px; color: var(--st-muted); }

/* 体験の帯 */
.e-trial { background: var(--st-accent); color: #fff; }
.e-trial__inner { padding-block: clamp(40px, 6vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.e-trial h2 { font-size: clamp(22px, 3vw, 32px); }
.e-trial p { margin-top: 6px; opacity: 0.9; }

.e-access__grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.e-dl { display: grid; grid-template-columns: 7em 1fr; align-self: start; padding: 10px 22px; border-radius: var(--st-radius); background: #fff; border: 2px solid var(--st-line); }
.e-dl dt, .e-dl dd { padding: 12px 0; border-bottom: 1px dashed var(--st-line); }
.e-dl dt { color: var(--st-muted); font-size: 14px; }
.e-dl a { color: var(--st-accent); }
.e-access .st-map { border-radius: var(--st-radius); border: 2px solid var(--st-ink); }
.e-faq { margin-top: 36px; display: grid; gap: 10px; }
.e-faq details { border-radius: 16px; background: #fff; border: 2px solid var(--st-line); }
.e-faq summary { padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.e-faq summary::before { content: "Q"; margin-right: 10px; font-family: var(--st-font-display); font-weight: 800; color: var(--orange); }
.e-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--st-accent); font-size: 20px; }
.e-faq details[open] summary::after { content: "−"; }
.e-faq details p { padding: 0 18px 18px; color: var(--st-muted); }

.e-footer { padding: 40px 0; background: var(--st-ink); color: rgba(255, 255, 255, 0.8); font-size: 14px; }
.e-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.e-footer b { color: #fff; font-size: 18px; font-family: var(--st-font-display); }
.call-bar a { background: var(--orange); color: var(--st-ink); border: 2px solid var(--st-ink); border-radius: 999px; }
.call-bar a + a { background: #fff; }

@media (max-width: 1023px) {
  .e-header__nav { display: none; }
  .e-header .e-btn { margin-left: auto; }
  .e-hero__grid, .e-access__grid { grid-template-columns: 1fr; }
  .e-hero__visual { order: -1; }
  .e-courses { grid-template-columns: 1fr; }
  .e-week { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .e-hero__actions .e-btn { flex: 1 1 100%; }
  .e-hero__access { right: 8px; bottom: -14px; }
  .e-week { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .e-dl { grid-template-columns: 5.5em 1fr; }
}

/* 店主のお知らせ帯・キャッチコピー(受け取り後に店主が入れたときだけ出る) */
.e-notice { background: var(--sky); border-bottom: 1px solid var(--st-line); }
.e-notice__inner { width: var(--wrap); margin-inline: auto; padding: 16px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 14px; }
.e-notice__label { padding: 2px 12px; border-radius: 999px; background: var(--orange); color: var(--st-ink); font-weight: 800; }
.e-hero__catch { margin-top: 12px; font-family: var(--st-font-display); font-weight: 800; font-size: clamp(18px, 2vw, 22px); color: var(--st-accent); }

/* 長い教室名はヘッダーで2行まで */
.e-logo, .e-logo > span:last-child { min-width: 0; }
@media (max-width: 767px) {
  .e-header__inner { gap: 12px; }
  .e-header .e-btn { flex: none; white-space: nowrap; }
  .e-logo b { font-size: 16px; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .e-logo small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
