/*
Theme Name: Yokoyama Mitsuteru World
Theme URI: https://psymage.com/kei/
Author: Keisuke Yui
Description: 横山光輝の世界 オリジナルテーマ
Version: 1.0
*/

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

:root {
    --black:      #0A0A0A;
    --black-mid:  #111111;
    --black-soft: #1A1A1A;
    --border:     #2A2A2A;
    --gold:       #C8A96E;
    --gold-light: #F0E6C8;
    --red:        #C8201A;
    --text:       #CCCCCC;
    --text-muted: #777777;
    --text-dim:   #444444;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--text);
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== レイアウト共通 ===== */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-content {
    flex: 1;
}

/* ===== セクション共通 ===== */
.section {
    padding: 48px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.section-header::before {
    content: '';
    display: block;
    width: 3px;
    height: 20px;
    background: var(--red);
    flex-shrink: 0;
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
}

.section-title-en {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.2em;
}

/* ===== ボタン ===== */
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    font-size: 12px;
    font-weight: 700;
    padding: 10px 24px;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--gold-light);
    color: var(--black);
}

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    padding: 9px 24px;
    letter-spacing: 0.1em;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: var(--gold);
    color: var(--black);
}

/* ===== バッジ ===== */
.badge {
    display: inline-block;
    background: var(--red);
    color: #FFF;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    letter-spacing: 0.08em;
}

.badge-gold {
    background: var(--gold);
    color: var(--black);
}

/* ===== 赤ライン区切り ===== */
.red-rule {
    height: 3px;
    background: var(--red);
    border: none;
}

.divider {
    height: 1px;
    background: var(--border);
    border: none;
    margin: 0;
}

/* ===== 同人誌カード ===== */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.book-card {
    background: var(--black-mid);
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
    padding: 14px;
    transition: border-color 0.2s;
}

.book-card:hover {
    border-color: var(--gold);
}

.book-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 10px;
}

.book-card-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 8px;
}

.book-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    font-family: Georgia, serif;
}

.book-card-price span {
    font-size: 10px;
    color: var(--text-muted);
    margin-left: 4px;
}

/* ===== キャラクターカード ===== */
.char-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.char-card {
    background: var(--black-mid);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    padding: 14px;
}

.char-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 2px;
}

