  /* Layout: 違和感 → 言葉 → えらぶ の一本道を縦に進む。2人のキャラが各ステップの案内役。 */
  :root {
    --ink: #24322a;
    --ink-soft: #4b5a51;
    --paper: #f3f7ef;
    --raised: #ffffff;
    --green: #2f8f5e;
    --green-deep: #1f6b45;
    --blue: #3b7fc4;
    --blue-deep: #2a5d95;
    --sun: #e89a2c;
    --line: #d6e0d1;
    --tint-green: #e3f0e2;
    --tint-blue: #e1edf8;
    --tint-sun: #fbefd8; --tint-gray: #eaede7; --tint-red: #f7e2dd; --red: #b4382b;
    --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
    --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --ink: #eef3ea; --ink-soft: #b5c2b9; --paper: #151f19; --raised: #1d2a22;
      --green: #4cb37f; --green-deep: #78d6a2; --blue: #6fa8e0; --blue-deep: #9cc5f0;
      --sun: #f2b95c; --line: #2d3d33; --tint-green: #203a2b; --tint-blue: #1f3347; --tint-sun: #3a3020; --tint-gray: #2a3530; --tint-red: #432a2a; --red: #f08a7c;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --ink: #eef3ea; --ink-soft: #b5c2b9; --paper: #151f19; --raised: #1d2a22;
    --green: #4cb37f; --green-deep: #78d6a2; --blue: #6fa8e0; --blue-deep: #9cc5f0;
    --sun: #f2b95c; --line: #2d3d33; --tint-green: #203a2b; --tint-blue: #1f3347; --tint-sun: #3a3020; --tint-gray: #2a3530; --tint-red: #432a2a; --red: #f08a7c;
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 72px; }
  body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
  h1, h2, h3, .brand { font-family: var(--font-display); line-height: 1.5; margin: 0; text-wrap: balance; }
  p { margin: 0; }
  a { color: inherit; }
  img { display: block; max-width: 100%; height: auto; }
  :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
  .wrap { max-width: 1040px; margin: 0 auto; padding-inline: 20px; }
  .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--green-deep); margin-bottom: 10px; }

  header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  .nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1040px; margin: 0 auto; padding: 10px 20px; }
  .brand { font-weight: 900; font-size: 17px; text-decoration: none; white-space: nowrap; }
  .links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links a { text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
  .links a:hover { background: var(--raised); color: var(--green-deep); }

  .hero { padding-block: 56px 40px; background: radial-gradient(600px 300px at 8% -10%, color-mix(in srgb, var(--green) 18%, transparent), transparent), radial-gradient(520px 280px at 100% 10%, color-mix(in srgb, var(--blue) 16%, transparent), transparent); }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; }
  .hero h1 { font-size: clamp(28px, 5vw, 46px); font-weight: 900; margin-bottom: 22px; }
  .hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--sun) 55%, transparent) 62%); }
  .hero-q { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 3.4vw, 30px); line-height: 1.6; margin: 0 0 14px; text-wrap: balance; }
  .lede { font-size: 17px; color: var(--ink-soft); max-width: 40em; }
  .lede + .lede { margin-top: 14px; }
  .hero-duo { display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
  .hero-duo img:first-child { width: 56%; }
  .hero-duo img:last-child { width: 42%; }
  .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
  .btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; }
  .btn-main { background: var(--green); color: #fff; }
  .btn-main:hover { background: var(--green-deep); }
  .btn-sub { border-color: var(--line); background: var(--raised); }
  .btn-sub:hover { border-color: var(--green); color: var(--green-deep); }

  section { padding-block: 64px; }
  .head { max-width: 38em; margin-bottom: 32px; }
  .head h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 700; margin-bottom: 12px; }
  .head p { color: var(--ink-soft); }
  .band { background: var(--raised); border-block: 1px solid var(--line); }

  /* steps */
  .steps { display: grid; gap: 20px; }
  .step { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: 22px; padding: 24px 28px; background: var(--paper); }
  .step:nth-child(even) { grid-template-columns: 1fr 300px; }
  .step:nth-child(even) .step-art { order: 2; }
  .step-art { display: flex; justify-content: center; }
  .step-art img { max-height: 320px; width: auto; max-width: 100%; }
  .step-label { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 8px; }
  .s1 .step-label { background: var(--tint-green); color: var(--green-deep); }
  .s2 .step-label { background: var(--tint-blue); color: var(--blue-deep); }
  .s3 .step-label { background: var(--tint-sun); color: var(--ink); }
  .step h3 { font-size: 20px; margin-bottom: 8px; }
  .step p { color: var(--ink-soft); font-size: 15.5px; }
  .step .say { margin-top: 12px; font-size: 14.5px; color: var(--ink); border-left: 3px solid var(--sun); padding-left: 12px; }

  h1 .nb, h2 .nb, h3 .nb { display: inline-block; }
  /* math */
  .think-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
  .think-list li { border: 1px solid var(--line); border-radius: 16px; background: var(--tint-blue); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
  .think-list b { font-size: 15px; color: var(--blue-deep); }
  .think-list span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }
  .math-chips span.k { background: var(--tint-blue); color: var(--blue-deep); }
  .math-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .math-card { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .math-card h3 { font-size: 16.5px; }
  .math-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
  .math-card .math-chips { display: flex; flex-wrap: wrap; gap: 6px; }
  .math-chips span { font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--tint-green); color: var(--green-deep); }
  @media (max-width: 880px) { .math-grid { grid-template-columns: 1fr; } }

  /* next */
  .next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; align-items: start; }
  .next-card { border: 1px solid var(--line); border-radius: 18px; background: var(--raised); padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .next-card .num { align-self: flex-start; font-size: 12.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--tint-green); color: var(--green-deep); }
  .next-card h3 { font-size: 17px; }
  .next-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
  .next-card .eg { font-size: 13.5px; border-left: 3px solid var(--sun); padding-left: 10px; color: var(--ink); }
  .eg-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .eg-list li { font-size: 13.5px; line-height: 1.75; color: var(--ink); border-left: 3px solid var(--sun); padding-left: 10px; }
  .eg-list b { display: block; font-size: 12.5px; color: var(--ink-soft); }
  .prep { margin-top: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
  .prep h3 { font-size: 17px; }
  .prep p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
  .prep ul { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; line-height: 1.8; color: var(--ink); }
  .next-close { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 0; }
  .next-close h3 { font-size: 18px; }
  .next-close p { font-size: 15px; color: var(--ink); line-height: 1.9; }
  .next-close .next-note { margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; }
  .msg-box { margin-top: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
  .msg-box h3 { font-size: 17px; }
  .msg-box p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
  .msg-box ul { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.8; color: var(--ink); }
  .next-steps { margin-top: 8px; }
  .next-prep { margin-top: 20px; }
  .step.tint { background: var(--tint-blue); }
  .step .eg-list { margin-top: 12px; }
  .step .eg-list li { font-size: 14px; color: var(--ink); }
  .next-banner { margin-top: 20px; display: flex; align-items: center; gap: 24px; padding: 22px 28px; border-radius: 22px; background: var(--tint-sun); }
  .next-banner img { height: 150px; width: auto; flex: none; }
  .next-banner h3 { font-size: 20px; margin-bottom: 8px; }
  .next-banner p { font-size: 15px; line-height: 1.9; color: var(--ink); }
  @media (max-width: 720px) { .next-banner { flex-direction: column; align-items: flex-start; } .next-banner img { height: 110px; } }
  .nchat { margin-top: 20px; }
  .nchat .eg-list { margin-top: 10px; }
  .eg-list.plain li { border-left-color: var(--blue); }
  .side { flex-direction: row !important; align-items: center; gap: 20px; }
  .msg-box.side { align-items: flex-start; }
  .side-art { display: flex; align-items: flex-end; gap: 4px; flex: none; }
  .msg-box.side .side-art img { height: 150px; width: auto; }
  .side > img { height: 150px; width: auto; flex: none; }
  .side-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
  @media (max-width: 520px) { .side { flex-direction: column !important; align-items: flex-start; } .side > img { height: 110px; } .msg-box.side .side-art img { height: 100px; } }
  .contact-box { margin-top: 10px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
  .contact-box h3 { font-size: 18px; }
  .contact-help { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
  .cf-label { font-size: 13.5px; font-weight: 700; margin-top: 4px; }
  .cf-input { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--raised); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; }
  textarea.cf-input { resize: vertical; min-height: 120px; }
  .cf-input:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
  .cf-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
  .cf-btns .btn { cursor: pointer; }
  .cf-btns [aria-disabled="true"], .cf-btns button:disabled { opacity: .45; cursor: not-allowed; }
  .cf-note { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
  .next-note { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
  .expert-call { margin-top: 28px; border: 1.5px dashed var(--blue); border-radius: 20px; padding: 22px 24px; background: var(--tint-blue); display: flex; flex-direction: column; gap: 8px; }
  .expert-call h3 { font-size: 17px; }
  .expert-call p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
  .expert-call .contact-soon { font-size: 13.5px; font-weight: 700; color: var(--blue-deep); }
  .expert-call .btns { margin-top: 4px; }
  .step .eyes { font-size: 14px; line-height: 1.85; color: var(--ink-soft); margin-top: 10px; }
  .step .eyes b { color: var(--ink); }
  .step .eyes a { display: inline-block; margin-left: 4px; font-weight: 700; color: var(--green-deep); text-underline-offset: 3px; }
  /* practice: 仕分けてみよう */
  #practice .legend { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  #practice .legend li { border-radius: 14px; padding: 10px 14px; font-size: 13.5px; line-height: 1.75; color: var(--ink-soft); border: 1.5px solid transparent; }
  #practice .legend li { display: flex; gap: 18px; align-items: baseline; }
  #practice .legend b { flex: 0 0 9.5em; font-size: 14.5px; color: var(--ink); }
  #practice .legend .ld { flex: 1; min-width: 0; }
  .k-f { background: var(--tint-green); } .k-l { background: var(--tint-blue); } .k-o { background: var(--tint-sun); }
  #practice .legend .lq { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
  .pr-opinion { margin: -6px 0 22px; padding: 12px 16px; border-radius: 14px; background: var(--tint-sun); font-size: 13.5px; line-height: 1.85; color: var(--ink-soft); }
  .pr-opinion b { color: var(--ink); }
  .pr-guide { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin: 0 0 22px; }
  .pr-guide h3 { font-size: 16px; margin-bottom: 8px; }
  .pr-guide ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.8; }
  .pr-guide li small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.75; }
  .pr-guide .g { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 999px; margin-right: 8px; color: var(--ink); }
  .pr-guide .g.f { background: var(--tint-green); } .pr-guide .g.l { background: var(--tint-blue); } .pr-guide .g.o { background: var(--tint-sun); }
  .pr-guide .tip { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 13px; line-height: 1.85; color: var(--ink-soft); }
  .pr-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
  .pr-tab { font: inherit; font-size: 14px; font-weight: 700; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft); cursor: pointer; flex: 0 0 auto; white-space: nowrap; }
  .pr-tab:hover { border-color: var(--green); color: var(--green-deep); }
  .pr-tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
  .pr-tab.num { min-width: 46px; padding: 0 10px; }
  .pr-tab.num { min-width: 46px; padding: 0 10px; }
  .pr-tab.num { min-width: 46px; padding: 0 10px; }
  .pr-tab.num { min-width: 46px; padding: 0 10px; }
  .pr-card[hidden] { display: none; }
  @media (max-width: 520px) { .pr-tab { padding: 0 14px; font-size: 13.5px; } }
  .pr-passage { margin: 0 0 14px; padding: 16px 18px; background: var(--raised); border: 1px solid var(--line); border-radius: 16px; font-size: 16px; line-height: 2.1; }
  .pr-passage .pr-q0 { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 2px; }
  .ph { background: transparent; color: inherit; border-bottom: 2px dotted var(--ink-soft); padding: 1px 2px; border-radius: 4px; transition: background .15s; }
  .ph.hl { background: #fff3b0; color: #24322a; }
  .ph[data-k="f"] { background: var(--tint-green); border-bottom-color: var(--green); }
  .ph[data-k="l"] { background: var(--tint-blue); border-bottom-color: var(--blue); }
  .ph[data-k="o"] { background: var(--tint-sun); border-bottom-color: var(--sun); }
  .pr-passage sup { font-size: 11px; font-weight: 700; color: var(--green-deep); margin: 0 4px 0 1px; }
  .pr-n { display: inline-block; min-width: 1.4em; font-weight: 700; color: var(--green-deep); }
  /* where: 「ん？」はどこで生まれる */
  #where .wh-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: wh; }
  #where .wh-list li { counter-increment: wh; border: 1px solid var(--line); border-radius: 16px; background: var(--raised); padding: 14px 16px 14px 52px; position: relative; font-size: 14.5px; line-height: 1.85; color: var(--ink-soft); }
  #where .wh-list li::before { content: counter(wh); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
  #where .wh-list b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
  #where .wh-list .eg { display: block; margin-top: 6px; padding: 8px 12px; border-radius: 12px; background: var(--tint-gray); font-size: 13.5px; }
  #where .wh-flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin: 4px 0 14px; padding: 0; list-style: none; }
  #where .wh-flow li { padding: 6px 14px; border-radius: 999px; background: var(--tint-green); color: var(--green-deep); font-size: 13.5px; font-weight: 700; }
  #where .wh-flow li + li::before { content: "→"; margin-right: 10px; color: var(--ink-soft); }
  #where .wh-flow li + li { background: none; padding-left: 0; }
  #where .wh-note { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--tint-sun); font-size: 14px; line-height: 1.9; }
  /* stance: 立場を考えよう */
  #stance .st-card[hidden] { display: none; }
  #stance .st-card { background: var(--raised); border: 1px solid var(--line); border-radius: 22px; padding: 20px 20px 12px; }
  #stance .st-card h3 { font-size: 18px; margin-bottom: 2px; }
  .st-who { margin: 8px 0 14px; padding: 14px 18px; border-radius: 16px; background: var(--tint-gray); font-size: 16px; line-height: 1.9; }
  .st-who span { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-bottom: 2px; }
  .st-q { margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
  .st-q > p { margin: 0 0 10px; font-weight: 700; font-size: 15px; line-height: 1.8; }
  .st-q > p b { color: var(--green-deep); margin-right: 6px; }
  .st-opts { display: flex; flex-direction: column; gap: 8px; }
  .st-opt { font: inherit; font-size: 14.5px; line-height: 1.7; text-align: left; padding: 9px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--raised); color: var(--ink); cursor: pointer; }
  .st-opt:hover { border-color: var(--green); }
  .st-opt[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
  .st-q .pr-fb { margin-top: 10px; }
  .st-sum { margin: 4px 0 10px; padding: 14px 16px; border-radius: 16px; background: var(--tint-green); font-size: 14px; line-height: 1.85; }
  .st-sum > b { display: block; margin-bottom: 4px; color: var(--green-deep); }
  .st-sum ol { margin: 0 0 6px; padding-left: 1.4em; display: flex; flex-direction: column; gap: 3px; }
  .st-sum li b { color: var(--ink); }
  .st-sum > span { font-size: 12.5px; color: var(--ink-soft); }
  .st-tip { margin: 6px 0 8px; font-size: 13px; color: var(--ink-soft); line-height: 1.85; }
  .pr-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 20px 20px 8px; margin-bottom: 18px; }
  .pr-card h3 { font-size: 18px; margin-bottom: 2px; }
  .pr-lead { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.8; }
  .pr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
  .pr-row { background: var(--raised); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
  .pr-s { margin: 0 0 10px; font-size: 16px; line-height: 1.8; font-weight: 500; }
  .pr-btns { display: flex; flex-wrap: wrap; gap: 8px; }
  .pr-btn { font: inherit; font-size: 13.5px; font-weight: 700; min-height: 40px; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft); cursor: pointer; }
  .pr-btn:hover { border-color: var(--green); color: var(--green-deep); }
  .pr-btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
  .pr-fb { margin-top: 12px; border-radius: 14px; background: var(--tint-blue); padding: 12px 14px; font-size: 14px; line-height: 1.85; color: var(--ink); }
  .pr-fb[hidden] { display: none; }
  .pr-fb p { margin: 0; } .pr-fb p + p { margin-top: 4px; }
  .pr-fb .pr-r { font-weight: 700; color: var(--blue-deep); }
  .pr-fb .pr-q { color: var(--green-deep); font-weight: 700; }
  .pr-note { max-width: 46em; margin: 6px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.85; }
  @media (max-width: 640px) { #practice .legend li { flex-direction: column; gap: 2px; } #practice .legend b { flex: none; } .pr-card { padding: 16px 12px 6px; } .pr-row { padding: 12px; } }
  .ex-policy { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 12px; }
  .ex-policy > b { display: block; font-size: 13.5px; color: var(--blue-deep); margin-bottom: 4px; }
  .ex-policy ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }
  .ex-policy li b { color: var(--ink); }
  .ex-criteria { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
  .ex-criteria summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--blue-deep); min-height: 32px; display: flex; align-items: center; }
  .ex-criteria ol { margin: 6px 0 8px; padding-left: 1.5em; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.8; color: var(--ink-soft); }
  .ex-criteria li b { display: block; color: var(--ink); }
  .ex-criteria .ex-lead { margin: 4px 0 8px; font-size: 13.5px; color: var(--ink); }
  .ex-criteria .pair { display: block; margin-top: 3px; font-size: 12.5px; color: var(--green-deep); }
  .ex-criteria p { margin: 0; font-size: 12.5px; line-height: 1.8; color: var(--ink-soft); }
  .expert-call [hidden] { display: none !important; }
  .expert-call .vstatus { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--blue-deep); border: 1.5px solid var(--blue); border-radius: 999px; padding: 1px 12px; }
  @media (max-width: 880px) { .next-grid { grid-template-columns: 1fr; } }

  /* example */
  .example { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .talk { border: 1px solid var(--line); border-radius: 22px; padding: 24px; background: var(--raised); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .talk h3 { font-size: 17px; }
  .bubble-row { display: flex; gap: 20px; align-items: flex-end; }
  .bubble-row img { height: 230px; width: auto; flex: none; }
  .bubble { font-size: 16px; line-height: 1.8; padding: 16px 18px; margin-bottom: 24px; border-radius: 16px 16px 16px 4px; background: var(--tint-green); min-width: 0; }
  .bubble.blue { background: var(--tint-blue); }
  .calc { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 15px; display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--paper); border: 1px dashed var(--line); }
  .calc .res { color: var(--blue-deep); }
  .calc.stack > span { display: block; }
  .calc.stack > span > .res { display: block; margin-top: 2px; }
  .calc.stack > span > .res { padding-left: 1.4em; text-indent: -1.4em; }
  .calc.stack > span > .res::before { content: "→"; display: inline-block; width: 1.4em; text-indent: 0; }


  /* chat */
  .chat { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; padding: 20px 16px 24px; border-radius: 26px; background: var(--paper); border: 1px solid var(--line); }
  .phase { display: flex; justify-content: center; margin-block: 10px 2px; }
  .phase .vtag.t3 { background: var(--tint-sun); color: var(--ink); }
  .msg { display: flex; align-items: flex-end; gap: 12px; }
  .msg.m { flex-direction: row-reverse; }
  .msg img { height: 190px; width: auto; flex: none; }
  .msg .bubble { margin: 0 0 18px; min-width: 0; max-width: 460px; font-size: 16px; line-height: 1.8; padding: 14px 18px; border-radius: 20px 20px 20px 5px; background: var(--tint-green); }
  .msg.m .bubble { border-radius: 20px 20px 5px 20px; background: var(--tint-blue); }
  .bubble .who { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; margin-bottom: 2px; color: var(--green-deep); }
  .msg.m .bubble .who { color: var(--blue-deep); }
  .chat + .note { margin-inline: auto; }
  @media (max-width: 520px) { .chat { padding-inline: 10px; } .msg img { height: 128px; } .msg { gap: 8px; } .msg .bubble { font-size: 15px; padding: 12px 14px; margin-bottom: 10px; } }


  /* conversation with 相手 + reactions + clips */
  .msg.o { justify-content: flex-start; }
  .msg.o .bubble { background: var(--tint-gray); border-radius: 20px 20px 20px 5px; max-width: 520px; margin-bottom: 4px; }
  .msg.o .bubble .who { color: var(--ink-soft); }
  .disclaimer { max-width: 760px; margin: 0 auto 14px; font-size: 13.5px; color: var(--ink-soft); }
  .bubble .calc { margin-top: 10px; background: var(--raised); }
  .reacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0; }
  .react { border-radius: 16px; padding: 14px 14px 16px; font-size: 14px; line-height: 1.7; min-width: 0; }
  .react p { color: var(--ink); font-size: 14px; }
  .react .rl { display: block; font-family: var(--font-display); font-weight: 900; font-size: 14.5px; margin-bottom: 4px; }
  .react.go { background: var(--tint-green); } .react.go .rl { color: var(--green-deep); }
  .react.wait { background: var(--tint-sun); } .react.wait .rl { color: var(--ink); }
  .react.leave { background: var(--tint-gray); } .react.leave .rl { color: var(--ink); }
  .react.fraud { background: var(--tint-red); border: 2px solid var(--red); } .react.fraud .rl { color: var(--red); }
  .reacts.four { grid-template-columns: repeat(2, 1fr); }
  .clips { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
  .clip { border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 16px; background: var(--raised); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
  .clip .vtag { align-self: flex-start; }
  .clip .msg img { height: 140px; }
  .clip .msg { gap: 8px; }
  .clip .msg .bubble { font-size: 14.5px; padding: 11px 14px; margin-bottom: 8px; line-height: 1.7; }
  .clip .spot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 2px 0 6px; font-size: 13.5px; font-weight: 700; color: var(--blue-deep); }
  .clip .spot b { font-size: 14px; background: color-mix(in srgb, var(--blue) 22%, transparent); color: var(--blue-deep); border: 1.5px solid var(--blue); border-radius: 999px; padding: 0 10px; }
  .clip details { margin-top: 4px; }
  .clip-link { align-self: flex-start; font-size: 13.5px; font-weight: 700; color: var(--green-deep); text-underline-offset: 3px; min-height: 36px; display: inline-flex; align-items: center; }
  .clip summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--green-deep); min-height: 44px; display: flex; align-items: center; }
  .clip .reacts { grid-template-columns: 1fr; }
  @media (max-width: 760px) { .reacts { grid-template-columns: 1fr; } }

  /* example tabs */
  .ex-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; }
  .ex-tab { font: inherit; font-size: 14px; font-weight: 700; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft); cursor: pointer; }
  .ex-tab:hover { border-color: var(--green); color: var(--green-deep); }
  .ex-tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; }
  .ex-tab { flex: 0 0 auto; white-space: nowrap; }
  @media (max-width: 880px) {
    .ex-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 24px 6px; margin-inline: -16px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 28px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 28px), transparent 100%); }
    .ex-tabs::-webkit-scrollbar { display: none; }
    .ex-tab { scroll-snap-align: center; padding: 0 16px; font-size: 13.5px; }
  }
  .chat[hidden] { display: none; }
  .src { font-size: 12.5px; line-height: 1.7; color: var(--ink-soft); padding: 4px 8px 0; }
  /* glossary */
  .gloss { font-size: .82em; font-weight: 500; color: var(--blue-deep); white-space: nowrap; text-underline-offset: 3px; }
  .words-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .words-head .head { margin-bottom: 8px; }
  .words-head img { height: 190px; width: auto; flex: none; }
  .words { max-width: 760px; display: flex; flex-direction: column; gap: 28px; }
  .word-group h3 { font-size: 15px; color: var(--green-deep); margin-bottom: 8px; }
  .word { border: 1px solid var(--line); border-radius: 14px; background: var(--raised); margin-bottom: 8px; scroll-margin-top: 80px; }
  .word summary { cursor: pointer; font-weight: 700; font-size: 15.5px; padding: 12px 16px; min-height: 44px; display: flex; align-items: center; }
  .word[open] summary { color: var(--green-deep); }
  .word p { padding: 0 16px 16px; font-size: 14.5px; line-height: 1.85; color: var(--ink-soft); }
  .word p.lead { padding: 0 16px 6px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
  .word ul { margin: 0; padding: 0 16px 16px 36px; font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }
  .word li { margin-bottom: 4px; }
  .w-back { display: inline-block; margin: 0 16px 14px; font-size: 14px; font-weight: 700; color: var(--blue-deep); }
  .word li::marker { color: var(--green); }
  .word:target { border-color: var(--green); }
  @media (max-width: 520px) { .words-head img { height: 130px; } }
  /* 「言葉と豆知識」は本編の補足：控えめな見た目にする */
  #words { padding-block: 36px 28px; }
  #words .eyebrow { font-size: 12px; color: var(--ink-soft); margin-bottom: 4px; }
  #words .head h2 { font-size: 19px; margin-bottom: 4px; }
  #words .head p:not(.eyebrow) { font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
  .words-chars { display: flex; align-items: flex-end; gap: 6px; flex: none; }
  .words-chars img { height: 96px; width: auto; }
  @media (min-width: 1100px) {
    #words .wrap { position: relative; }
    .words-chars { position: absolute; right: 0; bottom: 6px; gap: 8px; }
    .words-chars img { height: 170px; }
  }
  .words { gap: 14px; margin-top: 14px; }
  .word-group h3 { font-size: 12.5px; color: var(--ink-soft); letter-spacing: .06em; margin-bottom: 0; }
  .word { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; margin-bottom: 0; }
  .word summary { font-size: 14px; font-weight: 500; padding: 8px 4px; min-height: 40px; list-style: none; }
  .word summary::-webkit-details-marker { display: none; }
  .word summary::after { content: "＋"; margin-left: auto; padding-left: 12px; color: var(--ink-soft); font-weight: 400; }
  .word[open] summary::after { content: "－"; }
  .word[open] summary { color: var(--ink); font-weight: 700; }
  .word p, .word p.lead { padding-left: 4px; padding-right: 4px; font-size: 13.5px; }
  .word ul { padding-left: 26px; padding-right: 4px; font-size: 13.5px; }
  .word:target { border-bottom-color: var(--green); }
  .w-back { margin-left: 4px; margin-right: 4px; }
  @media (max-width: 520px) { .words-chars img { height: 78px; } }
  /* videos */
  .video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
  .vcard { border: 1px solid var(--line); border-radius: 18px; background: var(--raised); padding: 20px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; min-width: 0; }
  .vcard[href]:hover { border-color: var(--green); }
  .vtag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; align-self: flex-start; }
  .vtag.t1 { background: var(--tint-green); color: var(--green-deep); }
  .vtag.t2 { background: var(--tint-blue); color: var(--blue-deep); }
  .vcard h3 { font-size: 16.5px; }
  .vcard p { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
  .vstatus { margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
  .vcard[href] .vstatus { color: var(--green-deep); }

  /* chars */
  .chars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .char { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: 22px; padding: 22px; background: var(--paper); }
  .char h3 { font-size: 18px; margin-bottom: 6px; }
  .char p { font-size: 14.5px; color: var(--ink-soft); }
  .roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .roles img { height: 100px; width: auto; max-width: 100%; object-fit: contain; }

  #example .note { max-width: 760px; margin-inline: auto; }
  #videos .note { max-width: 100%; width: fit-content; }
  .note { margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: var(--tint-sun); font-size: 15px; max-width: 46em; }

  .foot { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "b text m"; align-items: end; gap: 24px; }
  .foot-b { grid-area: b; } .foot-m { grid-area: m; }
  .foot img { height: 190px; width: auto; }
  .foot-text { grid-area: text; text-align: center; font-size: 14px; line-height: 1.9; padding-bottom: 20px; min-width: 0; }
  .foot-text b { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
  .foot-text span { display: inline-block; margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--green-deep); }
  @media (max-width: 640px) { .foot { grid-template-columns: 1fr 1fr; grid-template-areas: "b m" "text text"; gap: 8px 12px; } .foot img { height: 150px; } .foot-b { justify-self: end; } .foot-m { justify-self: start; } .foot-text { padding-bottom: 0; } }
  .clip-count { margin-top: 6px; font-size: 14px; }
  .clip-count .nb { display: inline-block; }
  .clip-count b { font-family: var(--font-display); color: var(--green-deep); font-size: 16px; padding: 0 2px; }
  .updated { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
  .legal { margin-top: 18px; }
  .legal details { border-top: 1px solid var(--line); padding-top: 14px; }
  .legal summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); min-height: 32px; }
  .legal h4 { font-size: 13.5px; margin: 14px 0 2px; color: var(--ink); }
  .legal p { font-size: 13px; line-height: 1.85; color: var(--ink-soft); max-width: 46em; }
  footer { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--ink-soft); }

  @media (max-width: 760px) {
    .hero-grid, .chars { grid-template-columns: 1fr; }
    .hero-duo { order: -1; max-width: 380px; margin-inline: auto; }
    .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
    .step:nth-child(even) .step-art { order: 0; }
    .step-art img { max-height: 260px; }
    section { padding-block: 48px; }
  }
  @media (max-width: 520px) { .brand { font-size: 15px; } .char { grid-template-columns: 1fr; justify-items: center; text-align: center; } .char img:first-child { width: 210px; } .roles { justify-content: center; } .bubble-row { flex-direction: column; align-items: flex-start; gap: 6px; } .bubble-row img { height: 190px; } .bubble { margin-bottom: 0; border-radius: 16px 16px 16px 4px; } }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  .mm-memo { display: flex; gap: 20px; align-items: center; margin: 8px 0 0; padding: 18px 24px; border: 1px solid var(--ink); background: var(--paper); }
