/* ==========================================================================
   案B 親しみやすい  ― 子ども・初心者・保護者向け。明るく温かい配色、丸ゴシック ―
   骨組みは ../common/base.css。ここでは色・書体・余白・装飾を決めます。
   ========================================================================== */

:root {
  --bg: #fff8ec;          /* クリーム */
  --bg-alt: #eaf5fc;      /* 空色（淡） */
  --card: #ffffff;
  --ink: #2b2a33;
  --muted: #5a5864;
  --accent: #c2410c;      /* オレンジ（暗め。白文字で読める） */
  --accent-dark: #9a3412;
  --accent-ink: #ffffff;
  --accent-soft: #ffe5cc;
  --sky: #4aa3df;
  --sky-soft: #ddf0fb;
  --green: #6db56a;
  --green-soft: #e4f4dd;
  --yellow: #ffd66b;
  --line: #ecdcc0;
  --focus: #1b4db1;
  --focus-on-dark: #ffd66b;
  --header-bg: #fffdf8;
  --footer-bg: #2b2a33;
  --footer-ink: #fff8ec;
  --band: #2f7d32;
  --insta: #1f6fae;
  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-head: var(--font-body);
  --radius: 24px;
  --radius-sm: 14px;
  --radius-btn: 999px;
  --section-pad: 56px;
  --container: 1120px;
  --shadow: 0 6px 18px rgba(120, 72, 20, .10);
}
@media (min-width: 900px) { :root { --section-pad: 96px; } }

body { line-height: 1.85; }
h1, h2, h3, h4 { font-weight: 700; }