.char-work {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.char-desc {
    font-size: 11px;
    color: #666;
    line-height: 1.6;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 32px 0;
    }

    .book-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .char-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== ヘッダー ===== */
/* style.css の末尾に追記してください */

.site-header {
    background: #0A0A0A;
    border-bottom: 2px solid var(--red);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* ロゴ */
.site-header__logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-header__logo-mark {
    width: 32px;
    height: 32px;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
    font-family: 'Noto Serif JP', Georgia, serif;
}

.site-header__logo-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    font-family: 'Noto Serif JP', Georgia, serif;
}

/* ナビ */
.site-nav__list {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list li a {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 16px;
    font-size: 12px;
    color: #888;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-left: 1px solid #1E1E1E;
    transition: color 0.2s;
}

.site-nav__list li a:hover,
.site-nav__list li.current-menu-item a {
    color: var(--gold);
}

.site-nav__list li.current-menu-item a {
    border-bottom: 2px solid var(--red);
    margin-bottom: -2px;
}

/* ハンバーガーボタン（スマホ用） */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

/* ===== レスポンシブ（ヘッダー） ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        align-items: center;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 58px;
        left: 0;
        right: 0;
        background: #0A0A0A;
        border-top: 1px solid var(--border);
        border-bottom: 2px solid var(--red);
        z-index: 99;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav__list {
        flex-direction: column;
    }

    .site-nav__list li a {
        height: auto;
        padding: 14px 24px;
        border-left: none;
        border-bottom: 1px solid var(--border);
    }

    .site-nav__list li.current-menu-item a {
        border-bottom: 1px solid var(--border);
        border-left: 3px solid var(--red);
        margin-bottom: 0;
        padding-left: 21px;
    }
}

/* ===== フッター ===== */
/* style.css の末尾に追記してください */

.site-footer {
    background: #050505;
    border-top: 2px solid var(--red);
    padding: 40px 0 24px;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.site-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* ブランド */
.site-footer__logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 12px;
}

.site-footer__logo-mark {
    width: 30px;
    height: 30px;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Noto Serif JP', Georgia, serif;
    flex-shrink: 0;
}

.site-footer__logo-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    font-family: 'Noto Serif JP', Georgia, serif;
}

.site-footer__desc {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.8;
}

/* フッターナビ */
.site-footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.site-footer__nav-list li a {
    font-size: 11px;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.site-footer__nav-list li a:hover {
    color: var(--gold);
}

/* ボトムバー */
.site-footer__bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.site-footer__copy {
    font-size: 10px;
    color: #333;
    letter-spacing: 0.05em;
}

.site-footer__credit a {
    font-size: 10px;
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__credit a:hover {
    color: var(--gold);
}

/* ===== レスポンシブ（フッター） ===== */
@media (max-width: 768px) {
    .site-footer__top {
        flex-direction: column;
        gap: 24px;
    }

    .site-footer__nav-list {
        text-align: left;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
/* ===== ヒーローセクション ===== */
/* style.css の末尾に追記してください */

.hero {
    background: var(--black);
    padding: 48px 0 40px;
    border-bottom: 1px solid var(--border);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
    align-items: center;
}

.hero__eyebrow {
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 12px;
}

.hero__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    line-height: 1.5;
    margin-bottom: 16px;
}

.hero__lead {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 24px;
    max-width: 420px;
}

.hero__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero__stats {
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    background: var(--black-mid);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    font-family: Georgia, serif;
    line-height: 1;
}

.hero__stat-num small {
    font-size: 14px;
}

.hero__stat-label {
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.sub-title {
	display:block;
	font-size:14px;
}

/* ===== 同人誌ページ数表示 ===== */
.book-card-pages {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* ===== もっと見るボタン ===== */
.section-more {
    margin-top: 28px;
    text-align: center;
}

/* ===== 空コンテンツ ===== */
.no-content {
    font-size: 13px;
    color: var(--text-muted);
    padding: 32px 0;
    text-align: center;
}

/* ===== キャラ検索 ===== */
.char-search {
    margin-bottom: 16px;
}

.char-search__form {
    display: flex;
    gap: 0;
}

.char-search__input {
    flex: 1;
    background: var(--black-mid);
    border: 1px solid var(--border);
    border-bottom: 2px solid var(--red);
    border-right: none;
    color: var(--text);
    font-size: 13px;
    padding: 10px 14px;
    outline: none;
    font-family: inherit;
}

.char-search__input::placeholder {
    color: var(--text-dim);
}

.char-search__input:focus {
    border-color: var(--gold);
    border-bottom-color: var(--red);
}

.char-search__btn {
    background: var(--red);
    color: #FFF;
    border: none;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 20px;
    letter-spacing: 0.08em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.char-search__btn:hover {
    background: #A01815;
}

/* ===== シリーズタグ ===== */
.series-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.series-tag {
    background: var(--black-soft);
    border: 1px solid var(--border);
    color: #888;
    font-size: 11px;
    padding: 4px 12px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.series-tag:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.series-tag--active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    font-weight: 700;
}

/* ===== キャラカード内レイアウト ===== */
.char-card__header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.char-card__thumb {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    overflow: hidden;
}

.char-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.char-card__thumb--placeholder {
    background: var(--black-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 20px;
}

.char-affil {
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 2px;
}

/* ===== レスポンシブ（トップ） ===== */
@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__stats {
        flex-direction: row;
        justify-content: space-around;
        border-left: 1px solid var(--border);
        border-top: 3px solid var(--red);
    }

    .hero__title {
        font-size: 20px;
    }

    .char-search__input {
        font-size: 16px;
    }
}

/* ===== キャラクター辞典 フロントエンド ===== */
/* style.css の末尾に追記してください */

/* ページ共通ラッパー */
.enc-wrap {
    padding: 40px 0 60px;
}

/* ヘッダー */
.enc-header {
    padding: 32px 0 28px;
}
.enc-header__eyebrow {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 8px;
}
.enc-header__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    margin-bottom: 10px;
}
.enc-header__lead {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}
.enc-header__lead strong {
    color: var(--gold);
    font-size: 18px;
}

/* 検索フォーム */
.enc-search-form {
    margin-bottom: 20px;
}
.enc-search-bar {
    display: flex;
    margin-bottom: 10px;
}
.enc-search-input {
    flex: 1;
    background: var(--black-mid);
    border: 1px solid var(--border);
    border-bottom: 2px solid var(--red);
    border-right: none;
    color: var(--text);
    font-size: 14px;
    padding: 10px 16px;
    outline: none;
    font-family: inherit;
}
.enc-search-input::placeholder { color: var(--text-dim); }
.enc-search-input:focus { border-color: var(--gold); border-bottom-color: var(--red); }
.enc-search-btn {
    background: var(--red);
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.06em;
    transition: background 0.2s;
}
.enc-search-btn:hover { background: #a01815; }

.enc-filters {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.enc-select {
    background: var(--black-mid);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 12px;
    padding: 7px 12px;
    cursor: pointer;
    outline: none;
}
.enc-reset {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 10px;
    border: 1px solid var(--border);
    transition: color 0.2s;
}
.enc-reset:hover { color: var(--red); border-color: var(--red); }

/* 五十音インデックス */
.enc-kana-index {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: var(--black-mid);
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
}
.enc-kana-item {
    font-size: 12px;
    color: var(--text-muted);
    padding: 3px 7px;
    border: 1px solid transparent;
    transition: all 0.15s;
    text-decoration: none;
}
.enc-kana-item:hover,
.enc-kana-item--all { color: var(--gold); border-color: var(--gold); }

/* 件数表示 */
.enc-result-count {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.enc-result-count strong { color: var(--gold); }

/* 五十音セクション見出し */
.enc-kana-section { margin-bottom: 32px; }
.enc-kana-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
    border-left: 3px solid var(--red);
    padding-left: 10px;
    margin-bottom: 12px;
}

/* エントリーグリッド */
.enc-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

/* エントリーカード */
.enc-card { background: var(--black-mid); border: 1px solid var(--border); border-top: 2px solid var(--gold); transition: border-color 0.2s, transform 0.2s; }
.enc-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.enc-card__link { display: block; text-decoration: none; }
.enc-card__img {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--black-soft);
}
.enc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.enc-card:hover .enc-card__img img { transform: scale(1.04); }
.enc-card__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--border); font-size: 40px; }
.enc-card__body {
    padding: 8px 10px 10px;
}
.enc-card__type { display: inline-block; font-size: 9px; font-weight: 700; padding: 2px 6px; margin-bottom: 5px; }
.enc-card__name {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 2px;
    line-height: 1.4;
}
.enc-card__work {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.enc-card__desc {
    font-size: 10px;
    color: #555;
    line-height: 1.5;
}

/* 種別カラー */
.enc-type-person       { background: #1e3a5f; color: #93c5fd; }
.enc-type-organization { background: #3d2a00; color: #fcd34d; }
.enc-type-vehicle      { background: #064e3b; color: #6ee7b7; }
.enc-type-place        { background: #2e1a5e; color: #c4b5fd; }
.enc-type-concept      { background: #4c0519; color: #fda4af; }
.enc-type-other        { background: #1f2937; color: #9ca3af; }

/* 空結果 */
.enc-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.enc-empty i { font-size: 48px; display: block; margin-bottom: 12px; color: var(--border); }

/* ページネーション */
.enc-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.enc-page-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: var(--black-mid); border: 1px solid var(--border);
    color: var(--text-muted); font-size: 13px; text-decoration: none;
    transition: all 0.2s;
}
.enc-page-btn:hover { border-color: var(--gold); color: var(--gold); }
.enc-page-btn.is-current { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 700; }

/* ===== 詳細ページ ===== */
.enc-detail { padding: 28px 0 60px; }

/* パンくず */
.enc-breadcrumb {
    display: flex; align-items: center; gap: 4px;
    font-size: 11px; color: var(--text-muted);
    margin-bottom: 24px; flex-wrap: wrap;
}
.enc-breadcrumb a { color: var(--text-muted); }
.enc-breadcrumb a:hover { color: var(--gold); }
.enc-breadcrumb__sep { color: var(--border); font-size: 10px; }

/* 詳細レイアウト */
.enc-detail__layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 32px;
    align-items: start;
}

/* 詳細ヘッダー */
.enc-detail__header { margin-bottom: 24px; }
.enc-detail__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.enc-detail__work-link { font-size: 12px; color: var(--text-muted); border-bottom: 1px solid var(--border); padding-bottom: 1px; }
.enc-detail__work-link:hover { color: var(--gold); border-color: var(--gold); }
.enc-detail__title {
    font-size: 28px; font-weight: 700; color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    border-left: 4px solid var(--red); padding-left: 14px;
    margin-bottom: 6px; line-height: 1.4;
}
.enc-detail__kana { font-size: 12px; color: var(--text-muted); padding-left: 18px; }

/* 画像ギャラリー */
.enc-gallery { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.enc-gallery__item { margin: 0; }
.enc-gallery__img {
    max-width: 200px; max-height: 280px;
    object-fit: contain;
    border: 1px solid var(--border);
    background: var(--black-soft);
}
.enc-gallery__caption { font-size: 10px; color: var(--text-muted); margin-top: 4px; text-align: center; }

/* 説明文 */
.enc-detail__description {
    font-size: 14px; line-height: 2; color: var(--text);
    border-top: 1px solid var(--border); padding-top: 20px;
    margin-bottom: 28px;
}
/* Wikiリンクスタイル */
.enc-detail__description .wiki-link {
    color: var(--gold);
    border-bottom: 1px solid rgba(200,169,110,0.4);
    text-decoration: none;
}
.enc-detail__description .wiki-link:hover { border-bottom-color: var(--gold); }
.enc-detail__description .wiki-link-missing {
    color: var(--text-muted);
    border-bottom: 1px dashed var(--border);
    cursor: help;
}

/* セクションタイトル */
.enc-detail__section-title {
    font-size: 11px; font-weight: 700; color: var(--gold);
    letter-spacing: 0.15em; margin-bottom: 10px;
    border-left: 3px solid var(--red); padding-left: 8px;
}

/* 外部リンク */
.enc-link-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.enc-ext-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--gold);
    border: 1px solid var(--border); padding: 7px 14px;
    transition: border-color 0.2s;
}
.enc-ext-link:hover { border-color: var(--gold); }

/* サイドカード */
.enc-side-card {
    background: var(--black-mid); border: 1px solid var(--border);
    border-top: 2px solid var(--red); padding: 16px;
    margin-bottom: 16px;
}
.enc-side-card__title {
    font-size: 11px; font-weight: 700; color: var(--gold);
    letter-spacing: 0.12em; margin-bottom: 12px;
}
.enc-side-tag-group { font-size: 10px; color: var(--text-dim); margin: 10px 0 5px; letter-spacing: 0.05em; }
.enc-tag-list { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.enc-tag {
    font-size: 11px; color: var(--text-muted);
    background: var(--black-soft); border: 1px solid var(--border);
    padding: 3px 9px; text-decoration: none; transition: all 0.15s;
}
.enc-tag:hover { border-color: var(--gold); color: var(--gold); }

/* サイドリスト */
.enc-side-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.enc-side-list__link {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; color: var(--text-muted); padding: 5px 0;
    border-bottom: 1px solid var(--border); text-decoration: none;
    transition: color 0.2s;
}
.enc-side-list__link:hover { color: var(--gold); }
.enc-side-type { font-size: 9px; padding: 1px 5px; flex-shrink: 0; }
.enc-side-more { display: block; font-size: 11px; color: var(--text-dim); margin-top: 10px; text-align: right; }
.enc-side-more:hover { color: var(--gold); }

/* 前後ナビ */
.enc-entry-nav {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin-top: 40px;
    border-top: 1px solid var(--border); padding-top: 24px;
}
.enc-entry-nav__prev a,
.enc-entry-nav__next a {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-muted);
    border: 1px solid var(--border); padding: 12px 16px;
    text-decoration: none; transition: all 0.2s;
}
.enc-entry-nav__prev a:hover,
.enc-entry-nav__next a:hover { border-color: var(--gold); color: var(--gold); }
.enc-entry-nav__next { text-align: right; }
.enc-entry-nav__next a { justify-content: flex-end; }

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .enc-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .enc-detail__layout { grid-template-columns: 1fr; }
    .enc-detail__title { font-size: 22px; }
    .enc-gallery__img { max-width: 140px; }
    .enc-entry-nav { grid-template-columns: 1fr; }
    .enc-entry-nav__next { text-align: left; }
    .enc-entry-nav__next a { justify-content: flex-start; }
}
@media (max-width: 480px) {
    .enc-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
}
/* ===== ヒーロースライダー ===== */
/* style.css の末尾に追記してください */

.hero {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
}

.hero-swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__content {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
    align-items: center;
    width: 100%;
}

.hero-slide__bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.swiper-slide-active .hero-slide__bg {
    transform: scale(1);
}

/* 暗いオーバーレイ（テキストを読みやすくする） */
.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.2) 100%
    );
}


/* ページネーションドット */
.hero-swiper__pagination {
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
}

.hero-swiper__pagination .swiper-pagination-bullet {
    width: 24px;
    height: 3px;
    border-radius: 0;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    margin: 0 3px !important;
    transition: background 0.3s;
}

.hero-swiper__pagination .swiper-pagination-bullet-active {
    background: var(--red);
    width: 36px;
}

/* ヒーローセクション内のレイアウト調整 */
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
    align-items: center;
}

.hero__eyebrow {
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 12px;
}

.hero__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    line-height: 1.5;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.hero__lead {
    font-size: 13px;
    color: rgba(200,200,200,0.85);
    line-height: 1.9;
    margin-bottom: 24px;
    max-width: 420px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.hero__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero__stats {
    border: 1px solid rgba(200,169,110,0.3);
    border-left: 3px solid var(--red);
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    font-family: Georgia, serif;
    line-height: 1;
    display: block;
}

.hero__stat-num small {
    font-size: 14px;
}

.hero__stat-label {
    font-size: 10px;
    color: rgba(200,200,200,0.7);
    letter-spacing: 0.08em;
    display: block;
    margin-top: 4px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 480px;
    }

    .hero__content {
        padding: 40px 0;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero__stats {
        flex-direction: row;
        justify-content: space-around;
        border-left: 1px solid rgba(200,169,110,0.3);
        border-top: 3px solid var(--red);
    }

    .hero__title {
        font-size: 20px;
    }

    .hero-slide__overlay {
        background: rgba(0,0,0,0.65);
    }
}

/* ===== ヒーロー お知らせ ===== */
/* style.css の末尾に追記してください */

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: end;
    padding-bottom: 40px;
    width: 100%;
}

.hero__news {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(200,169,110,0.2);
    border-top: 2px solid var(--red);
    padding: 16px;
}

.hero__news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero__news-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.2em;
}

.hero__news-more {
    font-size: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.hero__news-more:hover {
    color: var(--gold);
}

.hero__news-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero__news-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero__news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero__news-date {
    font-size: 10px;
    color: var(--red);
    font-family: Georgia, serif;
    letter-spacing: 0.05em;
}

.hero__news-title {
    font-size: 12px;
    color: rgba(220,220,220,0.9);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}

.hero__news-title:hover {
    color: var(--gold);
}

.hero__news-empty {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    padding: 12px 0;
}

/* ===== スタッツバー（フッター上） ===== */

.site-stats {
    background: #080808;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.site-stats__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.site-stats__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
}

.site-stats__num {
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
    font-family: Georgia, serif;
    line-height: 1;
}

.site-stats__num small {
    font-size: 14px;
}

.site-stats__label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.site-stats__divider {
    width: 1px;
    height: 32px;
    background: var(--border);
    flex-shrink: 0;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr;
        padding-bottom: 20px;
    }

.hero__news {
    display: block;
    margin-top: 16px;
}

    .site-stats__inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .site-stats__item {
        padding: 0 20px;
    }

    .site-stats__divider {
        display: none;
    }
}
/* ===== 同人誌 共通 ===== */
/* style.css の末尾に追記してください */

/* 在庫バッジ */
.fanzine-stock,
.fanzine-card__stock {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    letter-spacing: 0.06em;
}
.stock--in  { background: #064e3b; color: #6ee7b7; }
.stock--few { background: #3d2a00; color: #fcd34d; }
.stock--out { background: #1f2937; color: #6b7280; }

/* ===== 同人誌一覧 ===== */

.fanzine-header {
    padding: 32px 0 28px;
}
.fanzine-header__eyebrow {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 8px;
}
.fanzine-header__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    margin-bottom: 8px;
}
.fanzine-header__lead {
    font-size: 13px;
    color: var(--text-muted);
}

/* フィルター */
.fanzine-filter {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
}
.fanzine-filter__btn {
    font-size: 12px;
    padding: 6px 16px;
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}
.fanzine-filter__btn:hover,
.fanzine-filter__btn.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    font-weight: 700;
}

/* グリッド */
.fanzine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* カード */
.fanzine-card {
    background: var(--black-mid);
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}
.fanzine-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.fanzine-card--soldout { opacity: 0.6; }
.fanzine-card--soldout:hover { transform: none; }

.fanzine-card__link { display: block; text-decoration: none; flex: 1; }

.fanzine-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--black-soft);
}
.fanzine-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.fanzine-card:hover .fanzine-card__img img { transform: scale(1.04); }
.fanzine-card__img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--border); font-size: 48px;
}
.fanzine-card__stock {
    position: absolute;
    bottom: 8px; left: 8px;
}
.fanzine-card__new {
    position: absolute;
    top: 8px; right: 8px;
}
.fanzine-card__body { padding: 12px 14px 8px; }
.fanzine-card__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 6px;
}
.fanzine-card__pages { font-size: 10px; color: var(--text-muted); margin-bottom: 4px; }
.fanzine-card__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    font-family: Georgia, serif;
}
.fanzine-card__price span { font-size: 10px; color: var(--text-muted); margin-left: 3px; }
.fanzine-card__btn {
    display: block;
    text-align: center;
    margin: 0 14px 14px;
    padding: 8px;
    font-size: 12px;
}

