/* MonPita! Introduction Page Styles */
/* 全体背景：水色 → 白 グラデーション */
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #e0f7ff, #ffffff);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

/* ヒーロー全体（動画エリア） */
.hero {
  position: relative;    /* ← 言語ボタンの基準にする */
  overflow: hidden;
  min-height: 360px;
  color: #fff;
}

/* 背景動画 */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* 動画の上のオーバーレイ */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.25)
  );
  text-align: center;

  display: flex;
  justify-content: center;   
  align-items: flex-end;     
  padding: 0 20px 12px;      
}

/* ヒーロー右上の言語ボタン（固定配置） */
.hero-lang-switch {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
  pointer-events: auto;      /* ← ヒーロー下部のボタン干渉を防ぐ */
}

.hero-lang-switch button {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #ccc;
  background: #ffffffcc;
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.hero-lang-switch button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* ヒーロー内レイアウト */
.hero-inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* CTA ボタンコンテナ */
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ボタン共通 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

/* メインボタン */
.btn.primary {
  background: #ff8a3d;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* セカンダリボタン */
.btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ホバー演出 */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
}

/* スマホ向け微調整 */
@media (max-width: 600px) {
  .hero-inner h1 {
    font-size: 1.6rem;
  }

  .hero-inner p {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }
}

/* メインコンテンツセクション（カード＋フェードイン） */
section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);

  /* フェードイン用 初期状態 */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* JS から fade-in クラスが付与されたら表示状態に */
section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

section h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #444;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* フッター */
footer {
  text-align: center;
  padding: 30px;
  font-size: 1rem;
  background: #f0f0f0;
  margin-top: 40px;
}

footer p {
  margin: 0;
}

/* ============================
   About セクション専用装飾
   ============================ */

/* セクション全体を少しだけ目立たせる */
.about-section {
  position: relative;
  border: 2px solid rgba(0, 188, 212, 0.15); /* 水色系の枠 */
}

/* 左上に小さなラベル風バッジ */
.about-section::before {
  content: "ABOUT";
  position: absolute;
  top: -14px;
  left: 20px;
  padding: 4px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  border-radius: 999px;
  background: linear-gradient(135deg, #00bcd4, #4dd0e1);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 188, 212, 0.25);
}

/* 内側の余白やレイアウトを少しだけ整える */
.about-inner {
  position: relative;
}

/* 見出しを少し強めに */
.about-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #006d84;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 見出しの左にアクセントライン */
.about-section h2::before {
  content: "";
  width: 6px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00bcd4, #ff8a3d);
}

/* ハイライト枠（説明文） */
.about-highlight {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), #e0f7ff);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 188, 212, 0.25);
  margin-bottom: 18px;
}

.about-highlight p {
  margin: 0;
  font-size: 0.98rem;
}

.about-highlight strong {
  color: #ff8a3d;
}

/* 箇条書き（アイコン付きポイント） */
.about-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.98rem;
}

/* 絵文字アイコンを丸いバッジ風に */
.about-points li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  font-size: 1.1rem;
}

/* スマホ向け微調整 */
@media (max-width: 600px) {
  .about-section h2 {
    font-size: 1.4rem;
  }

  .about-highlight {
    padding: 14px 14px;
  }

  .about-points li {
    align-items: flex-start;
  }
}

