/* ===============================
    ■ カラーパレット（最重要）
=============================== */
:root {
    --main-bg: #1e0f0e;
    --sub-bg: #3E2624;
    --accent: #CDB876;
    --gold: #CDB876;
    --link: #D8A7B1;
    --hover: #EED6C4;
    --text: #EAE6DF;
    --sub-text: #B8AFA6;
    --bg:         #010102;
    --border:     rgba(255, 255, 255, .06);
    --text-muted: rgba(240, 234, 236, .55);
}

/* 強制適用（背景の闇化） */
body,
#container,
.main,
.content,
.wrap {
    background-color: var(--main-bg) !important;
}

/* 入力フォームのバグ防止を含めた文字色統一 */
body,
input,
textarea,
select,
button {
    color: var(--text) !important;
}

/* ===============================
    ■ 全体・フォント
=============================== */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.entry-card-title,
.related-entry-card-title,
.post-date,
.post-update {
    /* 欧文フォント Cormorant を最優先にして英数字に色気を出す */
    font-family: 'Cormorant Garamond', 'Noto Serif JP', 'Hiragino Mincho ProN', serif !important;
    font-variant-numeric: lining-nums;
    letter-spacing: 0.03em;
}

/* 共通のベース設定（PC表示および基本カラー） */
.entry-title {
    color: var(--accent) !important;
    font-weight: 600;
}

.entry-card-title,
.related-entry-card-title {
    color: var(--accent) !important;
    font-weight: 600;
}

/* コンテンツ幅（中央に高級ゾーン） */
.content,
.main,
.wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ===============================
    ■ ヘッダー
=============================== */
#header,
.header-container {
    background: #140f14 !important;
    border-bottom: 1px solid var(--gold) !important;
}

.site-name,
.site-name-text {
    color: var(--accent) !important;
    letter-spacing: 0.1em;
}

/* ナビ */
#navi a {
    color: var(--link) !important;
}

#navi a:hover {
    color: var(--hover) !important;
}

/* ===============================
    ■ 見出し（記事・固定ページの本文内のみに厳密に限定）
=============================== */
.single-post .entry-content h2,
.page .entry-content h2 {
    background: var(--gold) !important;
    color: #110D12 !important;
    padding: 18px 24px !important;
    margin: 60px 0 30px !important;
    border-radius: 4px !important;
    border: none !important;
    font-size: 22px !important;
}

.single-post .entry-content h3,
.page .entry-content h3 {
    color: var(--accent) !important;
    margin: 40px 0 20px !important;
    border-bottom: 1px solid rgba(205, 184, 118, 0.4) !important;
    padding-bottom: 8px !important;
}

/* ===============================
    ■ 本文・リスト
=============================== */
.article p {
    margin-bottom: 24px !important;
    color: var(--text) !important;
    line-height: 1.85;
}

.article ul {
    margin: 20px 0 !important;
    padding-left: 20px !important;
}

.article li {
    margin-bottom: 10px !important;
}

/* ===============================
    ■ 目次（Cocoon）
=============================== */
.toc {
    background: var(--sub-bg) !important;
    border: 1px solid var(--gold) !important;
    padding: 30px !important;
    margin: 40px 0 !important;
    border-radius: 6px !important;
}

.toc-title {
    color: var(--accent) !important;
}

/* ===============================
    ■ カード（トップページの新着記事風に完全同期）
=============================== */
.entry-card,
.related-entry-card,
.entry-card-wrap,
.a-wrap {
    /* トップページと同じ！余計な背景色や枠線はすべて「無（透過）」にして闇に溶け込ませる */
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    transition: transform 0.3s ease, opacity 0.3s ease !important;
    box-sizing: border-box;
    overflow: hidden;
}

.entry-card-content,
.card-content {
    background: transparent !important;
    background-color: transparent !important;
    padding: 12px 0 !important;
    /* 無駄な横余白を削ってアイキャッチと文字をパキッと並べる */
}

