/* =============================================
   BASE
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@400;700;900&family=Noto+Serif+JP:wght@400;500;700;900&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #04081a;
}

body {
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  font-weight: 400;
  color: #ffffff;
  background: transparent;
}

.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #04081a url('img/body/bg.png') center center / cover no-repeat;
  z-index: -2;
}

/* 全体に浮かぶ星（JS生成） */
.body-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* スクロール横はみ出し防止をhtmlで管理 */
html {
  overflow-x: hidden;
}

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

.sp-br {
  display: none;
}

a {
  color: #333;
  text-decoration: none;
}

/* =============================================
   FV SECTION
   ============================================= */
.fv {
  position: relative;
  width: 100%;
  /* デザインカンプ実測比率 */
  aspect-ratio: 1920 / 1092;
  background: none;
  overflow: hidden;
}

/* Ken Burns 背景 */
.fv__bg {
  position: absolute;
  inset: 0;
  background: #04081a url('img/fv/bg.jpg') center center / cover no-repeat;
  animation: ken-burns 9s ease-in-out infinite alternate;
  z-index: 0;
}


@keyframes ken-burns {
  from { transform: scale(1);    }
  to   { transform: scale(1.15); }
}

.fv__logo {
  position: absolute;
  top: 0.94vw;
  left: 1.25vw;
  width: 13vw;
  z-index: 10;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}

.fv__content {
  position: relative;
  z-index: 10; /* 人物(z:5)より前面 */
  padding-top: 5.7vw;
  text-align: center;
}

/* キャッチ画像ラッパー */
.fv__catch-wrap {
  position: relative;
  display: inline-block;
  width: min(53vw, 94%);
}

/* 後ろから拡大しながら消えるオーラ */
.fv__catch-pulse {
  position: absolute;
  inset: 0;
  background: url('img/fv/fv-catch.png') center / contain no-repeat;
  opacity: 0;
  animation: catch-pulse 3s ease-out infinite;
  z-index: 0;
}

@keyframes catch-pulse {
  0%   { transform: scale(1);    opacity: 0.55; }
  100% { transform: scale(1.22); opacity: 0;    }
}

.fv__catch {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.7));
}

.fv__tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.52vw;
  margin: 5vw auto 0;
}

