/* =============================== */
/* Reset & 基本設定                */
/* =============================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #fff; /* テキスト白ベース */

  /* 流星背景 */
  background: url("../../../../images/project/okcj/final-p/bg.jpeg") no-repeat
    center center fixed;
  background-size: cover;
  background-attachment: fixed;
}

.past-message-list {
  max-height: 300px; /* 好きな高さに調整 */
  overflow-y: auto; /* 縦スクロールを有効化 */
  padding: 0;
  margin: 0;
  list-style: none; /* 必要に応じてリストマーカー非表示 */
}
/* =============================== */
/* レイアウト構造（深紅×金・重厚版） */
/* =============================== */
.contents-flex {
  margin: 2rem auto;
  width: 90%;
  max-width: 1300px;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* メイン・サイド構成 */
.main-column {
  width: 65%;
  min-width: 320px;
}

.side-column {
  width: 30%;
  min-width: 280px;
}

/* ========================================= */
/* 各カード共通スタイル（赤×金 重厚仕様）   */
/* ========================================= */
.main-column article,
.side-column article {
  position: relative;
  margin: 0 0 2rem;
  padding: 2rem;
  color: #fff;

  /* 背景：深紅の立体グラデーション */
  background: radial-gradient(
    circle at top left,
    #5a0000 0%,
    #2a0000 40%,
    #150000 100%
  );
  border-radius: 14px;

  /* 枠線：金属光沢風（やや太め） */
  border: 3px solid;
  border-image: linear-gradient(
      135deg,
      #ffd84a 0%,
      #b88a00 35%,
      #ffeb9a 65%,
      #c09700 100%
    )
    1;

  /* 立体感と光の反射 */
  box-shadow: 0 0 25px rgba(255, 200, 80, 0.25),
    inset 0 0 12px rgba(255, 150, 50, 0.25),
    inset 0 0 30px rgba(255, 180, 70, 0.15), 0 0 12px rgba(180, 0, 0, 0.4);
}

/* テキストやリンク */
.main-column article a,
.side-column article a {
  color: #ffeb9a;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.main-column article a:hover,
.side-column article a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 220, 120, 0.8);
}

/* ========================================= */
/* 補助スタイル（強調・段差効果）           */
/* ========================================= */

/* スマホ調整 */
@media (max-width: 768px) {
  .main-column,
  .side-column {
    width: 100%;
  }

  .main-column article,
  .side-column article {
    padding: 1.2rem;
    border-width: 2px;
  }

  .main-column article h2,
  .side-column article h2 {
    font-size: 1.5rem;
  }
}
/* =============================== */
/* 見出し                          */
/* =============================== */
h1,
h2,
.section-title {
  font-family: "Zen Antique Soft", serif;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #ffd700; /* ゴールド強調 */
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

h2,
.section-title {
  font-size: 24px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.5);
  padding-bottom: 0.5rem;
}

@media screen and (max-width: 768px) {
  h2,
  .section-title {
    font-size: 20px; /* 少し小さめで読みやすく */
    border-bottom: 1px solid rgba(255, 215, 0, 0.6); /* 線を細くして軽く */
    padding-bottom: 0.4rem; /* 余白も少し縮める */
    text-align: center; /* スマホは中央寄せ推奨 */
    line-height: 1.4;
  }
}
/* =============================== */
/* ファーストビュー                 */
/* =============================== */
.header.center {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  background: transparent;
  border-bottom: none;
  margin-top: 20px;
  margin-bottom: -40px;
}

.base-img {
  width: auto;
  max-width: 15%;
  max-height: 400px;
  margin: 2rem auto;
  display: block;
  margin-top: 20px;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
}

@media screen and (max-width: 768px) {
  .base-img {
    width: 100%; /* スマホは全幅 */
    max-width: 100%; /* 横幅いっぱい */
    max-height: none; /* 高さ制限を解除 */
    margin-top: 50px;
    margin-bottom: -5px;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5)); /* 軽めの影 */
  }
}

/* =============================== */
/* 過去メッセージ一覧               */
/* =============================== */
.past-message-box {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  color: #fff;
}

.past-message-box:hover {
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.7);
  transform: translateY(-2px);
}

.past-message-date {
  display: block;
  font-size: 15px;
  color: #ccc;
  margin-bottom: 6px;
}

