/* =================================================================
   霊能研R4 — 共通スタイルシート (style.css)
   index.html / reinousharon.html 共通
   ================================================================= */

/* -----------------------------------------------------------------
   CSS変数
   ----------------------------------------------------------------- */
:root {
  --col-void:       #0d0b14;
  --col-deep:       #13101e;
  --col-surface:    #1a1628;
  --col-blood:      #c0392b;
  --col-gold:       #e8c84a;
  --col-gold-dim:   #b89742;
  --col-spirit:     #a78bfa;
  --col-spirit-dim: #6d5fc7;
  --col-aura:       #e0d4ff;
  --col-text-main:  #f0ece0;
  --col-text-sub:   #c8c0d8;
  --font-mincho:    'Shippori Mincho', 'Noto Serif JP', serif;
}

/* -----------------------------------------------------------------
   キーフレーム — 全ページ共通
   ----------------------------------------------------------------- */
@keyframes flicker {
  0%,100% { text-shadow: 0 0 40px rgba(232,200,74,.8), 0 0 80px rgba(167,139,250,.3), 0 0 120px rgba(232,200,74,.15); opacity: 1; }
  8%       { text-shadow: 0 0 20px rgba(232,200,74,.5), 0 0 40px rgba(167,139,250,.15); opacity: .93; }
  18%      { text-shadow: 0 0 60px rgba(232,200,74,1),  0 0 100px rgba(167,139,250,.5), 0 0 160px rgba(232,200,74,.25); opacity: 1; }
  42%      { text-shadow: 0 0 30px rgba(232,200,74,.65),0 0 60px rgba(167,139,250,.2); opacity: .96; }
  72%      { text-shadow: 0 0 50px rgba(232,200,74,.9), 0 0 90px rgba(167,139,250,.35); opacity: 1; }
}
@keyframes smokeDrift {
  0%   { transform: translateX(-5%) translateY(0) scale(1);      opacity: 0; }
  15%  { opacity: .5; }
  50%  { transform: translateX(3%) translateY(-8%) scale(1.1);   opacity: .3; }
  85%  { opacity: .12; }
  100% { transform: translateX(8%) translateY(-18%) scale(1.2);  opacity: 0; }
}
@keyframes smokeDrift2 {
  0%   { transform: translateX(5%) translateY(0) scale(1);        opacity: 0; }
  20%  { opacity: .4; }
  50%  { transform: translateX(-4%) translateY(-10%) scale(1.15); opacity: .22; }
  80%  { opacity: .06; }
  100% { transform: translateX(-9%) translateY(-20%) scale(1.25); opacity: 0; }
}
@keyframes particleRise {
  0%   { transform: translateY(0) translateX(0) scale(1);        opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .4; }
  100% { transform: translateY(-90px) translateX(14px) scale(.3); opacity: 0; }
}
@keyframes particleRise2 {
  0%   { transform: translateY(0) translateX(0) scale(1);         opacity: 0; }
  10%  { opacity: .8; }
  90%  { opacity: .2; }
  100% { transform: translateY(-70px) translateX(-10px) scale(.3); opacity: 0; }
}
@keyframes haloBreath {
  0%,100% { transform: translate(-50%,-50%) scale(1);    opacity: .25; }
  50%      { transform: translate(-50%,-50%) scale(1.07); opacity: .45; }
}
@keyframes haloBreath2 {
  0%,100% { transform: translate(-50%,-50%) scale(1);    opacity: .12; }
  50%      { transform: translate(-50%,-50%) scale(1.12); opacity: .28; }
}
@keyframes raysExpand {
  0%   { transform: translate(-50%,-50%) scale(.25); opacity: 0; }
  8%   { opacity: .9; }
  60%  { opacity: .35; }
  100% { transform: translate(-50%,-50%) scale(1.6);  opacity: 0; }
}
@keyframes emergeFromFog {
  0%   { opacity: 0; letter-spacing: .5em; filter: blur(8px); }
  60%  { filter: blur(1px); }
  100% { opacity: 1; letter-spacing: .2em; filter: blur(0); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bloodLineIn {
  from { transform: scaleY(0); opacity: 0; }
  to   { transform: scaleY(1); opacity: 1; }
}
@keyframes goldenExpand {
  from { width: 0; opacity: 0; }
  to   { width: 100%; opacity: 1; }
}
@keyframes textGlowPulse {
  0%,100% { text-shadow: 0 0 16px rgba(232,200,74,.35), 0 0 4px rgba(167,139,250,.1); }
  50%      { text-shadow: 0 0 36px rgba(232,200,74,.7),  0 0 60px rgba(167,139,250,.2), 0 0 80px rgba(232,200,74,.15); }
}
@keyframes subtleGold {
  0%,100% { text-shadow: 0 0 12px rgba(232,200,74,.3); }
  50%      { text-shadow: 0 0 22px rgba(232,200,74,.55); }
}
@keyframes lightSweep {
  0%         { transform: translateX(-160%) skewX(-20deg); opacity: 0; }
  4%         { opacity: 1; }
  22%        { opacity: .7; }
  38%        { transform: translateX(160%) skewX(-20deg); opacity: 0; }
  100%       { transform: translateX(-160%) skewX(-20deg); opacity: 0; }
}
@keyframes lightSweep2 {
  0%, 60%    { transform: translateX(-160%) skewX(-15deg); opacity: 0; }
  62%        { opacity: .5; }
  74%        { opacity: .3; }
  85%        { transform: translateX(160%) skewX(-15deg); opacity: 0; }
  100%       { transform: translateX(-160%) skewX(-15deg); opacity: 0; }
}
@keyframes flareOrbit {
  from { transform: translate(-50%,-50%) rotate(0deg)   translateX(190px) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(360deg) translateX(190px) rotate(-360deg); }
}

/* -----------------------------------------------------------------
   リセット・ベース
   ----------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background-color: var(--col-void);
  color: var(--col-text-main);
  font-family: var(--font-mincho);
  line-height: 1.9;
  letter-spacing: .08em;
  overflow-x: hidden;
  padding-top: 72px;
}

/* 和紙ノイズオーバーレイ */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: 9999; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -----------------------------------------------------------------
   ヘッダー
   ----------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: linear-gradient(to bottom, rgba(8,7,7,.97) 70%, rgba(8,7,7,0));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(184,151,66,.12);
  box-shadow: 0 2px 40px rgba(0,0,0,.6);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.header__logo {
  display: flex; align-items: baseline; gap: .5em;
  text-decoration: none; flex-shrink: 0; line-height: 1;
  transition: opacity .3s;
}
.header__logo:hover { opacity: .8; }
.header__logo-main {
  font-size: 1.35rem; font-weight: 700; letter-spacing: .12em;
  color: var(--col-gold); text-shadow: 0 0 18px rgba(184,151,66,.45);
  white-space: nowrap;
  animation: textGlowPulse 4s ease-in-out infinite;
}
.header__logo-main em {
  font-style: normal; color: var(--col-text-sub);
  font-size: .7em; letter-spacing: .08em; font-weight: 400;
}
.header__logo-sep {
  width: 1px; height: 1em;
  background: rgba(184,151,66,.35);
  align-self: center; flex-shrink: 0;
}
.header__logo-sub {
  font-size: .72rem; font-weight: 400;
  letter-spacing: .18em; color: var(--col-text-sub); white-space: nowrap;
}

/* ナビゲーション */
.nav__list { display: flex; list-style: none; gap: 24px; }
.nav__link {
  color: var(--col-text-sub); text-decoration: none;
  font-size: .85rem; letter-spacing: .08em;
  transition: color .3s, letter-spacing .3s;
  position: relative; padding-bottom: 3px;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0;
  background: linear-gradient(to right, var(--col-blood), var(--col-gold));
  box-shadow: 0 0 6px rgba(184,151,66,.6);
  transition: width .35s ease;
}
.nav__link span {
  display: block; font-size: .65rem;
  color: rgba(184,151,66,.5); text-align: center;
  letter-spacing: .2em; transition: color .3s;
}
.nav__link:hover { color: var(--col-gold); letter-spacing: .14em; }
.nav__link:hover::after { width: 100%; }
.nav__link:hover span  { color: var(--col-gold); }

/* -----------------------------------------------------------------
   メインレイアウト
   ----------------------------------------------------------------- */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 60px 0;
}

/* -----------------------------------------------------------------
   記事エリア
   ----------------------------------------------------------------- */
.content-section {
  margin-bottom: 60px;
  position: relative;
}
.content-section::before {
  content: '';
  position: absolute;
  left: -24px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--col-blood) 20%, var(--col-blood) 80%, transparent);
  opacity: 0;
  animation: bloodLineIn 1s ease-out forwards;
  transform-origin: top;
}
.content-section h2 {
  font-size: 1.8rem; color: var(--col-gold);
  padding-bottom: 14px; margin-bottom: 24px;
  letter-spacing: .1em; position: relative;
  animation: textGlowPulse 5s ease-in-out infinite;
}
.content-section h2::after {
  content: ''; position: absolute; bottom: 0; left: 0; height: 1px;
  background: linear-gradient(to right, var(--col-blood), var(--col-gold), rgba(167,139,250,.4), transparent);
  box-shadow: 0 0 10px rgba(232,200,74,.5);
  animation: goldenExpand 1.2s ease-out forwards;
}
.content-section h3 {
  font-size: 1.2rem; color: var(--col-text-main);
  margin: 32px 0 16px; padding: 8px 14px;
  border-left: 3px solid var(--col-gold);
  background: linear-gradient(to right, rgba(167,139,250,.08), transparent);
  transition: border-color .3s, background .3s;
}
.content-section h3:hover {
  border-left-color: var(--col-spirit);
  background: linear-gradient(to right, rgba(167,139,250,.15), transparent);
}
.content-section p {
  margin-bottom: 20px; text-align: justify;
  color: var(--col-text-main); line-height: 2;
}

