:root {
    /* 1010Meshima@ 配色：ショッキングピンク × 桃色 × プロフェッショナル */
    --color-bg: #ffffff;
    --color-text: #2c1e2b;             /* ディーププラム・上品な黒 */
    --color-muted: #7a6875;
    --color-primary: #d81b60;          /* ディープピンク・CTA */
    --color-primary-hover: #ad1457;    /* ホバー時の濃いピンク */
    --color-secondary: #2c1e2b;        /* ディーププラム・縁取り */
    --color-accent: #ff4081;           /* ショッキングピンク・強調 */
    --color-border: #f0e0e6;
    --color-card-bg: #fef5f8;          /* 極淡桃・カード背景 */
    --color-rank: #880e4f;             /* ランキング数字は深ピンク */
    --color-cta-text: #ffffff;         /* ピンク背景上の文字色 */
    --color-stripe-bg: #ffe4ec;        /* 桃×プラムストライプの淡色側 */
    --max-width: 960px;
    --max-width-home: 1400px;
    --radius: 6px;
    --shadow-sm: 0 1px 3px rgba(216,27,96,0.10);
    --shadow-md: 0 4px 12px rgba(216,27,96,0.12);
    --shadow-cta: 0 4px 12px rgba(255,64,129,0.35);
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-base);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.4;
    margin: 1.4em 0 0.6em;
}
h1 { font-size: 1.8rem; }
h2 { font-size: 1.45rem; border-bottom: 2px solid var(--color-border); padding-bottom: 0.3em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.6em; }

/* ── ヘッダー（黄黒ストライプアクセント付き） ── */
.site-header {
    background: #fff;
    border-bottom: 3px solid var(--color-primary);
    box-shadow: 0 2px 0 var(--color-secondary);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 64px;
    padding-left: 16px;
    padding-right: 16px;
}
.site-logo {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--color-text);
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Zen Maru Gothic",
                 system-ui, -apple-system, sans-serif;
}
.site-logo:hover { text-decoration: none; }

.site-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 900px;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list li {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}
.nav-list a {
    color: var(--color-text);
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 999px;
    letter-spacing: 0.01em;
    transition: background 0.15s, color 0.15s, transform 0.12s;
    font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Zen Maru Gothic",
                 system-ui, -apple-system, sans-serif;
}
.nav-list a:hover {
    background: var(--color-primary);
    color: #2c1e2b;
    text-decoration: none;
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    .nav-list a { font-size: 0.82rem; padding: 6px 8px; }
    .nav-list { gap: 2px; }
}
@media (max-width: 960px) {
    .site-logo { font-size: 1rem; }
    .nav-list a { font-size: 0.78rem; padding: 6px 6px; }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: 0.2s;
}

@media (max-width: 720px) {
    .nav-toggle { display: block; }
    .nav-list {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
    }
    .site-nav.open .nav-list { display: flex; }
}

/* ── フッター ── */
.site-footer {
    background: var(--color-secondary);
    padding: 30px 0;
    margin-top: 60px;
    color: #d8d8d8;
    border-top: 5px solid var(--color-primary);
}
.site-footer a { color: var(--color-primary); }
.site-footer a:hover { color: #fff; }
.footer-pr {
    background: var(--color-stripe-bg);
    border: 2px solid var(--color-primary);
    color: var(--color-text);
    padding: 10px;
    border-radius: var(--radius);
    margin-bottom: 16px;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-bottom: 16px;
}
.footer-copy, .footer-age { text-align: center; }

/* ── 海外アドネットワーク広告枠 ── */
.ad-slot {
    display: block;
    margin: 24px 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}
.ad-slot-label {
    display: block;
    font-size: 0.65rem;
    color: #999;
    margin-bottom: 6px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}
.ad-slot-body {
    max-width: 100%;
    overflow-x: auto;
}
.ad-slot-body iframe,
.ad-slot-body img,
.ad-slot-body ins {
    max-width: 100%;
    height: auto;
}
/* サイドバー配置：メインコンテンツ阻害を最小化 */
.ad-slot-sidebar {
    margin: 20px 0;
}
/* 記事下配置：本文と国内ASPリンクの間には置かない・後 */
.ad-slot-article-bottom {
    margin: 32px 0 20px;
}
/* モバイル下部（フッター直上）：離脱ポイント回収 */
.ad-slot-mobile-bottom {
    display: none;  /* PCでは非表示、スマホ幅で表示 */
    margin: 16px 0;
}
@media (max-width: 768px) {
    .ad-slot-mobile-bottom { display: block; }
}

/* ── 商品ページ：メインサムネをクリック可能に ── */
.product-thumbnail-clickable {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-thumbnail-clickable img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.35s;
}
.product-thumbnail-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}
.product-thumbnail-clickable:hover img {
    transform: scale(1.03);
}
.product-thumbnail-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0);
    transition: background 0.25s;
    pointer-events: none;
}
.product-thumbnail-clickable:hover .product-thumbnail-overlay {
    background: rgba(0, 0, 0, 0.45);
}
.product-thumbnail-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(216, 27, 96, 0.95);
    color: #2c1e2b;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s, transform 0.25s;
}
.product-thumbnail-clickable:hover .product-thumbnail-play {
    opacity: 1;
    transform: scale(1);
}
.product-thumbnail-cta {
    padding: 8px 20px;
    background: #d81b60;
    color: #2c1e2b;
    font-weight: 900;
    font-size: 1rem;
    border-radius: 6px;
    letter-spacing: 0.03em;
    box-shadow: 3px 3px 0 #2c1e2b;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.25s, transform 0.25s;
}
.product-thumbnail-clickable:hover .product-thumbnail-cta {
    opacity: 1;
    transform: translateY(0);
}

