/* =========================================================================
   BUZZ COSME TIMES 共通スタイル（エディトリアル／ファッション誌）
   各ページの <head> で読み込む:
   <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,700;1,6..96,500&family=Shippori+Mincho:wght@600;800&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap">
   <link rel="stylesheet" href="/assets/css/style.css">
   設計方針：チローム（マストヘッド／赤バナー／フッター）はエディトリアル全開。
   記事本文は「落ち着かせる」── 可読性優先、比較表は白カード、装飾は最小限。
   ========================================================================= */

:root {
  --sheet: #FDFBF8;
  --paper: #EFE9E4;
  --ink: #211C1D;
  --ink-2: #6E6360;
  --ink-3: #9A8E8A;
  --hair: #DED5CE;
  --hair-2: #EDE6DF;
  --magenta: #E11363;
  --pink: #EC4E86;
  --pink-soft: #FBDDE8;
  --red: #D71A48;
  --ok: #2E7D6B;
  --ok-soft: #DDEEE9;

  --f-serif: "Bodoni Moda", "Times New Roman", "Noto Serif", serif;
  --f-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --wrap: 940px;
  --readw: 860px;
  --r: 3px;
}

:root[data-theme="dark"] {
  --sheet:#1E1A1B; --paper:#161213; --ink:#F1E9E7; --ink-2:#B4A7A3; --ink-3:#877B77;
  --hair:#3A3132; --hair-2:#2C2425; --pink-soft:#3A2531; --ok-soft:#22322E;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 15px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.mock {
  font-family: var(--f-body); font-size: 11.5px; letter-spacing: .02em;
  text-align: center; color: var(--ink-2); background: var(--paper); padding: 7px 12px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; font-family: var(--f-jp); font-weight: 800; font-size: 13px;
  padding: 12px 26px; background: var(--red); color: #fff; border: none; border-radius: var(--r);
  cursor: pointer; text-align: center; letter-spacing: .02em;
}
.btn:hover { background: var(--magenta); }
.btn-ghost {
  display: inline-block; font-family: var(--f-serif); font-style: italic; font-size: 12px;
  padding: 9px 18px; border: 1px solid var(--ink); color: var(--ink); background: var(--sheet); border-radius: var(--r);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* ---------- マストヘッド ---------- */
.masthead { background: var(--sheet); color: var(--ink); font-size: 11px; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--hair-2); }
.masthead .in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 16px; min-height: 66px; padding: 8px 20px; }
.m-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); flex: 0 0 auto; }
.m-logo .logo-mark { width: 38px; height: 32px; fill: #ef3f7d; flex: 0 0 auto; }
.m-logo .logo-copy { display: flex; flex-direction: column; line-height: 1.05; }
.m-logo .logo-copy b { font-family: var(--f-body); font-size: 1.08rem; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; color: var(--ink); }
.m-logo .logo-copy em { color: #ef3f7d; font-style: normal; }
.m-logo .logo-copy small { font-family: var(--f-body); font-size: 8.5px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); margin-top: 4px; }
.masthead nav { display: flex; gap: 15px; flex-wrap: wrap; }
.masthead nav a { color: var(--ink); opacity: .78; }
.masthead nav a:hover { opacity: 1; color: var(--pink); }
.m-tools { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.burger { display: none; background: none; border: none; color: var(--ink); cursor: pointer; padding: 4px; }

.subnav { background: #201c1c; color: #fff; font-size: 11.5px; border-bottom: 2px solid var(--red); }
.subnav .in { max-width: var(--wrap); margin: 0 auto; display: flex; gap: 18px; padding: 8px 20px; flex-wrap: wrap; }
.subnav a { color: #fff; opacity: .78; }
.subnav a:hover { opacity: 1; color: var(--pink); }

/* ---------- 赤いセクションバナー（再利用） ---------- */
.banner {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--red); color: #fff; font-family: var(--f-jp); font-weight: 800;
  font-size: 1.02rem; padding: 8px 24px 8px 18px; margin: 40px 0 20px;
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); letter-spacing: .01em;
}
.banner::before { content: "\2665"; font-size: .85em; }
.banner.sm { font-size: .92rem; }

/* ---------- must have タグ（再利用） ---------- */
.musthave {
  display: inline-flex; align-items: center; gap: 6px; margin: 6px 8px 0 0;
  font-family: var(--f-serif); font-style: italic; font-size: 11px;
  border: 1px solid var(--red); color: var(--red); padding: 3px 9px;
}
.musthave i { width: 12px; height: 12px; background: var(--pink-soft); display: block; }

/* ---------- more» リンク（再利用） ---------- */
.more { display: inline-block; margin-top: 8px; font-size: 11px; letter-spacing: .06em; color: var(--red); }
.more::after { content: " \00BB"; }

/* ---------- スプラッシュ（余白にうっすら） ---------- */
.splash { position: absolute; z-index: 0; pointer-events: none; opacity: .9; }
.splash path, .splash circle { fill: var(--magenta); }
.splash .p2 { fill: var(--pink); }

/* =========================================================================
   フッター
   ========================================================================= */
.partners { max-width: var(--wrap); margin: 44px auto 0; padding: 16px 20px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--hair); font-size: 11px; }
.partners .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 7px; }
.partners .row:last-child { margin-bottom: 0; }
.partners .row b { font-family: var(--f-jp); font-weight: 800; white-space: nowrap; }
.partners .row .p { border: 1px solid var(--hair); background: var(--paper); color: var(--ink-2); padding: 3px 11px; }