/* ============================
   How to Play セクション専用装飾
   ============================ */

   .howto-section {
    position: relative;
    border: 2px solid rgba(255, 138, 61, 0.18); /* オレンジ寄りの枠 */
  }
  
  /* 見出し＋リードテキスト */
  .howto-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #d6671b;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .howto-inner h2::before {
    content: "";
    width: 6px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff8a3d, #00bcd4);
  }
  
  .howto-lead {
    margin: 0 0 18px 0;
    font-size: 0.98rem;
    color: #555;
  }
  
  /* STEP カード全体レイアウト */
  .howto-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  
  /* 各 STEP カード */
  .howto-step {
    background: linear-gradient(135deg, #ffffff, #fff7ef);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 138, 61, 0.25);
    position: relative;
    overflow: hidden;
  }
  
  /* STEP バッジ */
  .howto-step-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, #ff8a3d, #ffb74d);
    color: #fff;
    margin-bottom: 8px;
  }
  
  /* STEP タイトル */
  .howto-step h3 {
    font-size: 1.05rem;
    margin: 4px 0 8px 0;
    color: #c45b1a;
  }
  
  /* STEP 本文 */
  .howto-step p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
  }
  
  /* 強調ワード */
  .howto-step strong {
    color: #ff7043;
  }
  
  /* 「風雅伝承」「永劫回帰」が含まれる行を少しだけ強調したい場合（任意） */
  .howto-step p strong:nth-of-type(2) {
    /* 必要なら2個目以降の strong に別スタイルもOK */
  }
  
  /* シンプルなホバー演出（PC向け） */
  @media (hover: hover) {
    .howto-step:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
      transition: transform 0.16s ease, box-shadow 0.16s ease;
    }
  }
  
  /* スマホ・タブレット向けレイアウト調整 */
  @media (max-width: 900px) {
    .howto-steps {
      grid-template-columns: 1fr;
    }
  
    .howto-step {
      padding: 14px 14px;
    }
  }
  
  @media (max-width: 600px) {
    .howto-inner h2 {
      font-size: 1.4rem;
    }
  
    .howto-lead {
      font-size: 0.9rem;
    }
  
    .howto-step h3 {
      font-size: 1rem;
    }
  
    .howto-step p {
      font-size: 0.88rem;
    }
  }

  /* ============================
   Video セクション専用装飾
   ============================ */

.video-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 188, 212, 0.18);
}

.video-inner h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #005c7a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-inner h2::before {
  content: "";
  width: 6px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00bcd4, #4dd0e1);
}

.video-lead {
  margin: 0 0 16px 0;
  font-size: 0.96rem;
  color: #555;
}

/* YouTube 埋め込み用のレスポンシブフレーム */
.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 アスペクト比 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* スマホ向け */
@media (max-width: 600px) {
  .video-inner h2 {
    font-size: 1.4rem;
  }

  .video-lead {
    font-size: 0.9rem;
  }
}

/* ============================
   Kiwami（極）セクション専用装飾
   ============================ */

   .kiwami-section {
    position: relative;
    border: 2px solid rgba(123, 97, 255, 0.18); /* 紫寄りで“覚醒感”を演出 */
  }
  
  /* 見出し */
  .kiwami-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 14px;
    color: #5a3ad1;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .kiwami-inner h2::before {
    content: "";
    width: 6px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, #7e57c2, #00bcd4);
  }
  
  /* 「極」の説明ハイライト枠 */
  .kiwami-highlight {
    background: radial-gradient(circle at top left, #f3e5f5, #ffffff);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(126, 87, 194, 0.25);
    margin-bottom: 20px;
  }
  
  .kiwami-highlight p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.7;
  }
  
  .kiwami-highlight strong {
    color: #7e57c2;
  }
  
  /* カード群（3カラム） */
  .kiwami-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  
  /* 各カード */
  .kiwami-card {
    background: linear-gradient(135deg, #ffffff, #f5f2ff);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(126, 87, 194, 0.25);
    position: relative;
    overflow: hidden;
  }
  
  /* 左上のアイコンバッジ */
  .k-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7e57c2, #9575cd);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(126, 87, 194, 0.4);
    margin-bottom: 6px;
  }
  
  /* カード内タイトル */
  .kiwami-card h3 {
    font-size: 1.02rem;
    margin: 6px 0 8px 0;
    color: #5a3ad1;
  }
  
  /* カード本文 */
  .kiwami-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
  }
  
  .kiwami-card strong {
    color: #ff7043;
  }
  
  /* PC ホバー演出 */
  @media (hover: hover) {
    .kiwami-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
      transition: transform 0.16s ease, box-shadow 0.16s ease;
    }
  }
  
  /* レスポンシブ調整 */
  @media (max-width: 900px) {
    .kiwami-points {
      grid-template-columns: 1fr;
    }
  
    .kiwami-card {
      padding: 14px 14px;
    }
  }
  
  @media (max-width: 600px) {
    .kiwami-inner h2 {
      font-size: 1.4rem;
    }
  
    .kiwami-highlight p {
      font-size: 0.9rem;
    }
  
    .kiwami-card h3 {
      font-size: 0.98rem;
    }
  
    .kiwami-card p {
      font-size: 0.88rem;
    }
  }

  /* ============================
   Game Modes（ゲームモード）専用装飾
   ============================ */

.modes-section {
  position: relative;
  border: 2px solid rgba(0, 188, 212, 0.18); /* 水色系の柔らかい枠 */
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.modes-inner h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: #0087a3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modes-inner h2::before {
  content: "";
  width: 6px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #00bcd4, #4dd0e1);
}

