/* A案だけのスタイル。共通は ../shared/base.css */

.a-center { text-align: center; }
main section[id] { scroll-margin-top: 64px; }

/* 1. FV：背景は単色の薄青。グラデーションは敷かない */
.a-fv { padding: 32px 20px 36px; background: var(--pale); }
.a-fv .sb-h1 { font-size: 28px; }
.a-fv .sb-h1::after { display: none; }
.a-fv__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 16px 0 0; }
.a-fv__price .sb-price .num { font-size: 42px; margin: 0 2px; }
.a-fv__zero {
  display: inline-flex; align-items: baseline; gap: 2px; padding: 3px 12px; border-radius: 999px;
  background: #fff; border: 2px solid var(--coral); color: var(--text); font-weight: 700; font-size: 14px;
}
.a-fv__zero b { font-size: 20px; color: var(--coral); }
.a-fv__badges .sb-badge { flex: 1 1 0; min-width: 0; }
.a-fv__badges .sb-badge b { display: block; }
.a-fv__badges .sb-badge small { font-size: 11px; font-weight: 500; }
.a-fv__img { margin-top: 20px; min-height: 260px; background: #fff; box-shadow: var(--shadow); }
.a-fv .sb-cta { margin-top: 20px; }

/* 2. 課題 */
.a-worries { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.a-worries li {
  position: relative; padding: 16px 16px 16px 52px; background: #fff; border-radius: var(--sb-radius);
  border: 1px solid var(--line); font-size: 15px; line-height: 1.65; box-shadow: var(--shadow);
}
.a-worries li::before {
  content: "?"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff;
  font-weight: 700; font-size: 15px; display: grid; place-items: center; line-height: 1;
}
.a-worries b { color: var(--text); box-shadow: inset 0 -.4em 0 rgba(255, 114, 94, .25); }

/* 3. 事例 */
.a-tag {
  display: inline-block; margin: 0 4px 4px 0; padding: 1px 8px; border-radius: 4px;
  background: var(--pale); color: var(--blue-dark); font-size: 11px; font-weight: 700;
}
.sb-case__title small { display: block; font-size: 12px; font-weight: 500; color: var(--sub); }
.sb-case__img { aspect-ratio: 16 / 9; }

/* 4. STAR BOOSTとは：縦の5ステップ */
.a-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.a-steps li {
  position: relative; display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--sb-radius); padding: 16px; box-shadow: var(--shadow);
}
.a-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -17px; transform: translateX(-50%);
  border: 8px solid transparent; border-top: 9px solid var(--blue); border-bottom: 0;
}
.a-steps__no {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--grad-blue); color: #fff;
  font-weight: 700; font-size: 17px; display: grid; place-items: center;
}
.a-steps li:last-child .a-steps__no { background: var(--coral); }
.a-steps b { font-size: 17px; color: var(--text); }
.a-steps p { margin: 2px 0 0; font-size: 13px; color: var(--sub); line-height: 1.65; }

/* 5. ジャンル */
.a-genres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a-genres li { display: grid; gap: 6px; text-align: center; }
.a-genres .sb-ph { min-height: 0; aspect-ratio: 1 / 1; font-size: 12px; }
.a-genres span { font-weight: 700; font-size: 14px; }
.a-genres__more { background: var(--pale); border-style: solid; color: var(--blue-dark); font-weight: 700; font-size: 14px !important; }

/* 6. やらなかった理由 */
.a-reasons { display: grid; gap: 14px; }
.a-reason { background: #fff; border-radius: var(--sb-radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.a-reason__q {
  margin: 0; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line);
  color: var(--text); font-weight: 700; font-size: 16px;
}
.a-reason__q::before { content: "理由"; margin-right: 8px; padding: 1px 8px; border-radius: 4px; background: var(--pale); color: var(--blue-dark); font-size: 11px; }
.a-reason__a { position: relative; margin: 0; padding: 16px 16px 16px 56px; font-size: 15px; line-height: 1.75; }
.a-reason__a::before {
  content: "A"; position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-blue); color: #fff; font-weight: 700; font-size: 14px; display: grid; place-items: center; line-height: 1;
}
.a-reason__a b { color: var(--blue-dark); }

/* 7. 特徴4つ */
.a-features { display: grid; gap: 14px; }
.a-feature { position: relative; padding: 20px 18px 18px 22px; border-left: 5px solid var(--blue); }
.a-feature__no { margin: 0 0 4px; font-weight: 700; font-size: 26px; line-height: 1; color: var(--blue); }
.a-feature .sb-h3 { display: inline; font-size: 19px; box-shadow: inset 0 -.42em 0 rgba(26, 150, 247, .2); }
.a-feature p:not(.a-feature__no) { margin: 10px 0 0; font-size: 14px; }
.a-feature__sub { font-size: 12px !important; color: var(--sub); }

