/* ============================
   ハンバーガーメニュー
   ============================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.site-header-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    color: #3e2c00;
    line-height: 1.25;
}

.site-logo .logo-icon { font-size: 1.4rem; }

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger:hover { background: #fef9e0; }

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #f0eeea;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    padding: 8px 0 16px;
}

.nav-drawer.open { display: flex; }

.nav-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 0.08em;
    padding: 12px 24px 4px;
    text-transform: uppercase;
}

.nav-drawer a {
    padding: 11px 24px;
    font-size: 0.92rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f5f4f0;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { background: #fffbe6; color: #b8920a; }
.nav-drawer a.current { color: #FFD500; font-weight: 700; }

/* ============================
   フッター シェアボタン
   ============================ */
.share-section {
    background: #f8f7f3;
    border-top: 1px solid #e8e6e0;
    padding: 24px 16px;
    text-align: center;
}

.share-section p {
    font-size: 0.88rem;
    color: #888;
    margin-bottom: 14px;
}

.share-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
}

.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.share-btn.x { background: #0f1419; }
.share-btn.line { background: #06c755; }
.share-btn.copy { background: #6b7280; }
.share-btn.copy.copied { background: #22c55e; }

/* ============================
   読み物記事ページ
   ============================ */
.article-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}

.article-eyecatch {
    background: linear-gradient(135deg, #FFD500 0%, #FFC107 60%, #FFB300 100%);
    border-radius: 16px;
    padding: 36px 28px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.article-eyecatch::after {
    content: '';
    position: absolute;
    bottom: -30px; right: -30px;
    width: 120px; height: 120px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
}

.article-eyecatch .cat {
    display: inline-block;
    background: rgba(255,255,255,0.35);
    color: #3e2c00;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.article-eyecatch h1 {
    font-size: clamp(1.3rem, 4vw, 1.9rem);
    font-weight: 900;
    color: #3e2c00;
    line-height: 1.4;
    margin-bottom: 10px;
}

.article-eyecatch .meta {
    font-size: 0.8rem;
    color: #5c4300;
}

.article-toc {
    background: #fffbe6;
    border: 1px solid #ffe082;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
}

.article-toc h2 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #3e2c00;
    margin-bottom: 10px;
}

.article-toc ol {
    padding-left: 1.4em;
    font-size: 0.88rem;
    color: #555;
    line-height: 2;
}

.article-toc ol li a {
    color: #b8920a;
    text-decoration: none;
}

.article-toc ol li a:hover { text-decoration: underline; }

.article-body h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    border-left: 5px solid #FFD500;
    padding-left: 14px;
    margin: 40px 0 16px;
    line-height: 1.4;
}

.article-body h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: #333;
    margin: 28px 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-body h3::before {
    content: '▶';
    color: #FFD500;
    font-size: 0.7rem;
}

.article-body p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 16px;
}

.article-body ul, .article-body ol {
    padding-left: 1.5em;
    margin-bottom: 16px;
}

.article-body li {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #444;
    margin-bottom: 6px;
}

.article-point {
    background: #fffbe6;
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 20px 0;
    font-size: 0.92rem;
    color: #5c4300;
    line-height: 1.8;
}

.article-point strong { color: #3e2c00; }

.article-warn {
    background: #fff3f3;
    border-left: 4px solid #ef5350;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin: 20px 0;
    font-size: 0.88rem;
    color: #c62828;
    line-height: 1.75;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin: 16px 0 24px;
}

.data-table th {
    background: #FFD500;
    color: #3e2c00;
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
}

.data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #e8e6e0;
    color: #444;
    line-height: 1.65;
}

.data-table tr:nth-child(even) td { background: #fafaf6; }

.cta-box {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    margin: 36px 0;
}

.cta-box p {
    color: #ddd;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.cta-box a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFD500, #FFC107);
    color: #3e2c00;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-box a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,213,0,0.4);
}

.article-related {
    margin-top: 48px;
    border-top: 2px solid #f0eeea;
    padding-top: 32px;
}

.article-related h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.related-card {
    background: #fff;
    border: 1px solid #e8e6e0;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    display: block;
}

.related-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
    transform: translateY(-2px);
}

.related-card .icon { font-size: 1.5rem; margin-bottom: 6px; }

.related-card h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    line-height: 1.45;
    margin-bottom: 4px;
}

.related-card p {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 600px) {
    .article-eyecatch { padding: 24px 18px; }
    .article-body h2 { font-size: 1.15rem; }
    .data-table { font-size: 0.82rem; }
    .data-table th, .data-table td { padding: 8px 10px; }
}