/* ほんのり透過させる上品なホバー */
.entry-card:hover,
.related-entry-card:hover {
    transform: translateY(-2px) !important;
    opacity: 0.85 !important;
}

/* ===============================
    ■ サイドバー
=============================== */
.sidebar,
.widget-area {
    background: transparent !important;
}

.widget {
    background: var(--sub-bg) !important;
    border: 1px solid var(--gold) !important;
    border-radius: 8px !important;
    margin-bottom: 30px !important;
    overflow: hidden;
}

.widget-title {
    background: var(--gold) !important;
    color: #110D12 !important;
    padding: 10px 15px !important;
    border-radius: 4px 4px 0 0 !important;
    border: none !important;
}

/* ===============================
    ■ リンク・ボタン
=============================== */
a {
    color: var(--link);
    text-decoration: none !important;
}

a:hover {
    color: var(--hover);
}

button,
.wp-block-button__link {
    background: linear-gradient(135deg, var(--accent), var(--gold)) !important;
    color: #110D12 !important;
    border: none !important;
    padding: 10px 20px !important;
    transition: 0.3s !important;
}

button:hover,
.wp-block-button__link:hover {
    background: linear-gradient(135deg, var(--hover), var(--gold)) !important;
}

/* ===============================
    ■ フォーム（ダークモード最適化）
=============================== */
input,
textarea,
select {
    background: #1b151b !important;
    color: var(--text) !important;
    border: 1px solid var(--gold) !important;
    padding: 8px !important;
    border-radius: 4px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 6px rgba(250, 232, 239, 0.3) !important;
    outline: none;
}

/* ===============================
    ■ Cocoon ページネーション調整
=============================== */
.pagination a,
.page-numbers {
    background: var(--sub-bg) !important;
    border: 1px solid var(--gold) !important;
    color: var(--text) !important;
}

.pagination .current {
    background: var(--gold) !important;
    color: #110D12 !important;
    border-color: var(--gold) !important;
}

/* ===============================
    ■ フッター
=============================== */
#footer {
    background: #140f14 !important;
    border-top: 1px solid var(--gold) !important;
    color: var(--sub-text) !important;
    padding: 30px 0 !important;
}

/* ===============================
    ■ スクロールバー
=============================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
}

/* ===============================
    ■ スマホ表示（画面幅480px以下）の調整
=============================== */
@media screen and (max-width: 480px) {

    .content,
    .main,
    .wrap {
        padding: 16px 10px !important;
    }

    body,
    .article {
        font-size: 16px !important;
        line-height: 1.8 !important;
    }

    /* 記事ページのタイトル */
    .entry-title {
        font-size: 22px !important;
        line-height: 1.6 !important;
        letter-spacing: 0.05em !important;
        margin-bottom: 40px !important;
    }

    /* ★スマホカードタイトル：
       トップページの「高級感・重厚感」を100%移植！！
       丸っこいゴシック体をやめ、色気のある「美しい明朝体」に変更。
       色も生成りから、トップページと同じ艶やかな「ゴールド（--accent）」に統一して高級感を爆上げします。
    */
    .entry-card-title,
    .related-entry-card-title,
    .entry-card-title a,
    .related-entry-card-title a {
        font-family: 'Cormorant Garamond', 'Noto Serif JP', serif !important;
        font-size: 15px !important;
        /* 14pxから微調整して文字の重みをプラス */
        line-height: 1.5 !important;
        font-weight: 600 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        color: var(--accent) !important;
        /* トップページの新着記事と同じゴールド */
    }

    /* カード全体の内部余白 */
    .entry-card-content,
    .card-content {
        padding: 12px 4px !important;
    }

    /* スマホ用の本文内H2 */
    .single-post .entry-content h2,
    .page .entry-content h2 {
        font-size: 18px !important;
        padding: 12px 15px !important;
        margin: 40px 0 20px !important;
    }

    /* 数字（Cormorant）のサイズ微調整 */
    .post-date,
    .post-update {
        font-size: 12px !important;
    }
}