/* カードレイアウト（3カラム） */
.modes-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* 共通カードデザイン */
.mode-card {
  background: linear-gradient(135deg, #ffffff, #f0fbff);
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 188, 212, 0.25);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* アイコンバッジ */
.mode-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00bcd4, #4dd0e1);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
  margin-bottom: 10px;
}

/* 各モードタイトル */
.mode-card h3 {
  font-size: 1.08rem;
  margin: 6px 0 8px 0;
  color: #006d84;
}

/* small 表記（風雅伝承 / 永劫回帰）を少し可愛く強調 */
.mode-card small {
  font-size: 0.8rem;
  opacity: 0.8;
  color: #7b8fa3;
}

/* 説明文 */
.mode-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
}

/* PC ホバー演出 */
@media (hover: hover) {
  .mode-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  }
}

/* レスポンシブ調整 */
@media (max-width: 900px) {
  .modes-cards {
    grid-template-columns: 1fr;
  }

  .mode-card {
    padding: 16px 16px;
  }
}

@media (max-width: 600px) {
  .modes-inner h2 {
    font-size: 1.4rem;
  }

  .mode-card h3 {
    font-size: 1rem;
  }

  .mode-card p {
    font-size: 0.88rem;
  }
}

/* ============================
   Key Features（主な特徴）専用装飾
   ============================ */

   .features-section {
    position: relative;
    border: 2px solid rgba(255, 138, 61, 0.18);
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  }
  
  .features-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #d6671b;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .features-inner h2::before {
    content: "";
    width: 6px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff8a3d, #ffb74d);
  }
  
  /* カードレイアウト（3カラム） */
  .features-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  
  /* 各特徴カード */
  .feature-card {
    background: linear-gradient(135deg, #ffffff, #fff7ef);
    border-radius: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 138, 61, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a3d, #ffb74d);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(255, 138, 61, 0.4);
    margin-bottom: 8px;
  }
  
  .feature-card h3 {
    font-size: 1.05rem;
    margin: 6px 0 8px 0;
    color: #c45b1a;
  }
  
  .feature-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .features-message {
    margin-top: 3rem;
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.6;
    font-weight: 600;
  }
  

  /* ホバー演出（PC） */
  @media (hover: hover) {
    .feature-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    }
  }
  
  /* レスポンシブ（タブレット・スマホ） */
  @media (max-width: 900px) {
    .features-cards {
      grid-template-columns: 1fr;
    }
  
    .feature-card {
      padding: 14px 14px;
    }
  }
  
  @media (max-width: 600px) {
    .features-inner h2 {
      font-size: 1.4rem;
    }
  
    .feature-card h3 {
      font-size: 1rem;
    }
  
    .feature-card p {
      font-size: 0.88rem;
    }
  }

