@charset "UTF-8";
/* ==========================================================================
   太鼓の達人×湾岸MAXIMUM TUNE 6RR+ コラボ特設ページ
   - PC: 1366px design / SP: 430px design を基準に vw で流動スケーリング
   - 1rem = 10px(デザインカンプ上の1px) となるよう html の font-size を可変化
   ========================================================================== */

/* ---- reset ---- */
* , *::before, *::after { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, h4, p, a, img, ul, li, figure, figcaption, button { margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { background: none; cursor: pointer; appearance: none; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background-color: #2b2b2b;
  color: #fff;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

/* ---- vw フルードスケーリング（1rem = デザインカンプ上の10px） ---- */
@media (max-width: 767px) {
  html { font-size: clamp(7.4px, calc(100vw / 43), 17.8px); }
}
@media (min-width: 768px) {
  html { font-size: clamp(5.6px, calc(100vw / 136.6), 14.1px); }
}

/* ---- PC / SP 改行出し分け ---- */
.br-sp { display: none; }
.notice-split-sp { display: none; }
@media (max-width: 767px) {
  .br-sp { display: inline; }
  .br-pc { display: none; }
  .notice-inline-pc { display: none; }
  .notice-split-sp { display: block; }
}

/* ---- 固定背景（iOS Safari対応: background-attachment:fixed を使わず要素をposition:fixedにする） ---- */
.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #2b2b2b;
  background-image: url("../img/bg_main.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}

/* ---- 全体レイアウト ---- */
.site { position: relative; width: 100%; overflow: hidden; }

.container {
  position: relative;
  width: 78rem;
  max-width: calc(100% - 4rem);
  margin: 0 auto;
}

.hero__inner {
  width: 100%;
  max-width: none;
}

/* ---- 共通パーツ ---- */
.section-heading {
  color: #fdb100;
  font-weight: 700;
  text-align: center;
}
.section-num {
  color: #f50000;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 700;
  text-align: center;
}
.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(180deg, #f84828 0%, #f58400 100%);
  border: 0.2rem solid #000;
  border-radius: 5rem;
  color: #fff;
  font-weight: 700;
  text-align: center;
}
.notice-box {
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  margin-top: 3rem;
  font-size: 1rem;
  line-height: 1.7;
}
.notice-box p + p { margin-top: 0.5rem; }
.notice-box p:not(:first-child) {
  text-indent: -1em;
  margin-left: 1em;
}

/* ==========================================================================
   ヘッダー / ヒーロー
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 4rem;
}
.hero__ticker {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40.3rem;
  background-image: url("../img/bg_pattern.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero__ticker::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
}
.hero__ticker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.4rem;
  background: #fdb100;
}
@media (min-width: 768px) {
  .hero__ticker::after {
    transform: translateY(50%);
  }
}
.hero__ticker-deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 86.9rem;
  max-width: none;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__inner picture { display: block; max-width: 100%; }
.hero__logo { width: 70.1rem; max-width: 90%; margin: 0 auto; }

.period-bar {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  padding: 1.6rem 0;
  background: linear-gradient(90deg, rgba(245,0,0,0) 0%, #f50000 49.8%, rgba(245,0,0,0) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.period-bar__label {
  color: #ffef00;
  font-weight: 800;
  font-size: 1.8rem;
}
.period-bar__date {
  color: #fff;
  font-weight: 500;
  font-size: 1.8rem;
}

.nav-tabs {
  width: 100%;
  max-width: 78rem;
  margin-top: 4rem;
  display: flex;
  border: 0.2rem solid #000;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f50000 0%, #f50000 55.5%, #f59800 100%);
  box-shadow: inset 0 0 0 0.2rem #fff;
}
.nav-tabs a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 0.5rem;
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  text-align: center;
  border-right: 0.1rem solid rgba(255, 255, 255, 0.43);
  transition: opacity 0.2s;
}
.nav-tabs a:last-child { border-right: 0; }
.nav-tabs a:hover { opacity: 0.75; }

.hero__catch { width: 118rem; max-width: 96%; margin-top: 4rem; }

.hero__lead {
  margin-top: 3rem;
  padding-bottom: 5rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6;
}

/* ==========================================================================
   キャンペーンセクション 共通
   ========================================================================== */
.campaign { padding: 6rem 0 7rem; }
.campaign--01 { background: rgba(0, 0, 0, 0.32); }
.campaign--02 { background: rgba(0, 0, 0, 0.06); }
.campaign--03 { background: rgba(0, 0, 0, 0.32); }

.campaign .container { text-align: center; }

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-num { font-size: 4.6rem; line-height: 1; }
.section-heading { font-size: 2.8rem; margin-top: 0.5rem; }
@media (min-width: 768px) {
  .section-title {
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 1.5rem;
  }
  .section-title .section-heading { margin-top: 0; }
}
.section-heading--lined {
  position: relative;
  padding: 1.5rem 0;
  margin-top: 0;
}
.section-heading--lined::before,
.section-heading--lined::after {
  content: "";
  display: block;
  width: 100%;
  height: 0.1rem;
  background: #fdb100;
}
.section-heading--lined::before { margin-bottom: 1.5rem; }
.section-heading--lined::after { margin-top: 1.5rem; }

.block-title {
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  text-align: left;
  margin-top: 4rem;
}
.lead-text {
  text-align: left;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.5rem;
  line-height: 1.8;
  margin-top: 1.2rem;
}

/* プレイ方法フローカード（外側:薄いグレー枠+隙間／内側:太い黒枠の二重構造） */
.flow-card-outer {
  margin-top: 2rem;
  padding: 1rem;
  background: #f8f0e0;
  border: 0.1rem solid #707070;
  border-radius: 1.1rem;
}
.flow-card {
  padding: 2.5rem 3rem;
  background: #f8f0e0;
  border: 0.4rem solid #231815;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.flow-step img { height: 6rem; width: auto; object-fit: contain; }
.flow-step p {
  color: #231815;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.5;
}
.flow-step .accent { color: #f50000; }
.flow-arrow {
  color: #fdb100;
  font-size: 3rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* 獲得できるアイテムを囲む箱（半透明白背景＋オレンジ枠） */
.nameplate-box {
  position: relative;
  margin-top: 4rem;
  padding: 4.5rem 3rem 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 0.4rem solid #fdb100;
  border-radius: 1rem;
}
.nameplate-box + .nameplate-box { margin-top: 3rem; }

/* 獲得できるアイテム／本戦・予選 バッジ（箱の上辺に半分乗る） */
.item-badge,
.tier-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 2rem 0.6rem 0.8rem;
  background: #fdb100;
  border: 0.15rem solid #000;
  border-radius: 3rem;
  color: #000;
  font-weight: 700;
  font-size: 2rem;
  white-space: nowrap;
}
.item-badge img,
.tier-badge img {
  width: 3.6rem;
  height: 3.6rem;
  flex-shrink: 0;
}

/* ネームプレートカード群 */
.nameplate-grid {
  display: grid;
  gap: 2rem;
  margin: 0 auto;
  justify-content: center;
}
.nameplate-grid + .nameplate-grid { margin-top: 2rem; }
.nameplate-grid--single { grid-template-columns: minmax(0, 33rem); }
.nameplate-grid--two { grid-template-columns: repeat(2, minmax(0, 33rem)); }
.nameplate-grid--three { grid-template-columns: repeat(3, minmax(0, 33rem)); }
.nameplate-grid--four { grid-template-columns: repeat(2, minmax(0, 33rem)); }
.nameplate-grid--wide { grid-template-columns: minmax(0, 44.8rem); }

.nameplate-card img {
  width: 100%;
  border-radius: 0.6rem;
}
.nameplate-card figcaption {
  margin-top: 0.8rem;
  font-size: 1.6rem;
  color: #fff;
}

/* レースメーター（正方形・横長で比率が異なるため高さを揃える） */
@media (min-width: 768px) {
  .nameplate-card--meter img {
    width: 100%;
    aspect-ratio: 656 / 410;
    object-fit: contain;
  }
}

/* CTAボタン＋マスコット（特設サイトリンク） */
.cta-row {
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.cta-row--campaign02 { flex-direction: row; }
.cta-row--campaign03 { flex-direction: row; }
.cta-row--campaign03 .cta-button { order: 1; }
.cta-row--campaign03 .cta-mascot { order: 2; }
.cta-mascot { flex-shrink: 0; }
.cta-mascot--01 { width: 33.8rem; }
.cta-mascot--02 { width: 38.4rem; }
.cta-button--site {
  width: 34rem;
  max-width: 60%;
  height: 5.8rem;
  font-size: 1.8rem;
}
.cta-button--disabled {
  pointer-events: none;
  cursor: default;
  background: #6b6b6b;
  border-color: #444;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   コラボ企画者からのメッセージ
   ========================================================================== */
.message { padding: 6rem 0; background: rgba(0, 0, 0, 0.58); }
.message__inner { text-align: center; }
.message__body {
  margin-top: 3rem;
  display: flex;
  gap: 3rem;
  text-align: left;
  align-items: flex-start;
}
.message__portrait {
  flex-shrink: 0;
  width: 15.7rem;
  text-align: center;
}
.message__portrait img { border-radius: 0.6rem; }
.message__text {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.5rem;
  line-height: 2.1;
}
.message__text p + p { margin-top: 1.5rem; }
.message__name { margin-top: 1.5rem; font-weight: 500; color: rgba(255, 255, 255, 0.72); }
.link-accent { color: rgba(245, 0, 0, 0.72); }

/* ==========================================================================
   画像モーダル
   ========================================================================== */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.image-modal[hidden] { display: none; }
.image-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.image-modal__content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 96rem);
  max-height: 90vh;
}
.image-modal__img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  margin: 0 auto;
}
.image-modal__close {
  position: absolute;
  top: -3.5rem;
  right: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

/* ==========================================================================
   太鼓の達人とは
   ========================================================================== */
.about {
  padding: 7rem 0 9rem;
  background:
    linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.58)),
    url("../img/lastbg.png") center / cover no-repeat;
}
.about__inner { text-align: center; }
.about .site-footer__inner {
  margin-top: 6rem;
  text-align: center;
}

/* 太鼓の達人ロゴ＋「とは」：mobile.svgでは同一位置にロゴを2重描画した結果テキストと重なるバグがあったため、
   flexboxの横並び配置に組み直して意図通りの見た目を再現している */
.about__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.about__title img { width: 30rem; max-width: 60%; }
.about__title span {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
}

.about__copy {
  margin-top: 3rem;
  font-size: 3.3rem;
  font-weight: 700;
  line-height: 1.9;
  color: #fff;
}
.num-xl { font-size: 6.6rem; color: #fcd104; }
.num-md { font-size: 3rem; color: #fcd104; }
.num-red { font-size: 5rem; color: #fcd104; }
.word-red { color: #cd0302; }

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer { text-align: center; background-color: rgba(0, 0, 0, 0.58); }
.official-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.official-link p {
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
  line-height: 1.6;
}
.official-link img { width: 35.1rem; max-width: 80vw; border-radius: 0.6rem; }

.copyright-en {
  margin-top: 5rem;
  text-align: center;
  font-size: 1.1rem;
  color: #fff;
}
.copyright-box {
  padding: 3rem 1.5rem;
  background: #ffef00;
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

/* ==========================================================================
   SP専用調整
   ========================================================================== */
@media (max-width: 767px) {
  .container {
    width: 40rem;
    max-width: calc(100% - 3rem);
  }

  .hero { padding-top: 3rem; }
  .hero__ticker { height: 31.8rem; }
  .hero__ticker-deco { width: 43.45rem; }
  .hero__logo { width: 38.5rem; }
  .hero__catch { width: 100%; max-width: 100%; margin-top: 3rem; }
  .hero__lead { font-size: 2rem; padding-bottom: 4rem; }

  .period-bar { flex-direction: column; gap: 0.4rem; padding: 1.2rem 0; margin-top: 1.5rem; }
  .period-bar__label,
  .period-bar__date { font-size: 1.6rem; }

  .nav-tabs { max-width: calc(100% - 3rem); margin-top: 5rem; }
  .nav-tabs a { font-size: 1.4rem; padding: 1rem 0.3rem; line-height: 1.3; }

  .campaign { padding: 5rem 0 6rem; }
  .section-num { font-size: 4rem; }
  .section-heading { font-size: 2.2rem; }
  .block-title { font-size: 1.8rem; margin-top: 3rem; }
  .lead-text { font-size: 1.5rem; }

  .flow-card-outer { padding: 0.5rem; }
  .flow-card { padding: 2rem 1rem; gap: 0.5rem; border-width: 0.2rem; }
  .flow-card .flow-step img { height: 4.5rem; }
  .flow-card .flow-step p { font-size: 1.1rem; }
  .flow-card .flow-arrow { font-size: 2rem; }

  .nameplate-grid--three,
  .nameplate-grid--four,
  .nameplate-grid--two,
  .nameplate-grid--wide { grid-template-columns: minmax(0, 33rem); }

  .nameplate-box { padding: 4rem 1.5rem 2.5rem; }
  .nameplate-card--meter-round img { width: 50%; margin-inline: auto; }
  .item-badge, .tier-badge { font-size: 1.6rem; padding: 0.5rem 1.6rem 0.5rem 0.6rem; }
  .item-badge img, .tier-badge img { width: 3rem; height: 3rem; }

  .cta-row { margin-top: 4rem; }
  .cta-row--campaign02,
  .cta-row--campaign03 {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .cta-row--campaign02 .cta-mascot,
  .cta-row--campaign03 .cta-mascot {
    align-self: flex-start;
    margin-bottom: 1rem;
  }
  .cta-row--campaign03 .cta-mascot { order: 1; }
  .cta-row--campaign03 .cta-button { order: 2; }
  .cta-button--site { max-width: 90%; }

  .section-heading--lined { font-size: 2rem; }

  .message__body { flex-direction: column; align-items: center; text-align: center; }
  .message__portrait { width: 15.7rem; }
  .message__text { text-align: left; width: 100%; margin-top: 1.5rem; }

  .about__title img { width: 22rem; }
  .about__title span { font-size: 2rem; }
  .about__copy { font-size: 2.6rem; }
  .num-xl { font-size: 5.2rem; }
  .num-md { font-size: 2.4rem; }
  .num-red { font-size: 4rem; }
}