.fv__tagline-line {
  display: inline-block;
  background: rgba(0, 0, 0, 0.85);
  padding: 0.15vw 1.25vw;
  font-size: clamp(22px, 2.3vw, 36px);
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.fv__tagline em {
  font-style: normal;
  color: #FFD700;
  font-size: 1.1em;
}

.fv__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 月面は最下部に固定 */
.fv__moon {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: block;
  z-index: 3;
}


/* 人物は影・月面の上に重ねる */
.fv__human {
  position: absolute;
  bottom: 3vw;
  left: 50%;
  transform: translateX(-50%);
  width: 89%; /* 1702 / 1920 */
  z-index: 5;
}

/* =============================================
   YEAH! BAND
   ============================================= */
.yeah-band {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.yeah-band img {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   THANKS SECTION
   ============================================= */
.thanks {
  position: relative;
  /* bg.png (1920×160) を縦にループして敷き詰める */
  background: url('img/thanks/bg.png') center top / 100% auto repeat-y;
  padding: 70px 0 80px;
  overflow: hidden;
}

/* heading: thanks-h2.png + 黒帯 */
.thanks__heading-wrap {
  position: relative;
  z-index: 4;
  background: #000;
  padding: 30px 0;
  text-align: center;
}

.thanks__heading-wrap::before,
.thanks__heading-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 12px;
  background-image: radial-gradient(circle, #000 5px, transparent 5px);
  background-size: 18px 12px;
  background-repeat: repeat-x;
  background-position: center;
}

.thanks__heading-wrap::before {
  top: -30px;
}

.thanks__heading-wrap::after {
  bottom: -30px;
}

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

/* spotlight は bg の上のレイヤーに重ねる */
.thanks__spotlight {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  max-width: 1800px;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}

/* Mirror-ball sparkles (JS生成) */
.thanks__sparkle {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  transform-origin: center;
}

.thanks__sparkle--star-lg,
.thanks__sparkle--star-sm {
  clip-path: polygon(
    50% 0%,  53% 45%, 100% 50%,
    53% 55%, 50% 100%, 47% 55%,
    0%  50%, 47% 45%
  );
  animation: sp-star ease-in-out infinite alternate;
}

@keyframes sp-star {
  0%   { transform: scale(0.05) rotate(0deg);  opacity: 0;    }
  25%  {                                        opacity: 1;    }
  65%  { transform: scale(1)    rotate(20deg); opacity: 0.95; }
  100% { transform: scale(0.08) rotate(45deg); opacity: 0;    }
}

.thanks__mirror-ball {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 270px;
  z-index: 3;
  animation: rotate-ball 10s linear infinite;
  filter: drop-shadow(0 0 20px rgba(255,215,0,0.6));
}

.thanks__inner {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 20px 0;
}

.thanks__human-left,
.thanks__human-right {
  position: absolute;
  bottom: 20px;
  width: clamp(440px, 52vw, 920px);
  z-index: 4;
  transform-origin: bottom center;
  /* js-reveal の transform トランジションを無効化してアニメーションを優先 */
  transition: opacity 0.7s ease;
}

.thanks__human-left {
  left: -10%;
}

.thanks__human-right {
  right: 0%;
}



.thanks__box {
  flex: 1;
  max-width: 980px;
  background: rgba(10, 10, 10, 0.95);
  border: none;
  padding: 44px 52px;
  position: relative;
  z-index: 5;
}

.thanks__title {
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 900;
  color: #FFD700;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 6px;
}

.thanks__date {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
}

.thanks__body {
  font-size: 19px;
  color: #eeeeee;
  line-height: 1.5;
  text-align: center;
}

.thanks__line {
  display: block;
  padding: 15px 0;
  border-bottom: 2px dashed #FFD700;
}

.thanks__frag {
  display: inline;
}

.thanks__line:last-child {
  border-bottom: none;
}

.thanks__sign {
  margin-top: 32px;
  text-align: center;
  font-size: 20px;
  color: #eeeeee;
  font-family: 'Noto Serif JP', 'Yu Mincho', '游明朝', 'Hiragino Mincho ProN', 'MS PMincho', serif;
}

/* =============================================
   TIMELINE SECTION
   ============================================= */
.timeline-line-gradient {
  background: linear-gradient(to bottom, transparent 0%, #cca43b 15%, #cca43b 85%, transparent 100%);
}

.glow-gold {
  text-shadow: 0 0 12px rgba(204, 164, 59, 0.4);
}

.glow-box {
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}

.glow-box-active {
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.35);
}

.glow-box-gold {
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.35);
}

/* 年表セクション: 公式サイト誘導ボタンをゆっくり明滅させて目立たせる */
@keyframes timeline-cta-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.35); }
  50%      { box-shadow: 0 0 45px rgba(255, 215, 0, 0.75); }
}

.timeline-cta-glow {
  animation: timeline-cta-pulse 2.5s ease-in-out infinite;
}

