/* 紹介ページのつなぎ直し(2026-11-30 オーナー承認。見本 デザイン見本/2026-11-30_紹介ページのつなぎ直し/)。どのページでも最後に読む。
   【なぜ】ホーム(明るい地に青い光・白いすりガラス・青いボタン)と、紹介ページ(暗い写真に白い字)と、テンプレートのページの下の半分
   (クリーム色の地・太い黒の罫・黒いボタン)で見た目が3通りあり、検索から来た人が同じサービスか迷っていた。
   値はホーム(index.html の #lp)と同じ: 地 #eef2f8・主の青 #2457c5(白い字 6.5:1)・見出しは太さ600・文字は端末の書体。
   ⚠️ 紫・多色のグラデ・グラデーションの文字・絵文字は使わない(CLAUDE.md 2.3)。光は青の1色だけ。 */

:root {
  --p-ink: #16191f;
  --p-muted: #5a606b;
  --p-sub: #465063;
  --p-line: rgba(22, 25, 31, 0.12);
  --p-soft: #f5f6f9;
  --p-bg3: #eef2f8;
  --p-accent: #2457c5;
  --p-accent-deep: #1c4aad;
  --p-title: #1a2c52;
  --p-sans: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic UI', sans-serif;
  --p-num: 'Inter Tight', -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
}
html body { font-family: var(--p-sans); }

/* ── 上の帯(ホームの .nav と同じ。白いすりガラス・墨の字・右に青いボタン) ── */
html body header.site {
  top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(22, 25, 31, 0.08); transition: none;
}
/* テンプレートのページは、場面が上の帯の下まで続く作り(tplscene.css)なので、帯は今までどおり重ねて置く */
html body:not(.th) header.site { position: sticky; }
html body.th header.site { position: fixed; left: 0; right: 0; }
html body header.site .wrap { max-width: 1176px; height: 56px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); display: flex; align-items: center; gap: 26px; }
html body header.site a.brand { display: flex; align-items: center; gap: 9px; color: var(--p-ink); font-size: 15px; font-weight: 700; letter-spacing: 0; text-decoration: none; text-shadow: none; white-space: nowrap; }
html body header.site nav { display: flex; gap: 24px; margin-left: auto; }
html body header.site nav a { color: var(--p-muted); font-size: 13px; letter-spacing: 0; text-decoration: none; text-shadow: none; white-space: nowrap; }
html body header.site nav a:hover, html body header.site nav a[aria-current='page'] { color: var(--p-ink); text-decoration: none; }
html body header.site nav a[aria-current='page'] { font-weight: 600; }
html body header.site a.hbtn {
  display: inline-flex; align-items: center; justify-content: center; flex: none; height: 34px; padding: 0 14px; margin: 0;
  border: 1px solid var(--p-accent); border-radius: 10px; background: var(--p-accent); color: #fff;
  font: 600 13px var(--p-sans); letter-spacing: 0; text-decoration: none; white-space: nowrap; transition: background 0.2s, border-color 0.2s;
}
html body header.site a.hbtn:hover { background: var(--p-accent-deep); border-color: var(--p-accent-deep); }
html body header.site a:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
@media (max-width: 900px) {
  html body header.site nav { display: none; }
  html body header.site a.hbtn { margin-left: auto; }
}