footer.site { max-width: var(--wrap); margin: 0 auto; padding: 26px 20px 44px; }
footer.site .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 26px; font-size: 12.5px; }
footer.site h4 { font-family: var(--f-serif); font-style: italic; font-size: 12px; color: var(--red); margin: 0 0 10px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
footer.site ul a { color: var(--ink-2); }
footer.site ul a:hover { color: var(--red); }
footer.site .brand .name, footer.site .brand .mark { font-family: var(--f-serif); font-weight: 700; letter-spacing: .12em; font-size: 1rem; }
footer.site .brand .dot { display: none; }
footer.site .footer-logo { width: max-content; }
footer.site .footer-logo .logo-copy b { font-size: 1rem; }
footer.site .about { font-size: 12px; color: var(--ink-3); margin: 10px 0 0; line-height: 1.7; }
.legal { max-width: var(--wrap); margin: 0 auto; padding: 16px 20px 40px; font-size: 10.5px; color: var(--ink-3); line-height: 1.85; }
footer.site .legal { padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--hair-2); }

/* =========================================================================
   記事ページ ── .article-wrap 自体を「雑誌の紙」に
   ========================================================================= */
.article-wrap {
  max-width: var(--readw); margin: 24px auto 36px; position: relative;
  background: var(--sheet); box-shadow: 0 24px 60px -22px rgba(0,0,0,.26);
  padding: 40px clamp(20px, 6vw, 76px) 60px;
}
.article-wrap::after {
  content: ""; position: absolute; top: 0; right: 0; width: 56px; height: 56px;
  background: linear-gradient(225deg, var(--paper) 0 46%, rgba(0,0,0,.14) 47%, transparent 62%);
  border-bottom-left-radius: 8px;
}

.pr-banner {
  max-width: var(--readw); margin: 0 auto; padding: 8px clamp(20px, 6vw, 76px);
  font-family: var(--f-serif); font-style: italic; font-size: 11px; color: var(--ink-3);
}

.breadcrumb { font-family: var(--f-serif); font-style: italic; font-size: 11px; color: var(--ink-3); margin: 0 0 16px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 6px; }

.article-header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); }
.article-header .cat {
  font-family: var(--f-jp); font-weight: 800; font-size: 11px; letter-spacing: .06em;
  background: var(--red); color: #fff; padding: 3px 10px;
}
.article-header h1 {
  font-family: var(--f-jp); font-weight: 800; font-size: clamp(1.6rem, 4.6vw, 2.3rem);
  line-height: 1.55; letter-spacing: .01em; text-wrap: balance; margin: 14px 0 14px;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 5px 16px; font-family: var(--f-serif); font-style: italic; font-size: 11.5px; color: var(--ink-3); }
.article-meta .sup { color: var(--ok); font-style: normal; }
.article-meta .sup::before { content: "\2713 "; }

.article-body { font-size: 16px; line-height: 2; }
.article-body > p { margin: 0 0 22px; }
.article-body h2 {
  font-family: var(--f-jp); font-weight: 800; font-size: 1.42rem; line-height: 1.5;
  letter-spacing: .01em; margin: 54px 0 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--ink); display: flex; align-items: baseline; gap: 10px;
}
.article-body h2::before { content: ""; width: 12px; height: 12px; background: var(--red); flex-shrink: 0; align-self: center; }
.article-body h3 { font-family: var(--f-jp); font-weight: 800; font-size: 1.15rem; margin: 34px 0 12px; color: var(--red); }
.article-body h4 { font-weight: 700; font-size: 1rem; margin: 24px 0 10px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 1.3em; }
.article-body li { margin-bottom: 9px; }
.article-body li::marker { color: var(--red); }
.article-body strong { font-weight: 700; box-shadow: inset 0 -8px 0 var(--pink-soft); }
.article-body a { color: var(--red); border-bottom: 1px solid var(--pink-soft); }
.article-body a:hover { border-bottom-color: var(--red); }
.article-body img { margin: 10px 0; }
.article-body figure { margin: 22px 0; }
.article-body figcaption { font-family: var(--f-serif); font-style: italic; font-size: 12px; color: var(--ink-3); margin-top: 6px; text-align: center; }

