@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@500;700;800&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');

:root {
  --bg: #F7F3E9;
  --bg-card: #FFFFFF;
  --forest: #33502E;
  --forest-dark: #1F3320;
  --gold: #C08A34;
  --gold-light: #E8C784;
  --text: #2A2823;
  --text-soft: #5B5850;
  --line: #DDD4BC;
  --radius: 4px;
  --shadow: 0 6px 24px rgba(31, 51, 32, 0.12);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Shippori Mincho', serif;
  color: var(--forest-dark);
  margin: 0;
  line-height: 1.5;
}

a { color: inherit; }

/* ---------- Ridge divider (signature element) ---------- */
.ridge {
  width: 100%;
  height: 44px;
  display: block;
  margin: 0;
}
.ridge--down { fill: var(--bg); }
.ridge--up { fill: var(--forest-dark); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--forest-dark);
  color: #EFE7CE;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.04em;
}
.topbar strong { color: var(--gold-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,32,20,0.15) 0%, rgba(18,28,18,0.55) 55%, rgba(14,22,14,0.88) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px 24px 72px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 700;
  max-width: 760px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero-sub {
  margin-top: 18px;
  font-size: 16px;
  max-width: 560px;
  color: #F1ECDD;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.badge {
  background: rgba(255,255,255,0.92);
  color: var(--forest-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}
.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 10px 26px rgba(192,138,52,0.4);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(192,138,52,0.5); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Section shells ---------- */
section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: #EFE9D8; }
.section-dark {
  background: var(--forest-dark);
  color: #EDE7D4;
}
.section-dark h2, .section-dark h3 { color: #fff; }

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head h2 { font-size: clamp(24px, 3.2vw, 32px); }
.section-head p { margin-top: 14px; color: var(--text-soft); font-size: 15.5px; }
.section-dark .kicker { color: var(--gold-light); }
.section-dark .section-head p { color: #D8D0B8; }
.section-dark h4 { color: #fff; }
.section-dark .step p { color: #D8D0B8; }
.section-dark .step:not(:first-child)::before { background: rgba(255,255,255,0.25); }

/* ---------- Story banner (柳谷小学校再開) ---------- */
.story-banner {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  box-shadow: var(--shadow);
}
.story-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--forest);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.story-banner h3 { font-size: 18px; margin-bottom: 6px; }
.story-banner p { margin: 0; color: var(--text-soft); font-size: 14.5px; }

/* ---------- Feature grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.feature-card .num {
  font-family: 'Shippori Mincho', serif;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { margin: 0; font-size: 14.5px; color: var(--text-soft); }

/* ---------- Tour compare cards ---------- */
.tour-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.tour-card--primary { border: 2px solid var(--gold); }
.tour-media { aspect-ratio: 4/3; overflow: hidden; }
.tour-media img { width: 100%; height: 100%; object-fit: cover; }
.tour-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.tour-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--forest);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
}
.tour-body h3 { font-size: 20px; }
.tour-list { margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--text-soft); }
.tour-list li { padding: 5px 0 5px 22px; position: relative; }
.tour-list li::before {
  content: "・";
  position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.tour-body .btn { margin-top: 8px; align-self: flex-start; }

/* ---------- Advisor ---------- */
.advisor {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  align-items: flex-start;
}
.advisor-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  font-family: 'Shippori Mincho', serif;
}
.advisor h3 { font-size: 17px; margin-bottom: 4px; }
.advisor .role { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 10px; display: block; }
.advisor p { margin: 0; font-size: 14.5px; color: var(--text-soft); }

/* ---------- Media mentions ---------- */
.media-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.media-chip {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--forest-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.media-chip:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Town programs ---------- */
.town-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.town-card h4 { font-size: 16px; margin-bottom: 6px; }
.town-card p { margin: 0; font-size: 13.5px; color: var(--text-soft); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 22px;
  text-align: center;
}
.step:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0; top: 26px;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.step-num {
  position: relative;
  z-index: 1;
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  font-weight: 700;
}
.step h4 { font-size: 15.5px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 13.5px; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 20px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a {
  padding: 0 22px 20px;
  color: var(--text-soft);
  font-size: 14.5px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--forest-dark);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}
.final-cta h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.final-cta p { color: #D8D0B8; margin: 16px 0 32px; }

/* ---------- Contact / footer ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-grid h3 { font-size: 17px; margin-bottom: 12px; }
.contact-grid address { font-style: normal; font-size: 14.5px; color: var(--text-soft); line-height: 2; }
.contact-grid a.map-link { color: var(--gold); font-weight: 700; text-decoration: underline; }

footer {
  background: var(--forest-dark);
  color: #B9B29A;
  font-size: 12.5px;
  padding: 28px 0 100px;
  text-align: center;
}
footer p { margin: 4px 0; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.14);
  padding: 12px 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .advisor { grid-template-columns: 64px 1fr; }
  .advisor-avatar { width: 64px; height: 64px; font-size: 22px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step:not(:first-child)::before { display: none; }
  .story-banner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 720px) {
  .hero { min-height: 100vh; }
  .hero-inner { padding: 100px 20px 220px; }
  .mobile-cta { display: block; }
  footer { padding-bottom: 120px; }
}
