@charset "UTF-8";
/* ==========================================================================
   ワンコインSEO リニューアル - 共通スタイルシート
   設計方針: フレームワーク非依存 / CSS変数 / モバイルファースト / CWV最適化
   ========================================================================== */

/* --- 1. デザイントークン ------------------------------------------------- */
:root {
  --navy-900: #0b1b33;
  --navy-800: #12294b;
  --navy-700: #1b3a66;
  --navy-600: #24507f;
  --navy-050: #eef3fa;

  --coin-600: #b8860b;
  --coin-500: #d4a017;
  --coin-400: #eab834;
  --coin-050: #fdf6e3;

  --red-600: #c0392b;
  --red-050: #fdeeec;
  --green-600: #1e7d5a;
  --green-050: #e8f6f0;

  --ink-900: #14181f;
  --ink-700: #384252;
  --ink-500: #5f6b7c;
  --ink-300: #a7b0bd;
  --line: #dfe4ec;
  --line-soft: #edf0f5;
  --bg: #ffffff;
  --bg-soft: #f7f9fc;

  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "YuGothic", "Noto Sans JP", "Meiryo", system-ui, -apple-system, sans-serif;
  --font-num: "Helvetica Neue", Arial, var(--font-sans);

  --wrap: 1120px;
  --wrap-narrow: 760px;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 2px 8px rgba(11, 27, 51, .05);
  --shadow-md: 0 4px 12px rgba(11, 27, 51, .08), 0 12px 32px rgba(11, 27, 51, .07);
  --shadow-cta: 0 6px 0 var(--coin-600), 0 10px 24px rgba(184, 134, 11, .3);
}

/* --- 2. リセット / ベース ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-900);
  background: var(--bg);
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--navy-600); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.4em; padding-left: 1.4em; }
li { margin-bottom: .4em; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--coin-500); outline-offset: 2px; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.4rem, var(--wrap-narrow)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.num { font-family: var(--font-num); font-weight: 700; letter-spacing: -.02em; }

/* --- 3. ヘッダー / ナビゲーション ---------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }

/* 公式ロゴ画像。高さ基準で表示し、幅は元画像の比率を保つ。
   ※CLS対策として、実画像のサイズが分かったら
     .logo-img に aspect-ratio を指定するか、HTML側に width/height を追加してください。 */
.logo-img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
@media (max-width: 420px) {
  .logo-img { height: 28px; max-width: 160px; }
}

.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text b { font-size: 1.0625rem; color: var(--navy-900); }
.logo-text small { font-size: .625rem; color: var(--ink-500); letter-spacing: .04em; }
@media (max-width: 520px) { .logo-text { display: none; } }

/* 旧・CSSで描画していたコインマーク（現在は未使用。favicon等で流用可） */
.logo-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(145deg, var(--coin-400), var(--coin-600));
  color: #fff; font-weight: 700; font-size: 13px;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,.2);
}

.nav-toggle {
  margin-left: auto; display: grid; place-items: center;
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy-900); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy-900);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.15rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-size: .875rem; font-weight: 500; color: var(--ink-700);
  text-decoration: none; padding: .35rem 0; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy-800); border-bottom-color: var(--coin-500); }

