/* =====================================================================
   修道社 - 『生命物語』公式・創作コミュニティ
   聖堂テーマ：象牙のベージュ × 深紅の祭服 × 金の祭具 × 十字架
   見た目はエレガントな大聖堂、中身はFlex/Gridの完全レスポンシブ。
   PCは3カラム（左：広告／中央：本文／右：大メニュー）、スマホは1カラム。
   ===================================================================== */
/* ---- パレット ----
   深紅（緋の祭服）   #0f0f0f / 濃 #333333 / 明 #0f0f0f
   薔薇紅（可憐）     #606060
   金（祭具・燭台）   #e5e5e5 / 明金 #e5e5e5
   象牙（聖堂の壁）   #f9f9f9 / 明 #ffffff
   羊皮紙             #f2f2f2
   文字（黒檀）       #0f0f0f
*/
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: #f9f9f9;
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(0,0,0, .35), transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(0,0,0, .05), transparent 70%);
  background-attachment: fixed;
  color: #0f0f0f;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: #0f0f0f; }
a:hover { color: #606060; }
img { max-width: 100%; height: auto; }
.mono { font-family: "Courier New", monospace; }

/* =====================================================================
   3カラムレイアウト（PC）：左=広告塔／中央=本文／右=大メニュー
   ===================================================================== */
.layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 320px;
  gap: 22px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 18px;
  align-items: start;
}
.main-col { min-width: 0; }
.wrap { max-width: 100%; margin: 0 auto; padding: 0 0 60px; }
.side { position: sticky; top: 8px; padding: 14px 0 40px; }
.side-title {
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f);
  border: 1px solid #333333; border-top-color: #e5e5e5;
  box-shadow: 0 0 0 1px #e5e5e5;
  color: #ffffff; font-size: 12px; font-weight: bold; letter-spacing: .12em;
  text-align: center; padding: 5px 8px; margin: 14px 0 8px; border-radius: 2px;
}
.side-title::before { content: "\271D\00A0"; color: #606060; }

/* 広告スロット（左カラム：横長の小バナー置き場） */
.ad-stack { display: flex; flex-direction: column; gap: 8px; }
.ad-slot {
  width: 100%; min-height: 52px;
  background: #ffffff;
  border: 1px dashed #e5e5e5;
  color: #b09a72; font-size: 10.5px; letter-spacing: .1em;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 6px; text-decoration: none; border-radius: 2px;
}
.ad-slot:hover { background: #f2f2f2; color: #0f0f0f; }
.ad-slot img { display: block; width: 100%; height: auto; }
.ad-note { font-size: 10px; color: #b09a72; text-align: center; margin: 4px 0 0; }

/* 右カラム：大メニュー */
.side-menu { background: #ffffff; border: 1px solid #e5e5e5; border-radius: 2px; box-shadow: 1px 2px 0 #e5e5e5; }
.side-menu a {
  display: block; padding: 7px 12px; font-size: 12.5px; color: #5e4438;
  text-decoration: none; border-bottom: 1px dashed #e5e5e5;
}
.side-menu a:last-child { border-bottom: none; }
.side-menu a:hover { background: #f2f2f2; color: #0f0f0f; }
.side-menu a b { color: #0f0f0f; }
.side-mini { font-size: 11px; color: #606060; line-height: 1.7; padding: 8px 10px; background: #ffffff; border: 1px solid #e5e5e5; border-radius: 2px; }

@media (max-width: 1280px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  /* 右の大メニューはハンバーガーに集約するので隠す */
  .side-right { display: none; }
  /* 左の広告塔は本文の下にカードとして表示 */
  .side-left {
    position: static; order: 9;
    margin: 18px 10px 0; padding: 12px 12px 14px;
    background: #ffffff; border: 1px solid #e5e5e5; border-radius: 10px;
  }
  .side-left .side-title { text-align: center; margin-bottom: 10px; }
  /* バナーは中央寄せの縦積み・幅をそろえる */
  .side-left .ad-stack {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
  }
  .side-left .ad-slot {
    width: 100%; max-width: 320px; margin: 0; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center;
    min-height: 48px; text-align: center;
  }
  .side-left .ad-slot img { width: auto; max-width: 100%; height: auto; }
  .side-left .side-mini, .side-left .ad-note { text-align: center; max-width: 320px; margin-left: auto; margin-right: auto; }
  .side-left .side-title + .ad-stack { margin-bottom: 6px; }
}

/* =====================================================================
   サイトヘッダー：大聖堂のファサード
   ===================================================================== */
.site-top {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(0,0,0, .3), transparent 70%),
    linear-gradient(180deg, #ffffff, #f9f9f9);
  border-bottom: 3px double #0f0f0f;
  box-shadow: 0 1px 0 #e5e5e5, 0 2px 0 #f2f2f2;
  padding: 18px 10px 12px;
  position: relative;
}
.site-top::before {
  content: "\271D";
  display: block;
  font-size: 20px; line-height: 1;
  color: #0f0f0f;
  text-shadow: 0 1px 0 #e5e5e5, 0 0 14px rgba(0,0,0, .6);
  margin-bottom: 2px;
}
.site-top .logo {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 32px; letter-spacing: .4em; color: #0f0f0f;
  text-shadow: 1px 1px 0 #ffffff, 2px 2px 0 #e5e5e5;
  margin: 0;
}
.site-top .logo a { color: #0f0f0f; text-decoration: none; }
.site-top .sub { font-size: 12px; color: #606060; letter-spacing: .26em; margin: 2px 0 0; }
.site-top .sub::before, .site-top .sub::after { content: "\2014\00A0\2720\00A0\2014"; color: #fff; margin: 0 8px; }
.site-top .counter {
  display: inline-block; margin-top: 7px; font-size: 12px; color: #606060;
  background: #ffffff; border: 1px solid #e5e5e5; border-radius: 2px; padding: 2px 14px;
  box-shadow: inset 0 0 0 2px #f9f9f9;
}
.site-top .counter b { font-family: "Courier New", monospace; color: #0f0f0f; letter-spacing: 2px; }

/* お知らせティッカー：緋のリボン */
.ticker {
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f);
  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #333333;
  box-shadow: 0 1px 0 #e5e5e5;
  overflow: hidden; white-space: nowrap; font-size: 13px; color: #ffffff;
}
.ticker span {
  display: inline-block; padding: 5px 0; padding-left: 100%;
  animation: tick 26s linear infinite;
  text-shadow: 0 1px 2px rgba(70, 8, 28, .5);
}
@keyframes tick { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ナビ：聖堂の回廊 */
.retro-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
  background: #ffffff; border-bottom: 2px solid #e5e5e5;
  box-shadow: 0 1px 0 #f2f2f2;
  padding: 8px 6px;
  font-size: 13px;
}
.retro-nav a {
  text-decoration: none; padding: 5px 11px; border-radius: 2px;
  border: 1px solid transparent; white-space: nowrap; color: #5e4438;
}
.retro-nav a:hover, .retro-nav a.active {
  background: #f2f2f2; border-color: #e5e5e5; color: #0f0f0f;
}
.retro-nav a.nav-post {
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f); color: #ffffff;
  border: 1px solid #e5e5e5; font-weight: bold;
  box-shadow: 0 0 0 1px #0f0f0f;
}
.retro-nav a.nav-post:hover { background: linear-gradient(180deg, #0f0f0f, #0f0f0f); }
.retro-nav a.nav-mypage {
  background: #ffffff; color: #0f0f0f; border: 1px solid #e5e5e5; font-weight: bold;
}
.retro-nav a.nav-mypage:hover { background: #f2f2f2; }
.retro-nav a.nav-official {
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f) !important;
  color: #ffffff !important; border: 1px solid #e5e5e5 !important; font-weight: bold;
}
.retro-nav a.nav-official::before { content: "\271D\00A0"; color: #606060; font-weight: normal; }
.retro-nav a.nav-official:hover { background: linear-gradient(180deg, #0f0f0f, #0f0f0f) !important; }
.login-line { text-align: center; font-size: 12px; color: #606060; background: #ffffff; padding: 4px 8px 8px; border-bottom: 1px solid #e5e5e5; }

/* =====================================================================
   見出し・パネル：祭壇と羊皮紙
   ===================================================================== */
.bar {
  background: linear-gradient(180deg, #0f0f0f 0%, #0f0f0f 60%, #333333 100%);
  border: 1px solid #333333; border-top: 1px solid #e5e5e5;
  box-shadow: 0 0 0 1px #e5e5e5, 2px 2px 0 1px #e5e5e5;
  border-radius: 2px;
  color: #ffffff; font-weight: bold; font-size: 15px;
  padding: 7px 14px; margin: 26px 0 12px;
  text-shadow: 0 1px 2px rgba(70, 8, 28, .55);
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px;
}
.bar > span:first-child::before { content: "\271D\00A0"; color: #606060; font-weight: normal; }
.bar .more { font-size: 12px; font-weight: normal; }
.bar a { color: #f2f2f2; }
.bar a:hover { color: #fff; }

.panel {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  outline: 1px solid #e5e5e5; outline-offset: 2px;
  border-radius: 2px;
  box-shadow: 2px 2px 0 #e5e5e5;
  padding: 14px 16px; margin-bottom: 14px;
}
.panel.dotted { border-style: dashed; }

/* トップバナー：祭壇画の額 */
.top-banner {
  border: 1px solid #e5e5e5; outline: 3px double #0f0f0f; outline-offset: 4px;
  background: #ffffff; padding: 6px; margin: 18px 0 8px;
  text-align: center; border-radius: 2px;
}
.top-banner img { display: block; width: 100%; border: 1px solid #e5e5e5; }
.top-banner .caption { font-size: 12px; color: #606060; padding: 6px 2px 1px; letter-spacing: .06em; }

.blink { animation: blink 1.1s step-start infinite; color: #606060; font-weight: bold; }
@keyframes blink { 50% { opacity: 0; } }

/* =====================================================================
   サムネイルギャラリー：聖画の小窓
   ===================================================================== */
.thumb-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.thumb-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  outline: 1px solid #e5e5e5; outline-offset: 2px;
  border-radius: 3px;
  box-shadow: 2px 2px 0 #e5e5e5;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow .15s;
}
.thumb-card:hover {
  background: #ffffff; text-decoration: none;
  box-shadow: 0 0 0 2px #e5e5e5, 0 0 14px rgba(0,0,0, .45);
}
.thumb-card .frame {
  position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden;
  border-bottom: 1px solid #e5e5e5;
  background: linear-gradient(135deg, #f9f9f9, #ffffff 50%, #f2f2f2);
}
.thumb-card .frame img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.t-badge {
  position: absolute; left: 0; top: 0; color: #fff; font-size: 10px; padding: 1px 8px;
  border-bottom-right-radius: 8px; opacity: .96;
  border-bottom: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5;
}
.t-bgm {
  position: absolute; right: 3px; bottom: 3px;
  background: rgba(0,0,0, .85); color: #f2f2f2;
  border: 1px solid #e5e5e5;
  font-size: 10px; padding: 0 6px; border-radius: 8px;
}
.t-cmt {
  position: absolute; left: 3px; bottom: 3px;
  background: rgba(253, 250, 243, .92); color: #606060;
  border: 1px solid #e5e5e5;
  font-size: 9.5px; padding: 0 6px; border-radius: 8px; white-space: nowrap;
}
.t-new {
  position: absolute; right: 3px; top: 3px;
  background: #ffffff; color: #0f0f0f; border: 1px solid #e5e5e5;
  font-size: 9px; font-weight: bold; padding: 1px 6px; border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0, .55);
}
.thumb-card .t-title {
  display: block; padding: 6px 7px 2px; font-size: 12px; font-weight: bold; color: #5e2a3a;
  line-height: 1.35; word-break: break-word;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}
.thumb-card .t-author { padding: 0 7px 7px; font-size: 11px; color: #a2826a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 700px) {
  .thumb-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}

/* ---- タグ・チップ：金縁の聖標 ---- */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag {
  background: #ffffff; border: 1px solid #e5e5e5; border-radius: 11px;
  color: #0f0f0f; font-size: 12px; padding: 3px 12px; text-decoration: none;
  box-shadow: inset 0 0 0 1px #f9f9f9;
}
.ptag:hover { background: #f2f2f2; text-decoration: none; }
.ptag.on {
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f);
  border-color: #e5e5e5; color: #ffffff;
  box-shadow: 0 0 6px rgba(0,0,0, .45);
}

/* ---- ボタン：聖具 ---- */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  background: linear-gradient(180deg, #ffffff, #f2f2f2);
  border: 1px solid #e5e5e5; border-radius: 3px;
  color: #0f0f0f; font-family: inherit; font-size: 14px; font-weight: bold;
  padding: 8px 18px;
  box-shadow: inset 0 0 0 1px #ffffff, 1px 1px 0 #e5e5e5;
}
.btn:hover { background: #f2f2f2; color: #333333; text-decoration: none; box-shadow: 0 0 0 1px #e5e5e5; }
.btn.primary {
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f);
  border-color: #e5e5e5; color: #ffffff;
  box-shadow: 0 0 0 1px #0f0f0f, 1px 1px 0 #e5e5e5;
}
.btn.primary:hover { background: linear-gradient(180deg, #0f0f0f, #0f0f0f); color: #fff; }
.btn.small { font-size: 12px; padding: 4px 12px; font-weight: normal; }
.btn.gray { color: #606060; border-color: #c8b89e; background: linear-gradient(180deg, #ffffff, #f9f9f9); }
.btn.danger { color: #ffffff; background: linear-gradient(180deg, #b03030, #8a1f1f); border-color: #e5e5e5; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---- フォーム：写本台 ---- */
.form-table { width: 100%; border-collapse: collapse; }
.form-table th {
  width: 170px; text-align: left; vertical-align: top;
  background: #f2f2f2; border: 1px solid #e0cfae;
  color: #6e3a2a; font-size: 13px; padding: 10px 12px;
}
.form-table td { border: 1px solid #e0cfae; padding: 10px 12px; background: #ffffff; }
input[type=text], input[type=password], select, textarea {
  width: 100%; max-width: 520px;
  background: #fffdf8; border: 1px solid #c8a87e; border-radius: 2px;
  color: #0f0f0f; font-family: inherit; font-size: 15px; padding: 8px 10px;
}
textarea { min-height: 110px; }
input[type=file] { font-size: 13px; max-width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid #e5e5e5; border-color: #0f0f0f; }
.note { font-size: 12px; color: #a2826a; margin-top: 4px; }
label.check { display: inline-flex; align-items: center; gap: 5px; margin: 0 12px 6px 0; font-size: 13.5px; white-space: nowrap; }
.error-box { background: #fbe9e7; border: 1px solid #d9a097; border-radius: 2px; color: #8a1f1f; font-size: 14px; padding: 9px 13px; margin: 10px 0; border-left: 4px solid #8a1f1f; }
.ok-box { background: #f3f7e9; border: 1px solid #b9cf9a; border-radius: 2px; color: #4a6a2a; font-size: 14px; padding: 9px 13px; margin: 10px 0; border-left: 4px solid #6a8a4a; }

/* ---- レス（祈りの記帳）＋アイコン＋管理人バッジ ---- */
.res-list { display: flex; flex-direction: column; gap: 0; }
.res-item { border-bottom: 1px dashed #e5e5e5; padding: 10px 4px; }
.res-item:last-child { border-bottom: none; }
.res-head { font-size: 12px; color: #a2826a; display: flex; flex-wrap: wrap; gap: 3px 10px; align-items: center; }
.res-name { color: #1f6b2a; font-weight: bold; font-size: 13.5px; }
.trip { color: #1f6b2a; font-size: 12px; font-family: "Courier New", monospace; }
.res-body { margin-top: 4px; font-size: 14.5px; word-break: break-word; }
.spoiler { background: #5a4a50; color: #5a4a50; border-radius: 2px; cursor: pointer; padding: 0 4px; }
.spoiler.revealed, .spoiler:hover { color: #fff; }

.author-chip { display: inline-flex; align-items: center; gap: 6px; }
.author-link { text-decoration: none; }
.author-link:hover .res-name { color: #0f0f0f; }
.mini-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid #e5e5e5; background: #ffffff; object-fit: cover;
  box-shadow: 0 0 0 1px #f9f9f9;
}
.owner-badge {
  display: inline-block;
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f);
  color: #f2f2f2; border: 1px solid #e5e5e5; border-radius: 9px;
  font-size: 10.5px; font-weight: bold; letter-spacing: .04em;
  padding: 0 8px; line-height: 1.7;
  box-shadow: 0 0 6px rgba(0,0,0, .5);
  text-shadow: none;
}

/* ---- 音楽室：聖歌隊席 ---- */
.music-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ---- 音楽室：詰めたリスト（Spotify風・カード枠なし） ---- */
.music-list2 { display: flex; flex-direction: column; gap: 14px; }
.m2-row {
  background: #fffdf8;
  border: 1px solid #e0cfae;
  border-left: 4px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 14px 10px;
  box-shadow: 0 1px 3px rgba(110,15,44,.08);
}
.m2-comment {
  font-size: 13px; color: #5e4438; margin: 9px 0 0; padding: 7px 11px;
  background: #f7f7f7; border-left: 3px solid #e5e5e5; border-radius: 0 4px 4px 0;
}
.m2-tags { margin: 9px 0 0; display: flex; flex-wrap: wrap; gap: 5px; }
.m2-tags .tag-mini { text-decoration: none; cursor: pointer; }
.m2-tags .tag-mini:hover { background: #f0dcc0; }
/* 作曲者・日付は曲に密着（上に区切り線、次の曲と混同しない） */
.m2-foot {
  margin: 9px 0 0; padding-top: 8px; border-top: 1px dashed #e5e5e5;
  font-size: 12px;
}
.m2-edit { margin-top: 8px; }
.m2-edit > summary { cursor: pointer; font-size: 12px; color: #0f0f0f; }
.music-item {
  background: #ffffff; border: 1px solid #e5e5e5;
  outline: 1px solid #e5e5e5; outline-offset: 2px;
  border-radius: 2px; box-shadow: 2px 2px 0 #e5e5e5;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 6px;
}
.music-title { font-weight: bold; color: #333333; font-size: 14.5px; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; }
.tag-mini { display: inline-block; background: #f2f2f2; border: 1px solid #e5e5e5; border-radius: 9px; color: #0f0f0f; font-size: 11px; padding: 0 8px; margin: 0 4px 4px 0; }
audio { width: 100%; height: 34px; }

/* =====================================================================
   聖堂デザイン・本格オーディオプレイヤー（.ca2／Spotify風カード）
   ジャケット＋再生・シーク・時間・ミュート。スマホ最適化。
   ===================================================================== */
.ca2 {
  display: flex; align-items: stretch; gap: 12px;
  background: linear-gradient(135deg, #fffdf8 0%, #f7efe0 100%);
  border: 1px solid #e5e5e5;
  outline: 1px solid #e5e5e5; outline-offset: 1px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(110,15,44,.12), inset 0 1px 0 #fffdf8;
  padding: 10px;
}
/* ジャケット（正方形・CD風） */
.ca2-cover {
  position: relative; flex-shrink: 0;
  width: 76px; height: 76px; border-radius: 8px; overflow: hidden;
  border: 1px solid #e5e5e5; box-shadow: 0 1px 4px rgba(70,8,28,.25);
  background: #0f0f0f;
}
.ca2-cover img, .ca2-cover .ca2-autocover { width: 100%; height: 100%; object-fit: cover; display: block; }
.ca2-coverbtn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; padding: 0;
  background: rgba(70,8,28,.32); color: #fff; opacity: 0; transition: opacity .15s;
}
.ca2-cover:hover .ca2-coverbtn, .ca2.is-playing .ca2-coverbtn { opacity: 1; }
.ca2-cover-ico { display: flex; align-items: center; justify-content: center; }
.ca2-coverbtn .ca-icon-pause { display: none; }
.ca2.is-playing .ca2-coverbtn .ca-icon-play { display: none; }
.ca2.is-playing .ca2-coverbtn .ca-icon-pause { display: flex; }
.ca2-kind {
  position: absolute; left: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(163,27,68,.92), rgba(138,21,56,.92));
  color: #f2f2f2; font-size: 9px; letter-spacing: .04em;
  padding: 1px 7px 1px 5px; border-top-right-radius: 8px; border-top: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5;
}

.ca2-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.ca2-head { line-height: 1.3; }
.ca2-title { font-weight: bold; color: #333333; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 14px; }
.ca2-by { font-size: 11px; color: #a2826a; margin-left: 6px; }

/* オーディオスペクトラム（canvas） */
.ca-spectrum {
  display: block; width: 100%; height: 34px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(138,21,56,.06), rgba(201,162,39,.04));
}

/* CSS図形アイコン（端末フォント非依存・豆腐化しない） */
.ca-ico { display: inline-block; }
.ca-ico-play {
  width: 0; height: 0; border-style: solid;
  border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor;
  margin-left: 2px;
}
.ca-ico-pause {
  width: 13px; height: 15px; position: relative;
}
.ca-ico-pause::before, .ca-ico-pause::after {
  content: ""; position: absolute; top: 0; width: 4px; height: 15px; background: currentColor; border-radius: 1px;
}
.ca-ico-pause::before { left: 1px; }
.ca-ico-pause::after { right: 1px; }
/* スピーカー（音あり／ミュート）をCSSで */
.ca-ico-vol, .ca-ico-muted { width: 16px; height: 14px; position: relative; }
.ca-ico-vol::before, .ca-ico-muted::before {
  content: ""; position: absolute; left: 0; top: 3px;
  border-style: solid; border-width: 4px 6px 4px 0; border-color: transparent currentColor transparent transparent;
}
.ca-ico-vol::after {
  content: ""; position: absolute; left: 8px; top: 1px; width: 5px; height: 10px;
  border: 2px solid currentColor; border-left: none; border-radius: 0 8px 8px 0;
}
.ca-ico-muted::after {
  content: ""; position: absolute; left: 7px; top: 0; width: 12px; height: 2px;
  background: currentColor; transform: rotate(45deg); transform-origin: left center;
}

.ca2-controls { display: flex; align-items: center; gap: 8px; }
.ca2-play {
  position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  border: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 35%, #b8264f, #0f0f0f 70%);
  color: #f2f2f2; box-shadow: 0 2px 6px rgba(110,15,44,.4), inset 0 1px 0 rgba(255,233,176,.4);
  transition: transform .12s, box-shadow .15s;
}
.ca2-play:hover { transform: scale(1.07); box-shadow: 0 3px 10px rgba(110,15,44,.5), 0 0 12px rgba(201,162,39,.55); }
.ca2-play:active { transform: scale(.95); }
.ca2-play .ca-icon-play, .ca2-play .ca-icon-pause { display: flex; align-items: center; justify-content: center; }
.ca2-play .ca-icon-pause { display: none; }
.ca2.is-playing .ca2-play .ca-icon-play { display: none; }
.ca2.is-playing .ca2-play .ca-icon-pause { display: flex; }
.ca2.is-playing .ca2-play { animation: ca2-glow 2.4s ease-in-out infinite; }
@keyframes ca2-glow {
  0%,100% { box-shadow: 0 2px 6px rgba(110,15,44,.4), inset 0 1px 0 rgba(255,233,176,.4); }
  50%     { box-shadow: 0 2px 6px rgba(110,15,44,.4), 0 0 16px rgba(231,207,142,.9); }
}

.ca2-cur, .ca2-dur { font-family: "Courier New", monospace; font-size: 11px; color: #8a6a55; flex-shrink: 0; min-width: 30px; text-align: center; }

/* シークバー：金レール×緋の充填、つまみは聖盤 */
.ca-seek { position: relative; flex: 1; min-width: 60px; height: 18px; display: flex; align-items: center; }
.ca-seek::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  height: 5px; border-radius: 3px; background: #e7d8bf; box-shadow: inset 0 1px 1px rgba(110,15,44,.15);
}
.ca-seek-fill {
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 5px; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, #0f0f0f, #606060); pointer-events: none;
}
.ca-seek-range { position: relative; width: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; height: 18px; cursor: pointer; }
.ca-seek-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 15px; height: 15px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fffdf8, #e5e5e5 70%, #e5e5e5);
  border: 1px solid #0f0f0f; box-shadow: 0 0 5px rgba(201,162,39,.75);
}
.ca-seek-range::-moz-range-thumb {
  width: 15px; height: 15px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fffdf8, #e5e5e5 70%, #e5e5e5);
  border: 1px solid #0f0f0f; box-shadow: 0 0 5px rgba(201,162,39,.75);
}
.ca-seek-range::-webkit-slider-runnable-track { background: transparent; }
.ca-seek-range::-moz-range-track { background: transparent; }

/* ミュート */
.ca2-mute {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid #e5e5e5; background: #ffffff; color: #0f0f0f; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.ca2-mute:hover { background: #f2f2f2; }
.ca2-mute .ca-ico-muted { display: none; }
.ca2.is-muted .ca2-mute .ca-ico-vol { display: none; }
.ca2.is-muted .ca2-mute .ca-ico-muted { display: inline-block; }
.ca2.is-muted .ca2-mute { color: #b08a72; }

/* music-list2 の行内ではプレイヤーの枠を消す（カードの二重枠を防ぐ） */
.m2-row .ca2 { border: none; outline: none; box-shadow: none; background: transparent; padding: 0; }

@media (max-width: 700px) {
  .ca2 { gap: 10px; padding: 9px; }
  .ca2-cover { width: 64px; height: 64px; }
  .ca2-play { width: 38px; height: 38px; }
  .ca2-cur, .ca2-dur { min-width: 26px; font-size: 10px; }
  .ca-spectrum { height: 28px; }
}
.muted { color: #a2826a; font-size: 12px; }

/* ---- 作品ビューア ---- */
.viewer-v { max-width: 100%; margin: 0 auto; }
.viewer-v img { display: block; width: 100%; border: 1px solid #e5e5e5; background: #fff; margin-bottom: 2px; }
.viewer-h { text-align: center; }
.viewer-h img { max-width: 100%; width: 100%; max-height: 90vh; cursor: pointer; border: 1px solid #e5e5e5; background: #fff; }

/* 漫画・作品閲覧ページ用ワイドラッパー（.wrapを上書き） */
.wrap.viewer-wrap,
.viewer-wrap { max-width: 1400px; margin: 0 auto; padding: 0 0 60px; }
.page-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }

/* ---- 聖堂デザインの再生バー（独自オーディオプレイヤー） ---- */
.cathedral-player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px 11px;
  color: #f2f2f2;
  background:
    radial-gradient(ellipse 50% 120% at 50% 0%, rgba(231,207,142,.18), transparent 70%),
    linear-gradient(180deg, #0f0f0f 0%, #0f0f0f 55%, #333333 100%);
  border-top: 2px solid #e5e5e5;
  box-shadow: 0 -1px 0 #e5e5e5, 0 -6px 18px rgba(70,8,28,.35);
}
.cathedral-player::before,                /* 左右に金の燭台ライン */
.cathedral-player::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #e5e5e5, transparent);
}
.cathedral-player::before { left: 0; }
.cathedral-player::after { right: 0; }

/* 再生トグル：金縁の聖盤。十字→再生記号がフェードで切替 */
.cp-toggle {
  position: relative; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid #e5e5e5;
  background: radial-gradient(circle at 50% 38%, #ffffff 0%, #f0c6d1 60%, #606060 100%);
  cursor: pointer; padding: 0;
  box-shadow: 0 0 0 3px rgba(110,15,44,.5), 0 0 12px rgba(201,162,39,.55);
  transition: transform .15s, box-shadow .15s;
}
.cp-toggle:hover { transform: scale(1.06); box-shadow: 0 0 0 3px rgba(110,15,44,.6), 0 0 18px rgba(231,207,142,.8); }
.cp-toggle .cp-cross, .cp-toggle .cp-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #0f0f0f; transition: opacity .2s;
}
.cp-toggle .cp-cross { font-size: 22px; opacity: 1; }
.cp-toggle .cp-play { font-size: 16px; opacity: 0; padding-left: 2px; }
.cathedral-player.playing .cp-toggle .cp-cross { opacity: 0; }
.cathedral-player.playing .cp-toggle .cp-play  { opacity: 0; }   /* 再生中は停止記号を出す */
.cathedral-player.playing .cp-toggle::after {
  content: "\25A0"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #0f0f0f; font-size: 15px;
}
.cathedral-player.playing .cp-toggle {
  background: radial-gradient(circle at 50% 38%, #fffdf8 0%, #e5e5e5 60%, #e5e5e5 100%);
  animation: cp-glow 2.4s ease-in-out infinite;
}
@keyframes cp-glow {
  0%,100% { box-shadow: 0 0 0 3px rgba(110,15,44,.5), 0 0 12px rgba(201,162,39,.5); }
  50%     { box-shadow: 0 0 0 3px rgba(110,15,44,.5), 0 0 22px rgba(231,207,142,.95); }
}

.cp-body { flex: 1; min-width: 0; }
/* 曲名：枠内に収まれば中央寄せ、はみ出れば流れる（マーキー） */
.cp-info {
  font-size: 13.5px; line-height: 1.5; overflow: hidden; white-space: nowrap;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; letter-spacing: .03em;
  text-shadow: 0 1px 2px rgba(70,8,28,.6);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}
.cp-info .cp-track { display: inline-block; padding-left: 0; will-change: transform; }
.cp-info.is-marquee .cp-track { animation: cp-marquee 11s linear infinite; }
@keyframes cp-marquee {
  0%   { transform: translateX(8px); }
  12%  { transform: translateX(8px); }       /* 最初に少し止めて読ませる */
  100% { transform: translateX(-100%); }
}
.cp-eqbar { height: 14px; margin-top: 1px; opacity: 0; transition: opacity .3s; }
.cathedral-player.playing .cp-eqbar { opacity: 1; }
.eq { color: #ffd98e; letter-spacing: -1px; font-family: monospace; font-size: 13px; }
.cp-ornament { flex-shrink: 0; color: #e5e5e5; font-size: 16px; opacity: .85; text-shadow: 0 0 8px rgba(201,162,39,.6); }

@media (max-width: 700px) {
  .cp-ornament { display: none; }
  .cp-toggle { width: 42px; height: 42px; }
  .cp-info { font-size: 13px; }
}

/* =====================================================================
   音声ピッカー（検索付き・大きめクラシックメニュー）
   ===================================================================== */
.cue-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cue-no {
  flex-shrink: 0; min-width: 56px; text-align: center;
  font-size: 12.5px; font-weight: bold; color: #ffffff;
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f);
  border: 1px solid #333333; box-shadow: 0 0 0 1px #e5e5e5;
  border-radius: 2px; padding: 5px 8px;
}
.cue-page { font-size: 12px; color: #606060; white-space: nowrap; }
.cue-pageno { width: 54px; max-width: 54px; text-align: center; display: inline-block; padding: 6px 4px; }

.sound-picker { position: relative; display: block; width: 100%; min-width: 0; flex: 1 1 240px; }
.sp-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  background: linear-gradient(180deg, #fffdf8, #f2f2f2);
  border: 1px solid #e5e5e5; border-radius: 3px;
  box-shadow: inset 0 0 0 1px #fffdf8, 0 1px 0 #e5e5e5;
  color: #5e2a3a; font-family: inherit; font-size: 14px; text-align: left;
  padding: 11px 14px; min-height: 46px; cursor: pointer;
}
.sp-trigger:hover { background: #f2f2f2; }
.sound-picker.is-open .sp-trigger { border-color: #0f0f0f; box-shadow: 0 0 0 2px rgba(201,162,39,.5); }
.sp-current { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex: 1; }
.sp-caret { color: #0f0f0f; flex-shrink: 0; transition: transform .15s; font-size: 12px; }
.sound-picker.is-open .sp-caret { transform: rotate(180deg); }

.sp-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70;
  background: #fffdf8;
  border: 1px solid #e5e5e5; outline: 3px double #0f0f0f; outline-offset: 2px;
  border-radius: 3px;
  box-shadow: 0 12px 30px rgba(70,8,28,.32);
}
.sp-menu::before {                         /* メニュー上辺の十字飾り */
  content: "\271D"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  color: #0f0f0f; font-size: 17px; text-shadow: 0 0 6px rgba(201,162,39,.7);
  background: #fffdf8; padding: 0 7px;
}
/* 検索ボックス（虫眼鏡アイコン付き・大きめ） */
.sp-search-wrap { position: relative; padding: 12px 12px 10px; border-bottom: 1px solid #e5e5e5; background: #f7f7f7; }
.sp-search-icon { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); font-size: 15px; color: #b08a52; pointer-events: none; }
.sp-search {
  width: 100%; max-width: 100%; box-sizing: border-box;
  background: #fff; border: 1px solid #c8a87e; border-radius: 3px;
  font-size: 15px; padding: 10px 12px 10px 38px; min-height: 44px;
  -webkit-appearance: none; appearance: none;
}
.sp-search::-webkit-search-cancel-button { -webkit-appearance: none; }
.sp-search:focus { outline: 2px solid #e5e5e5; border-color: #0f0f0f; }
.sp-list { list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sp-item {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 11px 12px; border-bottom: 1px dashed #eeeeee; border-radius: 2px;
  cursor: pointer; font-size: 14px; color: #0f0f0f; min-height: 46px;
}
.sp-item:last-child { border-bottom: none; }
.sp-item:hover, .sp-item:active { background: #f2f2f2; }
.sp-item.is-selected { background: #ffffff; box-shadow: inset 4px 0 0 #0f0f0f; }
.sp-item.sp-none { color: #a2826a; font-style: italic; }
.sp-mark { color: #e5e5e5; flex-shrink: 0; font-size: 15px; }
.sp-title { font-weight: bold; color: #333333; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; }
.sp-by { font-size: 12px; color: #a2826a; }
.sp-tags { font-size: 11px; color: #1f6b2a; width: 100%; padding-left: 23px; }
.sp-empty { text-align: center; color: #a2826a; font-size: 13px; padding: 18px 8px; margin: 0; }

/* スマホ：選びやすいよう画面下からせり出すシート風に */
@media (max-width: 700px) {
  .sound-picker { width: 100%; }
  .sound-picker.is-open .sp-menu {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto;
    border-radius: 12px 12px 0 0; outline: none;
    border: none; border-top: 3px solid #e5e5e5;
    box-shadow: 0 -10px 30px rgba(70,8,28,.4);
    z-index: 200;
  }
  .sound-picker.is-open .sp-menu::before { display: none; }
  .sound-picker.is-open .sp-list { max-height: 52vh; }
  /* シート表示中の背景オーバーレイ */
  .sound-picker.is-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(70,8,28,.35); z-index: 150;
  }
  .sp-search { font-size: 16px; }   /* iOSのズーム防止に16px */
}

/* ---- テーブル ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.list { width: 100%; border-collapse: collapse; background: #ffffff; font-size: 13px; }
table.list th, table.list td { border: 1px solid #e5e5e5; padding: 7px 9px; text-align: left; vertical-align: top; }
table.list th { background: #f2f2f2; color: #6e3a2a; white-space: nowrap; }
table.list tr:nth-child(even) td { background: #faf5ea; }
.admin-red { color: #8a1f1f; }

/* ---- マイページ：聖人の間 ---- */
.author-head {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid #e5e5e5; outline: 3px double #0f0f0f; outline-offset: 4px;
  border-radius: 3px; padding: 16px 18px; margin-top: 8px;
}
.author-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: #f2f2f2; border: 2px solid #e5e5e5; color: #0f0f0f;
  display: flex; align-items: center; justify-content: center; font-size: 27px; font-weight: bold;
  overflow: hidden;
  box-shadow: 0 0 0 3px #ffffff, 0 0 10px rgba(0,0,0, .4);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-head .pen { font-size: 19px; font-weight: bold; color: #333333; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; }
.author-head .attrs { font-size: 12.5px; color: #a2826a; }

/* ---- フッター：地下聖堂 ---- */
.site-footer {
  border-top: 3px double #0f0f0f;
  box-shadow: 0 -1px 0 #e5e5e5;
  background: linear-gradient(180deg, #ffffff, #f2f2f2);
  color: #606060; font-size: 12px; text-align: center; padding: 20px 12px 26px; margin-top: 44px;
}
.site-footer::before { content: "\2720\00A0\271D\00A0\2720"; display: block; color: #e5e5e5; letter-spacing: .5em; font-size: 12px; margin-bottom: 6px; }
.site-footer .home-banner {
  display: inline-block; border: 1px solid #e5e5e5; background: #ffffff;
  font-size: 11px; padding: 2px 16px; margin-bottom: 8px; color: #0f0f0f; text-decoration: none;
  border-radius: 2px;
}
.empty-note {
  background: #ffffff; border: 2px dashed #e5e5e5; border-radius: 3px;
  color: #a2826a; padding: 26px 14px; text-align: center; font-size: 14px;
}
.center { text-align: center; }

/* ---- 互換エイリアス（管理画面等） ---- */
.section-head {
  background: linear-gradient(180deg, #0f0f0f 0%, #0f0f0f 60%, #333333 100%);
  border: 1px solid #333333; border-top: 1px solid #e5e5e5;
  box-shadow: 0 0 0 1px #e5e5e5;
  border-radius: 2px;
  color: #ffffff; padding: 7px 14px; margin: 26px 0 12px;
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px;
  text-shadow: 0 1px 2px rgba(70, 8, 28, .55);
}
.section-head h2 { margin: 0; font-size: 15px; color: #ffffff; }
.section-head h2::before { content: "\271D\00A0"; color: #e5e5e5; font-weight: normal; }
.section-head .more { font-size: 12px; }
.section-head a { color: #f2f2f2; }
.card {
  background: #ffffff; border: 1px solid #e5e5e5;
  outline: 1px solid #e5e5e5; outline-offset: 2px;
  border-radius: 2px; box-shadow: 2px 2px 0 #e5e5e5;
  padding: 14px 16px; margin-bottom: 14px;
}

/* ---- レスポンシブ（共通） ---- */
@media (max-width: 700px) {
  body { font-size: 14px; }
  .site-top .logo { font-size: 24px; letter-spacing: .25em; }
  .retro-nav { gap: 2px; padding: 6px 4px; font-size: 12.5px; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
  .form-table, .form-table tbody, .form-table tr, .form-table th, .form-table td { display: block; width: 100%; border: none; }
  .form-table th { background: #f2f2f2; border-left: 3px solid #0f0f0f; padding: 7px 10px; }
  .form-table td { padding: 9px 2px 14px; background: transparent; }
  .bar { font-size: 14px; }
}

/* =====================================================================
   公式エリア（修道社公式『生命物語』）：最も荘厳な区画
   ===================================================================== */
.official-zone {
  position: relative;
  background-color: #fffdf8;
 
  border: 4px double #0f0f0f;
  outline: 1px solid #e5e5e5;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px #ffffff, 2px 4px 0 7px #e5e5e5;
  border-radius: 2px;
  padding: 18px 16px 20px;
  margin: 26px 0 14px;
}
.official-zone .oz-head {
  position: relative; text-align: center;
  border-bottom: none;
  padding: 26px 8px 14px; margin-bottom: 14px;
  background:
    linear-gradient(180deg, transparent calc(100% - 3px), #e5e5e5 calc(100% - 3px), #e5e5e5 calc(100% - 2px), transparent calc(100% - 2px)),
    linear-gradient(180deg, transparent calc(100% - 1px), #0f0f0f calc(100% - 1px));
}
.official-zone .oz-head::before {
  content: "\271D";
  display: block; font-size: 24px; line-height: 1; color: #0f0f0f;
  text-shadow: 0 1px 0 #e5e5e5, 0 0 14px rgba(0,0,0, .6);
  margin-bottom: 4px;
}
.official-zone .oz-head .oz-logo {
  margin: 0; font-size: 23px; letter-spacing: .34em; font-weight: bold; color: #0f0f0f;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  text-shadow: 1px 1px 0 #fffdf8, 2px 2px 0 #e5e5e5;
}
.official-zone .oz-head .oz-sub { margin: 4px 0 0; font-size: 11px; letter-spacing: .26em; color: #606060; }
.official-zone .oz-head .oz-sub::before,
.official-zone .oz-head .oz-sub::after { content: "\2014\00A0\2720\00A0\2014"; color: #e5e5e5; margin: 0 8px; }

.official-bar {
  background: linear-gradient(180deg, #0f0f0f 0%, #0f0f0f 55%, #333333 100%);
  color: #fffdf8; font-weight: bold; font-size: 14px; letter-spacing: .06em;
  padding: 7px 14px; margin: 18px 0 12px;
  border: 1px solid #5e0e26; border-top: 1px solid #e5e5e5;
  box-shadow: inset 0 1px 0 rgba(255, 253, 248, .25), 0 0 0 1px #e5e5e5, 2px 2px 0 1px #ffffff;
  border-radius: 2px;
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px;
  text-shadow: 0 1px 2px rgba(70, 8, 28, .6);
}
.official-bar > span:first-child::before { content: "\271D\00A0"; color: #606060; font-weight: normal; }
.official-bar a { color: #f2f2f2; text-decoration: underline; }
.official-bar a:hover { color: #fff; background: transparent; }
.official-bar .more { font-size: 11.5px; font-weight: normal; }
.official-bar .more::after { content: "\00A0\2720"; color: #606060; }

.of-grid { display: grid; gap: 13px; grid-template-columns: repeat(auto-fill, minmax(142px, 1fr)); }
.of-card {
  border: 1px solid #e5e5e5;
  outline: 1px solid #f0c6d1; outline-offset: 2px;
  background: linear-gradient(180deg, #fffdf8, #ffffff);
  padding: 6px 6px 4px;
  text-decoration: none; color: #6b4450; display: block;
  border-radius: 3px;
  box-shadow: 2px 2px 0 #f6dde4;
  transition: box-shadow .15s;
}
.of-card:hover {
  text-decoration: none; color: #0f0f0f; background: #fffdf8;
  box-shadow: 0 0 0 2px #e5e5e5, 0 0 14px rgba(0,0,0, .45);
}
.of-card .frame {
  position: relative; aspect-ratio: 3 / 2; overflow: hidden;
  border: 1px solid #e5e5e5;
  border-top-left-radius: 999px 340px;
  border-top-right-radius: 999px 340px;
  background: linear-gradient(135deg, #ffffff 0%, #fff 45%, #fdeef2 100%);
}
.of-card .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.of-cat {
  position: absolute; left: 0; top: 0;
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f);
  color: #fffdf8; font-size: 9.5px; letter-spacing: .04em;
  padding: 2px 9px 2px 7px;
  border-bottom-right-radius: 10px;
  border-bottom: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5;
}
.of-new {
  position: absolute; right: 4px; top: 4px;
  background: #fffdf8; color: #0f0f0f;
  border: 1px solid #e5e5e5; border-radius: 9px;
  font-size: 9px; font-weight: bold; padding: 1px 6px;
  box-shadow: 0 0 6px rgba(0,0,0, .6);
}
.of-snd {
  position: absolute; right: 4px; bottom: 4px;
  background: rgba(0,0,0, .88); color: #f2f2f2;
  border: 1px solid #e5e5e5; border-radius: 9px;
  font-size: 10px; padding: 0 7px;
}
/* アーチ型サムネではバッジを内側に寄せる（角丸で切れないように） */
.honpen-card .of-new { top: 30%; right: 8px; }
.honpen-card .of-snd { bottom: 8px; right: 8px; }
.of-card .t {
  font-size: 12px; font-weight: bold; color: #6b2138; margin-top: 5px; line-height: 1.45;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.of-card .m { font-size: 10.5px; color: #ad7d8a; font-family: "Courier New", monospace; }
.of-card .m::before { content: "\2720\00A0"; color: #e5e5e5; }

.of-list {
  border: 1px solid #e5e5e5;
  outline: 1px solid #f0c6d1; outline-offset: 2px;
  background: #fffdf8; font-size: 13px; border-radius: 2px;
}
.of-list .row { padding: 7px 12px; border-bottom: 1px dashed #e8b9c4; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.of-list .row:last-child { border-bottom: none; }
.of-list .row:hover { background: #ffffff; }
.of-list .time { font-family: "Courier New", monospace; font-size: 11px; color: #606060; flex-shrink: 0; }
.of-list a { color: #0f0f0f; }
.of-list a:hover { color: #606060; background: transparent; }

.of-cat-label {
  display: inline-block;
  border: 1px solid #e5e5e5; background: #fffdf8; color: #0f0f0f;
  font-size: 10.5px; letter-spacing: .04em; padding: 1px 10px; border-radius: 10px;
  text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1px #fdeef2;
}
a.of-cat-label:hover, .of-cat-label.on {
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f);
  color: #fffdf8; border-color: #e5e5e5;
  box-shadow: 0 0 6px rgba(0,0,0, .5);
}

article.official-post { max-width: 100%; margin: 0 auto; color: #50393f; }
article.official-post .of-title {
  position: relative;
  font-size: 24px; line-height: 1.55; color: #0f0f0f;
  text-align: center; padding: 10px 6px 14px; margin: 10px 0 6px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  letter-spacing: .08em;
  text-shadow: 1px 1px 0 #fffdf8;
  border-bottom: 3px double #e5e5e5;
  background: linear-gradient(180deg, transparent calc(100% - 6px), #ffffff calc(100% - 6px));
}
article.official-post .of-title::before {
  content: "\2720\00A0\271D\00A0\2720";
  display: block; font-size: 13px; letter-spacing: .5em; color: #e5e5e5;
  margin-bottom: 4px;
  text-shadow: 0 0 8px rgba(0,0,0, .5);
}
.of-meta { font-size: 12px; font-family: "Courier New", monospace; color: #606060; text-align: center; margin-bottom: 16px; }

.of-eyecatch {
  border: 1px solid #e5e5e5;
  outline: 3px double #0f0f0f; outline-offset: 4px;
  margin: 6px 0 22px; padding: 5px;
  background: linear-gradient(180deg, #fffdf8, #ffffff);
  border-top-left-radius: 999px 130px;
  border-top-right-radius: 999px 130px;
  overflow: hidden;
}
.of-eyecatch img {
  display: block; width: 100%;
  border-top-left-radius: 999px 124px;
  border-top-right-radius: 999px 124px;
}

.of-body { font-size: 15.5px; color: #50393f; background: transparent; }
.of-body h2 {
  font-size: 19px; color: #0f0f0f;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  border-left: none; border-bottom: 2px solid #e5e5e5;
  background: linear-gradient(90deg, #ffffff, transparent 80%);
  padding: 5px 12px 4px; margin: 28px 0 12px;
  letter-spacing: .05em;
}
.of-body h2::before { content: "\271D\00A0"; color: #e5e5e5; font-size: 15px; }
.of-body h3 {
  font-size: 16px; color: #0f0f0f;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  border-bottom: 1px dashed #e5e5e5; padding-bottom: 3px; margin: 22px 0 9px;
}
.of-body h3::before { content: "\2720\00A0"; color: #e5e5e5; font-size: 12px; }
.of-body p { margin: 0 0 1.25em; }
.of-body a { color: #0f0f0f; }
.of-body blockquote {
  margin: 1.1em 0; padding: 10px 16px;
  border-left: 4px solid #e5e5e5;
  background: #ffffff;
  border-top: 1px dashed #e8b9c4; border-bottom: 1px dashed #e8b9c4;
  color: #6b2138;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}
.of-body hr { border: none; height: 18px; margin: 26px 0; background: none; text-align: center; }
.of-body hr::before {
  content: "\2720\00A0\00A0\271D\00A0\00A0\2720";
  color: #e5e5e5; font-size: 13px; letter-spacing: .4em;
}

figure.of-photo {
  margin: 20px 0; padding: 6px;
  border: 1px solid #e5e5e5;
  outline: 1px solid #f0c6d1; outline-offset: 3px;
  background: #fffdf8;
  box-shadow: 2px 2px 0 #f6dde4; border-radius: 2px;
}
figure.of-photo img { display: block; width: 100%; }

.of-gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin: 14px 0; }
.of-gallery a {
  border: 1px solid #e5e5e5; display: block; padding: 4px; background: #fffdf8;
  border-top-left-radius: 999px 220px; border-top-right-radius: 999px 220px;
  overflow: hidden;
  box-shadow: 2px 2px 0 #f6dde4;
}
.of-gallery a:hover { box-shadow: 0 0 0 2px #e5e5e5, 0 0 12px rgba(0,0,0, .45); }
.of-gallery img {
  display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-top-left-radius: 999px 214px; border-top-right-radius: 999px 214px;
}

.of-panel {
  background: #fffdf8;
  border: 1px solid #e5e5e5;
  outline: 1px solid #f0c6d1; outline-offset: 2px;
  border-radius: 2px;
  box-shadow: 2px 2px 0 #f6dde4;
  padding: 14px 16px; margin-bottom: 14px; color: #50393f;
}
.of-filled {
  background: linear-gradient(180deg, #0f0f0f, #333333);
  color: #f2f2f2; text-align: center; font-size: 13px;
  border: 1px solid #5e0e26; box-shadow: 0 0 0 1px #e5e5e5;
  padding: 12px; margin: 10px 0; border-radius: 2px;
}
.of-filled::before { content: "\271D"; display: block; color: #e5e5e5; font-size: 16px; margin-bottom: 2px; }
.of-comment-aborn { opacity: .5; font-style: italic; }

.btn.official {
  border: 1px solid #e5e5e5; box-shadow: 0 0 0 1px #fdeef2 inset, 1px 1px 0 #f3cdd6;
  color: #0f0f0f; background: linear-gradient(180deg, #fffdf8, #ffffff);
  border-radius: 3px;
}
.btn.official:hover { background: #ffffff; color: #333333; box-shadow: 0 0 0 1px #e5e5e5; }
.btn.official-primary {
  border: 1px solid #e5e5e5;
  background: linear-gradient(180deg, #0f0f0f, #0f0f0f);
  color: #fffdf8; box-shadow: 0 0 0 1px #0f0f0f, 1px 1px 0 #f3cdd6;
  border-radius: 3px; font-weight: bold; letter-spacing: .04em;
}
.btn.official-primary:hover { background: linear-gradient(180deg, #0f0f0f, #0f0f0f); color: #fff; }
.btn.official-primary::before { content: "\2720\00A0"; color: #e5e5e5; font-weight: normal; }

@media (max-width: 700px) {
  .of-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  article.official-post .of-title { font-size: 19px; letter-spacing: .05em; }
  .official-zone { padding: 14px 10px 16px; box-shadow: 0 0 0 5px #ffffff, 2px 3px 0 5px #e5e5e5; }
  .official-zone .oz-head .oz-logo { font-size: 18px; letter-spacing: .22em; }
  .of-eyecatch { border-top-left-radius: 999px 70px; border-top-right-radius: 999px 70px; }
  .of-eyecatch img { border-top-left-radius: 999px 66px; border-top-right-radius: 999px 66px; }
}
/* --- 該当箇所を以下のように書き換えてください --- */

.of-grid { 
  display: grid; 
  gap: 10px; 
  /* ★ここを修正：PCでは画面幅に合わせて4列、5列、6列と綺麗に正方形で横並びにする設定 */
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); 
}

.of-card { 
  border: 1px solid #000; 
  background: #fff; 
  padding: 4px; 
  text-decoration: none; 
  color: #000; 
  display: flex;         /* ★追加：縦長化を防ぐ */
  flex-direction: column;/* ★追加：縦長化を防ぐ */
}

.of-card:hover { outline: 2px solid #000; text-decoration: none; color: #000; background: #fff; }

.of-card .frame {
  position: relative;
  width: 100%;            /* ★追加：幅を100%に */
  aspect-ratio: 1 / 1;    /* ★追加：PCでも絶対に1:1の正方形にする */
  overflow: hidden;
  border: 1px solid #000;
  background: #fff;
}
.of-card .frame img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

/* =====================================================================
   V15：本編ゾーン／メディアカード（動画・ゲーム）／埋め込みステージ
   モバイル・ボトム固定ナビ／メニューシート
   ===================================================================== */

/* 本編（Web漫画）ゾーン：公式より格上の見せ方 */
.honpen-zone {

  border: 1px solid #e5e5e5; outline: 2px solid #0f0f0f; outline-offset: 3px;
  border-radius: 10px; padding: 16px 16px 14px; margin: 4px 0 26px;
  box-shadow: 0 4px 14px rgba(110,15,44,.14);
}
.hz-head { text-align: center; margin-bottom: 12px; }
.hz-logo {
  font-family: "Hiragino Mincho ProN","Yu Mincho",serif; font-weight: bold;
  font-size: 21px; color: #0f0f0f; margin: 0; letter-spacing: .06em;
}
.hz-logo::before, .hz-logo::after { content: "\271D"; color: #e5e5e5; margin: 0 .5em; font-size: .8em; vertical-align: 2px; }
.hz-sub { font-size: 11.5px; color: #9a7a52; margin: 2px 0 0; letter-spacing: .08em; }
.honpen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.honpen-card {
  display: flex; flex-direction: column; text-decoration: none; color: #5e2a3a;
  background: #fffdf8; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden;
  transition: transform .12s, box-shadow .15s;
}
.honpen-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(110,15,44,.2); }
.honpen-card .frame {
  position: relative; aspect-ratio: 3/4; background: #f2f2f2; overflow: hidden;
  /* 教会のアーチ窓：上部を半円に */
  border-radius: 50% 50% 8px 8px / 30% 30% 8px 8px;
  border: 1px solid #d8b87a;
  box-shadow: inset 0 0 0 2px #fffdf8, inset 0 0 0 3px #e5e5e5;
}
.honpen-card .frame img { width: 100%; height: 100%; object-fit: cover; }
/* アーチ頂部に小さな十字の装飾 */
.honpen-card .frame::after {
  content: "\271D"; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  color: #fffdf8; font-size: 13px; text-shadow: 0 1px 3px rgba(70,8,28,.6); z-index: 2;
}
.honpen-card .t { font-weight: bold; font-size: 13px; padding: 7px 9px 2px; line-height: 1.35; }
.honpen-card .m { font-size: 11px; color: #a2826a; padding: 0 9px 8px; }

/* メディアカード共通グリッド（動画・ゲーム） */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 8px; }
.media-card {
  display: flex; flex-direction: column; text-decoration: none; color: #5e2a3a;
  background: #fffdf8; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden;
  transition: transform .12s, box-shadow .15s;
}
.media-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(110,15,44,.18); }
.mc-thumb {
  position: relative; width: 100%;
  background: radial-gradient(circle at 50% 40%, #b8264f, #0f0f0f 75%);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
/* サムネ画像があるときは再生ボタンを半透明オーバーレイに */
.mc-thumb[style*="background-image"] .mc-play { background: rgba(253,250,243,.85); }
.mc-thumb.ar-16-9 { aspect-ratio: 16/9; }
.mc-thumb.ar-4-3  { aspect-ratio: 4/3; }
.mc-thumb.ar-1-1  { aspect-ratio: 1/1; }
.mc-thumb.ar-3-4  { aspect-ratio: 3/4; }
.mc-play {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(253,250,243,.92); color: #0f0f0f;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.mc-kind {
  position: absolute; left: 0; bottom: 0;
  background: rgba(110,15,44,.92); color: #f2f2f2; border-top-right-radius: 8px;
  font-size: 9px; letter-spacing: .1em; padding: 2px 8px; border-top: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5;
}
.mc-title { font-weight: bold; font-size: 13px; padding: 7px 9px 1px; line-height: 1.35; color: #333333; }
.mc-by { font-size: 11px; color: #a2826a; padding: 0 9px 8px; }

/* 埋め込みステージ（iframe・比率維持） */
.game-stage, .video-stage {
  position: relative; width: 100%; margin: 4px auto 0;
  background: #1a0810; border: 1px solid #e5e5e5; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(70,8,28,.35);
}
.game-stage.ar-4-3  { aspect-ratio: 4/3; max-width: 720px; }
.game-stage.ar-16-9 { aspect-ratio: 16/9; max-width: 900px; }
.game-stage.ar-1-1  { aspect-ratio: 1/1; max-width: 620px; }
.game-stage.ar-3-4  { aspect-ratio: 3/4; max-width: 540px; }
.video-stage.ar-16-9 { aspect-ratio: 16/9; max-width: 900px; }
.game-stage iframe, .video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.g-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.g-tags .tag-mini { text-decoration: none; }

/* =====================================================================
   モバイル・ボトム固定ナビ（PCでは非表示）
   ===================================================================== */
/* =====================================================================
   V19：モバイル教会風ハンバーガーメニュー（ボトムナビ廃止）
   ===================================================================== */
.hb-btn { display: none; }
.hb-drawer { display: none; }

@media (max-width: 1080px) {
  /* 旧ボトムナビの余白は不要 */
  body { padding-bottom: 0; }

  /* 右上に固定するハンバーガーボタン（金枠の聖印） */
  .hb-btn {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 10px; left: 12px; right: auto; z-index: 340;
    width: 46px; height: 46px; border: none; cursor: pointer;
    border-radius: 50% 50% 12px 12px;
    background: radial-gradient(circle at 50% 32%, #f2f2f2, #e5e5e5 80%);
    box-shadow: 0 3px 12px rgba(180,140,0,.35), 0 0 0 2px #fff, 0 0 0 3px #e5e5e5;
    transition: transform .15s, box-shadow .2s;
  }
  .hb-btn:active { transform: scale(.93); }
  .hb-lines { position: relative; width: 22px; height: 16px; display: block; }
  .hb-lines i {
    position: absolute; left: 0; width: 100%; height: 2.4px; border-radius: 2px;
    background: #606060; transition: transform .35s cubic-bezier(.7,0,.3,1), opacity .25s, top .35s;
  }
  .hb-lines i:nth-child(1) { top: 0; }
  .hb-lines i:nth-child(2) { top: 7px; }
  .hb-lines i:nth-child(3) { top: 14px; }
  /* 開いている間は×印に変形（CSSアニメ） */
  .hb-open .hb-lines i:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .hb-open .hb-lines i:nth-child(2) { opacity: 0; }
  .hb-open .hb-lines i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
  .hb-open .hb-btn { border-radius: 12px; }

  /* ドロワー本体 */
  .hb-drawer { display: block; position: fixed; inset: 0; z-index: 335; pointer-events: none; }
  .hb-scrim {
    position: absolute; inset: 0; background: rgba(90,66,0,.4);
    opacity: 0; transition: opacity .4s ease; backdrop-filter: blur(2px);
  }
  .hb-panel {
    position: absolute; top: 0; left: 0; right: auto; height: 100%; width: min(86%, 360px);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    background:
      radial-gradient(ellipse 120% 40% at 30% 0%, rgba(255,214,30,.3), transparent 60%),
      linear-gradient(170deg, #fffef8 0%, #ffffff 55%, #ffffff 100%);
    border-right: 1px solid #e5e5e5;
    box-shadow: 14px 0 40px rgba(180,140,0,.28);
    transform: translateX(-105%);
    transition: transform .5s cubic-bezier(.22,1,.36,1);
    padding-bottom: 28px;
  }
  .hb-open .hb-drawer { pointer-events: auto; }
  .hb-open .hb-scrim { opacity: 1; }
  .hb-open .hb-panel { transform: translateX(0); }

  /* 中身は開いたとき順番にふわっと（スタッガー） */
  .hb-panel > * { opacity: 0; transform: translateY(10px); }
  .hb-open .hb-panel > * { animation: hb-in .5s cubic-bezier(.22,1,.36,1) forwards; }
  .hb-open .hb-panel > *:nth-child(1) { animation-delay: .10s; }
  .hb-open .hb-panel > *:nth-child(2) { animation-delay: .16s; }
  .hb-open .hb-panel > *:nth-child(3) { animation-delay: .22s; }
  .hb-open .hb-panel > *:nth-child(4) { animation-delay: .27s; }
  .hb-open .hb-panel > *:nth-child(5) { animation-delay: .31s; }
  .hb-open .hb-panel > *:nth-child(6) { animation-delay: .35s; }
  .hb-open .hb-panel > *:nth-child(7) { animation-delay: .39s; }
  .hb-open .hb-panel > *:nth-child(8) { animation-delay: .43s; }
  .hb-open .hb-panel > *:nth-child(9) { animation-delay: .47s; }
  @keyframes hb-in { to { opacity: 1; transform: translateY(0); } }

  /* 上部：サイトの紋章 */
  .hb-crest {
    position: relative; text-align: center;
    padding: 22px 16px 18px;
    background:
      radial-gradient(ellipse 90% 80% at 50% 0%, rgba(255,255,255,.55), transparent 70%),
      linear-gradient(180deg, #f2f2f2, #e5e5e5);
    color: #606060;
    border-bottom: 2px solid #e5e5e5;
  }
  .hb-x {
    position: absolute; top: 8px; right: 10px; background: none; border: none;
    color: #606060; font-size: 26px; line-height: 1; cursor: pointer; opacity: .85;
  }
  .hb-cross { font-size: 22px; color: #606060; margin-bottom: 2px; }
  .hb-title {
    font-family: "Hiragino Mincho ProN","Yu Mincho",serif; font-weight: bold;
    font-size: 28px; letter-spacing: .28em; text-indent: .28em;
    color: #fff; text-shadow: 0 1px 0 #e5e5e5, 0 2px 8px rgba(160,120,0,.5);
  }
  .hb-sub { font-size: 10.5px; color: #7a5c00; letter-spacing: .08em; margin-top: 6px; }

  /* アカウント */
  .hb-acct, .hb-login { margin: 14px 14px 0; display: block; }
  .hb-acct {
    background: #fffef8; border: 1px solid #e5e5e5; border-radius: 10px;
    padding: 11px 13px; font-size: 13px; color: #0f0f0f;
  }
  .hb-acct-name { display: block; margin-bottom: 8px; }
  .hb-acct-act { display: flex; gap: 8px; }
  .hb-acct-act a {
    flex: 1; text-align: center; text-decoration: none; font-weight: bold; font-size: 12.5px;
    padding: 8px 0; border-radius: 6px; background: #ffffff; color: #606060; border: 1px solid #e5e5e5;
  }
  .hb-acct-act a.ghost { background: #fff; color: #8a6a55; }
  .hb-login {
    text-decoration: none; text-align: center; border-radius: 10px;
    padding: 12px; background: linear-gradient(180deg,#f2f2f2,#e5e5e5);
    border: 1px solid #e5e5e5; box-shadow: 0 2px 8px rgba(232,181,0,.3);
  }
  .hb-login-t { display: block; color: #606060; font-weight: bold; font-size: 14px; }
  .hb-login-d { display: block; color: #606060; font-size: 10.5px; margin-top: 3px; }

  /* セクション見出し */
  .hb-sec {
    margin: 18px 18px 8px; font-size: 11px; letter-spacing: .18em; color: #606060;
    font-family: "Hiragino Mincho ProN","Yu Mincho",serif; position: relative;
  }
  .hb-sec::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
    background: linear-gradient(90deg, #e5e5e5, transparent);
  }

  /* 導線リンク */
  .hb-links { margin: 0 12px; display: flex; flex-direction: column; gap: 2px; }
  .hb-link {
    display: flex; align-items: center; gap: 13px; text-decoration: none;
    padding: 12px 12px; border-radius: 9px; color: #0f0f0f;
    transition: background .15s, transform .1s;
  }
  .hb-link:active { background: #fff3c4; transform: scale(.99); }
  .hb-link.active { background: #ffffff; box-shadow: inset 3px 0 0 #e5e5e5; }
  .hb-li {
    flex-shrink: 0; width: 38px; height: 38px; border-radius: 50% 50% 9px 9px;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 36%, #fffef2, #fff2c4);
    box-shadow: inset 0 0 0 1px #e5e5e5; color: #606060;
  }
  .hb-li svg { width: 21px; height: 21px; fill: currentColor; }
  .hb-li svg [stroke] { fill: none; }
  .hb-lt { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
  .hb-lt small { display: block; font-size: 10.5px; color: #606060; font-weight: normal; margin-top: 1px; }

  /* 投稿3カード */
  .hb-post3 { margin: 0 12px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .hb-pcard {
    display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none;
    padding: 12px 4px; border-radius: 10px; color: #606060; font-size: 11.5px; font-weight: bold;
    background: #fffef8; border: 1px solid #e5e5e5; border-top: 3px solid #e5e5e5;
  }
  .hb-pcard:active { background: #ffffff; }
  .hb-pi {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 36%, #fffef2, #fff2c4);
    box-shadow: inset 0 0 0 1px #e5e5e5; color: #606060;
  }
  .hb-pi svg { width: 22px; height: 22px; fill: currentColor; }
  .hb-pi svg [stroke] { fill: none; }

  .hb-mini { text-align: center; margin: 16px 14px 0; font-size: 12px; }
  .hb-mini a { color: #606060; text-decoration: none; }
  .hb-mini span { color: #d8c88e; margin: 0 6px; }

  /* 下部：著作権 */
  .hb-foot {
    margin: 18px 14px 0; padding: 14px 12px;
    border-top: 1px solid #e5e5e5; text-align: center;
    font-size: 10.5px; line-height: 1.7; color: #606060;
  }
  .hb-foot-mark { color: #e5e5e5; font-size: 16px; margin-bottom: 6px; }
  .hb-foot-c { display: block; margin-top: 8px; color: #b0a072; letter-spacing: .04em; }
}

/* PC ではハンバーガーもドロワーも出さない */
@media (min-width: 1081px) {
  .hb-btn, .hb-drawer { display: none !important; }
}

/* =====================================================================
   V16/V17：視聴回数（目）＆複数リアクション（すてき/お気に入り/祈り/感動）
   ===================================================================== */
.rx-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 10px 0 2px; padding: 6px 0;
}
.rx-views {
  display: inline-flex; align-items: center; gap: 5px;
  color: #8a6a55; font-size: 13px; font-family: "Courier New", monospace;
}
.rx-eye { width: 19px; height: 19px; fill: #b08a72; }
.rx-views .rx-num { color: #6e4a38; }

/* リアクションボタン群 */
.rx-react { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 6px; }
.rx-rform { margin: 0; }
.rx-rbtn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: #fffdf8; border: 1px solid #e0cfae; border-radius: 999px;
  padding: 7px 13px 7px 11px; font-family: inherit; font-size: 12.5px; color: #8a6a55;
  transition: background .15s, border-color .15s, transform .1s, color .15s;
}
.rx-rbtn:hover { background: #f7f7f7; border-color: #e5e5e5; }
.rx-rbtn:active { transform: scale(.93); }
.rx-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: fill .15s, stroke .15s; }
.rx-rbtn .rx-rlabel { font-size: 12px; }
.rx-rbtn .rx-num { font-family: "Courier New", monospace; font-weight: bold; }

/* 押下済み：種別ごとに色を変えてアイコンを塗る */
.rx-rbtn.active { color: #fff; border-color: transparent; }
.rx-rbtn.active .rx-ico { fill: currentColor; stroke: #fff; stroke-width: 1; }
.rx-heart.active, .rx-rbtn.rx-heart.active { background: linear-gradient(180deg,#606060,#0f0f0f); }
.rx-rbtn.rx-star.active  { background: linear-gradient(180deg,#d8a72a,#b3851a); }
.rx-rbtn.rx-pray.active  { background: linear-gradient(180deg,#8a6db8,#5f4a8c); }
.rx-rbtn.rx-bravo.active { background: linear-gradient(180deg,#606060,#0f0f0f); }
/* 各種別の通常時のアイコン色 */
.rx-rbtn.rx-heart .rx-ico { stroke: #606060; }
.rx-rbtn.rx-star  .rx-ico { stroke: #e5e5e5; }
.rx-rbtn.rx-pray  .rx-ico { stroke: #7c5fae; }
.rx-rbtn.rx-bravo .rx-ico { stroke: #606060; }

/* メディアカードのメタ（視聴・反応） */
.mc-meta {
  display: flex; align-items: center; gap: 10px; padding: 0 9px 8px;
  font-size: 11px; color: #a2826a; font-family: "Courier New", monospace;
}
.mc-meta .rx-views { font-size: 11px; }
.mc-meta .rx-eye { width: 14px; height: 14px; }
.mc-react { display: inline-flex; align-items: center; gap: 3px; }
.mc-react .rx-ico { width: 13px; height: 13px; fill: #606060; stroke: none; }

@media (max-width: 700px) {
  .rx-rbtn { padding: 8px 14px 8px 12px; font-size: 13px; }  /* 指で押しやすく */
  .rx-react { gap: 7px; }
}

/* V19：いいね押下時のポップ（その場フィードバック） */
.rx-rbtn.rx-pop { animation: rx-pop .22s ease; }
@keyframes rx-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* ===== 全ページ共通：今日のおすすめ＆公式コンテンツ（フッター上） ===== */
.explore-zone {
  max-width: 100%; margin: 32px auto 0; padding: 20px 16px 4px;
  border-top: 3px double #0f0f0f;
}
.explore-zone .bar { margin-top: 0; }
.ez-block { margin-bottom: 18px; }
.ez-head {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 13px; margin: 0 0 8px; padding-bottom: 4px;
  border-bottom: 1px solid #e5e5e5;
}
.ez-head b { font-size: 14px; color: #7c2840; }
.ez-head a { font-size: 11px; color: #0f0f0f; }
.card-grid.mini { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
@media (max-width: 700px) {
  .card-grid.mini { grid-template-columns: repeat(2, 1fr); }
}

/* ===== マイページ：X/Twitter風プロフィール ===== */
.xp { max-width: 640px; margin: 0 auto; }
.xp-cover {
  height: 170px; background: linear-gradient(135deg, #0f0f0f, #e5e5e5);
  background-size: cover; background-position: center;
  border-radius: 12px 12px 0 0; margin: 0 0 0;
}
.xp-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 16px; margin-top: -42px;
}
.xp-avatar {
  width: 92px; height: 92px; border-radius: 50%; border: 4px solid #fff;
  background: #fff; object-fit: cover; box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.xp-actions { display: flex; gap: 8px; padding-bottom: 6px; }
.xp-editbtn {
  font-size: 13px; font-weight: 700; color: #0f0f0f; background: #fff;
  border: 1px solid #e5e5e5; border-radius: 999px; padding: 7px 16px; cursor: pointer;
  text-decoration: none;
}
.xp-editbtn:hover { background: #fdf1dd; color: #0f0f0f; }
.xp-editbtn.ghost { color: #8a6a55; border-color: #e5e5e5; }
.xp-id { padding: 8px 16px 0; }
.xp-name { font-size: 20px; font-weight: 800; color: #0f0f0f; }
.xp-bio { padding: 8px 16px 0; font-size: 14px; line-height: 1.7; color: #0f0f0f; }
.xp-link { padding: 6px 16px 0; font-size: 13px; }
.xp-link a { color: #0f0f0f; }
.xp-stats { padding: 10px 16px 0; font-size: 13px; color: #8a6a55; }
.xp-stats b { color: #0f0f0f; }
.xp-edit { display: none; margin: 12px 16px 0; padding: 14px; border: 1px solid #e0cfae; border-radius: 12px; background: #fffdf8; }
.xp-edit.open { display: block; }
.xp-tabbar { display: flex; border-bottom: 1px solid #e0cfae; margin: 16px 0 0; }
.xp-tabbar span { padding: 12px 18px; font-weight: 700; font-size: 14px; color: #0f0f0f; position: relative; }
.xp-tabbar span.on::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: #0f0f0f; border-radius: 2px; }
.xp-timeline { display: flex; flex-direction: column; }
.xp-post {
  display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f0e4d4;
  color: #0f0f0f; transition: background .12s;
}
.xp-post:hover { background: #fdf8f0; color: #0f0f0f; }
.xp-post-thumb { flex-shrink: 0; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: #f3e6d8; }
.xp-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.xp-post-body { min-width: 0; flex: 1; }
.xp-post-title { font-weight: 700; font-size: 15px; line-height: 1.4; }
.xp-post-desc { font-size: 13px; color: #8a6a55; margin-top: 3px; }
.xp-post-meta { font-size: 12px; color: #a3835a; margin-top: 6px; }
.xp-post .t-badge { position: static; display: inline-block; font-size: 10px; padding: 1px 7px; border-radius: 4px; color: #fff; vertical-align: 1px; }

/* 右下の丸い＋固定ボタン（FAB） */
.fab-post {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #0f0f0f, #0f0f0f); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 300; line-height: 1; text-decoration: none;
  box-shadow: 0 4px 14px rgba(110,15,44,.5), 0 0 0 3px #fff, 0 0 0 4px #e5e5e5;
  transition: transform .15s;
}
.fab-post:hover { transform: scale(1.06); color: #fff; }
.fab-post:active { transform: scale(.94); }
@media (max-width: 700px) {
  .xp-cover { height: 130px; border-radius: 0; }
  .fab-post { right: 16px; bottom: 76px; }
}
/* ===== X風 統合投稿画面（post.php） ===== */
.xc { max-width: 600px; margin: 0 auto; background: #fff; min-height: 60vh; }
.xc-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #efe3d0; position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); z-index: 5; }
.xc-back { font-size: 22px; color: #0f0f0f; text-decoration: none; line-height: 1; }
.xc-ttl { font-size: 18px; font-weight: 800; color: #0f0f0f; }
.xc-userrow { display: flex; align-items: center; gap: 12px; padding: 14px 16px 6px; }
.xc-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #f0e4d4; }
.xc-uname { font-weight: 700; color: #0f0f0f; }
.xc-uname .trip { margin-left: 4px; }
.xc-tabs { display: flex; gap: 4px; padding: 4px 10px 0; border-bottom: 1px solid #efe3d0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.xc-tab { flex: 0 0 auto; padding: 12px 14px; font-size: 14px; font-weight: 700; color: #8a6a55; text-decoration: none; position: relative; white-space: nowrap; }
.xc-tab.on { color: #0f0f0f; }
.xc-tab.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 2px; background: #0f0f0f; }
.xc-form { padding: 14px 16px 28px; display: flex; flex-direction: column; gap: 12px; }
.xc-textarea { width: 100%; border: none; outline: none; resize: vertical; font-family: inherit; font-size: 18px; line-height: 1.6; min-height: 120px; color: #0f0f0f; background: transparent; }
.xc-textarea.sm { font-size: 15px; min-height: 70px; }
.xc-textarea::placeholder { color: #b9a892; }
.xc-input { width: 100%; border: none; border-bottom: 1px solid #e0cfae; outline: none; font-family: inherit; font-size: 16px; padding: 10px 2px; color: #0f0f0f; background: transparent; }
.xc-input:focus { border-bottom-color: #0f0f0f; }
.xc-imgpick { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px dashed #e5e5e5; border-radius: 12px; color: #8a6a55; font-size: 14px; cursor: pointer; background: #fffdf8; }
.xc-imgpick:hover { background: #f7f7f7; border-color: #e5e5e5; }
.xc-imgico { font-size: 18px; }
.xc-typetoggle { display: inline-flex; background: #f3e6d8; border-radius: 999px; padding: 3px; gap: 2px; align-self: flex-start; }
.xc-seg { position: relative; cursor: pointer; }
.xc-seg input { position: absolute; opacity: 0; }
.xc-seg span { display: block; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #8a6a55; transition: background .15s, color .15s; }
.xc-seg input:checked + span { background: #0f0f0f; color: #fff; }
.xc-tagwrap { display: flex; flex-wrap: wrap; gap: 7px; }
.xc-chip { cursor: pointer; }
.xc-chip input { position: absolute; opacity: 0; }
.xc-chip span { display: inline-block; padding: 6px 13px; border-radius: 999px; font-size: 12.5px; border: 1px solid #e0cfae; color: #8a6a55; background: #fff; transition: .12s; }
.xc-chip input:checked + span { background: #fdf1dd; border-color: #e5e5e5; color: #0f0f0f; font-weight: 700; }
.xc-actions { display: flex; justify-content: flex-end; padding-top: 6px; border-top: 1px solid #f0e4d4; margin-top: 4px; }
.xc-postbtn { background: linear-gradient(135deg,#0f0f0f,#0f0f0f); color: #fff; border: none; border-radius: 999px; font-size: 16px; font-weight: 800; padding: 11px 30px; cursor: pointer; box-shadow: 0 2px 8px rgba(110,15,44,.3); transition: transform .12s, opacity .15s; }
.xc-postbtn:hover { opacity: .92; }
.xc-postbtn:active { transform: scale(.96); }

/* マイページのつぶやきタイムライン */
.xp-tweet { padding: 14px 16px; border-bottom: 1px solid #f0e4d4; }
.xp-tweet-body { font-size: 15px; line-height: 1.7; color: #0f0f0f; white-space: pre-wrap; word-break: break-word; }
.xp-tweet-img { margin-top: 10px; border-radius: 14px; overflow: hidden; border: 1px solid #efe3d0; max-width: 420px; }
.xp-tweet-img img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.xp-tweet-meta { font-size: 12px; color: #a3835a; margin-top: 8px; }

/* マイページのタブ（ポスト／作品） */
.xp-tabbar .xp-tabitem { padding: 12px 18px; font-weight: 700; font-size: 14px; color: #8a6a55; position: relative; text-decoration: none; }
.xp-tabbar .xp-tabitem.on { color: #0f0f0f; }
.xp-tabbar .xp-tabitem.on::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: #0f0f0f; border-radius: 2px; }

/* ===== トップ：注目作品スライドショー（1:1・横幅100%・左→右スライド） ===== */
.hero-slider { position: relative; width: 100%; max-width: 100%; margin: 0 auto 14px; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(110,15,44,.18); background: #2a0c16; }
.hs-viewport { width: 100%; overflow: hidden; }
.hs-track { display: flex; width: 100%; transition: transform .5s cubic-bezier(.4,.0,.2,1); }
.hs-slide { position: relative; flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1; display: block; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px; display: flex; flex-direction: column; gap: 3px; background: linear-gradient(to top, rgba(0,0,0,.78), transparent); color: #fff; }
.hs-badge { display: inline-block; align-self: flex-start; background: #e5e5e5; color: #3a2410; font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.hs-title { font-size: 18px; font-weight: 800; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hs-by { font-size: 12.5px; opacity: .92; }
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border: none; border-radius: 50%; background: rgba(20,5,10,.5); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.hs-arrow:hover { background: rgba(138,21,56,.85); }
.hs-arrow.prev { left: 10px; } .hs-arrow.next { right: 10px; }
.hs-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 7px; justify-content: center; z-index: 3; }
.hs-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.hs-dot.on { background: #fff; transform: scale(1.2); }
@media (max-width: 700px) { .hs-title { font-size: 15px; } .hs-arrow { width: 34px; height: 34px; font-size: 22px; } }

/* 投稿画面のルール注記 */
.xc-rule { font-size: 12.5px; line-height: 1.6; color: #0f0f0f; background: #fdf1dd; border: 1px solid #e5e5e5; border-radius: 10px; padding: 10px 12px; }

/* ===== 最新本編ヒーロー（top.jpg廃止・画像のアスペクト比そのまま・最大表示） ===== */
.honpen-hero {
  display: block; position: relative; width: 100%; margin: 0 0 18px;
  border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff;
  box-shadow: 0 3px 16px rgba(110,15,44,.25); border: 1px solid #e5e5e5; background: #2a0c16;
}
.honpen-hero:hover { color: #fff; box-shadow: 0 4px 22px rgba(201,162,39,.45); }
.hh-imgwrap { position: relative; display: block; width: 100%; }
.hh-imgwrap img { width: 100%; height: auto; display: block; }  /* ★画像本来の比率で最大表示 */
.hh-new { position: absolute; left: 12px; top: 12px; background: #e5e5e5; color: #3a2410; font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.hh-snd { position: absolute; right: 12px; top: 12px; background: rgba(138,21,56,.9); color: #f2f2f2; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.hh-cap { display: flex; flex-direction: column; gap: 4px; padding: 22px 18px 16px; background: linear-gradient(to top, rgba(20,5,10,.92), rgba(20,5,10,.55) 60%, transparent); position: absolute; left: 0; right: 0; bottom: 0; }
.hh-series { font-size: 12.5px; color: #e5e5e5; letter-spacing: .04em; }
.hh-title { font-size: 22px; font-weight: 800; line-height: 1.35; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.hh-date { font-size: 12.5px; opacity: .9; }
@media (max-width: 700px) { .hh-title { font-size: 18px; } .hh-cap { padding: 18px 14px 12px; } }

/* スライドショー：アクティブ以外はクリック不可（誤リンク防止） */


/* ===== ファンアートmini grid：なるべく多く詰める ===== */
.explore-zone .thumb-grid.mini { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
@media (max-width: 700px) { .explore-zone .thumb-grid.mini { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 6px; } }
.explore-zone .thumb-grid.mini .t-title { font-size: 11.5px; padding: 3px 4px 0; }
.explore-zone .thumb-grid.mini .t-author { font-size: 10px; padding: 0 4px 4px; }

/* ===== つぶやきタイムライン（X風） ===== */
.tweet-zone .tw-compose {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 12px;
  border: 1px solid #e0cfae; border-radius: 14px; background: #fffdf8; text-decoration: none; color: #8a6a55;
}
.tweet-zone .tw-compose:hover { background: #f7f7f7; border-color: #e5e5e5; }
.tw-compose .tw-avatar { width: 40px; height: 40px; }
.tw-compose-ph { flex: 1; font-size: 14px; color: #b9a892; }
.tw-compose-btn { background: linear-gradient(135deg,#0f0f0f,#0f0f0f); color: #fff; font-weight: 800; font-size: 13px; padding: 7px 18px; border-radius: 999px; }
.tw-timeline { display: flex; flex-direction: column; border: 1px solid #efe3d0; border-radius: 14px; overflow: hidden; background: #fff; }
.tw-item { display: flex; gap: 11px; padding: 13px 14px; border-bottom: 1px solid #f0e4d4; }
.tw-item:last-child { border-bottom: none; }
.tw-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #f0e4d4; flex-shrink: 0; }
.tw-ava-link { flex-shrink: 0; }
.tw-main { min-width: 0; flex: 1; }
.tw-head { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; font-size: 13px; }
.tw-name { font-weight: 800; color: #0f0f0f; text-decoration: none; }
.tw-name:hover { text-decoration: underline; }
.tw-head .trip { font-size: 11px; }
.tw-time { color: #a3835a; font-size: 12px; }
.tw-body { font-size: 14.5px; line-height: 1.65; color: #0f0f0f; margin-top: 3px; white-space: pre-wrap; word-break: break-word; }
.tw-img { margin-top: 9px; border-radius: 14px; overflow: hidden; border: 1px solid #efe3d0; max-width: 380px; }
.tw-img img { width: 100%; max-height: 460px; object-fit: cover; display: block; cursor: zoom-in; }

/* ===== ファンアート：エリアごとに列数を固定（4列詰め込み防止） ===== */
.fan-grid { display: grid; gap: 12px; }
.fan-grid.cols-1 { grid-template-columns: 1fr; }
.fan-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.fan-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
  .fan-grid { gap: 9px; }
  .fan-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .fan-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .fan-grid.cols-1 { grid-template-columns: 1fr; }
}
.fan-grid .thumb-card { width: 100%; }
.fan-grid .thumb-card .frame { aspect-ratio: 1 / 1; }
.fan-grid .thumb-card .t-title { font-size: 13px; }
.fan-grid .thumb-card .t-author { font-size: 11px; }
.fan-grid.cols-1 .thumb-card { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: center; border: 1px solid #e5e5e5; border-radius: 12px; padding: 8px; background: #fffdf8; }
.fan-grid.cols-1 .thumb-card .frame { width: 132px; height: 132px; border-radius: 10px; }
.fan-grid.cols-1 .thumb-card .t-title { font-size: 16px; font-weight: 800; }
.fan-grid.cols-1 .thumb-card .t-author { font-size: 12.5px; }
@media (max-width: 700px) {
  .fan-grid.cols-1 .thumb-card { grid-template-columns: 96px 1fr; }
  .fan-grid.cols-1 .thumb-card .frame { width: 96px; height: 96px; }
  .fan-grid.cols-1 .thumb-card .t-title { font-size: 14px; }
}
/* =====================================================================
   vatican.css ─ Betlemme 光の聖堂テーマ（バチカンの黄と白）
   style.css の後に読み込む上書きテーマ。
   神聖な白を土台に、希望のバナナイエローを主役として、
   ごく小さな赤を差し色に。明るく、あたたかく、清らかに。
   ===================================================================== */

:root {
  --v-white: #ffffff;
  --v-paper: #ffffff;          /* 温かみのある白 */
  --v-cream: #ffffff;          /* ごく淡い黄 */
  --v-banana: #f2f2f2;         /* 希望のバナナイエロー */
  --v-yellow: #e5e5e5;         /* 主役の黄 */
  --v-gold:   #e5e5e5;         /* 濃い金の縁 */
  --v-deep:   #606060;         /* 黄の上でも読める深い金茶 */
  --v-ink:    #0f0f0f;         /* 本文の墨（読みやすい暖色系ダーク） */
  --v-soft:   #606060;
  --v-muted:  #606060;
  --v-line:   #e5e5e5;         /* 淡い金の罫線 */
  --v-red:    #0f0f0f;         /* わずかに差す赤 */
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "游明朝", "Noto Serif JP", "MS PMincho", serif;
}

/* ---------- 土台：光に満ちた白 ---------- */
html { background: var(--v-white); }
body {
  background:
    radial-gradient(ellipse 70% 46% at 50% -8%, rgba(255, 214, 30, .22), transparent 60%),   /* 天から差す黄金の光 */
    radial-gradient(ellipse 50% 60% at 0% 40%, rgba(255, 233, 140, .18), transparent 65%),
    radial-gradient(ellipse 50% 60% at 100% 44%, rgba(255, 233, 140, .18), transparent 65%),
    var(--v-paper);
  background-attachment: fixed;
  color: var(--v-ink);
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 2;
  letter-spacing: .03em;
}
a { color: var(--v-deep); }
a:hover { color: #b28a00; }
b, strong { color: #3d3423; }

/* ---------- ヘッダー：黄金の光のファサード ---------- */
.site-top {
  background:
    radial-gradient(ellipse 70% 140% at 50% -40%, rgba(255, 255, 255, .85), transparent 60%),
    linear-gradient(180deg, #f2f2f2 0%, #e5e5e5 100%);
  border-bottom: 2px solid var(--v-gold);
  box-shadow: 0 1px 0 #fff inset, 0 6px 20px rgba(0,0,0, .25);
}
.site-top::before { opacity: .35; }
.site-top .logo, .site-top .logo a {
  color: #fff;
  text-shadow: 0 1px 0 var(--v-gold), 0 2px 8px rgba(160, 120, 0, .45);
}
.site-top .sub { color: #7a5c00; }
.site-top .sub::before, .site-top .sub::after { color: #fff; }
.site-top .counter { color: #7a5c00; background: rgba(255, 255, 255, .6); border: 1px solid #fff; }
.site-top .counter b { color: var(--v-red); }

.ticker {
  background: var(--v-cream);
  border-top: 1px solid var(--v-line);
  border-bottom: 1px solid var(--v-line);
  color: var(--v-soft);
}

/* ---------- ナビ ---------- */
.retro-nav {
  background: var(--v-white);
  border-bottom: 2px solid var(--v-yellow);
}
.retro-nav a { color: var(--v-ink); border-color: transparent; }
.retro-nav a:hover, .retro-nav a.active {
  background: var(--v-cream);
  color: var(--v-deep);
  border-color: var(--v-yellow);
}
.retro-nav a.nav-official {
  background: linear-gradient(180deg, var(--v-banana), var(--v-yellow));
  color: #606060; border: 1px solid var(--v-gold);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.retro-nav a.nav-post, .retro-nav a.nav-post:hover {
  background: var(--v-red); color: #fff; border: 1px solid #a53125;
}
.retro-nav a.nav-mypage { background: var(--v-cream); color: var(--v-deep); border: 1px solid var(--v-line); }
.login-line {
  background: var(--v-paper); color: var(--v-soft);
  border-bottom: 1px solid var(--v-line);
}

/* ---------- 見出し：黄金の光の帯 ---------- */
.bar, .official-bar {
  position: relative;
  background: linear-gradient(180deg, #f2f2f2 0%, #e5e5e5 55%, #e5e5e5 100%);
  border: 1px solid var(--v-gold);
  border-top: 1px solid #fff6cf;
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .8),
    inset 0 -8px 16px rgba(0,0,0, .25),
    0 2px 8px rgba(0,0,0, .25);
  color: #606060;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}
.bar::after, .official-bar::after { content: none; }
.bar .more, .official-bar .more { color: #7a5c00; }
.bar .more:hover, .official-bar .more:hover { color: #4a3800; }

/* ---------- パネル・カード ---------- */
.panel, .empty-note, .note {
  background: var(--v-white);
  border-color: var(--v-line);
  color: var(--v-ink);
  box-shadow: 0 2px 10px rgba(220, 190, 80, .14), inset 0 1px 0 #fff;
}
.muted, .note { color: var(--v-muted); }
.error-box { background: #fdf0ee; border-color: #e5b6b0; color: #a53125; }
.ok-box { background: #ffffff; border-color: #e5e5e5; color: #606060; }

.thumb-card, .of-card, .honpen-card, .media-card, .blog-card {
  background: var(--v-white);
  border-color: var(--v-line);
  box-shadow: 0 2px 8px rgba(220, 190, 80, .16);
}
.thumb-card:hover, .of-card:hover, .honpen-card:hover, .media-card:hover {
  border-color: var(--v-yellow);
  box-shadow: 0 4px 16px rgba(0,0,0, .3);
}
.thumb-card .frame, .of-card .frame, .honpen-card .frame {
  background: radial-gradient(circle at 50% 30%, #fffef8, var(--v-cream) 80%);
  border-color: var(--v-line);
}
.t-title, .of-card .t, .honpen-card .t { color: var(--v-ink); }
.t-author, .of-card .m, .honpen-card .m { color: var(--v-muted); }
.t-new { background: var(--v-red) !important; color: #fff !important; }

/* ---------- サイド ---------- */
.side-title {
  background: linear-gradient(180deg, var(--v-banana), var(--v-yellow));
  border: 1px solid var(--v-gold);
  color: #606060;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.side-menu a { color: var(--v-ink); border-bottom: 1px dashed var(--v-line); }
.side-menu a:hover { color: var(--v-deep); background: var(--v-cream); }
.side-mini { color: var(--v-soft); background: var(--v-white); border-color: var(--v-line); }
.ad-slot, .fb-slot { background: var(--v-white); color: var(--v-muted); border-color: #e8d98e; }
.ad-note { color: var(--v-muted); }

/* ---------- ボタン ---------- */
.btn {
  background: var(--v-white);
  border: 1px solid var(--v-gold);
  color: var(--v-deep);
  box-shadow: 0 1px 0 rgba(0,0,0, .35), inset 0 1px 0 #fff;
}
.btn:hover { background: var(--v-cream); color: #606060; box-shadow: 0 0 10px rgba(0,0,0, .5); }
.btn.primary {
  background: linear-gradient(180deg, var(--v-banana), var(--v-yellow));
  color: #606060; border-color: var(--v-gold);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.btn.primary:hover { background: linear-gradient(180deg, #f2f2f2, #e5e5e5); }
.btn.gray { background: #f2f2f2; color: var(--v-muted); border-color: #e5e5e5; }
.btn.danger { background: #fdf0ee; border-color: #d98d82; color: var(--v-red); }
.btn.official { border-color: var(--v-gold); color: var(--v-deep); background: var(--v-cream); }

/* ---------- タグ ---------- */
.ptag, .tag-mini { background: var(--v-cream); border-color: var(--v-line); color: var(--v-deep); }
.ptag:hover { background: var(--v-banana); color: #606060; border-color: var(--v-gold); }

/* ---------- 記事本文（読みやすさ最優先） ---------- */
.of-body, .pd-desc, .res-body {
  color: var(--v-ink);
  font-size: 16px;
  line-height: 2.15;
}
.of-body p { margin: 0 0 1.6em; }
.of-body h2 {
  font-family: var(--serif);
  color: #606060;
  font-size: 21px; letter-spacing: .12em;
  padding: 10px 14px;
  margin: 2.2em 0 1em;
  background: linear-gradient(180deg, #f7f7f7, var(--v-banana));
  border: 1px solid var(--v-gold);
  border-left: 5px solid var(--v-gold);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 2px 6px rgba(0,0,0, .2);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.of-body h3 {
  color: var(--v-deep);
  font-size: 17.5px; letter-spacing: .1em;
  margin: 2em 0 .8em;
  padding: 0 0 6px 2px;
  border-bottom: 2px solid var(--v-yellow);
}
.of-body blockquote {
  margin: 1.4em 0; padding: 12px 18px;
  background: var(--v-cream);
  border-left: 4px solid var(--v-yellow);
  color: var(--v-soft);
  border-radius: 0 3px 3px 0;
}
.of-body ul, .of-body ol { margin: 1.2em 0; padding-left: 1.8em; }
.of-body li { margin: .4em 0; }
.of-body hr {
  border: none; height: 2px; margin: 2.4em auto; width: 70%;
  background: linear-gradient(90deg, transparent, var(--v-yellow), transparent);
}
.of-body img { border: 1px solid var(--v-line); border-radius: 3px; }
.of-body a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 音楽・レス ---------- */
.music-item { background: var(--v-white); border-color: var(--v-line); }
.music-title { color: var(--v-ink); }
.res-item { border-color: var(--v-line); }
.res-head { color: var(--v-muted); }
.cathedral-player { background: var(--v-cream); border-color: var(--v-gold); }

/* ---------- フォーム ---------- */
input[type=text], input[type=password], input[type=number], input[type=email],
textarea, select {
  background: #fff !important;
  color: var(--v-ink) !important;
  border: 1px solid #e0d29a !important;
  border-radius: 3px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--v-gold) !important;
  box-shadow: 0 0 0 3px rgba(0,0,0, .3);
}
::placeholder { color: #b8ab8a !important; }

/* ---------- テーブル ---------- */
table th { background: var(--v-cream) !important; color: #606060 !important; border-color: var(--v-line) !important; }
table td { background: #fff !important; color: var(--v-ink) !important; border-color: var(--v-line) !important; }
.admin-list th { background: linear-gradient(180deg, var(--v-banana), var(--v-yellow)) !important; color: #606060 !important; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--v-cream);
  border-top: 2px solid var(--v-yellow);
  color: var(--v-soft);
}
.site-footer a { color: var(--v-deep); }
.home-banner {
  background: linear-gradient(180deg, var(--v-banana), var(--v-yellow));
  border: 1px solid var(--v-gold);
  color: #606060 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

/* ---------- ドロワー（光の回廊） ---------- */
.hb-btn {
  background: linear-gradient(180deg, var(--v-banana), var(--v-yellow)) !important;
  border-color: var(--v-gold) !important;
}
.hb-btn .hb-lines i { background: #606060 !important; }
.hb-panel {
  background:
    radial-gradient(ellipse 120% 40% at 50% 0%, rgba(255, 214, 30, .25), transparent 60%),
    linear-gradient(170deg, #fffef8 0%, var(--v-paper) 60%, var(--v-cream) 100%) !important;
  border-color: var(--v-gold) !important;
}
.hb-crest { border-bottom-color: var(--v-line) !important; }
.hb-cross { color: var(--v-gold) !important; }
.hb-title { color: var(--v-deep) !important; }
.hb-sub, .hb-sec { color: var(--v-muted) !important; }
.hb-link, .hb-lt { color: var(--v-ink) !important; }
.hb-link:hover { background: var(--v-cream) !important; }
.hb-lt small { color: var(--v-muted) !important; }
.hb-li { background: var(--v-cream) !important; border-color: var(--v-line) !important; color: var(--v-deep) !important; }
.hb-x { color: var(--v-deep) !important; }
.hb-foot { color: var(--v-muted) !important; }
.hb-foot-mark { color: var(--v-gold) !important; }
.hb-acct, .hb-login { background: var(--v-white) !important; border-color: var(--v-line) !important; color: var(--v-ink) !important; }

/* ---------- 読みやすさの微調整 ---------- */
.wrap { font-size: 15.5px; }

:root{
  --dz-bg:#f9f9f9; --dz-surface:#ffffff; --dz-hover:#f2f2f2;
  --dz-text:#0f0f0f; --dz-muted:#606060; --dz-line:#e5e5e5;
  --dz-accent:#0f0f0f; --dz-radius:12px; --dz-gap:16px;
}
/* ══ YouTube風レイヤー：フォント・余白・フラット化（全ページ一括） ══ */
body{
  font-family:Roboto,"YouTube Sans","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,Arial,sans-serif !important;
  font-size:14px !important; line-height:1.8 !important;
  background-color:var(--dz-bg) !important; background-image:none !important;
  color:var(--dz-text) !important; letter-spacing:0 !important;
}
a{ color:var(--dz-accent); }
.layout{ gap:var(--dz-gap) !important; padding:var(--dz-gap) !important; }
.wrap{ padding:16px !important; }
/* 装飾の抑制：飾り罫・グラデ照り・レトロ影をフラットに */
.site-top{ background:var(--dz-surface) !important; border-bottom:1px solid var(--dz-line) !important; box-shadow:none !important; }
.site-top::before{ display:none !important; }
.site-top .sub::before,.site-top .sub::after{ content:"" !important; margin:0 !important; }
.site-top .logo a{ color:var(--dz-text) !important; letter-spacing:.02em !important; }
.site-top .counter{ border-radius:99px !important; }
.retro-nav{ background:var(--dz-surface) !important; border-bottom:1px solid var(--dz-line) !important; }
.retro-nav a{ border-radius:99px !important; border-color:transparent !important; color:var(--dz-text) !important; background:transparent !important; font-weight:500; }
.retro-nav a:hover{ background:var(--dz-hover) !important; color:var(--dz-text) !important; }
.retro-nav a.nav-on,.retro-nav a.nav-official,.retro-nav a.nav-post{ background:var(--dz-text) !important; color:var(--dz-surface) !important; }
.login-line{ background:var(--dz-bg) !important; border-bottom:1px solid var(--dz-line) !important; color:var(--dz-muted) !important; }
.ticker{ display:none !important; background:var(--dz-surface) !important; color:var(--dz-muted) !important; border-bottom:1px solid var(--dz-line) !important; }
.side-menu,.side-mini,.of-card,.card,.box,.panel{ border-radius:var(--dz-radius) !important; box-shadow:none !important; }
.btn,.rx-rbtn,.oz-more{ border-radius:99px !important; box-shadow:none !important; background:var(--dz-surface); }

img{ border:0; }
.fb-slot img{ border-radius:8px; }
.section-head h2,h1,h2,h3{ letter-spacing:.01em !important; }
hr{ border:none; border-top:1px solid var(--dz-line); }
input,select,textarea,button{ font-family:Roboto,"YouTube Sans","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,Arial,sans-serif !important; }
.site-footer{ background:var(--dz-surface) !important; color:var(--dz-muted) !important; border-top:1px solid var(--dz-line) !important; box-shadow:none !important; }
.site-footer a{ color:var(--dz-muted) !important; }
/* ══ ブロック・スライドショー部品 ══ */
.blk-area{ margin:0 0 var(--dz-gap); }
.blk{ margin:0 0 12px; }
.blk-h{ margin:6px 0 10px; }
.blk-img img,.blk-banner img{ max-width:100%; height:auto; border-radius:var(--dz-radius); }
.blk-img figcaption{ font-size:12px; color:var(--dz-muted); margin-top:4px; }
.blk-btn{ display:inline-block; background:var(--dz-accent); color:#fff !important; text-decoration:none; font-weight:700; border-radius:99px; padding:10px 26px; }
.blk-btn:hover{ opacity:.9; }
.blk-video{ position:relative; width:100%; aspect-ratio:16/9; }
.blk-video iframe{ position:absolute; inset:0; width:100%; height:100%; border-radius:var(--dz-radius); }
.blk-hr{ border:none; border-top:1px solid var(--dz-line); margin:14px 0; }
.dz-slides{ position:relative; overflow:hidden; border-radius:var(--dz-radius); margin:0 0 var(--dz-gap); background:#000; }
.dz-slide{ position:absolute; inset:0; opacity:0; transition:opacity .8s; }
.dz-slide.on{ opacity:1; }
.dz-slide img{ width:100%; height:100%; object-fit:cover; display:block; }
.dz-cap{ position:absolute; left:0; right:0; bottom:0; padding:14px 18px; color:#fff; font-weight:700;
  background:linear-gradient(transparent,rgba(0,0,0,.6)); font-size:15px; }
.dz-dots{ position:absolute; bottom:8px; right:12px; display:flex; gap:6px; }
.dz-dots button{ width:10px; height:10px; border-radius:50%; border:none; background:rgba(255,255,255,.5); cursor:pointer; padding:0; }
.dz-dots button.on{ background:#fff; }
/* ══════════════════════════════════════════════════════════
   グローバルヘッダー / フッター（信頼・安心・コンパクト）
   ══════════════════════════════════════════════════════════ */
.gh{ position:sticky; top:0; z-index:120; background:var(--dz-surface);
  border-bottom:1px solid var(--dz-line);
  transition:box-shadow .25s ease, backdrop-filter .25s ease; }
.gh.scrolled{ box-shadow:0 1px 10px rgba(0,0,0,.08);
  background:color-mix(in srgb, var(--dz-surface) 88%, transparent);
  -webkit-backdrop-filter:saturate(1.4) blur(10px); backdrop-filter:saturate(1.4) blur(10px); }
.gh-in{ display:flex; align-items:center; gap:10px; height:56px;
  max-width:1500px; margin:0 auto; padding:0 12px; }
/* バーガー（ドロワー起動）: 旧固定ボタンをバー内アイコンに変換 */
.gh .hb-btn{ position:static !important; width:40px; height:40px; border-radius:50%;
  background:transparent !important; border:none !important; box-shadow:none !important;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:background .18s ease; flex:none; }
.gh .hb-btn:hover{ background:var(--dz-hover) !important; }
.gh .hb-btn .hb-lines{ display:flex; flex-direction:column; gap:4px; width:18px; }
.gh .hb-btn .hb-lines i{ display:block; height:2px; border-radius:2px; background:var(--dz-text); transition:transform .2s; }
.gh-logo{ display:flex; align-items:center; text-decoration:none; flex:none; min-width:0; }
.gh-logo img{ max-height:34px; width:auto; display:block; }
.gh-logotype{ font-size:19px; font-weight:700; letter-spacing:.01em; color:var(--dz-text); white-space:nowrap; }
/* 検索（中央・フォーカスで広がる） */
.gh-search{ flex:1; max-width:560px; margin:0 auto; display:flex; height:38px; min-width:0; }
.gh-search input{ flex:1; min-width:0; border:1px solid var(--dz-line); border-right:none;
  border-radius:99px 0 0 99px; padding:0 16px; font-size:14px; background:var(--dz-surface);
  color:var(--dz-text); outline:none; transition:border-color .18s, box-shadow .18s; }
.gh-search input:focus{ border-color:var(--dz-accent); box-shadow:0 0 0 3px color-mix(in srgb, var(--dz-accent) 16%, transparent); }
.gh-search button{ width:56px; border:1px solid var(--dz-line); border-radius:0 99px 99px 0;
  background:var(--dz-hover); color:var(--dz-muted); cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .18s, color .18s; }
.gh-search button:hover{ background:var(--dz-line); color:var(--dz-text); }
/* 右側アクション */
.gh-actions{ display:flex; align-items:center; gap:8px; flex:none; margin-left:auto; }
.gh-iconbtn{ width:40px; height:40px; border-radius:50%; border:none; background:transparent;
  color:var(--dz-text); display:none; align-items:center; justify-content:center; cursor:pointer;
  transition:background .18s; }
.gh-iconbtn:hover{ background:var(--dz-hover); }
.gh-pill{ display:flex; align-items:center; gap:7px; height:36px; padding:0 15px; border-radius:99px;
  text-decoration:none; font-size:13.5px; font-weight:600; color:var(--dz-text);
  background:var(--dz-hover); border:1px solid transparent;
  transition:transform .15s ease, background .18s, box-shadow .18s; }
.gh-pill:hover{ background:var(--dz-line); }
.gh-pill:active{ transform:scale(.96); }
.gh-pill.gh-outline{ background:transparent; border-color:var(--dz-line); color:var(--dz-accent); }
.gh-pill.gh-outline:hover{ background:color-mix(in srgb, var(--dz-accent) 8%, transparent); border-color:var(--dz-accent); }
.gh-pill.gh-accent{ background:var(--dz-accent); color:#fff; }
.gh-pill.gh-accent:hover{ box-shadow:0 3px 12px color-mix(in srgb, var(--dz-accent) 40%, transparent); }
/* チップナビ（横スクロール） */
.gh-chips{ display:flex; gap:8px; overflow-x:auto; padding:0 12px 10px; max-width:1500px; margin:0 auto;
  scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.gh-chips::-webkit-scrollbar{ display:none; }
.gh-chips a{ flex:none; padding:7px 14px; border-radius:8px; font-size:13.5px; font-weight:600;
  text-decoration:none; color:var(--dz-text); background:var(--dz-hover);
  transition:background .16s ease, color .16s ease, transform .15s ease; }
.gh-chips a:hover{ background:var(--dz-line); }
.gh-chips a:active{ transform:scale(.96); }
.gh-chips a.active{ background:var(--dz-text); color:var(--dz-surface); }
@media (max-width:720px){
  .gh-search{ display:none; }
  .gh-iconbtn{ display:flex; }
  .gh.search-open .gh-in > *:not(.gh-search){ display:none; }
  .gh.search-open .gh-search{ display:flex; margin:0; max-width:none; animation:ghSearchIn .22s ease; }
  .gh-pill span{ display:none; }
  .gh-pill{ width:40px; padding:0; justify-content:center; border-radius:50%; }
}
@keyframes ghSearchIn{ from{ opacity:0; transform:translateY(-6px);} to{ opacity:1; transform:none;} }
.ticker{ font-size:12px; }
/* ── フッター ── */
.gf{ background:var(--dz-surface); border-top:1px solid var(--dz-line); margin-top:28px;
  color:var(--dz-muted); font-size:13px; }
.gf-in{ max-width:1200px; margin:0 auto; padding:34px 18px 20px; }
.gf-cols{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:26px; }
@media (max-width:820px){ .gf-cols{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .gf-cols{ grid-template-columns:1fr; } }
.gf-logo{ font-size:18px; font-weight:700; color:var(--dz-text); text-decoration:none; }
.gf-logo img{ max-height:40px; width:auto; }
.gf-desc{ margin:10px 0 14px; line-height:1.9; }
.gf-sns{ display:flex; gap:10px; }
.gf-sns a{ width:38px; height:38px; border-radius:50%; border:1px solid var(--dz-line);
  display:flex; align-items:center; justify-content:center; color:var(--dz-muted);
  transition:transform .18s ease, color .18s, border-color .18s, box-shadow .18s; }
.gf-sns a:hover{ color:var(--dz-text); border-color:var(--dz-text); transform:translateY(-3px);
  box-shadow:0 4px 10px rgba(0,0,0,.08); }
.gf-col h3{ font-size:12px; letter-spacing:.08em; color:var(--dz-text); margin:4px 0 10px; }
.gf-col a{ display:block; color:var(--dz-muted); text-decoration:none; padding:5px 0;
  transition:color .15s, transform .15s; }
.gf-col a:hover{ color:var(--dz-accent); transform:translateX(3px); }
.gf-bottom{ display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:space-between;
  border-top:1px solid var(--dz-line); margin-top:26px; padding-top:16px; font-size:11.5px; }
.gf-cnt{ font-variant-numeric:tabular-nums; }
/* トップへ戻る */
.to-top{ position:fixed; right:18px; bottom:18px; z-index:110; width:46px; height:46px; border-radius:50%;
  border:1px solid var(--dz-line); background:var(--dz-surface); color:var(--dz-text); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform:translateY(10px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s, box-shadow .2s; box-shadow:0 2px 10px rgba(0,0,0,.10); }
.to-top.show{ opacity:1; visibility:visible; transform:none; }
.to-top:hover{ box-shadow:0 6px 16px rgba(0,0,0,.16); transform:translateY(-2px); }
/* 旧ハンバーガー既定(固定右上)の打ち消しは .gh .hb-btn で実施済み */
:root{ --dz-heading:#0f0f0f; --dz-button:#0f0f0f; --dz-bar:#0f0f0f; }
h1,h2,h3,h4,h5,h6,.section-head h2{ color:var(--dz-heading) !important; }
/* 見出し①YouTube風：太字・無装飾 */
h1,h2,h3,h4,h5,h6,.section-head h2{ font-weight:700 !important; border:none !important;
  background:none !important; padding-left:0 !important; letter-spacing:.01em !important; }
/* vatican.css のCSS変数を白黒に再定義（黄の根絶・全ページ一括） */
:root{
  --v-white:#ffffff; --v-paper:var(--dz-surface); --v-cream:var(--dz-surface);
  --v-banana:var(--dz-hover); --v-yellow:var(--dz-hover); --v-gold:var(--dz-line);
  --v-deep:var(--dz-muted); --v-ink:var(--dz-text); --v-soft:var(--dz-muted);
  --v-muted:var(--dz-muted); --v-line:var(--dz-line); --v-red:var(--dz-text);
}
/* 十字オーナメント(✝/✠)の全滅 */
.side-title::before,.site-top .sub::before,.site-top .sub::after,
.retro-nav a.nav-official::before,.bar > span:first-child::before,
.official-zone .oz-head .oz-sub::before,.official-zone .oz-head .oz-sub::after,
.oz-head .oz-sub::after,.oz-head .oz-sub::before,
.hb-title::before,.section-head h2::before{ content:none !important; }
.official-zone .oz-head::before{ display:none !important; content:none !important; }
.official-zone .oz-head{ background-image:none !important; background:var(--dz-surface) !important; }
/* 破線・空欄ノートの白化 */
.empty-note{ background:var(--dz-surface) !important; border:1px dashed var(--dz-line) !important; color:var(--dz-muted) !important; }
/* セクション見出し帯: 白カード+左バー(可読・黒帯事故防止) */
.section-head{ background:var(--dz-surface) !important; border:1px solid var(--dz-line) !important;
  border-left:4px solid var(--dz-bar) !important; border-radius:10px !important; box-shadow:none !important; }
.section-head h2{ color:var(--dz-heading) !important; text-shadow:none !important; }
.section-head h2::before{ content:none !important; }
.section-head a,.section-head .more{ color:var(--dz-muted) !important; text-shadow:none !important; }
/* 旧・十字架オーナメント(†)の全滅 */
.hz-logo::before,.hz-logo::after{ content:none !important; }
.hz-logo{ color:var(--dz-heading) !important; text-shadow:none !important; }
.hz-sub{ color:var(--dz-muted) !important; }
/* 見出し・区切りの「横棒」（旧・金の帯）を管理色に統一 */
.section-head{ border-bottom-color:var(--dz-bar) !important; }
.oz-head .oz-sub::after,.oz-head .oz-sub::before{ color:var(--dz-bar) !important; }
/* お知らせヒーローの黒グラデーション(不気味)を撤去 → 白の帯に */
.hs-cap{ background:color-mix(in srgb, var(--dz-surface) 92%, transparent) !important;
  color:var(--dz-text) !important; text-shadow:none !important;
  border-top:1px solid var(--dz-line); padding-top:12px !important; }
.hs-cap *{ color:var(--dz-text) !important; }
/* 検索サジェスト */
.gh-sug{ position:absolute; top:calc(100% + 6px); left:0; right:0; background:var(--dz-surface);
  border:1px solid var(--dz-line); border-radius:12px; box-shadow:0 8px 26px rgba(0,0,0,.14);
  overflow:hidden; z-index:130; display:none; }
.gh-sug.on{ display:block; animation:ghSearchIn .16s ease; }
.gh-sug a{ display:flex; gap:10px; align-items:center; padding:10px 14px; text-decoration:none;
  color:var(--dz-text); font-size:13.5px; }
.gh-sug a:hover,.gh-sug a.sel{ background:var(--dz-hover); }
.gh-sug .k{ flex:none; font-size:10.5px; color:var(--dz-muted); border:1px solid var(--dz-line);
  border-radius:20px; padding:2px 9px; }
.gh-search{ position:relative; }
/* 空のサイドカラム（管理人にだけ薄い案内） */
.side-empty{ border:1px dashed var(--dz-line); border-radius:12px; padding:18px 10px;
  text-align:center; color:var(--dz-muted); font-size:11.5px; line-height:1.9; }
/* ボタン色（主要ボタンを一括） */
.btn,.rx-rbtn,.oz-more,.blk-btn,.gh-pill.gh-accent{
  background:var(--dz-button) !important; color:#fff !important;
  border-color:var(--dz-button) !important; background-image:none !important; }
.btn:hover,.rx-rbtn:hover,.oz-more:hover,.blk-btn:hover,.gh-pill.gh-accent:hover{
  background:var(--dz-button) !important; color:#fff !important; filter:brightness(1.35); }

:root{ --hb-bg:#ffffff; --hb-text:#0f0f0f; --hb-muted:#606060;
       --hb-hover:#f2f2f2; --hb-active:#0f0f0f; }
/* 共通：骨組み（vatican.css の旧装飾を全上書き） */
.hb-drawer{ position:fixed; inset:0; z-index:200; pointer-events:none; }
.hb-scrim{ position:absolute; inset:0; background:rgba(0,0,0,.45); opacity:0;
  transition:opacity .28s ease; }
html.hb-open .hb-drawer{ pointer-events:auto; }
html.hb-open .hb-scrim{ opacity:1; }
html.hb-open{ overflow:hidden; }
.hb-panel{ position:absolute; background:var(--hb-bg) !important; color:var(--hb-text) !important;
  overflow-y:auto; -webkit-overflow-scrolling:touch; border:none !important; box-shadow:none; }
.hb-crest{ position:sticky; top:0; z-index:2; background:var(--hb-bg);
  padding:16px 18px 12px; border-bottom:1px solid var(--hb-hover); text-align:left !important; }
.hb-title{ font-size:17px; font-weight:700; color:var(--hb-text) !important; letter-spacing:.01em; }
.hb-sub{ font-size:11px; color:var(--hb-muted) !important; margin-top:2px; }
.hb-x{ position:absolute; top:10px; right:10px; width:38px; height:38px; border-radius:50%;
  border:none !important; background:transparent !important; color:var(--hb-text) !important;
  font-size:21px; cursor:pointer; transition:background .18s; }
.hb-x:hover{ background:var(--hb-hover) !important; }
.hb-sec{ font-size:11px; font-weight:700; letter-spacing:.08em; color:var(--hb-muted) !important;
  padding:16px 18px 6px; background:none !important; border:none !important; }
.hb-links{ padding:0 8px; }
.hb-link{ display:flex; align-items:center; gap:14px; padding:10px 12px; border-radius:10px;
  text-decoration:none !important; color:var(--hb-text) !important; background:none !important;
  border:none !important; transition:background .16s ease, transform .12s ease; }
.hb-link:hover{ background:var(--hb-hover) !important; }
.hb-link:active{ transform:scale(.98); }
.hb-link.active{ background:color-mix(in srgb, var(--hb-active) 12%, transparent) !important;
  color:var(--hb-active) !important; font-weight:700; }
.hb-link.active .hb-li svg{ fill:var(--hb-active); stroke:var(--hb-active); }
.hb-li{ flex:none; width:22px; height:22px; display:flex; align-items:center; justify-content:center; }
.hb-li svg{ width:20px; height:20px; fill:currentColor; }
.hb-lt{ font-size:14px; line-height:1.35; }
.hb-lt small{ display:block; font-size:10.5px; color:var(--hb-muted); font-weight:400; }
.hb-login{ display:block; margin:6px 14px; padding:12px 14px; border-radius:12px;
  background:color-mix(in srgb, var(--hb-active) 10%, transparent) !important;
  border:1px solid color-mix(in srgb, var(--hb-active) 30%, transparent) !important;
  text-decoration:none !important; transition:background .18s; }
.hb-login:hover{ background:color-mix(in srgb, var(--hb-active) 18%, transparent) !important; }
.hb-login-t{ display:block; font-weight:700; color:var(--hb-active) !important; font-size:13.5px; }
.hb-login-d{ display:block; font-size:11px; color:var(--hb-muted) !important; margin-top:2px; }
.hb-ext{ display:flex; flex-wrap:wrap; gap:8px; padding:4px 16px 26px; }
.hb-ext a{ font-size:12px; font-weight:600; color:var(--hb-muted) !important; text-decoration:none;
  border:1px solid var(--hb-hover); border-radius:99px; padding:6px 13px;
  transition:color .16s, border-color .16s, background .16s; background:var(--hb-bg); }
.hb-ext a:hover{ color:var(--hb-active) !important; border-color:var(--hb-active); }
/* 型①② 左スライド（YouTube風／ダークは色だけ変更） */
.hb-panel{ top:0; bottom:0; left:0; width:min(310px, 86vw);
  border-radius:0 16px 16px 0 !important; transform:translateX(-102%);
  transition:transform .28s cubic-bezier(.32,.72,.25,1); box-shadow:6px 0 30px rgba(0,0,0,.16); }
html.hb-open .hb-panel{ transform:none; }

/* ══ アニメーション（スクロールでふわっと出現・管理画面から3段階） ══ */
.rv{ opacity:0; transform:translateY(12px); 
  transition:opacity .45s ease, transform .45s cubic-bezier(.22,.7,.3,1); }
.rv.rv-fade{ transform:none; }
.rv.rv-zoom{ transform:scale(.94); }
.rv.in{ opacity:1; transform:none; }
.rv:nth-child(1){ transition-delay:0ms; }
.rv:nth-child(2){ transition-delay:60ms; }
.rv:nth-child(3){ transition-delay:120ms; }
.rv:nth-child(4){ transition-delay:180ms; }
.rv:nth-child(5){ transition-delay:240ms; }
.rv:nth-child(6){ transition-delay:300ms; }
@media (prefers-reduced-motion: reduce){ .rv{ opacity:1 !important; transform:none !important; transition:none !important; } }
/* ══ プラグインエリア：自由CSS ══ */