.note {
  background: var(--sheet); border: 1px solid var(--ink); border-left: 3px solid var(--red);
  padding: 16px 20px; margin: 24px 0; font-size: 14.5px;
}
.note p:last-child { margin-bottom: 0; }
.note .note-h { font-family: var(--f-jp); font-weight: 800; display: block; margin-bottom: 5px; color: var(--red); }

.thumb-hero { aspect-ratio: 16 / 9; background: var(--pink-soft); margin-bottom: 26px; position: relative; }
.thumb-hero::after { content: "アイキャッチ画像"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-serif); font-style: italic; font-size: 12px; color: var(--ink-3); }

.keypoints { border: 1px solid var(--ink); padding: 20px 24px; margin: 0 0 28px; }
.keypoints .k { font-family: var(--f-serif); font-style: italic; font-size: 12px; letter-spacing: .04em; color: var(--red); }
.keypoints ul { margin: 12px 0 0; padding-left: 1.2em; }
.keypoints li { margin-bottom: 7px; font-size: 14.5px; }
.keypoints li::marker { color: var(--red); }

.toc { border: 1px solid var(--hair); padding: 18px 22px; margin: 0 0 34px; }
.toc .k { font-family: var(--f-serif); font-style: italic; font-size: 12px; color: var(--ink-3); }
.toc ol { margin: 10px 0 0; padding-left: 1.5em; }
.toc li { margin-bottom: 6px; font-size: 13.5px; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--red); }

/* CTA（アフィリ誘導）── はっきり目立たせる */
.cta { border: 2px solid var(--red); padding: 22px 24px; margin: 36px 0; }
.cta .prlab { display: inline-block; font-family: var(--f-jp); font-weight: 800; font-size: 10px; letter-spacing: .08em; background: var(--red); color: #fff; padding: 3px 10px; }
.cta h4 { font-family: var(--f-jp); font-weight: 800; font-size: 1.12rem; margin: 10px 0 6px; line-height: 1.5; }
.cta p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 12px; }

/* 比較表 ── 判断コンテンツ。装飾せず、読みやすさ最優先 */
.table-scroll { overflow-x: auto; margin: 24px 0; border: 1px solid var(--ink); }
table.compare { border-collapse: collapse; width: 100%; font-size: 13px; min-width: 560px; }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--paper); font-family: var(--f-jp); font-weight: 800; font-size: 12px; border-bottom: 2px solid var(--ink); }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody tr:hover { background: var(--hair-2); }
table.compare .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.compare .shops { display: flex; gap: 6px; }
table.compare .shops a { font-family: var(--f-serif); font-style: italic; font-size: 11px; padding: 5px 11px; border: 1px solid var(--ink); color: var(--ink); white-space: nowrap; }
table.compare .shops a:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* 個別レビュー */
.review { border: 1px solid var(--ink); margin: 24px 0; background: var(--sheet); }
.review .r-head { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 18px; }
.review .r-img { aspect-ratio: 1 / 1; background: var(--pink-soft); }
.review .r-rank { font-family: var(--f-serif); font-style: italic; font-size: 13px; color: var(--red); }
.review .r-name { font-family: var(--f-jp); font-weight: 800; font-size: 1.12rem; margin: 4px 0 8px; line-height: 1.5; }
.review .r-spec { font-size: 12.5px; color: var(--ink-2); }
.review .r-spec span { display: inline-block; margin: 0 10px 4px 0; }
.review .r-body { padding: 0 18px 18px; font-size: 14px; }
.review .r-body dt { font-family: var(--f-jp); font-weight: 800; font-size: 12.5px; color: var(--red); margin-top: 12px; }
.review .r-body dd { margin: 4px 0 0; }
.review .r-shops { display: flex; gap: 8px; padding: 0 18px 18px; }
.review .r-shops a { flex: 1; text-align: center; font-family: var(--f-jp); font-weight: 800; font-size: 12px; padding: 11px; border: 1px solid var(--ink); color: var(--ink); }
.review .r-shops a:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* FAQ ── ELLE風の大きな Q */
.faq { margin: 30px 0; }
.faq details { border-bottom: 1px solid var(--hair); padding: 16px 0; }
.faq summary { font-family: var(--f-jp); font-weight: 800; cursor: pointer; font-size: 14.5px; list-style: none; display: flex; gap: 12px; align-items: baseline; }
.faq summary::before { content: "Q."; font-family: var(--f-serif); font-style: italic; font-weight: 700; font-size: 1.5em; color: var(--red); }
.faq summary::-webkit-details-marker { display: none; }
.faq details > p { margin: 12px 0 0 30px; font-size: 14px; color: var(--ink-2); }
.faq details > p::before { content: "A. "; font-family: var(--f-serif); font-style: italic; font-weight: 700; color: var(--ink); }