/* =============================================================
  ■ カテゴリーページ：アクセント変数
============================================================= */

body.category-archive {
  --accent: #d14573;
  background: var(--bg) !important;
}

/* =============================================================
  ■ カテゴリーヒーロー
============================================================= */

.cat-hero {
  position: relative;
  width: 100%;
  min-height: 45vw;
  max-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.cat-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(.55) saturate(1.1);
}

.cat-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%),
    linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 40%, transparent 100%);
}

.cat-hero__content {
  position: relative;
  z-index: 5;
  padding: 24px 20px 28px;
  width: 100%;
}

.cat-hero__breadcrumb {
  font-size: 11px;
  color: rgba(240,234,236,.55);
  letter-spacing: .06em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-hero__breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.cat-hero__breadcrumb-sep { opacity: .5; }

.cat-hero__title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: .06em;
  color: #f0eaec;
  line-height: 1.3;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

.cat-hero__rule {
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 14px;
}

.cat-hero__lead {
  font-size: 14px;
  color: var(--accent);
  line-height: 1.6;
  letter-spacing: .04em;
  margin-bottom: 8px;
  font-weight: 500;
}

.cat-hero__desc {
  font-size: 12px;
  color: rgba(240,234,236,.7);
  line-height: 1.75;
  letter-spacing: .04em;
}

/* =============================================================
  ■ カテゴリーページ：バー（ソート＋件数）
============================================================= */

.cat-main {
  background: var(--bg);
  min-height: 60vh;
  padding-bottom: 80px; /* bottom-nav clearance */
}

.cat-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
}

.cat-sort {
  display: flex;
  gap: 0;
}

.cat-sort__tab {
  display: inline-block;
  padding: 14px 16px 12px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.cat-sort__tab.is-active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.cat-count {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: .04em;
}

.cat-count span {
  color: var(--text);
  font-size: 14px;
}

/* =============================================================
  ■ リスト型カード（.list-card）
============================================================= */

.list-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  background: transparent;
  transition: background .2s;
  cursor: pointer;
}

.list-card:last-child {
  border-bottom: 1px solid var(--border);
}

.list-card:hover,
.list-card:active {
  background: rgba(255,255,255,.02);
}

/* サムネイル */
.list-card__thumb {
  flex-shrink: 0;
  width: 100px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.list-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.list-card:hover .list-card__thumb img { transform: scale(1.04); }

/* コンテンツ */
.list-card__body {
  flex: 1;
  min-width: 0;
}

.list-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.list-card__date {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .04em;
  flex-shrink: 0;
}

.list-card__cat {
  display: inline-block;
  background: rgba(106,0,37,.75);
  color: #f0eaec;
  font-size: 10px;
  padding: 2px 8px;
  letter-spacing: .04em;
  border-radius: 1px;
  white-space: nowrap;
}

.list-card__title {
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: .03em;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-card__excerpt {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 右端矢印 */
.list-card__arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-muted);
  padding-left: 4px;
}

/* =============================================================
  ■ カテゴリーページ：ページネーション
============================================================= */

.cat-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 32px 16px 16px;
  flex-wrap: wrap;
}

.cat-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 14px;
  color: var(--text) !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid var(--border) !important;
  border-radius: 2px;
  text-decoration: none;
  transition: background .2s;
}

.cat-pagination .page-numbers.current {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.cat-pagination .page-numbers.dots {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--text-muted) !important;
}

.cat-pagination .prev,
.cat-pagination .next {
  font-size: 18px;
}

/* 空記事メッセージ */
.cat-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: .04em;
}

/* =============================================================
  ■ PC：カテゴリーページ（769px以上）
============================================================= */