/* ---------- ヘッダー ---------- */
.site-header { border-bottom: 3px solid var(--accent-soft); }
.brand-name { font-size: 1.125rem; }
.nav-list a { transition: background-color .15s; }
.nav-list a:hover { background: var(--accent-soft); }
@media (min-width: 1100px) { .nav-list a { padding: 6px 12px; border-radius: 999px; } }
.menu-toggle { border: 2px solid var(--accent); border-radius: 999px; color: var(--accent-dark); background: #fff; padding: 6px 16px; }
.lang-toggle { border: 2px solid var(--accent); border-radius: 999px; color: var(--accent-dark); background: #fff; }

/* ---------- ボタン ---------- */
.btn { min-height: 56px; padding: 10px 28px; }
.btn-sm { min-height: 46px; padding: 6px 18px; }
.btn-primary { box-shadow: 0 4px 0 var(--accent-dark); }
.btn-primary:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--accent-dark); }
.btn-band, .btn-insta { box-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.btn-band:hover, .btn-insta:hover { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .25); filter: none; }
.btn-sm.btn-band, .btn-sm.btn-insta { box-shadow: none; }
.btn-map { color: var(--accent-dark); border-color: var(--accent); background: #fff; }
.btn-map:hover { background: var(--accent); color: #fff; }

/* ---------- セクション見出し ---------- */
.section-head { text-align: center; margin-bottom: 36px; }
.eyebrow {
  display: inline-block; padding: 2px 16px; margin-bottom: 8px;
  background: var(--accent-soft); color: var(--accent-dark);
  border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; line-height: 1.7;
}
.section-title { font-size: clamp(1.625rem, 5.5vw, 2.25rem); }
.section-title::after {
  content: ""; display: block; height: 12px; width: 96px; margin: 10px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='12' viewBox='0 0 32 12'%3E%3Cpath d='M0 6 Q8 -2 16 6 T32 6' fill='none' stroke='%23c2410c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 32px 12px;
}
.section-lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.section-about, .section-fees, .section-guide { background: var(--bg); }
.section-schedule, .section-contact { background: var(--bg-alt); }
.section-instructor { background: var(--green-soft); }
.section-activities { background: #fff0dc; }
.sub-title { position: relative; padding-left: 20px; }
.sub-title::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }

/* ---------- トップ ---------- */
.hero {
  position: relative; overflow: hidden; padding: 28px 0 56px;
  background:
    radial-gradient(circle at 96% 6%, var(--sky-soft) 0 130px, transparent 131px),
    radial-gradient(circle at 2% 62%, var(--green-soft) 0 90px, transparent 91px),
    radial-gradient(circle at 70% 98%, #ffe9b8 0 110px, transparent 111px),
    var(--bg);
}
.hero { --hero-veil: rgba(20, 22, 34, .5); overflow: hidden; }
/* 背景写真があるときは、写真を暗くして、文字を白にする */
.hero.has-bg .hero-catch, .hero.has-bg .hero-lead, .hero.has-bg .summary-title, .hero.has-bg .chips-note { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.hero > * { position: relative; }
.hero-kicker { display: inline-block; margin-bottom: 10px; padding: 2px 14px; background: #fff; border-radius: 999px; border: 2px solid var(--accent-soft); font-weight: 700; font-size: .875rem; color: var(--accent-dark); }
.hero-catch { font-weight: 700; line-height: 1.5; }
.chips li { padding: 4px 18px; background: var(--yellow); color: var(--ink); border-radius: 999px; font-weight: 700; }
.hero-photo { width: 50%; margin: 0 auto; }
.hero-photo .media { position: relative; }
.hero-photo-caption { position: absolute; left: 0; right: 0; bottom: 7%; margin: 0; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: clamp(.75rem, 2.4vw, 1.0625rem); letter-spacing: .08em; color: var(--ink); }
html[lang="en"] .hero-photo-caption { font-size: clamp(.5rem, 1.9vw, .8125rem); letter-spacing: 0; white-space: nowrap; }
.hero-photo .media { border-radius: 28px; border: 6px solid #fff; box-shadow: var(--shadow); background: var(--sky-soft); }
@media (min-width: 900px) { .hero-photo { margin: 0 0 0 auto; transform: rotate(1.5deg); } }
.summary-title { text-align: center; }
.summary-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 8px solid var(--sky); }
.summary-card:nth-child(even) { border-top-color: var(--green); }
.summary-area { align-self: flex-start; padding: 0 12px; background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; font-size: .8125rem; font-weight: 700; }
.summary-name { font-weight: 700; font-size: 1.125rem; line-height: 1.5; }
.summary-day { display: inline-block; min-width: 3.2em; text-align: center; background: var(--sky-soft); border-radius: 999px; padding: 0 8px; }
.summary-link { color: var(--accent-dark); }

/* ---------- 道場紹介 ---------- */
.facts { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 22px; }
.fact:last-child { border-bottom: 0; }
.purpose-card { border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sky-soft); }
.purpose-card:nth-child(2) { background: var(--accent-soft); }
.purpose-card:nth-child(3) { background: var(--green-soft); }
.purpose-label { display: inline-block; margin-bottom: 10px; padding: 0 14px; background: #fff; border-radius: 999px; font-size: .8125rem; font-weight: 700; }
.purpose-text { color: var(--ink); }
.manners { background: #fff3c7; border-radius: var(--radius); }

/* ---------- 稽古日程・会場 ---------- */
.venue-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.venue-no { display: inline-block; padding: 0 14px; background: var(--accent); color: #fff; border-radius: 999px; letter-spacing: .1em; }
.venue-title { margin-top: 6px; }
.day-group { border-top: 2px dotted var(--line); }
.day-group:last-child { border-bottom: 2px dotted var(--line); }
.day-name { align-self: start; text-align: center; background: var(--sky-soft); border-radius: 999px; font-size: 1rem; padding: 4px 0; line-height: 1.5; }
.slot-time { color: var(--ink); }
.venue-alt { background: var(--bg); border: 2px dashed #e8b98d; border-radius: 20px; }
.alt-label { color: var(--accent-dark); }

/* ---------- 料金 ---------- */
.fee-main { background: var(--accent-soft); border-radius: 28px; border: 4px solid #fff; box-shadow: var(--shadow); }
.fee-label { display: inline-block; padding: 0 20px; background: #fff; border-radius: 999px; color: var(--accent-dark); }
.fee-amount { color: var(--accent-dark); }
.fee-note { color: var(--ink); }
.fee-plan { border: 0; border-radius: 20px; background: #fff; }
.fee-plan-venue { color: var(--accent-dark); }
.fee-plan-note { color: var(--ink); }
.fee-table { background: #fff; border-collapse: separate; border-spacing: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.fee-table th, .fee-table td { padding: 16px 12px; }
@media (min-width: 600px) { .fee-table th, .fee-table td { padding: 16px 18px; } }
.fee-table tbody tr:last-child th, .fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table thead th { background: var(--sky-soft); color: var(--ink); }

/* ---------- 指導者 ---------- */
.instructor-photo .media { border-radius: 999px 999px 28px 28px; border: 6px solid #fff; box-shadow: var(--shadow); background: #fff; }
.instructor-role { color: var(--accent-dark); }
.instructor-message { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.instructor-facts .fact:last-child { border-bottom: 0; }

/* ---------- はじめての方へ ---------- */
.step { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.step-no { border-radius: 50%; background: var(--accent); color: #fff; }
.step:nth-child(2) .step-no { background: var(--insta); }
.step:nth-child(3) .step-no { background: var(--band); }
.belongings-list .fact { border-bottom: 2px dotted var(--line); }
.faq-item { margin-bottom: 10px; background: #fff; border: 0; border-radius: 18px; box-shadow: var(--shadow); }
.faq-item summary { border-radius: 18px; }
.faq-item summary:focus-visible { outline-offset: -3px; }
.faq-item summary { padding: 10px 18px; }
.faq-item summary::after {
  content: "＋"; display: grid; place-items: center; width: 32px; height: 32px;
  background: var(--accent-soft); color: var(--accent-dark); border-radius: 50%; font-weight: 700;
}
.faq-item[open] summary::after { content: "－"; }
.faq-a { padding: 0 18px 18px; }

/* ---------- 活動の様子 ---------- */
.record { background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.record-date { color: var(--accent-dark); }
.gallery-item .media { border-radius: 20px; border: 4px solid #fff; box-shadow: var(--shadow); background: #fff; }

/* ---------- お問い合わせ ---------- */
.sns-card { border-radius: var(--radius); box-shadow: var(--shadow); color: #fff; transition: transform .15s; }
.sns-card:hover { transform: translateY(-2px); }
.sns-band { background: var(--band); }
.sns-insta { background: var(--insta); }
.sns-card-url { opacity: 1; }
.contact-list { background: #fff; border-radius: 18px; padding: 8px 18px; box-shadow: var(--shadow); }
.contact-form { background: #fff; border-radius: 28px; box-shadow: var(--shadow); }
.field input, .field select, .field textarea { border: 2px solid #8c7b62; border-radius: var(--radius-sm); }

/* ---------- フッター（上辺に波） ---------- */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -23px; height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M0 24 V12 Q12 0 24 12 T48 12 V24 Z' fill='%232b2a33'/%3E%3C/svg%3E") repeat-x bottom / 48px 24px;
}
.footer-nav a { text-underline-offset: 4px; }

/* ---------- プレースホルダ（やわらかい色面・波・丸いバッジ） ---------- */
.ph {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 214, 107, .95) 0 13%, transparent 13.5%),
    radial-gradient(circle at 86% 78%, #cdebc6 0 22%, transparent 22.5%),
    radial-gradient(circle at 78% 16%, #bfe1f6 0 11%, transparent 11.5%),
    linear-gradient(160deg, #eaf5fc, #fff1dc);
  overflow: hidden;
}
.ph::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='20' viewBox='0 0 80 20'%3E%3Cpath d='M0 10 Q20 0 40 10 T80 10 V20 H0 Z' fill='%234aa3df' fill-opacity='.35'/%3E%3C/svg%3E") repeat-x bottom / 80px 100%;
}
.ph > * { position: relative; z-index: 1; }
.ph-mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; color: var(--accent-dark);
  font-weight: 700; font-size: 1.75rem; box-shadow: 0 4px 10px rgba(120, 72, 20, .18);
}
.ph-text { padding: 0 14px; background: #fff; border-radius: 999px; color: var(--ink); }
.media-logo { border-radius: 50%; }
.ph-logo { background: var(--accent); }
.ph-logo::after { display: none; }
.ph-logo .ph-mark { width: 100%; height: 100%; background: none; color: #fff; box-shadow: none; border-radius: 0; font-size: 1.4rem; }
.ph-gallery .ph-mark { width: 48px; height: 48px; font-size: 1.25rem; }

/* ---------- 東京本部道場の案内（ボタン＋画像の表示） ---------- */
.flyer-wrap { display: contents; }
.flyer-dialog {
  width: min(94vw, 760px); max-height: 94vh; padding: 12px; margin: auto;
  border: none; border-radius: 16px; background: #fff; overflow: auto;
}
.flyer-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.flyer-close { display: block; margin: 0 auto 10px; min-height: 46px; }
.flyer-img { display: block; width: 100%; height: auto; border-radius: 8px; }
/* 会場カードのボタンを横に並べる（せまい画面では縦） */
.venue-actions { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 600px) { .venue-actions { flex-direction: row; flex-wrap: wrap; align-items: center; } }