/* ===== 同人誌詳細 ===== */

.fanzine-detail { padding: 28px 0 60px; }

.fanzine-detail__layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 48px;
}

.fanzine-detail__img img {
    width: 100%;
    border: 1px solid var(--border);
}
.fanzine-detail__img-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--black-soft);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border);
    font-size: 64px;
}

.fanzine-detail__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    border-left: 4px solid var(--red);
    padding-left: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.fanzine-detail__meta {
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    margin-bottom: 20px;
}
.fanzine-detail__meta-row {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
}
.fanzine-detail__meta-row:last-child { border-bottom: none; }
.fanzine-detail__meta-label {
    font-size: 11px;
    color: var(--text-muted);
    width: 60px;
    flex-shrink: 0;
}
.fanzine-detail__meta-value { font-size: 13px; color: var(--text); }

.fanzine-detail__price {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    font-family: Georgia, serif;
    margin-bottom: 20px;
}
.fanzine-detail__price span { font-size: 13px; color: var(--text-muted); margin-left: 6px; }

.fanzine-detail__desc {
    font-size: 14px;
    line-height: 2;
    color: var(--text);
    margin-bottom: 24px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.fanzine-detail__order-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    border-left: 3px solid var(--red);
    padding-left: 10px;
}
.fanzine-detail__order-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}
.fanzine-detail__order-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 12px 28px;
}
.fanzine-detail__soldout {
    padding: 20px;
    background: var(--black-soft);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}