.header-cta { display: none; }
@media (min-width: 1000px) {
  .header-cta {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--coin-500); color: #fff; font-weight: 700; font-size: .875rem;
    padding: .65rem 1.1rem; border-radius: 999px; text-decoration: none; flex-shrink: 0;
  }
  .header-cta:hover { background: var(--coin-600); color: #fff; }
  .nav-toggle { display: none; }
}
@media (max-width: 999px) {
  .site-nav {
    position: fixed; inset: 64px 0 auto; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: calc(100dvh - 64px); overflow-y: auto; display: none;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.2rem 1.5rem; }
  .site-nav li { margin: 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav a { display: block; padding: .95rem .2rem; font-size: 1rem; }
}

/* --- 4. ボタン ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-size: 1.0625rem; font-weight: 700; line-height: 1.4;
  padding: 1.05rem 2rem; border-radius: 999px; border: 0;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--coin-400), var(--coin-500));
  color: #3d2b00; box-shadow: var(--shadow-cta);
}
.btn-primary:hover { color: #3d2b00; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--coin-600); }
.btn-secondary { background: #fff; color: var(--navy-800); border: 2px solid var(--navy-700); }
.btn-secondary:hover { background: var(--navy-050); color: var(--navy-900); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-lg { font-size: 1.1875rem; padding: 1.2rem 2.6rem; }
.btn-block { display: flex; width: 100%; }
.btn-sub { display: block; font-size: .75rem; font-weight: 500; opacity: .85; margin-top: .15rem; }

/* --- 5. ヒーロー --------------------------------------------------------- */
/* overflow は hidden にしないこと。.checker が margin-bottom:-2.5rem で
   ヒーローの外へはみ出して信頼バーに重なる設計のため、hidden にすると
   モバイル（1カラム時）に送信ボタンが切れる。 */
.hero {
  position: relative;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(212,160,23,.22), transparent 60%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  padding: 3rem 0 0;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 940px) {
  .hero { padding-top: 4.25rem; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 3.5rem; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(1.75rem, 5.2vw, 2.875rem);
  line-height: 1.35; letter-spacing: -.02em; margin-bottom: 1.1rem; color: #fff;
}
.hero h1 .hl { color: var(--coin-400); background: linear-gradient(transparent 62%, rgba(212,160,23,.28) 62%); }
.hero-lead { font-size: 1.0625rem; color: rgba(255,255,255,.88); margin-bottom: 1.75rem; }
.hero-lead b { color: #fff; }

.hero-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg); padding: 1.1rem 1.35rem; margin-bottom: 1.6rem;
}
.hero-price dt { font-size: .8125rem; color: rgba(255,255,255,.75); margin: 0; }
.hero-price dd { margin: 0; }
.hero-price .big { font-size: 2.25rem; color: var(--coin-400); }
.hero-price .unit { font-size: .9375rem; font-weight: 500; }
.hero-price .sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.2); }

/* 初月0円の強調 */
.num.is-free { color: var(--coin-400); }
.trustbar-grid .t-num.is-free { color: var(--coin-600); }
.free-badge {
  display: inline-flex; align-items: baseline; gap: .3rem;
  background: var(--coin-050); color: var(--coin-600);
  border: 1.5px solid var(--coin-500); border-radius: 999px;
  padding: .3rem .8rem; font-size: .8125rem; font-weight: 700;
  line-height: 1.2; white-space: nowrap;
}
.free-badge b { font-family: var(--font-num); font-size: 1rem; }
.hero .free-badge { background: rgba(212,160,23,.16); color: var(--coin-400); border-color: rgba(234,184,52,.55); }
.price-card .free-line {
  margin: -.4rem 0 .9rem; font-size: .875rem; font-weight: 700; color: var(--coin-600);
}

.hero-actions { display: grid; gap: .75rem; }
@media (min-width: 560px) { .hero-actions { grid-template-columns: 1fr auto; align-items: center; } }
.hero-note { font-size: .8125rem; color: rgba(255,255,255,.7); margin: 1rem 0 0; }