/* ============================
   Release Event（リリース記念イベント）専用装飾
   ============================ */

   .event-section {
    position: relative;
    border: 2px solid rgba(156, 39, 176, 0.2); /* 紫系で特別感 */
    padding: 20px;
    border-radius: 12px;
    background: radial-gradient(circle at top left, #f3e5f5, #ffffff);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-top: 40px;
  
    /* 横はみ出し保険（スマホ横スクロール対策） */
    overflow-x: clip;
  }
  @supports not (overflow: clip) {
    .event-section { overflow-x: hidden; }
  }
  
  .event-inner h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #6a1b9a;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .event-inner h2::before {
    content: "EVENT";
    padding: 4px 10px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    border-radius: 999px;
    background: linear-gradient(135deg, #ab47bc, #7e57c2);
    color: #fff;
    box-shadow: 0 4px 10px rgba(123, 31, 162, 0.35);
  }
  
  /* リード文 */
  .event-lead {
    margin: 0 0 18px 0;
    font-size: 0.96rem;
    color: #4a3b6b;
  }
  
  /* ===== イベントガチャ概要 ===== */
  
  .event-gacha {
    background: linear-gradient(135deg, #ffffff, #fce4ec);
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(233, 30, 99, 0.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
  
    /* hover演出のためのtransitionは通常状態に */
    transition: transform 0.16s ease, box-shadow 0.16s ease;
  }
  
  .event-gacha h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: #c2185b;
  }
  
  .event-gacha ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.9rem;
  }
  
  .event-gacha li {
    margin-bottom: 6px;
  }
  
  /* ===== イベントキャラ一覧 ===== */
  
  .event-chars {
    margin-bottom: 20px;
  }
  
  .event-chars h3 {
    font-size: 1.1rem;
    margin: 0 0 6px 0;
    color: #6a1b9a;
  }
  
  .event-note {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: #5f4b8b;
  }
  
  /* キャラカードのグリッド */
  .event-char-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  
    width: 100%;
    min-width: 0; /* 重要：子要素が押し広げない */
  }
  
  /* 共通のカードベース */
  .event-char-card {
    background: linear-gradient(135deg, #ffffff, #f9f5ff);
    border-radius: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(156, 39, 176, 0.25);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
  
    width: 100%;
    min-width: 0; /* 重要 */
    box-sizing: border-box;
  
    /* hover演出のためのtransitionは通常状態に */
    transition: transform 0.16s ease, box-shadow 0.16s ease;
  }
  
  /* ★本命：画像がカード幅を押し広げて横スクロールになるのを防ぐ */
  .event-char-image {
    width: 100%;
    margin: 0 0 10px;
    overflow: hidden; /* 画像が変な指定を受けてもはみ出し防止 */
    border-radius: 10px; /* 画像角丸を揃える（任意だが見栄え良い） */
  }
  
  .event-char-image img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  
  /* テキストが長い/英数字が続くケースの保険 */
  .event-char-card,
  .event-char-card * {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  
  .event-char-card h4 {
    font-size: 1rem;
    margin: 0 0 6px 0;
    color: #4527a0;
  }
  
  .event-char-item {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    color: #5f4b8b;
  }
  
  .event-char-effect {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.7;
  }
  
  .event-char-effect strong,
  .event-char-item strong {
    color: #e91e63;
  }
  
  /* ============================
     属性ごとのカラーバリエーション
     ============================ */
  
  /* 火：カグツチ（暖色・炎っぽい） */
  .event-char-card--fire {
    background: linear-gradient(135deg, #fff3e0, #ffebee);
    border-color: rgba(255, 112, 67, 0.5);
    box-shadow: 0 6px 16px rgba(255, 112, 67, 0.25);
  }
  
  /* 水：セイレーン（青〜水色） */
  .event-char-card--water {
    background: linear-gradient(135deg, #e3f2fd, #e0f7fa);
    border-color: rgba(33, 150, 243, 0.5);
    box-shadow: 0 6px 16px rgba(33, 150, 243, 0.25);
  }
  
  /* 木／風：シルフィ（緑〜黄緑） */
  .event-char-card--wind {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.25);
  }
  
  /* 光：ルシエル（白〜金） */
  .event-char-card--light {
    background: linear-gradient(135deg, #fffde7, #fff8e1);
    border-color: rgba(255, 235, 59, 0.6);
    box-shadow: 0 6px 16px rgba(255, 235, 59, 0.28);
  }
  
  /* 闇：アバドン（紫〜ダーク） */
  .event-char-card--dark {
    background: radial-gradient(circle at top left, #4527a0, #1a0735);
    border-color: rgba(103, 58, 183, 0.8);
    box-shadow: 0 8px 20px rgba(49, 27, 146, 0.6);
    color: #f3e5f5;
  }
  
  .event-char-card--dark h4 { color: #ffeb3b; }
  
  .event-char-card--dark .event-char-item,
  .event-char-card--dark .event-char-effect { color: #ede7f6; }
  
  .event-char-card--dark .event-char-effect strong,
  .event-char-card--dark .event-char-item strong { color: #ffeb3b; }
  
  /* ===== イベントアイテム「魅惑の星」 ===== */
  
  .event-item {
    background: linear-gradient(135deg, #ffffff, #fff3e0);
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 152, 0, 0.25);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
  
    transition: transform 0.16s ease, box-shadow 0.16s ease;
  }
  
  .event-item h3 {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: #ef6c00;
  }
  
  .event-item p {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
  }
  
  .event-item ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.9rem;
  }
  
  .event-item li {
    margin-bottom: 4px;
  }
  
  /* ホバー演出（PC） */
  @media (hover: hover) {
    .event-char-card:hover,
    .event-gacha:hover,
    .event-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    }
  }
  
  /* ============================
     レスポンシブ調整
     ============================ */
  
  @media (max-width: 900px) {
    .event-char-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 600px) {
    .event-section {
      padding: 16px; /* 20px → 16px */
    }
  
    .event-inner h2 {
      font-size: 1.4rem;
    }
  
    .event-lead {
      font-size: 0.9rem;
    }
  
    .event-char-grid {
      gap: 12px; /* 14px → 12px */
    }
  
    .event-char-card {
      padding: 10px 12px; /* 少し小さく */
    }
  
    .event-char-card h4 {
      font-size: 0.96rem;
    }
  
    .event-char-effect,
    .event-char-item,
    .event-gacha ul,
    .event-item p,
    .event-item ul {
      font-size: 0.86rem;
    }
  
    .event-char-image {
      margin-bottom: 8px;
    }
  }  


/* ============================
   Download Section（冒険を始めよう）
   ============================ */

   .download-section {
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    border-radius: 14px;
    padding: 40px 24px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(33, 150, 243, 0.2);
  }
  
  .download-section h2 {
    font-size: 1.8rem;
    color: #0d47a1;
    margin-bottom: 12px;
  }
  
  .download-section p {
    font-size: 1rem;
    color: #1a237e;
    margin-bottom: 16px;
    line-height: 1.8;
  }
  
  .store-note {
    font-size: 0.95rem;
    color: #0d47a1;
    margin-bottom: 20px;
  }
  
  /* ===== ストアバッジコンテナ（iOS / Android 両対応） ===== */
  .store-badges {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  /* ストアバッジリンク */
  .store-btn-badge {
    display: inline-flex;
    align-items: center;
  }
  
  /* SVG / 画像共通 */
  .store-badge-img {
    display: block;
    height: 56px;           /* 公式推奨に近い安全サイズ */
    width: auto;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.22);
    border-radius: 8px;     /* SVGでも自然。不要なら削除OK */
    background: #fff;       /* SVGの透明対策（薄背景でも安定） */
  }
  
  /* ホバー演出（PCのみ） */
  @media (hover: hover) {
    .store-badge-img:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(30, 136, 229, 0.38);
    }
  }
  
  /* ===== モバイル最適化 ===== */
  @media (max-width: 600px) {
    .download-section {
      padding: 28px 18px;
    }
  
    .store-badges {
      gap: 12px;
    }
  
    .store-badge-img {
      height: 52px;
    }
  }
  

/* ============================
   Follow on X（Xフォロー誘導）
   ============================ */

   .followx-section {
    margin-top: 40px;
    padding: 36px 24px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e3f2fd, #ffffff);
    border: 1px solid rgba(33, 150, 243, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
  }
  
  .followx-inner {
    max-width: 720px;
    margin: 0 auto;
  }
  
  .followx-inner h2 {
    font-size: 1.7rem;
    color: #0d47a1;
    margin-bottom: 12px;
  }
  
  /* リード文 */
  .followx-lead {
    font-size: 1rem;
    color: #1a237e;
    line-height: 1.8;
    margin: 0 0 12px;
  }
  
  /* 補足文 */
  .followx-note {
    font-size: 0.95rem;
    color: #3949ab;
    margin: 0 0 22px;
  }
  
  /* アクション */
  .followx-actions {
    display: flex;
    justify-content: center;
  }
  
  /* フォローボタン */
  .followx-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #1da1f2, #0d8ddb); /* Xカラーを控えめに */
    box-shadow: 0 6px 16px rgba(29, 161, 242, 0.35);
    transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s ease;
  }
  
  /* ホバー演出（PC） */
  @media (hover: hover) {
    .followx-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(29, 161, 242, 0.5);
      opacity: 0.96;
    }
  }
  
  /* ============================
     レスポンシブ調整
     ============================ */
  
  @media (max-width: 600px) {
    .followx-section {
      padding: 28px 18px;
    }
  
    .followx-inner h2 {
      font-size: 1.45rem;
    }
  
    .followx-lead {
      font-size: 0.95rem;
    }
  
    .followx-note {
      font-size: 0.9rem;
    }
  
    .followx-btn {
      width: 100%;
      max-width: 320px;
      padding: 14px 0;
    }
  }

  

/* ============================
   Exit Intent Modal（離脱防止モーダル）
   ============================ */

   .exit-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none; /* JSで表示切り替え */
    align-items: center;
    justify-content: center;
  }
  
  .exit-modal.is-visible {
    display: flex;
  }
  
  .exit-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
  }
  
  /* モーダル本体 */
  .exit-modal-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
    width: 90%;
    background: linear-gradient(135deg, #e8f4ff, #ffffff);
    border-radius: 16px;
    padding: 24px 20px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    text-align: center;
    border: 1px solid rgba(33, 150, 243, 0.3);
  }
  
  /* 閉じるボタン */
  .exit-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    color: #555;
    font-size: 1.4rem;
    cursor: pointer;
  }
  
  /* 見出し・テキスト */
  .exit-modal-content h2 {
    font-size: 1.3rem;
    color: #0d47a1;
    margin: 8px 0 12px;
  }
  
  .exit-modal-text {
    font-size: 0.95rem;
    color: #1a237e;
    line-height: 1.7;
    margin: 0 0 10px;
  }
  
  .exit-modal-note {
    font-size: 0.9rem;
    color: #0d47a1;
    margin: 0 0 14px;
  }
  
  /* ===== モーダル内ストアバッジ（iOS / Android） ===== */
  .exit-modal-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0 16px;
  }
  
  /* LP側の .store-btn-badge / .store-badge-img を流用しつつ、
     モーダルでは少し控えめに調整 */
  .exit-modal-badges .store-btn-badge {
    display: inline-flex;
    align-items: center;
  }
  
  .exit-modal-badges .store-badge-img {
    height: 52px;
    width: auto;
    display: block;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.22);
    border-radius: 8px;
    background: #fff; /* SVG透明対策 */
  }
  
  @media (hover: hover) {
    .exit-modal-badges .store-badge-img:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(30, 136, 229, 0.38);
      opacity: 0.98;
    }
  }
  
  /* ===== ボタン群（モーダル下の補助導線） ===== */
  .exit-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  /* モーダル用ボタン（secondaryのみ使用想定） */
  .exit-modal-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
  }
  
  /* セカンダリ：ページ内CTAへ */
  .exit-modal-btn.secondary {
    background: #ffffff;
    color: #1e88e5;
    border: 1px solid rgba(30, 136, 229, 0.4);
  }
  
  @media (hover: hover) {
    .exit-modal-btn.secondary:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 22px rgba(30, 136, 229, 0.25);
      opacity: 0.96;
    }
  }
  
  /* スマホ向け */
  @media (max-width: 600px) {
    .exit-modal-content {
      padding: 20px 16px 18px;
    }
  
    .exit-modal-content h2 {
      font-size: 1.15rem;
    }
  
    .exit-modal-text,
    .exit-modal-note {
      font-size: 0.88rem;
    }
  
    .exit-modal-badges {
      gap: 10px;
      margin: 10px 0 14px;
    }
  
    .exit-modal-badges .store-badge-img {
      height: 48px;
    }
  }
  
  
  /* ============================
   Shop Section（公式グッズショップ）
   ============================ */