.fanzine-detail__soldout a { margin-top: 12px; display: inline-block; }

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .fanzine-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .fanzine-detail__layout { grid-template-columns: 1fr; gap: 24px; }
    .fanzine-detail__title { font-size: 18px; }
    .fanzine-detail__price { font-size: 24px; }
}

/* ===== 同人誌詳細 ビジュアル部分・lightbox ===== */
/* style.css の末尾に追記してください */

/* タイトル */
.fanzine-detail__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    border-left: 4px solid var(--red);
    padding-left: 14px;
    line-height: 1.4;
    margin: 20px 0 24px;
}

/* 上段：表紙＋ギャラリー */
.fanzine-detail__visual {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    margin-bottom: 32px;
    align-items: start;
}

/* 表紙 */
.fanzine-detail__cover { text-align: center; }
.fanzine-cover__img {
    width: 100%;
    border: 1px solid var(--border);
    display: block;
    transition: opacity 0.2s;
}
.fanzine-cover__img:hover { opacity: 0.85; }
.fanzine-cover__label {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 6px;
}

/* ギャラリー */
.fanzine-detail__gallery {}
.fanzine-gallery__label {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    border-left: 3px solid var(--red);
    padding-left: 8px;
}
.fanzine-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}
.fanzine-gallery__item {
    position: relative;
    overflow: hidden;
    background: var(--black-soft);
    border: 1px solid var(--border);
    cursor: zoom-in;
}
.fanzine-gallery__img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: transform 0.3s, opacity 0.2s;
}
.fanzine-gallery__item:hover .fanzine-gallery__img {
    transform: scale(1.06);
    opacity: 0.7;
}
.fanzine-gallery__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    opacity: 0;
    transition: opacity 0.2s;
}
.fanzine-gallery__item:hover .fanzine-gallery__zoom { opacity: 1; }