.mm-memo img { width: 56px; height: auto; flex: none; }
.mm-memo > div { flex: 1; min-width: 0; }
.mm-memo b { display: block; font-size: 13px; letter-spacing: .04em; margin-bottom: 6px; }
.mm-memo p { margin: 0 !important; font-size: 13px; line-height: 1.8; }
.mm-memo .mm-memo-q { font-family: var(--font-display); font-weight: 700; font-size: 17px !important; line-height: 1.6; margin-bottom: 6px !important; }
@media (max-width: 600px) {
  .mm-memo { gap: 14px; padding: 16px; align-items: flex-start; }
  .mm-memo img { width: 46px; }
  .mm-memo .mm-memo-q { font-size: 16px !important; }
}
/* ===== ページ分割で追加 ===== */
  .head h1 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 700; margin-bottom: 12px; }
  .links a[aria-current="page"] { background: var(--tint-green); color: var(--green-deep); font-weight: 700; }
  .go-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
  .go-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 18px 58px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.8; }
  .go-card b { font-family: var(--font-display); font-size: 17px; }
  .go-card span:not(.go-no) { color: var(--ink-soft); }
  .go-card:hover { border-color: var(--green); }
  .go-card:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
  .go-no { position: absolute; left: 16px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
  .pg-next { border-top: 1px solid var(--line); background: var(--paper); }
  .pg-next .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 22px; }
  .pg-next a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--raised); text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink); }
  .pg-next a:hover { border-color: var(--green); color: var(--green-deep); }
  .pg-next .pg-fwd { background: var(--green); border-color: var(--green); color: #fff; margin-left: auto; }
  .pg-next .pg-fwd:hover { background: var(--green-deep); color: #fff; }
  @media (max-width: 720px) {
    .nav { flex-wrap: wrap; row-gap: 2px; padding-block: 8px 6px; }
    .brand { font-size: 14px; }
    .links { flex: 1 1 100%; margin-inline: -8px; padding-inline: 8px; }
    .links { gap: 0; }
    .links a { padding: 7px 6px; font-size: 12.5px; }
    html { scroll-padding-top: 96px; }
  }
  /* ===== 読みやすさ：要点→くわしく ===== */
  .tldr { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--tint-green); color: var(--ink) !important; font-size: 15.5px; line-height: 1.85; }
  .tldr b { display: block; font-size: 12.5px; letter-spacing: .08em; color: var(--green-deep); margin-bottom: 2px; }
  .tl3 { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tl3 li { border-radius: 14px; padding: 12px 14px; font-size: 13.5px; line-height: 1.7; color: var(--ink-soft); display: flex; flex-direction: column; gap: 2px; }
  .tl3 li b { color: var(--ink); font-size: 16px; font-family: var(--font-display); }
  .pr-how { margin: 0 0 14px; font-size: 14.5px; line-height: 1.9; color: var(--ink-soft); }
  details.pr-more { margin: 0 0 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
  details.pr-more > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; font-size: 14.5px; color: var(--green-deep); list-style: none; }
  details.pr-more > summary::-webkit-details-marker { display: none; }
  details.pr-more > summary::before { content: "＋"; margin-right: 8px; }
  details.pr-more[open] > summary::before { content: "－"; }
  details.pr-more > summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 16px; }
  .pr-more-body { padding: 4px 16px 6px; }
  @media (max-width: 640px) { .tl3 { grid-template-columns: 1fr; } .tl3 li { flex-direction: row; gap: 14px; align-items: baseline; } .tl3 li b { flex: 0 0 6.5em; } }
  .nav { max-width: 1240px; }
  .links { scroll-behavior: smooth; }
  /* ===== ページ移動をなめらかに（対応ブラウザのみ。非対応でも普通に動く） ===== */
  @view-transition { navigation: auto; }
  header { view-transition-name: site-header; }
  ::view-transition-old(site-header), ::view-transition-new(site-header) { animation: none; mix-blend-mode: normal; }
  ::view-transition-group(root) { animation-duration: .18s; }
  @media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
  /* ===== こんな専門家がいたら ===== */
  .wish-box { margin-top: 28px; border: 1.5px dashed var(--green); border-radius: 20px; padding: 22px 24px; background: var(--tint-green); display: flex; flex-direction: column; gap: 10px; }
  .wish-box h3 { font-size: 18px; }
  .wish-box > p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; margin: 0; }
  .wish-fs { border: 0; padding: 0; margin: 4px 0 0; min-width: 0; }
  .wish-fs legend { padding: 0; margin-bottom: 8px; }
  .wish-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .wish-chip { position: relative; cursor: pointer; }
  .wish-chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
  .wish-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--raised); font-size: 14px; font-weight: 700; color: var(--ink-soft); }
  .wish-chip:hover span { border-color: var(--green); }
  .wish-chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
  .wish-chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
  @media (max-width: 640px) { .wish-box { padding: 18px 16px; } }
  .wish-eg { font-size: 13px !important; color: var(--ink-soft); line-height: 1.85; margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--raised); }
  /* ===== 算数でじゅうぶん ===== */
  .math-ok { margin: 0 0 22px; padding: 16px 18px; border-radius: 18px; background: var(--tint-sun); display: flex; flex-direction: column; gap: 10px; }
  .math-ok > b { font-family: var(--font-display); font-size: 16.5px; }
  .math-ok p { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--ink-soft); }
  .mo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
  .mo-list li { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); font-weight: 700; font-size: 15px; }

  /* IFAを探す */
  .sample-note { margin: 0 0 20px; background: var(--tint-red); }
  .fd-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 14px; align-items: end; padding: 18px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--raised); }
  .fd-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
  .fd-form .fd-q { grid-column: 1 / -1; }
  .fd-form input[type=search], .fd-form select { min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; }
  .fd-form .fd-chk { flex-direction: row; align-items: center; gap: 8px; min-height: 46px; font-size: 14.5px; color: var(--ink); }
  .fd-form .fd-chk input { width: 20px; height: 20px; accent-color: var(--green); }
  .fd-count { margin: 18px 2px 10px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
  .fd-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
  .fd-adlist { margin-bottom: 14px; }
  .fd-card { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--raised); }
  .fd-card.is-ad { border-color: var(--sun); background: var(--tint-sun); }
  .fd-card h3 { font-size: 17px; }
  .fd-top { display: flex; gap: 6px; }
  .fd-badge { font-size: 11.5px; font-weight: 700; padding: 1px 10px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink-soft); }
  .fd-badge.ad { border-color: var(--sun); color: var(--ink); background: var(--raised); }
  .fd-badge.sample { border-color: var(--red); color: var(--red); }
  .fd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .fd-tag { font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--tint-green); color: var(--green-deep); }
  .fd-dl { margin: 0; display: grid; gap: 4px; font-size: 14px; line-height: 1.7; }
  .fd-row { display: grid; grid-template-columns: 7.4em 1fr; gap: 8px; }
  .fd-row dt { color: var(--ink-soft); font-weight: 700; }
  .fd-row dd { margin: 0; }
  .fd-card .btn { margin-top: auto; justify-content: center; min-height: 42px; font-size: 13.5px; padding: 0 16px; text-align: center; }
  .fd-empty { margin-top: 14px; padding: 18px; border-radius: 14px; background: var(--tint-gray); }
  .fd-rule { margin: 18px 2px 22px; font-size: 13.5px; color: var(--ink-soft); }
  .fd-q-list { margin: 12px 0 0; padding-left: 1.4em; display: grid; gap: 8px; font-size: 15px; }
  .fd-q-list li b { display: block; }
  .fd-fix { margin-top: 28px; }
  .src-note { margin: 0 0 20px; background: var(--tint-gray); font-size: 14px; }
  .fd-morebox { justify-content: center; }
  .fd-form .fd-chk { grid-column: 1 / -1; }
  .fd-form .fd-chk input:disabled + span { opacity: .5; }
  .fd-dl a { color: var(--blue-deep); }
  .fd-ans { max-width: 560px; margin-top: 14px; }
  .fd-ans-lead { font-size: 14.5px; color: var(--ink-soft); }
  .fd-badge.own { border-color: var(--green); color: var(--green-deep); }
  .fd-qa { margin: 0; display: grid; gap: 10px; }
  .fd-qa dt { font-weight: 700; font-size: 14.5px; }
  .fd-qa dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.8; }
  .fd-ans-foot { font-size: 12.5px; color: var(--ink-soft); }
  #fdSecInfo { margin-top: 18px; }
  .fd-sec { border-color: var(--green); background: var(--tint-green); }
  .fd-sec .fd-tag { background: var(--raised); }
  .fd-sec-src { font-size: 12.5px; color: var(--ink-soft); }
  .fd-apply { margin-top: 28px; }
  .fd-cond { margin: 0; padding-left: 1.4em; font-size: 14.5px; color: var(--ink-soft); display: grid; gap: 4px; }
  .fd-apply-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 6px; }
  .fd-apply-form label { min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
  .fd-apply-form input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--raised); color: var(--ink); font: inherit; font-size: 15px; }
  .fd-apply-note { font-size: 13px; }

  .fd-addsite { display: inline-block; margin-top: 10px; font-size: .85rem; color: var(--ink-soft); text-decoration: underline; }
  .fd-morebox [hidden] { display: none !important; }
  .fd-sub { margin: 18px 0 6px; font-weight: 700; color: var(--green-deep); }
  header .links a.nav-extra { opacity: .75; font-weight: 500; }
  .fd-apply-form .fd-chk { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 500; color: var(--ink); font-size: 14px; }
  .fd-apply-form .fd-chk input { flex: none; width: 20px; min-height: 0; height: 20px; padding: 0; margin-top: 2px; accent-color: var(--green); }
  .fd-inq-box { margin-top: 14px; }
  .fd-dlg { width: min(92vw, 520px); max-height: 90vh; padding: 20px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--raised); color: var(--ink); }
  .fd-dlg::backdrop { background: rgba(36, 50, 42, .45); }
  .fd-dlg h3 { margin: 8px 0 2px; font-size: 18px; }
  .fd-dlg-co { margin: 0; font-weight: 700; }
  .fd-dlg-note { margin: 0; font-size: 13px; color: var(--ink-soft); }
  .fd-apply-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--raised); color: var(--ink); font: inherit; font-size: 15px; line-height: 1.7; resize: vertical; }
  .fd-dlg-hint { margin: 0; padding-left: 1.2em; font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }
  .fd-card { border-width: 1px; border-radius: 14px; gap: 8px; }
  .fd-row dt { font-weight: 500; }
  .fd-card .fd-inq { background: transparent; color: var(--green-deep); border: 1px solid var(--green); border-radius: 10px; min-height: 38px; font-weight: 700; }
  .fd-card .fd-inq:hover { background: var(--tint-green); }
  .fd-card .fd-site { border-radius: 10px; min-height: 38px; }
  .fd-card .fd-inq + .btn { margin-top: 0; }
  .fd-addsite { font-size: 12px; text-decoration: none; opacity: .8; }
  .fd-addsite:hover { text-decoration: underline; opacity: 1; }
  .fd-card .fd-inq.off { background: transparent; color: var(--ink-soft); border: 1px dashed var(--line); cursor: not-allowed; opacity: .75; }
  .fd-card .fd-inq.off + .fd-inq-cap { margin: -2px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-soft); }
  .fd-inq-cap a { color: var(--ink-soft); text-decoration: underline; }
  .fd-card .fd-inq-cap + .btn { margin-top: 0; }
  .read-index { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 6px; font-size: 15px; }
  .read-body { max-width: 720px; }
  .read-body h3 { margin: 0 0 8px; font-size: 22px; }
  .read-body h4 { margin: 24px 0 4px; font-size: 16px; color: var(--green-deep); }
  .read-body p, .read-body li { line-height: 1.95; }
  .read-body p { margin: 4px 0; }
  .read-lead { font-weight: 700; }
  .read-note { margin-top: 22px; font-size: 13px; color: var(--ink-soft); }
  .read-back, .words-more { margin: 28px 0 0; font-size: 14px; }
  .read-ref { font-size: 13px; color: var(--ink-soft); }
  .read-sub { margin: 0 0 6px; color: var(--ink-soft); font-size: 15px; }
  .read-turn { font-weight: 700; margin-top: 14px !important; }
  .read-extra { margin-top: 30px; padding: 16px 20px; border-radius: 14px; background: var(--paper, #f6f7f3); border: 1px dashed var(--line, #d8dccf); }
  .read-extra h4 { margin-top: 0; }
  .read-body h3 em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--sun) 55%, transparent) 62%); }
  .read-no { margin: 0 0 2px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--green-deep); }
  .read-body h3 { font-size: clamp(24px, 5.6vw, 32px); line-height: 1.4; margin-bottom: 10px; }
  .read-table { overflow-x: auto; margin: 10px 0 6px; }
  .read-table table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
  .read-table th, .read-table td { border: 1px solid var(--line, #dfe3d8); padding: 8px 10px; text-align: left; vertical-align: top; line-height: 1.7; }
  .read-table thead th { background: var(--paper, #f3f5ee); }
  .read-table tbody th { background: var(--paper, #f3f5ee); font-weight: 700; white-space: nowrap; }
  .read-tabs { display: flex; gap: 8px; margin: 0 0 26px; }
  .read-tab { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line, #d8dccf); background: #fff; color: var(--ink-soft); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
  .read-tab:hover { border-color: var(--green); color: var(--green-deep); }
  .read-tab.on { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
  .read-body[hidden] { display: none; }
  .read-tab:focus:not(:focus-visible) { outline: none; }
  .read-top { position: fixed; right: 16px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line, #d8dccf); background: #fff; color: var(--green-deep); font: inherit; font-size: 20px; font-weight: 700; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.12); cursor: pointer; z-index: 20; }
  .read-top:hover { border-color: var(--green); }
  .read-top[hidden] { display: none; }
  .read-top { width: auto; height: 46px; padding: 0 18px; border-radius: 23px; right: 18px; bottom: 28px; background: var(--green-deep); border-color: var(--green-deep); color: #fff; font-size: 15px; box-shadow: 0 4px 16px rgba(0,0,0,.22); }
  .read-top:hover { background: var(--green); border-color: var(--green); }
  .read-back { display: flex; flex-wrap: wrap; gap: 6px 22px; }
  .read-back a { color: var(--ink-soft); text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
  /* 豆知識：項目が増えても縦に伸びにくい列組み */
  .words { max-width: 820px; gap: 22px; }
  .word-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; align-items: start; }
  .word-group h3 { grid-column: 1 / -1; margin: 0 0 2px; }
  .word-group .word { border: 1px solid var(--line); border-radius: 12px; background: var(--raised); margin: 0; }
  .word-group .word[open] { grid-column: 1 / -1; border-color: var(--green); }
  .word-group .word summary { font-size: 13.5px; padding: 9px 10px 9px 12px; min-height: 42px; line-height: 1.45; }
  .word-group .word summary::after { padding-left: 8px; font-size: 12px; }
  .word-group .word:target { border-color: var(--green); }
  .word-group .word p, .word-group .word p.lead { padding-left: 12px; padding-right: 12px; }
  .word-group .word ul { padding-left: 32px; padding-right: 12px; }
  @media (max-width: 640px) { .word-group { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .words { max-width: 760px; }

  .step-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  .step .step-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--raised); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
  .step .step-links a:hover { border-color: var(--green); color: var(--green-deep); }
  .subnav { background: var(--paper); border-bottom: 1px solid var(--line); }
  .subnav .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-block: 8px; }
  .subnav .sub-t { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-right: 6px; }
  .subnav a { text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); }
  .subnav a:hover { color: var(--green-deep); border-color: var(--green); }
  .subnav a[aria-current="page"] { background: var(--tint-green); color: var(--green-deep); font-weight: 700; border-color: var(--green); }
  @media (max-width: 640px) { .links { justify-content: space-between; } .links a { padding: 7px 5px; font-size: 12px; } }

  .sc-lead { color: var(--ink-soft); margin-bottom: 18px; }
  .sc-list { display: grid; gap: 16px; margin-bottom: 18px; }
  .sc-group { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 16px 20px 8px; }
  .sc-group h3 { font-size: 16.5px; color: var(--blue-deep); margin-bottom: 4px; }
  .sc-row { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
  .sc-group h3 + .sc-row { border-top: 0; }
  .sc-gr { align-self: start; justify-self: start; font-size: 12.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--tint-blue); color: var(--blue-deep); }
  .sc-row b { display: block; font-size: 15px; margin-bottom: 2px; }
  .sc-row span:not(.sc-gr) { display: block; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
  .sc-note { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
  .sc-src { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }
  @media (max-width: 640px) { .sc-row { grid-template-columns: 1fr; gap: 6px; } }

  .sc-row { grid-template-columns: minmax(180px, 280px) 1fr; }
  .sc-row b { margin-bottom: 0; }
  @media (max-width: 640px) { .sc-row { grid-template-columns: 1fr; gap: 2px; } }

  .sc-h { font-size: 18px; margin: 30px 0 8px; }
  .think-list { margin-bottom: 8px; }

  .sc-row b { color: var(--ink); }
  .sc-group h3 { color: var(--blue-deep); }

  .think-list li .ta { font-style: normal; text-align: center; font-size: 20px; line-height: 1; color: var(--blue-deep); margin-top: auto; padding-top: 6px; }
  .think-list li .tw { font-style: normal; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
  .think-list li .tl { font-style: normal; text-align: center; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--tint-sun); border-radius: 999px; padding: 3px 10px; }
  .think-list li > span { min-height: 7.2em; }
  .think-list li .ta { margin-top: 0; padding-top: 2px; }
  @media (max-width: 640px) { .think-list li > span { min-height: 0; } }

  .think-list li > span { min-height: 0; }
  .think-list { margin-bottom: 0; }
  .tool-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0 0 8px; }
  .tool-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .tool-cell i { font-style: normal; font-size: 24px; line-height: 1.2; color: var(--blue-deep); }
  .tool-box { width: 100%; flex: 1; border: 1px solid var(--line); border-radius: 16px; background: var(--tint-sun); padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
  .tool-box b { font-size: 12px; color: var(--ink-soft); }
  .tool-box span { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.5; }
  @media (max-width: 880px) { .tool-row { grid-template-columns: 1fr; } .tool-cell { flex-direction: row; align-items: stretch; } .tool-cell i { align-self: center; } }

  .tool-row + .math-ok { margin-top: 28px; }

  .tool-box span { display: flex; flex-direction: column; gap: 1px; font-weight: 400; }
  .tool-box strong { font-size: 14.5px; font-weight: 700; color: var(--ink); }
  .tool-box small { font-size: 12px; color: var(--ink-soft); line-height: 1.55; }

  .tool-box small { font-size: 14px; color: var(--ink); line-height: 1.6; }
  .tool-box span { gap: 0; }
  .tool-box small { font-size: 13.5px; } .tool-box { padding-inline: 8px; }

  .cf-hint { font-size: 13.5px; color: var(--ink-soft); background: var(--tint-green); border-radius: 12px; padding: 10px 14px; margin: 0 0 10px; }

  .msg-lead { max-width: 44em; }
  .msg-lead p { font-size: 16.5px; line-height: 2; margin: 0 0 12px; }
  .msg-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0 24px; }
  .msg-card { position: relative; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); padding: 22px 24px; }
  .msg-card.m1 { background: var(--tint-green); }
  .msg-card.m2 { background: var(--tint-blue); }
  .msg-num { display: inline-block; font-size: 22px; font-weight: 900; color: var(--green-deep); margin-bottom: 4px; }
  .msg-card.m2 .msg-num { color: var(--blue-deep); }
  .msg-card h3 { font-size: 17.5px; margin: 0 0 8px; }
  .msg-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.95; margin: 0; }
  @media (max-width: 760px) { .msg-cards { grid-template-columns: 1fr; } }
.fd-first { margin: 0 0 14px; font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }
.fd-indiv, .fd-cost { margin: 0 0 12px; font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }
.hero-for { margin: 18px 0 0; font-size: 14px; line-height: 1.85; color: var(--ink-soft); max-width: 40em; }
.hero-for b { color: var(--ink); font-weight: 700; margin-right: 6px; }
/* 入口ページ（検索から着くページ） */
.entry-h { font-size: clamp(24px, 5.6vw, 32px); line-height: 1.5; margin: 0 0 16px; }
.entry-h em { font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--sun) 55%, transparent) 62%); }
.entry-pt { margin-top: 16px !important; color: var(--ink); }
.entry-q { margin: 8px 0 14px; padding-left: 1.3em; display: grid; gap: 6px; line-height: 1.9; }
.entry-next { margin-top: 28px; padding: 18px 20px; border-radius: 16px; background: var(--tint-green); }
.entry-next-lead { margin: 0 0 4px; font-weight: 700; }
.entry-next .btns { margin-top: 14px; }
/* MRF・MMFの表 */
.mm-table-wrap { overflow-x: auto; margin: 8px 0 12px; }
.mm-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; }
.mm-table th, .mm-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.mm-table thead th { background: var(--tint-green); font-size: 13px; color: var(--green-deep); }
.mm-table tbody th { font-weight: 700; white-space: nowrap; }
.mm-table td:nth-child(2) { font-weight: 700; }
.mm-table small { font-weight: 400; color: var(--ink-soft); }
.mm-note { font-size: 13px; color: var(--ink-soft); }
.mm-paper { margin: 12px 0 14px; padding: 14px 16px 10px; background: var(--raised); border-top: 4px double var(--ink); border-bottom: 1px solid var(--ink); }
.mm-mast { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 8px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.mm-mast-t { font-family: var(--font-display); font-weight: 900; font-size: 20px; letter-spacing: .08em; }
.mm-issue { font-weight: 700; font-size: 14px; color: var(--ink-soft); letter-spacing: .04em; }
.mm-news { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.mm-news th, .mm-news td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.mm-news thead th { font-size: 12px; font-weight: 700; color: var(--ink-soft); border-bottom: 1px solid var(--ink); }
.mm-news small { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-soft); }
.mm-news tbody th { font-weight: 700; }
.mm-num { font-family: var(--font-display); font-weight: 900; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mm-chg { font-weight: 700; text-align: center; white-space: nowrap; }
.mm-legend { margin: 8px 0 0 !important; font-size: 12px; color: var(--ink-soft); }
@media (max-width: 520px) { .mm-news td:last-child, .mm-news th:last-child { font-size: 12px; } .mm-num { font-size: 16px; } }
.mm-head { margin: 10px 0 6px !important; font-family: var(--font-display); font-weight: 900; font-size: clamp(19px, 4.4vw, 24px); line-height: 1.45; }
.mm-lead { margin: 0 0 10px !important; font-size: 14px; line-height: 1.85; color: var(--ink); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.mm-col + .mm-col { border-left: 1px solid var(--line); padding-left: 18px; }
.mm-colt { margin: 4px 0 2px; font-family: var(--font-display); font-size: 14px; font-weight: 900; letter-spacing: .06em; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.mm-src { margin: 6px 0 10px !important; font-size: 11.5px; line-height: 1.7; color: var(--ink-soft); }
@media (max-width: 720px) { .mm-cols { grid-template-columns: 1fr; } .mm-col + .mm-col { border-left: 0; padding-left: 0; } }
.mm-col { padding-block: 0; }
.mm-news thead th { white-space: nowrap; }
.mm-news thead th:first-child { white-space: normal; }
.mm-base { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin: 0 0 12px; padding: 8px 10px; background: var(--paper); border: 1px solid var(--ink); }
.mm-base-t { font-family: var(--font-display); font-weight: 900; font-size: 13px; letter-spacing: .06em; padding: 1px 8px; background: var(--ink); color: var(--raised); }
.mm-base-i { font-size: 13.5px; }
.mm-base-i b { margin-right: 6px; }
.mm-base-i .mm-num { font-size: 17px; }
.mm-base-i small { display: block; font-size: 11.5px; color: var(--ink-soft); }
.mm-think { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 8px; }
.mm-think li { padding: 10px 14px; border-radius: 12px; background: var(--tint-blue); font-size: 14.5px; line-height: 1.8; }
.mm-think b { display: block; color: var(--blue-deep); font-size: 14px; }
.mm-link { font-size: 14px; }
.mm-q { display: flex; gap: 14px; align-items: flex-start; margin: 14px 0 8px; padding: 14px 16px; border-radius: 16px; background: var(--tint-sun); }
.mm-q-mark { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--raised); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 17px; color: var(--green-deep); }
.mm-q p { margin: 0 !important; font-size: 15px; line-height: 1.85; }
.mm-lead-list { list-style: none; margin: 4px 0 2px; padding: 0; border-bottom: 1px solid var(--line); }
.mm-lead-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.mm-lead-list li:first-child { border-top: 0; }
.mm-lead-list b { flex: none; padding: 0 8px; background: var(--ink); color: var(--raised); font-size: 12.5px; letter-spacing: .06em; }
.mm-lead-list em { font-style: normal; font-family: var(--font-display); font-weight: 900; font-size: 17px; font-variant-numeric: tabular-nums; }
.mm-arr { color: var(--ink-soft); }
.mm-base-note { margin: 6px 0 12px !important; }
@media (max-width: 520px) { .mm-lead-list .mm-arr { display: none; } .mm-lead-list li > span:last-child { flex-basis: 100%; } .mm-lead-list li > span:last-child::before { content: "→ "; color: var(--ink-soft); } }
.mm-memo .nb { display: inline-block; }
.mm-think .mm-flow { display: block; margin: 8px 0; padding: 6px 12px; background: var(--paper); border-radius: 6px; font-weight: 700; font-size: 14px; }
.mm-flow .nb { display: inline-block; }
.mm-vs { table-layout: fixed; }
.mm-vs th:first-child { width: 28%; }
.mm-vs td:nth-child(2) { font-weight: 400; }
@media (max-width: 600px) {
  .mm-vs th, .mm-vs td { padding: 10px 8px; }
  .mm-vs tbody th { white-space: normal; }
  .mm-vs th:first-child { width: 30%; }
  .mm-vs { font-size: 13px; }
}

/* ===== 都道府県ごとのガソリン ===== */
.gs-rank { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.gs-rank-col { padding: 12px 14px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line); }
.gs-rank-col b { display: block; font-size: 13px; margin-bottom: 6px; }
.gs-rank-col.lo b { color: var(--green-deep); }
.gs-rank-col.hi b { color: #b0563a; }
.gs-rank-col ol { margin: 0; padding-left: 1.4em; font-size: 14px; }
.gs-rank-col li { margin: 2px 0; }
.gs-rank-col li span:last-child { float: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.gs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 6px; }
.gs-reg { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); }
.gs-reg h5 { margin: 0 0 6px; font-size: 12.5px; color: var(--ink-soft); }
.gs-reg ul { list-style: none; margin: 0; padding: 0; }
.gs-reg li { display: grid; grid-template-columns: 1fr auto 3.6em; gap: 6px; font-size: 13.5px; padding: 2px 0; font-variant-numeric: tabular-nums; }
.gs-reg .gs-p { font-weight: 700; }
.gs-reg .gs-d { text-align: right; font-size: 12px; color: var(--ink-soft); }
.gs-reg li.lo .gs-d { color: var(--green-deep); }
.gs-reg li.hi .gs-d { color: #b0563a; }
@media (max-width: 760px) { .gs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .gs-grid { gap: 8px; } .gs-reg { padding: 8px 9px; } .gs-reg li { font-size: 12.5px; gap: 4px; grid-template-columns: 1fr auto 3.2em; } .gs-reg .gs-d { font-size: 11px; } .gs-rank-col ol { font-size: 13px; } }

.gs-map { margin: 10px 0 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); }
.gs-map > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 22px; padding: 16px 18px; }
.gs-map > summary::-webkit-details-marker { display: none; }
.gs-map[open] > summary { border-bottom: 1px dashed var(--line); }
.gs-map > :not(summary) { margin-inline: 18px; }
.gs-map > .gs-grid { margin-bottom: 8px; }
.gs-map > p.mm-src { margin: 0 18px 16px; }
.jmap { display: grid; grid-template-columns: repeat(13, 30px); grid-template-rows: repeat(12, 30px); gap: 2px; flex: none; }
.jt { display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 10px; font-weight: 700; color: var(--ink); }
.jt.l2, .gs-legend i.l2 { background: #5f9e6e; color: #fff; }
.jt.l1, .gs-legend i.l1 { background: #b9dcbf; }
.jt.n0, .gs-legend i.n0 { background: #ecebe4; }
.jt.h1, .gs-legend i.h1 { background: #f3c9a8; }
.jt.h2, .gs-legend i.h2 { background: #d9774f; color: #fff; }
.gs-map-side { display: flex; flex-direction: column; gap: 10px; }
.gs-map-t { font-family: var(--font-display); font-weight: 900; font-size: 18px; }
.gs-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; color: var(--ink-soft); }
.gs-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; margin-left: 4px; }
.gs-open { display: inline-block; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--green-deep); color: #fff; font-size: 13px; font-weight: 700; }
.gs-map[open] .gs-open { background: var(--ink-soft); }
.gs-open .o2, .gs-map[open] .gs-open .o1 { display: none; }
.gs-map[open] .gs-open .o2 { display: inline; }
@media (max-width: 640px) {
  .gs-map > summary { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
  .jmap { grid-template-columns: repeat(13, 1fr); grid-template-rows: none; grid-auto-rows: calc((100vw - 92px) / 13); width: 100%; }
  .jt { font-size: 8px; border-radius: 3px; }
  .gs-map > :not(summary) { margin-inline: 12px; }
}
.gs-legend > span { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; margin-right: 6px; }
.gs-legend i { margin-left: 0; }
.tldr .tl-gap { display: block; height: .6em; }
.mm-colt-pt { position: relative; padding-right: 52px; }
.mm-pt { position: absolute; right: 4px; bottom: -2px; width: 40px; height: auto; }
.mm-pt-note { margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--tint-sun); font-size: 11px; font-weight: 700; color: var(--ink); vertical-align: 2px; }

/* ===== もう一歩（開く枠） ===== */
.more-box { margin: 14px 0 18px; border: 1.5px dashed color-mix(in srgb, var(--green) 55%, transparent); border-radius: 14px; background: var(--tint-sun); }
.more-box > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.more-box > summary::-webkit-details-marker { display: none; }
.more-box > summary > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.more-eye { font-size: 11.5px; font-weight: 700; color: var(--green-deep); letter-spacing: .08em; }
.more-t { font-family: var(--font-display); font-weight: 900; font-size: 17px; }
.more-open { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--green-deep); color: #fff; font-size: 12px; font-weight: 700; }
.more-box[open] .more-open { background: var(--ink-soft); }
.more-open .o2, .more-box[open] .more-open .o1 { display: none; }
.more-box[open] .more-open .o2 { display: inline; }
.more-box > p { margin: 0 18px 12px !important; }
.more-box[open] > summary { border-bottom: 1px dashed color-mix(in srgb, var(--green) 40%, transparent); margin-bottom: 12px; }