/* タップ端末（ホバーなし）ではオーバーレイ常時薄表示 */
@media (hover: none) {
    .product-thumbnail-overlay {
        background: rgba(0, 0, 0, 0.15);
    }
    .product-thumbnail-play,
    .product-thumbnail-cta {
        opacity: 1;
        transform: none;
    }
}

/* ── ホームv2: ワイド構成 ── */
.home-container-wide {
    max-width: 1600px;
}
.home-layout-v2 {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    margin: 32px 0 60px;
}
.home-main-wide {
    min-width: 0; /* grid内で overflow-x:auto を効かせるため */
}
.home-aside-narrow {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (max-width: 900px) {
    .home-layout-v2 {
        grid-template-columns: 1fr;
    }
}

/* ── 1010Meshima用：サイドバー無し・全幅レイアウト ── */
.home-layout-fullwidth {
    margin: 32px 0 60px;
}
.home-main-fullwidth {
    min-width: 0;
    width: 100%;
}

/* ── ジャンルセクション ── */
.genre-section {
    margin-bottom: 32px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.genre-section-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 18px 6px;
    color: #2c1e2b;
    border-bottom: 2px solid #2c1e2b;
}
/* スズメバチの縞アクセント（ヘッダー上端・薄く） */
.genre-section-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        135deg,
        #2c1e2b 0 8px,
        #d81b60 8px 16px
    );
}
.genre-section-title {
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 4px; /* 縞の分下げる */
    line-height: 1.2;
}
.genre-section-emoji {
    font-size: 1.15rem;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.15));
}

/* ── 横スライダー ── */
.genre-slider-wrap {
    position: relative;
    padding: 16px 0;
}
.genre-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.genre-slider::-webkit-scrollbar {
    height: 6px;
}
.genre-slider::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
.genre-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.genre-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: translateY(-50%) scale(1.1);
}
.genre-slider-prev { left: 4px; }
.genre-slider-next { right: 4px; }
@media (max-width: 600px) {
    .genre-slider-arrow { display: none; } /* スマホはスワイプで代用 */
}

/* ── ジャンルカード（3枚可視・スナップ） ── */
.genre-card {
    flex: 0 0 calc((100% - 24px) / 3);
    max-width: 340px; /* 1枚しかない時に無限に広がるのを防ぐ */
    scroll-snap-align: start;
    display: block;
    background: #f8f8f8;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.2s, box-shadow 0.2s;
    min-width: 0;
}
.genre-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    color: var(--color-text);
}
.genre-card-thumb {
    position: relative;
    aspect-ratio: 3 / 2;
    background: #000;
    overflow: hidden;
}
.genre-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
/* FANZA商品はpl.jpg（横長プロモ全景）を全表示 → 情報が切れないようcontain */
.genre-card:has(.genre-card-badge-fanza) .genre-card-thumb {
    aspect-ratio: 8 / 5; /* pl.jpg の 1.60:1 に合わせる */
    background: linear-gradient(135deg, #2c1e2b 0%, #4a2c48 100%);
}
.genre-card:has(.genre-card-badge-fanza) .genre-card-thumb img {
    object-fit: contain;
}
.genre-card:hover .genre-card-thumb img {
    transform: scale(1.05);
}
.genre-card-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 2px 8px;
    border-radius: 3px;
    color: #fff;
    font-weight: bold;
    font-size: 0.7rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.genre-card-badge-jadenet { background: #d81b60; color: #222; }
.genre-card-badge-fanza { background: #ff0000; }
.genre-card-badge-dlsite { background: #00afcc; }
.genre-card-title {
    padding: 8px 10px 12px;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #222;
    min-height: 2.6em;
}

/* ── DLsite（同人）カード：アスペクト比が違うので専用スタイル・縦1.5倍 ── */
.genre-card-dlsite .genre-card-thumb {
    aspect-ratio: auto;
    height: 270px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.genre-card-dlsite .genre-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
@media (max-width: 900px) {
    .genre-card-dlsite .genre-card-thumb { height: 225px; }
}
@media (max-width: 500px) {
    .genre-card-dlsite .genre-card-thumb { height: 195px; }
}

/* タブレット：2枚可視 */
@media (max-width: 900px) {
    .genre-card {
        flex: 0 0 calc((100% - 12px) / 2);
    }
}
/* スマホ：1.5枚可視でスワイプ促進 */
@media (max-width: 500px) {
    .genre-card {
        flex: 0 0 calc((100% - 8px) / 1.5);
    }
    .genre-card-title { font-size: 0.75rem; }
}

/* ── サイドナビ（狭幅版）── */
.aside-category-nav {
    background: #fff;
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.aside-nav-title {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: var(--color-secondary);
}
.aside-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s;
    font-size: 0.85rem;
}
.aside-category-item:hover {
    background: var(--color-stripe-bg);
    color: var(--color-text);
}
.aside-category-arrow {
    color: #aaa;
    font-size: 1.1rem;
}

/* ── FC2 スタンドアロンカード（個別3枠版・縦積み） ── */
.fc2-standalone-card {
    display: block;
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: 0 2px 6px rgba(255, 20, 147, 0.25);
    color: #fff;
    text-decoration: none;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.fc2-standalone-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 20, 147, 0.4);
    color: #fff;
}
.fc2-standalone-card .fc2-standalone-label {
    display: block;
    color: #ffe4f1;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    margin-bottom: 6px;
}
.fc2-standalone-card .fc2-standalone-thumb {
    display: block;
    position: relative;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    line-height: 0;
    margin-bottom: 6px;
}
.fc2-standalone-card .fc2-standalone-thumb img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}
.fc2-standalone-card:hover .fc2-standalone-thumb img {
    transform: scale(1.05);
}
.fc2-standalone-card .fc2-standalone-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 20, 147, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.fc2-standalone-card .fc2-standalone-title {
    margin: 0 0 8px;
    padding: 6px 4px 0;
    font-size: 0.75rem;
    line-height: 1.35;
    font-weight: bold;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
    text-shadow: 0 1px 1px rgba(0,0,0,.15);
}
.fc2-standalone-card .fc2-standalone-cta {
    display: block;
    padding: 7px 8px;
    background: #fff;
    color: #ff1493;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 4px;
    text-align: center;
    line-height: 1.2;
}

/* ── 訪問者カウンター ── */
.visitor-counter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    padding: 12px 16px;
    margin: 20px auto;
    max-width: 720px;
    background: linear-gradient(135deg, #1a1a1f 0%, #26261d 100%);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius);
    box-shadow: 0 0 12px rgba(255, 200, 0, 0.15);
    font-size: 0.9rem;
    color: #eee;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.03em;
}
.visitor-counter .vc-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 3px rgba(255,200,0,.6));
}
.visitor-counter .vc-item {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}
.visitor-counter .vc-label {
    color: #999;
    font-size: 0.75rem;
    text-transform: uppercase;
}
.visitor-counter .vc-value {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 0 4px rgba(255, 200, 0, 0.4);
    min-width: 1em;
}
.visitor-counter .vc-sep {
    color: #555;
}
@media (max-width: 500px) {
    .visitor-counter {
        font-size: 0.8rem;
        gap: 6px 8px;
        padding: 10px 12px;
    }
    .visitor-counter .vc-value { font-size: 0.9rem; }
    .visitor-counter .vc-label { font-size: 0.7rem; }
}

/* ── 年齢ゲート ── */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(20, 20, 25, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.age-gate[hidden] { display: none; }
.age-gate-inner {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
}
.age-gate-inner h2 { margin-top: 0; border-bottom: none; }
.age-gate-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0 16px;
}
.age-gate-note { color: var(--color-muted); }

/* ── ボタン共通 ── */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary {
    background: var(--color-primary);
    color: var(--color-cta-text);
    border: 2px solid var(--color-secondary);
}
.btn-primary:hover {
    background: var(--color-primary-hover);
    text-decoration: none;
}
.btn-secondary {
    background: #f0f0f0;
    color: var(--color-text);
    border: 2px solid #d0d0d0;
}

/* ── CTAブロック（スズメバチカラー） ── */
.cta-block {
    background: var(--color-stripe-bg);
    border: 3px solid var(--color-secondary);
    border-left: 8px solid var(--color-primary);
    border-radius: var(--radius);
    padding: 20px;
    margin: 24px 0;
    text-align: center;
    position: relative;
}
.cta-pr-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.cta-text {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}
.cta-button {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-cta-text);
    padding: 14px 40px;
    border: 3px solid var(--color-secondary);
    border-radius: var(--radius);
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: var(--shadow-cta);
    transition: transform 0.1s, box-shadow 0.1s;
}
.cta-button:hover {
    background: var(--color-primary-hover);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(216,27,96,0.45);
}
.cta-subtext {
    color: var(--color-muted);
    margin-top: 10px;
    margin-bottom: 0;
}