.checker {
  background: #fff; color: var(--ink-900);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 1.5rem 1.4rem 1.35rem; margin-bottom: -2.5rem; position: relative; z-index: 2;
}
.checker h2 { font-size: 1.0625rem; margin-bottom: .3rem; color: var(--navy-900); }
.checker .checker-sub { font-size: .8125rem; color: var(--ink-500); margin-bottom: 1.1rem; }
.checker-fields { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; margin-bottom: .85rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field label { font-size: .75rem; font-weight: 700; color: var(--ink-700); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: .8rem .85rem;
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-900);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy-600); outline: none; box-shadow: 0 0 0 3px rgba(36,80,127,.14);
}
.field .hint { font-size: .6875rem; color: var(--ink-500); }
.checker-result { display: none; margin-top: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); font-size: .9375rem; }
.checker-result[data-state="ok"] { display: block; background: var(--green-050); border: 1px solid #b9e0d0; }
.checker-result[data-state="ng"] { display: block; background: var(--red-050); border: 1px solid #f3c6c0; }
.checker-result strong { display: block; margin-bottom: .3rem; }
.checker-result .r-price { font-family: var(--font-num); font-size: 1.5rem; font-weight: 700; color: var(--navy-800); }

/* キーワード入力欄（数に応じて2つ目・3つ目を表示） */
[hidden] { display: none !important; }
.kw-row-label {
  font-size: .8125rem; font-weight: 700; color: var(--ink-700);
  margin: 0 0 .5rem; padding-top: .2rem;
  border-top: 1px solid var(--line-soft);
}
.kw-row[data-kw-row="1"] .kw-row-label { border-top: 0; padding-top: 0; }
.kw-row[data-kw-row="1"] .kw-row-label + .checker-fields { margin-top: 0; }
.kw-row + .kw-row .kw-row-label { padding-top: .9rem; }

/* 複数キーワードの判定結果リスト */
.check-list { list-style: none; margin: .5rem 0 .9rem; padding: 0; }
.check-list li {
  display: flex; gap: .55rem; align-items: center;
  padding: .5rem 0; border-top: 1px solid rgba(0,0,0,.07); font-size: .9375rem;
}
.check-list li:first-child { border-top: 0; }
.check-list .kw { flex: 1 1 auto; font-weight: 700; color: var(--navy-900); word-break: break-word; }
.check-list .st { flex: 0 0 auto; font-size: .75rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; white-space: nowrap; }
.check-list .st[data-s="ok"] { background: var(--green-050); color: var(--green-600); }
.check-list .st[data-s="taken"] { background: var(--red-050); color: var(--red-600); }
.check-list .st[data-s="single"],
.check-list .st[data-s="unknown"] { background: var(--coin-050); color: var(--coin-600); }

/* 下層ページの先頭ブロック。main.js がスティッキーCTAの表示判定に使う目印。 */
.page-head { position: relative; }

/* --- 記事末尾の関連記事 -------------------------------------------------- */
.related {
  margin-top: 3rem; padding: 1.5rem 1.6rem;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.related h2 { font-size: 1.125rem; margin: 0 0 .9rem; color: var(--navy-900); }
.related .linklist { margin-bottom: 0; }

/* --- 記事内の図版（インラインSVG） -------------------------------------- */
.fig { margin: 2rem 0; }
.fig-svg {
  display: block; width: 100%; height: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.fig-svg text { font-family: inherit; }
.fig figcaption {
  font-size: .8125rem; color: var(--ink-500);
  margin-top: .6rem; padding-left: .9rem;
  border-left: 3px solid var(--line);
  line-height: 1.7;
}
/* 横並びの図はスマホで文字が潰れるため、はみ出す場合は横スクロールさせる */
@media (max-width: 560px) {
  .fig { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .fig-svg { min-width: 520px; }
  .fig figcaption { min-width: 0; }
}

/* --- 6. 信頼バー --------------------------------------------------------- */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 4rem 0 1.75rem; }
.trustbar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 800px) { .trustbar-grid { grid-template-columns: repeat(4, 1fr); } }
.trustbar-grid li { margin: 0; text-align: center; padding: .5rem; }
.trustbar-grid .t-num { display: block; font-family: var(--font-num); font-size: 1.75rem; font-weight: 700; color: var(--navy-800); line-height: 1.2; }
.trustbar-grid .t-num small { font-size: .8125rem; font-weight: 700; }
.trustbar-grid .t-label { display: block; font-size: .8125rem; color: var(--ink-500); margin-top: .15rem; }

/* --- 7. セクション共通 --------------------------------------------------- */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-900); color: rgba(255,255,255,.9); }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 44rem; margin: 0 auto 2.75rem; text-align: center; }
.section-head .kicker { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--coin-600); margin-bottom: .6rem; }
.section-navy .section-head .kicker { color: var(--coin-400); }
.section-head h2 { font-size: clamp(1.5rem, 4vw, 2.125rem); margin-bottom: .7rem; }
.section-head p { font-size: 1rem; color: var(--ink-500); margin: 0; }
.section-navy .section-head p { color: rgba(255,255,255,.72); }

