/* =========================================================
   英文学科 2006年度入学生 同窓会 LP
   色: 夜空(night) / ツリーの金(gold)・青(blue) / 紙(paper) / 茶の線(ink)
   押す場所だけ LINE の緑
   ========================================================= */
:root {
  --night: #0a0f2c;
  --night-2: #131b48;
  --night-3: #1c2560;
  --gold: #f6d27a;
  --gold-2: #ffe7a8;
  --blue: #5868ff;
  --paper: #fbf6ec;
  --cream: #f6eddc;
  --ink: #3a2a1e;
  --ink-2: #6b5646;
  --orange: #f5a21c;
  --line: #06c755;
  --line-dark: #04a847;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --en: "Cormorant Garamond", "Times New Roman", serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--round);
  font-weight: 500;
  color: #eef0ff;
  background: var(--night);
  line-height: 1.9;
  letter-spacing: .03em;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; position: relative; z-index: 1; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 12px 28px;
  border-radius: 999px; border: 0;
  font-family: var(--round); font-weight: 900; font-size: 1rem; letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(2px); }
.btn--line {
  background: var(--line); color: #fff;
  box-shadow: 0 6px 0 var(--line-dark), 0 14px 30px rgba(6, 199, 85, .35);
  font-size: 1.1rem; padding: 16px 36px; min-height: 60px;
}
.btn--line::before {
  content: ""; width: 26px; height: 26px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 3C6.5 3 2 6.6 2 11c0 3.9 3.5 7.2 8.3 7.9.3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1 .9.5s5.8-3.4 7.9-5.8C21.3 14.4 22 12.8 22 11c0-4.4-4.5-8-10-8zM8.3 13.4H6.4c-.3 0-.5-.2-.5-.5V9.1c0-.3.2-.5.5-.5s.5.2.5.5v3.3h1.4c.3 0 .5.2.5.5s-.2.5-.5.5zm2-.5c0 .3-.2.5-.5.5s-.5-.2-.5-.5V9.1c0-.3.2-.5.5-.5s.5.2.5.5v3.8zm4.6 0c0 .2-.1.4-.3.5h-.2c-.2 0-.3-.1-.4-.2l-2-2.7v2.4c0 .3-.2.5-.5.5s-.5-.2-.5-.5V9.1c0-.2.1-.4.3-.5h.2c.2 0 .3.1.4.2l2 2.7V9.1c0-.3.2-.5.5-.5s.5.2.5.5v3.8zm3.1-2.4c.3 0 .5.2.5.5s-.2.5-.5.5h-1.4v.9h1.4c.3 0 .5.2.5.5s-.2.5-.5.5h-1.9c-.3 0-.5-.2-.5-.5V9.1c0-.3.2-.5.5-.5h1.9c.3 0 .5.2.5.5s-.2.5-.5.5h-1.4v.9h1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (hover: hover) { .btn--line:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--line-dark), 0 18px 34px rgba(6, 199, 85, .45); } }