/* ── 住所の欄(ホームの #lp .startbox と同じ) ── */
.startbox { display: flex; gap: 8px; align-items: center; width: 100%; max-width: 540px; margin: 22px 0 0; padding: 7px 7px 7px 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.86); text-align: left;
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(13, 20, 36, 0.06), 0 14px 34px rgba(13, 20, 36, 0.1); }
.startbox:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 0 2px var(--p-accent), 0 14px 34px rgba(36, 87, 197, 0.14); }
.startbox .pin { flex: none; color: #7a8393; }
.startbox input[type='text'] { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0; border: 0; outline: 0; background: none; font: 500 16.5px var(--p-sans); color: var(--p-ink); }
.startbox input::placeholder { color: #737984; }
.startbox .sb-t { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--p-sub); }
.startbox .sbtn, main.v3 .startbox a.sbtn { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border: 1px solid var(--p-accent); border-radius: 14px;
  background: var(--p-accent); color: #fff; font: 600 15px var(--p-sans); letter-spacing: 0.04em; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background 0.2s; }
.startbox .sbtn:hover { background: var(--p-accent-deep); border-color: var(--p-accent-deep); }
.startbox .sbtn:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 3px; }
main.v3 .startalt { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 12.5px; line-height: 1.5; color: var(--p-muted); letter-spacing: 0.02em; }
main.v3 .startalt a { color: var(--p-accent); font-weight: 600; text-decoration: none; }
@media (max-width: 420px) {
  .startbox { padding-left: 11px; gap: 6px; }
  .startbox .pin { display: none; }
  .startbox input[type='text'] { font-size: 16px; }
  .startbox .sbtn, main.v3 .startbox a.sbtn { padding: 0 13px; font-size: 14.5px; letter-spacing: 0.02em; }
  .startbox .sb-t { font-size: 13.5px; }
}

/* ── 紹介ページ(v4)と、テンプレートのページの下の半分: 色の値をホームにそろえる(クリーム色と暖かい墨をやめる) ── */
html body.v3 { --ink: #16191f; --muted: #5a606b; --paper: #f5f6f9; --rule: #e2e6ed; --glow: #2457c5; --glow-deep: #1c4aad; color: var(--p-ink); }
main.v3 .in { max-width: 1176px; }

/* 最初の画面 */
main.v4 .v4h { position: relative; isolation: isolate; overflow: hidden; background: var(--p-bg3); }
main.v4 .v4h::before { content: ''; position: absolute; z-index: -1; top: -20%; right: -10%; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(36, 87, 197, 0.2), rgba(36, 87, 197, 0)); pointer-events: none; }
main.v4 .v4h::after { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
main.v4 .v4h .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 64px; min-height: calc(100vh - 56px); min-height: calc(100svh - 56px); }
main.v4 .v4h-txt { min-width: 0; }
main.v4 .v4h .crumbs { margin: 0 0 18px; }
main.v4 .v4h .crumbs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; font-size: 12px; color: var(--p-muted); }
main.v4 .v4h .crumbs li { margin: 0; padding: 0; border: 0; }
main.v4 .v4h .crumbs li + li::before { content: '›'; margin: 0 7px; color: var(--p-muted); }
main.v4 .v4h .crumbs a { color: var(--p-muted); text-decoration: none; }
main.v4 .v4h h1 { margin: 0; color: var(--p-title); font-family: var(--p-sans); font-weight: 600; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.16; letter-spacing: -0.01em; font-feature-settings: 'palt'; text-shadow: none; text-wrap: balance; word-break: auto-phrase; }
main.v4 .v4h h1 span { display: block; }
main.v4 .v4h h1 span.sm { margin-top: 6px; font-size: 0.6em; line-height: 1.35; }
main.v4 .v4h h1.long { font-size: clamp(30px, 3.6vw, 46px); }
main.v4 .v4lead { margin: 16px 0 0; max-width: 32em; font-size: 16px; line-height: 1.75; font-weight: 500; color: var(--p-sub); }
main.v4 .v4h .cost { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; font-size: 14.5px; line-height: 1.5; font-weight: 600; color: var(--p-ink); }
main.v4 .v4h .cost i { font-style: normal; font-weight: 500; color: var(--p-muted); }
main.v4 .v4h .cost b { font-family: var(--p-num); font-size: 1.34em; font-weight: 700; color: var(--p-accent); letter-spacing: -0.01em; }
main.v4 .v4h .cost b small { font-family: var(--p-sans); font-size: 0.64em; margin-left: 1px; }
main.v4 .v4h .notes { margin: 2px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--p-muted); }
main.v4 .v4h .notes span { display: inline-block; margin-right: 0.9em; }
main.v4 .v4above { margin: 18px 0 -12px; font-size: 13px; font-weight: 600; color: var(--p-sub); }
main.v4 .v4h .meta { margin: 14px 0 0; font-size: 12px; color: var(--p-muted); }

/* 右の完成見本(ガラスの額) */
main.v4 .v4h-art { position: relative; min-width: 0; margin: 0; }
main.v4 figure.v4h-art, main.v4 .v4h-art.pair figure, main.v4 .v4h-art.node .dlbox { margin: 0; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85), 0 30px 60px rgba(20, 36, 72, 0.16); }
main.v4 .v4h-art img { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; }
main.v4 .v4h-art figcaption { margin: 10px 4px 2px; font-size: 12.5px; line-height: 1.6; color: var(--p-muted); }
main.v4 .v4h-art figcaption b { display: block; font-size: 14px; color: var(--p-ink); }
main.v4 .v4h-art figcaption span { display: block; }
main.v4 .v4h-art a.big { color: var(--p-accent); font-weight: 600; text-decoration: none; }
main.v4 .v4h-art.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
main.v4 .v4h-art.pair figure { position: relative; padding: 8px; }
main.v4 .v4h-art.pair figure::before { content: attr(data-tag); position: absolute; z-index: 1; left: 16px; top: 16px; padding: 3px 9px; border-radius: 7px; background: rgba(22, 25, 31, 0.78); color: #fff; font-size: 12px; font-weight: 600; }
main.v4 .v4h-art.pair figure:last-child::before { background: var(--p-accent); }
main.v4 .v4h-art.pair figcaption b { font-size: 13px; }
main.v4 .v4h-art.node .dlbox { display: block; padding: 18px; }
main.v4 .v4h-art.node .dlbox img { max-width: 300px; margin: 0 auto 14px; box-shadow: 0 1px 2px rgba(20, 30, 50, 0.08), 0 10px 26px rgba(20, 30, 50, 0.12); }
main.v4 .v4h-art.node .dlbox h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
main.v4 .v4h-art.node .dlbox p { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--p-sub); }
main.v4 .v4h-art.node .dlbox .note { margin: 12px 0 0; }