/* --- 8. カード / グリッド ------------------------------------------------ */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); }
.card h3 { font-size: 1.125rem; margin-bottom: .55rem; color: var(--navy-900); }
.card p { font-size: .9375rem; color: var(--ink-700); }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy-050); color: var(--navy-700); font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem;
}
.card-num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--coin-500); color: #fff; font-family: var(--font-num); font-size: .9375rem; margin-bottom: .85rem;
}

/* --- 9. 料金表 ----------------------------------------------------------- */
.price-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { min-width: 620px; font-size: .9375rem; background: #fff; }
.price-table caption { text-align: left; font-size: .8125rem; color: var(--ink-500); padding-bottom: .6rem; }
.price-table th, .price-table td { border: 1px solid var(--line); padding: .95rem 1rem; text-align: center; }
.price-table thead th { background: var(--navy-800); color: #fff; font-size: .875rem; font-weight: 700; }
.price-table tbody th { background: var(--bg-soft); text-align: left; font-weight: 700; white-space: nowrap; }
.price-table .own { background: var(--coin-050); }
.price-table .own-head { background: var(--coin-600); }
.price-table .yen { font-family: var(--font-num); font-size: 1.125rem; font-weight: 700; color: var(--navy-800); }
.price-table .o { color: var(--green-600); font-weight: 700; }
.price-table .x { color: var(--ink-300); }

.price-cards { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .price-cards { grid-template-columns: repeat(3, 1fr); } }
.price-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; text-align: center; position: relative; }
.price-card.is-pick { border-color: var(--coin-500); border-width: 2.5px; box-shadow: var(--shadow-md); }
.price-card .badge {
  position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%);
  background: var(--coin-500); color: #fff; font-size: .75rem; font-weight: 700;
  padding: .3rem 1rem; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1rem; color: var(--ink-500); margin-bottom: .5rem; }
.price-card .p-amount { font-family: var(--font-num); font-size: 2.5rem; font-weight: 700; color: var(--navy-900); line-height: 1.1; }
.price-card .p-amount small { font-size: .875rem; font-weight: 500; color: var(--ink-500); }
.price-card .p-daily { font-size: .8125rem; color: var(--coin-600); font-weight: 700; margin: .35rem 0 1.1rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.35rem; text-align: left; font-size: .875rem; }
.price-card li { padding-left: 1.5rem; position: relative; }
.price-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }

/* --- 10. 返金保証パネル -------------------------------------------------- */
.guarantee {
  border: 3px solid var(--coin-500); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--coin-050), #fff);
  padding: 2rem 1.75rem; display: grid; gap: 1.5rem;
}
@media (min-width: 820px) { .guarantee { grid-template-columns: auto 1fr; align-items: center; padding: 2.5rem; } }
.guarantee-seal {
  display: grid; place-items: center; text-align: center;
  width: 138px; height: 138px; margin-inline: auto; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--coin-400), var(--coin-600));
  color: #fff; box-shadow: inset 0 -4px 10px rgba(0,0,0,.22), var(--shadow-md);
  font-weight: 700; line-height: 1.3;
}
.guarantee-seal .s-top { font-size: .8125rem; }
.guarantee-seal .s-main { font-size: 1.5rem; letter-spacing: -.02em; }
.guarantee-seal .s-sub { font-size: .6875rem; opacity: .9; }
.guarantee h2 { font-size: 1.5rem; color: var(--navy-900); }
.guarantee p { font-size: .9375rem; color: var(--ink-700); margin-bottom: .8rem; }
.guarantee p:last-child { margin-bottom: 0; }