@media (min-width: 769px) {

  .cat-hero {
    min-height: 320px;
    max-height: 480px;
  }

  .cat-hero__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 48px 44px;
  }

  .cat-hero__title  { font-size: 42px; }
  .cat-hero__lead   { font-size: 16px; }
  .cat-hero__desc   { font-size: 14px; }

  .cat-main {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
  }

  .cat-bar {
    padding: 0;
  }

  .list-card {
    padding: 20px 0;
    gap: 20px;
  }

  .list-card__thumb { width: 140px; }
  .list-card__title { font-size: 16px; }
  .list-card__excerpt {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: 13px;
  }

}

/* ===============================
  ■ 個別記事ページ（single.php）
=============================== */

/* body クラス */
body.single-sareshite {
  --accent: #d14573;
  background: var(--bg) !important;
}

/* ===============================
  ■ SINGLE HERO
=============================== */

.single-hero {
  position: relative;
  width: 100%;
  min-height: 55vw;
  max-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.single-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,.20) 0%,
      rgba(0,0,0,.60) 55%,
      rgba(0,0,0,.95) 85%,
      #000 100%);
}

.single-hero__content {
  position: relative;
  z-index: 5;
  padding: 20px 20px 52px;
  width: 100%;
}

/* カテゴリーバッジ */
.single-hero__cat {
  display: inline-block;
  background: rgba(106, 0, 37, .80);
  color: #f0eaec;
  font-size: 11px;
  padding: 3px 10px;
  letter-spacing: .06em;
  border-radius: 1px;
  text-decoration: none;
  margin-bottom: 12px;
}

/* タイトル */
.single-hero__title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .04em;
  color: #f6f1f2;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
}

/* 投稿日 */
.single-hero__date {
  font-size: 12px;
  color: rgba(240, 234, 236, .60);
  letter-spacing: .06em;
}

/* ===============================
  ■ 記事本文エリア
=============================== */

.single-main {
  background: var(--bg);
  min-height: 60vh;
  padding-bottom: 80px; /* bottom-nav clearance */
}

.single-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 0;
}

/* 本文のベーススタイル */
.single-body {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  letter-spacing: .03em;
}

.single-body::before {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(209, 69, 115, .45),
    transparent
  );
  margin: 12px auto 42px;
}


.single-body p {
  margin-bottom: 1.6em;
}

.single-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-body img {
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  display: block;
}

/* 見出し（sareshite.css 既存の .single-post .entry-content h2/h3 と整合） */
.single-body h2 {
  font-size: 20px;
  margin: 48px 0 20px;
  padding: 14px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
}

.single-body h3 {
  font-size: 17px;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(209, 69, 115, .35);
  color: var(--text);
}

/* 引用 */
.single-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(255,255,255,.03);
  font-style: italic;
  color: var(--text-muted);
}

/* ===============================
  ■ 前後記事ナビ
=============================== */

.single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 48px auto 0;
  padding: 0 20px;
}

/* 前の記事のみ / 次の記事のみの場合でも崩れないよう */
.single-nav__item--prev:only-child,
.single-nav__item--next:only-child {
  grid-column: 1 / -1;
}

.single-nav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background .2s;
  border-radius: 2px;
}

.single-nav__item:hover { background: rgba(255,255,255,.06); }

.single-nav__item--next { text-align: right; }

.single-nav__label {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .08em;
}

.single-nav__title {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===============================
  ■ PC：単記事ページ（769px以上）
=============================== */

@media (min-width: 769px) {

  .single-hero {
    min-height: 320px;
    max-height: 520px;
  }

  .single-hero__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 48px 72px;
  }

  .single-hero__title  { font-size: 34px; }

  .single-article      { padding: 60px 40px 0; }
  .single-body         { font-size: 17px; }

  .single-nav          { padding: 0 40px; margin-top: 60px; }

}

/* ===============================
  ■ タグアーカイブページ（tag.php）
  .cat-hero / .cat-bar / .cat-list 等は category.php と共用。
  タグ固有の差分のみここで定義。
=============================== */

/* body クラス */
body.tag-sareshite {
  --accent: #d14573;
  background: var(--bg) !important;
}