/* =============================== */
/* ナビゲーション                   */
/* =============================== */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(255, 215, 0, 0.4);
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.nav-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
  transition: 0.3s;
}

@media screen and (max-width: 768px) {
  .nav-menu li a {
    display: block; /* タップ範囲を広げる */
    padding: 12px 20px; /* 余白を広げて指で押しやすく */
    font-size: 10px; /* 文字を少し大きく */
    text-align: center; /* 中央寄せ */
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    margin: 6px 0; /* 項目同士に間隔を追加 */
  }
}

.nav-menu li a:hover {
  color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
  transform: scale(1.05);
}

/* NEWバッジ */
.badge.new {
  background: #ffd700;
  color: #000;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
}

/* =============================== */
/* フッター                        */
/* =============================== */
footer {
  border-top: 1px solid rgba(255, 215, 0, 0.3);
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem 0.75rem 1rem;
  margin-top: 3rem;
  color: #fff;
}

footer a {
  color: #ffd700;
}

.copy {
  text-align: center;
  color: #ccc;
  font-size: 0.8rem;
}

/* =============================== */
/* 10億THE FINAL スケジュール（ロゴ枠なしVer） */
/* =============================== */
.final-schedule-section {
  width: 100%;
}

.final-schedule-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* 左ロゴ：枠なしで影のみ */
.final-logo {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.final-logo img {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.9));
}

/* 右スケジュール枠 */
.final-schedule-box {
  flex: 1;
  background: linear-gradient(
    180deg,
    rgba(25, 25, 25, 0.95),
    rgba(0, 0, 0, 0.9)
  );
  border: 2px solid rgba(255, 215, 0, 0.6);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
  min-width: 250px;
}

.final-schedule-note {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}

.final-schedule-note .highlight {
  color: #ff2a2a;
  font-weight: bold;
  font-size: 1.4rem;
}

/* スケジュール一覧 */
.final-schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.final-schedule-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.8rem;
  font-weight: bold;
  transition: 0.25s;
}

.final-schedule-list li:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

/* 日付とテキストカラー */
.date.blue {
  background: #0b40ff;
  color: #fff;
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  font-weight: bold;
}

.date.red {
  background: #ff0000;
  color: #fff;
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  font-weight: bold;
}

.desc.green {
  color: #00ffa2;
  font-weight: bold;
  font-size: 22px;
}
.desc.yellow {
  color: #ffe600;
  font-weight: bold;
  font-size: 22px;
}
.desc.red-strong {
  color: #ff4444;
  font-weight: bold;
  font-size: 25px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .final-schedule-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .final-logo img {
    width: 220px;
  }

  .final-schedule-box {
    width: 90%;
    padding: 1.5rem;
  }

  .final-schedule-title,
  .final-schedule-note {
    text-align: center;
  }
}

/* =============================== */
/* FINALスケジュール（赤×金・重厚） */
/* =============================== */

.final-schedule-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

/* ロゴ */
.final-logo img {
  width: 260px;
  filter: drop-shadow(0 0 12px rgba(255, 210, 80, 0.8));
  transition: transform 0.3s ease;
  margin-left: -70px;
}

/* 右側ボックス */
.final-schedule-box {
  max-width: 540px;
  background: radial-gradient(
    circle at top left,
    #5a0000 0%,
    #2a0000 40%,
    #150000 100%
  );

  border-radius: 14px;
  padding: 2rem;
  border: 2px solid rgba(255, 200, 100, 0.8);
  box-shadow: inset 0 0 15px rgba(255, 190, 70, 0.25),
    0 0 18px rgba(255, 200, 100, 0.15);
  position: relative;
}

/* 見出しタイトル（視認性改善版） */
.final-schedule-title h2 {
  font-family: "Zen Antique Soft", serif;
  font-size: 25px;
  text-align: center;
  margin-bottom: 0.5rem;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* 光沢＋影の彫刻効果を強化 */
  text-shadow: 0 0 6px rgba(255, 210, 80, 0.9),
    /* 金光の外側輝き */ 0 0 18px rgba(255, 180, 0, 0.4),
    /* 柔らかい光輪 */ 1px 2px 2px rgba(40, 0, 0, 0.9),
    /* 下地の濃い影 */ 0 1px 0 rgba(90, 0, 0, 0.8); /* 輪郭を締める影 */
}
/* サブテキスト */
.final-schedule-note {
  font-size: 20px;
  text-align: center;
  color: #ffdc80;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 6px rgba(255, 200, 80, 0.5);
}

