/* Claude Code SNSマーケ運用自動化エージェント｜シリーズ共通デザイン（濃い茶黒×オレンジ）＋デザインB（2026-10-13） */
:root {
  --font-heading: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --fs-body: clamp(17px, 1rem + 0.15vw, 18px);
  --fs-note: clamp(14px, 0.85rem + 0.1vw, 15px);
  --fs-h2: clamp(26px, 1.3rem + 1.5vw, 36px);
  --fs-h3: clamp(19px, 1.05rem + 0.4vw, 22px);
  --fs-fv: clamp(25px, 1.2rem + 2.2vw, 48px);   /* スマホ・タブレット。キャッチが5行のため、シリーズ標準より少し小さめ（PCは41px） */
  --color-main: #f2a463;          /* 見出しの強調・枠・番号（アンバー） */
  --color-on-main: #1c120a;       /* メイン色の上に置く文字 */
  --color-main-soft: #2b1f17;     /* メイン色の薄い面 */
  --color-glow: rgba(255, 140, 50, .35);
  --color-accent: #ff8a2b;        /* CTA専用（オレンジ） */
  --color-accent-text: #1c120a;
  --color-bg: #141110;
  --color-bg-alt: #1b1613;
  --color-card: #231c18;
  --color-text: #f4eee8;
  --color-muted: #c2b6ab;
  --color-line: #3e3129;
  --radius: 18px;
  --btn-radius: 999px;
  --section-space: clamp(72px, 4.5rem + 3vw, 120px);
  --content-width: 800px;         /* シリーズ共通v2：文章だけのセクションも800pxにして、FV・カード類と左端をそろえる（2026-10-14） */
  --wide-width: 830px;            /* 中身800px＋左右15px（2026-10-14） */
  --side-space: 15px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.85;
  overflow-wrap: anywhere;
}
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.45; margin: 0; word-break: auto-phrase; }
.ph { display: inline-block; }
.nw { white-space: nowrap; }
p { margin: 0 0 1em; }
a { color: var(--color-main); }
strong { color: var(--color-main); }

.wrap { max-width: var(--wide-width); margin: 0 auto; padding: 0 var(--side-space); }
.wrap.narrow, .narrow { max-width: var(--content-width); margin-left: auto; margin-right: auto; }
.wrap.narrow { max-width: calc(var(--content-width) + var(--side-space) * 2); }
.center { text-align: center; }
.lead { margin-bottom: 28px; }
.small-note { font-size: var(--fs-note); color: var(--color-muted); margin: 16px 0 0; }

/* 要確認（公開前に必ず埋める箇所） */
.todo {
  display: inline-block;
  background: #fff3cd;
  color: #6b4a00;
  font-weight: 700;
  font-size: var(--fs-note);
  padding: 0 6px;
  border-radius: 4px;
  margin: 6px 0 0;
}

/* ヘッダー */
.site-head { border-bottom: 1px solid var(--color-line); background: var(--color-bg); }
.site-head .wrap {
  display: flex; align-items: center; min-height: 56px;
  font-weight: 700; color: var(--color-main); font-size: 15px; letter-spacing: .03em;
}

/* S01 ファーストビュー（左寄せ） */
.fv {
  padding: clamp(40px, 2rem + 4vw, 96px) 0 clamp(56px, 3rem + 4vw, 104px);
  text-align: left;
  background:
    radial-gradient(ellipse 60% 70% at 92% 20%, rgba(255, 140, 50, .22), transparent 70%),
    radial-gradient(ellipse 40% 50% at 70% 100%, rgba(255, 120, 40, .10), transparent 70%),
    var(--color-bg);
}
.fv-label {
  display: inline-block;
  font-size: var(--fs-note); font-weight: 700; line-height: 1.6;
  color: var(--color-main); background: var(--color-main-soft);
  border: 1px solid rgba(242, 164, 99, .45);
  padding: 6px 14px; border-radius: var(--radius);
  margin: 0 0 56px;               /* v2：商品名の行をなくした分も、キャッチとの間を空ける */
}
.fv-catch { max-width: 1040px; margin: 0 0 24px; font-size: var(--fs-fv); font-weight: 700; line-height: 1.45; }
.fv-catch .ln { display: block; }
.fv-catch .ln.hl { color: var(--color-main); }
.fv-sub { max-width: 760px; margin: 0 0 28px; color: var(--color-text); }
figure { margin: 0; }
.fv-grid { display: grid; gap: 28px; }

