/* 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; } }

/* 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; }