/* ── パンくず ── */
.breadcrumbs {
    margin: 16px 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.breadcrumbs li::after { content: "›"; margin-left: 6px; }
.breadcrumbs li:last-child::after { content: ""; }

/* ── 戻るボタン ── */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    line-height: 40px;
    text-align: center;
    background: var(--color-secondary);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    font-weight: 700;
    z-index: 40;
}
.back-to-top:hover { text-decoration: none; }

/* ── 法務ページ ── */
.legal-page { padding: 30px 0 60px; }
.legal-page h2 { font-size: 1.15rem; }
.legal-list dt { font-weight: 700; margin-top: 1em; }
.legal-list dd { margin: 0 0 0.5em 1em; }
.legal-note {
    background: #fffaf0;
    border-left: 4px solid var(--color-rank);
    padding: 10px 16px;
    margin-bottom: 24px;
}
.legal-updated { margin-top: 30px; color: var(--color-muted); }

/* ====================================================
   ホームページ：mybest型構造（大型ヒーロー + 横並びカード + サイドバー）
   ==================================================== */

.home-page { padding: 0 0 60px; }

/* ── ヒーロー（小型・検索バー中心） ── */
.home-hero {
    position: relative;
    background: var(--color-secondary);
    color: #fff;
    padding: 24px 0;
    margin-bottom: 24px;
    overflow: hidden;
}
.home-hero-bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        115deg,
        transparent 0,
        transparent 30px,
        rgba(216, 27, 96, 0.10) 30px,
        rgba(216, 27, 96, 0.10) 60px
    );
}
.home-hero-overlay { display: none; }
.home-hero-container {
    max-width: var(--max-width-home);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}
.home-hero-content { display: none; }
.home-hero-search {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    padding: 4px 4px 4px 22px;
}
.home-hero-search-icon {
    color: var(--color-muted);
    font-size: 1.1rem;
    margin-right: 8px;
    flex-shrink: 0;
}
.home-hero-search-input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    background: transparent;
    color: var(--color-text);
    font-size: 0.95rem;
    outline: none;
    min-width: 0;
}
.home-hero-search-input::placeholder { color: var(--color-muted); }

/* ── 2カラムレイアウト（横幅いっぱい） ── */
.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
    max-width: var(--max-width-home);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}
.home-page > .container:has(.home-layout) {
    max-width: none;
    padding: 0;
}
.home-main { min-width: 0; }
.home-sidebar { min-width: 0; }

/* ── セクション見出し ── */
.section-eyebrow {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin: 0 0 4px;
    font-weight: 500;
}
.section-title {
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--color-primary);
    line-height: 1.3;
}