/* S01 画面イメージ（投稿文＋15秒リール） */
.phones { display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.phone {
  flex: none; position: relative;
  width: 200px; aspect-ratio: 9 / 18;
  border-radius: 30px; border: 2px solid #4a3a30; background: #0d0b0a; padding: 10px;
  box-shadow: 0 0 60px rgba(255, 140, 50, .22);
}
.phone .screen { height: 100%; border-radius: 22px; overflow: hidden; position: relative; }
.reel .screen {
  background: radial-gradient(ellipse 90% 60% at 50% 30%, rgba(255, 140, 50, .35), transparent 70%), linear-gradient(180deg, #2b1f17, #141110);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 16px;
}
.telop { background: rgba(0, 0, 0, .6); color: #fff; font-weight: 700; font-size: 14px; line-height: 1.5; padding: 6px 10px; border-radius: 8px; text-align: center; }
.telop.em { background: var(--color-main); color: var(--color-on-main); }
.reel-tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; color: var(--color-main); border: 1px solid var(--color-main); border-radius: 999px; padding: 1px 8px; }
.bar { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.bar::before { content: ""; display: block; width: 60%; height: 100%; border-radius: 2px; background: var(--color-main); }
.post { width: 170px; aspect-ratio: 9 / 16; }
.post .screen { background: var(--color-card); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.post .img { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, #3a2a20, #231c18); border: 1px solid var(--color-line); }
.post .line { height: 7px; border-radius: 4px; background: var(--color-line); }
.post .line.s { width: 70%; }
.post .lbl { font-size: 11px; font-weight: 700; color: var(--color-main); }
.ui-cap { color: var(--color-muted); font-size: 12px; margin: 10px 0 0; text-align: center; }

/* PC（961px〜・シリーズ共通v2）：ラベルは横いっぱい、キャッチ（左半分）と画面イメージ（右半分）を半分ずつ、説明文は下に中央寄せ */
@media (min-width: 961px) {
  .fv-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; row-gap: 0; align-items: center; }
  .fv-text { display: contents; }
  .fv-grid .fv-label { grid-column: 1 / -1; grid-row: 1; justify-self: stretch; }
  /* キャッチは上端を固定（ラベルとの間56pxを保つ）。画面イメージはその行の高さの中で上下中央（v2修正） */
  .fv-grid .fv-catch { grid-column: 1; grid-row: 2; margin-bottom: 0; font-size: 39px; padding-left: 20px; align-self: start; min-width: 0; } /* 一番長い行「考えていませんか？」が左半分に1行で収まる大きさ */
  .fv-catch .ln.sub-ln { font-size: .72em; }
  .fv-catch .ln.sub-ln.first { margin-top: .7em; }
  .fv-visual { grid-column: 2; grid-row: 2; width: 100%; position: relative; left: -10px; align-self: center; min-width: 0; }
  .fv-grid .fv-sub { grid-column: 1 / -1; grid-row: 3; align-self: start; max-width: none; margin: 32px 0 0; text-align: center; font-size: calc(var(--fs-body) * 1.3); line-height: 1.75; }
  .fv-sub .sent { display: block; }
  .phone { width: 186px; }
  .post { width: 158px; }
  .reel .screen { padding: 16px 10px; }
}
/* タブレット・スマホ（〜960px）：縦に並べ、キャッチは左端をそろえたまま、かたまりごと中央に置く */
@media (max-width: 960px) {
  .fv-label { margin-bottom: 40px; }
  .fv-text { text-align: center; }
  .fv-text .fv-catch { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
  .fv-visual { max-width: 560px; justify-self: center; width: 100%; }
  .fv-grid { gap: 20px; }
  .fv-grid .fv-sub { justify-self: center; text-align: left; margin-bottom: 0; }
  .fv-sub .ph { display: inline; }
}

/* S01下 目次 */
.toc { background: var(--color-bg-alt); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.toc ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.toc a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--color-line); border-radius: var(--btn-radius);
  color: var(--color-text); text-decoration: none; font-size: var(--fs-note); font-weight: 700;
  background: var(--color-card);
}
.toc a::after { content: "↓"; margin-left: 8px; color: var(--color-main); }
.toc a:hover { border-color: var(--color-main); }
.toc a:focus-visible { outline: 3px solid var(--color-main); outline-offset: 2px; }

/* 価格とボタン */
.price { margin: 0 0 14px; line-height: 1.3; }
.pmain { font-family: var(--font-heading); font-size: clamp(32px, 1.7rem + 1.2vw, 42px); font-weight: 700; }
.psub { display: inline-block; font-size: clamp(17px, 1rem + 0.2vw, 19px); font-weight: 700; margin-left: 4px; white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 16px 40px;
  background: var(--color-accent); color: var(--color-accent-text);
  font-weight: 700; font-size: var(--fs-body); line-height: 1.4;
  text-decoration: none; border-radius: var(--btn-radius);
  box-shadow: 0 0 0 1px rgba(255, 170, 90, .6), 0 6px 24px var(--color-glow);
  transition: transform .15s, box-shadow .15s;
}
.btn::after { content: "→"; margin-left: 10px; }
.btn:hover { transform: translateY(1px); box-shadow: 0 0 0 1px rgba(255, 170, 90, .8), 0 4px 18px var(--color-glow); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cta-note { font-size: var(--fs-note); color: var(--color-muted); margin: 12px 0 0; }
.cta-block.center { text-align: center; margin-top: 48px; }

/* セクション共通 */
.sec { padding: var(--section-space) 0; scroll-margin-top: 0; }
.sec.alt { background: var(--color-bg-alt); }
/* 見出しは「center」の目印がなくても、すべて中央寄せ（シリーズ共通v2・2026-10-14） */
.sec-title { font-size: var(--fs-h2); margin-bottom: 36px; text-align: center; margin-left: auto; margin-right: auto; }
.sec-title.center { text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; }
.sub-title { font-size: var(--fs-h3); margin: 0 0 20px; }
.sub-title.center { text-align: center; }

/* 面（カード類）の共通 */
.check-list li, .role, .steps li, .card, .box-list li, .qa, .fit-box.no, .ex-flow li {
  background: var(--color-card);
  border: 1px solid var(--color-line);
}

/* S02 お悩み（PCは2列） */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 961px) { .check-list.two { grid-template-columns: 1fr 1fr; } }
.check-list li {
  position: relative;
  border-radius: var(--radius);
  padding: 18px 20px 18px 58px;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 20px; top: 18px;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-main); color: var(--color-on-main); font-size: 14px; font-weight: 700; line-height: 1;
  margin-top: 3px;
}
/* S02 本音（左寄せの大きな文字） */
.honne-big { margin-top: 36px; text-align: left; padding: 36px 0 0; border-top: 1px solid var(--color-line); }
.honne-big h3 { font-size: var(--fs-note); color: var(--color-muted); font-weight: 700; margin-bottom: 14px; }
.honne-big p { font-size: var(--fs-h3); font-weight: 700; line-height: 1.8; max-width: 760px; margin: 0; word-break: auto-phrase; }
.honne-big p .em { color: var(--color-main); }

/* 役割・対比の2列（S03・S05） */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.role { border-radius: var(--radius); padding: 28px; }
.role h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.role.you { border-color: rgba(242, 164, 99, .6); box-shadow: inset 0 6px 0 var(--color-main), 0 0 32px rgba(255, 140, 50, .12); }
.role.you h3 { color: var(--color-main); }
.role.cc { box-shadow: inset 0 6px 0 var(--color-line); }
.role.cc h3 { color: var(--color-muted); }
.role ul { margin: 0; padding-left: 1.2em; }
.roles.vs { margin: 32px 0; }

/* S04 番号付きのポイント（PC 3列） */
.cards { display: grid; gap: 20px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: 1fr 1fr; }
.card { border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { padding-left: 1.2em; }
.card-no {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-main); color: var(--color-on-main); font-weight: 700; margin: 0 0 14px;
}
.cards.points .card { background: var(--color-main-soft); border-color: rgba(242, 164, 99, .35); }

/* S04 教材の例（縦の流れ） */
.example { max-width: var(--content-width); margin: 40px auto 32px; border: 1px solid rgba(242, 164, 99, .6); border-radius: var(--radius); padding: 28px; box-shadow: 0 0 28px rgba(255, 140, 50, .12); }
.example h3 { font-size: var(--fs-h3); margin-bottom: 18px; }
.ex-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ex-flow li { border-radius: 12px; padding: 12px 16px; font-weight: 700; text-align: center; }
.ex-flow li + li { margin-top: 30px; position: relative; }
.ex-flow li + li::before { content: "↓"; position: absolute; top: -28px; left: 0; right: 0; text-align: center; color: var(--color-main); font-weight: 700; }
.ex-flow li.goal { background: var(--color-main-soft); border-color: var(--color-main); color: var(--color-main); }
.example .small-note { margin-top: 18px; }

/* ステップ（S05・S11） */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-main-soft); color: var(--color-main); font-weight: 700;
  border: 1px solid rgba(242, 164, 99, .35);
}
.steps li.check { border-color: var(--color-main); }
.steps li.check::before { background: var(--color-main); color: var(--color-on-main); }
.steps .st { display: block; font-weight: 700; color: var(--color-text); }
.steps .ds { display: block; }
.flow-roles { margin-top: 56px; }
.after-note { margin: 24px 0 0; }

/* S06 使える場所 */
.where { margin: 28px 0; text-align: center; font-weight: 700; }
.where span { display: inline-block; margin: 4px; padding: 6px 16px; border-radius: var(--btn-radius); border: 1px solid var(--color-main); background: var(--color-main-soft); color: var(--color-main); }

/* ルール・注意点のボックス（S06・S08） */
.box-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.box-list li { border-radius: var(--radius); padding: 18px 22px; border-left: 6px solid var(--color-main); }
.rule { background: var(--color-card); border: 1px solid var(--color-line); border-left: 6px solid var(--color-main); border-radius: var(--radius); padding: 22px 24px; }
.rule h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.rule p:last-child, .rule ul:last-child { margin-bottom: 0; }
.rule ul { margin: 0; padding-left: 1.2em; }
.needs { margin-top: 28px; }

/* 「このページも〜で作っています」（S13） */
.made-with {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: fit-content; max-width: 100%; margin: 28px auto 0;
  padding: 10px 22px; border-radius: var(--btn-radius);
  border: 1px solid var(--color-main); background: var(--color-main-soft);
  color: var(--color-text); font-weight: 700; line-height: 1.6; text-align: left;
  box-shadow: 0 0 24px rgba(255, 140, 50, .14);
  word-break: auto-phrase;
}
.made-with-mark {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-main); color: var(--color-on-main); font-size: 13px; line-height: 1;
}

