/* sumai-sites 共通スタイル。
   モックのインラインstyleをテーマ変数へ整理したもの。配色・寸法はモックの値をそのまま使う。
   ユーザー向け(user)＝青、工務店向け(builder)＝ブロンズ。 */

:root {
  --accent:        #1f63d8;
  --accent-soft:   #2f83e6;
  --accent-hover:  #4a95e8;
  --ink:           #103254;
  --ink-2:         #1c4778;
  --body:          #3d5d88;
  --body-2:        #4c6a8e;
  --muted:         #64809f;
  --muted-2:       #6d87a5;
  --faint:         #8195b1;
  --surface:       #f1f6fc;
  --surface-2:     #eef3fa;
  --surface-3:     #dfe9f5;
  --foot-bg:       #eaf1fb;
  --line:          rgba(20, 55, 100, 0.08);
  --line-2:        rgba(20, 55, 100, 0.14);
  --line-3:        rgba(20, 55, 100, 0.22);
  --cta:           #06c755;
  --cta-hover:     #05b34c;
  --cta-shadow:    rgba(6, 199, 85, 0.28);
  --nav-h:         64px;
  --wrap:          1200px;
  --wrap-content:  1140px;
  --serif:  'Zen Old Mincho', serif;
  --sans:   'Noto Sans JP', system-ui, sans-serif;
  --mono:   'Space Mono', ui-monospace, monospace;
}

[data-theme="builder"] {
  --accent:        #c07d2e;
  --accent-soft:   #c07d2e;
  --accent-hover:  #a96a22;
  --ink:           #14293f;
  --ink-2:         #1c3a5e;
  --body:          #3f5a78;
  --body-2:        #4f6884;
  --muted:         #6a819b;
  --muted-2:       #7089a3;
  --faint:         #8496ae;
  --surface:       #f4f6fa;
  --surface-2:     #eef1f6;
  --surface-3:     #e0e5ee;
  --foot-bg:       #edf0f5;
  --line:          rgba(20, 41, 63, 0.09);
  --line-2:        rgba(20, 41, 63, 0.16);
  --line-3:        rgba(20, 41, 63, 0.22);
  --cta:           #c07d2e;
  --cta-hover:     #a96a22;
  --cta-shadow:    rgba(192, 125, 46, 0.28);
  --nav-h:         66px;
  --wrap:          1240px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--accent);
}
.eyebrow span { width: 24px; height: 1px; background: var(--accent); }

/* ── ブランド ─────────────────────────────── */
.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; color: inherit; }
.brand:hover { color: inherit; }
.brand__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.brand__name {
  font-family: var(--mono); font-weight: 700; font-size: 16px;
  letter-spacing: 0.15em; color: var(--ink);
}
.brand__badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-2);
  background: color-mix(in srgb, var(--ink-2) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink-2) 14%, transparent);
  padding: 3px 8px; border-radius: 6px;
}

/* ── ナビ ─────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px);
  min-height: var(--nav-h); display: flex; align-items: center;
  justify-content: space-between; gap: 18px;
}
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; font-size: 13.5px; font-weight: 500; color: var(--body);
  padding: 8px 13px;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-current::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--accent);
}
.nav__cta { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.nav__sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.nav__sub:hover { color: var(--body); }
.nav__mobile { display: none; }
.nav__mobile > summary {
  list-style: none; width: 40px; height: 40px; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 4.5px;
  border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer;
}
.nav__mobile > summary::-webkit-details-marker { display: none; }
.nav__mobile > summary span { width: 17px; height: 1.5px; background: var(--ink); }
.nav__drawer {
  position: absolute; left: 0; right: 0; top: var(--nav-h);
  border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.98);
  padding: 8px clamp(16px, 4vw, 32px) 22px;
}
.nav__drawer > a {
  display: block; padding: 14px 4px; font-size: 16px; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav__drawer-sub { font-size: 14px !important; color: var(--muted) !important; border: 0 !important; }

/* ── ボタン ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 14px; font-weight: 700; padding: 12px 22px; border-radius: 999px;
  white-space: nowrap; border: 1px solid transparent;
}
.btn--cta { background: var(--cta); color: #fff; box-shadow: 0 4px 18px var(--cta-shadow); }
.btn--cta:hover { background: var(--cta-hover); color: #fff; }
.btn--line { background: #06c755; color: #fff; box-shadow: 0 4px 18px rgba(6, 199, 85, 0.25); }
.btn--line:hover { background: #05b34c; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); font-weight: 600; border-color: var(--line-3); }
.btn--ghost:hover { border-color: var(--accent); color: var(--ink); }
.btn--block { display: flex; width: 100%; margin-top: 14px; padding: 15px; border-radius: 12px; }

/* ── 一覧ヒーロー ─────────────────────────── */
.lhero {
  background: radial-gradient(900px 460px at 50% -12%,
              color-mix(in srgb, var(--accent-soft) 11%, transparent), transparent 58%), #fff;
}
.lhero__inner {
  max-width: var(--wrap-content); margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) clamp(16px, 4vw, 32px) clamp(28px, 4vw, 40px);
  text-align: center;
}
.lhero h1 {
  font-family: var(--serif); font-weight: 900; font-size: clamp(32px, 5.5vw, 54px);
  line-height: 1.25; margin: 0 0 20px; text-wrap: balance;
}
.lhero p {
  font-size: clamp(15px, 1.8vw, 17px); line-height: 1.9; color: var(--body);
  max-width: 34em; margin: 0 auto;
}