/* 節(3つの手順・フリーとプロ・見本) */
main.v4 .v4s { padding: 72px 0; background: #fff; }
main.v4 .v4s.soft { background: var(--p-soft); }
main.v4 .v4s h2, main.v3 .v4final h2 { margin: 0 0 10px; font-family: var(--p-sans); font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.3; letter-spacing: -0.005em; color: var(--p-ink); text-wrap: balance; }
main.v4 .v4s .sub2 { margin: 0 0 30px; max-width: 46em; font-size: 15px; line-height: 1.75; color: var(--p-muted); }
main.v4 .v4s h2 + .steps { margin-top: 26px; }
main.v4 .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
main.v4 .card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(22, 25, 31, 0.05), 0 10px 30px rgba(13, 20, 36, 0.07); }
main.v4 .card img { display: block; width: 100%; height: auto; aspect-ratio: 1100 / 710; object-fit: cover; object-position: top; background: #eef1f6; }
main.v4 .card .b { padding: 18px 20px 22px; }
main.v4 .card .k { font-family: var(--p-num); font-size: 14px; font-weight: 700; color: var(--p-accent); }
main.v4 .card h3 { margin: 2px 0 6px; font-family: var(--p-sans); font-size: 19px; font-weight: 700; line-height: 1.45; color: var(--p-ink); }
main.v4 .card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--p-muted); }
main.v4 .steps.noimg .card { background: var(--p-soft); box-shadow: none; }
main.v4 .steps.noimg .card .k { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 8px; border-radius: 12px; background: #fff; font-size: 17px; box-shadow: 0 1px 2px rgba(13, 20, 36, 0.06); }

main.v4 .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
main.v4 .plan { padding: 26px 26px 22px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(22, 25, 31, 0.05), 0 10px 30px rgba(13, 20, 36, 0.06); }
main.v4 .plan.pro { box-shadow: inset 0 0 0 2px var(--p-accent), 0 10px 30px rgba(36, 87, 197, 0.12); }
main.v4 .plan .nm { margin: 0; font-size: 15px; font-weight: 700; color: var(--p-muted); }
main.v4 .plan .pr { margin: 2px 0 14px; font-size: 28px; font-weight: 700; line-height: 1.25; color: var(--p-ink); }
main.v4 .plan ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
main.v4 .plan li { position: relative; margin: 0; padding: 0 0 0 28px; line-height: 1.55; border: 0; }
main.v4 .plan li::before { content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 6px;
  background: #e7eefc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%232457c5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
main.v4 .plan .when { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--p-line); font-size: 13.5px; line-height: 1.7; color: var(--p-sub); }
main.v4 .plan .when b { display: block; color: var(--p-ink); }
main.v4 .more-link, main.v3 .v4final .more-link { margin: 22px 0 0; font-size: 14.5px; }
main.v4 .more-link a { color: var(--p-accent); font-weight: 600; text-decoration: none; }

main.v4 .gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
main.v4 .gal li { margin: 0; padding: 0; border: 0; min-width: 0; }
main.v4 .gal a { display: flex; flex-direction: column; height: 100%; color: var(--p-ink); text-decoration: none; }
main.v4 .gal img { display: block; width: 100%; height: auto; aspect-ratio: 1300 / 920; object-fit: cover; object-position: top; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(13, 20, 36, 0.08), 0 8px 22px rgba(13, 20, 36, 0.08); transition: transform 0.2s; }
main.v4 .gal a:hover img { transform: translateY(-3px); }
main.v4 .gal .gl { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14.5px; }
main.v4 .gal .go { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--p-accent); }
main.v3 .ttag { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 11.5px; font-style: normal; font-weight: 700; line-height: 1.5; }
main.v3 .ttag.free { background: #e6f2ec; color: #1d5c3c; }
main.v3 .ttag.pro { background: #e7eefc; color: #1b4aa8; }

/* 読み物(今までの本文): 左に目次、白い面に本文 */
main.v3 .v4read { padding: 72px 0; background: var(--p-soft); }
main.v3 .v4read .in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
main.v3 .v4read .in.one { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
main.v3 .side4 { position: sticky; top: 76px; min-width: 0; }
main.v3 .v4read nav.v4toc { margin: 0; max-width: none; padding: 16px 18px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(13, 20, 36, 0.05); font-size: 13.5px; }
main.v3 .v4read nav.v4toc p { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; color: var(--p-muted); }
main.v3 .v4read nav.v4toc ol { margin: 0; padding: 0; list-style: none; counter-reset: none; }
main.v3 .v4read nav.v4toc ol > li { margin: 0; padding: 0; border: 0; font-size: 13.5px; line-height: 1.5; }
main.v3 .v4read nav.v4toc ol > li::before { content: none; }
main.v3 .v4read nav.v4toc a { display: block; padding: 6px 0; color: var(--p-ink); text-decoration: none; }
main.v3 .v4read nav.v4toc a:hover { color: var(--p-accent); }
main.v3 .article { min-width: 0; padding: 38px 42px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(13, 20, 36, 0.05), 0 10px 30px rgba(13, 20, 36, 0.05); }
main.v3 .article > :first-child { margin-top: 0; }
main.v3 .article .a-lead, main.v3 .article .th-lead { margin: 0 0 28px; max-width: none; font-size: 16.5px; line-height: 1.9; color: var(--p-sub); }
main.v3 .article h2 { margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--p-line); font-family: var(--p-sans); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: var(--p-ink); scroll-margin-top: 76px; }
main.v3 .article > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
main.v3 .article h3 { font-family: var(--p-sans); font-weight: 700; font-size: 18px; margin: 32px 0 8px; }
main.v3 .article p { color: #2a2f38; }
/* 太い黒の罫(2px の墨)をやめて、細い線に */
main.v3 .main ul > li:first-child, main.v3 .main ol > li:first-child { border-top: 1px solid var(--rule); }
main.v3 .main ul > li, main.v3 .main ol > li { border-bottom-color: var(--rule); }
main.v3 dl.faq dt, main.v3 dl.faq dt:first-child { border-top: 1px solid var(--rule); }
main.v3 dl.faq dt { font-weight: 700; }
main.v3 h2, main.v3 h3 { font-weight: 700; }
main.v3 .main li strong, main.v3 .main strong { font-weight: 700; }
main.v3 .cards { gap: 12px; }
main.v3 ul.cards > li, main.v3 ul.cards > li:nth-child(-n + 2) { border: 0; }
main.v3 .cards a { padding: 16px 44px 16px 18px; border-radius: 14px; background: var(--p-soft); }
main.v3 .cards a:hover { background: #edf1f8; }
main.v3 .cards b { font-weight: 700; font-size: 16px; }
main.v3 .start-proof { border: 0; border-radius: 16px; background: var(--p-soft); }
main.v3 .tpl-tag { border-radius: 6px; font-weight: 700; }
main.v3 .tplgrid figcaption b { font-weight: 700; }
main.v3 .calc { background: var(--p-title); }
main.v3 .calc .row { background: #22365e; }

/* いちばん下の住所の欄 */
main.v3 .v4final { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0 90px; text-align: center; background: var(--p-bg3); }
main.v3 .v4final::before { content: ''; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -40%; height: 90%; background: radial-gradient(closest-side, rgba(36, 87, 197, 0.18), rgba(36, 87, 197, 0)); }
main.v3 .v4final .startbox { margin: 22px auto 0; }
main.v3 .v4final .startalt { justify-content: center; }
main.v3 .v4final .fine { max-width: 40em; margin: 18px auto 0; font-size: 13px; line-height: 1.8; color: var(--p-muted); }

/* 足元: 白い地にホームと同じ薄い灰の線 */
body.v3 footer.site .wrap { max-width: 1176px; }

@media (max-width: 900px) {
  main.v4 .v4h .in { grid-template-columns: minmax(0, 1fr); gap: 26px; min-height: 0; padding-top: 18px; padding-bottom: 44px; }
  main.v4 .v4h .crumbs { margin-bottom: 12px; }
  main.v4 .v4h h1 { font-size: clamp(30px, 8.6vw, 44px); }
  main.v4 .v4h h1.long { font-size: clamp(26px, 7vw, 38px); }
  main.v4 .v4lead { font-size: 15px; margin-top: 12px; }
  main.v4 .startbox { margin-top: 16px; }
  main.v4 .steps, main.v4 .plans { grid-template-columns: minmax(0, 1fr); }
  main.v4 .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  main.v4 .v4s, main.v3 .v4read { padding: 52px 0; }
  main.v3 .v4read .in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  main.v3 .side4 { position: static; }
  main.v3 .article { padding: 24px 18px; border-radius: 16px; }
  main.v3 .article h2 { margin-top: 48px; padding-top: 22px; }
  main.v3 .v4final { padding: 60px 0 70px; }
}
@media (max-width: 380px) {
  main.v4 .v4h .notes { font-size: 10.5px; }
  main.v4 .v4h .notes span { margin-right: 0.5em; }
  main.v4 .v4h-art.pair { gap: 8px; }
  main.v4 .v4h-art.pair figure { padding: 5px; }
}

/* 読み物の中の細部(2026-11-30 撮って直した所) */
main.v3 tr:first-child th, main.v3 tr:first-child td { border-top: 0; }
main.v3 .tpl-tag.pro { background: #e7eefc; color: #1b4aa8; }
main.v3 .article .start-proof { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); align-items: start; gap: 28px; padding: 24px; margin: 0 0 36px; }
main.v3 .article .start-proof h2 { margin: 0 0 10px; padding: 0; border: 0; font-size: 22px; }
/* 見方の番号: 本文の ol の「01」と、見本の番号の丸が重なっていた */
main.v3 .main .anno ol > li { padding: 0 0 0 36px; border: 0; margin-bottom: 14px; font-size: 14.5px; }
main.v3 .main .anno ol > li:first-child { border: 0; }
main.v3 .main .anno ol > li::before { content: counter(a); left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--cedar, #9a5a34); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; letter-spacing: 0; }
main.v3 .main .anno ol { counter-reset: a; }
main.v3 .main .anno ol > li { counter-increment: a; }
/* 見比べの2枚(間取り図・帯替え): 右の絵を広く、札は絵の上の縁に */
main.v4 .v4h .in:has(.v4h-art.pair) { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); }
main.v4 .v4h-art.pair figure::before { top: -11px; left: 14px; }
@media (max-width: 900px) {
  main.v4 .v4h .in:has(.v4h-art.pair) { grid-template-columns: minmax(0, 1fr); }
  main.v3 .article .start-proof { grid-template-columns: minmax(0, 1fr); padding: 18px; }
}

/* 幅の狭いスマホ(SE など 320px): 上の帯の名前がボタンの下にもぐっていた */
@media (max-width: 380px) {
  html body header.site .wrap { gap: 10px; padding-left: 14px; padding-right: 12px; }
  html body header.site a.brand { min-width: 0; gap: 6px; font-size: 13px; }
  html body header.site a.brand svg { width: 22px; height: 22px; flex: none; }
  html body header.site a.hbtn { padding: 0 10px; font-size: 12.5px; }
}
main.v3 .article > .meta { margin: 0 0 18px; font-size: 12.5px; color: var(--p-muted); }
@media (max-width: 600px) {
  main.v4 .v4h-art.pair figcaption { font-size: 11.5px; line-height: 1.5; }
  main.v4 .v4h-art.pair figcaption b { font-size: 12.5px; }
}

/* ── 紹介ページ v4 の最初の画面の絵の種類を足した(2026-11-30 つなぎ直しの2回目)。ページごとに本物を置く ──
   shot = 機能の本物の画面(PC の画面にスマホの画面を重ねる)/ fan = 本物のチラシを3枚重ねて広げる /
   doc = 配るテンプレートの絵とダウンロード / node.tool = そのページの道具そのもの(レントロールの計算) */
main.v4 figure.v4h-art.shot { padding: 10px; }
main.v4 .v4h-art.shot .scr { position: relative; }
main.v4 .v4h-art.shot .scr img:not(.ph) { box-shadow: 0 0 0 1px rgba(22, 25, 31, 0.06); }
main.v4 .v4h-art.shot .ph { position: absolute; left: -34px; bottom: -26px; width: 26%; height: auto; border-radius: 22px; border: 5px solid #fff; background: #fff; box-shadow: 0 18px 40px rgba(20, 36, 72, 0.22); }
main.v4 .v4h .in:has(.v4h-art.shot) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
main.v4 .v4h-art.shot.has-ph figcaption { padding-left: 24%; }
main.v4 figure.v4h-art.fan { padding: 18px 18px 12px; }
main.v4 .v4h-art.fan .fanbox { position: relative; aspect-ratio: 1.28; }
main.v4 .v4h-art.fan .fanbox img { position: absolute; width: 74%; height: auto; border-radius: 6px; box-shadow: 0 2px 4px rgba(13, 20, 36, 0.1), 0 18px 40px rgba(13, 20, 36, 0.16); }
main.v4 .v4h-art.fan .fanbox img.f0 { left: 0; top: 0; transform: rotate(-5deg); }
main.v4 .v4h-art.fan .fanbox img.f1 { right: 0; top: 4%; transform: rotate(4deg); }
main.v4 .v4h-art.fan .fanbox img.f2 { left: 13%; bottom: 0; }
main.v4 .v4h-art.fan .fl { position: absolute; z-index: 2; padding: 3px 9px; border-radius: 7px; background: rgba(22, 25, 31, 0.78); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
main.v4 .v4h-art.fan .fl.f0 { left: 2%; top: -4px; }
main.v4 .v4h-art.fan .fl.f1 { right: 2%; top: 1%; }
main.v4 .v4h-art.fan .fl.f2 { left: 15%; bottom: calc(52% + 6px); background: var(--p-accent); }
main.v4 .v4h-art figcaption a.dl { display: inline-flex; align-items: center; justify-content: center; height: 44px; margin-top: 10px; padding: 0 20px; border-radius: 14px; background: var(--p-accent); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
main.v4 .v4h-art figcaption a.dl:hover { background: var(--p-accent-deep); }
main.v4 .v4h-art.doc img { box-shadow: 0 0 0 1px rgba(22, 25, 31, 0.08); }
main.v4 .v4h-art .v4cap { margin: 0 4px 10px; font-size: 12.5px; line-height: 1.6; color: var(--p-muted); }
main.v4 .v4h-art .v4cap b { display: block; font-size: 15px; color: var(--p-ink); }
main.v4 .v4h-art .v4cap span { display: block; }
main.v4 .v4h-art.node.tool .rr { margin: 0; }
/* 道具が背の高い最初の画面は、文と欄を上にそろえる(真ん中にそろえると、欄が最初の画面の下へ押し出される) */
main.v4 .v4h.tool .in { align-items: start; padding-top: 40px; }
main.v4 .v4h.tool .v4h-txt { position: sticky; top: 80px; }

/* 読み物の中の本物の画面・用語・例文(機能のページを v4 にした分) */
main.v3 .article figure.shot4 { margin: 22px 0 26px; }
main.v3 .article figure.shot4 img { display: block; width: 100%; height: auto; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(22, 25, 31, 0.06), 0 12px 30px rgba(13, 20, 36, 0.1); }
main.v3 .article figure.shot4 figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.7; color: var(--p-muted); }
main.v3 .article .side4x { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 28px; align-items: start; margin: 10px 0 8px; }
main.v3 .article .side4x figure.shot4 { margin: 0; }
main.v3 .article .side4x > ul { margin-top: 0; }
main.v3 .article .side4x h3:first-child { margin-top: 0; }
main.v3 .article dl.defs { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 0; margin: 18px 0 26px; border-top: 1px solid var(--rule); }
main.v3 .article dl.defs dt, main.v3 .article dl.defs dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.75; }
main.v3 .article dl.defs dt { padding-right: 18px; font-weight: 700; color: var(--p-ink); }
main.v3 .article dl.defs dd { color: #2a2f38; }
main.v3 .article .mails4 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 18px 0 8px; }
main.v3 .article .mail4 { display: flex; flex-direction: column; min-width: 0; padding: 22px 22px 18px; border-radius: 16px; background: var(--p-soft); }
main.v3 .article .mail4 h3 { margin: 0 0 10px; font-size: 16.5px; }
main.v3 .article .mail4 pre { flex: 1; margin: 0 0 14px; padding: 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 14px; line-height: 1.9; color: var(--p-sub); background: none; border: 0; }
main.v3 .article .mail4 button { align-self: flex-start; height: 40px; padding: 0 18px; border: 1px solid var(--p-accent); border-radius: 12px; background: #fff; color: var(--p-accent); font: 600 13.5px var(--p-sans); cursor: pointer; }
main.v3 .article .mail4 button.done { background: var(--p-accent); color: #fff; }
@media (max-width: 900px) {
  main.v4 .v4h .in:has(.v4h-art.shot) { grid-template-columns: minmax(0, 1fr); }
  main.v4 .v4h-art.shot .ph { display: none; }
  main.v4 .v4h-art.shot.has-ph figcaption { padding-left: 0; }
  main.v4 .v4h.tool .v4h-txt { position: static; }
  main.v3 .article .side4x, main.v3 .article .mails4 { grid-template-columns: minmax(0, 1fr); }
  main.v3 .article .side4x figure.shot4 { max-width: 420px; }
  main.v3 .article dl.defs { grid-template-columns: minmax(0, 1fr); }
  main.v3 .article dl.defs dt { padding-bottom: 0; border-bottom: 0; }
  main.v3 .article dl.defs dd { padding-top: 4px; }
}

/* 配るファイルのページ(エクセルのテンプレート)の、題名のすぐ下のダウンロード(2026-12-01)。
   スマホでは右の枠が題名の下へ回り、ボタンが最初の画面の外(上から960px)だった。PC は右の枠のボタンが最初の画面にあるので出さない(同じボタンを並べない) */
main.v4 .v4dl { display: none; }
@media (max-width: 900px) {
  main.v4 .v4dl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 16px 0 0; }
  main.v4 .v4dl a.dl { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; background: var(--p-accent); color: #fff; font-size: 15.5px; font-weight: 700; text-decoration: none; }
  main.v4 .v4dl a.dl:hover { background: var(--p-accent-deep); }
  main.v4 .v4dl span { font-size: 13px; color: var(--p-sub); }
  main.v4 .v4dl + .v4above { margin-top: 22px; }
}

/* ── 検索の2回目(2026-12-02): 引用される資料の部品。表示のルールの計算と早見表・法改正カレンダー・サービスの要点 ──
   見た目はほかの v4 の部品と同じ(白いすりガラスの面・主の青・細い線)。新しい色は足さない(期限の札だけ注意の橙の薄い地) */
main.v4 .v4h-art.node .hcalc, main.v4 .v4h-art.node .hk-next { margin: 0; padding: 18px 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 30px 60px rgba(20, 36, 72, 0.16); }
.hcalc .hc-row { display: grid; grid-template-columns: 112px minmax(0, 150px) minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--p-line); cursor: text; }
.hcalc .hc-row:first-of-type { border-top: 0; }
.hcalc .hc-l { font-size: 15px; font-weight: 700; color: var(--p-ink); line-height: 1.3; }
.hcalc .hc-l small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--p-muted); }
.hcalc .hc-in { display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 12px; border-radius: 12px; background: #f1f3f7; box-shadow: inset 0 0 0 1px rgba(22, 25, 31, 0.06); }
.hcalc .hc-in:focus-within { box-shadow: inset 0 0 0 2px var(--p-accent); background: #fff; }
.hcalc .hc-in input { flex: 1; min-width: 0; width: 100%; margin: 0; padding: 0; border: 0; outline: 0; background: none; font: 600 18px var(--p-num); color: var(--p-ink); text-align: right; }
.hcalc .hc-in i { font-style: normal; font-size: 14px; color: var(--p-muted); }
.hcalc output { display: block; font-size: 14px; font-weight: 600; color: var(--p-ink); line-height: 1.35; }
.hcalc output b { font-family: var(--p-num); font-size: 26px; font-weight: 700; color: var(--p-accent); margin: 0 2px; letter-spacing: -0.01em; }
.hcalc output small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: var(--p-muted); font-family: var(--p-sans); }
.hcalc a.dl, .hk-next a.dl, main.v3 .pdfbox a.dl, main.v3 .article .pdfbox a.dl { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 14px; padding: 0 20px; border-radius: 14px; background: var(--p-accent); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.hcalc a.dl:hover, .hk-next a.dl:hover, main.v3 .pdfbox a.dl:hover { background: var(--p-accent-deep); }
main.v3 .article .hcalc { margin: 0 0 28px; padding: 18px; border-radius: 16px; background: var(--p-soft); }

/* 早見表(根拠の列つき)と PDF の案内 */
main.v3 table.rules4 td.basis { font-size: 13px; line-height: 1.6; color: var(--p-sub); white-space: normal; }
main.v3 .article .pdfbox { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: 22px 0 8px; padding: 22px 24px; border-radius: 16px; background: #eef3fd; }
main.v3 .article .pdfbox h3 { margin: 0 0 6px; font-size: 17px; }
main.v3 .article .pdfbox p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--p-sub); }
main.v3 .article .pdfbox a.dl { flex: none; margin: 0; }
main.v3 .article ul.walkgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0 10px; padding: 0; list-style: none; }
main.v3 .main ul.walkgrid > li, main.v3 .main ul.walkgrid > li:first-child { margin: 0; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--p-soft); font-size: 13.5px; line-height: 1.4; }
main.v3 .main ul.walkgrid > li::before { content: none; }
main.v3 ul.walkgrid b { display: block; font-size: 14.5px; color: var(--p-ink); }
main.v3 ul.walkgrid span { font-family: var(--p-num); color: var(--p-sub); }
main.v4 .v4h-art.node .alt-dl, main.v3 .article .alt-dl { margin: 10px 0 0; font-size: 13.5px; color: var(--p-sub); }
main.v3 .alt-dl a { color: var(--p-accent); font-weight: 600; }

/* 法改正カレンダー: 最初の画面の「これから来る変わり目」と、本文の日付の列 */
.hk-next ol { margin: 4px 0 0; padding: 0; list-style: none; }
main.v3 .hk-next ol > li, main.v3 .hk-next ol > li:first-child { display: grid; grid-template-columns: 118px minmax(0, 1fr) auto; grid-template-areas: 'd t l' 'k t l'; gap: 2px 12px; align-items: center; margin: 0; padding: 11px 0; border: 0; border-top: 1px solid var(--p-line); }
main.v3 .hk-next ol > li:first-child { border-top: 0; }
main.v3 .hk-next ol > li::before { content: none; }
.hk-next time { grid-area: d; font-family: var(--p-num); font-size: 14px; font-weight: 700; color: var(--p-ink); }
.hk-next .hk-k { grid-area: k; justify-self: start; }
.hk-next li > b { grid-area: t; font-size: 14.5px; line-height: 1.45; color: var(--p-ink); }
.hk-next .hk-left { grid-area: l; font-size: 12.5px; font-weight: 700; color: var(--p-accent); white-space: nowrap; }
.hk-k { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; line-height: 1.6; background: #e7eefc; color: #1b4aa8; }
.hk-k.k-end { background: #fbeee3; color: #8a3f0a; }
main.v3 .article h3.hk-y { margin: 30px 0 12px; font-family: var(--p-num); font-size: 22px; color: var(--p-title); }
main.v3 .article ol.hk { margin: 0; padding: 0; list-style: none; counter-reset: none; }
main.v3 .main ol.hk > li, main.v3 .main ol.hk > li:first-child { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; margin: 0; padding: 22px 0; border: 0; border-top: 1px solid var(--rule); }
main.v3 .main ol.hk > li::before { content: none; }
main.v3 ol.hk .hk-d time { display: block; font-family: var(--p-num); font-size: 13px; font-weight: 600; color: var(--p-muted); }
main.v3 ol.hk .hk-d time b { display: block; font-size: 21px; line-height: 1.3; color: var(--p-ink); }
main.v3 ol.hk .hk-d .hk-k { margin-top: 6px; }
main.v3 ol.hk .hk-d .hk-left { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--p-accent); }
main.v3 ol.hk li.done .hk-d .hk-left { color: var(--p-muted); }
main.v3 .article ol.hk .hk-b h3 { margin: 2px 0 6px; font-size: 18px; line-height: 1.45; }
main.v3 ol.hk .hk-b p { margin: 0 0 8px; font-size: 15px; line-height: 1.8; }
main.v3 ol.hk .hk-a { font-size: 12.5px !important; font-weight: 600; color: var(--p-muted) !important; margin-bottom: 0 !important; }
main.v3 ol.hk .hk-a em { margin-left: 8px; padding: 1px 7px; border-radius: 6px; background: #eef0f3; font-style: normal; font-size: 11.5px; color: var(--p-sub); }
main.v3 ol.hk .hk-w { padding: 10px 14px; border-radius: 12px; background: #eef3fd; color: #1a2c52 !important; }
main.v3 ol.hk .hk-w b { display: block; font-size: 12.5px; color: var(--p-accent); }
main.v3 ol.hk .hk-s { font-size: 13px !important; color: var(--p-muted) !important; }
main.v3 ol.hk .hk-s a { color: var(--p-accent); }
main.v3 .article ul.srcs a { word-break: break-all; }

/* サービスの要点(どのページも最後の住所の欄の前。AI の答えが引く短い事実) */
main.v3 .v4facts { padding: 64px 0; background: #fff; }
main.v3 .v4facts h2 { margin: 0 0 18px; font-family: var(--p-sans); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--p-ink); }
main.v3 .v4facts dl.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
main.v3 .v4facts dl.facts > div { padding: 18px 20px; border-radius: 16px; background: var(--p-soft); }
main.v3 .v4facts dt { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--p-accent); border: 0; padding: 0; }
main.v3 .v4facts dd { margin: 0; font-size: 14.5px; line-height: 1.8; color: #2a2f38; }
main.v3 .v4facts .more-link { margin: 18px 0 0; font-size: 14.5px; }
main.v3 .v4facts .more-link a { color: var(--p-accent); font-weight: 600; text-decoration: none; }

@media (max-width: 900px) {
  .hcalc .hc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 132px); grid-template-areas: 'l i' 'o o'; gap: 8px 10px; }
  .hcalc .hc-l { grid-area: l; } .hcalc .hc-in { grid-area: i; } .hcalc output { grid-area: o; }
  main.v3 .article .pdfbox { flex-direction: column; align-items: flex-start; padding: 18px; }
  main.v3 .article ul.walkgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main.v3 .main ol.hk > li, main.v3 .main ol.hk > li:first-child { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  main.v3 ol.hk .hk-d { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  main.v3 ol.hk .hk-d time b { display: inline; margin-left: 4px; font-size: 18px; }
  main.v3 ol.hk .hk-d .hk-k, main.v3 ol.hk .hk-d .hk-left { margin-top: 0; }
  main.v3 .hk-next ol > li, main.v3 .hk-next ol > li:first-child { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'd k l' 't t t'; gap: 4px 8px; }
  main.v3 .v4facts { padding: 48px 0; }
  main.v3 .v4facts dl.facts { grid-template-columns: minmax(0, 1fr); }
}
.hk-next .hk-more { margin: 10px 0 0; font-size: 13px; color: var(--p-muted); }
.hk-next .hk-more a { color: var(--p-accent); font-weight: 600; }
/* 計算とカレンダーの最初の画面は背が低いので、画面の高さいっぱいに伸ばさない(下に大きな空きが出ていた) */
main.v4 .v4h.tool:has(.hcalc, .hk-next, .ih-key) .in { min-height: 0; padding-bottom: 80px; }
/* お知らせ(2026-12-04): 読み物だけのページ。最初の画面を低くして、知らせの本文をすぐ見せる */
main.v4 .v4h.news .in { min-height: 0; padding-top: 56px; padding-bottom: 64px; }
/* 違反データのコラム(2026-12-04): 最初の画面の右に、2025年度の4つの数。数は濃い墨で(薄い字にしない) */
main.v4 .v4h-art.node .ih-key { margin: 0; padding: 18px 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 30px 60px rgba(20, 36, 72, 0.16); }
main.v4 .ih-key dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
main.v4 .ih-key dl > div { padding: 14px 14px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1px rgba(22, 25, 31, 0.06); }
main.v4 .ih-key dt { margin: 0; padding: 0; border: 0; font-size: 12.5px; font-weight: 700; line-height: 1.45; color: var(--p-sub); }
main.v4 .ih-key dd { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--p-ink); line-height: 1.2; }
main.v4 .ih-key dd b { margin-right: 2px; font-family: var(--p-num); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; color: var(--p-ink); }
main.v4 .ih-key dd small { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--p-muted); }
main.v4 .ih-key a.go { display: flex; align-items: center; justify-content: center; min-height: 46px; margin-top: 14px; padding: 0 20px; border-radius: 14px; background: var(--p-accent); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
main.v4 .ih-key a.go:hover { background: var(--p-accent-deep); }
main.v3 .article p.tsrc { margin: 10px 0 30px; font-size: 13px; line-height: 1.75; color: var(--p-muted); }
@media (min-width: 901px) {
  main.v3 table.num td { text-align: right; font-family: var(--p-num); font-variant-numeric: tabular-nums; }
  main.v3 table.num tr:first-child > th:not(:first-child) { text-align: right; }
}
/* 数だけの表は、スマホでもカードにせず表のまま小さく組む(年ごとにカードにすると5年分で画面8枚になり、年をまたいだ見比べができなかった) */
@media (max-width: 900px) {
  main.v3 table.num.stack { display: table; width: 100%; min-width: 0; border: 1px solid var(--p-line); border-radius: 14px; background: #fff; overflow: hidden; font-size: 13.5px; line-height: 1.45; }
  main.v3 table.num.stack tbody { display: table-row-group; }
  main.v3 table.num.stack tr, main.v3 table.num.stack tr:first-child { display: table-row; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
  main.v3 table.num.stack tr > th, main.v3 table.num.stack tr > td, main.v3 table.num.stack tr > :first-child { display: table-cell; padding: 10px 5px; border: 0; border-bottom: 1px solid var(--p-line); font-size: 13.5px; white-space: normal; text-align: right; font-family: var(--p-num); font-variant-numeric: tabular-nums; }
  main.v3 table.num.stack tr > :first-child { padding-left: 12px; text-align: left; font-family: inherit; font-weight: 700; }
  main.v3 table.num.stack tr > :last-child { padding-right: 12px; }
  main.v3 table.num.stack tr:first-child > * { overflow-wrap: anywhere; word-break: normal; font-size: 11.5px; font-weight: 700; letter-spacing: 0; color: var(--p-muted); background: #f4f6fa; vertical-align: bottom; }
  main.v3 table.num.stack tr:last-child > * { border-bottom: 0; }
  main.v3 table.num.stack td::before { content: none; }
}
@media (max-width: 400px) {
  main.v3 table.num.stack tr > th, main.v3 table.num.stack tr > td, main.v3 table.num.stack tr > :first-child { padding: 9px 3px; font-size: 12.5px; }
  main.v3 table.num.stack tr > :first-child { padding-left: 10px; }
  main.v3 table.num.stack tr > :last-child { padding-right: 10px; }
  main.v3 table.num.stack tr:first-child > * { font-size: 11px; }
}
/* 幅320pxの端末では、条文の表だけ数が入りきらない。はみ出す分は表の中で横に送る */
@media (max-width: 359px) {
  main.v3 table.num.stack { display: block; overflow-x: auto; }
}
@media (min-width: 901px) {
  main.v3 table.rules4 tr > th:first-child { width: 112px; }
  main.v3 table.rules4 td.basis { width: 168px; }
}