/* 年表: 殿堂入りリストを豪華に見せる */
.timeline-hof-item {
  background:
    radial-gradient(circle at 25% 30%, rgba(255, 215, 0, 0.1), transparent 70%),
    linear-gradient(135deg, rgba(10, 10, 20, 0.9), rgba(20, 15, 40, 0.9));
  border: 1px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.timeline-hof-name {
  font-family: 'Noto Serif JP', 'Yu Mincho', '游明朝', 'Hiragino Mincho ProN', 'MS PMincho', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffe873;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.timeline-hof-medal {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #3a3010 0%, #0a0a0a 75%);
  border: 2px solid #ffd700;
  outline: 1px solid rgba(255, 215, 0, 0.4);
  outline-offset: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  font-size: 1.1rem;
}

/* ホバー時に矢印が右へ流れるアニメーション */
@keyframes timeline-arrow-flow {
  0%   { transform: translateX(0);    opacity: 1; }
  60%  { transform: translateX(10px); opacity: 0; }
  61%  { transform: translateX(-6px); opacity: 0; }
  100% { transform: translateX(0);    opacity: 1; }
}

.timeline-cta-arrow {
  transition: transform 0.2s ease;
}

.timeline-cta-glow:hover .timeline-cta-arrow {
  animation: timeline-arrow-flow 1s ease-in-out infinite;
}

/* 年表セクション: 期間バッジに高級感を出すための放射状グラデーション＋二重リング */
.timeline-badge-circle {
  background: radial-gradient(circle at 50% 38%, #000000 0%, #0a0c2e 72%);
  border: 3px solid #a3a8d4;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 6px;
}

/* 年表セクション: 本文以外の数字（バッジ・統計値など）のフォントを明朝体に */
.timeline-num-mincho {
  font-family: 'Noto Serif JP', 'Yu Mincho', '游明朝', 'Hiragino Mincho ProN', 'MS PMincho', serif !important;
}

/* 年表セクション: チャプターボタン（全すべての年表／Chapter 01〜03）のフォントを明朝体に */
#tab-all, #tab-ch1, #tab-ch2, #tab-ch3,
#tab-all span, #tab-ch1 span, #tab-ch2 span, #tab-ch3 span {
  font-family: 'Noto Serif JP', 'Yu Mincho', '游明朝', 'Hiragino Mincho ProN', 'MS PMincho', serif;
}

/* 年表セクション上部: 黒背景が上から下にかけて透明になるフェード（画面幅いっぱい） */
.timeline-header-fade::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  bottom: -450px;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgb(0 18 89) 0%, rgba(0, 0, 255, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

/* =============================================
   CAMPAIGN SECTION
   ============================================= */
.campaigns {
  position: relative;
  background: transparent;
  padding: 80px 0 100px;
  overflow: hidden;
}

.campaigns__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.campaign-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.campaign-item:nth-child(2) {
  margin-top: -10px;
}

.campaign-item__img {
  position: relative;
  display: block;
  max-width: 750px;
  width: 75%;
}

.campaign-item__img-media {
  display: block;
  width: 100%;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.campaign-item__img-media--bright {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.campaign-item__img:hover .campaign-item__img-media--bright {
  opacity: 1;
}

.campaign-item__img:hover .campaign-item__img-media {
  transform: scale(1.02);
}

/* サイドキャラクター（絶対配置・キャンペーン画像より下のレイヤー） */
.campaign-char {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

/* キャンペーン①②の間 ─ 左（ロケット宇宙人） */
.campaign-char--1 {
  left: 10%;
  top: 12%;
  width: clamp(260px, 28vw, 520px);
  animation: float 3s ease-in-out infinite;
}

/* キャンペーン②に対応 ─ 右中（立ち宇宙人） */
.campaign-char--2 {
  right: 10%;
  top: 32%;
  width: clamp(200px, 22vw, 400px);
  animation: float 3s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* キャンペーン③に対応 ─ 左下（コーヒー宇宙人） */
.campaign-char--3 {
  left: 10%;
  bottom: 12%;
  width: clamp(210px, 23vw, 420px);
  animation: float 3s ease-in-out infinite;
  animation-delay: 1s;
}

/* =============================================
   実は SECTION
   ============================================= */
.notice-section {
  position: relative;
  background: transparent;
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
}

.notice-section__deco {
  position: absolute;
  right: clamp(10px, 4vw, 80px);
  bottom: -30px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.notice-section__penguin-wrap {
  position: relative;
  width: clamp(260px, 32vw, 500px);
}

.notice-section__penguin-bg {
  width: 100%;
  display: block;
}

.notice-section__penguin {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
}

.notice-section__symbol {
  display: none;
}



/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #ffffff;
  border-top: 4px solid #FFD700;
}

.site-footer__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
  gap: 24px;
}

.site-footer__logo {
  width: 220px;
  flex-shrink: 0;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer__nav a {
  font-size: 13px;
  color: #333;
  padding: 4px 14px;
  border-right: 1px solid #ccc;
  white-space: nowrap;
}

.site-footer__nav a:last-child {
  border-right: none;
}

.site-footer__nav a:hover {
  color: #CC0000;
}

.site-footer__copy {
  background: #CC0000;
  text-align: center;
  padding: 14px 24px;
  font-size: 12px;
  color: #ffffff;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes twinkle {
  from { opacity: 0.4; }
  to   { opacity: 1;   }
}

@keyframes rotate-ball {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes bounce-symbol {
  0%, 100% { transform: scale(1) rotate(-5deg); }
  50%       { transform: scale(1.15) rotate(5deg); }
}


@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes comic-pop {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.js-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 年表セクションの出現演出だけ、より柔らかくゆっくりに */
.timeline-section .js-reveal {
  transform: translateY(24px) scale(0.98);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-section .js-reveal.is-visible {
  transform: translateY(0) scale(1);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  /* Thanks */
  .thanks__human-left,
  .thanks__human-right {
    width: 42vw;
    animation: none !important;
  }

  .thanks__box {
    padding: 32px 36px;
  }

  /* Campaigns */
  .campaign-char--1 {
    left: 0;
    top: 28%;
  }

  .campaign-char--3 {
    left: 0;
  }

  .campaign-char--2 {
    right: 0;
    top: 48%;
  }

  /* Penguin */
  .notice-section__deco {
    right: -80px;
  }
}

@media (max-width: 767px) {
  /* FV */
  .fv {
    min-height: 620px;
  }

  .fv__logo {
    width: 173px;
    top: 12px;
    left: 14px;
  }

  .fv__content {
    padding-top: 76px;
  }

  .fv__catch-wrap {
    width: 100%;
  }

  .fv__catch {
    width: 100%;
  }

  .fv__catch-pulse {
    display: none;
  }

  .fv__tagline {
    display: block;
    text-align: center;
    padding: 0 16px;
    margin-top: 36px;
    line-height: 1;
  }

  .fv__tagline-line {
    display: inline;
    font-size: 19px;
    padding: 0.35em 0.9em;
    white-space: normal;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    line-height: 2.6;
  }

  .sp-br {
    display: inline;
  }

  /* Thanks */
  .thanks {
    padding: 40px 0 60px;
  }

  .thanks__heading-wrap {
    margin-top: 24px;
  }

  .thanks__heading-img {
    max-width: 55%;
    margin: 0 auto;
  }

  .thanks__inner {
    flex-direction: column;
    align-items: center;
    padding: 74px 6px 0;
  }

  .thanks__human-left,
  .thanks__human-right {
    display: none;
  }

  .thanks__box {
    padding: 28px 8px;
    max-width: 100%;
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
  }

  .thanks__title {
    font-size: 32px;
  }

  .thanks__date {
    font-size: 18px;
  }

  .thanks__body {
    font-size: 15px;
    text-align: left;
  }

  .thanks__line {
    padding: 0;
    border-bottom: none;
  }

  .thanks__frag {
    display: block;
    padding: 8px 0;
    border-bottom: 2px dashed #FFD700;
    overflow-wrap: break-word;
    max-width: 100%;
  }

  .thanks__line:last-child .thanks__frag:last-child {
    border-bottom: none;
  }

  /* Campaigns */
  .campaign-item__img {
    width: 100%;
  }

  .campaign-item:last-child {
    margin-top: 0;
  }

  .campaign-char {
    display: none;
  }

  /* notice */
  .campaigns {
    padding-bottom: 260px;
  }

  .notice-section__deco {
    right: auto;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
  }

  /* Footer */
  .site-footer__main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }

  .site-footer__nav {
    justify-content: center;
  }
}