/* ── コラム一覧 ───────────────────────────── */
.list {
  max-width: var(--wrap-content); margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px) clamp(56px, 8vw, 96px);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.chip {
  font-size: 13px; color: var(--body); border: 1px solid var(--line-2);
  padding: 9px 18px; border-radius: 999px;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip.is-on { color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 600; }
.chip.is-on:hover { color: #fff; }

/* minmax の下限は min(…, 100%) で包む。素の minmax(300px,1fr) は 300px 未満に縮まないため、
   コンテナがそれより狭いと必ずはみ出す（親に overflow:hidden があると黙って切れる）。
   コンテナに 300px 以上あるときの挙動は素の指定と完全に同じで、PC表示は変わらない。 */
.feature {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  margin-bottom: 48px; color: inherit;
}
.feature:hover { border-color: var(--accent); color: inherit; }
.feature__thumb {
  /* グリッド項目の既定 min-width:auto は「中身の最小幅」まで広がろうとするので、
     画像の実寸が列幅を押し広げてしまう。0 にして列幅に従わせる。 */
  min-width: 0;
  /* さらに max-width:100% が必要。aspect-ratio 16/11 と min-height 220px の組み合わせは
     「高さ220px を満たす幅」＝ 220 × 16/11 = 320px を暗黙の下限として要求するため、
     列幅が320px未満だとはみ出す（実測: 320px幅の /column/ で17pxはみ出して切れていた）。
     max-width で列幅に頭を押さえると、狭いときは高さ優先で 220px を保ちつつ幅は収まる。 */
  max-width: 100%;
  aspect-ratio: 16 / 11; min-height: 220px; display: flex; align-items: center;
  justify-content: center; background: repeating-linear-gradient(45deg,
    var(--surface-2), var(--surface-2) 13px, var(--surface-3) 13px, var(--surface-3) 26px);
}
.feature__thumb img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 44px); }
.feature__tags { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tag {
  font-size: 11px; font-weight: 700; color: #fff; background: var(--accent-soft);
  padding: 4px 11px; border-radius: 999px;
}
.feature__cat { font-size: 12px; color: var(--muted); }
.feature h2 {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 700;
  line-height: 1.45; margin: 0 0 14px; text-wrap: balance; color: var(--ink);
}
.feature p { font-size: 14.5px; line-height: 1.9; color: var(--body-2); margin: 0 0 20px; max-width: 38em; }
.feature__meta { font-size: 12.5px; color: var(--muted-2); }

.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}
.card {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; color: inherit;
}
.card:hover { border-color: var(--accent); color: inherit; }
.card__thumb {
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(45deg,
    var(--surface-2), var(--surface-2) 13px, var(--surface-3) 13px, var(--surface-3) 26px);
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px 22px 24px; }
.card__cat { font-size: 11.5px; color: var(--accent-soft); margin-bottom: 10px; }
.card h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.55;
  margin: 0 0 12px; color: var(--ink);
}
.card p {
  font-size: 13.5px; line-height: 1.8; color: var(--body-2); margin: 0 0 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__meta { font-size: 12px; color: var(--muted-2); }

.pager {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: 56px; font-size: 14px; color: var(--muted);
}
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ── 記事 ─────────────────────────────────── */
.art__head {
  max-width: 760px; margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 32px) clamp(28px, 4vw, 40px);
}
.crumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 12.5px; color: var(--muted); margin-bottom: 24px;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.art__head h1 {
  font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 4.8vw, 46px);
  line-height: 1.4; margin: 0 0 24px; text-wrap: balance;
}
.art__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: 13px; color: var(--muted);
}
.art__author { display: flex; align-items: center; gap: 9px; color: var(--body); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--ink-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px; font-weight: 700; color: #e9f0fa;
}
.avatar--lg { width: 52px; height: 52px; font-size: 14px; }
.avatar--xl { width: 96px; height: 96px; font-size: 22px; }
.art__supervised { margin: 14px 0 0; font-size: 13px; color: var(--muted); }

.art__hero { max-width: 960px; margin: 0 auto clamp(36px, 5vw, 56px); padding: 0 clamp(16px, 4vw, 32px); }
.art__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; }
.art__hero figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: right; }

