*, *::before, *::after { box-sizing: border-box; }

:root {
  --c-lilac:   #5B9EC9;
  --c-airview: #B8D4E8;
  --c-lemon:   #E8E4D9;
  --c-blush:   #E8A598;
  --c-ink:     #1C2B3A;
  --c-muted:   #4A6B82;
  --c-pale:    #EEF4F8;
  --c-deep:    #2A3D4A;
  --c-forest:  #3A7FAD;
}

html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Maru Gothic', 'M PLUS Rounded 1c', sans-serif;
  background: var(--c-pale);
  color: var(--c-ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ── Typography ── */
.t-hand { font-family: Caveat, cursive; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.anim-fade-up { animation: fadeUp 0.9s ease-out both; }
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .18s; }
.d3 { animation-delay: .32s; }
.d4 { animation-delay: .46s; }
.d5 { animation-delay: .76s; }

.anim-float { animation: float 7s ease-in-out infinite; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s ease, transform .85s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .28s; }

/* ── Header ── */
#site-header {
  position: fixed; inset: 0 0 auto;
  z-index: 200;
  height: 64px;
  background: rgba(38,96,140,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.18); }

.nav-link {
  font-size: .85rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  position: relative;
  transition: color .25s;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: rgba(255,255,255,.7);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }

/* ── Hamburger button ── */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--c-lilac);
  border-radius: 2px;
  transition: all .3s ease;
}

/* ── Mobile drawer ── */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed; top: 0; right: 0;
  width: min(320px, 85vw); height: 100dvh;
  background: #fff;
  z-index: 400;
  padding: 1.5rem 1.75rem 2rem;
  transform: translateX(100%);
  transition: transform .35s ease;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.nav-drawer.open { transform: translateX(0); }

.nav-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; color: var(--c-ink);
  display: block; margin-left: auto; margin-bottom: 1.75rem;
  line-height: 1;
}

.drawer-nav {
  display: flex; flex-direction: column; gap: 0;
}
.drawer-link {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.05rem;
  color: var(--c-ink);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(91,158,201,.14);
  letter-spacing: .06em;
  transition: color .2s;
}
.drawer-link:hover { color: var(--c-lilac); }

.drawer-reserve {
  margin-top: auto;
  padding-top: 2rem;
  text-align: center;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1rem; font-weight: 500;
  letter-spacing: .08em;
  text-decoration: none;
  border-radius: 2rem;
  padding: .85rem 2.4rem;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn:focus-visible { outline: 2px solid var(--c-lilac); outline-offset: 3px; }

.btn-main {
  background: linear-gradient(135deg, var(--c-lilac), var(--c-airview));
  color: #fff;
  box-shadow: 0 4px 18px rgba(91,158,201,.35);
  transition: transform .3s, box-shadow .3s, filter .3s;
}
.btn-main:hover {
  box-shadow: 0 10px 28px rgba(91,158,201,.45);
  filter: brightness(1.08);
}
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 4px 18px rgba(91,158,201,.35); }
  50%      { box-shadow: 0 4px 28px rgba(91,158,201,.7), 0 0 0 6px rgba(91,158,201,.12); }
}
.btn-main:focus { animation: glow-pulse .6s ease; }

.btn-ghost {
  background: transparent;
  color: var(--c-forest);
  border: 1.5px solid var(--c-lilac);
  transition: transform .3s, background .25s, box-shadow .25s;
}
.btn-ghost:hover {
  background: #E4F1F8;
  box-shadow: 0 4px 16px rgba(91,158,201,.2);
}

/* ── Wave underline ── */
.wave-ul { position: relative; display: inline-block; }
.wave-ul::after {
  content: '';
  position: absolute;
  bottom: -7px; left: 0; right: 0; height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8'%3E%3Cpath d='M0,4 Q15,0 30,4 T60,4 T90,4 T120,4' stroke='%235B9EC9' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center/120px 7px;
}

/* ── Color dot row ── */
.color-dots { display: flex; gap: .75rem; justify-content: center; }
.color-dot  { width: 12px; height: 12px; border-radius: 50%; }

/* ── Section label ── */
.sec-label {
  font-family: Caveat, cursive;
  font-size: 1rem;
  letter-spacing: .14em;
  color: var(--c-lilac);
  text-transform: lowercase;
}
.sec-title {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.35;
}

/* ── Card ── */
.card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: 0 2px 20px rgba(0,0,0,.045);
  transition: transform .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(0,0,0,.07);
}

/* ── Checklist ── */
.check-row {
  display: flex; align-items: flex-start; gap: .875rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(91,158,201,.14);
  font-size: .975rem; line-height: 1.7; letter-spacing: .04em;
}
.check-row:last-child { border-bottom: none; }
.check-box {
  flex-shrink: 0; width: 20px; height: 20px;
  border: 1.5px solid var(--c-lilac); border-radius: 4px;
  margin-top: 3px;
}