.final-schedule-note .highlight {
  color: #fff6b5;
  font-weight: bold;
  font-size: 22px;
}

/* スケジュールリスト */
.final-schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.final-schedule-list li {
  background: linear-gradient(180deg, rgba(90, 0, 0, 0.7), rgba(30, 0, 0, 0.9));
  border: 1px solid rgba(255, 210, 100, 0.7);
  border-radius: 10px;
  margin-bottom: 0.9rem;
  padding: 0.9rem 1.2rem;
  box-shadow: inset 0 0 8px rgba(255, 190, 70, 0.2);
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.final-schedule-list li:hover {
  background: linear-gradient(
    180deg,
    rgba(140, 0, 0, 0.7),
    rgba(50, 0, 0, 0.9)
  );
  transform: translateX(4px);
  box-shadow: 0 0 10px rgba(255, 200, 80, 0.3);
}

/* 日付部分 */
.final-schedule-list .date {
  font-weight: bold;
  color: #ffd86a;
  background: rgba(255, 200, 60, 0.1);
  border: 1px solid rgba(255, 200, 80, 0.3);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  min-width: 80px;
  text-align: center;
  box-shadow: inset 0 0 5px rgba(255, 180, 50, 0.3);
}

/* 内容テキスト */
.final-schedule-list .desc {
  flex: 1;
  font-weight: 500;
  color: #fff;
}

/* 状態別色 */
.final-schedule-list .desc.green {
  color: #d4ffb0;
  font-weight: 800;
  text-shadow: 0 0 6px rgba(0, 255, 0, 0.993);
}

.final-schedule-list .desc.yellow {
  color: #ffe97f;
  font-weight: 800;
  text-shadow: 0 0 6px rgba(255, 240, 150, 0.4);
}

.final-schedule-list .desc.red-strong {
  color: #ff6b6b;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(255, 120, 120, 0.6);
}

/* =================================== */
/* スマホ対応                          */
/* =================================== */
@media (max-width: 768px) {
  .final-schedule-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .final-schedule-box {
    width: 100%;
    padding: 1.5rem;
    margin-top: -50px;
  }

  .final-schedule-title {
    font-size: 20px;
  }
}

/* =============================== */
/* スマホ用：FINALロゴ中央寄せ     */
/* =============================== */
@media (max-width: 768px) {
  .final-logo {
    width: 100%;
    text-align: center; /* 画像を中央配置 */
    margin: 0 auto;
  }

  .final-logo img {
    width: 200px; /* 少し小さめに */
    margin: 0 auto; /* 左右マージンリセット */
    filter: drop-shadow(0 0 10px rgba(255, 210, 80, 0.8));
    transform: none; /* PC時のズレ防止 */
  }
}

/* =============================== */
/* スマホ専用改行                  */
/* =============================== */
.brsp {
  display: none; /* PCでは非表示 */
}

@media (max-width: 768px) {
  .brsp {
    display: inline; /* スマホで改行有効化 */
  }
}
/* =============================== */
/* PC専用改行 brpc                 */
/* =============================== */
.brpc {
  display: block; /* PCで改行 */
}

@media (max-width: 768px) {
  .brpc {
    display: none; /* スマホでは改行しない */
  }
}
@media (max-width: 768px) {
  .place1_link_com_bg {
    height: 35vh; /* 全画面の約1/3くらいの高さでバランス良し */
  }
}
/* =============================== */
/* 固定ナビ（深紅×金・横並び仕様） */
/* =============================== */
.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: linear-gradient(
    180deg,
    rgba(70, 0, 0, 0.95) 0%,
    rgba(20, 0, 0, 0.9) 100%
  );
  border-bottom: 2px solid rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 18px rgba(255, 200, 80, 0.3),
    inset 0 -2px 10px rgba(255, 180, 50, 0.2);
  backdrop-filter: blur(6px);
}

/* コンテナ配置 */
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 横並びナビ */
.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

/* 各リンクボタン */
.nav-menu li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;

  font-family: "Zen Antique Soft", serif;
  font-size: 15px;
  font-weight: bold;
  color: #fff5cc;

  background: radial-gradient(circle at top, #700000 0%, #300000 90%);
  border: 1px solid rgba(255, 215, 0, 0.6);
  border-radius: 8px;

  text-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
  box-shadow: inset 0 0 8px rgba(255, 200, 80, 0.25),
    0 0 10px rgba(255, 200, 100, 0.15);
  transition: all 0.3s ease;
}