.lede, .takeaways, .art__body, .faq, .authorbox, .cta {
  max-width: 720px; margin-left: auto; margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px); padding-right: clamp(16px, 4vw, 32px);
}
.lede {
  margin-bottom: 32px;
}
.lede__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 10px;
}
.lede p {
  font-size: clamp(16px, 2vw, 18px); line-height: 2.05; color: var(--ink-2);
  margin: 0; padding: 22px 24px; background: var(--surface);
  border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0;
}
.takeaways { margin-bottom: 36px; }
.takeaways__title { font-family: var(--serif); font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.takeaways ul { margin: 0; padding-left: 1.2em; }
.takeaways li { font-size: 15.5px; line-height: 1.95; color: var(--body); margin-bottom: 8px; }

.art__body { padding-bottom: clamp(24px, 4vw, 40px); }
.art__body > *:first-child { margin-top: 0; }
.art__body p { font-size: 16.5px; line-height: 2.05; color: var(--body); margin: 0 0 22px; }
.art__body h2 {
  font-family: var(--serif); font-size: clamp(22px, 3vw, 28px); font-weight: 700;
  line-height: 1.5; margin: 44px 0 20px; color: var(--ink);
}
.art__body h3 {
  font-family: var(--serif); font-size: clamp(18px, 2.4vw, 22px); font-weight: 700;
  line-height: 1.55; margin: 32px 0 14px; color: var(--ink);
}
.art__body b, .art__body strong { color: var(--ink); }
.art__body ul, .art__body ol { margin: 0 0 24px; padding-left: 1.4em; }
.art__body li { font-size: 16px; line-height: 1.95; color: var(--body); margin-bottom: 10px; }
.art__body blockquote {
  margin: 36px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--accent);
}
.art__body blockquote p {
  font-family: var(--serif); font-size: clamp(20px, 2.8vw, 26px); line-height: 1.7;
  color: var(--ink-2); margin: 0; text-wrap: balance;
}
.art__body img { border-radius: 14px; margin: 28px 0; }
.art__body a { text-decoration: underline; text-underline-offset: 3px; }
.art__body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.art__body th, .art__body td { border: 1px solid var(--line-2); padding: 12px 14px; text-align: left; }
.art__body th { background: var(--surface); font-weight: 700; color: var(--ink); }
.art__body figure { margin: 28px 0; }
.art__body figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ── 記事内CTA ────────────────────────────── */
.cta {
  margin: 36px auto;
}
.cta__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 12px;
}
.cta__title {
  font-family: var(--serif); font-size: clamp(19px, 2.6vw, 24px); font-weight: 700;
  margin: 0 0 12px; line-height: 1.5;
}
.cta__lead { font-size: 14.5px; line-height: 1.9; color: var(--body-2); margin: 0 0 22px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__actions--center { justify-content: center; }
.art .cta {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 10%, #fff),
    color-mix(in srgb, var(--accent) 6%, #fff));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 18px; padding: clamp(26px, 4vw, 36px); max-width: 720px;
}

/* ── FAQ ──────────────────────────────────── */
.faq { margin: 48px auto; }
.faq h2 { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; margin: 0 0 20px; }
.faq dl { margin: 0; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 12px;
}
.faq dt { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.faq dd { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--body-2); }

/* ── 著者ボックス ─────────────────────────── */
.authorbox {
  display: flex; gap: 18px; align-items: center; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 28px; margin-top: 32px; max-width: 720px;
}
.authorbox--sv { border-color: color-mix(in srgb, var(--accent) 28%, transparent); }
.authorbox__label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 6px;
}
.authorbox__name { font-size: 15px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 4px; }
.authorbox__role { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.authorbox p { font-size: 13.5px; line-height: 1.8; color: var(--body-2); margin: 0; }

/* ── ピラー導線 ───────────────────────────── */
.pillar-link { max-width: 720px; margin: 40px auto; padding: 0 clamp(16px, 4vw, 32px); }
.pillar-link--list { max-width: var(--wrap-content); margin-top: 64px; padding: 0; }
.pillar-link__inner {
  border: 1px dashed var(--line-3); border-radius: 16px; padding: 22px 26px;
  background: #fff;
}
.pillar-link__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--muted); margin-bottom: 8px;
}
.pillar-link__inner a {
  font-family: var(--serif); font-size: clamp(17px, 2.2vw, 21px); font-weight: 700;
  line-height: 1.5; color: var(--ink);
}
.pillar-link__inner a:hover { color: var(--accent); }

/* ── 関連記事 ─────────────────────────────── */
.related {
  max-width: var(--wrap-content); margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 32px);
}
.related h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin: 0 0 32px; }
.related__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.related__head h2 { margin-bottom: 32px; }
.related__more { font-size: 14px; white-space: nowrap; }

/* ── 静的ページ ───────────────────────────── */
.static__head { max-width: 860px; margin: 0 auto; padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 32px) 24px; }
.static__head h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 4.4vw, 42px); line-height: 1.35; margin: 0 0 18px; }
.static__lead { font-size: 16px; line-height: 1.95; color: var(--body); margin: 0; }
.static__body { max-width: 780px; margin: 0 auto; padding: 8px clamp(16px, 4vw, 32px) clamp(48px, 7vw, 80px); }
.static__body h2 { font-family: var(--serif); font-size: clamp(21px, 2.8vw, 26px); font-weight: 700; margin: 40px 0 16px; }
.static__body h3 { font-family: var(--serif); font-size: 19px; font-weight: 700; margin: 28px 0 12px; }
.static__body p { font-size: 16px; line-height: 2; color: var(--body); margin: 0 0 20px; }
.static__body ul, .static__body ol { padding-left: 1.4em; margin: 0 0 22px; }
.static__body li { font-size: 15.5px; line-height: 1.95; color: var(--body); margin-bottom: 9px; }
.static__body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.static__body th, .static__body td { border: 1px solid var(--line-2); padding: 12px 14px; text-align: left; }
.static__body th { background: var(--surface); color: var(--ink); }

.authorpage { display: flex; align-items: center; gap: 22px; margin: 8px 0 20px; }
.authorpage__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.authorpage h1 { margin: 0 0 6px; font-size: clamp(24px, 3.4vw, 34px); }
.authorpage__role { font-size: 14px; color: var(--muted); }
.authorpage__badge {
  display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 700;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 3px 10px; border-radius: 999px;
}

.notfound { max-width: 720px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 32px); text-align: center; }
.notfound h1 { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); margin: 0 0 16px; }
.notfound p { color: var(--body); margin: 0 0 28px; }