/* ── おすすめグリッド（2列・横幅いっぱい活用） ── */
.home-featured { margin-bottom: 40px; }
.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.featured-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
    text-decoration: none;
    color: var(--color-text);
    padding: 16px 20px;
    gap: 20px;
    min-height: 200px;
}
.featured-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
}
.featured-card-thumb {
    flex-shrink: 0;
    width: 220px;
    height: 165px;
    background: var(--color-card-bg);
    border-radius: 4px;
    overflow: hidden;
}
.featured-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.featured-card-body {
    flex: 1;
    min-width: 0;
}
.featured-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.5;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.featured-card-cat {
    font-size: 0.85rem;
    color: var(--color-muted);
    background: var(--color-card-bg);
    padding: 4px 12px;
    border-radius: 3px;
    white-space: nowrap;
    font-weight: 500;
}
.featured-card-badge {
    font-size: 0.78rem;
    color: var(--color-primary);
    background: var(--color-secondary);
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}
.featured-card-arrow {
    flex-shrink: 0;
    color: var(--color-muted);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    padding-right: 4px;
}

/* ── 記事一覧セクション ── */
.home-articles-section { margin-bottom: 32px; }

/* ── サイドバー：カテゴリナビ ── */
.home-sidebar-title {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--color-primary);
}
.category-nav {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.category-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s;
}
.category-nav-item:last-child { border-bottom: none; }
.category-nav-item:hover {
    background: var(--color-stripe-bg);
    text-decoration: none;
}
.category-nav-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: var(--color-secondary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
}
.category-nav-text {
    flex: 1;
    min-width: 0;
}
.category-nav-name {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--color-text);
    margin-bottom: 2px;
}
.category-nav-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.72rem;
    color: var(--color-muted);
    line-height: 1.4;
}
.category-nav-arrow {
    flex-shrink: 0;
    color: var(--color-muted);
    font-size: 1.2rem;
    font-weight: 700;
}

/* ── サイドバー：プロモブロック ── */
.sidebar-promo {
    background: var(--color-stripe-bg);
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius);
    padding: 16px;
}
.sidebar-promo-title {
    font-size: 0.92rem;
    font-weight: 900;
    margin: 0 0 8px;
    color: var(--color-text);
}
.sidebar-promo-text {
    font-size: 0.8rem;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0 0 10px;
}
.sidebar-promo-link {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
}
.sidebar-promo-link:hover { text-decoration: underline; }

/* ── レスポンシブ ── */
@media (max-width: 1100px) {
    .home-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        padding: 0 16px;
    }
}
@media (max-width: 900px) {
    .featured-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .home-hero { padding: 16px 0; }
    .home-hero-container { padding: 0 16px; }

    .home-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    .featured-grid { gap: 8px; }
    .featured-card {
        padding: 10px 12px;
        gap: 12px;
        min-height: 110px;
    }
    .featured-card-thumb { width: 110px; height: 82px; }
    .featured-card-title { font-size: 0.95rem; margin-bottom: 8px; }
    .featured-card-cat, .featured-card-badge { font-size: 0.7rem; }
}

/* ── ASPソース別セクション（JADE NET / DLsite） ── */
.source-section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: var(--radius);
    border: 2px solid var(--color-border);
}
.source-section.source-jadenet {
    background: #fffbe8;
    border-color: #d81b60;
}
.source-section.source-dlsite {
    background: #f0f4ff;
    border-color: #2b6cb0;
}
.source-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}
.source-lead {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0 0 20px;
}
.source-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    vertical-align: middle;
}
.source-badge-jadenet { background: #d97706; }
.source-badge-dlsite  { background: #2b6cb0; }
.source-badge-fanza   { background: #e60039; }

.source-section.source-fanza {
    background: #ffeef2;
    border-color: #e60039;
}

/* ホーム統合セクション用の featured-card 内バッジ */
.featured-card-badge-fanza {
    background: #e60039;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
}
.featured-card-badge-jadenet {
    background: #d97706;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
}

/* カテゴリページ product-card サムネ上のソースバッジ */
.product-card-thumb { position: relative; }
.product-card-source-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    z-index: 2;
}
.product-card-source-jadenet { background: #d97706; }
.product-card-source-fanza   { background: #e60039; }

/* ── みんなのレビュー（スズメバチ配色）── */
.reviews-section {
    position: relative;
    margin-top: 56px;
    padding: 28px 28px 36px;
    background: #fef5f8;
    border: 4px solid #2c1e2b;
    border-radius: 14px;
    box-shadow: 6px 6px 0 #d81b60;
}
.reviews-section::before {
    /* 上端の黄黒ストライプ帯 */
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    height: 18px;
    background: repeating-linear-gradient(
        135deg,
        #d81b60 0 18px,
        #2c1e2b 18px 30px
    );
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid #2c1e2b;
}
.reviews-section > h2 {
    margin-top: 20px;
    margin-bottom: 6px;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 1.8rem;
    font-weight: 900;
    color: #2c1e2b;
    letter-spacing: -0.01em;
    text-shadow: 3px 3px 0 #d81b60;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.2;
}
.reviews-section > h2::before {
    content: "🦋";
    font-size: 1.6rem;
    filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.15));
}
.reviews-count {
    font-size: 0.9rem;
    color: #52514e;
    font-weight: 700;
    background: #d81b60;
    color: #2c1e2b;
    padding: 3px 10px;
    border-radius: 999px;
    border: 2px solid #2c1e2b;
    text-shadow: none;
}
.reviews-empty {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border: 3px dashed #d81b60;
    border-radius: 10px;
    color: #2c1e2b;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 20px 0 24px;
    line-height: 1.7;
}
.reviews-empty::before {
    content: "✨";
    display: block;
    font-size: 2rem;
    margin-bottom: 6px;
}
.reviews-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.review-item {
    background: #fff;
    border: 2px solid #2c1e2b;
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 3px 3px 0 #d81b60;
    transition: transform 0.15s;
}
.review-item:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 #d81b60;
}
.review-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-muted);
}
.review-score {
    color: #eda100;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1rem;
}
.review-author {
    font-weight: 600;
    color: var(--color-secondary);
    font-size: 0.95rem;
}
.review-flag { margin-left: 3px; }
.review-date { margin-left: auto; font-size: 0.8rem; }
.review-body {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.7;
    color: var(--color-secondary);
}
.review-product-ref {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* ── レビュー投稿トグルボタン ── */
.review-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    margin-top: 8px;
    background: #d81b60;
    color: #2c1e2b;
    border: 3px solid #2c1e2b;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    cursor: pointer;
    box-shadow: 4px 4px 0 #2c1e2b;
    transition: transform 0.12s, box-shadow 0.12s;
}
.review-toggle-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #2c1e2b;
}
.review-toggle-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 #2c1e2b;
}
.review-toggle-icon { font-size: 1.2rem; }
.review-toggle-arrow {
    font-size: 0.85rem;
    transition: transform 0.2s;
}
.review-toggle-btn[aria-expanded="true"] {
    background: #2c1e2b;
    color: #d81b60;
}
.review-toggle-btn[aria-expanded="true"] .review-toggle-icon {
    filter: grayscale(0.3);
}
.review-form-collapse {
    margin-top: 20px;
    animation: reviewFormFadeIn 0.25s ease-out;
}
@keyframes reviewFormFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.review-form-collapse[hidden] { display: none !important; }