.btn--line.is-disabled {
  background: #8e96a8; box-shadow: 0 6px 0 #6f7687; cursor: not-allowed; pointer-events: none;
}
.btn--ghost {
  color: #fff; background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}
@media (hover: hover) { .btn--ghost:hover { background: rgba(255, 255, 255, .18); } }
.btn--small { min-height: 44px; padding: 8px 22px; background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 #c9a24a; }
.btn--small[aria-pressed="true"] { background: #fff; box-shadow: 0 4px 0 #c9c3b5; }
.btn--sub { background: #fff; color: var(--ink); border: 2px solid var(--ink); min-height: 48px; padding: 10px 22px; font-size: .95rem; }
.btn--line-outline { background: #fff; color: var(--ink); border: 2px solid var(--ink); min-height: 48px; padding: 10px 20px; font-size: .9rem; }
@media (hover: hover) { .btn--sub:hover, .btn--line-outline:hover { background: var(--cream); } }

/* ---------- ふきだし・マスコット ---------- */
.mascot {
  position: absolute; z-index: 3;
  padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mascot img { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); transform-origin: 50% 100%; }
.mascot.is-boing img { animation: boing .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes boing {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.08, .9) translateY(4px); }
  60% { transform: scale(.95, 1.08) translateY(-10px); }
  100% { transform: scale(1, 1); }
}
.bubble {
  position: absolute; z-index: 2;
  padding: 10px 14px; border-radius: 18px;
  background: #fff; color: var(--ink);
  border: 2.5px solid var(--ink);
  font-family: var(--round); font-weight: 900; font-size: .88rem; line-height: 1.45; letter-spacing: .02em;
  white-space: nowrap; text-align: center;
  box-shadow: 0 4px 0 rgba(58, 42, 30, .25);
  opacity: 0; transform: scale(.6); transform-origin: var(--tail-x, 80%) 100%;
  transition: opacity .25s ease, transform .35s cubic-bezier(.3, 1.6, .5, 1);
  pointer-events: none;
}
.bubble.is-shown { opacity: 1; transform: scale(1); }
.bubble::after {
  content: ""; position: absolute; bottom: -12px; left: var(--tail-x, 80%);
  width: 18px; height: 18px; background: #fff;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
  transform: translateX(-50%) rotate(45deg) skew(8deg, 8deg);
  border-bottom-right-radius: 4px;
}
.bubble--left { --tail-x: 82%; }
.bubble--right { --tail-x: 18%; }
.bubble--small { font-size: .8rem; padding: 6px 12px; }

/* ---------- 夜空のきらめき ---------- */
.sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.sky--soft { opacity: .7; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 0 max(84px, env(safe-area-inset-bottom));
  overflow: hidden; isolation: isolate;
  background: var(--night);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__photo img, .hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__photo img { object-position: 30% 40%; animation: slowzoom 30s ease-in-out infinite alternate; }
@keyframes slowzoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero.is-video .hero__video { opacity: 1; }
.hero.is-video .hero__photo { display: none; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 15, 44, .55) 0%, rgba(10, 15, 44, 0) 22%, rgba(10, 15, 44, 0) 40%, rgba(10, 15, 44, .82) 72%, var(--night) 100%);
}
.hero .sky { z-index: 2; }

.hero__inner { position: relative; z-index: 2; text-align: center; padding: 0 20px; max-width: 760px; }
.hero__eyebrow {
  margin: 0 0 14px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; line-height: 1.7;
  color: var(--gold-2); text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.hero__title {
  margin: 0; font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.1rem, 9vw, 4.4rem); line-height: 1.35; letter-spacing: .06em;
  color: #fff;
  text-shadow: 0 0 28px rgba(246, 210, 122, .55), 0 4px 18px rgba(0, 0, 0, .6);
}
.hero__lead { margin: 18px 0 22px; font-size: clamp(.95rem, 3.6vw, 1.15rem); text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.hero__date {
  display: inline-flex; flex-direction: column; gap: 2px;
  margin: 0 0 26px; padding: 12px 26px;
  border-top: 1px solid rgba(246, 210, 122, .7); border-bottom: 1px solid rgba(246, 210, 122, .7);
}
.hero__date-main { font-family: var(--en); font-weight: 500; font-size: clamp(1.6rem, 7vw, 2.4rem); letter-spacing: .08em; color: var(--gold); line-height: 1.2; }
.hero__date-main small { font-size: .55em; letter-spacing: .2em; }
.hero__date-sub { font-size: .95rem; font-weight: 700; letter-spacing: .12em; }

.mascot--hero { right: max(8px, 3vw); bottom: 90px; width: clamp(96px, 24vw, 190px); }
.mascot--hero .bubble { bottom: 100%; right: 30%; margin-bottom: 8px; }
.mascot--hero img { animation: wave-sway 3.2s ease-in-out infinite; }
@keyframes wave-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3;
  font-family: var(--en); font-style: italic; font-size: .95rem; letter-spacing: .2em; text-decoration: none; color: var(--gold-2);
  padding-bottom: 26px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 22px; background: var(--gold-2);
  animation: drip 2s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (max-width: 767px) {
  .hero__inner { padding-bottom: 4px; }
  .mascot--hero { bottom: auto; top: calc(18px + env(safe-area-inset-top)); right: 4px; width: 84px; }
  .mascot--hero .bubble { bottom: auto; top: 54%; right: 92%; margin: 0; font-size: .76rem; --tail-x: 50%; }
  .mascot--hero .bubble::after { bottom: auto; top: 50%; left: auto; right: -12px; transform: translateY(-50%) rotate(-45deg) skew(8deg, 8deg); }
  /* キャラと吹き出しの分を上に空けておく（画面が低いと文字がキャラの下に潜り込むため） */
  .hero { padding-top: calc(176px + env(safe-area-inset-top)); }
  .mascot--hero .bubble { top: 28%; }
}
/* アプリ内ブラウザなど縦が短い画面：飾りの scroll を消して、ボタンまで1画面に収める */
@media (max-width: 767px) and (max-height: 760px) {
  .hero { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .hero__scroll { display: none; }
  .hero__eyebrow { margin-bottom: 10px; }
  .hero__lead { margin: 14px 0 16px; }
  .hero__date { margin-bottom: 18px; padding: 10px 26px; }
}

/* =========================================================
   PROLOGUE
   ========================================================= */
.prologue { padding: 72px 20px 80px; background: var(--night); text-align: center; }
.epigraph { margin: 0 auto; max-width: 640px; }
.epigraph blockquote {
  margin: 0; font-family: var(--en); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 5.4vw, 2.1rem); line-height: 1.5; color: var(--gold-2);
}
.epigraph blockquote::before, .epigraph blockquote::after { color: var(--gold); opacity: .7; }
.epigraph blockquote::before { content: "“"; }
.epigraph blockquote::after { content: "”"; }
.epigraph figcaption { margin-top: 12px; font-family: var(--en); font-size: 1rem; letter-spacing: .08em; color: #b9bfe8; }
.epigraph__ja { margin: 22px 0 0; font-size: .92rem; color: #d7dbf5; }
.epigraph__ja small { font-size: .8rem; color: #9ea6d8; }

/* =========================================================
   CHAPTER 共通
   ========================================================= */
.chapter { position: relative; padding: 96px 0 104px; overflow: hidden; }
.chapter--night { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); }
.chapter--deep { background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%); }
.chapter--paper {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .7), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(245, 162, 28, .06), transparent 50%),
    var(--paper);
  color: var(--ink);
}
.chapter--cream { background: var(--cream); }

.chapter__label {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 0 0 10px; font-family: var(--en); font-style: italic; font-weight: 600;
  font-size: 1.15rem; letter-spacing: .12em; color: var(--gold);
}
.chapter__label::before, .chapter__label::after { content: ""; width: 42px; height: 1px; background: currentColor; opacity: .6; }
.chapter__label span { font-style: normal; font-weight: 500; letter-spacing: .1em; }
.chapter--paper .chapter__label { color: #b07a12; }
.chapter__title {
  margin: 0 0 26px; text-align: center; font-family: var(--serif); font-weight: 800;
  font-size: clamp(1.7rem, 6.4vw, 2.6rem); line-height: 1.45; letter-spacing: .06em;
}
.chapter__text { max-width: 680px; margin: 0 auto 40px; font-size: 1.02rem; color: #e3e6fb; }
.chapter__text--ink { color: var(--ink); margin-top: 48px; margin-bottom: 0; }
.sub-title {
  margin: 64px 0 24px; text-align: center; font-family: var(--serif); font-weight: 800; font-size: 1.5rem; letter-spacing: .08em;
}
.note { max-width: 680px; margin: 18px auto 0; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1.5px dashed #d8c7a8; font-size: .92rem; color: var(--ink-2); }

/* ---------- ポラロイド ---------- */
.polaroid {
  margin: 0; background: #fffdf7; padding: 12px 12px 14px; border-radius: 3px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 2px 0 rgba(0, 0, 0, .08);
  color: var(--ink); position: relative;
}
.polaroid img { width: 100%; border-radius: 1px; }
.polaroid figcaption { padding-top: 10px; text-align: center; font-family: var(--round); font-weight: 700; font-size: .85rem; letter-spacing: .06em; color: var(--ink-2); }
.polaroid::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(246, 210, 122, .75); box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}
.polaroid--big { transform: rotate(-1.2deg); }
.polaroid--tilt-l { transform: rotate(-3deg); }
.polaroid--tilt-r { transform: rotate(2.5deg); }

.stamp {
  position: absolute; right: 21%; bottom: 3%;
  font-family: "Courier New", ui-monospace, monospace; font-weight: 700; font-size: clamp(.9rem, 2.6vw, 1.3rem);
  color: #ff8a1f; letter-spacing: .12em;
  text-shadow: 0 0 6px rgba(255, 138, 31, .8), 0 0 1px #ffb46b;
  opacity: .92;
}

/* ---------- 写真の中のふたりを探す ---------- */
.find { display: grid; gap: 28px; align-items: center; max-width: 980px; margin: 0 auto; }
@media (min-width: 900px) { .find { grid-template-columns: 1fr 260px; } }
.find__photo { position: relative; overflow: hidden; }
.find__mark {
  position: absolute; width: 11%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.4);
  border: 4px solid #ffd23f; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .35), 0 0 22px rgba(255, 210, 63, .9);
  opacity: 0; transition: opacity .3s ease, transform .5s cubic-bezier(.3, 1.6, .5, 1);
}
.find.is-found .find__mark { opacity: 1; transform: translate(-50%, -50%) scale(1); animation: pulse 1.6s ease-in-out .5s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 3px rgba(0, 0, 0, .35), 0 0 36px rgba(255, 210, 63, 1); } }
.find__quiz { text-align: center; }
.find__face { width: 110px; margin: 0 auto 6px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .4)); }
.find__q { margin: 0 0 14px; font-weight: 700; line-height: 1.7; }
.find__a { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .1); font-size: .92rem; text-align: left; }
.find__a b { color: var(--gold); }


