/* ═══════════════════════════════════════════
     色。藍が主、朱は「消す・元の状態」にだけ使う
     ═══════════════════════════════════════════ */
  :root {
    color-scheme: light;
    --paper:     #F7F6F2;
    --paper-2:   #EFEDE6;
    --paper-3:   #E5E2D8;
    --ink:       #17191C;
    --ink-2:     #4A4E55;
    --ink-3:     #767B83;
    --rule:      #DAD7CD;
    --rule-2:    #B7B3A6;
    --indigo:      #1E4A6E;
    --indigo-deep: #143451;
    --indigo-soft: #E0E7EF;
    --vermilion:   #B4432E;
    --vermilion-soft: #F2E3DE;
    --on-indigo: #FBFAF7;

    --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
    --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;

    --measure: 34em;
    --sp: clamp(52px, 9.5vw, 84px);
    --gutter: 20px;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      color-scheme: dark;
      --paper:     #14171A;
      --paper-2:   #1C2026;
      --paper-3:   #242A32;
      --ink:       #ECEAE4;
      --ink-2:     #B5B9BF;
      --ink-3:     #848A92;
      --rule:      #2B3038;
      --rule-2:    #464C56;
      --indigo:      #8FB6DE;
      --indigo-deep: #B2CEEC;
      --indigo-soft: #1A2938;
      --vermilion:   #E4907A;
      --vermilion-soft: #33211C;
      --on-indigo: #10151A;
    }
  }
  :root[data-theme="dark"] {
    color-scheme: dark;
    --paper:     #14171A;
    --paper-2:   #1C2026;
    --paper-3:   #242A32;
    --ink:       #ECEAE4;
    --ink-2:     #B5B9BF;
    --ink-3:     #848A92;
    --rule:      #2B3038;
    --rule-2:    #464C56;
    --indigo:      #8FB6DE;
    --indigo-deep: #B2CEEC;
    --indigo-soft: #1A2938;
    --vermilion:   #E4907A;
    --vermilion-soft: #33211C;
    --on-indigo: #10151A;
  }

  /* ═══ 土台 ═══ */
  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--gothic);
    font-size: 16px;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
    overflow-x: clip;
  }
  ::selection { background: var(--indigo-soft); color: var(--ink); }
  p { margin: 0; text-wrap: pretty; }
  p + p { margin-top: 1em; }
  h1, h2, h3, h4 { font-feature-settings: "palt"; margin: 0; }
  img { max-width: 100%; height: auto; display: block; }

  a { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px;
      text-underline-offset: .2em; text-decoration-color: var(--rule-2); }
  a:hover { text-decoration-color: currentColor; }
  :is(a, button, summary, input, textarea, .chip) :focus-visible,
  a:focus-visible, button:focus-visible, summary:focus-visible,
  input:focus-visible, textarea:focus-visible, .chip:has(:focus-visible) {
    outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 2px;
  }
  :target { scroll-margin-top: 96px; }

  .wrap { width: 100%; max-width: 760px; margin-inline: auto; padding-inline: var(--gutter); }
  .band { background: var(--paper-2); }
  .band-3 { background: var(--paper-3); }

  .eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .16em; line-height: 1.5;
    color: var(--indigo); margin-bottom: 14px;
  }
  .eyebrow::before { content: ""; flex: 0 0 20px; height: 1px; background: currentColor; }

  section { padding-block: var(--sp); }
  section > .wrap > h2, h2.sec {
    font-family: var(--mincho); font-weight: 700;
    font-size: clamp(23px, 5.8vw, 30px); line-height: 1.42; letter-spacing: .01em;
    margin-bottom: 20px; text-wrap: balance;
  }
  .lede { color: var(--ink-2); max-width: var(--measure); margin-bottom: 34px; }

  /* ═══ 上部の追従バー ═══ */
  .topbar {
    position: fixed; inset: 0 0 auto 0; z-index: 30;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
    transform: translateY(-101%); visibility: hidden;
  }
  .topbar.is-on { transform: none; visibility: visible; }
  .topbar .wrap { display: flex; align-items: center; gap: 14px; min-height: 56px; padding-block: 8px; }
  .topbar .nm { font-family: var(--mincho); font-weight: 700; font-size: 17px; letter-spacing: .02em; }
  .topbar .nm small { font-family: var(--gothic); font-weight: 500; font-size: 12px; color: var(--ink-3); margin-left: 10px; letter-spacing: .02em; }
  .topbar .sp { flex: 1 1 auto; }
  .topbar .mini {
    flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px;
    background: var(--indigo); color: var(--on-indigo); border-radius: 3px;
    font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: .02em;
  }
  .topbar .mini:hover { background: var(--indigo-deep); }

  /* ═══ 冒頭 ═══ */
  .hero { padding-block: clamp(26px, 5vw, 42px) clamp(44px, 8vw, 66px); }
  .nameline {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
    padding-block: 4px 14px; border-bottom: 1px solid var(--rule);
    font-size: 13px; letter-spacing: .06em; color: var(--ink-2); line-height: 1.7;
  }
  .nameline b { font-family: var(--mincho); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: .04em; }
  .nameline .kana { font-size: 11.5px; color: var(--ink-3); letter-spacing: .1em; }

  .hero h1 {
    font-family: var(--mincho); font-weight: 800;
    font-size: clamp(31px, 7.6vw, 50px); line-height: 1.34; letter-spacing: .005em;
    margin-block: clamp(38px, 8vw, 60px) 24px; text-wrap: balance;
  }
  .hero h1 .sub {
    display: block; font-size: clamp(19px, 4.4vw, 27px); font-weight: 700;
    color: var(--ink-2); margin-top: .34em; letter-spacing: .01em;
  }
  .hero .pitch { font-size: 17.5px; line-height: 1.8; max-width: 32em; color: var(--ink); }
  .hero .pitch em { font-style: normal; font-weight: 700; }

  .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
  .facts span {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 700; letter-spacing: .02em; line-height: 1.5;
    color: var(--ink-2); background: var(--paper-2);
    border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px 6px 11px;
  }
  .facts span::before {
    content: ""; flex: 0 0 auto; width: 13px; height: 7px;
    border-left: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo);
    transform: rotate(-45deg) translate(1px, -2px);
  }

  /* CTA */
  .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; max-width: 33em; }
  .btn {
    flex: 1 1 15em;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 58px; padding: 12px 24px;
    background: var(--indigo); color: var(--on-indigo);
    font-family: inherit; font-size: 16.5px; font-weight: 700; letter-spacing: .03em; line-height: 1.35;
    border: 0; border-radius: 4px; text-decoration: none; cursor: pointer; text-align: center;
  }
  .btn:hover { background: var(--indigo-deep); text-decoration: none; }
  .btn .arw { font-size: 14px; opacity: .85; }
  .btn small { display: block; font-size: 12.5px; font-weight: 500; opacity: .88; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
  .btn.ghost { background: transparent; color: var(--indigo); box-shadow: inset 0 0 0 1.5px var(--indigo); }
  .btn.ghost:hover { background: var(--indigo-soft); }
  .undercta { margin-top: 14px; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); max-width: 33em; }
  .undercta b { color: var(--ink); font-weight: 700; }

  /* 顔写真 */
  .me { display: flex; align-items: center; gap: 16px; margin-top: clamp(34px, 7vw, 48px);
        padding-top: 22px; border-top: 1px solid var(--rule); }
  .me .ph {
    flex: 0 0 auto; width: 68px; height: 68px; border-radius: 50%;
    background: var(--paper-3); border: 1px solid var(--rule-2);
    display: grid; place-items: center; overflow: hidden;
    font-family: var(--mincho); font-weight: 700; font-size: 26px; color: var(--ink-3); letter-spacing: .02em;
  }
  .me .ph img { width: 100%; height: 100%; object-fit: cover; }
  .me .tx { font-size: 14px; line-height: 1.75; color: var(--ink-2); }
  .me .tx b { display: block; font-family: var(--mincho); font-size: 18px; color: var(--ink); font-weight: 700; letter-spacing: .04em; }

  /* ═══ 実績バー ═══ */
  .proof { padding-block: 26px; border-block: 1px solid var(--rule); }
  .proof .lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--ink-3); margin-bottom: 12px; }
  .proof ul { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0; padding: 0; list-style: none; }
  .proof li {
    font-family: var(--mincho); font-weight: 700; font-size: clamp(15px, 3.5vw, 17.5px);
    line-height: 1.5; letter-spacing: .03em; color: var(--ink); padding-inline: 16px;
    border-left: 1px solid var(--rule-2);
  }
  .proof li:first-child { padding-left: 0; border-left: 0; }
  .proof .aw { margin-top: 14px; font-size: 12.5px; line-height: 1.85; color: var(--ink-3); letter-spacing: .02em; }

  /* ═══ こんな手間 ═══ */
  .pains ul { margin: 0; padding: 0; list-style: none; max-width: var(--measure); border-top: 1px solid var(--rule); }
  .pains li {
    display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start;
    padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.72;
  }
  .pains li::before {
    content: ""; width: 15px; height: 15px; margin-top: .45em;
    border: 1.5px solid var(--rule-2); border-radius: 2px; background: var(--paper);
  }
  .pains .close { margin-top: 26px; max-width: var(--measure); color: var(--ink-2); }
  .pains .close b { color: var(--ink); }

  /* ═══ 事例 ═══ */
  .case { padding-top: 46px; margin-top: 46px; border-top: 1px solid var(--rule); }
  .case:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
  .case .ind {
    display: inline-block; font-size: 12px; letter-spacing: .05em; line-height: 1.6; color: var(--ink-2);
    border: 1px solid var(--rule-2); border-radius: 2px; padding: 3px 10px; margin-bottom: 16px;
  }
  .case h3 {
    font-family: var(--mincho); font-weight: 700;
    font-size: clamp(19px, 5vw, 23px); line-height: 1.55; margin-bottom: 18px; text-wrap: balance;
  }
  .case .lead { font-size: 16.5px; line-height: 1.85; max-width: var(--measure); }

  /* before → after */
  .ba {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
    margin: 26px 0 4px; padding-top: 18px; border-top: 2px solid var(--ink);
  }
  .ba .from {
    font-family: var(--mincho); font-weight: 700; font-size: clamp(24px, 6vw, 30px); line-height: 1.1;
    color: var(--vermilion); text-decoration: line-through;
    text-decoration-thickness: 2px; text-decoration-color: color-mix(in srgb, var(--vermilion) 55%, transparent);
    font-variant-numeric: tabular-nums;
  }
  .ba .to {
    font-family: var(--mincho); font-weight: 800; font-size: clamp(30px, 8vw, 42px); line-height: 1;
    color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  }
  .ba .arw { color: var(--indigo); font-size: 17px; font-weight: 700; }
  .ba .cap { flex: 1 0 100%; font-size: 13px; color: var(--ink-2); letter-spacing: .02em; margin-top: 6px; line-height: 1.6; }

  .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 26px 0 0; padding: 0; list-style: none; }
  .tiles li { border-top: 1px solid var(--rule-2); padding-top: 11px; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
  .tiles li b {
    display: block; font-family: var(--mincho); font-weight: 700; font-size: 19px; line-height: 1.3;
    color: var(--ink); margin-bottom: 5px; font-variant-numeric: tabular-nums; font-feature-settings: "palt";
  }

  .more { margin-top: 24px; }
  .more summary {
    cursor: pointer; list-style: none; user-select: none;
    display: flex; align-items: center; gap: 10px;
    width: fit-content; min-height: 44px; padding: 8px 0;
    font-size: 14.5px; font-weight: 700; color: var(--indigo);
  }
  .more summary::-webkit-details-marker { display: none; }
  .more summary::after {
    content: ""; width: 7px; height: 7px; margin-top: -3px;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
  }
  .more[open] summary::after { transform: rotate(-135deg); margin-top: 3px; }
  .more summary:hover { text-decoration: underline; text-underline-offset: .25em; }

  .io {
    margin: 4px 0 22px; padding: 15px 17px; border-radius: 3px;
    background: var(--paper-2); border: 1px solid var(--rule);
    font-size: 13.5px; line-height: 1.95; color: var(--ink-2);
  }
  .io b { color: var(--indigo); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; }
  .case .body { max-width: var(--measure); }
  .near {
    margin-top: 24px; padding: 14px 0 0; border-top: 1px solid var(--rule);
    font-size: 14px; line-height: 1.8; color: var(--ink-2); max-width: var(--measure);
  }
  .near b { color: var(--ink); font-weight: 700; }

  /* スクリーンショットの置き場 */
  .shot { margin: 24px 0 0; }
  .shot img { border: 1px solid var(--rule-2); border-radius: 3px; }
  .shot figcaption { margin-top: 9px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }

  .others { margin-top: 52px; padding-top: 34px; border-top: 1px solid var(--rule); max-width: var(--measure); }
  .others h3 { font-family: var(--mincho); font-weight: 700; font-size: 19px; line-height: 1.5; margin-bottom: 14px; }
  .others ul { margin: 0; padding: 0; list-style: none; }
  .others li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.75; color: var(--ink-2); }
  .others li b { display: block; color: var(--ink); font-weight: 700; margin-bottom: 2px; }
  .others > p { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }

  /* ═══ ×○ ═══ */
  .vs { margin: 0 0 32px; padding: 0; list-style: none; max-width: var(--measure); }
  .vs li { display: grid; grid-template-columns: 1.6em 1fr; column-gap: 12px; align-items: start; }
  .vs li::before { font-family: var(--mincho); font-weight: 700; font-size: 18px; line-height: 1; text-align: center; padding-top: .35em; }
  .vs .no { color: var(--ink-3); font-size: 15px; line-height: 1.7; padding: 14px 0 4px; }
  .vs .no::before { content: "×"; color: var(--vermilion); }
  .vs .no:first-child { padding-top: 0; }
  .vs .yes { color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.7; padding: 4px 0 15px; border-bottom: 1px solid var(--rule); }
  .vs .yes::before { content: "○"; color: var(--indigo); }
  .vs .yes:last-child { border-bottom: 0; padding-bottom: 0; }

  /* ═══ 進め方 ═══ */
  .steps { margin: 0; padding: 0; list-style: none; counter-reset: s; max-width: var(--measure); }
  .steps li {
    counter-increment: s; display: grid; grid-template-columns: 2.4em 1fr; column-gap: 14px;
    padding: 19px 0; border-bottom: 1px solid var(--rule);
  }
  .steps li::before {
    content: counter(s); font-family: var(--mincho); font-weight: 700; font-size: 25px; line-height: 1.15;
    color: var(--indigo); font-variant-numeric: tabular-nums; grid-column: 1; grid-row: 1 / span 2;
  }
  .steps li b { display: block; font-weight: 700; margin-bottom: 4px; grid-column: 2; line-height: 1.65; }
  .steps li span { color: var(--ink-2); font-size: 15px; line-height: 1.8; grid-column: 2; }
  .steps li .day {
    display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
    color: var(--indigo); background: var(--indigo-soft); border-radius: 2px; padding: 2px 8px; margin-left: 8px;
    vertical-align: 2px;
  }

  /* ═══ 料金 ═══ */
  .plan { max-width: var(--measure); }
  .plan .head {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
    padding-bottom: 16px; border-bottom: 2px solid var(--ink);
  }
  .plan .head .yen { font-family: var(--mincho); font-weight: 800; font-size: clamp(40px, 11vw, 58px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .plan .head .per { font-size: 15px; font-weight: 700; color: var(--ink-2); }
  .plan .head .tax { flex: 1 0 100%; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
  .plan dl { margin: 0; }
  .plan dl div {
    display: grid; grid-template-columns: 9.5em 1fr; column-gap: 18px;
    padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.8;
  }
  .plan dt { color: var(--ink-3); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; padding-top: .25em; }
  .plan dd { margin: 0; color: var(--ink-2); }
  .plan dd b { color: var(--ink); font-weight: 700; }
  .plan .first { margin-top: 24px; padding: 16px 18px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: 3px; font-size: 14.5px; line-height: 1.8; color: var(--ink-2); }
  .plan .first b { color: var(--ink); }

  /* ═══ 数字 ═══ */
  .kicker { font-family: var(--mincho); font-weight: 600; font-size: 18px; line-height: 1.85; max-width: var(--measure); }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; margin-top: 36px; }
  .stat { border-top: 2px solid var(--ink); padding-top: 16px; }
  .stat .v { font-family: var(--mincho); font-weight: 800; font-size: clamp(34px, 8vw, 44px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .stat .v small { font-size: 17px; font-weight: 700; margin-left: 2px; }
  .stat .l { font-size: 12.5px; font-weight: 700; color: var(--indigo); margin: 11px 0 6px; letter-spacing: .06em; }
  .stat .d { font-size: 13px; line-height: 1.72; color: var(--ink-2); }

  /* ═══ 顧客の声 ═══ */
  .voices { display: grid; gap: 22px; max-width: var(--measure); }
  .voice { padding-left: 18px; border-left: 2px solid var(--indigo); }
  .voice p { font-family: var(--mincho); font-weight: 600; font-size: 17px; line-height: 1.85; }
  .voice cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }

  /* ═══ FAQ ═══ */
  .faq { max-width: var(--measure); border-top: 1px solid var(--rule); }
  .faq details { border-bottom: 1px solid var(--rule); }
  .faq summary {
    cursor: pointer; list-style: none; user-select: none;
    display: grid; grid-template-columns: 1fr 16px; column-gap: 14px; align-items: start;
    padding: 17px 0; font-size: 16px; font-weight: 700; line-height: 1.65; color: var(--ink);
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: ""; width: 11px; height: 11px; margin-top: .5em; justify-self: end;
    border-right: 1.5px solid var(--indigo); border-bottom: 1.5px solid var(--indigo); transform: rotate(45deg);
  }
  .faq details[open] summary::after { transform: rotate(-135deg); margin-top: .75em; }
  .faq summary:hover { color: var(--indigo); }
  .faq .a { padding: 0 0 20px; font-size: 15px; line-height: 1.85; color: var(--ink-2); max-width: 32em; }

  /* ═══ 相談 ═══ */
  .reassure { display: grid; gap: 14px; margin: 0 0 34px; padding: 0; list-style: none; max-width: var(--measure); }
  .reassure li { display: grid; grid-template-columns: 20px 1fr; column-gap: 13px; align-items: start; font-size: 15.5px; line-height: 1.72; color: var(--ink-2); }
  .reassure li::before {
    content: ""; width: 14px; height: 8px; margin-top: .5em;
    border-left: 2.5px solid var(--indigo); border-bottom: 2.5px solid var(--indigo);
    transform: rotate(-45deg) translate(1px, -2px);
  }
  .reassure li b { color: var(--ink); font-weight: 700; }

  form { max-width: var(--measure); }
  .field { margin-bottom: 22px; }
  .field > label, .field > .lg {
    display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 8px;
  }
  .req { color: var(--vermilion); font-size: 11px; font-weight: 700; letter-spacing: .06em; margin-left: 7px; }
  .opt { color: var(--ink-3); font-size: 11px; font-weight: 500; letter-spacing: .06em; margin-left: 7px; }
  .hint { font-size: 13px; color: var(--ink-3); line-height: 1.65; margin-top: 7px; }
  input[type="text"], textarea {
    width: 100%; font-family: inherit; font-size: 16px; line-height: 1.7; color: var(--ink);
    background: var(--paper); border: 1px solid var(--rule-2); border-radius: 3px;
    padding: 12px 14px; min-height: 50px;
  }
  textarea { min-height: 120px; resize: vertical; }
  input[type="text"]:focus, textarea:focus { border-color: var(--indigo); }
  input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--vermilion); background: var(--vermilion-soft); }
  .err { display: none; margin-top: 7px; font-size: 13px; font-weight: 700; color: var(--vermilion); line-height: 1.6; }
  .err.is-on { display: block; }

  fieldset { border: 0; margin: 0; padding: 0; }
  .chips { display: flex; flex-wrap: wrap; gap: 9px; }
  .chip {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    font-size: 14px; line-height: 1.5; color: var(--ink-2);
    background: var(--paper); border: 1px solid var(--rule-2); border-radius: 999px;
    padding: 9px 16px; min-height: 44px; user-select: none;
  }
  .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
  .chip .bx { flex: 0 0 auto; width: 15px; height: 15px; border: 1.5px solid var(--rule-2); border-radius: 3px; background: var(--paper); }
  .chip:hover { border-color: var(--ink-3); }
  .chip:has(input:checked) { border-color: var(--indigo); background: var(--indigo-soft); color: var(--ink); font-weight: 700; }
  .chip:has(input:checked) .bx { border-color: var(--indigo); background: var(--indigo); position: relative; }
  .chip:has(input:checked) .bx::after {
    content: ""; position: absolute; left: 3px; top: 2px; width: 6px; height: 9px;
    border-right: 2px solid var(--on-indigo); border-bottom: 2px solid var(--on-indigo); transform: rotate(42deg);
  }
  .chip:has(input:focus-visible) { outline: 2px solid var(--indigo); outline-offset: 3px; }

  .send { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .send .btn { flex: 1 1 100%; }
  .send .btn.ghost { flex: 1 1 100%; min-height: 50px; font-size: 15px; }
  .sent {
    display: none; margin-top: 20px; padding: 18px 20px;
    background: var(--indigo-soft); border-left: 3px solid var(--indigo); border-radius: 0 3px 3px 0;
    font-size: 14.5px; line-height: 1.8; color: var(--ink);
  }
  .sent.is-on { display: block; }
  .sent b { font-weight: 700; }
  .sent a { font-variant-numeric: tabular-nums; }

  .direct { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--rule); max-width: var(--measure); }
  .direct dl { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px 16px; margin: 0; font-size: 15px; line-height: 1.8; }
  .direct dt { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink-3); padding-top: .3em; }
  .direct dd { margin: 0; }
  .direct dd a { font-size: 16.5px; font-weight: 500; color: var(--ink); text-decoration-color: var(--indigo); font-variant-numeric: tabular-nums; }
  .direct dd .note { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.7; }

  /* ═══ 足元 ═══ */
  footer { padding-block: 34px 56px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); }
  footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; font-variant-numeric: tabular-nums; }

  /* ═══ 携帯の追従ボタン ═══ */
  .bar { display: none; }

  /* ═══ 携帯 ═══ */
  @media (max-width: 600px) {
    .tiles { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule-2); }
    .tiles li {
      display: grid; grid-template-columns: 8.4rem 1fr; column-gap: 14px; align-items: baseline;
      border-top: 0; border-bottom: 1px solid var(--rule); padding: 12px 0;
    }
    .tiles li b { margin: 0; font-size: 18px; }
    .plan dl div { grid-template-columns: 1fr; row-gap: 3px; padding: 15px 0; }
    .plan dd { font-size: 15px; }
    .stats { display: block; border-top: 2px solid var(--ink); margin-top: 30px; }
    .stat { display: grid; grid-template-columns: 6.2rem 1fr; column-gap: 16px; align-items: start;
            border-top: 0; border-bottom: 1px solid var(--rule); padding: 18px 0 19px; }
    .stat .v { grid-row: 1 / span 2; font-size: 33px; padding-top: 2px; }
    .stat .l { margin: 0 0 4px; }
    .direct dl { grid-template-columns: 1fr; gap: 4px; }
    .direct dt { padding-top: 10px; }
    .btn { flex-basis: 100%; }
    .topbar .nm small { display: none; }
    .bar {
      position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
      display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
      background: color-mix(in srgb, var(--paper) 94%, transparent);
      backdrop-filter: blur(10px); border-top: 1px solid var(--rule);
      transform: translateY(115%); visibility: hidden;
    }
    .bar.is-on { transform: none; visibility: visible; }
    .bar a {
      flex: 1 1 0; display: flex; align-items: center; justify-content: center;
      min-height: 48px; padding: 6px 8px; border-radius: 4px;
      font-size: 15px; font-weight: 700; text-decoration: none; letter-spacing: .03em;
    }
    .bar .go { flex: 1.6 1 0; background: var(--indigo); color: var(--on-indigo); }
    .bar .tel { color: var(--indigo); box-shadow: inset 0 0 0 1.5px var(--indigo); }
    body:has(.bar.is-on) footer { padding-bottom: 128px; }
  }

  /* ═══ 動き ═══ */
  @media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    .btn, .chip, .topbar .mini { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
    .bar, .topbar { transition: transform .25s ease, visibility .25s; }
    .more summary::after, .faq summary::after { transition: transform .2s ease, margin-top .2s ease; }
  }

  /* ═══ 印刷 ═══ */
  @media print {
    :root {
      --paper: #fff; --paper-2: #f3f2ee; --paper-3: #e8e6e0; --ink: #000; --ink-2: #262626; --ink-3: #555;
      --rule: #bbb; --rule-2: #999; --indigo: #143451; --indigo-deep: #143451; --indigo-soft: #eee;
      --vermilion: #8a3322; --on-indigo: #fff;
    }
    body { font-size: 11pt; line-height: 1.72; }
    .topbar, .bar, form, .send, .sent { display: none !important; }
    section { padding-block: 26px; }
    a { color: inherit; text-decoration: none; }
    .more summary, .faq summary::after { display: none; }
    .case, .stat, .steps li, .plan dl div, .others li, .faq details { break-inside: avoid; }
    .btn { border: 1px solid #000; background: none; color: #000; min-height: 0; padding: 7px 14px; box-shadow: none; }
  }