/* ── 投稿フォーム（スズメバチ配色）── */
.review-form-wrap {
    position: relative;
    background: #fff;
    border: 3px solid #2c1e2b;
    border-radius: 12px;
    padding: 24px 26px 28px;
    margin-top: 28px;
    box-shadow: 4px 4px 0 #d81b60;
}
.review-form-wrap::before {
    content: "✍️ POST YOUR REVIEW";
    position: absolute;
    top: -14px;
    left: 20px;
    background: #d81b60;
    color: #2c1e2b;
    padding: 3px 12px;
    border: 2px solid #2c1e2b;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}
.review-form-title {
    margin: 6px 0 8px;
    font-size: 1.3rem;
    font-weight: 900;
    color: #2c1e2b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.review-form-title::before {
    content: "💬";
    font-size: 1.2rem;
}
.review-form-note {
    font-size: 0.82rem;
    color: #52514e;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 10px 12px;
    background: #fef5f8;
    border-left: 4px solid #d81b60;
    border-radius: 4px;
}
.review-form-row {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.review-form-row label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #2c1e2b;
    letter-spacing: 0.02em;
}
.review-form-row .required {
    display: inline-block;
    background: #2c1e2b;
    color: #d81b60;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 900;
    margin-left: 4px;
}
.review-form-row input[type="text"],
.review-form-row select,
.review-form-row textarea {
    padding: 10px 12px;
    border: 2px solid #2c1e2b;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: #2c1e2b;
    transition: box-shadow 0.15s;
}
.review-form-row input[type="text"]:focus,
.review-form-row select:focus,
.review-form-row textarea:focus {
    outline: none;
    box-shadow: 3px 3px 0 #d81b60;
}
.review-form-row textarea { resize: vertical; min-height: 100px; }
.review-form-counter {
    align-self: flex-end;
    font-size: 0.8rem;
    color: #52514e;
    font-weight: 700;
}
.review-form-check {
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    display: flex;
    padding: 10px 12px;
    background: #fef5f8;
    border: 2px dashed #2c1e2b;
    border-radius: 6px;
}
.review-form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d81b60;
}
.review-form-submit { margin-top: 18px; text-align: center; }
.btn-primary {
    background: #d81b60;
    color: #2c1e2b;
    border: 3px solid #2c1e2b;
    padding: 14px 44px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    display: inline-block;
    box-shadow: 4px 4px 0 #2c1e2b;
    transition: transform 0.12s, box-shadow 0.12s;
}
.btn-primary::before {
    content: "🦋 ";
}
.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #2c1e2b;
}
.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 #2c1e2b;
}

/* ── コミュニティページ ── */
.community-page { padding: 20px 0 60px; }
.community-header { margin-bottom: 28px; }
.community-eyebrow {
    color: var(--color-muted);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    margin: 0 0 6px;
    font-weight: 700;
}
.community-lead { color: var(--color-secondary); line-height: 1.7; }
.community-guide,
.community-latest,
.community-cta,
.community-faq,
.community-empty {
    margin: 32px 0;
    padding: 20px 24px;
    background: #fafaf6;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
}
.community-rules { padding-left: 20px; line-height: 1.9; }
.reviews-list-compact { margin-bottom: 0; }
.category-community-link {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f5efdd;
    border-left: 3px solid var(--color-primary);
    border-radius: 4px;
    font-size: 0.95rem;
}
.category-community-link a { font-weight: 700; color: #b47b00; }
.category-community-link small { color: var(--color-muted); margin-left: 6px; }

/* ═══════════════════════════════════════════
   ブログ（スズメバチ×マスコットテーマ）
   ═══════════════════════════════════════════ */

.blog-post-hero,
.blog-hero-wrap {
    position: relative;
    background: linear-gradient(180deg, #fef5f8 0%, #fef2c8 100%);
    overflow: hidden;
}
.blog-hero-stripes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(
        135deg,
        #d81b60 0 18px,
        #2c1e2b 18px 28px
    );
    border-bottom: 2px solid #2c1e2b;
}
.blog-hero-wrap::before {
    /* ハニカム背景パターン */
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'><path d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66Z' fill='none' stroke='%23f5b800' stroke-width='2' opacity='0.15'/></svg>");
    background-size: 56px 100px;
    pointer-events: none;
    opacity: 0.6;
}
.blog-hero-honeycomb {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, #fef2c8 100%);
    pointer-events: none;
}

.blog-hero {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 14px 5vw 18px;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    min-height: 0;
    text-align: center;
}
.blog-hero-text {
    flex: 0 1 auto;
    max-width: 720px;
    padding-right: 0;
    text-align: center;
}
.blog-hero-eyebrow {
    display: inline-block;
    background: #2c1e2b;
    color: #d81b60;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
}
.blog-hero-title {
    font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN",
                 "Zen Maru Gothic", system-ui, sans-serif;
    margin: 0 0 8px;
    line-height: 1;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.blog-hero-title-line1 {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    color: #2c1e2b;
    text-shadow: 3px 3px 0 #d81b60;
    letter-spacing: 0.02em;
}
.blog-hero-title-line2 {
    display: inline-block;
    font-size: 2.8rem;
    font-weight: 900;
    color: #d81b60;
    -webkit-text-stroke: 2.5px #2c1e2b;
    text-shadow: 5px 5px 0 #2c1e2b;
}
.blog-hero-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c1e2b;
    margin: 4px 0 14px;
    white-space: nowrap;
    text-align: center;
}
.blog-hero-lead strong {
    background: #d81b60;
    color: #2c1e2b;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 900;
}
.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: #fff;
    border: 2px solid #2c1e2b;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.72rem;
    box-shadow: 2px 2px 0 #d81b60;
}
.blog-hero-badge-dot {
    width: 8px;
    height: 8px;
}
.blog-hero-badge-dot {
    width: 10px;
    height: 10px;
    background: #d03b3b;
    border-radius: 50%;
    animation: bloghonoraryPulse 1.5s ease-in-out infinite;
}
@keyframes bloghonoraryPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.25); }
}