/* S07 比較表（このエージェントの列を強調） */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--color-card); border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--color-bg-alt); font-size: var(--fs-note); color: var(--color-muted); }
.compare tbody th { width: 16%; }
.compare td:not(.ours) { color: var(--color-muted); }
.compare .ours {
  background: rgba(242, 164, 99, .12); font-weight: 700; color: var(--color-text);
  border-left: 2px solid var(--color-main); border-right: 2px solid var(--color-main);
}
.compare thead .ours { background: var(--color-main); color: var(--color-on-main); font-size: var(--fs-body); border-top: 2px solid var(--color-main); }
.compare tbody tr:last-child .ours { border-bottom: 2px solid var(--color-main); }
.compare td.ours::before { content: "✓ "; color: var(--color-main); }
.compare-note { margin-top: 28px; }

/* S09 向いている方 */
.fit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.fit-box { border-radius: var(--radius); padding: 32px; }
.fit-box.yes { background: var(--color-main-soft); border: 1px solid rgba(242, 164, 99, .5); }
.fit-box ul { margin: 0; padding-left: 1.2em; }
.fit-box li + li { margin-top: 8px; }
.fit-box.yes .fit-title { font-size: var(--fs-h2); margin-bottom: 20px; }
.fit-box.no .fit-title { font-size: var(--fs-h3); margin-bottom: 14px; color: var(--color-muted); }