/* ── Step ── */
.step-dot {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: Caveat, cursive; font-size: 1.3rem; font-weight: 700;
  margin: 0 auto .5rem;
}

/* ── Quote card ── */
.quote-card {
  background: #fff; border-radius: 1.5rem;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
  position: relative;
}
.quote-card::before {
  content: '\201C';
  font-family: Caveat, cursive; font-size: 5rem;
  color: #B8D4E8; line-height: .9;
  position: absolute; top: .5rem; left: 1.25rem;
}

/* ── Price ── */
.price { font-family: Caveat, cursive; font-size: 2rem; font-weight: 700; }

/* ── SNS pill ── */
.sns-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.6rem; border-radius: 2rem;
  font-size: .9rem; letter-spacing: .04em;
  text-decoration: none; font-family: 'M PLUS Rounded 1c', sans-serif;
  border: 1.5px solid; transition: transform .25s, box-shadow .25s;
}
.sns-pill:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }

/* ── Poem ── */
.poem {
  font-size: clamp(.875rem, 2vw, 1.05rem);
  line-height: 3;
  letter-spacing: .09em;
  color: var(--c-deep);
  text-align: center;
}

/* ── Divider wave SVG ── */
.wave-div { display: block; width: 100%; line-height: 0; margin-top: -2px; margin-bottom: -2px; position: relative; z-index: 1; }

/* ── Footer ── */
footer { position: relative; z-index: 2; }

/* ── Footer nav ── */
.footer-link {
  font-size: .82rem;
  color: #666;
  text-decoration: none;
  letter-spacing: .05em;
  transition: color .2s;
}
.footer-link:hover { color: var(--c-lilac); }

/* ── Section header ── */
.sec-header { text-align: center; margin-bottom: 3.75rem; }

/* ── FAQ ── */
.faq-item { background: #E4F1F8; border-radius: 1.25rem; overflow: hidden; cursor: pointer; }
.faq-summary {
  padding: 1.5rem 1.75rem; font-size: .97rem; letter-spacing: .06em;
  color: var(--c-deep); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-summary svg { flex-shrink: 0; transition: transform .3s; }
details[open] .faq-summary svg { transform: rotate(180deg); }
.faq-body {
  padding: 0 1.75rem 1.5rem; font-size: .9rem; color: var(--c-muted);
  line-height: 1.9; letter-spacing: .05em;
  border-top: 1px solid rgba(91,158,201,.15);
}

/* ── Tag badge ── */
.tag { padding: .35rem .9rem; border-radius: 1rem; font-size: .8rem; letter-spacing: .05em; }

/* ── Footer sub link ── */
.footer-sub-link {
  font-size: .72rem; color: #444; text-decoration: none; letter-spacing: .04em;
  transition: color .2s;
}
.footer-sub-link:hover { color: var(--c-lilac); }

/* ── アクセシビリティ用（視覚的には隠すがSEO・スクリーンリーダーには読ませる） ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--c-pale);
  padding: 7.5rem 1.5rem 4rem;
  text-align: center;
  margin-bottom: -2px;
}

/* ── イベント感想スライダー（スマホは横スクロール／PCはグリッド） ── */
.ev-scroller {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
.ev-scroller img {
  width: 100%;
  border-radius: .75rem;
  display: block;
}
.ev-scroll-hint { display: none; }

/* ── イベントカード：本文＋ポスター（PCは横並び／スマホはポスターを上に） ── */
.ev-feature { display: flex; align-items: center; gap: 1.5rem; }
.ev-feature-body { flex: 1; min-width: 0; }
.ev-feature-poster { flex: 0 0 190px; display: block; line-height: 0; transition: transform .3s; }
.ev-feature-poster:hover { transform: translateY(-3px); }
.ev-feature-poster img {
  width: 100%; height: auto; display: block;
  border-radius: .75rem;
  box-shadow: 0 6px 20px rgba(60,80,130,.18);
}

/* ── Mobile ── */
@media (max-width: 700px) {
  .hide-mobile { display: none !important; }
  .hamburger-btn { display: flex; }
  .btn { padding: .75rem 1.75rem; font-size: .9rem; }

  .ev-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: .75rem;
    /* カードの左右パディング分だけはみ出させ、カード端まで使う */
    margin: 0 -1.5rem;
    padding: 0 1.5rem .5rem;
    scrollbar-width: none;
  }
  .ev-scroller::-webkit-scrollbar { display: none; }
  .ev-scroller img {
    flex: 0 0 78%;
    scroll-snap-align: center;
  }
  .ev-scroll-hint { display: block; }

  .ev-feature { flex-direction: column-reverse; align-items: stretch; gap: 1.25rem; }
  .ev-feature-poster { flex: none; width: min(250px, 100%); margin: 0 auto; }
}
