:root {
  --accent: #C96F45;
  --accent-deep: #A85428;
  --cream: #FBEFE6;
  --brown: #4A3B32;
  --brown-soft: #7A6A5F;
  --bg: #FFFFFF;
  --line: rgba(74,59,50,0.10);
  --radius-card: 16px;
  --radius-photo: 24px;
  --radius-input: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 2;
  color: var(--brown);
  background: var(--bg);
}
h1, h2, h3 { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; line-height: 1.6; }
h2 { font-size: 24px; margin-bottom: 12px; }
.sec-lead { color: var(--brown-soft); font-size: 14px; margin-bottom: 44px; }
p { font-size: 15px; }
a { color: var(--accent-deep); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 840px; margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; }
.tint { background: var(--cream); }
.center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-deep); color: #fff;
  text-decoration: none;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700; font-size: 15px;
  padding: 16px 36px; border-radius: 999px;
  border: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { background: #94481F; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-ghost { background: transparent; color: var(--accent-deep); box-shadow: inset 0 0 0 2px var(--accent-deep); }
.btn-ghost:hover { background: rgba(168,84,40,0.08); }
.btn-s { padding: 11px 24px; font-size: 14px; }

.photo {
  border-radius: var(--radius-photo);
  background:
    radial-gradient(120% 100% at 20% 0%, rgba(201,111,69,0.22), transparent 55%),
    linear-gradient(160deg, #F6E2D2, #EFD3BE);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-deep); font-size: 13px; text-align: center;
  line-height: 1.7; padding: 16px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.photo iframe { width: 100%; height: 100%; border: 0; border-radius: inherit; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 14px 0;
}
.site-header .container { display: flex; align-items: center; gap: 28px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700; font-size: 19px;
  color: var(--brown); text-decoration: none;
  margin-right: auto;
}
.brand i { color: var(--accent); font-size: 26px; }
.gnav ul { list-style: none; display: flex; gap: 26px; }
.gnav a {
  color: var(--brown); text-decoration: none; font-size: 14px;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: border-color .15s ease;
}
.gnav a:hover, .gnav a.current { border-color: var(--accent); }
.menu-btn { display: none; background: none; border: none; font-size: 26px; color: var(--brown); }

/* 下層ページヒーロー */
.page-hero { background: var(--cream); padding: 64px 0; }
.page-hero h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 12px; }
.page-hero .lead { color: var(--brown-soft); font-size: 14.5px; }
.page-hero .badge {
  display: inline-flex; align-items: flex-start; gap: 10px;
  background: #fff; border-radius: var(--radius-card);
  padding: 16px 22px; margin-top: 20px;
  font-size: 13.5px; line-height: 1.9;
  max-width: 580px; text-align: left;
}
.page-hero .badge i { flex-shrink: 0; color: var(--accent); font-size: 17px; margin-top: 3px; }
.page-hero .badge strong { font-family: "Zen Maru Gothic", sans-serif; color: var(--accent-deep); white-space: nowrap; }
@media (max-width: 900px) { .page-hero .badge { max-width: 100%; } }

/* 料金表 */
.table-card {
  background: #fff; border-radius: var(--radius-card);
  box-shadow: 0 8px 24px rgba(74,59,50,0.08);
  overflow: hidden;
}
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
th, td { padding: 18px 20px; text-align: left; vertical-align: top; font-weight: 400; }
thead th {
  background: var(--cream);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700; font-size: 14.5px;
  white-space: nowrap;
}
tbody th { font-weight: 700; font-size: 13px; color: var(--brown-soft); white-space: nowrap; }
tbody tr + tr th, tbody tr + tr td { border-top: 1px solid var(--line); }
.price-cell { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 16px; }
.price-cell small { font-family: "Noto Sans JP", sans-serif; font-weight: 400; font-size: 12px; color: var(--brown-soft); }

/* 費用リスト（縦積み） */
.fee-list { display: grid; gap: 0; background: #fff; border-radius: var(--radius-card); box-shadow: 0 8px 24px rgba(74,59,50,0.08); overflow: hidden; }
.fee-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 24px 28px; }
.fee-row + .fee-row { border-top: 1px solid var(--line); }
.fee-row dt { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 15px; }
.fee-row dd { font-size: 14px; }

/* 総額例示 */
.total-card {
  background: #fff; border-radius: var(--radius-card);
  padding: 40px; text-align: center;
  box-shadow: 0 8px 24px rgba(74,59,50,0.08);
}
.total-card h3 { font-size: 17px; margin-bottom: 16px; }
.total-card .formula { font-size: 13.5px; color: var(--brown-soft); margin-bottom: 12px; }
.total-card .total {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700; font-size: 30px; color: var(--accent-deep);
}
.total-card .total small { font-size: 14px; color: var(--brown); font-weight: 400; }

/* ステップ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--radius-card); padding: 30px 28px; }
.tint .step { background: #fff; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--cream); color: var(--accent-deep);
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 17px;
  margin-bottom: 14px;
}
.step h3 { font-size: 15.5px; margin-bottom: 2px; }
.step .time { font-size: 12px; color: var(--brown-soft); margin-bottom: 10px; }
.step p { font-size: 13.5px; }

/* フォーム */
.form-card {
  background: #fff; border-radius: var(--radius-card);
  padding: 48px; max-width: 720px; margin: 0 auto;
  box-shadow: 0 8px 24px rgba(74,59,50,0.08);
}
.field { margin-bottom: 30px; }
.field label {
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700; font-size: 14.5px;
  margin-bottom: 6px;
}
.field .req {
  font-size: 11px; color: #fff; background: var(--accent-deep);
  border-radius: 999px; padding: 1px 10px; margin-left: 8px;
  font-family: "Noto Sans JP", sans-serif; font-weight: 500;
  vertical-align: 2px;
}
.field .opt { background: var(--brown-soft); }
.field .help { font-size: 12.5px; color: var(--brown-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius-input);
  padding: 14px 16px;
  font-family: inherit; font-size: 15px; color: var(--brown);
}
.field input::placeholder, .field textarea::placeholder { color: var(--brown-soft); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-deep); background: #fff;
}
.field textarea { height: 120px; resize: vertical; }
.form-note { font-size: 12px; color: var(--brown-soft); text-align: center; margin-top: 14px; }

/* FAQ（アコーディオン） */
.faq-cat { margin-bottom: 56px; }
.faq-cat:last-child { margin-bottom: 0; }
.faq-cat h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; margin-bottom: 20px; }
.faq-cat h2 i { color: var(--accent); font-size: 24px; }
details {
  background: #fff; border-radius: var(--radius-card);
  box-shadow: 0 6px 18px rgba(74,59,50,0.06);
  margin-bottom: 14px;
  overflow: hidden;
}
.tint details { box-shadow: none; }
summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 26px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700; font-size: 15px; line-height: 1.8;
}
summary::-webkit-details-marker { display: none; }
summary .q-mark { color: var(--accent-deep); flex-shrink: 0; }
summary .chev { margin-left: auto; color: var(--brown-soft); transition: transform .2s ease; flex-shrink: 0; }
details[open] summary .chev { transform: rotate(180deg); }
.answer { padding: 0 26px 24px 54px; font-size: 14px; }
.answer p { font-size: 14px; }