/* --- 11. 実績 / 証拠 ----------------------------------------------------- */
.proof-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.proof-card .p-head { padding: 1.1rem 1.25rem .85rem; border-bottom: 1px solid var(--line-soft); }
.proof-card .p-industry { font-size: .6875rem; font-weight: 700; color: var(--coin-600); letter-spacing: .06em; }
.proof-card .p-kw { font-size: 1.0625rem; font-weight: 700; color: var(--navy-900); margin: .2rem 0 0; }
.proof-card .p-body { padding: 1.1rem 1.25rem 1.35rem; }
.proof-rank { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-bottom: .9rem; }
.proof-rank .r-box { text-align: center; }
.proof-rank .r-label { display: block; font-size: .6875rem; color: var(--ink-500); }
.proof-rank .r-val { font-family: var(--font-num); font-size: 1.75rem; font-weight: 700; color: var(--ink-300); }
.proof-rank .r-box.is-now .r-val { color: var(--green-600); font-size: 2.25rem; }
.proof-rank .arrow { color: var(--coin-500); font-size: 1.5rem; }
.proof-card .p-meta { font-size: .75rem; color: var(--ink-500); margin: 0; text-align: center; }
.proof-card .p-capture { margin: 0 0 .8rem; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.proof-card .p-capture img { display: block; width: 100%; height: auto; }
.proof-rank .r-val small { font-size: .75rem; font-weight: 500; margin-left: .1em; }

/* --- 12. 申込フロー / ステップ ------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.25rem 1.25rem; margin: 0;
}
.steps li::before {
  content: "STEP " counter(step); display: block;
  font-family: var(--font-num); font-size: .6875rem; font-weight: 700;
  color: var(--coin-600); letter-spacing: .08em; margin-bottom: .5rem;
}
.steps li b { display: block; font-size: 1rem; color: var(--navy-900); margin-bottom: .35rem; }
.steps li span { font-size: .875rem; color: var(--ink-700); }

/* --- 13. FAQ ------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1.15rem .25rem; cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 700; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; flex-shrink: 0;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-family: var(--font-num); font-size: .8125rem; margin-top: .15rem;
}
.faq summary::after { content: "\FF0B"; margin-left: auto; flex-shrink: 0; color: var(--coin-600); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { display: flex; gap: .75rem; padding: 0 .25rem 1.4rem 0; }
.faq .a::before {
  content: "A"; flex-shrink: 0;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--coin-500); color: #fff; font-family: var(--font-num); font-size: .8125rem;
}
.faq .a > div { font-size: .9375rem; color: var(--ink-700); }
.faq .a p:last-child { margin-bottom: 0; }

/* --- 14. 申込実績フィード ------------------------------------------------ */
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.feed li {
  display: flex; align-items: center; gap: .75rem; margin: 0;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: .7rem .95rem; font-size: .875rem;
}
.feed .f-dot { width: 8px; height: 8px; border-radius: 50%; background: #43d18a; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(67,209,138,.2); }
.feed .f-date { font-family: var(--font-num); font-size: .75rem; color: rgba(255,255,255,.6); margin-left: auto; white-space: nowrap; }

/* --- 15. 最終CTA -------------------------------------------------------- */
.cta-final {
  background:
    radial-gradient(700px 340px at 80% 0%, rgba(212,160,23,.25), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff; padding: 4.5rem 0; text-align: center;
}
.cta-final h2 { font-size: clamp(1.5rem, 4.4vw, 2.25rem); color: #fff; margin-bottom: .9rem; }
.cta-final p { color: rgba(255,255,255,.82); font-size: 1rem; max-width: 40rem; margin-inline: auto; }
.cta-final .cta-actions { display: grid; gap: .85rem; max-width: 30rem; margin: 2rem auto 1.25rem; }
.cta-tel { font-size: .875rem; color: rgba(255,255,255,.75); }
.cta-tel a { color: #fff; font-family: var(--font-num); font-size: 1.375rem; font-weight: 700; text-decoration: none; }

/* --- 16. 記事本文（ピラーページ） --------------------------------------- */
.article { font-size: 1.0625rem; }
.article h2 { font-size: clamp(1.375rem, 3.4vw, 1.75rem); margin: 3rem 0 1.1rem; padding-bottom: .55rem; border-bottom: 3px solid var(--navy-800); }
.article h3 { font-size: 1.1875rem; margin: 2.25rem 0 .8rem; padding-left: .7rem; border-left: 4px solid var(--coin-500); }
.article h4 { font-size: 1.0625rem; margin: 1.75rem 0 .6rem; color: var(--navy-800); }
.article > p { color: var(--ink-700); }
.article li { color: var(--ink-700); }
.article strong { background: linear-gradient(transparent 62%, rgba(212,160,23,.32) 62%); }

.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; margin: 2rem 0 2.5rem; }
.toc > b { display: block; font-size: 1rem; color: var(--navy-900); margin-bottom: .8rem; }
.toc ol { margin: 0; padding-left: 1.35rem; font-size: .9375rem; }
.toc ol ol { margin-top: .3rem; padding-left: 1.2rem; font-size: .875rem; }
.toc a { color: var(--navy-700); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.callout { border-left: 4px solid var(--navy-600); background: var(--navy-050); padding: 1.2rem 1.35rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.75rem 0; font-size: .9375rem; }
.callout b { color: var(--navy-800); }
.callout p:last-child { margin-bottom: 0; }
.callout.is-warn { border-left-color: var(--red-600); background: var(--red-050); }
.callout.is-good { border-left-color: var(--green-600); background: var(--green-050); }

.inline-cta {
  background: linear-gradient(180deg, var(--coin-050), #fff);
  border: 2px solid var(--coin-500); border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem; margin: 2.5rem 0; text-align: center;
}
.inline-cta b { display: block; font-size: 1.125rem; color: var(--navy-900); margin-bottom: .4rem; }
.inline-cta p { font-size: .9375rem; color: var(--ink-700); margin-bottom: 1.2rem; }

.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .8125rem; color: var(--ink-500); border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; margin-bottom: 2rem; }
.article-meta .author { display: flex; align-items: center; gap: .5rem; color: var(--ink-700); font-weight: 700; }
/* 著者アイコン。HTMLに文字を置くとテキスト抽出時に「山山岸 裕」と
   重複して読まれるため、CSSの装飾として描画する。 */
.article-meta .author::before {
  content: "山";
  display: grid; place-items: center; flex: 0 0 auto;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy-800); color: #fff; font-size: .75rem;
}

/* --- 17. パン粉 / 関連リンク -------------------------------------------- */
.breadcrumb { font-size: .75rem; color: var(--ink-500); padding: .85rem 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "\203A"; margin-right: .4rem; color: var(--ink-300); }
.breadcrumb a { color: var(--ink-500); }

.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
@media (min-width: 760px) { .linklist { grid-template-columns: repeat(2, 1fr); } }
.linklist li { margin: 0; }
.linklist a {
  display: flex; align-items: center; gap: .6rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem;
  font-size: .9375rem; font-weight: 500; color: var(--navy-800); text-decoration: none;
}
.linklist a:hover { border-color: var(--navy-600); background: var(--navy-050); }
.linklist a::before { content: "\203A"; color: var(--coin-600); font-weight: 700; }

/* --- 18. 申込フォーム（ステップ式） ------------------------------------- */
.formwrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 1.75rem 1.5rem 2rem; }
@media (min-width: 760px) { .formwrap { padding: 2.5rem; } }
.progress { display: flex; gap: .4rem; margin-bottom: 2rem; list-style: none; padding: 0; }
.progress li { flex: 1; margin: 0; text-align: center; font-size: .75rem; color: var(--ink-300); font-weight: 700; }
.progress li::before { content: ""; display: block; height: 5px; border-radius: 3px; background: var(--line); margin-bottom: .5rem; }
.progress li[data-done="true"] { color: var(--navy-800); }
.progress li[data-done="true"]::before { background: var(--coin-500); }

.fstep { display: none; }
.fstep[data-active="true"] { display: block; }
.fstep h2 { font-size: 1.25rem; color: var(--navy-900); margin-bottom: .35rem; }
.fstep > p.step-lead { font-size: .875rem; color: var(--ink-500); margin-bottom: 1.6rem; }
.fields { display: grid; gap: 1.15rem; margin-bottom: 1.75rem; }
.fields.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .fields.cols-2 { grid-template-columns: 1fr 1fr; } }
.req { color: var(--red-600); font-size: .6875rem; margin-left: .3rem; }
.opt { color: var(--ink-300); font-size: .6875rem; margin-left: .3rem; font-weight: 500; }
.radio-cards { display: grid; gap: .6rem; }
@media (min-width: 620px) { .radio-cards { grid-template-columns: repeat(3, 1fr); } }
.radio-cards label { display: block; border: 1.5px solid var(--line); border-radius: var(--radius); padding: .95rem 1rem; cursor: pointer; font-size: .9375rem; font-weight: 700; color: var(--ink-700); }
.radio-cards label:hover { border-color: var(--navy-600); }
.radio-cards input { margin-right: .5rem; accent-color: var(--navy-700); }
.radio-cards label small { display: block; font-weight: 500; font-size: .75rem; color: var(--ink-500); margin-top: .25rem; padding-left: 1.4rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.form-actions .btn { flex: 1 1 12rem; }
.consent { font-size: .8125rem; color: var(--ink-700); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; margin-bottom: 1.5rem; }
.consent label { display: flex; gap: .55rem; align-items: flex-start; font-weight: 700; }
.consent input { margin-top: .35rem; accent-color: var(--navy-700); }
.consent-error { display: none; margin: .7rem 0 0; padding-left: 1.55rem; color: var(--red-600); font-weight: 700; }
.consent[data-error="true"] { border-color: var(--red-600); background: var(--red-050); }
.consent[data-error="true"] .consent-error { display: block; }

.summary-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.35rem; margin-bottom: 1.75rem; font-size: .9375rem; }
.summary-box dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; }
.summary-box dt { color: var(--ink-500); font-size: .8125rem; }
.summary-box dd { margin: 0; font-weight: 700; color: var(--navy-900); }

/* --- 19. スティッキーCTA（モバイル） ----------------------------------- */
.sticky-cta {
  position: fixed; inset: auto 0 0; z-index: 90;
  display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: center;
  background: rgba(11,27,51,.97); backdrop-filter: blur(6px);
  padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.14);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta[data-show="true"] { transform: translateY(0); }
.sticky-cta .s-tel { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; font-size: 1.25rem; }
.sticky-cta .btn { padding: .85rem 1rem; font-size: .9375rem; }
@media (min-width: 1000px) { .sticky-cta { display: none; } }

/* --- 20. フッター ------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 3rem 0 1.5rem; font-size: .875rem; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; } }
.site-footer h3 { font-size: .8125rem; color: #fff; letter-spacing: .06em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-company { font-size: .8125rem; line-height: 1.9; }
.footer-company .f-name { color: #fff; font-weight: 700; font-size: .9375rem; }
.footer-company .f-tel { font-family: var(--font-num); color: #fff; font-size: 1.125rem; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.25rem; font-size: .75rem; color: rgba(255,255,255,.5); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between; }

/* --- 21. ユーティリティ ------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.mt-3 { margin-top: 3rem; } .mb-3 { margin-bottom: 3rem; }
.ta-c { text-align: center; }
.small { font-size: .8125rem; color: var(--ink-500); }
.tag { display: inline-block; font-size: .6875rem; font-weight: 700; padding: .2rem .6rem; border-radius: 4px; background: var(--navy-050); color: var(--navy-700); }
.tag.is-new { background: var(--red-050); color: var(--red-600); }

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