/* ── フッター ─────────────────────────────── */
.foot { background: var(--foot-bg); border-top: 1px solid var(--line); color: var(--body-2); }
.foot__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 7vw, 80px) clamp(16px, 4vw, 32px) 40px; }
.foot__cols { display: flex; flex-wrap: wrap; gap: 48px 64px; justify-content: space-between; }
.foot__brand { max-width: 360px; min-width: 260px; }
.foot__brand .brand { margin-bottom: 18px; }
.foot__tagline { font-family: var(--serif); font-size: 18px; line-height: 1.7; color: var(--ink-2); margin: 0 0 14px; }
.foot__lead { font-size: 13px; line-height: 1.85; color: var(--body-2); margin: 0 0 22px; }
.foot__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.foot__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted-2); margin-bottom: 16px; }
.foot__list { display: flex; flex-direction: column; gap: 13px; font-size: 14px; }
.foot__list a { color: var(--body-2); }
.foot__list a:hover { color: var(--ink); }
.foot__corp {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px 40px; font-size: 12.5px; line-height: 1.7; color: var(--muted);
}
.foot__corp span { color: var(--faint); }
.foot__bottom {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
}
.foot__bottom p { margin: 0; font-size: 12.5px; color: var(--faint); }
.foot__bottom a { color: var(--body-2); text-decoration: underline; text-underline-offset: 3px; }
.foot__mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; }

/* モックの sc-if（開閉状態）から生成した目印。JS無効時は開いた状態が正。 */
.dcq-when-open { display: contents; }
.dcq-when-closed { display: contents; }
[hidden] { display: none !important; }

/* ── 3分診断 ──────────────────────────── */
.diag__inner { max-width: 720px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px) clamp(56px, 8vw, 96px); }
.diag__list { list-style: none; margin: 0; padding: 0; counter-reset: diag; }
.diag__q { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 22px 24px; margin-bottom: 14px; }
.diag__q h2 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin: 0 0 14px; line-height: 1.5; }
.diag__opts { display: flex; flex-direction: column; gap: 10px; }
.diag__opts label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; color: var(--body); }
.diag__opts input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.diag__opts label:hover span { color: var(--ink); }
.diag__submit { text-align: center; margin: 28px 0 0; }
.diag__result { margin-top: 40px; border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent); border-radius: 18px; padding: clamp(24px, 4vw, 34px); background: color-mix(in srgb, var(--accent) 7%, #fff); }
.diag__result-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 10px; }
.diag__result h2 { font-family: var(--serif); font-size: clamp(20px, 2.8vw, 26px); font-weight: 700; margin: 0 0 14px; line-height: 1.5; }
.diag__result p { font-size: 15px; line-height: 1.95; color: var(--body); margin: 0 0 18px; }
.diag__result ul { margin: 0 0 24px; padding-left: 1.3em; }
.diag__result li { font-size: 14.5px; line-height: 1.9; color: var(--body-2); margin-bottom: 8px; }
.diag__note { font-size: 12px !important; color: var(--muted) !important; margin: 18px 0 0 !important; }

/* ── FAQページ ────────────────────────────
   details/summary で作る。JS無効でも開閉でき、本文はHTMLに含まれる。 */
.faqpage__inner { max-width: 780px; margin: 0 auto; padding: clamp(24px, 4vw, 40px) clamp(16px, 4vw, 32px) clamp(56px, 8vw, 96px); }
.faqpage__group {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--accent);
  margin: 40px 0 16px; font-weight: 700;
}
.faqpage__group:first-child { margin-top: 0; }
.qa { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
.qa > summary {
  list-style: none; cursor: pointer; padding: 18px 46px 18px 22px; position: relative;
  font-size: 15.5px; font-weight: 700; color: var(--ink); line-height: 1.6;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after {
  content: "＋"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--accent); font-weight: 700;
}
.qa[open] > summary::after { content: "－"; }
.qa > summary:hover { color: var(--accent); }
.qa > div { padding: 0 22px 20px; }
.qa p { font-size: 14.5px; line-height: 1.95; color: var(--body-2); margin: 0; }
.qa a { text-decoration: underline; text-underline-offset: 3px; }

/* ── シミュレーター ───────────────────────── */
.sim { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sim__inner { max-width: 1000px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 32px); }
.sim__title { font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin: 0 0 12px; }
.sim__lead { font-size: 15px; line-height: 1.9; color: var(--body); margin: 0 0 32px; max-width: 42em; }
.sim__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(24px, 4vw, 48px); }
.sim__controls { display: flex; flex-direction: column; gap: 22px; }
.sim__field { display: block; font-size: 14px; color: var(--body); }
.sim__field > span { display: block; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.sim__field input[type="range"] { width: 100%; accent-color: var(--accent); margin-bottom: 6px; }
.sim__field output { font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--accent); }
.sim__result { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 32px); }
.sim__headline { margin-bottom: 18px; }
.sim__hl-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 8px; }
.sim__headline strong { font-family: var(--serif); font-size: clamp(34px, 6vw, 52px); font-weight: 900; color: var(--ink); line-height: 1; }
.sim__headline strong span { font-size: 0.4em; font-weight: 700; margin-left: 6px; color: var(--body); }
.sim__bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-3); margin-bottom: 20px; }
.sim__bar-down { background: var(--ink-2); }
.sim__bar-loan { background: var(--accent); }
.sim__rows { margin: 0; }
.sim__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sim__rows dt { color: var(--body); margin: 0; }
.sim__rows dd { margin: 0; font-weight: 700; color: var(--ink); white-space: nowrap; }
.sim__rows output { font-family: var(--mono); }
.sim__note { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 16px 0 0; }

/* ── モック由来の静的ページ用 ─────────────────
   .dc-block はモックの条件分岐タグを外した名残。レイアウトに影響させないため
   display:contents で箱を消し、子要素だけを親のグリッド/フレックスに渡す。 */