.blog-hero-mascot {
    position: relative;
    text-align: center;
    animation: blogMascotFloat 3.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes blogMascotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.blog-hero-mascot-img {
    width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
    /* multiply 合成モード：白ピクセルは背景と乗算されて消える */
    mix-blend-mode: multiply;
    /* 白背景を強調してクリーン化＋キャラは変わらず */
    filter: brightness(1.06) contrast(1.05);
}
.blog-hero-mascot-fallback {
    display: none;
    font-size: 4.5rem;
    line-height: 1;
    text-align: center;
    filter: drop-shadow(3px 4px 0 rgba(26,26,25,0.2));
}
.blog-hero-mascot.no-mascot .blog-hero-mascot-fallback {
    display: block;
}
.blog-hero-speech {
    position: absolute;
    top: -4px;
    left: -50px;
    background: #fff;
    border: 2px solid #2c1e2b;
    border-radius: 12px;
    padding: 5px 10px;
    box-shadow: 2px 2px 0 #d81b60;
    max-width: 130px;
    z-index: 3;
    animation: blogSpeechBubble 4s ease-in-out infinite;
    line-height: 1.35;
}
@keyframes blogSpeechBubble {
    0%, 100% { transform: rotate(-3deg) scale(1); }
    50% { transform: rotate(-1deg) scale(1.03); }
}
.blog-hero-speech::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: 16px;
    width: 0;
    height: 0;
    border-left: 18px solid #2c1e2b;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}
.blog-hero-speech::before {
    content: "";
    position: absolute;
    right: -13px;
    bottom: 18px;
    width: 0;
    height: 0;
    border-left: 14px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    z-index: 1;
}
.blog-hero-speech p {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.35;
    color: #2c1e2b;
    font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
}
.blog-hero-speech strong {
    color: #d97706;
}

@media (max-width: 900px) {
    .blog-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 20px 32px;
        gap: 20px;
    }
    .blog-hero-text { margin: 0 auto; padding-right: 0; }
    .blog-hero-title { justify-content: center; }
    .blog-hero-title-line1 { font-size: 1.4rem; }
    .blog-hero-title-line2 { font-size: 2rem; }
    .blog-hero-mascot { padding-right: 0; }
    .blog-hero-mascot-img { width: 180px; }
    .blog-hero-mascot-fallback { font-size: 6rem; }
    .blog-hero-speech { left: 50%; transform: translateX(-50%) rotate(-3deg); top: -20px; }
}

.blog-index-page,
.blog-post { padding: 40px 0 80px; background: #fdfdf9; }
.blog-container { max-width: 780px; }
.blog-container-wide { max-width: 1500px; }

.blog-index-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}
/* タブレット：2列 */
@media (min-width: 640px) {
    .blog-index-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* ノートPC：3列 */
@media (min-width: 960px) {
    .blog-index-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}
/* デスクトップ：4列 */
@media (min-width: 1280px) {
    .blog-index-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

/* ── ハニーカード ── */
.blog-honey-card {
    position: relative;
    background: #fff;
    border: 3px solid #2c1e2b;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 5px 5px 0 #d81b60;
    display: flex;
    flex-direction: column;
}
.blog-honey-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #d81b60;
}
.blog-honey-card-stripe {
    height: 10px;
    background: repeating-linear-gradient(
        135deg,
        #d81b60 0 14px,
        #2c1e2b 14px 22px
    );
    border-bottom: 2px solid #2c1e2b;
}
.blog-honey-card-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* 4列時（1280px以上）はカードを詰める */
@media (min-width: 1280px) {
    .blog-honey-card-body { padding: 12px 14px 14px; }
    .blog-honey-card-title { font-size: 0.95rem !important; line-height: 1.4 !important; }
    .blog-honey-card-excerpt { font-size: 0.8rem !important; }
    .blog-honey-card-stripe { height: 8px !important; }
}
.blog-honey-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.blog-honeypot-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #d81b60 0%, #d97706 100%);
    color: #2c1e2b;
    border: 2px solid #2c1e2b;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow: 2px 2px 0 #2c1e2b;
}
.blog-honeypot-tag-general {
    background: linear-gradient(135deg, #fef5f8 0%, #d81b60 100%);
}
.blog-honey-card-date {
    font-size: 0.8rem;
    color: #52514e;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.blog-honey-card-title {
    font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN",
                 system-ui, sans-serif;
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 900;
    margin: 4px 0 10px;
    color: #2c1e2b;
}
.blog-honey-card-title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(180deg, transparent 65%, #fef2c8 65%);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: background-size 0.3s;
}
.blog-honey-card-title a:hover {
    background-size: 100% 100%;
    color: #d97706;
}
.blog-honey-card-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #52514e;
    margin: 0 0 16px;
    flex: 1;
}
.blog-honey-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 2px dashed rgba(216,27,96,0.5);
}
.blog-honey-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-honey-card-avatar {
    width: 32px;
    height: 32px;
    background: #2c1e2b;
    color: #d81b60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.95rem;
    border: 2px solid #d81b60;
}
.blog-honey-card-author-name {
    font-weight: 900;
    font-size: 0.85rem;
    color: #2c1e2b;
}
.blog-honey-card-more {
    background: #d81b60;
    color: #2c1e2b;
    border: 2px solid #2c1e2b;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.12s;
    white-space: nowrap;
}
.blog-honey-card-more:hover {
    transform: translate(-1px, -1px);
    text-decoration: none;
}