/* 8. フォーム */
.a-form .sb-card { padding: 22px 16px; }

/* 固定CTA：FVを過ぎたら出し、フォームが見えたら隠す */
.a-sticky { transform: translateY(110%); transition: transform .25s; }
.a-sticky.is-show { transform: none; }
@media (prefers-reduced-motion: reduce) { .a-sticky { transition: none; } }

/* PC：背景だけ少し変える */
@media (min-width: 600px) {
  body { background: var(--pale); }
}

/* 画像 */
.a-fv__img { display: block; width: 100%; height: auto; border-radius: 12px; }
.sb-case__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.a-genres li > img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; }

/* ===== v2（2026-11-10）テンプレ感を減らす上書き ===== */
.a-fv { background: #fff; border-bottom: 1px solid var(--line); }
.a-fv .sb-h1 { font-size: 27px; letter-spacing: -.005em; }
.a-fv__shot { margin-top: 22px; }
.a-fv__zero { border-width: 1.5px; border-radius: 4px; }
/* 悩み：丸い「?」をやめ、吹き出し風の引用にする */
.a-worries { gap: 0; border-top: 1px solid var(--line); }
.a-worries li { padding: 14px 4px 14px 22px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.a-worries li::before { content: "「"; left: 0; top: 13px; transform: none; width: auto; height: auto; background: none; color: var(--sub); font-size: 16px; border-radius: 0; }
.a-worries li::after { content: "」"; color: var(--sub); }
.a-worries b { box-shadow: none; }
/* 流れ：カード＋矢印をやめ、罫線の番号リスト（.sb-rows）に */
.a-steps { gap: 0; }
.a-steps li { display: grid; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 0; box-shadow: none; }
.a-steps li:not(:last-child)::after { display: none; }
.a-steps b { font-size: 16px; }
/* ジャンル：3列、空きタイルなし */
.a-genres { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a-genres li > img { border-radius: 4px; }
.a-genres span { font-size: 13px; }
.a-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0 0; border-top: 2px solid var(--text); }
.a-stats div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.a-stats div:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--line); }
.a-stats div:nth-child(even) { padding-left: 14px; }
.a-stats dt { font-size: 12px; color: var(--sub); }
.a-stats dd { margin: 0; font-weight: 700; font-size: 24px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.a-stats small { font-size: 13px; margin-left: 2px; }
/* やらなかった理由：Q/A のラベル丸をやめ、問いと答えの2段に */
.a-reasons { gap: 0; border-top: 2px solid var(--text); }
.a-reason { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 16px 0; }
.a-reason__q { padding: 0; border: 0; background: none; font-size: 17px; }
.a-reason__q::before { content: "―"; margin: 0 6px 0 0; padding: 0; background: none; color: var(--sub); font-size: inherit; }
.a-reason__q::after { content: "から"; font-weight: 400; color: var(--sub); font-size: 14px; margin-left: 2px; }
.a-reason__a { padding: 6px 0 0; font-size: 15px; }
.a-reason__a::before { display: none; }
/* 特徴：左の青帯カードをやめ、罫線リストに */
.a-features { gap: 0; }
.a-feature { padding: 16px 0; border-left: 0; }
.a-feature .sb-h3 { display: block; font-size: 17px; box-shadow: none; }
.a-feature p:not(.a-feature__no) { margin: 4px 0 0; color: var(--sub); }
.a-form .sb-card { border-radius: 6px; }
@media (min-width: 600px) { body { background: #eef1f4; } }
.a-steps li { gap: 0 10px; }
.sb-case__img { aspect-ratio: auto; }

/* フォーム2ステップ（2026-11-10）。畳む側は [hidden] ではなくクラスで隠す（form.js の検査対象に残すため） */
.a-step { display: grid; gap: 18px; }
.a-step.is-collapsed { display: none; }
.a-step.is-in { animation: a-in .3s ease-out; }
@keyframes a-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .a-step.is-in { animation: none; } }
.a-step__no { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--sub); }
.a-step__no b { color: var(--blue-dark); font-size: 15px; margin-right: 2px; }
.a-back { justify-self: center; min-height: 44px; padding: 8px 12px; border: 0; background: none; color: var(--sub); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }

/* 11/11 夜：FVを実写写真に（管理画面は各特徴の横へ移動） */
.a-fv__photo { position: relative; margin: 18px -20px 0; }
.a-fv__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.a-fv__photo figcaption { position: absolute; right: 8px; bottom: 6px; font-size: 10px; color: #fff; text-shadow: 0 0 3px rgba(0,0,0,.6); }
.a-fv .a-fv__price { margin-top: 18px; }
.a-fv .sb-cta { margin-top: 16px; }
.a-fv__badges { margin-top: 16px; }
.a-feature__shot, .a-reason__shot { margin-top: 12px; }