/* 下段レイアウト */
.fanzine-detail__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

/* メタ情報 */
.fanzine-detail__meta {
    border: 1px solid var(--border);
    border-left: 3px solid var(--red);
    margin-bottom: 16px;
}
.fanzine-detail__meta-row {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
}
.fanzine-detail__meta-row:last-child { border-bottom: none; }
.fanzine-detail__meta-label {
    font-size: 11px;
    color: var(--text-muted);
    width: 56px;
    flex-shrink: 0;
}
.fanzine-detail__meta-value { font-size: 13px; color: var(--text); }

.fanzine-detail__price {
    font-size: 30px;
    font-weight: 700;
    color: var(--gold);
    font-family: Georgia, serif;
}
.fanzine-detail__price span { font-size: 13px; color: var(--text-muted); margin-left: 6px; }

/* 説明文 */
.fanzine-detail__desc {
    font-size: 14px;
    line-height: 2;
    color: var(--text);
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}

/* 注文 */
.fanzine-detail__order-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    border-left: 3px solid var(--red);
    padding-left: 10px;
}
.fanzine-detail__order-note {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 14px;
}
.fanzine-detail__order-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 12px 28px;
}
.fanzine-detail__soldout {
    padding: 20px;
    background: var(--black-soft);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}
.fanzine-detail__soldout a { margin-top: 12px; display: inline-block; }

