/* ============================================================
   status-chrome v2 — Members' Lounge (dark x gold 全面テーマ)
   正本: F:\status\status-com\mu-plugins\status-chrome.css
   ============================================================ */
:root {
  --st-canvas: #0F0F10;
  --st-surface: #17171A;
  --st-surface2: #1D1C1F;
  --st-line: rgba(255,255,255,.08);
  --st-line-g: rgba(201,169,97,.35);
  --st-gold: #C9A961;
  --st-gold-dim: #A88947;
  --st-gold-brt: #E0BE76;
  --st-ink: #E9E4DA;
  --st-ink2: #B8B2A6;
  --st-ink3: #8D877B;
  --st-serif: "Yu Mincho","YuMincho","Hiragino Mincho ProN","Noto Serif JP",serif;
}

/* ===== C1: キャンバス・共通 ===== */
body.page-body {
  background: var(--st-canvas);
  /* 上部にごく薄いゴールドの光溜まり（ラウンジの照明） */
  background-image: radial-gradient(ellipse 90% 480px at 50% -80px, rgba(201,169,97,.055), transparent 70%);
  background-repeat: no-repeat;
  color: var(--st-ink);
}
::selection { background: rgba(201,169,97,.35); color: #fff; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #131315; }
::-webkit-scrollbar-thumb { background: #2E2C29; border-radius: 6px; border: 3px solid #131315; }
::-webkit-scrollbar-thumb:hover { background: var(--st-gold-dim); }

#container, #body, #content, .main, .sidebar { background: transparent; }

/* ===== header (設計書2 D1・変更なしで維持) ===== */
#header-container { background: #141414; }
#header { background: transparent; position: relative; padding: 22px 0 14px; }
#header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent 5%, #C9A961 50%, transparent 95%);
}
#header .tagline {
  color: rgba(201,169,97,.8); font-size: 10px; letter-spacing: .25em;
  margin-bottom: 6px;
}
#header .logo-header a, #header .site-name-text {
  font-family: var(--st-serif);
  color: #f5f5f5; font-size: 28px; letter-spacing: .14em; font-weight: 600;
  transition: color .25s ease;
}
/* ロゴを画像化（テキストはSEO/アクセシビリティのためDOMに残し視覚的にのみ画像に差し替え） */
#header .site-name-text {
  display: inline-block;
  width: 360px;
  aspect-ratio: 1500 / 202;
  background-image: url("https://www.status-item.com/wp-content/uploads/2026/07/logo_wordmark.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  vertical-align: middle;
}
#header .logo-header a:hover .site-name-text { opacity: .82; }
#navi { background: #141414; border-top: 1px solid rgba(255,255,255,.06); }
#navi .menu-pc > li > a {
  color: #b9b9b9; font-size: 13px; letter-spacing: .2em;
  transition: color .25s ease; position: relative;
}
#navi .menu-pc > li > a::after {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: 8px; height: 1px;
  background: #C9A961; transform: scaleX(0); transform-origin: center;
  transition: transform .25s ease;
}
#navi .menu-pc > li > a:hover,
#navi .menu-pc > li.current-menu-item > a,
#navi .menu-pc > li.current-post-parent > a { color: #C9A961; background: transparent; }
#navi .menu-pc > li > a:hover::after,
#navi .menu-pc > li.current-menu-item > a::after { transform: scaleX(1); }
.mobile-header-menu-buttons { background: #141414; }
.mobile-header-menu-buttons .menu-button > a,
.mobile-header-menu-buttons .search-menu-button.menu-button { color: #C9A961; }
.mobile-menu-buttons .menu-button-in { color: #C9A961; }
.navi-menu-content .menu-drawer a { color: #ddd; }
.navi-menu-content .menu-drawer a:hover { color: #C9A961; }

/* ===== C2: 記事リストカード（トップ/アーカイブ/関連記事 共通: .a-wrap.border-element） ===== */
.a-wrap.border-element {
  background: var(--st-surface);
  border: 1px solid var(--st-line);
  border-radius: 2px;
  color: var(--st-ink2);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.a-wrap.border-element:hover {
  background: var(--st-surface);
  border-color: var(--st-line-g);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,.5);
  color: var(--st-ink2);
}
.entry-card-thumb, .related-entry-card-thumb { overflow: hidden; }
.entry-card-thumb-image, .related-entry-card-thumb-image {
  transition: transform .5s ease;
}
.a-wrap.border-element:hover .entry-card-thumb-image,
.a-wrap.border-element:hover .related-entry-card-thumb-image { transform: scale(1.04); }

.entry-card-title, .related-entry-card-title {
  font-family: var(--st-serif);
  color: var(--st-ink);
  letter-spacing: .03em;
  line-height: 1.55;
  transition: color .25s ease;
}
.a-wrap.border-element:hover .entry-card-title,
.a-wrap.border-element:hover .related-entry-card-title { color: var(--st-gold-brt); }
.entry-card-snippet, .related-entry-card-snippet { color: var(--st-ink2); }
.entry-card-meta, .related-entry-card-meta { color: var(--st-ink3); }
.entry-card-meta .post-date, .entry-card-meta .post-update { color: var(--st-ink3); }

/* カテゴリラベル（サムネ上のチップ・旧v2から吸収） */
.cat-label {
  background: rgba(10,10,10,.85) !important;
  color: var(--st-gold) !important;
  border: 1px solid var(--st-gold);
  font-weight: 600;
  letter-spacing: .08em;
}

/* ===== C3: サイドバー ===== */
.sidebar { color: var(--st-ink2); }
.sidebar .widget {
  background: var(--st-surface);
  border: 1px solid var(--st-line);
  border-radius: 2px;
  padding: 22px 20px;
  margin-bottom: 28px;
}
/* ウィジェット見出し（h2/h3両対応。Cocoonデフォルトの帯背景を殺す） */
.sidebar .widget h2, .sidebar .widget h3,
.widget-sidebar h2, .widget-sidebar h3 {
  font-family: var(--st-serif);
  background: none !important;
  border: none !important;
  border-bottom: 1px solid var(--st-line-g) !important;
  color: var(--st-ink) !important;
  font-size: 15px;
  letter-spacing: .18em;
  padding: 0 0 .6em 0 !important;
  margin: 0 0 .9em !important;
}
.sidebar a { color: var(--st-ink2) !important; transition: color .2s ease; }
.sidebar a:hover { color: var(--st-gold-brt) !important; }
/* 最新記事リスト: ヘアライン区切り */
.sidebar .wp-block-latest-posts li {
  border-bottom: 1px solid var(--st-line);
  padding: .55em 0;
  margin: 0;
  line-height: 1.6;
}
.sidebar .wp-block-latest-posts li:last-child { border-bottom: none; }
/* 検索ブロック */
.sidebar .wp-block-search__input {
  background: #101012;
  border: 1px solid var(--st-line-g);
  color: var(--st-ink);
  border-radius: 2px;
}
.sidebar .wp-block-search__input::placeholder { color: var(--st-ink3); opacity: 1; }
.sidebar .wp-block-search__input:focus { border-color: var(--st-gold-dim); outline: none; }
.sidebar .wp-block-search__button {
  background: transparent;
  border: 1px solid var(--st-gold-dim);
  color: var(--st-gold);
  border-radius: 2px;
  letter-spacing: .1em;
  transition: all .2s ease;
}
.sidebar .wp-block-search__button:hover { background: var(--st-gold); color: #0A0A0A; }

/* ===== C4: 記事ページ（面とタイトル） ===== */
.article {
  background: var(--st-surface);
  border: 1px solid var(--st-line);
  border-radius: 2px;
  padding: 44px 48px;
  color: var(--st-ink);
}
.article .entry-title, h1.entry-title {
  font-family: var(--st-serif);
  color: var(--st-ink);
  font-size: 1.75em;
  line-height: 1.55;
  letter-spacing: .03em;
  padding-bottom: .6em;
  border-bottom: 1px solid var(--st-line-g);
}
.article .date-tags, .article .post-date, .article .post-update { color: var(--st-ink3); }

/* ===== C4: 本文タイポグラフィ（旧v2をダーク再構成） ===== */
.article p, .entry-content p {
  line-height: 1.95;
  letter-spacing: .015em;
  margin: 0 0 1.3em;
  color: var(--st-ink);
}
.article h2, .entry-content h2 {
  font-family: var(--st-serif);
  position: relative;
  padding: .45em 0 .55em .95em;
  margin: 2.6em 0 1.3em;
  border-left: 3px solid var(--st-gold);
  border-bottom: 1px solid var(--st-line);
  border-top: none; border-right: none;
  background: none;
  font-size: 1.45em;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--st-ink);
  line-height: 1.5;
}
.article h3, .entry-content h3 {
  font-family: var(--st-serif);
  border: none;
  border-bottom: 1px dotted var(--st-line-g);
  padding: 0 0 .35em;
  margin: 2.1em 0 .9em;
  background: none;
  font-size: 1.18em;
  font-weight: 600;
  color: var(--st-ink);
}
.article strong, .entry-content strong {
  background: linear-gradient(transparent 64%, rgba(201,169,97,.24) 64%, rgba(201,169,97,.24) 94%, transparent 94%);
  color: #F4F0E8;
  font-weight: 700;
  padding: 0 2px;
}
.article a:not(.btn):not([class*="status-cta__button"]),
.entry-content a:not(.btn):not([class*="status-cta__button"]) {
  color: var(--st-gold-brt);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article a:hover:not(.btn):not([class*="status-cta__button"]) { color: #F0D695; }
.article ul li, .entry-content ul li,
.article ol li, .entry-content ol li { color: var(--st-ink); }
.article ul li::marker, .entry-content ul li::marker { color: var(--st-gold); }
.article ol li::marker, .entry-content ol li::marker { color: var(--st-gold-dim); font-weight: bold; }

/* ===== C5: 本文内コンポーネント ===== */
/* 画像: 明るい額縁をやめ、ヘアライン+深い影 */
.article figure.status-figure, .entry-content figure.status-figure {
  margin: 2.5em 0 !important;
  padding: 0;
  background: none;
  border: 1px solid var(--st-line);
  border-radius: 2px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  overflow: hidden;
}
.article figure.status-figure img, .entry-content figure.status-figure img {
  display: block; width: 100%; height: auto; border-radius: 0;
}
/* 引用 */
.article blockquote, .entry-content blockquote {
  border-left: 3px solid var(--st-gold) !important;
  border-right: none;
  background: var(--st-surface2) !important;
  padding: 1.2em 1.6em !important;
  margin: 2em 0 !important;
  font-style: italic;
  color: var(--st-ink2) !important;
  line-height: 1.85;
  position: relative;
}
.article blockquote::before, .entry-content blockquote::before {
  content: "\201C";
  position: absolute; top: -8px; left: 6px;
  color: var(--st-gold); font-size: 2.4em;
  font-family: Georgia, serif; opacity: .4; line-height: 1;
}
/* スペック表 */
.article table, .entry-content table {
  border-collapse: collapse; width: 100%;
  margin: 1.6em 0; font-size: .92em;
}
.article table th, .entry-content table th {
  background: #0C0C0D !important;
  color: var(--st-gold) !important;
  border-bottom: 2px solid var(--st-gold) !important;
  padding: 12px 14px !important;
  text-align: left; font-weight: 700; letter-spacing: .04em;
}
.article table td, .entry-content table td {
  border-bottom: 1px solid var(--st-line) !important;
  padding: 12px 14px !important;
  background: var(--st-surface);
  color: var(--st-ink);
}
.article table tr:nth-child(even) td { background: var(--st-surface2); }
/* 楽天商品カード: 象牙色プレートとして意図的に明るく残す（内部インライン色は黒文字/赤価格のまま生きる） */
.status-aff-card {
  background: #F5F1E7 !important;
  border: 1px solid var(--st-line-g) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.5);
}
/* 著者欄 */
aside.status-author {
  border-top: 1px solid var(--st-line) !important;
  border-bottom: 1px solid var(--st-line) !important;
  padding: 30px 0 !important;
  margin: 56px 0 16px !important;
  display: flex !important;
  gap: 24px !important;
  align-items: flex-start !important;
  background: transparent !important;
}
aside.status-author > div:first-child {
  flex-shrink: 0; width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, #141414, #2A2A2A);
  color: var(--st-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55em; font-weight: 700; letter-spacing: .06em;
  border: 2px solid var(--st-gold);
}
aside.status-author p[itemprop="name"] { margin: 0 0 6px !important; font-size: 1.1em; font-weight: 700; color: var(--st-ink); font-family: var(--st-serif); }
aside.status-author p[itemprop="jobTitle"] { margin: 0 0 10px !important; font-size: .88em; color: var(--st-ink3); }
aside.status-author p[itemprop="description"] { margin: 0 !important; font-size: .93em; line-height: 1.7; color: var(--st-ink2); }
/* CTA（旧v2から吸収・そのまま） */
aside.status-cta {
  position: relative;
  border: 1px solid var(--st-gold) !important;
  padding: 44px 36px !important;
  margin: 72px 0 32px !important;
  background: linear-gradient(180deg, #141414 0%, #1C1C1C 100%) !important;
  color: #F3F3F3 !important;
  border-radius: 2px !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  overflow: hidden;
}
aside.status-cta::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--st-gold-dim), var(--st-gold-brt), var(--st-gold-dim));
}
aside.status-cta .status-cta__title {
  border: none !important; background: none !important; padding: 0 !important;
  font-weight: 700 !important; line-height: 1.5 !important; margin: 0 0 22px !important;
  color: #FFF !important; font-family: var(--st-serif);
}
aside.status-cta p { color: #DCDCDC !important; line-height: 1.85 !important; }
aside.status-cta strong { background: none !important; color: var(--st-gold) !important; padding: 0 !important; }
aside.status-cta .status-cta__plans {
  border-top: 1px solid #333 !important; border-bottom: 1px solid #333 !important;
  padding: 22px 0 !important; margin: 28px 0 !important;
}
aside.status-cta .status-cta__plans ul li strong { color: #FFF !important; }
aside.status-cta a[href*="contact"], aside.status-cta a[href*="maestro"] {
  display: inline-block !important;
  padding: 16px 44px !important;
  background: var(--st-gold) !important;
  color: #0A0A0A !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  letter-spacing: .1em !important;
  border-radius: 2px !important;
  transition: all .2s ease;
}
aside.status-cta a[href*="contact"]:hover, aside.status-cta a[href*="maestro"]:hover {
  background: var(--st-gold-brt) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201,169,97,.3);
}
/* ラベルチップ（旧v2から吸収） */
.status-chip {
  display: inline-block; padding: 2px 10px;
  background: #141414; color: var(--st-gold);
  border: 1px solid var(--st-gold); border-radius: 2px;
  font-size: .72em; letter-spacing: .16em; font-weight: 700;
  vertical-align: middle; margin-right: 6px; text-transform: uppercase;
}
/* SNSシェアボタン: ブランド原色はラウンジに合わないためモノトーン化 */
.sns-share a {
  background: transparent !important;
  border: 1px solid var(--st-line) !important;
  color: var(--st-ink2) !important;
  transition: all .2s ease;
}
.sns-share a:hover {
  border-color: var(--st-gold-dim) !important;
  color: var(--st-gold) !important;
  background: rgba(201,169,97,.06) !important;
}

/* ===== C6: 前後記事ナビ・ページネーション・パンくず・コメント ===== */
.pager-post-navi a {
  background: var(--st-surface);
  border: 1px solid var(--st-line);
  color: var(--st-ink2);
  transition: border-color .25s ease, color .25s ease;
}
.pager-post-navi a:hover { border-color: var(--st-line-g); color: var(--st-ink); background: var(--st-surface); }
.pager-post-navi .iconfont { color: var(--st-gold-dim); }

.pagination .page-numbers {
  background: var(--st-surface);
  border: 1px solid var(--st-line);
  color: var(--st-ink2);
  border-radius: 2px;
}
.pagination .page-numbers:hover { border-color: var(--st-gold-dim); color: var(--st-gold); }
.pagination .page-numbers.current { background: var(--st-gold); border-color: var(--st-gold); color: #0A0A0A; font-weight: 700; }
.pagination-next-link.key-btn {
  background: transparent;
  border: 1px solid var(--st-gold-dim);
  color: var(--st-gold);
  border-radius: 2px;
  transition: all .2s ease;
}
.pagination-next-link.key-btn:hover { background: var(--st-gold); color: #0A0A0A; }

.breadcrumb, .breadcrumb a { color: var(--st-ink3); }
.breadcrumb a:hover { color: var(--st-gold); }
.breadcrumb .sp-arrow, .breadcrumb .fa { color: var(--st-gold-dim); }

.related-entry-heading, .comment-title {
  font-family: var(--st-serif);
  color: var(--st-ink) !important;
  background: none !important;
  border: none !important;
  border-bottom: 1px solid var(--st-line-g) !important;
  padding: 0 0 .5em !important;
  letter-spacing: .1em;
}
#comment-area { color: var(--st-ink2); }
#comment-area input[type="text"], #comment-area input[type="email"],
#comment-area input[type="url"], #comment-area textarea {
  background: #101012;
  border: 1px solid var(--st-line);
  color: var(--st-ink);
  border-radius: 2px;
}
#comment-area input:focus, #comment-area textarea:focus { border-color: var(--st-gold-dim); outline: none; }
#comment-area .submit, #comment-area input[type="submit"] {
  background: transparent;
  border: 1px solid var(--st-gold-dim);
  color: var(--st-gold);
  border-radius: 2px;
  letter-spacing: .1em;
  transition: all .2s ease;
}
#comment-area .submit:hover, #comment-area input[type="submit"]:hover { background: var(--st-gold); color: #0A0A0A; }
/* コメント欄を開くトグルボタン（フォーム展開前の初期表示） */
#comment-area .comment-btn.key-btn {
  background: transparent !important;
  border: 1px solid var(--st-gold-dim) !important;
  color: var(--st-gold) !important;
  border-radius: 2px !important;
  letter-spacing: .1em;
  transition: all .2s ease;
}
#comment-area .comment-btn.key-btn:hover { background: var(--st-gold) !important; color: #0A0A0A !important; }

/* ===== C7: フッター ===== */
.footer {
  background: #0A0A0A !important;
  color: var(--st-ink3) !important;
  border-top: 1px solid transparent;
  position: relative;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent 5%, var(--st-gold) 50%, transparent 95%);
}
.footer .logo-footer a, .footer .site-name-text {
  font-family: var(--st-serif);
  color: var(--st-ink) !important;
  letter-spacing: .14em;
}
/* ロゴを画像化（テキストはSEO/アクセシビリティのためDOMに残し視覚的にのみ画像に差し替え） */
.footer .site-name-text {
  display: inline-block;
  width: 220px;
  aspect-ratio: 1500 / 202;
  background-image: url("https://www.status-item.com/wp-content/uploads/2026/07/logo_wordmark.png");
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  vertical-align: middle;
}
.footer .logo-footer a:hover .site-name-text { opacity: .82; }
.footer a { color: var(--st-ink3) !important; transition: color .2s ease; }
.footer a:hover { color: var(--st-gold) !important; }
.footer .copyright { color: #5F5B53; font-size: .85em; letter-spacing: .08em; }

/* ページトップへ戻るボタン */
.go-to-top-button {
  background: rgba(20,20,20,.9) !important;
  border: 1px solid var(--st-gold-dim) !important;
  color: var(--st-gold) !important;
}

/* ===== モバイル ===== */
@media (max-width: 834px) {
  .article { padding: 24px 18px; border-left: none; border-right: none; border-radius: 0; }
  .sidebar .widget { padding: 18px 16px; }
  .article h2, .entry-content h2 { font-size: 1.28em; padding-left: .8em; }
  aside.status-cta { padding: 28px 22px !important; margin: 52px 0 24px !important; }
  aside.status-cta .status-cta__title { font-size: 1.18em !important; }
  aside.status-cta a[href*="contact"], aside.status-cta a[href*="maestro"] {
    display: block !important; text-align: center !important; padding: 16px 20px !important;
  }
  aside.status-author { flex-direction: column !important; align-items: center !important; text-align: center; gap: 16px !important; }
  aside.status-author > div:first-child { width: 76px; height: 76px; font-size: 1.35em; }
  .article table th, .article table td { padding: 9px 10px !important; font-size: .88em; }
}
/* モバイルフッターボタン（画面下固定バー） */
.mobile-footer-menu-buttons {
  background: rgba(15,15,16,.96) !important;
  border-top: 1px solid var(--st-line-g);
}
.mobile-footer-menu-buttons .menu-button > a { color: var(--st-gold) !important; }