/* インライン装飾クラス — 全種類（ダークテーマ調整済み）
   ----------------------------------------------------------------- */

/* テキスト色 */
.FontBlueClass       { color: #7ec8e3; }                        /* 水色：霊能者Ｋ氏発言 */
.FontRedClass        { color: #f07060; }                        /* 朱赤：重要注意・警告 */
.FontPinkClass       { color: #f0a0c0; }                        /* 桜色：柔らかい強調 */
.FontPurpleClass     { color: #c39bf5; }                        /* 薄紫：神秘的な内容 */
.FontGreenClass      { color: #7ecf8a; }                        /* 緑：管理人発言 */
.FontLightGreenClass { color: #a8e6b0; }                        /* 淡緑：補足情報 */
.FontOrangeClass     { color: #e8a060; }                        /* 橙：特記事項 */
.FontBrownClass      { color: var(--col-gold); }                /* 金：神仏・稲荷発言 */
.FontYellowClass     { color: #f0d868; }                        /* 黄金：タイトル強調 */

/* テキスト装飾 */
.FontBoldClass       { font-weight: 700; }                      /* 太字 */
.FontBigClass        { font-size: 1.15rem; font-weight: 600; }  /* 大きめ */
.FontUnderBarClass   { text-decoration: underline; text-underline-offset: 3px; }
.FontTorikeshiClass  { text-decoration: line-through; opacity: .7; }

/* ブロック装飾 */
/* お知らせ・注意書きボックス */
.DivPinkClass {
  background: linear-gradient(135deg, rgba(192,57,43,.12), rgba(192,57,43,.05));
  border-left: 3px solid var(--col-blood);
  border: 1px solid rgba(192,57,43,.25);
  border-left-width: 3px;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 2px;
}

/* カード形式コンテンツ（オフ会・オラクルカード等） */
.DivCardClass {
  background: linear-gradient(135deg, rgba(167,139,250,.08), rgba(232,200,74,.05));
  border: 1px solid rgba(167,139,250,.25);
  border-left: 3px solid var(--col-spirit);
  padding: 18px 20px;
  margin-bottom: 20px;
  border-radius: 2px;
}
.DivCardClass p { margin-bottom: 10px; }
.DivCardClass p:last-child { margin-bottom: 0; }
.DivCardClass img {
  border: 1px solid rgba(167,139,250,.3);
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
  margin: 8px 4px;
}

/* -----------------------------------------------------------------
   Q&Aグリッド（index専用・共通定義）
   ----------------------------------------------------------------- */
.qalist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px; list-style: none; margin-top: 20px;
}
.qalist li { min-width: 0; }
.qalist li a {
  display: block; padding: 10px 8px;
  background-color: var(--col-deep);
  border: 1px solid rgba(255,255,255,.02);
  color: var(--col-text-main); text-decoration: none;
  font-size: .85rem; transition: all .3s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  width: 100%; box-sizing: border-box;
}
.qalist li a:hover {
  border-color: var(--col-gold);
  background: linear-gradient(135deg, rgba(184,151,66,.08), rgba(138,24,24,.05));
  color: var(--col-gold);
  box-shadow: 0 0 12px rgba(184,151,66,.15), inset 0 0 12px rgba(184,151,66,.04);
  letter-spacing: .09em;
}

/* -----------------------------------------------------------------
   Q&Aブロック（reinousha系ページ用）
   ----------------------------------------------------------------- */
.questionClass {
  background: linear-gradient(135deg, rgba(192,57,43,.12), rgba(192,57,43,.05));
  padding: 18px 20px; border-left: 3px solid var(--col-blood);
  margin-bottom: 3px; position: relative; overflow: hidden;
}
.questionClass::before {
  content: 'Q'; position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%); font-size: 3.5rem; font-weight: 800;
  color: rgba(192,57,43,.08); line-height: 1;
}
.questionClass h4 { color: #f07060; font-size: .88rem; letter-spacing: .15em; margin-bottom: 8px; font-weight: 600; }
.questionClass p  { color: var(--col-text-main); margin: 0; }

.answerClass {
  background: linear-gradient(135deg, rgba(232,200,74,.08), rgba(167,139,250,.05));
  padding: 18px 20px; border-left: 3px solid var(--col-gold);
  margin-bottom: 28px; position: relative; overflow: hidden;
}
.answerClass::before {
  content: 'A'; position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%); font-size: 3.5rem; font-weight: 800;
  color: rgba(232,200,74,.07); line-height: 1;
}
.answerClass h4 { color: var(--col-gold); font-size: .88rem; letter-spacing: .15em; margin-bottom: 8px; font-weight: 600; }
.answerClass p  { color: var(--col-text-main); margin: 0; }

/* -----------------------------------------------------------------
   サイドバー
   ----------------------------------------------------------------- */
.sub-sidebar {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid rgba(184,151,66,.30);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.8),
    inset 0 0 0 1px rgba(184,151,66,.06),
    0 8px 40px rgba(0,0,0,.6),
    0 0 60px rgba(184,151,66,.04);
}
.sub-nav-block {
  position: relative;
  background: linear-gradient(180deg, #1c1816 0%, #141210 100%);
  padding: 0;
  border-bottom: 1px solid rgba(184,151,66,.15);
  overflow: hidden; transition: background .3s;
}
.sub-nav-block:last-child { border-bottom: none; }
.sub-nav-block:hover { background: linear-gradient(180deg, #201e1a 0%, #181512 100%); }
.sub-nav-block::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, transparent 0%, var(--col-blood) 20%, var(--col-blood) 80%, transparent 100%);
  opacity: .45; transition: opacity .35s, box-shadow .35s;
}
.sub-nav-block:hover::before { opacity: 1; box-shadow: 2px 0 12px rgba(138,24,24,.5); }
.sub-nav-block h2 {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; font-weight: 700; letter-spacing: .22em;
  color: #f0d868;
  padding: 13px 14px 12px 16px; margin: 0;
  background: linear-gradient(to right, rgba(232,200,74,.15) 0%, rgba(167,139,250,.05) 60%, transparent 100%);
  border-bottom: 1px solid rgba(232,200,74,.2);
  text-shadow: 0 0 20px rgba(232,200,74,.5), 0 0 40px rgba(167,139,250,.15);
  cursor: default;
  animation: subtleGold 4s ease-in-out infinite;
}
.sub-nav-block h2::after {
  content: '⊕'; flex-shrink: 0; font-size: .6rem;
  color: rgba(167,139,250,.5); line-height: 1;
}
.sub-submenu { list-style: none; padding: 6px 0 10px; }
.sub-submenu li { margin: 0; }
.sub-submenu a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 16px;
  color: #c8bfb0; text-decoration: none;
  font-size: .92rem; letter-spacing: .07em; line-height: 1.5;
  transition: color .22s, background .22s, padding-left .22s;
}
.sub-submenu a::before {
  content: '—'; flex-shrink: 0; font-size: .62rem;
  color: rgba(184,151,66,.35); letter-spacing: 0;
  transition: color .22s, transform .22s; line-height: 1;
}
.sub-submenu a:hover {
  color: #e8d48a;
  background: linear-gradient(to right, rgba(184,151,66,.10), rgba(184,151,66,.03) 80%, transparent);
  padding-left: 20px;
}
.sub-submenu a:hover::before { color: var(--col-gold); transform: scaleX(1.4); }

/* 準備中リンク */
.sub-submenu a[href="junbichu.html"] { color: #5a5248; font-style: italic; }
.sub-submenu a[href="junbichu.html"]::before { content: '···'; color: rgba(184,151,66,.2); letter-spacing: -.1em; }
.sub-submenu a[href="junbichu.html"]:hover { color: #7a7268; background: rgba(255,255,255,.015); padding-left: 16px; }

/* 現在ページ強調（reinousha系で使用） */
.sub-submenu a.current-page { color: var(--col-gold); background: linear-gradient(to right, rgba(232,200,74,.08), transparent); }
.sub-submenu a.current-page::before { color: var(--col-gold); }

/* アコーディオン label */
.sub-nav-block label { display: block; cursor: pointer; }

/* -----------------------------------------------------------------
   フッター
   ----------------------------------------------------------------- */
.footer {
  background: linear-gradient(to top, #050408, #0a0814);
  padding: 40px 0;
  border-top: 1px solid rgba(192,57,43,.25);
  text-align: center; font-size: .8rem; color: var(--col-text-sub);
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(to right, transparent, var(--col-gold), transparent);
  box-shadow: 0 0 10px rgba(232,200,74,.3);
}
.footer a { color: var(--col-text-sub); text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--col-gold); }

/* -----------------------------------------------------------------
   スクロール演出
   ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* -----------------------------------------------------------------
   レスポンシブ
   ----------------------------------------------------------------- */
/* デスクトップ: アコーディオン無効・全展開 */
@media (min-width: 901px) {
  .sub-nav-block input[type="checkbox"],
  .sub-nav-block label { display: contents; cursor: default; }
  .sub-nav-block .sub-submenu { max-height: none !important; padding: 6px 0 10px !important; }
  .sub-nav-block h2::after { content: '⊕' !important; }
}

@media (max-width: 900px) {
  body { padding-top: 60px; }
  .header__inner { padding: 0 12px; height: 60px; }
  .header__logo-sub { display: none; }
  .header__logo-sep { display: none; }
  .header__logo-main { font-size: 1.1rem; }
  .nav__list { gap: 12px; }
  .nav__link { font-size: .75rem; }
  .main-layout { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .sub-sidebar { order: -1; }
  main { order: 0; }
  .sub-nav-block { border-bottom: 1px solid rgba(184,151,66,.15); }
  .sub-nav-block input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
  .sub-nav-block h2 { cursor: pointer; user-select: none; }
  .sub-nav-block h2::after { content: '＋'; font-size: .75rem; color: rgba(184,151,66,.55); transition: transform .3s; }
  .sub-nav-block input:checked ~ h2::after { content: '－'; }
  .sub-nav-block .sub-submenu { max-height: 0; overflow: hidden; padding: 0; transition: max-height .4s ease, padding .3s ease; }
  .sub-nav-block input:checked ~ .sub-submenu { max-height: 600px; padding: 6px 0 10px; }
  .sub-nav-block--top .sub-submenu { max-height: none !important; padding: 6px 0 10px !important; }
  .sub-nav-block--top h2::after { display: none; }
  .qalist { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .nav__list { gap: 8px; }
  .qalist { grid-template-columns: 1fr; }
}

/* =================================================================
   管理人交代告知ブロック
   ================================================================= */

@keyframes adminGlowPulse {
  0%,100% {
    box-shadow:
      0 0 30px rgba(232,200,74,.25),
      0 0 60px rgba(167,139,250,.1),
      inset 0 0 30px rgba(232,200,74,.05);
  }
  50% {
    box-shadow:
      0 0 50px rgba(232,200,74,.45),
      0 0 100px rgba(167,139,250,.2),
      inset 0 0 50px rgba(232,200,74,.1);
  }
}

@keyframes adminBadgePulse {
  0%,100% { transform: scale(1);    box-shadow: 0 0 12px rgba(232,200,74,.5); }
  50%      { transform: scale(1.04); box-shadow: 0 0 24px rgba(232,200,74,.8); }
}

@keyframes adminLineExpand {
  from { width: 0; opacity: 0; }
  to   { width: 100%; opacity: 1; }
}

/* 告知ブロック全体 */
.admin-change-banner {
  position: relative;
  margin: 0 0 40px;
  padding: 32px 36px 28px;
  background:
    linear-gradient(135deg,
      rgba(26,22,40,.95) 0%,
      rgba(19,16,30,.98) 60%,
      rgba(13,11,20,1)   100%
    );
  border: 1px solid rgba(232,200,74,.35);
  border-top: 3px solid var(--col-gold);
  animation: adminGlowPulse 4s ease-in-out infinite;
  overflow: hidden;
}

/* 背景の霊光グラデーション */
.admin-change-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 80% at 15% 50%,
    rgba(167,139,250,.07) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* 右奥の金の光芒 */
.admin-change-banner::after {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 180px; height: 180px;
  background: radial-gradient(
    circle,
    rgba(232,200,74,.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* 「管理人交代」バッジ */
.admin-change-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--col-gold-dim), var(--col-gold));
  color: #0d0b14;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .3em;
  padding: 5px 16px;
  margin-bottom: 18px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  animation: adminBadgePulse 3s ease-in-out infinite;
}

/* 新管理人名 */
.admin-change-name {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: .2em;
  color: #f0e08a;
  text-shadow:
    0 0 30px rgba(232,200,74,.6),
    0 0 60px rgba(232,200,74,.2);
  margin-bottom: 6px;
  line-height: 1.3;
}

.admin-change-name span {
  font-size: .55em;
  letter-spacing: .3em;
  color: rgba(224,212,255,.7);
  display: block;
  font-weight: 400;
  text-shadow: 0 0 16px rgba(167,139,250,.5);
  margin-bottom: 4px;
}

/* 区切り線 */
.admin-change-rule {
  height: 1px;
  background: linear-gradient(to right, var(--col-blood), var(--col-gold), rgba(167,139,250,.4), transparent);
  box-shadow: 0 0 8px rgba(232,200,74,.3);
  margin: 16px 0;
  animation: adminLineExpand 1.2s ease-out forwards;
}

/* 本文テキスト */
.admin-change-body {
  position: relative;
  z-index: 1;
  color: var(--col-text-main);
  font-size: .92rem;
  line-height: 2;
}

.admin-change-body p {
  margin-bottom: 10px;
}
.admin-change-body p:last-child { margin-bottom: 0; }

/* 前管理人への敬辞 */
.admin-change-prev {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 2px solid rgba(167,139,250,.4);
  background: rgba(167,139,250,.05);
  font-size: .82rem;
  color: rgba(200,192,216,.8);
  font-style: italic;
  letter-spacing: .06em;
}

@media (max-width: 600px) {
  .admin-change-banner { padding: 22px 18px 20px; }
  .admin-change-name   { font-size: 1.5rem; }
}
