/* =========================================================
   オープニング演出：赤い幕 → 金のタイトル → 幕が開く → 紙吹雪
   ========================================================= */
.intro { display: none; }
.intro-on .intro {
  display: block;
  position: fixed; inset: 0; z-index: 200;
  overflow: hidden;
  cursor: pointer;
}
.intro-on body { overflow: hidden; }

/* ビロードの幕（縦のひだ＋下に金の房） */
.curtain {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background:
    repeating-linear-gradient(90deg,
      rgba(0, 0, 0, .28) 0, rgba(0, 0, 0, 0) 22px,
      rgba(255, 255, 255, .07) 34px, rgba(0, 0, 0, 0) 46px, rgba(0, 0, 0, .28) 68px),
    linear-gradient(180deg, #a8122c 0%, #7d0a1c 60%, #5c0614 100%);
  transition: transform 1.25s cubic-bezier(.77, 0, .18, 1);
}
.curtain::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background:
    repeating-linear-gradient(90deg, #f1d98c 0 3px, #b58a2e 3px 6px);
  box-shadow: 0 -2px 0 #d4ad55 inset;
}
.curtain-l { left: 0; box-shadow: inset -30px 0 40px -20px rgba(0, 0, 0, .55); }
.curtain-r { right: 0; box-shadow: inset 30px 0 40px -20px rgba(0, 0, 0, .55); }
.intro.is-open .curtain-l { transform: translateX(-102%); }
.intro.is-open .curtain-r { transform: translateX(102%); }

.intro-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  padding: 0 20px;
  transition: opacity .45s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
}
.intro.is-open .intro-inner { opacity: 0; }
.intro.is-open .intro-inner { transform: scale(1.06); }