/* ---------- 2009 → 2026 ---------- */
.then-now { display: grid; grid-template-columns: 1.45fr auto 1fr; align-items: center; gap: clamp(8px, 3vw, 28px); max-width: 960px; margin: 0 auto; }
.then-now .polaroid { padding: 8px 8px 10px; }
.then-now .polaroid figcaption { font-size: clamp(.7rem, 2.4vw, .9rem); }
.then-now__arrow { font-family: var(--en); font-size: clamp(1.4rem, 5vw, 2.6rem); color: var(--gold); }
@media (max-width: 599px) {
  .then-now { grid-template-columns: 1fr; gap: 14px; justify-items: center; }
  .then-now .polaroid--tilt-l { width: 92%; }
  .then-now .polaroid--tilt-r { width: 74%; }
  .then-now__arrow { transform: rotate(90deg); }
}

.retake { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 4vw, 40px); margin: 72px auto 56px; max-width: 820px; }
@media (max-width: 599px) { .retake { flex-direction: column; align-items: center; gap: 0; text-align: center; } .retake__text { padding-bottom: 0 !important; } .mascot--camera { margin-top: 70px; } .mascot--camera .bubble { right: 78% !important; bottom: 70% !important; } }
.retake__text {
  margin: 0; font-family: var(--serif); font-weight: 800; font-size: clamp(1.35rem, 5.2vw, 2rem); line-height: 1.65; letter-spacing: .05em;
  color: #fff; text-shadow: 0 0 24px rgba(246, 210, 122, .45); padding-bottom: 30px;
}
.mascot--camera { position: relative; width: clamp(110px, 28vw, 170px); flex: none; }
.mascot--camera .bubble { bottom: 88%; right: 62%; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
@media (hover: hover) { .gallery figure:hover img { transform: scale(1.06); } }
.gallery__cap { margin: 10px 0 0; text-align: center; font-size: .82rem; color: #aab1e0; }
@media (max-width: 599px) {
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: -20px; }
  .gallery figure { scroll-snap-align: start; }
}

/* ---------- 年表 ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(180deg, #d9c39b 0 6px, transparent 6px 12px); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 28px; align-items: baseline; padding: 10px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 86px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid #d9a441; }
.timeline time { font-family: var(--en); font-weight: 500; font-size: 1.2rem; text-align: right; color: #b07a12; letter-spacing: .04em; }
.timeline p { margin: 0; font-weight: 700; }
.timeline small { display: block; font-weight: 500; font-size: .82rem; color: var(--ink-2); }
.timeline .is-next::before { background: var(--line); border-color: var(--line); box-shadow: 0 0 0 6px rgba(6, 199, 85, .18); }
.timeline .is-next p { font-size: 1.1rem; }
.timeline .is-next time { color: var(--ink); font-weight: 600; }

/* ---------- あの頃といま ---------- */
.arafo { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .arafo { grid-template-columns: 380px 1fr; gap: 40px; } }
.arafo__pic { position: relative; margin: 0 auto; max-width: 360px; padding-top: 40px; }
.arafo__pic figcaption { text-align: center; font-weight: 700; font-size: .85rem; color: var(--ink-2); margin-top: 6px; }
.arafo__pic img { filter: drop-shadow(0 10px 14px rgba(58, 42, 30, .22)); }
.bubble--tl { top: 0; left: 4%; --tail-x: 60%; }
.bubble--tr { top: 0; right: 0; --tail-x: 40%; }
.arafo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 600px) { .arafo__list { grid-template-columns: 1fr 1fr; } .arafo__list li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.arafo__list li { background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 14px 16px 12px; box-shadow: 4px 4px 0 rgba(58, 42, 30, .15); }
.arafo__list h4 { margin: 0 0 6px; font-size: .9rem; font-weight: 900; color: #b07a12; letter-spacing: .08em; }
.arafo__list p { margin: 0; display: flex; gap: 10px; align-items: baseline; font-size: .95rem; line-height: 1.6; }
.arafo__list p + p { margin-top: 4px; }
.arafo__list .then, .arafo__list .now { flex: none; min-width: 3.6em; text-align: center; font-size: .72rem; font-weight: 900; padding: 1px 6px; border-radius: 6px; line-height: 1.6; letter-spacing: .04em; }
.arafo__list .then { background: #ece4d4; color: var(--ink-2); }
.arafo__list p:first-of-type { color: var(--ink-2); text-decoration: line-through; text-decoration-color: rgba(58, 42, 30, .35); }
.arafo__list .now { background: var(--night-2); color: var(--gold); }
.arafo__list p:last-child { font-weight: 700; }

/* ---------- 開催のご案内 ---------- */
.guide { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .guide { grid-template-columns: 300px 1fr; gap: 36px; } }
.mascot--point { position: relative; width: min(300px, 78%); margin: 30px auto 0; }
.mascot--point .bubble { top: -34px; left: 52%; bottom: auto; }
.info { margin: 0; background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; padding: 6px 22px; box-shadow: 6px 6px 0 rgba(58, 42, 30, .15); }
.info > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1.5px dashed #e3d6bd; }
.info > div:last-child { border-bottom: 0; }
.info dt { font-weight: 900; color: #b07a12; font-size: .9rem; padding-top: 2px; }
.info dd { margin: 0; line-height: 1.7; }
.info dd b { display: block; font-size: 1.05rem; }
.info__big { font-family: var(--serif); font-size: 1.25rem !important; letter-spacing: .04em; }
.info dd small { display: block; font-size: .82rem; color: var(--ink-2); margin-top: 2px; }
.info__map { display: inline-block; margin-top: 6px; font-size: .85rem; font-weight: 700; color: #1d5fd1; }
@media (max-width: 480px) { .info > div { grid-template-columns: 1fr; gap: 2px; } .info { padding: 4px 18px; } }

.countdown {
  position: relative; margin: 120px auto 0; max-width: 760px; text-align: center;
  background: var(--night); color: #fff; border-radius: 24px; padding: 34px 20px 30px;
  box-shadow: 0 20px 40px rgba(10, 15, 44, .35);
}
.countdown__label { margin: 0; font-weight: 700; color: var(--gold-2); letter-spacing: .1em; }
.countdown__nums { display: flex; justify-content: center; gap: clamp(10px, 3vw, 26px); margin: 6px 0 22px; }
.countdown__nums span { display: flex; align-items: baseline; gap: 2px; }
.countdown__nums b { font-family: var(--en); font-weight: 500; font-size: clamp(2rem, 9vw, 3.6rem); line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; }
.countdown__nums span:first-child b { font-size: clamp(2.6rem, 12vw, 4.8rem); }
.countdown__nums small { font-size: .85rem; }
.countdown__cal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.countdown__mascot { position: absolute; right: -6px; top: -66px; width: 96px; }
.countdown__mascot img { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .3)); animation: bob 2.6s ease-in-out infinite; }
.countdown__mascot .bubble { bottom: 70%; right: 88%; font-size: .78rem; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
@media (max-width: 600px) { .countdown { margin-top: 120px; } .countdown__mascot { top: -84px; right: 0; width: 84px; } }

/* =========================================================
   JOIN
   ========================================================= */
.join { position: relative; padding: 110px 0 110px; overflow: hidden; isolation: isolate; text-align: center; }
.join__bg { position: absolute; inset: 0; z-index: -1; }
.join__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.join__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(10, 15, 44, .35), rgba(10, 15, 44, .92) 70%); }
.join .sky { z-index: 0; }
.join__title { margin: 0 0 22px; font-family: var(--serif); font-weight: 800; font-size: clamp(1.7rem, 6.4vw, 2.7rem); line-height: 1.45; letter-spacing: .05em; text-shadow: 0 0 26px rgba(246, 210, 122, .5); }
.join__text { max-width: 640px; margin: 0 auto 12px; text-align: left; }
.join__text b { color: var(--gold-2); }
.join__card {
  position: relative; margin: 110px auto 0; max-width: 560px;
  background: var(--paper); color: var(--ink); border-radius: 26px; border: 3px solid var(--ink);
  padding: 130px 24px 28px; box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
}
.join__santa { position: absolute; left: 50%; top: -100px; width: 250px; transform: translateX(-50%); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); animation: hop 2.8s ease-in-out infinite; }
@keyframes hop { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }
.join__chat-kind { margin: 0; font-size: .85rem; font-weight: 900; color: var(--line-dark); letter-spacing: .1em; }
.join__chat-name { word-break: keep-all; margin: 4px 0 22px; font-family: var(--serif); font-weight: 800; font-size: clamp(1.05rem, 4.4vw, 1.3rem); line-height: 1.6; }
.join__pending { margin: 14px 0 0; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.join__qr { margin: 22px auto 0; }
.join__qr img { width: 180px; margin: 0 auto; border: 8px solid #fff; border-radius: 10px; box-shadow: 0 0 0 2px var(--ink); }
.join__qr figcaption { margin-top: 8px; font-size: .8rem; color: var(--ink-2); }
@media (max-width: 767px) { .join__qr { display: none; } }
.join__tip { margin: 22px 0 0; padding: 14px 16px; border-radius: 14px; background: #fff; text-align: left; font-size: .86rem; line-height: 1.75; color: var(--ink-2); }

.share { margin: 56px auto 0; max-width: 560px; }
.share h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 800; font-size: 1.3rem; }
.share p { margin: 0 0 16px; font-size: .92rem; color: #d7dbf5; }
.share__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.share__done { margin-top: 10px !important; color: var(--gold) !important; font-weight: 700; }

/* =========================================================
   FAQ
   ========================================================= */
.faq__list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 48px 16px 52px; position: relative; font-weight: 900; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 16px; top: 13px; font-family: var(--en); font-size: 1.4rem; font-weight: 600; color: #b07a12; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--ink-2); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px 52px; color: var(--ink-2); }

/* =========================================================
   EPILOGUE
   ========================================================= */
.epilogue { position: relative; padding: 96px 0 130px; text-align: center; background: linear-gradient(180deg, var(--night-2), var(--night) 60%); overflow: hidden; }
.epigraph--end { margin-bottom: 40px; }
.walkaway { display: flex; justify-content: center; gap: 4px; }
.walkaway img { width: 70px; animation: walk 1.1s ease-in-out infinite; }
.walkaway img + img { animation-delay: .55s; }
@keyframes walk { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
.see-you { margin: 18px 0 30px; font-family: var(--en); font-style: italic; font-size: clamp(1.8rem, 7vw, 2.6rem); color: var(--gold-2); line-height: 1.3; }
.see-you span { display: block; font-style: normal; font-size: .5em; letter-spacing: .25em; color: #b9bfe8; margin-top: 6px; }
.credits { margin-top: 56px; font-size: .78rem; line-height: 1.8; color: #9ea6d8; }
.credits p { margin: 0 0 6px; }

/* =========================================================
   スマホの追従ボタン
   ========================================================= */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 15, 44, .88); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(246, 210, 122, .35);
  transform: translateY(110%); transition: transform .35s ease;
}
.dock.is-shown { transform: translateY(0); }
.dock img { width: 48px; margin-top: -26px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); }
.btn--dock { min-height: 50px; padding: 10px 22px; font-size: 1rem; flex: 1; max-width: 360px; }
.btn--dock::before { width: 22px; height: 22px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- 出てくる動き ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.polaroid.reveal.is-in, .reveal.is-in .polaroid--big { transition-delay: .1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- スマホの細かい調整 ---------- */
@media (max-width: 599px) {
  .btn--dock { font-size: .92rem; padding: 10px 14px; white-space: nowrap; letter-spacing: .02em; }
  .btn--dock::before { width: 20px; height: 20px; }
  .dock img { width: 42px; }
}

.btn--line { white-space: nowrap; }
@media (max-width: 599px) {
  .btn--line { font-size: 1rem; padding: 14px 22px; letter-spacing: .03em; }
  .btn--line::before { width: 22px; height: 22px; }
  .join__chat-name { font-size: 1.05rem; }
}

/* ---------- あの頃のケータイ ---------- */
.keitai { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; }
.keitai::before { content: ""; position: absolute; left: 8%; right: 8%; top: 26px; height: 2px; background: repeating-linear-gradient(90deg, #d9c39b 0 6px, transparent 6px 12px); }
.keitai li { position: relative; text-align: center; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 10px 6px 12px; box-shadow: 4px 4px 0 rgba(58, 42, 30, .15); }
.keitai time { display: block; font-family: var(--en); font-weight: 600; font-size: 1.6rem; line-height: 1.2; color: #b07a12; }
.keitai p { margin: 4px 0 0; font-weight: 700; font-size: .9rem; line-height: 1.55; }
.keitai__note { max-width: 760px; margin: 16px auto 36px; text-align: center; font-weight: 700; font-size: .95rem; }
@media (max-width: 599px) {
  .keitai { gap: 6px; }
  .keitai li { padding: 8px 4px 10px; border-radius: 12px; }
  .keitai time { font-size: 1.3rem; }
  .keitai p { font-size: .74rem; }
  .keitai__note { text-align: left; font-size: .9rem; }
}