/* ── 空状態 ── */
.blog-index-empty {
    text-align: center;
    padding: 80px 20px;
    color: #52514e;
    background: #fff;
    border: 3px dashed #d81b60;
    border-radius: 14px;
    max-width: 640px;
    margin: 0 auto;
}
.blog-index-empty-mascot {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: blogMascotFloat 2.5s ease-in-out infinite;
}
.blog-index-empty p {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.8;
    margin: 0;
}

/* ── 個別記事：ヒーロー小 ── */
.blog-post-hero {
    padding: 0 0 16px;
}
.blog-post-hero-inner {
    padding: 20px 24px 0;
}
.blog-post-breadcrumbs {
    margin: 0;
    position: relative;
    z-index: 2;
}
.blog-post-breadcrumbs a { color: #b47b00; font-weight: 700; }

/* ── 個別記事 ── */
.blog-post-header {
    margin-bottom: 36px;
    padding: 20px 0 24px;
    border-bottom: 3px dashed #d81b60;
    text-align: center;
}
.blog-post-header .blog-honeypot-tag {
    margin-bottom: 16px;
}
.blog-post-header h1 {
    font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
    font-size: 2rem;
    line-height: 1.45;
    margin: 10px 0 20px;
    letter-spacing: -0.005em;
    color: #2c1e2b;
    font-weight: 900;
}
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--color-muted);
}
.blog-meta-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    background: #fef5f8;
    border: 2px solid #2c1e2b;
    border-radius: 999px;
    box-shadow: 2px 2px 0 #d81b60;
}
.blog-meta-avatar {
    width: 36px;
    height: 36px;
    background: #2c1e2b;
    color: #d81b60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1rem;
    border: 2px solid #d81b60;
}
.blog-meta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    font-size: 0.78rem;
}
.blog-meta-text .blog-author {
    font-weight: 900;
    color: #2c1e2b;
    font-size: 0.9rem;
}
.blog-author { font-weight: 700; color: var(--color-secondary); }
.blog-meta-divider { color: var(--color-border); }

