:root {
    --navy: #06244a;
    --navy-2: #0b376f;
    --blue: #1266d6;
    --light-blue: #eef6ff;
    --orange: #f07812;
    --orange-2: #ff9b2f;
    --yellow: #ffcf4a;
    --green: #20a66a;
    --text: #15233b;
    --muted: #66758f;
    --line: #dce5f1;
    --bg: #f5f8fc;
    --card: #ffffff;
    --shadow: 0 16px 40px rgba(7, 35, 75, .10);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(14, 45, 91, .06); }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4em;
    min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 800;
    border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(12, 40, 80, .12); }
.btn-orange { background: linear-gradient(135deg, var(--orange), #e86100); color: #fff; }
.btn-outline { background: #fff; border-color: #c9d7eb; color: var(--navy); }
.btn-muted { background: #f7f9fc; border-color: #dbe5f2; color: var(--navy); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.section { padding: 42px 0 64px; }
.section-sm { padding: 28px 0; }
.section-inner { margin-top: 34px; }
.section-title { margin: 0 0 18px; font-size: 25px; line-height: 1.35; letter-spacing: .02em; }
.section-title.left { margin-bottom: 14px; }
.section-title.crown::before { content: "♛"; color: var(--orange); margin-right: .35em; }
.section-title.shield::before { content: "🛡"; margin-right: .35em; }
.section-title.book::before { content: "📘"; margin-right: .35em; }
.section-title.compare::before { content: "▣"; color: var(--blue); margin-right: .35em; }
.section-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section-heading-row.compact h2 { margin: 0; font-size: 20px; }
.view-all, .section-heading-row.compact a { color: var(--blue); font-weight: 800; font-size: 14px; }

.site-header {
    position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
    backdrop-filter: blur(14px); border-bottom: 1px solid rgba(219,228,240,.8);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 900; }
.brand-name { font-size: 25px; font-weight: 900; color: var(--navy); letter-spacing: .03em; }
.brand-badge { border: 1px solid #aebed2; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 800; color: var(--navy); background: #fff; }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; padding: 0; margin: 0; font-weight: 800; color: var(--navy); font-size: 15px; }
.nav-menu a:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-search { font-size: 26px; line-height: 1; color: var(--navy); }
.mobile-menu-toggle { display: none; border: 0; background: transparent; font-size: 28px; color: var(--navy); }

.hero-section {
    background:
        radial-gradient(circle at 78% 20%, rgba(18,102,214,.16), transparent 30%),
        linear-gradient(110deg, #ffffff 0%, #ffffff 46%, #edf5ff 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 390px; align-items: center; gap: 28px; padding: 44px 0 38px; }
.eyebrow { color: var(--blue); font-weight: 900; margin: 0 0 8px; }
.hero-copy h1 { margin: 0 0 18px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.22; letter-spacing: .02em; color: #0f1e36; }
.hero-copy h1 span { color: var(--navy-2); }
.hero-lead { max-width: 650px; color: #40516d; font-weight: 600; margin: 0 0 22px; }
.hero-search { display: flex; max-width: 520px; background: #fff; border: 1px solid #cfdced; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 24px rgba(9,37,80,.08); }
.hero-search input { flex: 1; border: 0; padding: 0 18px; font-size: 16px; outline: none; min-height: 58px; }
.hero-search button { width: 66px; border: 0; background: var(--navy); color: #fff; font-size: 28px; cursor: pointer; }
.hero-buttons { display: flex; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; color: var(--navy); font-weight: 800; font-size: 14px; }
.hero-visual { min-height: 350px; position: relative; }
.visual-stage {
    position: absolute; inset: 82px 0 0 0; border-radius: 32px 0 0 32px;
    background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.8)), linear-gradient(135deg, #dbe8f7, #f7f9fb);
    box-shadow: inset 0 -44px 80px rgba(6,36,74,.10);
}
.visual-stage::before { content: ""; position: absolute; inset: auto -30px 0 -20px; height: 92px; background: linear-gradient(180deg, #c3ccd7, #9faab6); clip-path: polygon(0 45%, 30% 15%, 58% 45%, 100% 5%, 100% 100%, 0 100%); opacity: .7; }
.product-device { position: absolute; background: linear-gradient(145deg, #313946, #171d25); border-radius: 14px; box-shadow: 0 22px 30px rgba(0,0,0,.18); }
.product-device::before { content:""; position:absolute; left: 22%; right: 22%; top:-16px; height:22px; border:8px solid #28313d; border-bottom:0; border-radius:14px 14px 0 0; }
.product-device span { position:absolute; left:17px; top:23px; width:54px; height:34px; border-radius:6px; background: linear-gradient(135deg,#153e60,#071522); box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); }
.device-lg { width: 180px; height: 128px; right: 80px; bottom: 62px; }
.device-md { width: 146px; height: 108px; right: 275px; bottom: 70px; }
.device-sm { width: 118px; height: 90px; right: 455px; bottom: 64px; }
.lantern-shape, .bag-shape, .food-shape, .firstaid-shape { position: absolute; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); font-size: 38px; }
.lantern-shape { left: 18px; bottom: 76px; width: 74px; height: 92px; }
.bag-shape { right: 0; bottom: 74px; width: 96px; height: 118px; }
.food-shape { right: 120px; bottom: 34px; width: 70px; height: 60px; }
.firstaid-shape { right: 10px; bottom: 18px; width: 72px; height: 54px; color: var(--green); font-weight: 900; }
.hero-badge { position: absolute; z-index: 2; display: grid; place-items: center; text-align: center; width: 118px; height: 118px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }
.hero-badge strong { font-size: 20px; }
.badge-1 { left: 30px; top: 8px; } .badge-2 { left: 190px; top: 0; } .badge-3 { left: 352px; top: 18px; }

.category-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; }
.category-card { min-height: 98px; padding: 14px 8px; display: grid; place-items: center; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: transform .2s, box-shadow .2s, border .2s; }
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #bdd1ea; }
.category-icon { font-size: 28px; line-height: 1; }
.category-card strong { display:block; margin-top: 5px; font-size: 14px; color: var(--navy); }
.category-card small { color: var(--muted); font-size: 11px; }

.content-sidebar-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.ranking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ranking-card { position: relative; padding: 22px 18px 18px; text-align: center; }
.rank-badge { position: absolute; left: 14px; top: 14px; width: 52px; height: 52px; display: grid; place-items: center; clip-path: polygon(50% 0, 61% 23%, 86% 14%, 76% 40%, 100% 50%, 76% 60%, 86% 86%, 61% 77%, 50% 100%, 39% 77%, 14% 86%, 24% 60%, 0 50%, 24% 40%, 14% 14%, 39% 23%); font-weight: 900; color: #fff; font-size: 13px; }
.rank-badge.gold { background: #ffba26; } .rank-badge.silver { background: #aeb9c6; } .rank-badge.bronze { background: #d88b38; }
.device-thumb { margin: 18px auto 12px; width: 170px; height: 120px; border-radius: 18px; background: linear-gradient(145deg, #3b4451, #1b222b); position: relative; box-shadow: 0 18px 28px rgba(12,31,57,.18); }
.device-thumb::before { content:""; position:absolute; top:-18px; left:50%; transform:translateX(-50%); width:72px; height:28px; border:9px solid #2b3441; border-bottom:0; border-radius:16px 16px 0 0; }
.device-face { position: absolute; left: 24px; top: 28px; width: 62px; height: 38px; border-radius: 8px; background: #081a2c; border: 2px solid rgba(255,255,255,.08); }
.ranking-card h3 { margin: 8px 0 12px; color: var(--navy); font-size: 24px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; text-align: left; }
.spec-list div { display: flex; gap: 8px; align-items: center; background: #f4f8fd; border-radius: 8px; padding: 6px 8px; font-size: 13px; }
.spec-list dt { color: var(--blue); font-weight: 900; }
.spec-list dd { margin: 0; font-weight: 800; }
.ranking-card .btn + .btn { margin-top: 10px; }
.comparison-table-wrap { margin-top: 18px; overflow: hidden; }
.comparison-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.comparison-table th, .comparison-table td { border-bottom: 1px solid var(--line); padding: 13px 14px; text-align: left; }
.comparison-table th { background: #f4f7fb; color: var(--navy); }
.table-more { display: block; text-align: center; padding: 12px; color: var(--blue); font-weight: 900; }

.sidebar-column { display: grid; gap: 18px; position: sticky; top: 92px; }
.dark-card { padding: 20px; background: linear-gradient(180deg, var(--navy), #0b356b); color: #fff; }
.dark-card h2, .guide-card h2, .latest-card h2 { margin: 0 0 8px; font-size: 22px; }
.dark-card p { margin: 0 0 14px; color: #d9e8ff; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.tabs button { border: 0; border-radius: 9px; padding: 10px 8px; background: rgba(255,255,255,.18); color: #fff; font-weight: 800; }
.tabs button.active { background: #fff; color: var(--navy); }
.dark-card label { display: block; margin: 10px 0; font-weight: 800; font-size: 13px; color: #e6f0ff; }
.dark-card select { width: 100%; min-height: 42px; border-radius: 8px; border: 0; margin-top: 4px; padding: 0 10px; }
.warm-card { padding: 20px; background: #fff7e8; border-color: #f3d7ae; }
.checklist-card { padding: 20px; background: #fffaf0; border-color: #eed8ad; }
.guide-card p { color: #5f6672; margin-top: 0; }
.check-list { list-style: none; padding: 0; margin: 12px 0 16px; }
.check-list li { margin: 7px 0; color: #34445d; font-weight: 700; }
.check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e8f8ef; color: var(--green); margin-right: 8px; font-weight: 900; }
.latest-card { padding: 18px; }
.latest-list { display: grid; gap: 10px; }
.latest-list a { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #f8fbff; }
.latest-list strong { line-height: 1.45; font-size: 14px; }
.latest-list small { display:block; color: var(--muted); font-size: 12px; }
.mini-thumb { grid-row: span 2; display:grid; place-items:center; border-radius:10px; background:#fff; font-size: 26px; }

.goods-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.goods-card { display: block; padding: 12px; text-align: center; transition: transform .2s, box-shadow .2s; }
.goods-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.goods-image { height: 88px; display: grid; place-items: center; font-size: 42px; border-radius: 14px; background: linear-gradient(135deg, #edf5ff, #fff8ed); margin-bottom: 10px; }
.goods-card h3 { margin: 0 0 2px; font-size: 16px; color: var(--navy); }
.goods-card p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.article-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-list { display: grid; gap: 12px; }
.article-card { display: grid; grid-template-columns: 124px 1fr; overflow: hidden; }
.article-thumb { display: grid; place-items: center; min-height: 118px; background: linear-gradient(135deg, #eaf4ff, #fff2df); font-size: 42px; }
.article-body { padding: 12px 14px; }
.article-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--blue); font-size: 12px; font-weight: 900; }
.article-card h3 { margin: 6px 0 4px; font-size: 16px; line-height: 1.45; }
.article-card h3 a:hover { color: var(--orange); }
.article-card p { margin: 0 0 5px; color: var(--muted); font-size: 13px; }
.article-card time { color: #8b98ab; font-size: 12px; }

.newsletter-band { background: linear-gradient(90deg, var(--navy), #0b3a76); color: #fff; padding: 24px 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.newsletter-copy { display: flex; align-items: center; gap: 16px; }
.newsletter-icon { font-size: 46px; }
.newsletter-copy h2 { margin: 0; font-size: 22px; }
.newsletter-copy p { margin: 2px 0 0; color: #cfe0f8; }
.newsletter-form { display: flex; gap: 10px; min-width: 470px; }
.newsletter-form input { flex: 1; min-height: 48px; border-radius: 10px; border: 0; padding: 0 16px; }
.site-footer { background: #041d3c; color: #d7e4f5; padding: 38px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .9fr .9fr 1.25fr; gap: 28px; }
.footer-brand .brand-name { color: #fff; }
.footer-about p { color: #bed0e8; }
.social-links { display:flex; gap:10px; margin-top: 14px; }
.social-links a { width: 32px; height: 32px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.2); border-radius:50%; }
.site-footer h3 { color: #fff; margin: 0 0 10px; }
.site-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:7px; }
.site-footer a:hover { color: #fff; }
.affiliate-box { border:1px solid rgba(255,255,255,.18); border-radius:16px; padding:16px; background:rgba(255,255,255,.04); }
.affiliate-box strong { color:#fff; }
.affiliate-box p { margin:8px 0 0; color:#bed0e8; font-size: 13px; }
.footer-bottom { margin-top: 30px; border-top: 1px solid rgba(255,255,255,.12); text-align:center; padding: 14px; color: #9eb2cc; font-size: 13px; }

.archive-title { margin-top: 0; color: var(--navy); }
.archive-header { padding: 24px; margin-bottom: 20px; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.post-card { overflow: hidden; }
.post-thumb { display: grid; place-items: center; min-height: 190px; background: linear-gradient(135deg, #eaf4ff, #fff2df); font-size: 56px; }
.post-thumb img { width: 100%; height: 220px; object-fit: cover; display:block; }
.post-card-body { padding: 18px; }
.meta { color: var(--muted); font-size: 13px; font-weight: 700; }
.post-card h2 { font-size: 20px; line-height: 1.45; }
.read-more { color: var(--blue); font-weight: 900; }
.single-article { padding: 32px; }
.single-header h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.35; color: var(--navy); }
.single-thumb { margin: 24px 0; border-radius: 18px; overflow: hidden; }
.article-content h2 { margin-top: 2em; padding-left: .7em; border-left: 5px solid var(--orange); color: var(--navy); }
.article-content h3 { color: var(--navy-2); }
.article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 10px; }
.article-content th { background: #f4f8fd; }
.not-found { padding: 42px; text-align:center; }

@media (max-width: 1050px) {
    .nav-menu { gap: 14px; font-size: 14px; }
    .hero-grid, .content-sidebar-grid { grid-template-columns: 1fr; }
    .sidebar-column { position: static; grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .goods-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-visual { min-height: 320px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .container { width: min(100% - 24px, 1180px); }
    .header-inner { min-height: 64px; }
    .brand-name { font-size: 20px; }
    .primary-nav, .header-actions { display: none; }
    .mobile-menu-toggle { display: block; }
    .site-header.is-open .primary-nav { display: block; position: absolute; left: 12px; right: 12px; top: 68px; background:#fff; border:1px solid var(--line); border-radius:16px; padding:16px; box-shadow: var(--shadow); }
    .site-header.is-open .nav-menu { display:grid; gap: 10px; }
    .hero-grid { padding-top: 28px; }
    .hero-search { max-width: none; }
    .hero-buttons, .newsletter-inner, .newsletter-form { flex-direction: column; align-items: stretch; }
    .hero-visual { display:none; }
    .trust-row { gap: 8px; }
    .ranking-grid, .article-columns, .post-grid, .sidebar-column { grid-template-columns: 1fr; }
    .goods-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
    .comparison-table-wrap { overflow-x: auto; }
    .comparison-table { min-width: 680px; }
    .article-card { grid-template-columns: 92px 1fr; }
    .article-thumb { min-height: 104px; }
    .newsletter-form { min-width: 0; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .single-article { padding: 20px; }
}

/* v2: category simplification */
.purpose-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.purpose-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy);
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}
.purpose-strip a::before {
    content: "#";
    margin-right: 3px;
    color: var(--orange);
}
.purpose-strip a:hover {
    transform: translateY(-1px);
    border-color: rgba(234, 88, 12, .35);
}


/* v4: enhanced single article layout */
.single-page {
    background:
        radial-gradient(circle at 8% 4%, rgba(18,102,214,.08), transparent 28%),
        linear-gradient(180deg, #f5f8fc 0%, #eef4fb 100%);
    padding: 34px 0 0;
}
.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: start;
}
.single-content-card {
    min-width: 0;
}
.article-hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 44px);
    overflow: hidden;
}
.breadcrumb-lite {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}
.breadcrumb-lite a { color: var(--blue); }
.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 14px;
}
.category-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--light-blue);
    color: var(--blue);
    border: 1px solid #cfe0f7;
}
.single-title {
    margin: 0;
    color: var(--navy);
    font-size: clamp(30px, 4.4vw, 48px);
    line-height: 1.28;
    letter-spacing: .02em;
}
.single-lead {
    margin: 18px 0 0;
    max-width: 760px;
    color: #41506a;
    font-size: 1.04rem;
    font-weight: 600;
}
.article-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.single-main-visual {
    margin: 28px 0 0;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef6ff, #fff1df);
    border: 1px solid var(--line);
}
.single-main-visual img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    background: #fff;
}
.article-toc-card,
.affiliate-notice-card {
    margin-top: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 8px 24px rgba(14,45,91,.05);
}
.article-toc-card h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 20px;
}
.article-toc-card ol {
    margin: 0;
    padding-left: 1.3em;
    display: grid;
    gap: 8px;
}
.article-toc-card a { color: var(--blue); font-weight: 800; }
.affiliate-notice-card {
    display: grid;
    gap: 4px;
    background: #fff8ec;
    border-color: #f7d7ad;
}
.affiliate-notice-card strong { color: #9a4a00; }
.affiliate-notice-card p { margin: 0; color: #6b4a20; font-size: 14px; }
.enhanced-article-content {
    margin-top: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 44px);
    box-shadow: 0 10px 28px rgba(14,45,91,.06);
    font-size: 1.02rem;
}
.enhanced-article-content > *:first-child { margin-top: 0; }
.enhanced-article-content p { margin: 1.15em 0; }
.enhanced-article-content h2 {
    margin-top: 2.2em;
    padding: 16px 18px;
    border-left: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--navy), #0e4e99);
    color: #fff;
    font-size: clamp(23px, 3vw, 30px);
    line-height: 1.35;
}
.enhanced-article-content h3 {
    margin-top: 1.8em;
    padding-left: 14px;
    border-left: 5px solid var(--orange);
    color: var(--navy);
    font-size: 1.35rem;
}
.enhanced-article-content a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.enhanced-article-content ul,
.enhanced-article-content ol {
    background: #f7faff;
    border: 1px solid #dde8f6;
    border-radius: 16px;
    padding: 18px 22px 18px 42px;
}
.enhanced-article-content li + li { margin-top: 6px; }
.enhanced-article-content table {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(14,45,91,.05);
}
.enhanced-article-content th {
    background: var(--navy);
    color: #fff;
    border-color: rgba(255,255,255,.16);
}
.enhanced-article-content td { background: #fff; }
.enhanced-article-content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 5px solid var(--orange);
    background: #fff8ec;
    border-radius: 14px;
    color: #4e3d2a;
    font-weight: 700;
}
.article-bottom-cta {
    margin-top: 22px;
    padding: 26px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: linear-gradient(135deg, #06244a, #0b376f);
    color: #fff;
}
.article-bottom-cta h2 { margin: 4px 0; color: #fff; font-size: 24px; }
.article-bottom-cta p { margin: 0; color: rgba(255,255,255,.78); }
.mini-label { color: #ffd391; font-size: 13px; font-weight: 900; }
.post-nav-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 18px;
}
.post-nav-card a {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    color: var(--navy);
    box-shadow: 0 8px 20px rgba(14,45,91,.05);
}
.post-nav-card div:last-child { text-align: right; }
.single-sidebar {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 92px;
}
.sidebar-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 26px rgba(14,45,91,.06);
}
.sidebar-card h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 20px;
}
.search-card .search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}
.search-card input[type="search"] {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0 12px;
}
.search-card input[type="submit"],
.search-card button[type="submit"] {
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-weight: 900;
    padding: 0 14px;
}
.sticky-toc ol {
    margin: 0;
    padding-left: 1.2em;
    display: grid;
    gap: 7px;
    font-size: 14px;
}
.sticky-toc a { color: var(--navy); font-weight: 800; }
.guide-card-blue {
    background: linear-gradient(135deg, var(--navy), #0d4f9b);
    color: #fff;
    border: 0;
}
.guide-card-blue h2 { color: #fff; }
.guide-card-blue p { color: rgba(255,255,255,.8); }
.sidebar-category-list {
    display: grid;
    gap: 8px;
}
.sidebar-category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    background: #f5f8fc;
    color: var(--navy);
    font-weight: 800;
}
.sidebar-category-list a::after { content: "›"; color: var(--orange); }
.recent-post-link {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}
.recent-post-link:first-of-type { border-top: 0; }
.recent-thumb {
    display: grid;
    place-items: center;
    width: 64px;
    height: 54px;
    overflow: hidden;
    border-radius: 10px;
    background: #eef6ff;
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-post-link strong {
    display: block;
    color: var(--navy);
    font-size: 14px;
    line-height: 1.45;
}
.recent-post-link small { color: var(--muted); font-weight: 800; }
.related-section { padding-top: 34px; }
.related-post-grid:empty::before {
    content: "関連記事はまだありません。";
    color: var(--muted);
}

@media (max-width: 1050px) {
    .single-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sticky-toc { display: none; }
}
@media (max-width: 760px) {
    .single-page { padding-top: 18px; }
    .single-layout { width: min(100% - 24px, 1180px); }
    .article-hero-card, .enhanced-article-content { border-radius: 18px; }
    .article-cta-row, .article-bottom-cta { flex-direction: column; align-items: stretch; }
    .post-nav-card, .single-sidebar { grid-template-columns: 1fr; }
    .post-nav-card div:last-child { text-align: left; }
    .single-title { font-size: 28px; }
    .enhanced-article-content h2 { font-size: 22px; }
}

/* v6: mobile layout hardening */
html, body { max-width: 100%; overflow-x: hidden; }
.content-column, .sidebar-column, .ranking-grid, .ranking-card, .category-grid, .goods-grid, .article-columns { min-width: 0; }

@media (max-width: 760px) {
    .section { padding: 30px 0 44px; }
    .section-sm { padding: 22px 0; }
    .section-title { font-size: 22px; }
    .section-heading-row { align-items: flex-start; flex-wrap: wrap; }
    .section-heading-row .view-all { margin-left: auto; }

    .hero-grid { min-height: auto; padding: 28px 0; }
    .hero-copy h1 { font-size: 29px; line-height: 1.32; }
    .hero-lead { font-size: 15px; }
    .trust-row { display: grid; grid-template-columns: 1fr; font-size: 13px; }

    .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .category-card { min-height: 104px; padding: 12px 8px; }
    .category-card strong { font-size: 13px; line-height: 1.35; }
    .category-card small { font-size: 10px; }
    .purpose-strip { gap: 8px; }
    .purpose-strip a { font-size: 12px; padding: 8px 10px; }

    .content-sidebar-grid { display: block; }
    .ranking-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
    .ranking-card { width: 100%; padding: 20px 14px 16px; overflow: hidden; }
    .device-thumb { width: min(150px, 70%); height: 108px; }
    .ranking-card h3 { font-size: 22px; word-break: keep-all; overflow-wrap: anywhere; }
    .spec-list { grid-template-columns: 1fr; }
    .spec-list div { justify-content: space-between; }

    .comparison-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .comparison-table { min-width: 620px; }

    .goods-grid { grid-template-columns: 1fr 1fr; }
    .goods-image { height: 72px; font-size: 34px; }

    .article-columns { display: grid; grid-template-columns: 1fr; gap: 28px; }
    .article-card { grid-template-columns: 86px 1fr; }
    .article-card h3 { font-size: 15px; }
    .article-card p { display: none; }

    .sidebar-column { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; position: static; }
    .dark-card, .guide-card, .latest-card { padding: 18px; }

    .newsletter-copy { align-items: flex-start; }
    .newsletter-copy h2 { font-size: 19px; }

    .brand { min-width: 0; }
    .brand-name { font-size: 19px; }
    .brand-badge { font-size: 10px; padding: 1px 7px; }
    .site-header.is-open .primary-nav { max-height: calc(100vh - 88px); overflow-y: auto; }
}

@media (max-width: 380px) {
    .container { width: min(100% - 18px, 1180px); }
    .category-grid, .goods-grid { grid-template-columns: 1fr; }
    .hero-copy h1 { font-size: 25px; }
    .btn { padding-left: 14px; padding-right: 14px; }
}

/* v1.0.7: recommended product image support */
.product-image-thumb {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 14px;
    background: linear-gradient(180deg, #f8fbff, #eef4fb);
    border-radius: 18px;
    overflow: hidden;
}
.product-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 8px;
}

@media (max-width: 767px) {
    .ranking-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        overflow: visible;
    }
    .ranking-card {
        max-width: 100%;
    }
    .product-image-thumb {
        height: 170px;
    }
}

/* v1.0.8: simplified top page and dynamic post cards */
.section-title.recommend::before { content: "⭐"; margin-right: .35em; }
.category-grid { grid-template-columns: repeat(6, 1fr); }
.recommend-grid { margin-bottom: 0; }
.recommend-card { padding-top: 24px; }
.recommend-card .device-thumb { margin-top: 4px; }
.article-thumb img {
    width: 100%;
    height: 100%;
    min-height: 118px;
    object-fit: cover;
    display: block;
}
.article-thumb-fallback {
    font-size: 12px;
    color: var(--muted);
    font-weight: 800;
}
.empty-card {
    padding: 20px;
    color: var(--muted);
    font-weight: 700;
    background: #fff;
}
.empty-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}
.mini-thumb {
    overflow: hidden;
}
.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1050px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .recommend-card { padding-left: 14px; padding-right: 14px; }
    .article-card { grid-template-columns: 112px 1fr; }
    .article-thumb { min-height: 112px; }
    .article-thumb img { min-height: 112px; }
}

@media (max-width: 420px) {
    .article-card { grid-template-columns: 96px 1fr; }
    .article-thumb { min-height: 104px; }
    .article-thumb img { min-height: 104px; }
}

/* v1.0.9: disaster checklist page and latest review fix */
.checklist-page {
    background:
        radial-gradient(circle at 10% 0%, rgba(18,102,214,.08), transparent 28%),
        linear-gradient(180deg, #f5f8fc 0%, #edf4fb 100%);
}
.checklist-hero {
    padding: 54px 0 32px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(110deg, #fff 0%, #fff 48%, #eef6ff 100%);
}
.checklist-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 28px;
    align-items: center;
}
.checklist-hero h1 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.22;
}
.checklist-hero p {
    max-width: 760px;
    color: #41506a;
    font-weight: 700;
}
.checklist-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.checklist-hero-card {
    padding: 22px;
    background: #fff8ed;
    border-color: #f1d3a4;
}
.checklist-hero-card strong {
    display: block;
    color: var(--navy);
    font-size: 20px;
    margin-bottom: 8px;
}
.checklist-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}
.checklist-main {
    display: grid;
    gap: 18px;
}
.checklist-section {
    padding: clamp(20px, 3vw, 30px);
}
.checklist-section-head {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}
.checklist-section-head > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--navy);
    color: #fff;
    font-weight: 900;
}
.checklist-section h2 {
    margin: 0 0 4px;
    color: var(--navy);
    font-size: 24px;
}
.checklist-section p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}
.check-items {
    display: grid;
    gap: 10px;
}
.check-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    align-items: start;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f8fbff;
    cursor: pointer;
    font-weight: 800;
}
.check-item input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--orange);
}
.check-item:has(input:checked) {
    background: #fff8ed;
    border-color: #f3cf9c;
}
.checklist-side {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 92px;
}
.progress-card {
    text-align: center;
}
.progress-circle {
    width: 132px;
    height: 132px;
    margin: 18px auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--orange) 0 0%, #e7eef7 0% 100%);
    position: relative;
}
.progress-circle::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: #fff;
}
.progress-circle span {
    position: relative;
    z-index: 1;
    color: var(--navy);
    font-size: 28px;
    font-weight: 900;
}
@media (max-width: 1050px) {
    .checklist-hero-inner,
    .checklist-layout { grid-template-columns: 1fr; }
    .checklist-side { position: static; }
}
@media (max-width: 760px) {
    .checklist-hero { padding: 34px 0 22px; }
    .checklist-actions { flex-direction: column; align-items: stretch; }
    .checklist-section-head { grid-template-columns: 44px 1fr; gap: 12px; }
    .checklist-section-head > span { width: 44px; height: 44px; border-radius: 13px; }
    .checklist-section h2 { font-size: 21px; }
}

/* v1.0.10: checklist progress visual states */
.progress-card {
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.progress-card h2 {
    margin-bottom: 10px;
}
.progress-circle {
    --progress: 0%;
    --progress-color: #9aa8ba;
    background: conic-gradient(var(--progress-color) 0 var(--progress), #e7eef7 var(--progress) 100%);
    transition: background .25s ease;
}
.progress-card.progress-low .progress-circle { --progress-color: #94a3b8; }
.progress-card.progress-mid .progress-circle { --progress-color: #f59e0b; }
.progress-card.progress-high .progress-circle { --progress-color: #22c55e; }
.progress-card.progress-complete .progress-circle { --progress-color: #16a34a; }
.progress-card.progress-complete {
    border-color: rgba(22, 163, 74, .28);
    box-shadow: 0 18px 45px rgba(22, 163, 74, .12);
}
.progress-card.progress-complete .progress-circle span { color: #166534; }
.progress-status-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
}
.progress-card.progress-low .progress-status-label { background: #f1f5f9; color: #475569; }
.progress-card.progress-mid .progress-status-label { background: #fff7ed; color: #c2410c; }
.progress-card.progress-high .progress-status-label,
.progress-card.progress-complete .progress-status-label { background: #ecfdf5; color: #15803d; }
.check-item {
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.check-item:has(input:checked) {
    background: #ecfdf5;
    border-color: #86efac;
}
.check-item:has(input:checked) span {
    color: #14532d;
}

@media print {
    .site-header,
    .newsletter-band,
    .site-footer,
    .checklist-actions,
    .checklist-side { display: none !important; }
    .checklist-page,
    .checklist-hero { background: #fff !important; }
    .checklist-layout,
    .checklist-hero-inner { display: block; }
    .checklist-section { box-shadow: none; page-break-inside: avoid; }
    .check-item { break-inside: avoid; }
}

/* v1.0.12: disaster goods guide page */
.guide-page {
    background:
        radial-gradient(circle at 8% 0%, rgba(245, 124, 0, .08), transparent 26%),
        linear-gradient(180deg, #f6f9fd 0%, #edf4fb 100%);
}
.guide-hero {
    padding: 54px 0 34px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(110deg, #fff 0%, #fff 50%, #eef6ff 100%);
}
.guide-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: center;
}
.guide-hero h1 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.22;
    letter-spacing: .02em;
}
.guide-hero p {
    max-width: 780px;
    color: #41506a;
    font-weight: 700;
    line-height: 1.9;
}
.guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.guide-hero-card {
    padding: 24px;
    background: #fff8ed;
    border-color: #f1d3a4;
}
.guide-hero-card strong {
    display: block;
    color: var(--navy);
    font-size: 20px;
    margin-bottom: 10px;
}
.guide-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}
.guide-main {
    display: grid;
    gap: 20px;
}
.guide-block,
.guide-cta {
    padding: clamp(20px, 3vw, 30px);
}
.guide-block-head {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}
.guide-block-head > span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--navy);
    color: #fff;
    font-weight: 900;
}
.guide-block h2,
.guide-cta h2 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 25px;
}
.guide-block-head p,
.guide-cta p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.8;
}
.guide-point-grid,
.essential-grid,
.scene-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.guide-point,
.essential-card,
.scene-card,
.family-item {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f8fbff;
}
.guide-point strong,
.family-item strong {
    display: block;
    color: var(--navy);
    font-size: 17px;
    margin-bottom: 6px;
}
.guide-point p,
.essential-card p,
.scene-card p,
.family-item p {
    margin: 0;
    color: #526174;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.75;
}
.essential-card span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
    border-radius: 16px;
    background: #fff3dc;
    font-size: 26px;
}
.essential-card h3,
.scene-card h3 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 17px;
}
.family-list {
    display: grid;
    gap: 12px;
}
.family-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 14px;
    align-items: start;
}
.guide-cta {
    background: linear-gradient(110deg, var(--navy), #0c3d78);
    color: #fff;
}
.guide-cta h2,
.guide-cta p { color: #fff; }
.guide-cta .btn-outline {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.35);
}
.guide-side {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 92px;
}
.guide-toc,
.guide-side-card {
    padding: 20px;
}
.guide-toc h2,
.guide-side-card h2 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 20px;
}
.guide-toc a,
.guide-side-card a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 12px;
    color: var(--navy);
    background: #f4f8fd;
    font-weight: 900;
    text-decoration: none;
}
.guide-toc a + a,
.guide-side-card a + a { margin-top: 8px; }
.guide-toc a::after,
.guide-side-card a::after { content: "›"; color: var(--orange); }

@media (max-width: 1050px) {
    .guide-hero-inner,
    .guide-layout { grid-template-columns: 1fr; }
    .guide-side { position: static; }
}
@media (max-width: 760px) {
    .guide-hero { padding: 34px 0 22px; }
    .guide-actions { flex-direction: column; align-items: stretch; }
    .guide-block-head { grid-template-columns: 44px 1fr; gap: 12px; }
    .guide-block-head > span { width: 44px; height: 44px; border-radius: 13px; }
    .guide-block h2,
    .guide-cta h2 { font-size: 21px; }
    .guide-point-grid,
    .essential-grid,
    .scene-grid { grid-template-columns: 1fr; }
    .family-item { grid-template-columns: 1fr; gap: 6px; }
}

/* v13: functional recommendation navigator */
.diagnosis-result {
    margin: 12px 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.10);
    color: #fff;
    font-size: .9rem;
    line-height: 1.6;
}
.diagnosis-card .tabs button {
    cursor: pointer;
}
.diagnosis-card select {
    cursor: pointer;
}

/* Legal / utility pages */
.legal-page { background:#f4f8fc; padding:56px 0 72px; }
.legal-shell { display:grid; grid-template-columns:minmax(0, 1fr) 300px; gap:28px; align-items:start; }
.legal-main { background:#fff; border:1px solid var(--border); border-radius:22px; box-shadow:var(--shadow); padding:34px; }
.legal-main h1 { margin:0 0 14px; font-size:clamp(26px,4vw,42px); color:var(--navy); line-height:1.25; }
.legal-lead { color:var(--muted); line-height:1.9; margin:0 0 24px; }
.legal-section { border-top:1px solid var(--border); padding-top:24px; margin-top:24px; }
.legal-section h2 { margin:0 0 12px; font-size:22px; color:var(--navy); }
.legal-section h3 { margin:18px 0 8px; font-size:17px; color:var(--navy); }
.legal-section p, .legal-section li { line-height:1.9; color:#31435d; }
.legal-section ul { padding-left:1.2em; }
.legal-side { display:grid; gap:14px; }
.legal-card { background:#fff; border:1px solid var(--border); border-radius:18px; padding:18px; box-shadow:var(--shadow); }
.legal-card h2, .legal-card h3 { margin:0 0 10px; color:var(--navy); font-size:18px; }
.legal-card a { display:block; padding:10px 0; color:var(--blue); font-weight:700; border-top:1px solid var(--border); }
.legal-card a:first-of-type { border-top:0; }
.sitemap-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px; }
.sitemap-box { border:1px solid var(--border); border-radius:16px; padding:18px; background:#f8fbff; }
.sitemap-box h2 { margin:0 0 12px; font-size:18px; color:var(--navy); }
.sitemap-box ul { margin:0; padding-left:1.1em; }
@media (max-width: 820px) {
  .legal-shell { grid-template-columns:1fr; }
  .legal-main { padding:24px; }
  .sitemap-grid { grid-template-columns:1fr; }
}
