/* A10ラボ 共通スタイル */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --bg:       #F2F6FA;
  --surface:  #FFFFFF;
  --surface2: #EAF0F7;
  --border:   #D0DCE8;
  --text:     #0F1E2E;
  --muted:    #5A7A98;
  --accent:   #0052C0;
  --accent2:  #00A87A;
  --danger:   #C42020;
  --gold:     #D4870A;
  --tag-new:  #E8F3FF;
  --radius:   10px;
  --ff:       'Noto Sans JP', sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg:       #0A131E;
  --surface:  #101E2E;
  --surface2: #162638;
  --border:   #22364C;
  --text:     #D2E4F6;
  --muted:    #6A96B6;
  --accent:   #4A9AFF;
  --accent2:  #2CCFA0;
  --danger:   #F06060;
  --gold:     #F5B040;
  --tag-new:  #0A2040;
}}
:root[data-theme="dark"] {
  --bg:       #0A131E;
  --surface:  #101E2E;
  --surface2: #162638;
  --border:   #22364C;
  --text:     #D2E4F6;
  --muted:    #6A96B6;
  --accent:   #4A9AFF;
  --accent2:  #2CCFA0;
  --danger:   #F06060;
  --gold:     #F5B040;
  --tag-new:  #0A2040;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--ff); font-size: 15px; line-height: 1.7; }

/* HEADER */
.site-header { background: #07182C; border-bottom: 2px solid #00A87A; padding: 0 20px; position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 32px; height: 32px; background: linear-gradient(135deg, #00A87A, #0052C0); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; font-weight: 900; }
.logo-name { color: #fff; font-size: 18px; font-weight: 900; letter-spacing: .02em; }
.logo-name span { color: #2CCFA0; }
.header-nav { display: flex; gap: 6px; }
.header-nav a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 13px; padding: 6px 12px; border-radius: 6px; transition: background .15s, color .15s; }
.header-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-btn { background: var(--accent2) !important; color: #fff !important; font-weight: 700 !important; }

/* WRAP */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* BREADCRUMB */
.breadcrumb { padding: 12px 0; font-size: 12px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ARTICLE LAYOUT */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; padding: 24px 0 60px; align-items: start; }
@media (max-width: 800px) { .article-layout { grid-template-columns: 1fr; } }

/* BaseOne-derived editorial theme: soft pink palette and balanced 2:1 layout. */
:root {
  color-scheme: light;
  --bg: #fffdfb;
  --surface: #ffffff;
  --surface2: #fbf0ee;
  --border: #eadfda;
  --text: #332b2a;
  --muted: #756b68;
  --accent: #8f5661;
  --accent2: #b76f72;
  --tag-new: #f8e9e7;
  --ff: system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;
}
body { background: var(--bg); color: var(--text); letter-spacing: .015em; }
.site-header { background: rgba(255,253,251,.96); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1160px; height: 76px; }
.logo-mark { background: linear-gradient(135deg,#d69aa0,#8f5661); border-radius: 10px; }
.logo-name { color: var(--text); font-family: "Yu Mincho","Hiragino Mincho ProN",serif; letter-spacing: .06em; }
.logo-name span { color: var(--accent); }
.header-nav { gap: 18px; }
.header-nav a { color: var(--text); padding: 7px 0; }
.header-nav a:hover { background: transparent; color: var(--accent); }
.nav-btn { background: var(--accent2) !important; color: #fff !important; padding: 7px 14px !important; border-radius: 6px; }
.hero { background: linear-gradient(115deg,#f6e9e5 0%,#fbf4ef 53%,#eef1e9 100%); padding: 76px 20px 70px; text-align: left; }
.hero::before { background: radial-gradient(ellipse,rgba(183,111,114,.12) 0%,transparent 70%); }
.hero h1 { color: var(--text); font-family: "Yu Mincho","Hiragino Mincho ProN",serif; letter-spacing: .04em; }
.hero-sub { color: #5c5250; }
.wrap { max-width: 1160px; }
.article-layout { grid-template-columns: minmax(0,2fr) minmax(270px,1fr); gap: 38px; padding-top: 42px; }
.article-main h1 { font-family: "Yu Mincho","Hiragino Mincho ProN",serif; font-weight: 500; }
.summary-box { background: var(--surface2); border-left-color: var(--accent2); }
.toc { border-radius: 12px; }
.article-body h2 { border-left-color: var(--accent2); }
.sidebar { gap: 16px; position: sticky; top: 24px; }
.widget { border-radius: 14px; box-shadow: 0 8px 24px rgba(92,59,55,.06); }
.widget-head { background: linear-gradient(145deg,#fffaf8,#f8efeb); color: var(--accent); border-bottom-color: var(--border); }
.widget-body { padding: 18px; }
.rank-item:hover,.related-item:hover { background: var(--surface2); }
.site-footer { background: #f5efeb; color: #645b57; }
.footer-logo { color: var(--text); font-family: "Yu Mincho","Hiragino Mincho ProN",serif; }
.footer-links a { color: #645b57; }

/* A10 visual refinement: water-blue palette, sans-serif typography, and a
   three-column product comparison grid on the homepage. */
:root {
  color-scheme: light;
  --bg: #f6fbfd;
  --surface: #ffffff;
  --surface2: #eaf7fb;
  --border: #cfe5ee;
  --text: #1b2b3a;
  --muted: #5f7888;
  --accent: #1479b8;
  --accent2: #16a6b5;
  --tag-new: #e4f5fa;
  --ff: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}
body, button, input, textarea, select { font-family: var(--ff); }
.logo-name, .hero h1, .article-main h1, .footer-logo {
  font-family: var(--ff);
  letter-spacing: .01em;
}
.site-header { background: #082d46; border-bottom-color: var(--accent2); }
.logo-mark { background: linear-gradient(135deg, #17b5c2, #1479b8); }
.logo-name { color: #fff; }
.logo-name span { color: #76e0e5; }
.header-nav a { color: rgba(255,255,255,.82); }
.header-nav a:hover { color: #fff; }
.nav-btn { background: var(--accent2) !important; }
.hero { background: linear-gradient(115deg, #e3f5fa 0%, #f7fcfd 58%, #eaf6f7 100%); }
.hero h1 { color: var(--text); }
.hero-sub { color: #4f6878; }
.summary-box { background: var(--surface2); }
.widget-head { background: linear-gradient(145deg, #f4fcfe, #e7f5f8); color: var(--accent); }
.site-footer { background: #eaf5f8; color: #4f6878; }
.footer-logo { color: var(--text); }
.footer-links a { color: #4f6878; }

/* Keep the article/sidebar ratio while making the home product area distinct. */
.products-strip { background: var(--surface); padding: 28px 0 34px; }
.products-strip .wrap { display: block; overflow: visible; }
.products-strip-title { color: var(--text); font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.products-strip-title::before { content: ''; display: inline-block; width: 4px; height: 20px; margin-right: 9px; vertical-align: -3px; border-radius: 2px; background: var(--accent); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.product-grid .prod-chip { min-width: 0; min-height: 72px; flex: initial; display: flex; flex-wrap: wrap; align-content: center; background: linear-gradient(145deg, #fff, #f0f9fb); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; box-shadow: 0 5px 16px rgba(20,121,184,.07); white-space: normal; transition: transform .15s, border-color .15s, box-shadow .15s; }
.product-grid .prod-chip:hover { transform: translateY(-2px); border-color: var(--accent2); box-shadow: 0 9px 22px rgba(20,121,184,.14); }
.product-grid .prod-chip > span:first-child { font-size: 20px; }
.product-grid .prod-chip .badge { margin-left: auto; }
.btn-primary { background: var(--accent2) !important; color: #fff !important; }
.btn-secondary { background: rgba(255,255,255,.72) !important; border: 1px solid var(--accent) !important; color: var(--accent) !important; }
.btn-secondary:hover { background: var(--surface) !important; color: var(--accent) !important; }
@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } }

/* ARTICLE MAIN */
.article-main h1 { font-size: clamp(20px,4vw,30px); font-weight: 900; line-height: 1.35; margin-bottom: 12px; text-wrap: balance; }
.article-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; font-size: 12px; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 4px; }
.tag.review { background: #EEF4FF; color: #0052C0; }
.tag.howto  { background: #EEF9F4; color: #007A55; }
.tag.compare{ background: #FFF6EE; color: #B06010; }
.tag.hole   { background: #F5EEFF; color: #6030A0; }
.tag.ranking{ background: #FFF3EE; color: #C04010; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.review { background: #0A1840; color: #4A9AFF; } }

.summary-box { background: var(--surface2); border-left: 4px solid var(--accent2); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; margin-bottom: 28px; }
.summary-box p { font-size: 14px; margin-bottom: 6px; }
.summary-box p:last-child { margin-bottom: 0; }
.summary-box strong { color: var(--accent2); }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 28px; }
.toc-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--muted); }
.toc ol { padding-left: 20px; }
.toc li { font-size: 13px; margin-bottom: 4px; }
.toc a { color: var(--accent); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.article-body h2 { font-size: 20px; font-weight: 900; border-left: 4px solid var(--accent2); padding-left: 14px; margin: 36px 0 14px; }
.article-body h3 { font-size: 16px; font-weight: 700; margin: 24px 0 10px; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol { margin: 0 0 16px 24px; }
.article-body li { margin-bottom: 6px; }

.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.spec-table th, .spec-table td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { background: var(--surface2); font-weight: 700; width: 36%; }
.spec-table td { background: var(--surface); }

.compare-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 13px; }
.compare-table th, .compare-table td { padding: 10px 12px; border: 1px solid var(--border); text-align: center; }
.compare-table th { background: var(--surface2); font-weight: 700; }
.compare-table td:first-child { text-align: left; font-weight: 500; }
.compare-table .highlight { background: #EEF9F4; color: #006040; font-weight: 700; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .compare-table .highlight { background: #0A2820; color: #2CCFA0; } }

.point-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.point-box.good { border-color: var(--accent2); }
.point-box.bad  { border-color: var(--danger); }
.point-box .pb-head { font-size: 13px; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.point-box.good .pb-head { color: var(--accent2); }
.point-box.bad  .pb-head { color: var(--danger); }
.point-box ul { margin-left: 18px; }
.point-box li { font-size: 14px; margin-bottom: 5px; }

.rating-row { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; font-size: 14px; }
.rating-label { width: 120px; flex-shrink: 0; }
.rating-bar { flex: 1; height: 10px; background: var(--surface2); border-radius: 5px; overflow: hidden; }
.rating-fill { height: 100%; background: linear-gradient(90deg, var(--accent2), var(--accent)); border-radius: 5px; }
.rating-val { width: 36px; text-align: right; font-weight: 700; font-size: 13px; color: var(--accent2); }

.nls-cta-inline { background: linear-gradient(135deg, #071828, #0C2840); border-radius: var(--radius); padding: 22px; margin: 28px 0; text-align: center; }
.nls-cta-inline .cta-name { color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 4px; }
.nls-cta-inline .cta-price { color: #fff; font-size: 24px; font-weight: 900; margin-bottom: 14px; }
.nls-cta-inline .cta-price span { font-size: 14px; color: rgba(255,255,255,.5); }
.nls-btn { display: inline-block; background: #00A87A; color: #fff; font-size: 15px; font-weight: 700; padding: 13px 30px; border-radius: 8px; text-decoration: none; transition: opacity .15s; }
.nls-btn:hover { opacity: .88; }
.nls-note { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 8px; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.widget-head { background: var(--surface2); padding: 12px 16px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--border); }
.widget-body { padding: 16px; }
.nls-widget { border-color: var(--accent2); }
.nls-widget .widget-head { background: #071828; color: #fff; }
.nls-logo { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.6); background: #071828; text-align: center; padding: 12px; }
.nls-price { font-size: 24px; font-weight: 900; color: var(--accent2); text-align: center; padding: 8px 0 4px; }
.nls-price span { font-size: 13px; color: var(--muted); }
.nls-widget .nls-btn { display: block; text-align: center; margin-top: 10px; padding: 12px; }
.nls-widget .nls-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 8px; }

.rank-list { display: flex; flex-direction: column; gap: 8px; }
.rank-item { display: flex; align-items: flex-start; gap: 10px; text-decoration: none; color: var(--text); font-size: 13px; padding: 8px; border-radius: 6px; transition: background .15s; }
.rank-item:hover { background: var(--surface2); }
.rank-num { font-size: 14px; font-weight: 900; flex-shrink: 0; margin-top: 1px; }
.r1 { color: var(--gold); }
.r2 { color: var(--muted); }
.r3 { color: #A07050; }

.related-list { display: flex; flex-direction: column; gap: 8px; }
.related-item { display: flex; gap: 12px; text-decoration: none; color: var(--text); padding: 8px; border-radius: 6px; transition: background .15s; }
.related-item:hover { background: var(--surface2); }
.related-thumb { font-size: 24px; flex-shrink: 0; }
.related-title { font-size: 13px; font-weight: 500; line-height: 1.4; }
.related-tag { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* FOOTER */
.site-footer { background: #07182C; color: rgba(255,255,255,.5); text-align: center; padding: 40px 20px; font-size: 13px; }
.footer-logo { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 14px; }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* AGE GATE */
#age-gate { position: fixed; inset: 0; background: #000; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.age-gate-box { background: #07182C; border: 1px solid #22364C; border-radius: 16px; padding: 40px 32px; text-align: center; max-width: 360px; width: 90%; }
.age-gate-icon { font-size: 48px; margin-bottom: 12px; }
.age-gate-title { color: #fff; font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.age-gate-sub { color: rgba(255,255,255,.5); font-size: 13px; margin-bottom: 24px; line-height: 1.6; }
.age-yes { background: #00A87A; color: #fff; border: none; border-radius: 8px; padding: 14px 32px; font-size: 15px; font-weight: 700; cursor: pointer; width: 100%; margin-bottom: 10px; font-family: inherit; }
.age-no { background: transparent; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.5); border-radius: 8px; padding: 10px 32px; font-size: 14px; cursor: pointer; width: 100%; font-family: inherit; }