/* S10 価格（背景に帯） */
#s10-price {
  background:
    linear-gradient(180deg, transparent 0, transparent 34%, rgba(255, 140, 50, .16) 34%, rgba(255, 140, 50, .16) 72%, transparent 72%),
    var(--color-bg-alt);
}
.price-box {
  max-width: 680px; margin: 0 auto;
  background: var(--color-card); border: 2px solid var(--color-main); border-radius: var(--radius);
  padding: clamp(28px, 1rem + 3vw, 48px); text-align: center;
  box-shadow: 0 0 48px rgba(255, 140, 50, .18);
}
.pname { font-weight: 700; font-size: var(--fs-h3); margin-bottom: 8px; color: var(--color-main); }
.price-box .price { margin-bottom: 28px; }
.inc { text-align: left; border-top: 1px solid var(--color-line); padding-top: 24px; margin-bottom: 28px; }
.inc h3 { font-size: var(--fs-body); margin-bottom: 8px; }
.inc ul { margin: 0 0 16px; padding-left: 1.2em; }
.inc dl { margin: 0; }
.inc dt { font-weight: 700; margin-top: 14px; }
.inc dd { margin: 2px 0 0; }
.refund { font-size: var(--fs-note); color: var(--color-muted); margin: 20px 0 0; text-align: left; }