.intro-kicker {
  font-family: var(--en); font-weight: 700;
  font-size: clamp(11px, 3vw, 15px); letter-spacing: .5em; text-indent: .5em;
  color: #f1d98c;
  opacity: 0;
  animation: introRise .9s .25s cubic-bezier(.22, 1, .36, 1) forwards;
}
.intro-rule {
  display: block; height: 1px; width: min(68vw, 360px); margin: 16px 0;
  background: linear-gradient(90deg, rgba(241, 217, 140, 0), #f1d98c 50%, rgba(241, 217, 140, 0));
  transform: scaleX(0);
  animation: introRule .9s .55s cubic-bezier(.22, 1, .36, 1) forwards;
}
.intro-rule:last-of-type { animation-delay: 1.15s; }
.intro-title, .intro-year {
  font-family: var(--en); font-weight: 700; line-height: 1;
  background: linear-gradient(100deg, #b58a2e 0%, #f3dd96 22%, #fff6d6 30%, #d4ad55 40%, #b58a2e 60%, #f1d98c 80%, #b58a2e 100%);
  background-size: 250% 100%;
  background-position: 100% 0; /* 光の開始位置で待つ（跳ばないように） */
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0;
}
.intro-title {
  font-size: clamp(40px, 13vw, 92px); letter-spacing: .12em; text-indent: .12em;
  animation: introRise .9s .7s cubic-bezier(.22, 1, .36, 1) forwards, introShine 1.8s 1.1s ease-in-out both;
}
.intro-year {
  margin-top: 8px;
  font-size: clamp(26px, 8vw, 54px); letter-spacing: .4em; text-indent: .4em;
  animation: introRise .9s .9s cubic-bezier(.22, 1, .36, 1) forwards, introShine 1.8s 1.3s ease-in-out both;
}
.intro-ja {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(13px, 3.6vw, 17px); letter-spacing: .3em; text-indent: .3em;
  color: #fff4dc;
  opacity: 0;
  animation: introFade .8s 1.35s ease forwards;
}
.intro-skip {
  position: absolute; right: 16px; bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(241, 217, 140, .6); background: rgba(0, 0, 0, .15);
  color: #f1d98c; font-size: 12px; font-weight: 700; letter-spacing: .1em;
  opacity: 0; animation: introFade .5s .6s ease forwards;
  transition: opacity .3s ease;
}
.intro.is-open .intro-skip { animation: introFadeOut .4s ease forwards; pointer-events: none; }

@keyframes introFade { to { opacity: 1; } }
@keyframes introFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes introRule { to { transform: scaleX(1); } }
@keyframes introRise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes introShine { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* 紙吹雪 */
.confetti { position: fixed; inset: 0; z-index: 190; width: 100%; height: 100%; pointer-events: none; }

/* =========================================================
   ヒーローの登場（JSが動く時だけ。幕が開いたら順番に）
   ========================================================= */
.js .hero .rv, .js .hero .rv-line {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--d, 0) * 110ms + 150ms);
}
.js .hero .rv-line { display: inline-block; }
.js .hero .rv-icon { opacity: 0; transform: scale(.88); transition: opacity 1s ease, transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.is-revealed .hero .rv, .is-revealed .hero .rv-line { opacity: 1; transform: none; }
.is-revealed .hero .rv-icon { opacity: 1; transform: none; }

/* 写真の左右を囲む金の月桂冠 */
.hero-icon .laurel {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 130%; height: 130%; transform: translate(-50%, -50%);
  overflow: visible; pointer-events: none;
}
.js .hero .rv-icon .laurel { opacity: 0; transform: translate(-50%, -48%) scale(.94); transition: opacity 1.4s .5s ease, transform 1.6s .5s cubic-bezier(.22, 1, .36, 1); }
.is-revealed .hero .rv-icon .laurel { opacity: 1; transform: translate(-50%, -50%); }

/* 「心に残った」：幕が開いたあとに1回だけ光がゆっくり通る。
   光の帯は両端が地の金と同じ色なので、入りも抜けもフェードのように見え、終わりに色が跳ばない */
.hero h1 .hl {
  background-image: linear-gradient(100deg,
    #ddb963 0%, #ddb963 36%, #f6e3a8 44%, #fff8e0 50%, #f6e3a8 56%, #ddb963 64%, #ddb963 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
}
.is-revealed .hero h1 .hl { animation: hlShineOnce 3.2s 1.6s cubic-bezier(.45, .05, .25, 1) both; }
@keyframes hlShineOnce { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* 金ボタンの光：太くやわらかく、とてもゆっくり流れる */
.hero-btn { position: relative; overflow: hidden; }
.hero-btn::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -80%; width: 70%;
  background: linear-gradient(100deg,
    rgba(255, 250, 230, 0) 0%, rgba(255, 250, 230, .18) 30%, rgba(255, 252, 240, .6) 50%,
    rgba(255, 250, 230, .18) 70%, rgba(255, 250, 230, 0) 100%);
  transform: skewX(-18deg);
  animation: btnShine 9s 2.5s cubic-bezier(.45, .05, .25, 1) infinite;
}
@keyframes btnShine { 0% { left: -80%; } 50% { left: 120%; } 100% { left: 120%; } }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .hl, .hero-btn::after { animation: none; }
}


/* 月桂冠ぶんの余白（はみ出す15%ぶん） */
@media (max-width: 599px) {
  .hero-icon { width: min(64vw, 270px); margin-top: 26px; margin-bottom: 56px; }
}

/* トップの一言だけ丸ゴシック（端末内蔵：ヒラギノ丸ゴ） */
.hero-lead {
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "BIZ UDPGothic", var(--font);
  font-weight: 400;
  letter-spacing: .04em;
}
.hero-lead .nw { white-space: nowrap; }

/* 数字の大きさが違っても3つの中身を上下中央にそろえる */
.hero-facts li { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 66px; }
.fact-val { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: 2px; min-height: 30px; line-height: 1.2; }
.fact-val:not(:has(b)) { align-items: center; }
.fact-sub { font-size: 11.5px; letter-spacing: .02em; }