/* ===== Lightbox ===== */
.yk-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}
.yk-lightbox.is-open { display: flex; align-items: center; justify-content: center; }

.yk-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    cursor: zoom-out;
}

.yk-lightbox__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 90vw;
    max-height: 90vh;
}

.yk-lightbox__img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    border: 1px solid var(--border);
}

.yk-lightbox__close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 2;
}
.yk-lightbox__close:hover { background: var(--red); border-color: var(--red); }

.yk-lightbox__prev,
.yk-lightbox__next {
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border);
    color: #fff;
    font-size: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.yk-lightbox__prev:hover,
.yk-lightbox__next:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

.yk-lightbox__counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #888;
    letter-spacing: 0.1em;
}
.fanzine-gallery__zoom {
    pointer-events: none;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .fanzine-detail__visual,
    .fanzine-detail__layout {
        grid-template-columns: 1fr;
    }
    .fanzine-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .yk-lightbox__img {
        max-width: 95vw;
    }
}
/* ===== カート・チェックアウト共通 ===== */
/* style.css の末尾に追記してください */

/* カートヘッダー */
.cart-header { padding: 32px 0 28px; }
.cart-header__eyebrow {
    font-size: 10px; letter-spacing: 0.3em;
    color: var(--red); font-weight: 700; margin-bottom: 8px;
}
.cart-header__title {
    font-size: 24px; font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
}

/* カートアイコン（ヘッダー用） */
.cart-icon {
    position: relative;
    display: flex; align-items: center;
    color: #888; font-size: 20px;
    padding: 0 14px; height: 56px;
    border-left: 1px solid #1E1E1E;
    text-decoration: none;
    transition: color 0.2s;
}
.cart-icon:hover { color: var(--gold); }
.cart-icon__badge {
    position: absolute;
    top: 10px; right: 6px;
    background: var(--red);
    color: #fff;
    font-size: 9px; font-weight: 700;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

/* カートテーブル */
.cart-table {
    width: 100%; border-collapse: collapse;
    margin-bottom: 24px;
}
.cart-table th {
    font-size: 11px; color: var(--text-muted);
    letter-spacing: 0.08em;
    padding: 10px 12px;
    border-bottom: 2px solid var(--red);
    text-align: left;
}
.cart-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.cart-table__img { width: 72px; }
.cart-table__img img {
    width: 60px; height: 80px;
    object-fit: cover;
    border: 1px solid var(--border);
}
.cart-thumb-placeholder {
    width: 60px; height: 80px;
    background: var(--black-soft);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--border); font-size: 24px;
}
.cart-table__name a {
    color: var(--text); font-size: 14px; font-weight: 700;
    text-decoration: none; display: block; margin-bottom: 4px;
}
.cart-table__name a:hover { color: var(--gold); }
.cart-stock-info { font-size: 11px; color: var(--text-dim); }
.cart-table__price { font-size: 14px; color: var(--text-muted); }
.cart-table__subtotal { font-size: 16px; font-weight: 700; color: var(--gold); font-family: Georgia, serif; }

/* 数量コントロール */
.qty-control { display: flex; align-items: center; gap: 4px; }
.qty-btn {
    width: 28px; height: 28px;
    background: var(--black-soft);
    border: 1px solid var(--border);
    color: var(--text); font-size: 14px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.qty-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.qty-input {
    width: 48px; height: 28px;
    text-align: center;
    background: var(--black-mid);
    border: 1px solid var(--border);
    color: var(--text); font-size: 14px;
}

/* 削除ボタン */
.cart-remove-btn {
    background: none; border: none;
    color: var(--text-dim); font-size: 18px;
    cursor: pointer; padding: 4px;
    transition: color 0.2s;
}
.cart-remove-btn:hover { color: var(--red); }

/* カートフッター */
.cart-footer {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 24px;
    flex-wrap: wrap;
}
.cart-footer__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cart-footer__total { text-align: right; }
.cart-total {
    display: flex; align-items: baseline;
    gap: 16px; justify-content: flex-end;
    margin-bottom: 14px;
}
.cart-total__label { font-size: 13px; color: var(--text-muted); }
.cart-total__price { font-size: 28px; font-weight: 700; color: var(--gold); font-family: Georgia, serif; }
.cart-checkout-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; padding: 12px 32px;
}
.cart-pay-note { font-size: 11px; color: var(--text-dim); margin-top: 10px; }
.cart-pay-note a { color: var(--gold); }

/* ===== チェックアウト ===== */

/* ステップ */
.checkout-steps {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 28px; flex-wrap: wrap;
}
.checkout-step {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: var(--text-dim);
    padding: 6px 14px;
    border: 1px solid var(--border);
}
.checkout-step.is-active {
    color: var(--gold); border-color: var(--gold); font-weight: 700;
}
.checkout-step.is-done { color: var(--text-muted); }
.checkout-step__arrow { color: var(--border); font-size: 12px; }

/* エラー */
.checkout-errors {
    background: rgba(200,32,26,0.1);
    border: 1px solid var(--red);
    border-left: 3px solid var(--red);
    padding: 14px 16px;
    margin-bottom: 20px;
}
.checkout-errors p {
    font-size: 13px; color: #ff8a85;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 4px;
}
.checkout-errors p:last-child { margin-bottom: 0; }

/* レイアウト */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