.dc-block { display: contents; }
.only-desktop { display: contents; }
.only-mobile { display: none; }
@media (max-width: 899px) {
  .only-desktop { display: none; }
  .only-mobile { display: contents; }
}
/* ── レスポンシブ ─────────────────────────── */
@media (max-width: 999px) {
  [data-theme="builder"] .nav__links,
  [data-theme="builder"] .nav__cta { display: none; }
  [data-theme="builder"] .nav__mobile { display: block; }
}
@media (max-width: 899px) {
  .nav__links, .nav__cta { display: none; }
  .nav__mobile { display: block; }
  .feature__body { padding: 24px; }
  .authorbox { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ── モック由来ページの grid の下限を安全にする ────────────────
 * モックは `repeat(auto-fit,minmax(NNNpx,1fr))` をインラインstyleで多用している。
 * auto-fit は「列数を減らす」だけで下限 NNNpx は効き続けるため、コンテナが
 * NNNpx より狭いと必ずはみ出す。親に overflow:hidden があると**黙って切れる**。
 * 実測: 320px 幅の sumai_user トップで、見出しと本文が右に16pxはみ出して切れていた。
 *
 * 下限を min(NNNpx, 100%) に読み替えることで、
 *   - コンテナに NNNpx 以上あるとき → 素の指定と完全に同じ（PC・タブレットは不変）
 *   - コンテナが狭いとき → 100% まで縮んではみ出さない
 * となる。メディアクエリに入れないのは、破綻する幅がコンテナ依存で
 * ビューポート幅から一律に決められないため。
 *
 * インラインstyleに勝つ必要があるので !important。書式は空白なしの実体に合わせる。 */
[style*="repeat(auto-fit,minmax(220px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important; }
[style*="repeat(auto-fit,minmax(230px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)) !important; }
[style*="repeat(auto-fit,minmax(240px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)) !important; }
[style*="repeat(auto-fit,minmax(248px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(248px, 100%), 1fr)) !important; }
[style*="repeat(auto-fit,minmax(250px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)) !important; }
[style*="repeat(auto-fit,minmax(260px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)) !important; }
[style*="repeat(auto-fit,minmax(280px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)) !important; }
[style*="repeat(auto-fit,minmax(290px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)) !important; }
[style*="repeat(auto-fit,minmax(300px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)) !important; }
[style*="repeat(auto-fit,minmax(320px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)) !important; }
[style*="repeat(auto-fit,minmax(330px,1fr))"] { grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)) !important; }
[style*="repeat(auto-fill,minmax(300px,1fr))"] { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)) !important; }

/* ── モック由来ページ（template_key='raw'）のモバイル調整 ──────────
 * モックにはメディアクエリが1つも無く、レイアウトはすべてインラインstyle。
 * そのため狭い画面ではPC用の寸法がそのまま効いて崩れる。
 * ここでの上書きは **すべてメディアクエリの中**に閉じてあり、PC表示は変わらない。
 * インラインstyleに勝つ必要があるため `!important` を使う。
 * 生成HTMLは書き換えないので、モックを再変換しても壊れない。
 * セレクタは「インラインstyleの部分一致」で、その崩れ方をする要素だけを狙う。
 */
@media (max-width: 640px) {
  /* 会社案内などの定義テーブル（工務店向け /flow/）。
   * 各行が独立した grid で `minmax(120px,180px) 1fr` を持つため、
   * 狭い幅ではラベル列が最大180pxを占めて値が潰れ（商号行が高さ240pxになる）、
   * さらに行ごとに列幅が変わって列が揃わなくなる（414px以上では揃うのでPCでは見えない）。
   * モバイルではラベルを上、値を下に積む。全行が同じ形になり必ず揃う。 */
  [style*="minmax(120px,180px) 1fr"] {
    grid-template-columns: 1fr !important;
  }
  [style*="minmax(120px,180px) 1fr"] > :first-child {
    padding: 12px 16px 6px !important;
    background: transparent !important;
    font-size: 12px !important;
    letter-spacing: 0.04em !important;
  }
  [style*="minmax(120px,180px) 1fr"] > :last-child {
    padding: 0 16px 14px !important;
    overflow-wrap: anywhere;
  }

  /* 長い英数字（メールアドレス・URL・ドメイン）がセルや箱を突き抜けないようにする */
  a[href^="mailto:"] { overflow-wrap: anywhere; }

  /* モックの装飾ラベルは 10px の箇所がある。実機で読めないので下限を11pxにする */
  [style*="font-size:10px"] { font-size: 11px !important; }

  /* 入力欄が16px未満だと iOS がフォーカス時にページを拡大し、崩れて見える */
  input, select, textarea { font-size: 16px !important; }
}

/* ── 比較表（横スクロール設計）のモバイル調整 ────────────────
 * min-width（640/680px）と overflow-x:auto はモック側のインライン指定。
 * sc-raw-table を素の table に戻したことで初めて機能するようになった。
 *
 * ただし機能した結果、375pxでは1列目「条件」が222pxを占め、**最重要の
 * 「★ スマイバディ」列が 502〜656px＝完全に画面外**になっていた（実測）。
 * 初期表示が「行ラベル＋競合1列」だけでは表の意味が伝わらない。
 * セルを詰めて表の必要幅そのものを下げ、より多くの列を最初から見せる。
 * 文言・列構成・配色は変えない。 */
@media (max-width: 720px) {
  [style*="overflow-x:auto"] {
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  /* 必要幅を 640/680px から 500px 前後まで落とす */
  [style*="overflow-x:auto"] > table { min-width: 500px !important; font-size: 12.5px !important; }
  [style*="overflow-x:auto"] > table th,
  [style*="overflow-x:auto"] > table td { padding: 12px 7px !important; }
  /* 1列目（条件名）を左に固定する。
   * セルの max-width は表レイアウトでは強制力が無く、1列目は155pxを占め続ける。
   * 幅を削るのではなく**固定表示**にすれば、★スマイバディ列までスクロールしても
   * 「どの条件の行か」が読めるので、表として意味が通る。
   * 固定するセルは不透明な背景が必要（下を流れる列が透けるため）。
   * 背景色はセクションの実色に合わせる（ユーザー向け #eaf1fb / 工務店向け #1c3a5e）。 */
  [style*="overflow-x:auto"] > table th:first-child,
  [style*="overflow-x:auto"] > table td:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 1;
    background: #eaf1fb !important;
    padding-left: 10px !important;
    white-space: normal !important;
    box-shadow: 6px 0 6px -6px rgba(20, 55, 100, 0.18);
  }
  [data-theme="builder"] [style*="overflow-x:auto"] > table th:first-child,
  [data-theme="builder"] [style*="overflow-x:auto"] > table td:first-child {
    background: #1c3a5e !important;
    box-shadow: 6px 0 6px -6px rgba(0, 0, 0, 0.35);
  }
  /* 記号（◎○△×）の列は詰めてよい。記号自体は読める大きさを保つ。 */
  [style*="overflow-x:auto"] > table td:not(:first-child) { font-size: 15px !important; }
}

/* ── モックの <helmet><style> 由来の keyframes ────────────────
 * tools/convert_mockups.py は <helmet> を「SSRに不要な殻」として丸ごと落とすが、
 * その中にモックのアニメーション定義が入っていた。配信HTMLのインライン
 * `animation: sbfade .8s ease both` 等が参照しているのに定義が無く、
 * モックが意図した演出（フェードイン・ドットの点滅）が失われていた。
 * 定義が無い animation は単に無効化されるだけなので表示は壊れていなかったが、
 * 「デザインはモックに忠実」の方針に照らして復活させる。 */
@keyframes sbfade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes sbup   { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sbpulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }

/* ── sticky ヘッダーとページ内アンカーの衝突 ───────────────
 * .nav は position:sticky なので、`#document` などへ飛ぶとブラウザは対象の上端を
 * ビューポート上端（＝ヘッダーの裏）に合わせてしまい、見出しが隠れる。
 * PCでも同じ症状なので、メディアクエリには入れない。 */
html { scroll-padding-top: calc(var(--nav-h) + 12px); }

/* ── モバイルのドロワーが画面外に出て届かなくなる問題 ─────────
 * .nav__drawer は position:absolute で、包含ブロックが position:sticky の .nav。
 * sticky はスクロールしてもビューポート上端に貼り付くため、ドロワーも動かない。
 * 自身にスクロールが無いと、画面高が足りない端末（iPhone SE・横向き全機種）で
 * 最下部のCTAに永久に到達できない。PCでは .nav__mobile が display:none なので影響なし。 */
.nav__drawer {
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));   /* iOS のツールバー分を除いた実高さ */
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ── ナビのラベルは折り返してはいけない ──
 * 工務店向けはナビ6項目＋バッジ＋CTA2個で必要幅が広く、ハンバーガー切替が
 * 999px だと 1000〜1111px の帯で「PCナビが出るが収まらない」状態になる。
 * 折り返し禁止と、切替幅の引き上げの両方で塞ぐ。 */
.nav__link { white-space: nowrap; }
@media (max-width: 1119px) {
  [data-theme="builder"] .nav__links,
  [data-theme="builder"] .nav__cta { display: none; }
  [data-theme="builder"] .nav__mobile { display: block; }
}

/* ── モバイルの操作性・可読性（≤640px） ─────────────────── */
@media (max-width: 640px) {
  /* フッターのリンク一覧は高さ20px・間隔13px（ピッチ33px）で、縦に並ぶ隣を誤タップする。
     gap を padding に振り替えると、見た目の間隔をほぼ保ったまま当たり判定が44pxになる。 */
  .foot__list { gap: 0; }
  .foot__list a { display: block; padding: 12px 0; }

  /* シミュレーターのスライダーは既定の高さが16pxで指では掴めない。
     このページの唯一の操作要素なので、掴めないとページの機能が成立しない。
     ネイティブのトラックは垂直中央に描かれるため、高さを広げても見た目はほぼ同じ。 */
  .sim__field input[type="range"] { height: 44px; }

  /* 結果行はラベル左・値右の1行flex。ラベルに括弧の補足が入る行だけ幅が足りず、
     dd が nowrap なのでラベル側だけが折り返して「）」が孤立する。縦積みにする。 */
  .sim__rows > div { flex-direction: column; align-items: flex-start; gap: 3px; }
  .sim__rows dd { align-self: flex-end; }

  /* 小さすぎるタップ領域。インライン要素の縦paddingは行送りを変えないので、
     レイアウトを動かさずに当たり判定だけ広げられる。 */
  .crumbs { gap: 6px 14px; }
  .crumbs a { padding-block: 12px; }
  .chip { padding: 12px 18px; }
  .related__more { display: inline-block; padding: 12px 0; }

  /* CSSクラス側の 10.5px。インラインstyle向けの床ルールでは拾えないので個別に上げる。 */
  .brand__badge { font-size: 11.5px; }
}

/* バッジを 10.5→11.5px にすると、工務店向けのヘッダーが 320px で 8px はみ出す。
 * `.brand` は flex-shrink:0 で縮まないため、ロゴ名＋バッジ＋ハンバーガーが
 * そのまま必要幅になるため（実測 313px / 利用可能 305px）。
 * バッジの可読性は落とさず、ブランド名の字送りで幅を作る。 */
@media (max-width: 400px) {
  .brand__name { font-size: 14px; letter-spacing: 0.1em; }
  .brand__badge { padding: 2px 6px; }

  /* 日本語の禁則。既定の line-break:normal は長音符・小書き仮名・中黒の行頭を許すため、
     狭い幅で和文として不自然な位置に切れる。見出しだけ厳しくする。 */
  h1, h2, h3, .feature h2, .card h3, .qa > summary,
  .static__body h2, .static__body h3 { line-break: strict; }

  /* 記事本文・静的ページの本物の表は、CJKが1文字単位で折り返せるため
     列が2〜4文字に潰れて読めない。横スクロールに切り替える（マークアップは触らない）。 */
  .art__body table, .static__body table {
    display: block; width: 100%; overflow-x: auto; white-space: nowrap;
    font-size: 13.5px; -webkit-overflow-scrolling: touch;
  }
  .art__body th, .art__body td,
  .static__body th, .static__body td { padding: 9px 10px; }
}

/* ── 記事内カードの左右余白 ──
 * .art .cta と .authorbox が padding ショートハンドで共通の左右余白を打ち消しており、
 * ビューポートが max-width(720px) を下回ると枠線が画面端に貼り付く。
 * PCでは margin:auto で中央に浮くため気づけない。 */
@media (max-width: 767px) {
  .art .cta, .authorbox {
    margin-left: clamp(16px, 4vw, 32px);
    margin-right: clamp(16px, 4vw, 32px);
  }
}

/* ── 法務ページの定義リスト ──
 * tools/build_legal_pages.py が原稿の style / class を落とすため、
 * dl/dt/dd がブラウザ既定（dd に 40px インデント・行間 normal）になり、
 * 周囲の本文（line-height:2）と揃わずモバイルで読みにくい。 */
.static__body dl { margin: 24px 0; }
.static__body dt { font-weight: 700; color: var(--ink); margin-top: 18px; }
.static__body dd {
  margin: 6px 0 0; margin-inline-start: 0;
  font-size: 15.5px; line-height: 2; color: var(--body);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── 見出しの clamp 最小値をモバイル用に下げる ───────────────
 * モックはPC専用（メディアクエリ0件）で、clamp の最小値は「PCの窓を少し狭めたとき」
 * 用の値。走査した全 clamp で vw項が最小値を超えるのは最小480pxからなので、
 * 320〜414px では例外なく最小値がそのまま使われ、見出しが2〜4行に割れて
 * 1〜2文字の孤立行が出ていた（航平さん指摘の「文字の大きさと改行」）。
 *
 * 479px 以下では元々 vw が効いていないため、ここでの上書きは
 * **480px 以上の描画を1pxも変えない**（PC・タブレットは完全に不変）。
 * インラインstyleに勝つため !important。書式は配信HTMLの実体に合わせる。 */
@media (max-width: 479px) {
  [style*="clamp(72px,11vw,140px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 655px以上で vw が勝つ */
  [style*="clamp(72px,15vw,128px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 480px以上で vw が勝つ */
  [style*="clamp(64px,10vw,128px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 640px以上で vw が勝つ */
  [style*="clamp(64px,9vw,120px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 711px以上で vw が勝つ */
  [style*="clamp(64px,9vw,112px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 711px以上で vw が勝つ */
  [style*="clamp(64px,10vw,120px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 640px以上で vw が勝つ */
  [style*="clamp(64px,9vw,110px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 711px以上で vw が勝つ */
  [style*="clamp(64px,13vw,132px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 492px以上で vw が勝つ */
  [style*="clamp(58px,12vw,124px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 483px以上で vw が勝つ */
  [style*="clamp(56px,8vw,96px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 700px以上で vw が勝つ */
  [style*="clamp(56px,8vw,104px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 700px以上で vw が勝つ */
  [style*="clamp(56px,9vw,112px)"] { font-size: 38px !important; line-height: 1.15 !important; }   /* 622px以上で vw が勝つ */
  [style*="clamp(52px,8vw,96px)"] { font-size: 30px !important; line-height: 1.15 !important; }   /* 650px以上で vw が勝つ */
  [style*="clamp(48px,8vw,92px)"] { font-size: 30px !important; line-height: 1.15 !important; }   /* 600px以上で vw が勝つ */
  [style*="clamp(48px,7vw,88px)"] { font-size: 30px !important; line-height: 1.15 !important; }   /* 686px以上で vw が勝つ */
  [style*="clamp(48px,8vw,96px)"] { font-size: 30px !important; line-height: 1.15 !important; }   /* 600px以上で vw が勝つ */
  [style*="clamp(48px,7vw,80px)"] { font-size: 30px !important; line-height: 1.15 !important; }   /* 686px以上で vw が勝つ */
  [style*="clamp(44px,7vw,88px)"] { font-size: 30px !important; line-height: 1.15 !important; }   /* 629px以上で vw が勝つ */
  [style*="clamp(44px,6vw,58px)"] { font-size: 30px !important; line-height: 1.15 !important; }   /* 733px以上で vw が勝つ */
  [style*="clamp(44px,7vw,80px)"] { font-size: 30px !important; line-height: 1.15 !important; }   /* 629px以上で vw が勝つ */
  [style*="clamp(40px,6.5vw,72px)"] { font-size: 27px !important; }   /* 615px以上で vw が勝つ */
  [style*="clamp(40px,6vw,64px)"] { font-size: 27px !important; }   /* 667px以上で vw が勝つ */
  [style*="clamp(40px,6vw,56px)"] { font-size: 27px !important; }   /* 667px以上で vw が勝つ */
  [style*="clamp(40px,7vw,80px)"] { font-size: 27px !important; }   /* 571px以上で vw が勝つ */
  [style*="clamp(40px,7vw,72px)"] { font-size: 27px !important; }   /* 571px以上で vw が勝つ */
  [style*="clamp(38px,6.4vw,68px)"] { font-size: 27px !important; }   /* 594px以上で vw が勝つ */
  [style*="clamp(38px,5.4vw,52px)"] { font-size: 27px !important; }   /* 704px以上で vw が勝つ */
  [style*="clamp(36px,5vw,68px)"] { font-size: 25px !important; }   /* 720px以上で vw が勝つ */
  [style*="clamp(36px,5vw,72px)"] { font-size: 25px !important; }   /* 720px以上で vw が勝つ */
  [style*="clamp(36px,7vw,68px)"] { font-size: 25px !important; }   /* 514px以上で vw が勝つ */
  [style*="clamp(34px,6.4vw,64px)"] { font-size: 25px !important; }   /* 531px以上で vw が勝つ */
  [style*="clamp(34px,6vw,60px)"] { font-size: 25px !important; }   /* 567px以上で vw が勝つ */
  [style*="clamp(34px,6vw,62px)"] { font-size: 25px !important; }   /* 567px以上で vw が勝つ */
  [style*="clamp(32px,5vw,56px)"] { font-size: 23px !important; }   /* 640px以上で vw が勝つ */
  [style*="clamp(32px,5.6vw,58px)"] { font-size: 23px !important; }   /* 571px以上で vw が勝つ */
  [style*="clamp(32px,5.6vw,60px)"] { font-size: 23px !important; }   /* 571px以上で vw が勝つ */
  [style*="clamp(32px,5.5vw,54px)"] { font-size: 23px !important; }   /* 582px以上で vw が勝つ */
  [style*="clamp(32px,5vw,64px)"] { font-size: 23px !important; }   /* 640px以上で vw が勝つ */
  [style*="clamp(32px,4vw,48px)"] { font-size: 23px !important; }   /* 800px以上で vw が勝つ */
  [style*="clamp(32px,5vw,52px)"] { font-size: 23px !important; }   /* 640px以上で vw が勝つ */
  [style*="clamp(32px,5.5vw,56px)"] { font-size: 23px !important; }   /* 582px以上で vw が勝つ */
  [style*="clamp(30px,5.2vw,52px)"] { font-size: 23px !important; }   /* 577px以上で vw が勝つ */
  [style*="clamp(30px,5.4vw,56px)"] { font-size: 23px !important; }   /* 556px以上で vw が勝つ */
  [style*="clamp(30px,5.5vw,52px)"] { font-size: 23px !important; }   /* 545px以上で vw が勝つ */
  [style*="clamp(28px,4vw,40px)"] { font-size: 22px !important; }   /* 700px以上で vw が勝つ */
  [style*="clamp(28px,5.2vw,50px)"] { font-size: 22px !important; }   /* 538px以上で vw が勝つ */
  [style*="clamp(28px,4.6vw,46px)"] { font-size: 22px !important; }   /* 609px以上で vw が勝つ */
  [style*="clamp(28px,4.6vw,44px)"] { font-size: 22px !important; }   /* 609px以上で vw が勝つ */
  [style*="clamp(28px,4vw,44px)"] { font-size: 22px !important; }   /* 700px以上で vw が勝つ */
  [style*="clamp(28px,5vw,48px)"] { font-size: 22px !important; }   /* 560px以上で vw が勝つ */
  [style*="clamp(28px,4.4vw,44px)"] { font-size: 22px !important; }   /* 636px以上で vw が勝つ */
  [style*="clamp(28px,4.4vw,42px)"] { font-size: 22px !important; }   /* 636px以上で vw が勝つ */
  [style*="clamp(27px,4.4vw,44px)"] { font-size: 22px !important; }   /* 614px以上で vw が勝つ */
  [style*="clamp(26px,4.4vw,42px)"] { font-size: 21px !important; }   /* 591px以上で vw が勝つ */
  [style*="clamp(26px,4vw,40px)"] { font-size: 21px !important; }   /* 650px以上で vw が勝つ */
  [style*="clamp(26px,4.2vw,42px)"] { font-size: 21px !important; }   /* 619px以上で vw が勝つ */
  [style*="clamp(26px,4.2vw,40px)"] { font-size: 21px !important; }   /* 619px以上で vw が勝つ */
  [style*="clamp(26px,3.4vw,36px)"] { font-size: 21px !important; }   /* 765px以上で vw が勝つ */
  [style*="clamp(26px,5vw,38px)"] { font-size: 21px !important; }   /* 520px以上で vw が勝つ */
  [style*="clamp(24px,4vw,38px)"] { font-size: 20px !important; }   /* 600px以上で vw が勝つ */
  [style*="clamp(24px,4vw,40px)"] { font-size: 20px !important; }   /* 600px以上で vw が勝つ */
  [style*="clamp(24px,4.4vw,34px)"] { font-size: 20px !important; }   /* 545px以上で vw が勝つ */
  [style*="clamp(24px,3.4vw,40px)"] { font-size: 20px !important; }   /* 706px以上で vw が勝つ */
  [style*="clamp(24px,3.6vw,36px)"] { font-size: 20px !important; }   /* 667px以上で vw が勝つ */
  [style*="clamp(24px,3.6vw,34px)"] { font-size: 20px !important; }   /* 667px以上で vw が勝つ */
}