/* CTA帯 */
.cta-band { background: var(--accent-deep); color: #fff; }
.cta-band h2 { color: #fff; font-size: 26px; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.92); margin-bottom: 36px; }
.cta-band .btn { background: #fff; color: var(--accent-deep); }
.cta-band .btn:hover { background: var(--cream); }

/* フッター */
.site-footer { background: var(--brown); color: #fff; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-bottom: 48px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer p { font-size: 13.5px; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.site-footer .fnav { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 8px; }
.site-footer .fnav a { color: #fff; font-size: 13.5px; text-decoration: none; }
.site-footer .fnav a:hover { text-decoration: underline; }
.copyright { text-align: center; font-size: 12px; color: rgba(255,255,255,0.6); }

/* SP固定CTA */
.sp-cta {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  background: var(--accent-deep); color: #fff;
  text-align: center; text-decoration: none;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 15px;
  padding: 16px; border-radius: 999px;
  box-shadow: 0 12px 32px rgba(74,59,50,0.28);
}

/* リビール */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  section { padding: 56px 0; }
  .gnav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .page-hero { padding: 44px 0; }
  .steps, .footer-grid { grid-template-columns: 1fr; }
  .fee-row { grid-template-columns: 1fr; gap: 4px; padding: 20px 22px; }
  .form-card { padding: 32px 24px; }
  .sp-cta { display: block; }
  body.has-spcta { padding-bottom: 76px; }
}

/* ---- TOP ---- */
.hero { padding: 56px 0 96px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.55; margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent-deep); }
.hero .lead { color: var(--brown-soft); font-size: 15px; margin-bottom: 32px; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual .photo { height: 440px; }
.hero-badge {
  position: absolute; left: -14px; bottom: 28px;
  background: #fff; border-radius: var(--radius-card);
  padding: 14px 20px; font-size: 13px; line-height: 1.7;
  box-shadow: 0 10px 30px rgba(74,59,50,0.12);
}
.hero-badge strong { font-family: "Zen Maru Gothic", sans-serif; color: var(--accent-deep); font-size: 15px; }

.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.promise { background: #fff; border-radius: var(--radius-card); padding: 36px 30px; }
.promise i {
  font-size: 30px; color: var(--accent); background: #F6E2D2;
  border-radius: 999px; padding: 14px; display: inline-flex; margin-bottom: 18px;
}
.promise h3 { font-size: 17px; margin-bottom: 10px; }
.promise p { font-size: 14px; color: var(--brown-soft); }

.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.course-card { background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 8px 24px rgba(74,59,50,0.08); }
.course-card .photo { height: 150px; border-radius: 0; }
.course-card .body { padding: 22px 22px 26px; }
.course-card h3 { font-size: 16px; margin-bottom: 2px; }
.course-card .target { font-size: 12.5px; color: var(--brown-soft); margin-bottom: 12px; }
.course-card .price { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 15px; }
.course-card .price small { font-weight: 400; font-size: 12px; color: var(--brown-soft); }

.teacher-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.teacher-split .photo { height: 360px; }
.quote { font-family: "Zen Maru Gothic", sans-serif; font-weight: 500; font-size: 19px; line-height: 2.1; margin-bottom: 16px; }
.quote .accent { color: var(--accent-deep); }
.byline { color: var(--brown-soft); font-size: 13px; margin-bottom: 28px; }

.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.voice-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice { background: var(--cream); border-radius: var(--radius-card); padding: 32px; }
.voice i { color: var(--accent); font-size: 24px; margin-bottom: 10px; display: block; }
.voice p { font-size: 14.5px; margin-bottom: 12px; }
.voice .who { font-size: 12.5px; color: var(--brown-soft); }

.news-list { display: grid; gap: 4px; margin-bottom: 32px; }
.news-item {
  display: flex; align-items: baseline; gap: 18px;
  padding: 20px 8px; text-decoration: none; color: var(--brown);
  border-radius: 12px; transition: background .15s ease;
}
.news-item:hover { background: rgba(251,239,230,0.7); }
.tint .news-item:hover { background: rgba(255,255,255,0.7); }
.news-item .date { font-size: 13px; color: var(--brown-soft); white-space: nowrap; }
.news-item .chip {
  font-size: 11.5px; color: var(--accent-deep); background: var(--cream);
  border-radius: 999px; padding: 2px 14px; white-space: nowrap;
}
.tint .news-item .chip { background: #fff; }
.news-item .title { font-size: 14.5px; }

.access-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.access-split dl { display: grid; grid-template-columns: 96px 1fr; gap: 10px 18px; font-size: 14px; margin-top: 20px; }
.access-split dt { color: var(--brown-soft); }
.access-split .photo { height: 300px; }

/* ---- 講師紹介 ---- */
.teacher-block { display: grid; grid-template-columns: 320px 1fr; gap: 48px; margin-bottom: 72px; align-items: start; }
.teacher-block:last-of-type { margin-bottom: 0; }
.teacher-block .photo { height: 340px; }
.teacher-block h3 { font-size: 20px; margin-bottom: 2px; }
.teacher-block .role { font-size: 13px; color: var(--accent-deep); margin-bottom: 16px; font-weight: 500; }
.teacher-block .prof { font-size: 14px; margin-bottom: 4px; }
.teacher-quote {
  background: var(--cream); border-radius: var(--radius-card);
  padding: 24px 28px; margin-top: 20px;
  font-size: 14.5px;
}
.teacher-quote .q-head {
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700;
  font-size: 13px; color: var(--accent-deep); margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}

/* ---- 教室について ---- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.photo-grid .photo { height: 200px; }
.photo-grid figcaption { font-size: 12.5px; color: var(--brown-soft); margin-top: 10px; line-height: 1.8; }

/* ---- お知らせ ---- */
.cat-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-chip {
  font-size: 12.5px; text-decoration: none;
  color: var(--brown); background: var(--cream);
  border-radius: 999px; padding: 6px 20px;
  transition: background .15s ease;
}
.cat-chip:hover { background: #F6E2D2; }
.cat-chip.current { background: var(--accent-deep); color: #fff; }
.news-card {
  display: block; background: #fff; border-radius: var(--radius-card);
  box-shadow: 0 6px 18px rgba(74,59,50,0.06);
  padding: 28px 32px; margin-bottom: 18px;
  text-decoration: none; color: var(--brown);
  transition: transform .15s ease;
}
.news-card:hover { transform: translateY(-2px); }
.news-card .meta { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.news-card h3 { font-size: 16px; margin-bottom: 6px; }
.news-card .excerpt { font-size: 13.5px; color: var(--brown-soft); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  text-decoration: none; font-size: 14px; color: var(--brown);
}
.pagination .current { background: var(--accent-deep); color: #fff; }

/* ---- 申込完了 ---- */
.thanks-wrap { padding: 110px 0; }
.thanks-card {
  background: #fff; border-radius: var(--radius-card);
  max-width: 640px; margin: 0 auto; padding: 64px 48px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(74,59,50,0.08);
}
.thanks-card > i { font-size: 56px; color: var(--accent); margin-bottom: 20px; display: inline-block; }
.thanks-card h1 { font-size: 24px; margin-bottom: 20px; }
.thanks-card p { font-size: 14.5px; margin-bottom: 8px; }
.thanks-card .note { font-size: 12.5px; color: var(--brown-soft); margin: 16px 0 32px; }

@media (max-width: 900px) {
  .hero { padding: 24px 0 64px; }
  .hero .container, .teacher-split, .access-split, .teacher-block { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual .photo { height: 300px; }
  .hero-badge { left: 12px; }
  .promise-grid, .course-grid, .voice-grid, .voice-grid-3, .photo-grid { grid-template-columns: 1fr; }
  .teacher-split .photo { height: 280px; order: -1; }
  .teacher-block .photo { height: 280px; }
  .thanks-card { padding: 44px 28px; }
}

/* ============================================================
   WordPress実装追加分：SPハンバーガーメニューの開閉表示
   （デザインカンプにはmenu-btnのHTML/CSSのみで開閉JS・展開時UIが
   存在しないため、既存トークン・余白ルールに準拠して新規実装）
   ============================================================ */
@media (max-width: 900px) {
  .site-header.nav-open .gnav {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 12px 24px rgba(74,59,50,0.12);
    padding: 8px 28px 24px;
  }
  .site-header.nav-open .gnav ul { flex-direction: column; gap: 0; }
  .site-header.nav-open .gnav a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }
  .site-header.nav-open .gnav li:last-child a { border-bottom: none; }
}