/* セクション */
.checkout-section { margin-bottom: 28px; }
.checkout-section-title {
    font-size: 13px; font-weight: 700; color: var(--gold);
    letter-spacing: 0.12em;
    border-left: 3px solid var(--red); padding-left: 10px;
    margin-bottom: 16px;
}

/* フィールド */
.checkout-field { margin-bottom: 14px; }
.checkout-label {
    display: block; font-size: 12px; font-weight: 700;
    color: var(--text-muted); margin-bottom: 6px;
}
.checkout-label .required { color: var(--red); }
.checkout-input {
    width: 100%;
    background: var(--black-mid);
    border: 1px solid var(--border);
    border-bottom: 2px solid var(--text-dim);
    color: var(--text); font-size: 14px;
    padding: 10px 14px; outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}
.checkout-input:focus { border-bottom-color: var(--gold); }
.checkout-input--short { width: 160px; }
.checkout-textarea {
    width: 100%;
    background: var(--black-mid);
    border: 1px solid var(--border);
    color: var(--text); font-size: 14px;
    padding: 10px 14px; outline: none;
    font-family: inherit; resize: vertical;
    line-height: 1.7;
}

/* 支払方法 */
.checkout-payment-methods {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 10px;
}
.checkout-payment-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text);
    background: var(--black-mid);
    border: 1px solid var(--border);
    padding: 8px 14px; cursor: pointer;
    transition: border-color 0.2s;
}
.checkout-payment-item:has(input:checked) {
    border-color: var(--gold); color: var(--gold); font-weight: 700;
}
.checkout-payment-item input { accent-color: var(--gold); }
.checkout-pay-note { font-size: 11px; color: var(--text-dim); }
.checkout-pay-note a { color: var(--gold); }

/* 送信ボタン */
.checkout-submit-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; padding: 12px 32px; margin-top: 8px;
}

/* 確認テーブル */
.checkout-confirm-block { margin-bottom: 24px; }
.checkout-confirm-table { width: 100%; border-collapse: collapse; }
.checkout-confirm-table th,
.checkout-confirm-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 13px; text-align: left;
}
.checkout-confirm-table th {
    color: var(--text-muted); width: 120px; font-weight: normal;
}
.checkout-confirm-table td { color: var(--text); }
.checkout-confirm-actions {
    display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px;
}

/* サマリー */
.checkout-summary {
    background: var(--black-mid);
    border: 1px solid var(--border);
    border-top: 2px solid var(--red);
    padding: 20px;
}
.checkout-summary__title {
    font-size: 12px; font-weight: 700; color: var(--gold);
    letter-spacing: 0.12em; margin-bottom: 16px;
    padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.checkout-summary__item {
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid var(--border);
}
.checkout-summary__item-info { display: flex; gap: 10px; align-items: flex-start; flex: 1; }
.checkout-summary__thumb {
    width: 40px; height: 54px; object-fit: cover;
    border: 1px solid var(--border); flex-shrink: 0;
}
.checkout-summary__item-title { font-size: 12px; color: var(--text); margin-bottom: 3px; }
.checkout-summary__item-qty { font-size: 11px; color: var(--text-muted); }
.checkout-summary__item-price {
    font-size: 13px; font-weight: 700; color: var(--gold);
    white-space: nowrap;
}
.checkout-summary__total {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; font-size: 13px; color: var(--text-muted);
}
.checkout-summary__total strong { font-size: 18px; color: var(--gold); font-family: Georgia, serif; }
.checkout-summary__edit {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; color: var(--text-dim);
    text-decoration: none; margin-top: 8px;
    transition: color 0.2s;
}
.checkout-summary__edit:hover { color: var(--gold); }

/* 注文完了 */
.checkout-complete {
    text-align: center; padding: 40px 0;
    max-width: 640px; margin: 0 auto;
}
.checkout-complete__icon {
    font-size: 64px; color: var(--gold);
    margin-bottom: 16px; line-height: 1;
}
.checkout-complete__title {
    font-size: 22px; font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    margin-bottom: 12px;
}
.checkout-complete__lead {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.9; margin-bottom: 28px;
}
.checkout-complete__box {
    background: var(--black-mid);
    border: 1px solid var(--border);
    border-top: 2px solid var(--red);
    padding: 20px; margin-bottom: 24px;
    text-align: left;
}
.checkout-complete__orderno {
    font-size: 14px; color: var(--text-muted);
    margin-bottom: 16px;
}
.checkout-complete__orderno strong { color: var(--gold); font-size: 18px; }
.checkout-complete__total {
    font-size: 14px; color: var(--text-muted);
    margin: 12px 0 6px; text-align: right;
}
.checkout-complete__total strong { color: var(--gold); font-size: 18px; font-family: Georgia, serif; }
.checkout-complete__pay { font-size: 13px; color: var(--text-muted); text-align: right; }
.checkout-complete__payinfo {
    background: var(--black-soft);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    padding: 16px 20px; text-align: left;
    margin-bottom: 8px;
}
.checkout-complete__payinfo-title {
    font-size: 12px; font-weight: 700; color: var(--gold);
    letter-spacing: 0.1em; margin-bottom: 12px;
}
.checkout-complete__payinfo-text {
    font-size: 13px; color: var(--text);
    line-height: 1.9; white-space: pre-wrap;
    font-family: inherit;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
    .cart-table th:nth-child(3),
    .cart-table td:nth-child(3) { display: none; }
    .cart-footer { flex-direction: column; align-items: stretch; }
    .cart-footer__total { text-align: left; }
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-side { order: -1; }
}
/* ===== お問合せフォーム ===== */
/* style.css の末尾に追記してください */

.contact-optional {
    font-size: 10px;
    color: var(--text-dim);
    font-weight: normal;
    background: var(--black-soft);
    border: 1px solid var(--border);
    padding: 1px 6px;
    margin-left: 6px;
}

.contact-optional-title {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: normal;
    margin-left: 8px;
}

.contact-file-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ファイル行 */
.contact-file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

/* ファイル選択ラベル（ボタン風） */
.contact-file-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--black-soft);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    padding: 7px 14px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.contact-file-label:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* input[type=file] は非表示にしてラベルで操作 */
.contact-file-input {
    display: none;
}