/* S12 FAQ（タップで開閉） */
.faq { display: grid; gap: 12px; }
.qa { border-radius: var(--radius); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 20px 56px 20px 24px; position: relative;
  font-weight: 700; min-height: 44px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; flex: none; color: var(--color-main); font-weight: 700; }
.qa summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--color-line); color: var(--color-main); font-size: 18px; line-height: 1;
}
.qa[open] summary::after { content: "−"; }
.qa summary:focus-visible { outline: 3px solid var(--color-main); outline-offset: -3px; border-radius: var(--radius); }
.qa .ans { display: flex; gap: 12px; padding: 0 24px 22px; }
.qa .ans::before { content: "A"; flex: none; color: var(--color-muted); font-weight: 700; }
.qa .ans p { margin: 0; }

/* S13 最後のご案内 */
.sec.final {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255, 140, 50, .25), transparent 70%),
    #1f1712;
  border-top: 1px solid rgba(242, 164, 99, .4);
}
.sec.final .sec-title { color: var(--color-text); }
.sec.final .cta-block.center { margin-top: 28px; }

/* フッター */
.site-foot { background: #0d0b0a; color: var(--color-muted); padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); font-size: var(--fs-note); border-top: 1px solid var(--color-line); }
.site-foot p { margin: 0 0 6px; }
.site-foot a { color: var(--color-main); }
.site-foot .disclaimer { margin-top: 16px; }
.site-foot .copy { margin-top: 16px; opacity: .8; }

/* 写真（S02・S04・S06・S08・S11）：PCは文章の横、タブレット・スマホは文章の下 */
.sec-img img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--color-line);
  object-fit: cover;
}
.sec-img.land img { aspect-ratio: 3 / 2; }
.split, .head-split { display: grid; gap: 28px; }
#s08-start .sec-img img { object-position: 40% 50%; }
@media (min-width: 961px) {
  .split { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; }
  .split.top { align-items: start; }
  .split .sec-img.tall img { aspect-ratio: 4 / 5; }
  .split.top .sec-img { margin-top: 8px; position: sticky; top: 84px; }
  .head-split { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: center; margin-bottom: 40px; }
  .head-split .sec-title { margin-bottom: 0; }
}
@media (max-width: 960px) {
  .sec-img { max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; justify-self: center; }
  .sec-img img, .split .sec-img.tall img { aspect-ratio: 16 / 10; }
  .head-split { margin-bottom: 32px; }
  .head-split .sec-title { margin-bottom: 0; }
}

/* S03 対比に×／✓の印 */
.roles.vs .role ul { list-style: none; padding-left: 0; }
.roles.vs .role li { position: relative; padding-left: 32px; }
.roles.vs .role li + li { margin-top: 4px; }
.roles.vs .role li::before {
  position: absolute; left: 0; top: .35em;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; line-height: 1;
}
.roles.vs .role.cc li::before { content: "×"; background: var(--color-line); color: var(--color-muted); font-size: 14px; }
.roles.vs .role.you li::before { content: "✓"; background: var(--color-main); color: var(--color-on-main); }

/* S04 教材の例：PCは横向きの流れ図 */
@media (min-width: 961px) {
  .example { max-width: none; }
  .ex-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 34px; align-items: stretch; }
  .ex-flow li { padding: 12px 10px; display: flex; align-items: center; justify-content: center; font-size: var(--fs-note); line-height: 1.6; word-break: auto-phrase; }
  .ex-flow li + li { margin-top: 0; }
  .ex-flow li + li::before { content: "→"; top: 50%; left: -28px; right: auto; width: 22px; transform: translateY(-50%); }
}

/* S06 カードの小さな画面イメージ */
.card-visual { display: flex; justify-content: center; padding: 8px 0 20px; }
.phone.mini { width: 96px; border-radius: 18px; padding: 6px; box-shadow: 0 0 32px rgba(255, 140, 50, .16); }
.phone.mini .screen { border-radius: 13px; }
.phone.post.mini .screen { padding: 8px; gap: 5px; }
.phone.post.mini .line { height: 5px; }
.phone.reel.mini .screen { gap: 5px; padding: 8px 4px; }
.phone.mini .telop { font-size: 9px; padding: 2px 5px; border-radius: 5px; }
.phone.mini .reel-tag, .phone.mini .lbl { font-size: 9px; }
.phone.mini .reel-tag { top: 6px; left: 6px; padding: 0 5px; }
.phone.mini .bar { left: 8px; right: 8px; bottom: 8px; height: 3px; }
.cards.two .card-visual { min-height: 0; }