/* ホバー時：金の輝き */
.nav-menu li a:hover {
  color: #fff;
  border-color: #ffd700;
  background: radial-gradient(circle at bottom, #9b0000, #3a0000);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.8),
    inset 0 0 12px rgba(255, 215, 0, 0.4);
  transform: scale(1.05);
}

/* NEWバッジ：金光アニメーション */
.badge.new {
  background: linear-gradient(90deg, #fff2b5, #ffd45c, #fff8c8);
  color: #2a0000;
  font-size: 0.7rem;
  padding: 3px 6px;
  border-radius: 4px;
  text-shadow: 0 0 6px rgba(255, 200, 80, 0.8);
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
  animation: glowBadge 2s infinite alternate;
}

/* 点滅アニメーション */
@keyframes glowBadge {
  0% {
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
  }
  100% {
    box-shadow: 0 0 12px rgba(255, 215, 0, 1);
  }
}

/* スマホでも横並び維持 */
@media screen and (max-width: 768px) {
  .nav-menu {
    flex-wrap: wrap; /* 画面幅が狭い時だけ2段になる */
    gap: 12px;
  }

  .nav-menu li a {
    font-size: 14px;
    padding: 10px 14px;
  }
}

#messages::before {
  display: none !important;
}

/* =============================== */
/* LINEバーコード：新デザイン版     */
/* =============================== */

/* 枠デザインは共通 */
.final-line-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.2rem;
  background: radial-gradient(circle at top left, #4a0000, #1a0000 80%);
  border: 2px solid rgba(255, 215, 0, 0.6);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(255, 200, 80, 0.3);
  max-width: 380px;
}

/* QRコードを少し小さめに */
.line-qr img {
  width: 180px;
  height: auto;
  border-radius: 12px;
  border: 2px solid rgba(255, 215, 0, 0.4);
  background: #fff;
  padding: 6px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* 案内文 */
.line-note {
  color: #ffec9b;
  font-size: 1rem;
  text-align: center;
  line-height: 1.6;
  font-weight: 500;
}

/* コメント誘導 */
.comment-invite {
  text-align: center;
  color: #fff6b5;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 0.5rem;
}

.comment-invite .highlight {
  color: #ffda4a;
  text-shadow: 0 0 8px rgba(255, 220, 100, 0.8);
}

/* ▼動く矢印（下方向） */
.arrow-down {
  width: 20px;
  height: 20px;
  border-left: 3px solid #ffd700;
  border-bottom: 3px solid #ffd700;
  transform: rotate(-45deg);
  margin: 10px auto;
  animation: arrowMove 1.2s infinite;
}

@keyframes arrowMove {
  0% {
    transform: translateY(0) rotate(-45deg);
    opacity: 1;
  }
  50% {
    transform: translateY(6px) rotate(-45deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) rotate(-45deg);
    opacity: 1;
  }
}

/* ボタン */
.line-comment-btn {
  display: inline-block;
  background: linear-gradient(90deg, #d40000, #700000);
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 215, 0, 0.8);
  text-decoration: none;
  box-shadow: 0 0 12px rgba(255, 180, 0, 0.6);
  transition: 0.3s;
}

.line-comment-btn:hover {
  background: linear-gradient(90deg, #ff0000, #b00000);
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(255, 220, 0, 0.9);
}

/* スマホ調整 */
@media screen and (max-width: 768px) {
  .line-qr img {
    width: 140px;
  }
  .line-note {
    font-size: 0.95rem;
  }
  .line-comment-btn {
    font-size: 16px;
    padding: 0.8rem 2rem;
  }
}

/* =============================== */
/* FINALスケジュール＋LINE QRセット */
/* =============================== */
.final-schedule-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  flex-wrap: nowrap; /* ← スマホでも横並び維持 */
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* 左カラム */
.final-schedule-box {
  flex: 1;
  background: radial-gradient(
    circle at top left,
    #5a0000 0%,
    #2a0000 40%,
    #150000 100%
  );
  border: 2px solid rgba(255, 215, 0, 0.6);
  border-radius: 10px;
  padding: 1rem;
  color: #fff;
}

/* 右カラム */
.final-line-box {
  flex: 1;
  background: radial-gradient(circle at top left, #4a0000, #1a0000 80%);
  border: 2px solid rgba(255, 215, 0, 0.6);
  border-radius: 10px;
  padding: 1rem;
  color: #fff;
  text-align: center;
}

/* QRコード（少し小さめ） */
.line-qr img {
  width: 200px;
  height: auto;
  border-radius: 8px;
  border: 2px solid rgba(255, 215, 0, 0.4);
  background: #fff;
  padding: 4px;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
  margin-bottom: 0.5rem;
}

/* LINE案内テキスト */
.line-note {
  color: #ffec9b;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* コメント誘導テキスト */
.comment-invite {
  color: #fff6b5;
  font-weight: bold;
  margin-top: 0.5rem;
  font-size: 18px;
}

.comment-invite .highlight {
  color: #ffda4a;
  text-shadow: 0 0 8px rgba(255, 220, 100, 0.8);
}

/* ▼動く矢印 */
.arrow-down {
  width: 18px;
  height: 18px;
  border-left: 3px solid #ffd700;
  border-bottom: 3px solid #ffd700;
  transform: rotate(-45deg);
  margin: 8px auto;
  animation: arrowMove 1.2s infinite;
}

@keyframes arrowMove {
  0% {
    transform: translateY(0) rotate(-45deg);
    opacity: 1;
  }
  50% {
    transform: translateY(6px) rotate(-45deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) rotate(-45deg);
    opacity: 1;
  }
}

/* コメントボタン */
.line-comment-btn {
  display: inline-block;
  background: linear-gradient(90deg, #d40000, #700000);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  border: 2px solid rgba(255, 215, 0, 0.8);
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 180, 0, 0.6);
  transition: 0.3s;
}

.line-comment-btn:hover {
  background: linear-gradient(90deg, #ff0000, #b00000);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 220, 0, 0.9);
}

/* =============================== */
/* スマホ最適化（横並び維持）       */
/* =============================== */
@media screen and (max-width: 768px) {
  .final-schedule-container {
    flex-wrap: nowrap; /* ← ここがポイント。スマホでも横並び */
    gap: 0.5rem;
  }

  .final-schedule-box,
  .final-line-box {
    padding: 0.8rem;
    font-size: 0.85rem;
  }

  .line-qr img {
    width: 110px;
  }

  .line-note {
    font-size: 18px;
  }

  .line-comment-btn {
    font-size: 14px;
    padding: 0.6rem 1.2rem;
  }
}

/* =============================== */
/* FINALスケジュール：スマホでも横並び維持 */
/* =============================== */
@media screen and (max-width: 768px) {
  .final-schedule-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 0.8rem !important;
  }

  .final-schedule-box {
    flex: 1 1 55% !important;
    min-width: 48% !important;
  }

  .final-line-box {
    flex: 1 1 45% !important;
    min-width: 45% !important;
  }
}

/* =============================== */
/* FINALスケジュール：スマホ時の内部縦並び調整 */
/* =============================== */
@media screen and (max-width: 768px) {
  /* 全体：横並び維持 */
  .final-schedule-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 1rem !important;
    width: 95%;
    margin: 0 auto;
  }

  /* 左：スケジュール */
  .final-schedule-box {
    flex: 1 1 55% !important;
    min-width: 55% !important;
    padding: 1rem !important;
  }

  /* 各リスト項目を縦並びに変更 */
  .final-schedule-list li {
    display: flex !important;
    flex-direction: column !important; /* ← 縦並び */
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.8rem 0.6rem !important;
    gap: 0.4rem !important;
  }

  /* 日付を上に・中央寄せ */
  .final-schedule-list .date {
    display: inline-block !important;
    font-size: 14px !important;
    padding: 0.3rem 0.6rem !important;
  }

  /* 内容（desc）を下に・大きめに */
  .final-schedule-list .desc {
    display: block !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  /* 右：LINE・QR */
  .final-line-box {
    flex: 1 1 45% !important;
    min-width: 45% !important;
    padding: 1.2rem 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* QRサイズ調整 */
  .final-line-box .line-qr img {
    width: 120px !important;
    height: auto;
    margin-bottom: 0.8rem;
  }

  /* コメントボタン */
  .final-line-box .line-comment-btn {
    width: 100%;
    font-size: 14px !important;
    padding: 0.8rem 0 !important;
    text-align: center;
    border-radius: 30px;
  }
}
/* =============================== */
/* スマホ用：sealed-message-section完全全幅化 */
/* =============================== */
@media screen and (max-width: 768px) {
  .sealed-message-section {
    width: 100vw !important; /* ビューポート幅いっぱい */
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important; /* 親要素の中央制約を打ち消す */
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }
}

/* =============================== */
/* FINALスケジュール：上下位置ズレ修正（スマホ対応） */
/* =============================== */
@media screen and (max-width: 768px) {
  .final-schedule-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important; /* ← 高さを揃える */
    justify-content: center !important;
    gap: 1rem !important;
    width: 95%;
    margin: 0 auto;
  }

  /* 左：スケジュールボックス */
  .final-schedule-box {
    flex: 1 1 55% !important;
    align-self: stretch !important; /* ← 親の高さに合わせる */
    margin-top: 0 !important; /* ← 余計な上ずれを防止 */
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* 右：QRボックス */
  .final-line-box {
    flex: 1 1 45% !important;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 0 !important; /* ← スケジュールとの上下ずれ解消 */
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}

/* =============================== */
/* 強制上書き：FINALスケジュール見出しタイトル（白系） */
/* =============================== */
.final-schedule-box .final-schedule-title {
  font-family: "Zen Antique Soft", serif !important;
  font-size: 26px !important;
  text-align: center !important;
  margin-bottom: 0.6rem !important;

  /* 白〜淡金の柔らかい光沢グラデーション */
  background: linear-gradient(90deg, #ff0000, #ff0000, #ff1d1d) !important;
  border-radius: 10px;
  /* 強めの白光と暗い影で立体感を出す */
}
/* =============================== */
/* FINALヘッダー（視認性重視・豪華版） */
/* =============================== */
.final-header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  width: 90%;
  max-width: 1100px;
  margin: 3rem auto 2rem auto;
  flex-wrap: wrap;
  margin-top: -30px;
}

/* 左：ロゴ */
.final-logo img {
  width: 250px;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(255, 210, 80, 0.9));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.final-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 35px rgba(255, 230, 120, 1));
}

/* =============================== */
/* 右：豪華テキスト枠（背景暗め＋金縁） */
/* =============================== */
.final-message-box {
  flex: 1;
  max-width: 720px;
  min-width: 320px;
  padding: 2.2rem 2.5rem;
  color: #fff;

  /* 背景：漆黒×赤×金の深みグラデーション */
  background: linear-gradient(
    160deg,
    rgba(10, 0, 0, 0.95),
    rgba(40, 0, 0, 0.92),
    rgba(15, 0, 0, 0.9)
  );

  /* 金属風枠 */
  border: 3px solid transparent;
  border-radius: 18px;
  background-image: linear-gradient(
      145deg,
      rgba(30, 0, 0, 0.9),
      rgba(0, 0, 0, 0.85)
    ),
    linear-gradient(
      135deg,
      #fff6b5 0%,
      #ffd75e 25%,
      #b88a00 50%,
      #fff2a0 75%,
      #a67000 100%
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;

  /* 立体感と外光 */
  box-shadow: 0 0 25px rgba(255, 215, 100, 0.25),
    inset 0 0 20px rgba(255, 200, 60, 0.2), 0 0 60px rgba(255, 200, 80, 0.1);

  text-align: center;
  position: relative;
}

/* 内側リム光：やや控えめ */
.final-message-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 3px;
  background: linear-gradient(
    120deg,
    rgba(255, 250, 200, 0.5),
    rgba(255, 220, 100, 0.8),
    rgba(255, 250, 220, 0.5)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* =============================== */
/* テキスト（見やすさUP版） */
/* =============================== */
.project-catch {
  font-family: "Zen Antique Soft", serif;
  font-size: 30px;
  line-height: 1.9;
  color: #f5f9ff;
  font-weight: 700;
  letter-spacing: 1.3px;
  margin: 0;
}

.project-catch span {
  display: inline-block;
  font-size: 30px;
  font-weight: 800;
  color: #ffd900;
}

/* =============================== */
/* スマホ対応（縦並び） */
/* =============================== */
@media screen and (max-width: 768px) {
  .final-header-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-top: -80px;
  }

  .final-message-box {
    padding: 1rem 1rem;
    width: 100%;
    margin-top: -50px;
  }

  .project-catch {
    font-size: 22px;
    line-height: 1.4;
    margin-top: -5px;
    margin-bottom: 10px;
  }

  .project-catch span {
    font-size: 25px;
  }

  .final-logo img {
    width: 200px;
  }
}

@media screen and (max-width: 768px) {
  .contents-flex {
    display: flex !important;
    flex-direction: column !important;
  }

  .main-column {
    order: 1 !important; /* 最新メッセージを上 */
    width: 100% !important;
  }

  .side-column {
    order: 2 !important; /* コメントを下 */
    width: 100% !important;
    margin-top: 1.5rem !important;
  }
}

/* =============================================== */
/* FINALメッセージボックス（赤×金アニメーション版） */
/* =============================================== */
.final-message-box {
  position: relative;
  margin: 3rem auto;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 18px;
  background: radial-gradient(circle at center, #3a0000 0%, #0b0000 90%);
  overflow: hidden;

  /* ✨ シャドウを黄金系に変更 ✨ */
  box-shadow: inset 0 0 25px rgba(255, 240, 120, 0.45),
    /* 内側光 */ 0 0 50px rgba(255, 230, 100, 0.4),
    /* 外周光（柔らかい金） */ 0 0 80px rgba(255, 210, 80, 0.35); /* 広がる金光 */

  border: 2px solid rgba(255, 215, 100, 0.6); /* 枠線も金味を強調 */
}

/* 背景：赤い光がゆらめきながら流れる */
.final-message-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 0, 0, 0) 0%,
    rgba(255, 60, 60, 0.25) 40%,
    rgba(255, 0, 0, 0) 80%
  );
  animation: redShine 6s linear infinite;
  opacity: 0.6;
  transform: skewX(-20deg);
}

/* 背景の赤光スライド */
@keyframes redShine {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }
  50% {
    transform: translateX(150%) skewX(-20deg);
  }
  100% {
    transform: translateX(150%) skewX(-20deg);
  }
}

/* キャッチ全体 */
.project-catch {
  font-family: "Zen Antique Soft", serif;
  font-size: 2.3rem;
  line-height: 1.5;
  font-weight: 800;
  color: #fff5e5;
  text-shadow: 0 0 10px rgba(255, 120, 80, 0.8), 0 0 25px rgba(255, 0, 0, 0.6),
    0 2px 3px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 2;
  letter-spacing: 2px;
}

/* 赤金のグラデーションテキスト */
.project-catch span {
  display: inline-block;
  background: linear-gradient(
    90deg,
    #ffb2b2 0%,
    #ff5757 25%,
    #ffc04d 50%,
    #ff4e4e 75%,
    #fff1b5 100%
  );
  -webkit-background-clip: text;
  text-shadow: 0 0 12px rgba(255, 90, 70, 0.9), 0 0 20px rgba(255, 180, 80, 0.6),
    2px 2px 2px rgba(0, 0, 0, 0.9);

  animation: redGoldPulse 3.5s ease-in-out infinite alternate;
}

/* 赤×金の光が呼吸するように変化 */
@keyframes redGoldPulse {
  0% {
    filter: brightness(1) drop-shadow(0 0 8px rgba(255, 80, 50, 0.5))
      drop-shadow(0 0 12px rgba(255, 200, 100, 0.4));
  }
  100% {
    filter: brightness(1.4) drop-shadow(0 0 16px rgba(255, 120, 80, 0.8))
      drop-shadow(0 0 22px rgba(255, 230, 120, 0.7));
  }
}

/* 粒子の赤光をゆらめかせる */
.final-message-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(251, 255, 3, 0.25) 1px,
    transparent 1px
  );
  background-size: 3px 3px;
  animation: sparkleRed 4s linear infinite;
  z-index: 1;
  opacity: 0.5;
}

/* 赤粒がゆらゆらと光る */
@keyframes sparkleRed {
  0% {
    opacity: 0.4;
    transform: translate(0, 0);
  }
  50% {
    opacity: 0.7;
    transform: translate(2px, -2px);
  }
  100% {
    opacity: 0.4;
    transform: translate(0, 0);
  }
}

/* スマホ調整 */
@media (max-width: 768px) {
  .final-message-box {
    padding: 2rem 0.8rem;
    margin-top: -60px;
  }
  .project-catch {
    font-size: 1.7rem;
    letter-spacing: 1px;
  }
}