.contact-file-name {
    font-size: 12px;
    color: var(--text-muted);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-file-remove {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}
.contact-file-remove:hover { color: var(--red); }

.contact-add-file-btn {
    margin-top: 8px;
    font-size: 12px;
    padding: 6px 14px;
}

/* 確認画面のファイル表示 */
.contact-file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 4px;
}
.contact-file-item span {
    font-size: 11px;
    color: var(--text-dim);
}

/* サイド案内 */
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.7;
}
.contact-info-item i {
    color: var(--gold);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}
.fanzine-base-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    padding: 9px 20px;
    border-color: var(--text-dim);
    color: var(--text-muted);
}
.fanzine-base-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.fanzine-base-note {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 6px;
}

/* ===== 投稿一覧・個別 ===== */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item { border-bottom: 1px solid var(--border); }
.news-item__link {
    display: block; padding: 20px 4px;
    text-decoration: none;
    transition: background 0.2s;
}
.news-item__link:hover { background: var(--black-mid); }
.news-item__date {
    font-size: 11px; color: var(--red);
    font-family: Georgia, serif;
    letter-spacing: 0.05em; margin-bottom: 6px;
    display: block;
}
.news-item__title {
    font-size: 16px; font-weight: 700;
    color: var(--gold-light); margin-bottom: 6px;
    line-height: 1.5;
}
.news-item__excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* 個別投稿 */
.single-post__date {
    font-size: 11px; color: var(--red);
    font-family: Georgia, serif; margin-bottom: 10px;
}
.single-post__title {
    font-size: 24px; font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    border-left: 4px solid var(--red);
    padding-left: 14px; line-height: 1.4;
    margin-bottom: 32px;
}
.single-post__content {
    font-size: 15px; line-height: 2;
    color: var(--text);
    border-top: 1px solid var(--border);
    padding-top: 28px;
}
.single-post__content p { margin-bottom: 1.5em; }
.single-post__content img { max-width: 100%; height: auto; margin: 1em 0; }

/* ===== プロフィールページ ===== */
/* style.css の末尾に追記してください */

.profile-wrap {
    padding: 40px 0 60px;
}

.profile-header {
    padding-bottom: 28px;
}
.profile-header__eyebrow {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--red);
    font-weight: 700;
    margin-bottom: 8px;
}
.profile-header__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    margin-bottom: 4px;
}
.profile-header__en {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* セクション */
.profile-section {
    margin-bottom: 48px;
}
.profile-section__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    border-left: 4px solid var(--red);
    padding-left: 14px;
    line-height: 1.4;
    margin-bottom: 24px;
}
.profile-section__en {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 8px;
}

/* プロフィール：画像＋テーブル横並び */
.profile-bio {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: start;
}
.profile-bio__img img {
    width: 100%;
    border: 1px solid var(--border);
}
.profile-bio__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold-light);
    font-family: 'Noto Serif JP', Georgia, serif;
    margin-bottom: 16px;
}
.profile-bio__name span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: normal;
    margin-left: 10px;
    letter-spacing: 0.05em;
}

/* テーブル */
.profile-bio__table {
    width: 100%;
    border-collapse: collapse;
}
.profile-bio__table th,
.profile-bio__table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    text-align: left;
    vertical-align: top;
    line-height: 1.8;
}
.profile-bio__table th {
    color: var(--text-muted);
    font-weight: normal;
    width: 90px;
    white-space: nowrap;
    border-left: 3px solid var(--red);
    background: var(--black-mid);
    font-size: 13px;
}
.profile-bio__table td {
    color: var(--text);
}

/* 区切り線 */
.profile-divider {
    height: 1px;
    background: var(--border);
    border: none;
    margin: 0 0 48px;
}

/* 緒言本文 */
.profile-text {
    font-size: 15px;
    line-height: 2;
    color: var(--text);
    max-width: 780px;
}
.profile-text p {
    margin-bottom: 1.5em;
    text-indent: 1em;
}
.profile-text p:last-child {
    margin-bottom: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .profile-bio {
        grid-template-columns: 1fr;
    }
    .profile-bio__img {
        max-width: 180px;
    }
    .profile-bio__table th {
        width: 70px;
        font-size: 12px;
        padding: 10px 10px;
    }
    .profile-bio__table td {
        font-size: 13px;
        padding: 10px 10px;
    }
    .profile-text {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 480px;  /* autoをやめて固定にする */
        min-height: unset;
    }
    .hero-swiper,
    .hero-swiper .swiper-wrapper,
    .hero-swiper .swiper-slide {
        height: 100% !important;
    }
    .hero-slide__bg {
        height: 100% !important;
        min-height: 480px;
    }
}