/* 監修 / 著者 */
.supervisor-note, .author-box { border: 1px solid var(--ink); padding: 20px 22px; margin: 30px 0; display: flex; gap: 16px; }
.supervisor-note .av, .author-box .av { width: 48px; height: 48px; border-radius: 50%; background: var(--pink-soft); flex-shrink: 0; }
.supervisor-note .k, .author-box .k { font-family: var(--f-serif); font-style: italic; font-size: 11px; color: var(--red); }
.supervisor-note b, .author-box b { font-family: var(--f-serif); font-style: italic; font-size: 1.05rem; display: block; margin: 4px 0 2px; }
.supervisor-note .role, .author-box .role { font-size: 12px; color: var(--ink-3); }
.supervisor-note p, .author-box p { font-size: 13.5px; color: var(--ink-2); margin: 8px 0 0; }

/* 関連記事 */
.related { margin: 36px 0; }
.related .k { font-family: var(--f-serif); font-style: italic; font-size: 12px; color: var(--ink-3); }
.related ul { list-style: none; margin: 12px 0 0; padding: 0; }
.related li { border-bottom: 1px solid var(--hair); }
.related a { display: block; padding: 13px 0; font-size: 14px; }
.related a::before { content: "\2014  "; color: var(--red); }
.related a:hover { color: var(--red); }

.disclosure { font-family: var(--f-body); font-size: 11px; color: var(--ink-3); line-height: 1.85; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hair); }

a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--red); outline-offset: 3px;
}

/* =========================================================================
   モバイル（スマホ流入前提）
   ========================================================================= */
@media (max-width: 820px) {
  .masthead nav, .subnav .in a:nth-child(n+4) { display: none; }
  .burger { display: block; margin-left: auto; }
  .masthead.open .in { flex-wrap: wrap; }
  .masthead.open nav { display: flex; flex-direction: column; gap: 0; width: 100%; order: 5; margin-top: 6px; border-top: 1px solid #333; }
  .masthead.open nav a { padding: 12px 2px; border-bottom: 1px solid #2a2626; opacity: .95; font-size: 14px; }

  .article-wrap { padding: 32px 18px 44px; margin: 12px auto 24px; }
  .pr-banner { padding: 8px 18px; }
  .article-body { font-size: 15.5px; line-height: 1.95; }
  .article-body h2 { font-size: 1.24rem; margin: 42px 0 16px; }
  .article-body h3 { font-size: 1.08rem; }
  .keypoints, .note, .cta, .toc { padding: 16px 18px; }
  .breadcrumb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* 比較表 → カード型 */
  .table-scroll { border: none; overflow: visible; }
  table.compare { min-width: 0; font-size: 13.5px; }
  table.compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.compare tbody tr { display: block; border: 1px solid var(--ink); padding: 4px 14px; margin-bottom: 12px; background: var(--sheet); }
  table.compare tbody tr:hover { background: var(--sheet); }
  table.compare td { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--hair); text-align: right; }
  table.compare tr td:last-child { border-bottom: none; }
  table.compare td::before { content: attr(data-label); text-align: left; flex-shrink: 0; font-family: var(--f-jp); font-weight: 800; font-size: 12px; color: var(--ink-2); }
  table.compare td.cardtitle { display: block; text-align: left; font-family: var(--f-jp); font-weight: 800; font-size: 1rem; padding: 8px 0 10px; border-bottom: 2px solid var(--red); }
  table.compare td.cardtitle::before { display: none; }
  table.compare .shops { justify-content: flex-end; }
  table.compare .shops a { padding: 9px 15px; }

  .review .r-head { grid-template-columns: 76px 1fr; gap: 12px; padding: 14px; }
  .review .r-body, .review .r-shops { padding-left: 14px; padding-right: 14px; }
  .review .r-shops a { padding: 13px; }
  .related a { padding: 15px 0; }

  .partners, .legal { padding-left: 18px; padding-right: 18px; }
  footer.site { padding: 24px 18px 40px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; gap: 22px; }
}
@media (max-width: 430px) {
  .article-header h1 { font-size: 1.4rem; }
  .review .r-head { grid-template-columns: 1fr; }
  .review .r-img { max-width: 150px; }
  footer.site .cols { grid-template-columns: 1fr; }
}