.shop-section {
  position: relative;
  border: 2px solid rgba(255, 193, 7, 0.25);
  padding: 24px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8e1, #ffffff);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  margin-top: 40px;
}

.shop-inner h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #ff8f00;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-inner h2::before {
  content: "SHOP";
  padding: 4px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb300, #ff8f00);
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 143, 0, 0.4);
}

/* リード文 */
.shop-lead {
  margin: 4px 0 12px 0;
  font-size: 1rem;
  font-weight: bold;
  color: #ff6f00;
}

/* 本文テキスト */
.shop-section p {
  font-size: 0.95rem;
  color: #5d4037;
  line-height: 1.8;
}

/* ラインナップ枠 */
.shop-items {
  margin: 14px 0 14px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #ffffff, #fff3e0);
  border-radius: 12px;
  border: 1px solid rgba(255, 183, 77, 0.5);
}

.shop-items h3 {
  font-size: 1.02rem;
  margin: 0 0 6px 0;
  color: #fb8c00;
}

.shop-items ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.9rem;
}

.shop-items li {
  margin-bottom: 4px;
}

/* 締めの一文を少しだけセンター寄せ＆強調 */
.shop-closing {
  margin-top: 8px;
  text-align: center;
  font-weight: 500;
}

/* ショップCTAボタン */
.shop-cta {
  margin-top: 18px;
  text-align: center;
}

.shop-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb300, #ff8f00);
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(255, 143, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

@media (hover: hover) {
  .shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 143, 0, 0.55);
    opacity: 0.96;
  }
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
  .shop-section {
    padding: 20px 16px;
  }

  .shop-inner h2 {
    font-size: 1.4rem;
  }

  .shop-section p,
  .shop-items ul {
    font-size: 0.9rem;
  }

  .shop-btn {
    width: 100%;
    max-width: 280px;
  }
}