/* S13 価格の1行 */
.final-price { margin: 0 0 18px; }
.final-price .pmain { font-size: clamp(26px, 1.4rem + 0.8vw, 32px); }

/* PC用 上部の固定バー（スマホは下の固定ボタンを使う） */
.pc-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 11;
  background: rgba(20, 17, 16, .95); border-bottom: 1px solid var(--color-line);
  transform: translateY(-110%); transition: transform .25s;
}
.pc-bar.show { transform: translateY(0); }
@media (min-width: 641px) { .sec { scroll-margin-top: 60px; } }
.pc-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.pc-bar-name { font-weight: 700; color: var(--color-main); font-size: 15px; }
.btn-sub {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 22px;
  border: 2px solid var(--color-main); border-radius: var(--btn-radius);
  color: var(--color-main); font-weight: 700; font-size: var(--fs-note); text-decoration: none; background: transparent;
}
.btn-sub::after { content: "↓"; margin-left: 8px; }
.btn-sub:hover { background: var(--color-main-soft); }
.btn-sub:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* スマホ用 固定購入ボタン */
.sticky-cta { display: none; }

/* タブレット */
@media (max-width: 960px) {
  .cards.three { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
}

/* スマホ */
@media (max-width: 640px) {
  .sec-title { margin-bottom: 28px; }
  .fv { padding-top: 16px; }
  .fv-label { padding: 4px 12px; }
  .fv-catch { margin-bottom: 12px; }
  .fv-sub { margin-bottom: 18px; font-size: calc(var(--fs-body) * 1.3); line-height: 1.75; word-break: auto-phrase; }
  /* FVの画面イメージは小さめにして、説明文を最初の画面に入れる */
  .fv-grid { gap: 14px; }
  .phone { width: 108px; border-radius: 20px; padding: 7px; }
  .phone .screen { border-radius: 14px; }
  .post { width: 92px; }
  .telop { font-size: 10px; padding: 3px 5px; }
  .reel .screen { gap: 6px; padding: 10px 6px; }
  .site-head .wrap { font-size: 13px; min-height: 48px; }
  .reel-tag { font-size: 10px; top: 8px; left: 8px; }
  .ui-cap { margin-top: 6px; }
  .toc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 0; }
  .toc a { display: flex; justify-content: center; padding: 8px 10px; }
  .roles { grid-template-columns: 1fr; }
  .cards.two { grid-template-columns: 1fr; }
  .card, .role, .fit-box, .example { padding: 24px 20px; }
  .btn { display: flex; width: 100%; padding: 16px 18px; }
  .qa summary { padding: 18px 52px 18px 18px; }
  .qa summary::after { right: 16px; }
  .qa .ans { padding: 0 18px 20px; }
  .made-with { border-radius: var(--radius); padding: 10px 16px; }

  /* 比較表をカードに切り替え */
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare { border: 0; background: transparent; border-radius: 0; overflow: visible; }
  .compare thead { display: none; }
  .compare tr { background: var(--color-card); border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
  .compare tbody th { width: 100%; background: var(--color-bg-alt); padding: 14px 18px; }
  .compare td { padding: 14px 18px; }
  .compare .ours, .compare tbody tr:last-child .ours { border: 0; border-left: 4px solid var(--color-main); }
  .compare td::before { content: attr(data-label); display: block; font-size: var(--fs-note); color: var(--color-muted); font-weight: 700; margin-bottom: 2px; }
  .compare td.ours::before { content: "✓ " attr(data-label); color: var(--color-main); }

  .pc-bar { display: none; }
  .sticky-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(20, 17, 16, .95);
    border-top: 1px solid var(--color-line);
    transform: translateY(110%);
    transition: transform .25s;
  }
  .sticky-cta .btn { min-height: 52px; padding: 12px 16px; font-size: 16px; }
  .sticky-cta.show { transform: translateY(0); }
  body.has-sticky .site-foot { padding-bottom: calc(48px + 76px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-cta, .pc-bar { transition: none; }
}
