:root {
    /* スズメバチ配色 */
    --color-bg: #ffffff;
    --color-text: #1a1a1a;             /* ハチブラック・本文 */
    --color-muted: #6a6a6a;
    --color-primary: #f5b800;          /* ハチイエロー・CTA */
    --color-primary-hover: #d99e00;    /* ホバー時の濃い黄 */
    --color-secondary: #1a1a1a;        /* ハチブラック・縁取り */
    --color-accent: #ff6f00;           /* ハチアンバー・警戒/強調 */
    --color-border: #e3e3e3;
    --color-card-bg: #fffbe6;          /* 極淡黄・カード背景 */
    --color-rank: #ff6f00;             /* ランキング数字はアンバー */
    --color-cta-text: #1a1a1a;         /* 黄色背景上の文字色 */
    --color-stripe-bg: #fff8d0;        /* 黄黒ストライプの淡色側 */
    --max-width: 960px;
    --radius: 6px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
    --shadow-cta: 0 4px 12px rgba(245,184,0,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;
    height: 60px;
}
.site-logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}
.site-logo:hover { text-decoration: none; }

.nav-list {
    display: flex;
    gap: 1.2em;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list a {
    color: var(--color-text);
    font-size: 0.95rem;
}

.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; }

/* ── 年齢ゲート ── */
.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(245,184,0,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); }
