/* ============================================================
   記事LP スタイル（スマホ縦長1カラム）v0.1
   ============================================================ */

:root{
  --bg:#f6f5f2;
  --paper:#ffffff;
  --ink:#232323;
  --ink-2:#5a5a5a;
  --ink-3:#8d8d8d;
  --rule:#e8e5df;
  --key:#0f5c4a;        /* キーカラー */
  --key-d:#0a4638;
  --key-soft:#e9f3ef;
  --hot:#d13b2e;        /* 強調（赤） */
  --marker:#ffe98a;     /* 黄色マーカー */
  --cta:#e8721c;        /* CTAボタン */
  --cta-d:#c85c0d;
  --pr-bg:#eeece7;
  --lp:500px;           /* 記事LPの版面 */
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",YuGothic,Meiryo,sans-serif;
  font-size:16px; line-height:1.95; letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;
  padding-bottom:76px; /* 追従CTA分 */
}
.lp{max-width:var(--lp); margin:0 auto; background:var(--paper); box-shadow:0 0 34px rgba(0,0,0,.05)}
.pad{padding:0 20px}

/* --- 媒体バー --- */
.bar{background:var(--key); color:#fff; padding:9px 20px; font-size:12px; letter-spacing:.04em; display:flex; justify-content:space-between; align-items:center}
.bar a{color:#fff; text-decoration:none; opacity:.85; border:0}
.bar .cat{font-weight:800}

/* --- PR表記 --- */
.pr{background:var(--pr-bg); color:#2e2e2e; font-size:13px; font-weight:600; line-height:1.75; padding:12px 20px; border-bottom:2px solid var(--rule-2, #d6d3cd)}
.pr b{color:#111; font-weight:900}
.pr a{color:#2e2e2e}
/* 広告リンク近傍のPR表記：小さく薄くしない（消費者庁は表示全体で明瞭かを判断する） */
.pr-inline{
  display:inline-block; font-size:13px; font-weight:900; color:#2e2e2e;
  background:var(--pr-bg); border:1.5px solid #b9b5ae; border-radius:4px;
  padding:3px 12px; margin-bottom:9px; letter-spacing:.02em;
}

/* --- ファーストビュー --- */
.fv{padding:26px 20px 22px; background:linear-gradient(180deg,var(--key-soft),var(--paper))}
.fv .kick{
  display:inline-block; background:var(--key); color:#fff;
  font-size:11.5px; font-weight:800; letter-spacing:.1em;
  padding:4px 11px; border-radius:3px; margin-bottom:14px;
}
.fv h1{
  font-size:clamp(23px,6.4vw,29px); line-height:1.5; margin:0 0 16px;
  font-weight:900; letter-spacing:-.01em;
}
.fv h1 .mk{background:linear-gradient(transparent 62%, var(--marker) 62%); padding:0 2px}
.fv h1 .hot{color:var(--hot)}
.fv .sub{font-size:15px; line-height:1.85; color:var(--ink-2); margin:0}
.fv .date{font-size:11.5px; color:var(--ink-3); margin:14px 0 0; letter-spacing:.03em}

/* --- 本文 --- */
main{padding-top:6px}
p{margin:0 0 18px; font-size:16px}
.lead{font-size:16.5px}
strong{font-weight:800}
.mk{background:linear-gradient(transparent 62%, var(--marker) 62%); padding:0 2px; font-weight:700}
.hot{color:var(--hot); font-weight:800}
a{color:var(--key); border-bottom:1px solid rgba(15,92,74,.3); text-decoration:none}

h2{
  font-size:clamp(19px,4.8vw,22px); line-height:1.55; font-weight:900;
  margin:44px 0 18px; padding:14px 16px;
  background:var(--key); color:#fff; border-radius:6px;
  letter-spacing:-.005em;
}
h2 .n{display:block; font-size:11px; letter-spacing:.14em; opacity:.75; font-weight:700; margin-bottom:3px}
h3{
  font-size:18px; line-height:1.6; font-weight:900; margin:34px 0 12px;
  padding-left:12px; border-left:5px solid var(--key);
}
h4{font-size:15px; font-weight:800; margin:24px 0 8px; color:var(--key-d)}

ul,ol{margin:0 0 20px; padding-left:1.3em}
li{margin-bottom:9px}
li::marker{color:var(--key)}

/* --- 吹き出し --- */
.talk{display:flex; gap:11px; margin:0 0 18px; align-items:flex-start}
.talk .ic{
  flex:0 0 44px; width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:19px; background:var(--key-soft); border:1px solid var(--rule);
}
.talk .bl{
  position:relative; background:#f4f3f0; border-radius:12px;
  padding:13px 15px; font-size:15px; line-height:1.8; flex:1;
}
.talk .bl::before{
  content:""; position:absolute; left:-7px; top:15px;
  border:7px solid transparent; border-right-color:#f4f3f0; border-left:0;
}
.talk .bl p:last-child{margin-bottom:0}
.talk .nm{display:block; font-size:11px; color:var(--ink-3); font-weight:700; margin-bottom:3px}
.talk.me .ic{background:#fdf1e6}
.talk.me .bl{background:var(--key-soft)}
.talk.me .bl::before{border-right-color:var(--key-soft)}

/* --- 気づきボックス --- */
.reveal{
  background:#fffaf2; border:2px solid #f0c98a; border-radius:10px;
  padding:18px 18px 16px; margin:24px 0;
}
.reveal .lbl{
  display:inline-block; background:var(--hot); color:#fff; font-size:11px; font-weight:800;
  letter-spacing:.1em; padding:3px 10px; border-radius:3px; margin-bottom:11px;
}
.reveal p:last-child{margin-bottom:0}

/* --- 注意ボックス --- */
.warn{background:#fdf2f1; border-left:4px solid var(--hot); border-radius:0 8px 8px 0; padding:15px 17px; margin:22px 0}
.warn .lbl{font-size:11px; font-weight:800; letter-spacing:.1em; color:var(--hot); margin-bottom:7px}
.warn p:last-child, .warn ul:last-child{margin-bottom:0}

.info{background:var(--key-soft); border-radius:8px; padding:16px 18px; margin:22px 0}
.info .lbl{font-size:11px; font-weight:800; letter-spacing:.1em; color:var(--key-d); margin-bottom:7px}
.info p:last-child, .info ul:last-child{margin-bottom:0}

/* --- チェックリスト --- */
.chk{list-style:none; padding:0; margin:0 0 20px}
.chk li{
  position:relative; padding:11px 12px 11px 40px; margin:0 0 8px;
  background:#f7f6f3; border-radius:8px; font-size:15.5px; line-height:1.7; font-weight:700;
}
.chk li::before{
  content:"✓"; position:absolute; left:13px; top:11px;
  color:var(--key); font-weight:900; font-size:16px;
}

/* --- ステップ --- */
.steps{list-style:none; padding:0; margin:0 0 22px; counter-reset:s}
.steps li{
  counter-increment:s; position:relative; padding:0 0 22px 46px; margin:0;
  border-left:2px solid var(--rule); margin-left:15px;
}
.steps li:last-child{border-left-color:transparent; padding-bottom:0}
.steps li::before{
  content:counter(s); position:absolute; left:-16px; top:-2px;
  width:31px; height:31px; border-radius:50%; background:var(--key); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:800;
}
.steps .t{display:block; font-weight:800; font-size:16px; margin-bottom:4px}
.steps .d{display:block; font-size:14.5px; color:var(--ink-2); line-height:1.8}

/* --- 表 --- */
.tw{overflow-x:auto; margin:0 0 22px; border:1px solid var(--rule); border-radius:8px; background:#fff}
table{border-collapse:collapse; width:100%; font-size:14px; min-width:400px}
th,td{padding:11px 13px; text-align:left; border-bottom:1px solid var(--rule); vertical-align:top; line-height:1.75}
thead th{background:var(--key); color:#fff; font-weight:800; font-size:12.5px; white-space:nowrap}
tbody th{background:#f7f6f3; font-weight:800; white-space:nowrap}
tbody tr:last-child td, tbody tr:last-child th{border-bottom:0}
caption{caption-side:bottom; text-align:left; font-size:12.5px; color:var(--ink-3); padding:10px 13px; line-height:1.75}

/* --- CTA --- */
.cta{margin:30px 0; text-align:center}
.cta .btn{
  display:block; background:linear-gradient(180deg,#f2842f,var(--cta));
  color:#fff; font-weight:900; font-size:17px; line-height:1.5;
  padding:17px 18px; border-radius:44px; text-decoration:none; border:0;
  box-shadow:0 4px 0 var(--cta-d), 0 8px 18px rgba(200,92,13,.24);
}
.cta .btn small{display:block; font-size:12px; font-weight:700; opacity:.92; margin-top:3px}
.cta .btn:active{transform:translateY(2px); box-shadow:0 2px 0 var(--cta-d)}
.cta .note{font-size:11.5px; color:var(--ink-3); margin:9px 0 0; line-height:1.7}

/* 追従CTA：本文を読み進めるまで出さない（オーガニック流入では広告臭が先に立つため） */
.fixed-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:50;
  background:rgba(255,255,255,.96); border-top:1px solid var(--rule);
  padding:9px 14px 11px; backdrop-filter:blur(6px);
  transform:translateY(115%); transition:transform .28s ease; pointer-events:none;
}
.fixed-cta.is-on{transform:translateY(0); pointer-events:auto}
.fixed-cta .inner{max-width:var(--lp); margin:0 auto}
.fixed-cta .btn{
  display:block; text-align:center; background:linear-gradient(180deg,#f2842f,var(--cta));
  color:#fff; font-weight:900; font-size:15.5px; padding:13px; border-radius:40px;
  text-decoration:none; border:0; box-shadow:0 3px 0 var(--cta-d);
}
.fixed-cta .pr-inline{margin-bottom:5px; font-size:13px; padding:2px 10px}

/* --- FAQ --- */
.faq{margin:0 0 22px}
.faq details{background:#f7f6f3; border-radius:8px; margin-bottom:9px; overflow:hidden}
.faq summary{
  cursor:pointer; padding:14px 44px 14px 46px; font-weight:800; font-size:15.5px;
  list-style:none; position:relative; line-height:1.65;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{
  content:"Q"; position:absolute; left:15px; top:13px;
  width:22px; height:22px; border-radius:50%; background:var(--key); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800;
}
.faq summary::after{content:"＋"; position:absolute; right:17px; top:14px; color:var(--ink-3); font-weight:800}
.faq details[open] summary::after{content:"−"}
.faq .a{padding:0 18px 16px 46px; font-size:15px; color:var(--ink-2); position:relative}
.faq .a::before{
  content:"A"; position:absolute; left:15px; top:1px;
  width:22px; height:22px; border-radius:50%; background:#ddd9d2; color:#5a5a5a;
  display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:800;
}
.faq .a p:last-child{margin-bottom:0}

/* --- 編集中マーカー（公開前に必ず消す） --- */
.todo{
  border:2px dashed #d97706; background:#fff7ed; color:#7c2d12;
  border-radius:8px; padding:15px 16px; margin:24px 0; font-size:13.5px; line-height:1.8;
}
.todo .lbl{font-size:11px; letter-spacing:.12em; font-weight:800; margin-bottom:7px; color:#b45309}
.todo p:last-child, .todo ul:last-child{margin-bottom:0}
.todo ul{padding-left:1.2em}
.todo li{margin-bottom:5px}

/* --- フッター --- */
.lp-foot{background:#2b2b29; color:#a9a6a0; padding:26px 20px 34px; font-size:12.5px; line-height:1.9}
.lp-foot a{color:#d6d3cd; border:0}
.lp-foot .fnav{display:flex; flex-wrap:wrap; gap:6px 16px; margin-bottom:12px}
.lp-foot p{margin:0 0 10px; font-size:12.5px}
.lp-foot p:last-child{margin-bottom:0}

@media (max-width:400px){
  body{font-size:15.5px}
  .fv{padding:22px 16px 18px}
  .pad{padding:0 16px}
}

/* ============================================================
   追加：図解・スクショ枠・診断カード（v0.2）
   ============================================================ */

/* --- 図解 --- */
.fig{margin:24px 0}
.fig img{display:block; width:100%; height:auto; border:1px solid var(--rule); border-radius:10px; background:#fff}
.fig figcaption{font-size:12.5px; color:var(--ink-3); line-height:1.75; margin-top:8px}

/* --- スクショ枠（公式ページの引用） --- */
.shot{
  border:1px solid var(--rule); border-radius:10px; overflow:hidden; margin:22px 0; background:#fff;
}
.shot .ph{
  background:repeating-linear-gradient(45deg,#f4f3f0,#f4f3f0 9px,#ecebe7 9px,#ecebe7 18px);
  min-height:170px; display:flex; align-items:center; justify-content:center; text-align:center;
  color:#9b968e; font-size:13px; font-weight:700; padding:22px; line-height:1.8;
}
.shot .cap{padding:10px 13px; font-size:12px; color:var(--ink-3); border-top:1px solid var(--rule); line-height:1.7}

/* --- 診断・質問カード（保存されることを狙う） --- */
.qcard{
  border:2px solid var(--key); border-radius:12px; overflow:hidden; margin:24px 0; background:#fff;
}
.qcard .hd{background:var(--key); color:#fff; padding:13px 16px; font-weight:900; font-size:15.5px; line-height:1.5}
.qcard .hd small{display:block; font-size:11.5px; font-weight:700; opacity:.85; margin-top:2px}
.qcard ol{margin:0; padding:16px 18px 6px 40px; counter-reset:q; list-style:none}
.qcard ol li{counter-increment:q; position:relative; margin-bottom:16px; font-size:15.5px; font-weight:800; line-height:1.65}
.qcard ol li::before{
  content:"Q" counter(q); position:absolute; left:-30px; top:1px;
  font-size:11px; font-weight:900; color:#fff; background:var(--key);
  width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center;
}
.qcard ol li .why{display:block; font-size:13px; font-weight:600; color:var(--ink-2); margin-top:4px; line-height:1.7}
.qcard.tight ol li{margin-bottom:13px}
.qcard.tight ol{padding-bottom:12px}
.qcard .ft{background:var(--key-soft); padding:13px 16px; font-size:14px; line-height:1.8; font-weight:700; color:var(--key-d)}

/* --- 取材コメント --- */
.voice{border:1px solid var(--rule); border-radius:10px; padding:16px 17px; margin:18px 0; background:#fbfaf8}
.voice .who{font-size:12.5px; font-weight:800; color:var(--key-d); margin-bottom:8px}
.voice p{font-size:15px; margin-bottom:10px}
/* 取材コメントの条件表示：薄くしない（コメント付近でも広告性が明瞭である必要がある） */
.voice .src{
  font-size:12.5px; font-weight:700; color:#4b4b4b; line-height:1.75; margin:0;
  border-top:1px solid var(--rule); padding-top:9px;
}

/* --- 打消し表示 --- */
.disc{font-size:12.5px; color:#5a5a5a; line-height:1.75; margin:-6px 0 20px}
.disc-i{display:block; font-size:12.5px; color:#5a5a5a; line-height:1.75; margin-top:6px}

/* 図解：FVのアイキャッチだけ版面いっぱいに */
.fig.bleed{margin:0 -20px 26px}
.fig.bleed img{border-radius:0; border-left:0; border-right:0; border-top:0}
@media (max-width:400px){ .fig.bleed{margin:0 -16px 22px} }
