/* オナホール研究所 共通スタイル */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
  --bg:       #F8F3EE;
  --surface:  #FFFFFF;
  --surface2: #F0E8DC;
  --border:   #D8CCB8;
  --text:     #1A120A;
  --muted:    #6A5040;
  --accent:   #B34A08;
  --accent2:  #0A7850;
  --danger:   #C02020;
  --gold:     #C07008;
  --tag-new:  #FFF3E0;
  --radius:   10px;
  --ff:       'Noto Sans JP', sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg:       #0E0804;
  --surface:  #180E08;
  --surface2: #221408;
  --border:   #362010;
  --text:     #F0E0C8;
  --muted:    #A07058;
  --accent:   #E07020;
  --accent2:  #20C880;
  --danger:   #F06060;
  --gold:     #E0A030;
  --tag-new:  #2A1400;
}}
:root[data-theme="dark"] {
  --bg:       #0E0804;
  --surface:  #180E08;
  --surface2: #221408;
  --border:   #362010;
  --text:     #F0E0C8;
  --muted:    #A07058;
  --accent:   #E07020;
  --accent2:  #20C880;
  --danger:   #F06060;
  --gold:     #E0A030;
  --tag-new:  #2A1400;
}
*, *::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: #0A0504; border-bottom: 2px solid #C85010; 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, #C85010, #E07030); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; font-weight: 900; }
.logo-name { color: #fff; font-size: 18px; font-weight: 900; letter-spacing: .02em; }
.logo-name span { color: #E07030; }
.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: #C85010 !important; color: #fff !important; font-weight: 700 !important; }
@media (max-width: 600px) { .header-nav { display: none; } }

/* 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 280px; 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,28px); 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.ranking { background: #FFF0E0; color: #B34A08; }
.tag.guide   { background: #E8F5EE; color: #0A7850; }
.tag.compare { background: #FFF0E0; color: #B34A08; }
.tag.care    { background: #F5EEF8; color: #6030A0; }

/* H2 / H3 */
.article-main h2 { font-size: 20px; font-weight: 900; margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); position: relative; }
.article-main h2::before { content: ''; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: var(--accent); }
.article-main h3 { font-size: 16px; font-weight: 700; margin: 24px 0 10px; padding-left: 12px; border-left: 3px solid var(--accent); }
.article-main p { margin-bottom: 14px; }
.article-main ul, .article-main ol { padding-left: 24px; margin-bottom: 14px; }
.article-main li { margin-bottom: 6px; }
.article-main a { color: var(--accent); text-decoration: none; }
.article-main a:hover { text-decoration: underline; }

/* TOC */
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 28px; }
.toc-title { font-weight: 700; font-size: 14px; margin-bottom: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.toc ol { counter-reset: toc; list-style: none; padding: 0; }
.toc li { counter-increment: toc; padding: 5px 0; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.toc li:last-child { border-bottom: none; }
.toc li::before { content: counter(toc); min-width: 18px; font-weight: 700; color: var(--accent); font-size: 12px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* POINT BOX */
.point-box { background: var(--surface); border-radius: var(--radius); padding: 16px 20px; margin: 16px 0; border-left: 4px solid var(--accent2); }
.point-box.bad { border-left-color: var(--danger); }
.point-box.good { border-left-color: var(--accent2); }
.point-box.warn { border-left-color: var(--gold); }
.point-box.info { border-left-color: var(--accent); }
.point-box p { margin: 0; }
.point-box-title { font-weight: 700; font-size: 14px; margin-bottom: 8px; }

/* RANK CARD */
.rank-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 0 0 20px; display: flex; gap: 16px; align-items: flex-start; position: relative; overflow: hidden; }
.rank-card:hover { border-color: var(--accent); }
.rank-left { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.rank-img { width: 90px; height: 90px; object-fit: contain; display: block; }
.rank-badge { font-size: 11px; font-weight: 900; background: var(--surface2); border-radius: 6px; padding: 4px 10px; min-width: 70px; text-align: center; flex-shrink: 0; }
.rank-badge.r1 { background: #D4AF10; color: #fff; }
.rank-badge.r2 { background: #8A9EA8; color: #fff; }
.rank-badge.r3 { background: #A06030; color: #fff; }
.rank-body { flex: 1; }
.rank-name { font-weight: 900; font-size: 16px; margin-bottom: 6px; }
.rank-price { font-size: 13px; color: var(--danger); font-weight: 700; margin-bottom: 8px; }
.rank-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.rank-tag { font-size: 11px; background: var(--tag-new); color: var(--accent); border-radius: 4px; padding: 2px 8px; font-weight: 700; }
.rank-desc { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.rank-btn { display: inline-block; background: var(--accent); color: #fff !important; border-radius: 6px; padding: 8px 18px; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.rank-btn:hover { opacity: .85; }

/* COMPARE TABLE */
.compare-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; overflow-x: auto; }
.compare-table th, .compare-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: center; }
.compare-table th { background: var(--surface2); font-weight: 700; font-size: 13px; }
.compare-table td.label { text-align: left; font-weight: 500; }
.compare-table .good { color: var(--accent2); font-weight: 700; }
.compare-table .bad  { color: var(--danger); }
.table-wrap { overflow-x: auto; margin: 16px 0; }

/* CTA */
.cta-box { background: linear-gradient(135deg, #1A0A04, #2A1408); color: #fff; border-radius: var(--radius); padding: 28px 24px; margin: 32px 0; text-align: center; }
.cta-box h3 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.cta-box p { font-size: 14px; opacity: .8; margin-bottom: 18px; }
.cta-btn { display: inline-block; background: #C85010; color: #fff !important; border-radius: 8px; padding: 14px 32px; font-size: 16px; font-weight: 900; text-decoration: none !important; letter-spacing: .04em; }
.cta-btn:hover { background: #E06020; }
.cta-note { font-size: 11px; opacity: .6; margin-top: 10px; }

/* SIDEBAR */
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.sidebar-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card li { font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card a { color: var(--accent); text-decoration: none; }
.sidebar-card a:hover { text-decoration: underline; }
.sidebar-card .badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 3px; background: var(--tag-new); color: var(--accent); margin-left: 4px; }

/* HERO */
.hero { background: linear-gradient(160deg, #1A0A04 0%, #2A1208 100%); color: #fff; padding: 40px 20px 36px; text-align: center; }
.hero-kw { font-size: 11px; font-weight: 700; color: #E07030; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.hero h1 { font-size: clamp(22px,5vw,36px); font-weight: 900; line-height: 1.3; margin-bottom: 12px; text-wrap: balance; }
.hero p { font-size: 15px; opacity: .8; max-width: 640px; margin: 0 auto 20px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-btn { display: inline-block; background: #C85010; color: #fff; border-radius: 8px; padding: 12px 24px; font-size: 14px; font-weight: 700; text-decoration: none; }
.hero-btn.sub { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); }
.hero-btn:hover { opacity: .85; text-decoration: none; }

/* STEP LIST */
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 14px 16px 14px 52px; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; }
.steps li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; }
.steps li strong { display: block; font-weight: 700; margin-bottom: 4px; }

/* CHECK LIST */
.check-list { list-style: none; padding: 0; }
.check-list li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--border); font-size: 14px; }
.check-list li:last-child { border-bottom: none; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent2); font-weight: 900; font-size: 16px; }

/* FOOTER */
.site-footer { background: #0A0504; color: rgba(255,255,255,.6); padding: 32px 20px; margin-top: 60px; }
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 11px; opacity: .4; }

/* AGE GATE */
#age-gate { position: fixed; inset: 0; background: #0A0504; display: flex; align-items: center; justify-content: center; z-index: 9999; }
.age-gate-box { background: #1A0A08; border: 1px solid #C85010; border-radius: 12px; padding: 40px 32px; max-width: 460px; width: 90%; text-align: center; }
.age-gate-box h2 { color: #fff; font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.age-gate-box p { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 28px; line-height: 1.7; }
.age-gate-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.age-gate-btns .yes { background: #C85010; color: #fff; border: none; border-radius: 8px; padding: 14px 32px; font-size: 16px; font-weight: 900; cursor: pointer; font-family: var(--ff); }
.age-gate-btns .no  { background: transparent; color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 14px 24px; font-size: 14px; cursor: pointer; font-family: var(--ff); }
.age-gate-btns .yes:hover { background: #E06020; }
.age-gate-btns .no:hover  { color: rgba(255,255,255,.8); }

/* UTIL */
.hidden { display: none !important; }
.text-muted { color: var(--muted); font-size: 13px; }
.mt-0 { margin-top: 0; }
.notice { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; font-size: 14px; color: var(--muted); margin: 16px 0; }

/* 全記事一覧（トップ） */
.all-h { font-size: 15px; font-weight: 900; margin: 22px 0 6px; color: var(--accent); }
.all-list { margin: 0 0 8px; padding-left: 1.2em; font-size: 14px; line-height: 1.9; }
.all-list a { color: var(--text); }

/* BaseOne派生テーマ: 全ページ共通の移行プレビュー */
:root { --bg:#fffafb; --surface:#fffdfd; --surface2:#fff0f4; --border:#ead7de; --text:#2d1b23; --muted:#755f68; --accent:#a54868; --accent2:#7f304d; --tag-new:#f9e9ee; --radius:8px; }
body { background:var(--bg); color:var(--text); font-family:Arial,'Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,sans-serif; }
.site-header { background:#fffdfd; border-bottom:1px solid var(--border); box-shadow:0 6px 18px rgba(122,44,73,.08); }
.header-inner { max-width:1200px; height:68px; }
.logo-mark { background:linear-gradient(135deg,#a54868,#d28aa1); }
.logo-name { color:var(--accent); }
.logo-name span { color:#d28aa1; }
.header-nav a { color:var(--muted); }
.nav-btn { background:var(--accent)!important; }
.wrap { max-width:1200px; }
.article-layout { grid-template-columns:minmax(0,2fr) minmax(220px,1fr); gap:2rem; padding-top:30px; }
.article-main h1 { font-size:clamp(26px,4vw,42px); color:var(--text); }
.article-main h2 { border-bottom-color:var(--border); }
.article-main h2::before { background:var(--accent); }
.article-main h3 { border-left-color:var(--accent); }
.article-main a, .breadcrumb a, .sidebar-card a { color:var(--accent); }
.toc, .rank-card, .point-box, .steps li, .sidebar-card { background:var(--surface); border-color:var(--border); box-shadow:0 8px 24px rgba(122,44,73,.06); }
.toc li { border-bottom-color:var(--border); }
.hero { background:linear-gradient(135deg,#fbe9ef,#fffafb); color:var(--text); padding:78px 20px 70px; }
.hero-kw { color:var(--accent); }
.hero h1 { color:var(--text); }
.hero p { color:var(--muted); opacity:1; }
.hero-btn, .rank-btn, .cta-btn { background:var(--accent); }
.hero-btn.sub { color:var(--accent); border-color:var(--accent); background:transparent; }
.compare-table th { background:var(--surface2); }
.compare-table th, .compare-table td { border-color:var(--border); }
.site-footer { background:#351d28; margin-top:64px; }
.sidebar-card { position:relative; }
.sidebar-ad { margin-top:20px; text-align:center; }
.sidebar-ad a { display:block; border:1px solid var(--border); border-radius:8px; overflow:hidden; background:var(--surface); box-shadow:0 8px 24px rgba(122,44,73,.06); }
.sidebar-ad img { display:block; width:100%; max-width:300px; height:auto; margin:0 auto; }
@media (max-width:800px) { .article-layout { grid-template-columns:1fr; } .hero { padding:52px 20px 46px; } }
