
  :root {
    --paper: #ffffff;
    --ink: #16202e;
    --sub: #55617a;
    --ai: #1f3f6e;        /* 藍: サイトの基調色 */
    --ai-deep: #152c4f;
    --ai-pale: #edf2f8;
    --line: #c5d0de;
    --shu: #d23b1e;       /* 朱: 申込ボタン専用。ほかには使わない */
    --shu-deep: #a52b13;
    --mark: #fff1b8;
    --gothic: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    --mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
    --w: 560px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { font-family: var(--gothic); font-size: 17px; line-height: 1.85; color: var(--ink); background: #dfe5ee; }
  a { color: var(--ai); }
  a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  /* ===== 共通の枠 ===== */
  .page { max-width: var(--w); margin: 0 auto; background: var(--paper); min-height: 100vh; }
  .pr { font-size: 13px; line-height: 1; color: var(--ink); background: #f3f3f3; padding: 7px 16px; letter-spacing: .08em; }
  .head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 2px solid var(--ai); }
  .site-name { font-family: var(--mincho); font-size: 22px; font-weight: 700; letter-spacing: .12em; color: var(--ai-deep); text-decoration: none; }
  .nav { font-size: 14.5px; }
  .nav a { margin-left: 14px; }
  .crumb { font-size: 13.5px; color: var(--sub); padding: 10px 16px 0; }
  .crumb a { color: var(--sub); }
  .body { padding: 20px 16px 32px; }
  .body p { margin-bottom: 1.1em; }
  .body h1 { font-family: var(--mincho); font-size: 27px; line-height: 1.5; letter-spacing: .04em; color: var(--ai-deep); margin-bottom: 16px; }
  .body h2 { font-size: 20px; line-height: 1.5; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--ai); }
  .body ol, .body ul { margin: 0 0 1.1em 1.4em; }
  .body li { margin-bottom: .5em; }

  .foot { background: var(--ai-deep); color: #fff; padding: 20px 16px 28px; font-size: 13.5px; line-height: 1.7; }
  .foot ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-bottom: 14px; }
  .foot a { color: #fff; }
  .foot .not-buyer { border-top: 1px solid rgba(255,255,255,.35); padding-top: 12px; }
  .foot .copy { margin-top: 10px; opacity: .8; }

  /* 確認日の印(このサイトの目印。事実の区画にだけ付ける) */
  .stamp { display: inline-block; border: 2px solid var(--ai); color: var(--ai); font-size: 12.5px; font-weight: 700; line-height: 1.35; padding: 4px 9px 3px; border-radius: 3px; text-align: center; letter-spacing: .06em; transform: rotate(-3deg); background: #fff; white-space: nowrap; flex-shrink: 0; }
  .stamp b { display: block; font-size: 14.5px; letter-spacing: .02em; }

  /* ボタン */
  .btn-apply { display: block; text-align: center; text-decoration: none; background: var(--shu); color: #fff; font-size: 19px; font-weight: 700; line-height: 1.4; padding: 15px 12px 13px; border-radius: 6px; border-bottom: 4px solid var(--shu-deep); }
  .btn-apply small { display: block; font-size: 13px; font-weight: 400; margin-top: 2px; }
  .btn-lp { display: block; text-align: center; text-decoration: none; background: var(--ai); color: #fff; font-size: 17px; font-weight: 700; padding: 14px 12px; border-radius: 6px; }

  /* ===== 広告LP(v3: 流れは手本の型・表現は当方。色は漫画から取る) ===== */
  .lp { --w: 500px; max-width: 500px; --fuji: #8e6bbf; --fuji-pale: #f3edfa; --fuji-line: #d6c6ea; --kinari: #fbf6ec; }
  .lp-pr { display: flex; justify-content: space-between; align-items: center; font-size: 13px; line-height: 1; padding: 7px 12px; background: #f3f3f3; letter-spacing: .06em; }
  .lp-pr span:last-child { font-family: var(--mincho); font-weight: 700; color: var(--ai-deep); letter-spacing: .1em; }

  .hero { background: linear-gradient(160deg, var(--ai) 0%, var(--ai-deep) 55%, #0e1f3a 100%); padding: 20px 14px 16px; text-align: center; }
  .hero-pill { display: inline-block; background: var(--shu); color: #fff; font-size: 22px; font-weight: 900; line-height: 1.3; letter-spacing: .12em; padding: 7px 26px 8px; border-radius: 999px; box-shadow: 0 3px 0 var(--shu-deep); }
  .hero-q { color: #ffd45c; font-size: 16px; font-weight: 900; letter-spacing: .08em; margin: 14px 0 12px; }
  .hero-co { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .hero-co li { background: #fff; border-radius: 8px; min-height: 50px; display: flex; align-items: center; justify-content: center; font-size: 21px; font-weight: 900; line-height: 1.3; color: var(--ink); }
  .hero-co img { display: block; width: auto; height: auto; max-width: 70%; max-height: 34px; }
  .hero-box { background: #fff; border-radius: 8px; margin-top: 10px; padding: 11px 8px; font-size: 18px; font-weight: 900; line-height: 1.5; color: var(--ink); }
  .hero-box span { background: var(--mark); padding: 0 3px; }
  .hero-box em { font-style: normal; color: var(--shu); }
  .hero-later { color: #fff; font-size: 13px; font-weight: 700; margin-top: 12px; }

  .open { background: var(--kinari); padding: 22px 18px 18px; border-bottom: 6px solid var(--fuji); }
  .open .to { display: inline-block; font-size: 14px; font-weight: 700; color: #fff; background: var(--fuji); padding: 3px 12px; border-radius: 3px; margin-bottom: 12px; }
  .open h1 { font-size: 27px; line-height: 1.5; font-weight: 900; color: var(--ai-deep); letter-spacing: .01em; }
  .open h1 em { font-style: normal; color: var(--shu); }

  .manga img { width: 100%; height: auto; display: block; margin-bottom: 4px; }
  .manga-cap { font-size: 12.5px; color: var(--sub); padding: 6px 16px 0; line-height: 1.6; }

  .read { padding: 24px 20px 8px; }
  .read p { margin-bottom: 1.1em; }
  .read .big { font-size: 22px; font-weight: 900; line-height: 1.55; color: var(--ai-deep); }
  .read .big em { font-style: normal; background: linear-gradient(transparent 62%, var(--fuji-line) 62%); }
  .read .todo { font-size: 15px; color: var(--sub); }

  .reveal { padding: 4px 16px 0; }
  .reveal-head { display: flex; justify-content: flex-end; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
  .reveal-head p { font-size: 13px; color: var(--sub); line-height: 1.6; }
  .rank { border: 3px solid #c9a24b; border-radius: 10px; overflow: hidden; margin-bottom: 24px; background: #fff; }
  .rank.r2 { border-color: #a3acb5; }
  .rank.r3 { border-color: #c08a5a; }
  .rank-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fbf1d4; }
  .rank.r2 .rank-head { background: #eceff2; }
  .rank.r3 .rank-head { background: #f5e6d6; }
  .rank-medal { width: 44px; height: 44px; border-radius: 50%; background: #c9a24b; color: #fff; font-size: 22px; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 3px solid #fff; box-shadow: 0 0 0 2px #c9a24b; }
  .rank.r2 .rank-medal { background: #8f99a3; box-shadow: 0 0 0 2px #8f99a3; }
  .rank.r3 .rank-medal { background: #b57f4f; box-shadow: 0 0 0 2px #b57f4f; }
  .rank-label { font-size: 13.5px; font-weight: 700; color: var(--fuji); line-height: 1.5; }
  .rank-name { font-size: 23px; font-weight: 900; line-height: 1.3; }
  .rank-img { background: #f0f0f0; border-bottom: 1px solid #e3e3e3; aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #777; text-align: center; padding: 10px; line-height: 1.6; }
  .rank-body { padding: 14px 14px 18px; }
  .rank-body ul { list-style: none; margin: 0 0 12px; }
  .rank-body li { position: relative; padding: 8px 0 8px 28px; font-size: 16px; font-weight: 700; border-bottom: 1px dashed #e6dccb; margin: 0; }
  .rank-body li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 6px; border-left: 3px solid var(--fuji); border-bottom: 3px solid var(--fuji); transform: rotate(-45deg); }
  .tokuten { border: 2px dashed #b08a00; background: var(--mark); border-radius: 6px; text-align: center; font-size: 13.5px; line-height: 1.6; padding: 8px 10px; margin-bottom: 12px; }
  .rank-note { font-size: 12.5px; color: var(--sub); line-height: 1.6; margin-top: 10px; }

  .btn-apply.round { border-radius: 60px; padding: 16px 10px 13px; }
  .btn-apply.pulse { animation: pulse 1.8s ease-in-out infinite; }
  @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
  @media (prefers-reduced-motion: reduce) { .btn-apply.pulse { animation: none; } }

  .lp-h2 { font-size: 21px; font-weight: 900; color: var(--ai-deep); margin: 30px 16px 14px; padding-left: 12px; border-left: 8px solid var(--fuji); line-height: 1.4; }
  .steps { list-style: none; counter-reset: s; margin: 0; padding: 0 16px; }
  .steps li { counter-increment: s; position: relative; background: var(--fuji-pale); border-radius: 6px; padding: 14px 14px 14px 60px; margin-bottom: 10px; }
  .steps li::before { content: counter(s); position: absolute; left: 14px; top: 16px; width: 34px; height: 34px; border-radius: 4px; background: var(--fuji); color: #fff; font-size: 18px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
  .steps strong { display: block; font-size: 17px; color: var(--ai-deep); }
  .steps span { font-size: 14.5px; color: var(--sub); line-height: 1.7; display: block; }

  /* 3つの物差しの図(v6で追加)。形は生成スクリプトが値から描く。色と文字はここで決める */
  .tri { padding: 14px 16px 2px; }
  .tri svg { display: block; width: 100%; max-width: 300px; margin: 0 auto; overflow: visible; }
  .tri-grid { fill: none; stroke: var(--line); stroke-width: 1; }
  .tri-shape { fill: var(--ai); fill-opacity: .16; stroke: var(--ai); stroke-width: 2; stroke-linejoin: round; }
  .tri-dot { fill: var(--ai); stroke: #fff; stroke-width: 2; }
  .tri-ax { font-size: 13px; font-weight: 700; fill: var(--ink); }
  .tri-v { font-size: 13.5px; font-weight: 700; fill: var(--ai); }
  .tri-s { font-size: 11px; fill: var(--sub); }
  .basis p { margin-top: 8px; }

  .push { padding: 18px 16px 26px; text-align: center; background: var(--kinari); margin-top: 22px; }
  .push-lead { font-size: 17px; font-weight: 900; color: var(--ai-deep); margin-bottom: 10px; line-height: 1.6; }
  .push-cap { font-size: 12.5px; color: var(--sub); margin-top: 10px; }

  .qa { padding: 0 16px 8px; }
  .qa-box { border-bottom: 1px solid var(--fuji-line); padding: 14px 2px; }
  .qa-q { font-weight: 900; color: var(--ai-deep); font-size: 16.5px; margin-bottom: 6px; line-height: 1.6; padding-left: 30px; position: relative; }
  .qa-q::before { content: "Q"; position: absolute; left: 0; top: 1px; color: var(--fuji); font-size: 20px; line-height: 1.3; }
  .qa-a { font-size: 15.5px; padding-left: 30px; color: var(--sub); }

  .close { padding: 26px 20px 22px; text-align: center; font-size: 19px; font-weight: 900; line-height: 1.8; color: var(--ai-deep); }
  .basis { background: var(--ai-pale); border-radius: 6px; padding: 14px; font-size: 14px; line-height: 1.75; margin: 0 16px 8px; }
  .basis strong { display: block; margin-bottom: 4px; }
  .notes { padding: 16px 20px; font-size: 12px; color: #777; line-height: 1.8; border-top: 1px solid #eee; }
  .lp .foot { padding-bottom: 112px; }

  .sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.96); box-shadow: 0 -4px 12px rgba(0,0,0,.12); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); transform: translateY(120%); transition: transform .35s ease; }
  .sticky.show { transform: translateY(0); }
  .sticky .btn-apply { max-width: 476px; margin: 0 auto; font-size: 18px; padding: 10px 10px 8px; }
  .sticky .btn-apply small { font-size: 12.5px; }
  @media (prefers-reduced-motion: reduce) { .sticky { transition: none; } }

  
.hero-co a { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; color: inherit; text-decoration: none; }
.hero-box a, .hero-later a { color: inherit; text-decoration: none; display: block; }
.rank-img a { display: block; }
.rank-img img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
