@charset "UTF-8";
/* =====================================================================
   逆境ファンファーレ 特設ステージ（stage01）

   ■ 色を変えるとき
     下の【1. カラー設定】だけ触ればOKです。
     使っている色は下の「色の一覧」の13色だけなので、
     エディタで色コードを一括置換すれば、ページ全体の色が切り替わります。
     透明度つきの色は「#3d0309b3」のように末尾2桁を足しているので、
     一括置換しても透明度はそのまま残ります。

   ■ 背景画像は Blade 側の <div class="stg-bg"> で指定しています（1920×1080想定）。

   ■【2. レイアウト】には色を一切書いていません。
   ===================================================================== */

/* =====================================================================
   1. カラー設定

   色の一覧（一括置換用）
     金 … #fff4c2（ハイライト）/ #f2d16b（明）/ #c9a24a（基本）/ #a87a22（影）/ #6b4a10（濃い影）
     赤 … #ff4a57（ハイライト）/ #d8162a（明）/ #b00e1f（基本）/ #7a0814（影）/ #3d0309（濃い影）
     黒 … #000000（基本）/ #0e0607（パネル）/ #1b0d0f（カード）
     白 … #fff8ef　　グレー … #b3a6a2
   ===================================================================== */

/* ■ 黒 #000000 */
body.stg,
.stg-msg__frame,
.stg-latest__next {
  background-color: #000000;
}
#footer {
  background-color: #000000e6;
}

/* ■ 背景画像の上に重ねる黒（末尾2桁で濃さ調整：大きいほど暗い） */
.stg-bg::after {
  background-color: rgba(0, 0, 0, 0.425);
}

/* ■ パネル黒 #0e0607 / カード黒 #1b0d0f */
.stg-archive {
  background-color: #0e0607f2;
}
.stg-card__btn {
  background-color: #1b0d0f;
}

/* ■ 金の線 */
.stg-msg__frame,
.stg-archive,
.stg-card__btn,
.stg-archive__heading {
  border-color: #c9a24a;
}
.stg-card.is-new .stg-card__btn,
.stg-card__btn:hover {
  border-color: #f2d16b;
}
.stg-latest__next,
.stg-card__head,
#footer {
  border-color: #6b4a10;
}
.stg-card__btn:focus-visible {
  outline-color: #f2d16b;
}

/* ■ 文字・白 #fff8ef */
body.stg,
.stg-latest__time,
.stg-latest__week span,
.stg-card__btn,
.stg-card__date,
.stg-archive__heading,
.stg-debug,
#footer a {
  color: #fff8ef;
}

/* ■ 文字・金 #f2d16b（日付の金文字が出ない端末ではこの色になります） */
.stg-latest__md,
.stg-latest__next b {
  color: #f2d16b;
}

/* ■ 文字・濃い赤 #3d0309（金のプレートの上の文字） */
.stg-latest__tag,
.stg-card__badge,
.stg-card__more {
  color: #3d0309;
}

/* ■ 文字・グレー #b3a6a2 */
.stg-latest__next,
.stg-msg__wait,
.stg-archive__guide,
.stg-archive__empty,
#footer {
  color: #b3a6a2;
}

/* ■ その他 */
.stg-debug {
  background-color: #b00e1f;
}
::selection {
  color: #fff8ef;
  background-color: #b00e1f;
}

/* ---------------------------------------------------------------------
   金属の金（上が明るく、真ん中あたりで短めに切り替わる）
   --------------------------------------------------------------------- */