/* タグヒーロー：カテゴリーと同じ構造・見た目を基本とする */
/* ヒーロー画像が全タグ共通のワイン画像のため、
   フィルターを少し強めにして単調にならないようにする */
.tag-hero .cat-hero__bg {
  filter: brightness(.48) saturate(1.05);
}

/* タイトルの # プレフィックス */
.tag-hero__label {
  color: var(--accent);
  margin-right: 4px;
  font-weight: 300;
  opacity: .85;
}

/* タグページのパンくず「タグ：」テキスト調整
   category.php の .cat-hero__breadcrumb と同じスタイルを継承するため個別ルールは不要 */

/* =============================================================
  ■ ヘッダーアイコンボタン (.sh-icon-btn) 背景・枠線除去と配色統一
============================================================= */
.sh-icon-btn {
  background: transparent !important;
  border: none !important;
  color: var(--accent) !important;
  padding: 6px !important;
  transition: opacity .2s !important;
}
.sh-icon-btn:hover {
  background: transparent !important;
}

/* =============================================================
  ■ 共通ドロワーメニュー (.sh-drawer)
============================================================= */

/* ドロワー背面スクロールロック */
html.sh-drawer-open,
body.sh-drawer-open {
  overflow: hidden !important;
  height: 100% !important;
}

/* ドロワーオーバーレイ */
.sh-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  touch-action: none; /* タッチデバイスでのスワイプスクロール抑止 */
}

.sh-drawer-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ドロワー本体 */
.sh-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100dvh;
  background: var(--bg);
  border-left: 1px solid var(--border);
  z-index: 2001;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  display: flex;
  flex-direction: column;
}

.sh-drawer.is-active {
  transform: translateX(0);
  visibility: visible;
}

/* ドロワーヘッダー */
.sh-drawer__header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

@media (min-width: 769px) {
  .sh-drawer__header {
    height: 72px;
    padding: 0 48px;
  }
}

.sh-drawer__close {
  cursor: pointer;
}

/* ドロワーコンテンツ */
.sh-drawer__content {
  flex: 1;
  overflow-y: auto;
  padding: 24px 20px 48px;
}

@media (min-width: 769px) {
  .sh-drawer__content {
    padding: 32px 48px 64px;
  }
}

/* セクション構造 */
.sh-drawer__sec {
  margin-bottom: 32px;
}

.sh-drawer__sec-title {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

/* メニューリスト */
.sh-drawer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sh-drawer__menu a {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
  letter-spacing: .04em;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.sh-drawer__menu a:hover {
  color: var(--accent);
}

.sh-drawer__menu--cats a {
  font-size: 14px;
  color: var(--text-muted);
}

.sh-drawer__menu--cats a:hover {
  color: var(--accent);
}

.sh-drawer__divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* =============================================================
  ■ 認証UI（PC用インジケータ）
============================================================= */
.sh-auth-pc-indicator {
  display: inline-flex;
  align-items: center;
  margin-right: 12px; /* 検索とハンバーガーの間の適切な余白 */
  vertical-align: middle;
}

@media (max-width: 768px) {
  .sh-auth-pc-indicator {
    display: none !important;
  }
}

/* =============================================================
  ■ FOUC（キャッシュ状態）初期表示制御
============================================================= */
/* キャッシュログイン状態の時は、初期描画時に未ログインボタンを非表示にする */
body.sh-auth-cached-logged-in #sh-auth-pc-login-btn,
body.sh-auth-cached-logged-in .sh-auth-logged-out-view {
  display: none !important;
}

/* キャッシュログイン状態の時は、初期描画時にログイン後UIを表示状態にする */
body.sh-auth-cached-logged-in #sh-auth-pc-logged-in-view,
body.sh-auth-cached-logged-in .sh-auth-logged-in-view {
  display: block !important;
}
body.sh-auth-cached-logged-in #sh-auth-pc-logged-in-view {
  display: inline-block !important; /* PC indicator aligns inline */
}