.blog-body {
    font-size: 1.02rem;
    line-height: 1.95;
    color: #333;
}
.blog-body h2 {
    font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
    font-size: 1.55rem;
    margin: 48px 0 20px;
    padding: 10px 16px 10px 20px;
    background: linear-gradient(90deg, #fef2c8 0%, transparent 100%);
    border-left: 8px solid #d81b60;
    border-bottom: 3px double #2c1e2b;
    color: #2c1e2b;
    font-weight: 900;
    position: relative;
}
.blog-body h2::before {
    content: "🦋";
    margin-right: 8px;
    filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.1));
}
.blog-body h3 {
    font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
    font-size: 1.2rem;
    margin: 32px 0 14px;
    color: #2c1e2b;
    padding: 6px 14px;
    background: #fef5f8;
    border-left: 6px solid #d81b60;
    border-radius: 0 6px 6px 0;
    font-weight: 900;
}
.blog-body p { margin: 0 0 1.4em; }
.blog-body ul, .blog-body ol { margin: 0 0 1.4em; padding-left: 1.5em; }
.blog-body li { margin-bottom: 0.5em; }
.blog-body strong {
    color: #2c1e2b;
    font-weight: 900;
    background: linear-gradient(180deg, transparent 65%, #fef2c8 65%);
    padding: 0 3px;
}
.blog-body a {
    color: #b47b00;
    font-weight: 700;
    text-decoration: underline wavy #d81b60;
    text-underline-offset: 3px;
}
.blog-body blockquote {
    background: #fef5f8;
    border-left: 6px solid #d81b60;
    padding: 16px 20px;
    margin: 24px 0;
    color: #52514e;
    border-radius: 0 8px 8px 0;
    box-shadow: 3px 3px 0 rgba(216,27,96,0.3);
    position: relative;
}
.blog-body blockquote::before {
    content: "🌸";
    position: absolute;
    top: -12px;
    left: 12px;
    font-size: 1.6rem;
}
.blog-body hr {
    border: none;
    height: 20px;
    margin: 40px 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='20' viewBox='0 0 200 20'><text x='100' y='16' text-anchor='middle' font-size='18'>🦋 🌸 🦋</text></svg>");
    background-repeat: no-repeat;
    background-position: center;
}

.blog-featured-products {
    margin: 56px 0 32px;
    padding: 28px 24px;
    background: linear-gradient(180deg, #fef5f8 0%, #fef2c8 100%);
    border: 3px solid #2c1e2b;
    border-radius: 14px;
    box-shadow: 5px 5px 0 #d81b60;
    position: relative;
}
.blog-featured-products::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    height: 10px;
    background: repeating-linear-gradient(
        135deg,
        #d81b60 0 14px,
        #2c1e2b 14px 22px
    );
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid #2c1e2b;
}
.blog-featured-products h2 {
    font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
    margin: 12px 0 20px;
    font-size: 1.35rem;
    color: #2c1e2b;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}
.blog-featured-icon {
    font-size: 1.4rem;
    filter: drop-shadow(1px 1px 0 rgba(0,0,0,0.1));
}
.blog-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.blog-post-footer { margin-top: 56px; }

/* ── 著者カード（豪華版） ── */
.blog-author-card {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px;
    background: linear-gradient(135deg, #fef5f8 0%, #fef2c8 100%);
    border: 3px solid #2c1e2b;
    border-radius: 14px;
    margin-bottom: 32px;
    box-shadow: 5px 5px 0 #d81b60;
    position: relative;
    overflow: hidden;
}
.blog-author-card::after {
    content: "🦋";
    position: absolute;
    right: -10px;
    bottom: -30px;
    font-size: 8rem;
    opacity: 0.08;
    transform: rotate(-15deg);
    pointer-events: none;
}
.blog-author-mascot {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: #fff;
    border: 3px solid #2c1e2b;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 3px 3px 0 #d81b60;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-author-mascot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.blog-author-mascot-fallback {
    display: none;
    font-size: 3.5rem;
}
.blog-author-mascot.no-mascot .blog-author-mascot-fallback {
    display: block;
}
.blog-author-info {
    min-width: 0;
    position: relative;
    z-index: 1;
}
.blog-author-label {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #b47b00;
    margin: 0 0 4px;
    text-transform: uppercase;
}
.blog-author-name {
    margin: 0 0 8px;
    font-weight: 900;
    font-size: 1.4rem;
    color: #2c1e2b;
    font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
}
.blog-author-bio {
    margin: 0;
    font-size: 0.9rem;
    color: #52514e;
    line-height: 1.7;
}

/* ── 前後ナビ ── */
.blog-nav-related {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}
.blog-nav-prev, .blog-nav-next {
    padding: 18px 20px;
    background: #fff;
    border: 3px solid #2c1e2b;
    border-radius: 12px;
    text-decoration: none;
    color: #2c1e2b;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.12s, box-shadow 0.12s;
    box-shadow: 3px 3px 0 #d81b60;
}
.blog-nav-prev:hover, .blog-nav-next:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #d81b60;
    text-decoration: none;
}
.blog-nav-next { text-align: right; grid-column: 2; }
.blog-nav-label {
    font-size: 0.72rem;
    color: #b47b00;
    letter-spacing: 0.08em;
    font-weight: 900;
}
.blog-nav-title {
    font-size: 0.92rem;
    line-height: 1.5;
    font-weight: 900;
    font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
}

/* ── 戻るボタン ── */
.blog-back-btn {
    display: inline-block;
    background: #d81b60;
    color: #2c1e2b;
    border: 3px solid #2c1e2b;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: "M PLUS Rounded 1c", system-ui, sans-serif;
    font-weight: 900;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 4px 4px 0 #2c1e2b;
    transition: transform 0.12s, box-shadow 0.12s;
}
.blog-back-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #2c1e2b;
    text-decoration: none;
}

@media (max-width: 640px) {
    .blog-nav-related { grid-template-columns: 1fr; }
    .blog-nav-next { grid-column: 1; text-align: left; }
    .blog-author-card { flex-direction: column; text-align: center; }
    .blog-post-header h1 { font-size: 1.5rem; }
    .blog-body h2 { font-size: 1.3rem; }
    .blog-body h2::before { display: block; }
}

/* ── DLsite サムネイル・グリッド（タイトルなし・直リンク） ── */
.dlsite-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.dlsite-thumb-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.15s, border-color 0.15s;
    background: #2c1e2b;
}
.dlsite-thumb-card:hover {
    transform: translateY(-2px);
    border-color: #2b6cb0;
}
.dlsite-thumb-card img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 600px) {
    .dlsite-thumb-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ── サイドバー広告枠 ── */
.sidebar-ad {
    margin-top: 24px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-align: center;
}
.sidebar-ad-label {
    font-size: 0.7rem;
    color: var(--color-muted);
    margin: 0 0 8px;
    letter-spacing: 0.1em;
}
.sidebar-ad img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ── ヘッダーの「ブログ」だけ特別ハイライト ── */
.nav-list li.nav-blog-highlight {
    position: relative;
}
.nav-list li.nav-blog-highlight > a {
    background: linear-gradient(120deg, #fff2b5 0%, #ffde4a 45%, #d81b60 100%);
    color: #2c1e2b !important;
    padding: 4px 12px 4px 8px;
    border-radius: 999px;
    border: 2px solid #2c1e2b;
    box-shadow: 2px 2px 0 #2c1e2b;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-list li.nav-blog-highlight > a:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #2c1e2b;
}
.nav-list li.nav-blog-highlight > a::before {
    content: '🦋';
    display: inline-block;
    animation: nav-bee-wobble 2.4s ease-in-out infinite;
    font-size: 0.95em;
}
.nav-list li.nav-blog-highlight > a::after {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 8px;
    height: 8px;
    background: #ff3355;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #2c1e2b, 0 0 8px rgba(255, 51, 85, 0.6);
    animation: nav-blog-pulse 1.6s ease-in-out infinite;
}
@keyframes nav-bee-wobble {
    0%, 100% { transform: rotate(-10deg) translateY(0); }
    25%      { transform: rotate(10deg) translateY(-1px); }
    50%      { transform: rotate(-6deg) translateY(0); }
    75%      { transform: rotate(6deg) translateY(-1px); }
}
@keyframes nav-blog-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.35); opacity: 0.75; }
}

/* モバイルナビ内は装飾を控えめに */
@media (max-width: 900px) {
    .nav-list li.nav-blog-highlight > a {
        display: inline-flex;
        margin: 4px 0;
    }
    .nav-list li.nav-blog-highlight > a::after {
        top: 2px;
        right: 4px;
    }
}