.stg-latest__frame,
.stg-latest__tag,
.stg-latest__week,
.stg-card__badge,
.stg-card__more,
.stg-archive__heading::before {
  background-image: linear-gradient(180deg, #fff4c2 0%, #f2d16b 36%, #a87a22 54%, #c9a24a 74%, #f2d16b 100%);
}

/* 日付の金文字 */
.stg-latest__md {
  background-image: linear-gradient(180deg, #fff4c2 0%, #f2d16b 40%, #c9a24a 62%, #a87a22 82%, #c9a24a 100%);
}

/* ---------------------------------------------------------------------
   赤のツヤ塗り（上が明るく、真ん中あたりで短めに切り替わる）
   --------------------------------------------------------------------- */
.stg-card__head,
.stg-archive__heading,
.stg-latest__week span {
  background-image: linear-gradient(180deg, #d8162a 0%, #b00e1f 40%, #7a0814 60%, #b00e1f 100%);
}

/* 最新メッセージの見出し帯（斜めの切り替え＋細い光のライン） */
.stg-latest__panel {
  background-image: linear-gradient(115deg, #b00e1f 0%, #b00e1f 53%, #d8162a 56%, #d8162a 57.5%, #7a0814 61%, #7a0814 100%);
}

/* 点滅ランプ */
.stg-latest__live {
  background-image: radial-gradient(circle at 35% 35%, #fff8ef 0%, #fff8ef 12%, #ff4a57 30%, #ff4a57 48%, #b00e1f 72%, #b00e1f 100%);
}

/* カードの「メッセージを読む」にマウスを乗せたとき */
.stg-card__btn:hover .stg-card__more {
  background-image: linear-gradient(180deg, #fff4c2 0%, #fff4c2 34%, #c9a24a 56%, #f2d16b 100%);
}

/* ---------------------------------------------------------------------
   スクロールバー（赤いバー / 黒い溝）※ページ全体と過去のメッセージ一覧
   --------------------------------------------------------------------- */
html,
.stg-archive__list {
  scrollbar-color: #b00e1f #000000;
}
/* Safari など向け */
html::-webkit-scrollbar-track,
.stg-archive__list::-webkit-scrollbar-track {
  background-color: #000000;
}
html::-webkit-scrollbar-thumb,
.stg-archive__list::-webkit-scrollbar-thumb {
  background-color: #b00e1f;
  border-color: #000000;
}
html::-webkit-scrollbar-thumb:hover,
.stg-archive__list::-webkit-scrollbar-thumb:hover {
  background-color: #d8162a;
}

/* ---------------------------------------------------------------------
   影・立体感
   --------------------------------------------------------------------- */

/* 見出し帯全体の影（下に濃い赤の段差＋落ち影） */
.stg-latest {
  filter: drop-shadow(0 5px 0 #3d0309) drop-shadow(0 12px 14px #000000cc);
}
.stg-latest__panel {
  box-shadow:
    inset 0 2px 0 #ff4a5780,
    inset 0 -4px 0 #3d0309b3;
}
.stg-latest__tag {
  box-shadow:
    0 3px 0 #6b4a10,
    0 5px 6px #00000080,
    inset 0 1px 0 #fff4c2;
}
.stg-latest__md {
  filter: drop-shadow(0 3px 0 #3d0309) drop-shadow(0 5px 5px #000000b3);
}
.stg-latest__week {
  box-shadow:
    0 3px 0 #3d0309,
    0 6px 8px #00000099;
}
.stg-latest__week span {
  box-shadow:
    inset 0 2px 0 #ff4a5799,
    inset 0 -2px 0 #3d0309;
}
.stg-latest__live {
  box-shadow:
    0 0 0 2px #3d0309,
    0 0 8px #ff4a57;
}
.stg-latest__next {
  box-shadow:
    inset 0 2px 6px #000000,
    0 6px 12px #000000b3;
}

/* 記事枠・過去記事枠 */
.stg-msg__frame,
.stg-archive {
  box-shadow:
    0 0 0 1px #000000,
    inset 0 0 0 1px #6b4a10,
    0 16px 28px #000000cc;
}
.stg-archive__heading::before {
  box-shadow: 0 0 0 2px #000000;
}
.stg-archive__heading {
  box-shadow:
    inset 0 1px 0 #ff4a5780,
    0 3px 0 #000000;
}

/* カード（下の段差で厚みを出し、押すと沈む） */
.stg-card__btn {
  box-shadow:
    0 4px 0 #3d0309,
    0 10px 16px #000000b3,
    inset 0 1px 0 #f2d16b4d;
}
.stg-card__btn:hover {
  box-shadow:
    0 6px 0 #3d0309,
    0 14px 20px #000000cc,
    inset 0 1px 0 #f2d16b4d;
}
.stg-card__btn:active {
  box-shadow:
    0 1px 0 #3d0309,
    0 4px 8px #000000b3,
    inset 0 1px 0 #f2d16b4d;
}
.stg-card.is-new .stg-card__btn {
  box-shadow:
    0 0 0 2px #000000,
    0 0 0 4px #c9a24a,
    0 8px 0 4px #3d0309,
    0 16px 22px #000000cc;
}
.stg-card__head {
  box-shadow: inset 0 1px 0 #ff4a5780;
}
.stg-card__more {
  box-shadow:
    0 2px 0 #6b4a10,
    inset 0 1px 0 #fff4c2;
}

/* 文字の影 */
.stg-latest__time,
.stg-latest__week span,
.stg-card__date,
.stg-archive__heading {
  text-shadow: 0 2px 0 #3d0309;
}

/* =====================================================================
   2. レイアウト（色の指定なし）
   ===================================================================== */

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

[hidden] {
  display: none !important;
}

/* フォントはすべてゴシック体（どの端末でもゴシックになるよう候補を並べています） */
body.stg {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, "MS PGothic", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-text-size-adjust: 100%;
}

body.stg button {
  font-family: inherit;
}

body.stg img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* スクロールバーの太さ（Safari など向け） */
html::-webkit-scrollbar {
  width: 12px;
}

.stg-archive__list::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-thumb,
.stg-archive__list::-webkit-scrollbar-thumb {
  border-style: solid;
  border-width: 2px;
  border-radius: 6px;
}

/* ---------- 背景画像（スマホでも固定表示になるよう要素で敷いています） ---------- */
.stg-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.stg-bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* ---------- 全体の並び（PC・SP共通：メインメッセージ → 過去のメッセージの縦並び） ---------- */
.stg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 2px 64px;
}

/* 過去のメッセージ：横幅に合わせてカードを並べる（SP：1列／タブレット：2列／PC：3列） */
@media (min-width: 600px) {
  .stg-archive__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .stg-layout {
    gap: 56px;
    padding: 48px 20px 80px;
  }

  .stg-archive__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 横に並んだカードの高さをそろえ、「メッセージを読む」をカードの下端にそろえる */
.stg-archive__list .stg-card__btn {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.stg-archive__list .stg-card__body {
  flex: 1 1 auto;
}


/* ---------- 最新メッセージの見出し（角を落とした金枠のプレート） ---------- */
.stg-latest {
  margin-bottom: 14px;
}

.stg-latest__frame {
  padding: 3px;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}

.stg-latest__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 20px 28px;
  clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 13px, 100% calc(100% - 13px), calc(100% - 13px) 100%, 13px 100%, 0 calc(100% - 13px), 0 13px);
}

.stg-latest__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 7px 16px 7px 12px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.stg-latest__live {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  animation: stg-blink 1.4s steps(1) infinite;
}

.stg-latest__date {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0;
}

.stg-latest__md {
  padding: 2px 0;
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stg-latest__md small {
  margin: 0 0.05em;
  font-size: 0.45em;
  font-weight: 900;
}

/* 曜日の丸（金の輪＋赤） */
.stg-latest__week {
  display: inline-block;
  padding: 3px;
  border-radius: 50%;
}

.stg-latest__week span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
}

.stg-latest__time {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

/* 次回の更新（黒いプレート） */
.stg-latest__next {
  margin: 0 0 14px;
  padding: 9px 16px;
  border-style: solid;
  border-width: 1px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.stg-latest__next b {
  margin-left: 0.6em;
  font-weight: 900;
}

.stg-latest__next:empty {
  display: none;
}

/* SP：札と日付を横1列に並べて、見出しの縦幅を詰める */
@media (max-width: 599px) {
  .stg-latest__panel {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 12px 14px;
  }

  .stg-latest__tag {
    flex: 0 0 auto;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .stg-latest__live {
    width: 9px;
    height: 9px;
  }

  .stg-latest__date {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .stg-latest__md {
    font-size: 36px;
  }

  .stg-latest__week span {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .stg-latest__time {
    font-size: 12px;
  }
}

/* 幅の狭いスマホ（360px未満）では、もう一段小さくして1列を保つ */
@media (max-width: 359px) {
  .stg-latest__tag {
    font-size: 11px;
  }

  .stg-latest__md {
    font-size: 30px;
  }
}

/* ---------- 記事枠 ---------- */
.stg-msg__frame {
  border-style: solid;
  border-width: 3px;
}

.stg-msg__frame iframe {
  display: block;
  width: 100%;
  height: 800px; /* 記事側から高さが届くまでの仮の高さ */
  border: 0;
}

.stg-msg__wait {
  margin: 0;
  padding: 96px 20px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

/* ---------- 過去のメッセージ ---------- */
.stg-archive {
  overflow: hidden;
  border-style: solid;
  border-width: 2px;
  border-radius: 4px;
}

.stg-archive__heading {
  position: relative;
  margin: 0;
  padding: 13px 16px 13px 38px;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.stg-archive__heading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15px;
  width: 11px;
  height: 11px;
  margin-top: -5px;
  transform: rotate(45deg);
}

.stg-archive__guide {
  margin: 12px 16px 0;
  font-size: 12px;
}

/* 余白はカードの影や枠が切れないためのもの */
.stg-archive__list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 16px 16px 24px;
  list-style: none;
  scrollbar-width: thin;
}

.stg-archive__empty {
  margin: 0;
  font-size: 13px;
}

/* ---------- 記事カード ---------- */
.stg-card__btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-style: solid;
  border-width: 2px;
  border-radius: 6px;
  font-size: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}

.stg-card__btn:hover {
  transform: translateY(-2px);
}

.stg-card__btn:active {
  transform: translateY(3px);
}

.stg-card__btn:focus-visible {
  outline-style: solid;
  outline-width: 2px;
  outline-offset: 4px;
}

/* 見出し（日付） */
.stg-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px 9px 14px;
  border-bottom-style: solid;
  border-bottom-width: 2px;
}

.stg-card__date {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

/* NEW（左がとがった札の形） */
.stg-card__badge {
  padding: 2px 10px 2px 16px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.1em;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
}

/* 本文（タイトル） */
.stg-card__body {
  display: block;
  padding: 12px 14px 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
}

.stg-card.is-new .stg-card__body {
  font-weight: 700;
}

/* 下部「メッセージを読む」ボタン */
.stg-card__foot {
  display: flex;
  justify-content: flex-end;
  padding: 8px 14px 14px;
}

.stg-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 14px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.stg-card__more::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent currentColor;
}

/* ---------- 確認モードの表示（?stage_time= を付けたときだけ出ます） ---------- */
.stg-debug {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* ---------- フッター（旧theme.cssの代わり） ---------- */
#footer {
  padding: 32px 16px 40px;
  border-top-style: solid;
  border-top-width: 1px;
  font-size: 12px;
  line-height: 1.8;
}

#footer p {
  margin: 0 0 10px;
}

#footer .center {
  text-align: center;
}

#footer .m10 {
  margin: 10px;
}

#footer .top a {
  display: inline-block;
  margin: 0 10px;
  text-decoration: none;
}

#footer .top a:hover {
  text-decoration: underline;
}

#footer br.sp {
  display: none;
}

@media (max-width: 599px) {
  #footer br.sp {
    display: inline;
  }

  #footer .top a {
    margin: 4px 0;
  }
}

/* ---------- 動き ---------- */
@keyframes stg-blink {
  50% {
    opacity: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@charset "UTF-8";
/* =====================================================================
   逆境ファンファーレ 特設ステージ「佳境モード」（stage01 / climax）
   テーマ：いよいよ熱を帯びてきた ── 炎・残り火・熱した金

   ■ 使い方
     1. 特設のCSS（stage01/main.css）の「後ろ」でこのファイルを読み込む
     2. <body class="stg"> を <body class="stg stg--climax"> にする
     → 元に戻すときは body の stg--climax を消すだけ（このファイルは読み込んだままでOK）

   ■ 変わるところ
     ・最新メッセージの見出し … 炎の色の地に、下から火の粉が立ちのぼる。日付は熱した金の文字
     ・次回の更新のプレート、記事の枠 … 金から「炎の金（オレンジがかった金）」へ
     ・過去のメッセージ … 見出し帯・カードの日付帯を、赤からオレンジへ燃え上がるグラデーションに。
                          最新（NEW）のカードは、ゆっくり熱を帯びて光る
     ※ 記事の中身・カードの形・動きの仕組みは変わりません

   ■ 色を変えるとき：【1. カラー設定】だけ触ればOK（:root は使っていません）
       熱した金 … #fff1c4（白熱）/ #ffd36b / #f2a93b / #c9a24a
       炎 … #ff8a2b（橙）/ #ff5a1f（炎）/ #d8162a / #b00e1f / #7a0814 / #3d0309 / #2a0306
       黒 … #000000 / #120604（暖かい黒）/ #1c0b07（カード）　　白 … #fff8ef
   ===================================================================== */


/* =====================================================================
   1. カラー設定
   ===================================================================== */

/* ---------- 最新メッセージの見出し ---------- */

/* 地：下から炎の赤が立ちのぼるグラデーション */
.stg--climax .stg-latest__panel {
  background-color: #120604;
  background-image:
    radial-gradient(ellipse 70% 120% at 30% 120%, #ff5a1f8c 0%, #d8162a4d 35%, #d8162a00 70%),
    linear-gradient(180deg, #120604 0%, #2a0306 55%, #7a0814 100%);
  box-shadow:
    inset 0 0 0 1px #7a0814,
    inset 0 -24px 40px -12px #ff5a1f40;
}

/* 立ちのぼる火の粉（3種類の大きさの粒） */
.stg--climax .stg-latest__panel::after {
  background-image:
    radial-gradient(circle, #ffd36bcc 0, #ffd36bcc 1.5px, #ffd36b00 3px),
    radial-gradient(circle, #ff8a2bb3 0, #ff8a2bb3 1px, #ff8a2b00 2.5px),
    radial-gradient(circle, #fff1c499 0, #fff1c499 1px, #fff1c400 2px);
}

/* 上下の線：両端が消えていく金の光 */
.stg--climax .stg-latest__frame::before,
.stg--climax .stg-latest__frame::after {
  background-image: linear-gradient(90deg, #f2a93b00 0%, #f2a93b 18%, #fff1c4 50%, #f2a93b 82%, #f2a93b00 100%);
}

/* 「最新メッセージ」の札：熱した金のプレート */
.stg--climax .stg-latest__tag {
  color: #3d0309;
  background-image: linear-gradient(180deg, #fff1c4 0%, #ffd36b 40%, #f2a93b 70%, #ffd36b 100%);
  box-shadow:
    0 0 0 1px #3d0309,
    0 3px 0 #7a0814,
    0 0 18px #ff8a2b80;
  text-shadow: none;
}

/* ランプ：橙の光がゆっくり脈打つ */
.stg--climax .stg-latest__live {
  background-image: radial-gradient(circle at 35% 35%, #fff1c4 0%, #ffd36b 30%, #ff5a1f 70%, #d8162a 100%);
  box-shadow:
    0 0 0 2px #3d0309,
    0 0 10px #ff8a2b;
}

/* 日付：白熱から金、橙へと熱した金属の文字（対応していない端末では明るい金の単色） */
.stg--climax .stg-latest__md {
  color: #ffd36b;
  background-image: linear-gradient(180deg, #fff1c4 0%, #ffd36b 45%, #f2a93b 70%, #ff8a2b 100%);
  filter: drop-shadow(0 2px 0 #3d0309) drop-shadow(0 0 14px #ff5a1f99);
}

/* 曜日：残り火の丸（金の輪＋炎の色） */
.stg--climax .stg-latest__week {
  background-image: linear-gradient(180deg, #fff1c4 0%, #ffd36b 40%, #f2a93b 70%, #ffd36b 100%);
  box-shadow:
    0 3px 0 #3d0309,
    0 0 16px #ff5a1f99;
}
.stg--climax .stg-latest__week span {
  color: #ffffff;
  background-image: linear-gradient(180deg, #ff8a2b 0%, #ff5a1f 40%, #d8162a 75%, #b00e1f 100%);
  box-shadow:
    inset 0 2px 0 #ffd36b99,
    inset 0 -2px 0 #7a0814;
  text-shadow: 0 1px 0 #7a0814;
}

/* ---------- 次回の更新のプレート ---------- */
.stg--climax .stg-latest__next {
  color: #fff8ef;
  background-color: #120604;
  border-color: #7a0814;
  box-shadow:
    inset 3px 0 0 #ff8a2b,
    0 6px 12px #000000b3;
}
.stg--climax .stg-latest__next b {
  color: #ffd36b;
}

/* ---------- 記事の枠 ---------- */
.stg--climax .stg-msg__frame {
  border-color: #f2a93b;
  box-shadow:
    0 0 0 1px #000000,
    inset 0 0 0 1px #3d0309,
    0 0 30px #ff5a1f33,
    0 16px 28px #000000cc;
}

/* ---------- 過去のメッセージ ---------- */

/* 枠：下からほんのり熱が上がる */
.stg--climax .stg-archive {
  border-color: #f2a93b;
  background-color: #120604;
  background-image: linear-gradient(180deg, #120604f2 0%, #120604f2 60%, #2a0306f2 100%);
  box-shadow:
    0 0 0 1px #000000,
    inset 0 0 0 1px #3d0309,
    0 0 30px #ff5a1f33,
    0 16px 28px #000000cc;
}

/* 見出し帯：赤から橙へ燃え上がる */
.stg--climax .stg-archive__heading {
  border-color: #f2a93b;
  background-image: linear-gradient(90deg, #7a0814 0%, #d8162a 45%, #ff5a1f 100%);
  box-shadow:
    inset 0 1px 0 #ffd36b80,
    0 3px 0 #000000;
  text-shadow: 0 2px 0 #3d0309;
}
.stg--climax .stg-archive__heading::before {
  background-image: linear-gradient(180deg, #fff1c4 0%, #ffd36b 40%, #f2a93b 70%, #ffd36b 100%);
  box-shadow:
    0 0 0 2px #3d0309,
    0 0 10px #ff8a2b;
}

.stg--climax .stg-archive__guide {
  color: #d9b8a0;
}

/* カード */
.stg--climax .stg-card__btn {
  background-color: #1c0b07;
  border-color: #c9a24a;
}
.stg--climax .stg-card__btn:hover {
  border-color: #ffd36b;
  box-shadow:
    0 6px 0 #3d0309,
    0 14px 20px #000000cc,
    0 0 22px #ff8a2b66,
    inset 0 1px 0 #ffd36b4d;
}

/* カードの日付帯：赤から橙へ */
.stg--climax .stg-card__head {
  border-color: #7a0814;
  background-image: linear-gradient(90deg, #b00e1f 0%, #d8162a 50%, #ff5a1f 100%);
  box-shadow: inset 0 1px 0 #ffd36b80;
}

/* 最新（NEW）のカード：金の輪＋熱を帯びた光 */
.stg--climax .stg-card.is-new .stg-card__btn {
  border-color: #ffd36b;
}

/* NEW の札・「メッセージを読む」：熱した金 */
.stg--climax .stg-card__badge,
.stg--climax .stg-card__more {
  background-image: linear-gradient(180deg, #fff1c4 0%, #ffd36b 40%, #f2a93b 70%, #ffd36b 100%);
}

/* ---------- アニメーションの色 ---------- */

/* 見出しの熱：下からの炎の光が、ゆっくり強くなったり弱くなったりする */
@keyframes stg-heat {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 1px #7a0814,
      inset 0 -24px 40px -12px #ff5a1f40;
  }
  50% {
    box-shadow:
      inset 0 0 0 1px #b00e1f,
      inset 0 -34px 56px -10px #ff5a1f80;
  }
}

/* 最新カードの光：ゆっくり熱を帯びる */
@keyframes stg-new-heat {
  0%,
  100% {
    box-shadow:
      0 0 0 2px #000000,
      0 0 0 4px #f2a93b,
      0 8px 0 4px #3d0309,
      0 0 16px 2px #ff8a2b40,
      0 16px 22px #000000cc;
  }
  50% {
    box-shadow:
      0 0 0 2px #000000,
      0 0 0 4px #ffd36b,
      0 8px 0 4px #3d0309,
      0 0 30px 6px #ff8a2b80,
      0 16px 22px #000000cc;
  }
}


/* =====================================================================
   2. レイアウト
   ===================================================================== */

/* ---------- 見出し：外枠（角落としの金枠をやめ、上下に光の線） ---------- */
.stg--climax .stg-latest {
  position: relative;
  margin-bottom: 12px;
  filter: drop-shadow(0 10px 18px #000000cc);
}

.stg--climax .stg-latest__frame {
  position: relative;
  padding: 3px 0; /* 上下の光の線の太さ */
  background-image: none;
  clip-path: none;
}

.stg--climax .stg-latest__frame::before,
.stg--climax .stg-latest__frame::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  background-size: 200% 100%;
  animation: stg-line-flow 5s ease-in-out infinite;
}

.stg--climax .stg-latest__frame::before {
  top: 0;
}

.stg--climax .stg-latest__frame::after {
  bottom: 0;
  animation-delay: -2.5s;
}

/* ---------- 見出し：中身 ---------- */
.stg--climax .stg-latest__panel {
  position: relative;
  display: block;
  padding: 0;
  clip-path: none;
  animation: stg-heat 4s ease-in-out infinite;
}

/* 火の粉：見出しの中を下から上へ、ゆっくり立ちのぼる */
.stg--climax .stg-latest__panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background-size:
    90px 120px,
    130px 160px,
    70px 100px;
  background-position:
    10px 0,
    50px 30px,
    30px 60px;
  opacity: 0.85;
  animation: stg-embers 7s linear infinite;
}

/* 日付・札は火の粉より手前 */
.stg--climax .stg-latest__date,
.stg--climax .stg-latest__tag {
  position: relative;
  z-index: 1;
}

/* 「最新メッセージ」の札：上の線をまたぐ位置に貼る（線より手前） */
.stg--climax .stg-latest__tag {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 20px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 16px 6px 12px;
  border-radius: 3px;
  font-size: 14px;
  letter-spacing: 0.14em;
  line-height: 1.3;
  transform: translateY(-50%);
}

.stg--climax .stg-latest__live {
  width: 10px;
  height: 10px;
  animation: stg-ember-pulse 2s ease-in-out infinite;
}

/* 日付（大きく、左寄せ） */
.stg--climax .stg-latest__date {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
  padding: 34px 28px 20px;
}

.stg--climax .stg-latest__md {
  padding: 2px 0;
  font-size: 72px;
  line-height: 1;
}

.stg--climax .stg-latest__md small {
  margin: 0 0.06em;
  font-size: 0.4em;
}

/* 曜日の丸 */
.stg--climax .stg-latest__week span {
  width: 48px;
  height: 48px;
  font-size: 21px;
}

/* ---------- 次回の更新 ---------- */
.stg--climax .stg-latest__next {
  border-radius: 0 3px 3px 0;
  border-width: 1px 1px 1px 0;
}

/* ---------- 過去のメッセージ：最新カードの光 ---------- */
.stg--climax .stg-card.is-new .stg-card__btn {
  animation: stg-new-heat 3s ease-in-out infinite;
}

/* ---------- SP：見出しをコンパクトに（横1列のまま） ---------- */
@media (max-width: 599px) {
  .stg--climax .stg-latest__tag {
    left: 12px;
    gap: 6px;
    padding: 4px 12px 4px 9px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .stg--climax .stg-latest__live {
    width: 8px;
    height: 8px;
  }

  .stg--climax .stg-latest__date {
    gap: 10px;
    padding: 24px 14px 14px;
  }

  .stg--climax .stg-latest__md {
    font-size: 46px;
  }

  .stg--climax .stg-latest__week span {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
}

@media (max-width: 359px) {
  .stg--climax .stg-latest__md {
    font-size: 38px;
  }
}


/* =====================================================================
   動き
   ===================================================================== */

/* 上下の金の線を、光がゆっくり行き来する */
@keyframes stg-line-flow {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0 0;
  }
}

/* 火の粉が立ちのぼる（粒の大きさごとに速さが違う） */
@keyframes stg-embers {
  from {
    background-position:
      10px 0,
      50px 30px,
      30px 60px;
  }
  to {
    background-position:
      10px -120px,
      50px -130px,
      30px -40px;
  }
}

/* ランプがゆっくり脈打つ */
@keyframes stg-ember-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.8);
  }
}