/* 2026-10-30 作り直し版：おひさぽ型のLP（並びの構造だけを借りる）＋6つのサービスページ。文字は黒、本文18px。 */
@font-face {
  font-family: "Noto Sans JP Faithful";
  src: url("/renewal/assets/fonts/noto-sans-jp-sub-422c892a34.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
/* 10/31 色は「A 若草」：手描きの絵（やわらかい桃色・水色・薄い緑）に合わせて、緑を明るく薄くした。文字に使う色は白地に4.5:1以上。 */
:root {
  --ink: #262323;
  --sub: #4a4646;
  --green: #6e9c78;
  --green-deep: #3f6f50;
  --orange: #a0603f;
  --orange-deep: #8e5236;
  --mint: #eff6ee;
  --beige: #faf6ee;
  --cream: #fffbf6;
  --sky: #eef4fa;
  --sky-deep: #2d5f86;
  --peach: #fceee4;
  --line: #d5e6d4;
  --line-warm: #f1c9b6;
  --leaf: #6e9c78;
  --arrow: #a9c9a8;
  --cta: #f5ac85;
  --cta-hover: #f29c6e;
  --cta-ink: #3a2a22;
  --cta-shadow: #d88a62;
  --consult-bg: #edf5eb;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: "Noto Sans JP Faithful", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif; font-size: 18px; line-height: 1.85; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.ph { display: inline-block; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; padding: 8px 14px; background: #fff; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 76px 0; }
.bg-mint { background: var(--mint); }
.bg-beige { background: var(--beige); }
.bg-cream { background: var(--cream); }
.sec-head { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.kicker { color: var(--green-deep); font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.sec-head h2 { margin-top: 6px; font-size: 36px; line-height: 1.45; }
.sec-head .lead { margin-top: 14px; font-size: 18px; }
.note { color: var(--sub); font-size: 16px; line-height: 1.7; }

/* ボタン：中の文言は1つの span に包む（F13） */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 26px; border: 2px solid transparent; border-radius: 10px; font-size: 18px; font-weight: 700; line-height: 1.45; text-align: center; text-decoration: none; }
/* 相談ボタンは、やわらかい桃色に濃い茶色の文字（10/31 濃い赤をやめた）。電話は白地に緑の枠。 */
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 3px 0 var(--cta-shadow); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-tel { border-color: var(--green); background: #fff; color: var(--green-deep); }
.btn-tel:hover { background: var(--mint); }
.btn-line { border-color: var(--green); background: #fff; color: var(--green-deep); }
.btn-line:hover { background: var(--mint); }
.btn .arrow { flex: none; }

/* ヘッダー：白い1段に、名前・文字のメニュー・電話・相談（10/31 緑の帯をやめた）。
   スマホはメニューボタンの中に、2つのまとまり（身元保証・死後事務／相続・生前対策）を出す。 */
.site-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-top { display: flex; align-items: center; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--green-deep); text-decoration: none; }
/* 11/5 ロゴは岩田事務所の木と鳥のマークの色違い（木は宍道湖の夕日、鳥はやわらかい緑。ご本人の決定） */
.brand img { flex: none; width: 48px; height: 48px; }
.brand-text { display: grid; line-height: 1.3; }
.brand-text small { color: var(--sub); font-size: 13px; font-weight: 500; }
.brand-text b { color: var(--ink); font-size: 22px; white-space: nowrap; }
.hnav { display: flex; gap: 18px; margin: 0 auto 0 28px; }
.hnav a { padding: 6px 2px; border-bottom: 3px solid transparent; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.4; text-decoration: none; white-space: nowrap; }
.hnav a:hover, .hnav a[aria-current="page"] { border-bottom-color: var(--green); }
.hdr-tel { display: grid; color: var(--ink); line-height: 1.3; text-align: right; text-decoration: none; }
.hdr-tel b { color: var(--green-deep); font-size: 24px; letter-spacing: .02em; white-space: nowrap; }
.hdr-tel small { font-size: 14px; }
.hdr-cta { min-height: 52px; padding: 10px 22px; font-size: 17px; }
.hdr-cta span { white-space: nowrap; }
.menu-btn, .hdr-call { display: none; }
.gnav { display: none; border-top: 1px solid var(--line); background: #fff; }
.gnav-in { display: grid; gap: 14px; padding: 14px 16px 16px; }
.gnav-cap { display: block; padding: 0 2px 6px; color: var(--green-deep); font-size: 16px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.gnav-cap::after { content: " ›"; }
/* 文節は inline-block なので、下線は文節ごとに引く */
.gnav-cap[aria-current="page"] .ph { text-decoration: underline; text-decoration-color: var(--cta); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.gnav-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gnav-group ul a { display: block; padding: 10px 6px 12px; border: 2px solid var(--line); border-radius: 10px; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
.gnav-group ul a[aria-current="page"] { border-color: var(--green); background: var(--mint); }
/* 11/6 スマホとタブレットのメニューに「料金」を足した（それぞれのまとまりの料金の欄へ）。2つの下に横いっぱいで置く */
.gnav-group ul .gnav-fee { grid-column: 1 / -1; }
.gnav-extra { display: grid; gap: 8px; padding: 0 16px 16px; }
.gnav-extra .btn { width: 100%; }

/* 相続・生前対策のまとまりは、第一画面の地の色を青にして見分ける */
.area-b .hero, .area-b .page-hero { background: var(--sky); }
.area-b .page-hero .kicker { color: var(--sky-deep); }
.hero-kicker { display: inline-block; margin-bottom: 12px; padding: 3px 14px; border-radius: 999px; background: #fff; color: var(--green-deep); font-size: 16px; font-weight: 700; line-height: 1.6; }
.area-b .hero-kicker { color: var(--sky-deep); }
.hero-b .hero-photo img { object-position: 65% 35%; }

/* 第一画面 */
.hero { background: var(--beige); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; max-width: 1280px; margin: 0 auto; }
.hero-copy { padding: 56px 40px 48px 56px; }
.hero h1 { font-size: 54px; line-height: 1.32; letter-spacing: .02em; }
.hero-sub { margin-top: 16px; font-size: 22px; font-weight: 700; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-hours { margin-top: 10px; font-size: 16px; }
.hero-photo { position: relative; min-height: 520px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.person { display: flex; gap: 14px; align-items: center; margin-top: 26px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; }
.person img { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center 18%; }
.person-lead { font-size: 19px; font-weight: 700; line-height: 1.5; }
.person-name { font-size: 15px; }
.person-name b { font-size: 17px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1180px; margin: 0 auto; padding: 22px 24px 0; }
.facts li { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(38, 35, 35, .06); font-size: 16px; line-height: 1.5; }
.facts svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--mint); color: var(--green); }
.facts b { display: block; font-size: 18px; }

/* サービスを選ぶ（お悩みの欄の終わりに置く） */
.hero-gap { height: 40px; }
.pick-box { margin-top: 26px; padding: 28px; border-radius: 22px; background: #fff; box-shadow: 0 8px 28px rgba(38, 35, 35, .08); }
.pick-title { text-align: center; font-size: 24px; font-weight: 700; line-height: 1.5; }
.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.pick a { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; height: 100%; min-height: 92px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; }
.pick a:hover { border-color: var(--green); background: var(--mint); }
.pick .ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--mint); color: var(--green); }
.pick .ic svg { width: 30px; height: 30px; }
.pick b { display: block; font-size: 20px; line-height: 1.35; }
.pick small { display: block; color: var(--sub); font-size: 15px; line-height: 1.5; }
.pick .go { color: var(--green); font-size: 20px; font-weight: 700; }
.pick .st2 .ic { background: var(--peach); color: var(--orange); }
.pick .st3 .ic { background: var(--sky); color: var(--sky-deep); }
/* もう一方のまとまりへの入口（点線で、別のページだと分かるように） */
.pick a.other, .related a.other { border-style: dashed; border-color: #a9c6de; background: var(--sky); }
.pick .other .ic { background: #fff; color: var(--sky-deep); }
.cross { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 24px; padding: 18px 22px; border: 2px dashed #a9c6de; border-radius: 16px; background: var(--sky); }
.cross p { font-size: 17px; line-height: 1.7; }
.cross b { color: var(--sky-deep); }

/* 相続・生前対策のお悩み（元気なうち／亡くなった後の2列） */
.worry-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.worry-col { padding: 22px 24px; border-radius: 18px; background: #fff; }
.worry-col h3 { margin-bottom: 12px; font-size: 21px; line-height: 1.5; }
.worry-col h3 span { display: block; color: var(--green-deep); font-size: 15px; }
.worry-col .concerns { grid-template-columns: 1fr; max-width: none; margin: 0; padding: 0; }

/* 担当の分け方 */
.company.roles > div { grid-template-columns: 260px minmax(0, 1fr); background: #fff; }
.roles dd { font-size: 17px; line-height: 1.75; }

/* ごあいさつ */
.greet { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 40px; align-items: start; }
.greet-face { overflow: hidden; border-radius: 20px; }
.greet-face img { width: 100%; height: 420px; object-fit: cover; object-position: center 18%; }
.titles { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.titles > span { padding: 4px 12px; border: 1px solid #b9dcc7; border-radius: 999px; background: #fff; color: var(--green-deep); font-size: 15px; font-weight: 700; line-height: 1.6; }
.titles > span.main { border-color: var(--green-deep); background: var(--green-deep); color: #fff; }
.greet-name { margin-top: 10px; font-size: 36px; line-height: 1.3; }
.greet-name small { margin-left: 12px; color: var(--sub); font-size: 16px; font-weight: 500; }
.greet-meta { margin-top: 4px; font-size: 16px; }
.greet-text { margin-top: 20px; padding: 24px 28px; border-left: 4px solid var(--orange); border-radius: 4px 16px 16px 4px; background: var(--cream); }
.greet-text p { font-size: 18px; line-height: 1.95; }
.greet-text p + p { margin-top: 12px; }
.greet-text .sign { margin-top: 16px; text-align: right; font-size: 17px; font-weight: 700; }
.greet-more { margin-top: 16px; }

/* メディア実績（実績を伺うまでの仮の枠） */
.media-slot { display: grid; gap: 6px; padding: 28px; border: 3px dashed #d9b9a6; border-radius: 18px; background: #fff; text-align: center; }
.media-slot b { font-size: 22px; }

/* こんなお悩み */
.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scenes article { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 2px 12px rgba(38, 35, 35, .06); }
.scenes img { width: 100%; height: 220px; object-fit: contain; background: var(--cream); }
.scenes h3 { padding: 16px 20px 20px; font-size: 20px; line-height: 1.55; }
.concerns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; max-width: 980px; margin: 32px auto 0; padding: 26px 30px; border-radius: 18px; background: #fff; }
.concerns li { position: relative; padding-left: 34px; font-size: 18px; line-height: 1.6; }
.concerns li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 6px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat; }
.bridge { margin-top: 30px; text-align: center; font-size: 24px; font-weight: 700; line-height: 1.55; }
/* 悩みから答えへ目を運ぶ下向きの矢印（前のデザインにあったものを戻した） */
.down-arrow { width: 120px; height: 44px; margin: 26px auto 0; background: var(--arrow); clip-path: polygon(27% 0, 73% 0, 73% 36%, 100% 36%, 50% 100%, 0 36%, 27% 36%); }
.down-arrow + .bridge { margin-top: 16px; }

/* 安心の3つ：詳しくは #promise（選ばれる理由）へ */
.sec-trust { padding: 52px 0; }
.trust-title { text-align: center; font-size: 26px; font-weight: 700; line-height: 1.5; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.trust li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 14px; align-content: start; padding: 18px; border: 2px solid var(--line); border-radius: 16px; background: #fff; }
.trust .ic { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mint); color: var(--green); }
.trust .ic svg { width: 28px; height: 28px; }
.trust b { font-size: 19px; line-height: 1.5; }
.trust small { color: var(--sub); font-size: 15px; line-height: 1.6; }
.trust-more { margin-top: 16px; text-align: center; font-size: 17px; }
.trust-more a { color: var(--green-deep); font-weight: 700; text-underline-offset: 4px; }

/* サポート内容：段階ごと */
.stage { margin-top: 48px; }
.stage:first-of-type { margin-top: 0; }
.stage-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 16px; padding: 12px 20px; border-radius: 12px; background: var(--mint); }
.stage-head b { color: var(--green-deep); font-size: 24px; }
.stage-head span { font-size: 17px; }
.stage.st2 .stage-head { background: var(--peach); }
.stage.st2 .stage-head b { color: var(--orange-deep); }
.stage.st3 .stage-head { background: var(--sky); }
.stage.st3 .stage-head b { color: var(--sky-deep); }
.svc { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; padding: 26px; border: 2px solid var(--line); border-radius: 20px; background: #fff; }
.svc + .svc { margin-top: 16px; }
.svc-fig { overflow: hidden; border-radius: 14px; background: var(--cream); }
.svc-fig img { width: 100%; height: 230px; object-fit: contain; }
.svc-num { color: var(--orange); font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.svc h3 { font-size: 28px; line-height: 1.4; }
.svc-what { margin-top: 8px; }
.svc-when { margin-top: 14px; padding: 14px 18px; border-radius: 12px; background: var(--beige); }
.svc-when > p { font-size: 16px; font-weight: 700; color: var(--green-deep); }
.svc-when li { position: relative; padding-left: 20px; font-size: 17px; line-height: 1.65; }
.svc-when li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.svc-who { margin-top: 12px; font-size: 16px; line-height: 1.6; }
.svc-who b { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--mint); color: var(--green-deep); font-size: 14px; }
.svc .btn { margin-top: 16px; }

/* 相談例 */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.case { padding: 24px; border-radius: 18px; background: #fff; }
.case-tag { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--mint); color: var(--green-deep); font-size: 14px; font-weight: 700; }
.case h3 { margin-top: 8px; font-size: 21px; line-height: 1.5; }
.case dl { margin-top: 12px; }
.case dt { margin-top: 10px; color: var(--green-deep); font-size: 16px; font-weight: 700; }
.case dd { font-size: 17px; line-height: 1.7; }

/* 11/5 ごあいさつ：大きな一文と顔写真 → お客様の声 → 想い（あかり保証の作りを借りた） */
.greet-card { max-width: 1000px; margin: 0 auto; padding: 44px 56px 48px; border-radius: 24px; background: #fff; }
.greet-card .sec-head { margin-bottom: 28px; }
.greet-card mark, .greet-card mark .ph { background: var(--peach); color: var(--orange-deep); font-weight: 700; }
.greet-top { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: start; }
.greet-lead { font-size: 24px; font-weight: 700; line-height: 1.95; }
.greet-person img { width: 100%; height: 240px; border-radius: 14px; object-fit: cover; object-position: center 18%; }
.greet-person figcaption { display: grid; margin-top: 10px; line-height: 1.5; }
.greet-person .role { font-size: 16px; font-weight: 700; }
.greet-person .name { font-size: 26px; line-height: 1.4; }
.greet-person .kana { color: var(--sub); font-size: 15px; }
.greet-person .meta { margin-top: 4px; font-size: 15px; }
.greet-person .meta .ph { margin-right: .5em; }
.greet-open { margin-top: 36px; font-size: 20px; font-weight: 700; line-height: 1.8; }
.greet-voice { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 16px; padding: 18px 32px; border-radius: 18px; background: var(--beige); }
.greet-voice img { width: 100%; height: auto; }
.greet-voice p { font-size: 22px; font-weight: 700; line-height: 1.8; }
.greet-down { display: block; width: 0; height: 0; margin: 22px auto; border-top: 22px solid var(--arrow); border-right: 26px solid transparent; border-left: 26px solid transparent; }
.greet-body p { font-size: 18px; line-height: 1.95; }
.greet-body p + p { margin-top: 14px; }
.greet-body .sign { margin-top: 20px; font-size: 17px; font-weight: 700; text-align: right; }
.greet-links { margin-top: 24px; text-align: center; }
@media (max-width: 900px) {
  .greet-card { padding: 28px 22px 32px; }
  .greet-top { grid-template-columns: 1fr; gap: 20px; }
  .greet-lead { font-size: 21px; }
  .greet-person { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; align-items: center; }
  .greet-person img { height: 160px; }
  .greet-person figcaption { margin-top: 0; }
  .greet-voice { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 16px; }
  .greet-voice p { font-size: 19px; }
  .greet-open { margin-top: 28px; font-size: 18px; }
  .greet-body p { font-size: 17px; }
}
@media (max-width: 440px) {
  .greet-card { padding: 24px 14px 28px; }
  .greet-lead { font-size: 19px; }
  .greet-person { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
  .greet-person .name { font-size: 24px; }
  .greet-person .meta { font-size: 14px; }
  .greet-voice { grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding: 12px; }
  .greet-voice p { font-size: 17px; }
}

@media (max-width: 340px) { .trust b { font-size: 17px; } }

/* 11/5 選ばれる理由：理由1・2を写真つきで大きく、3〜6を小さく（同じカードの大量の並びを避ける） */
.reasons-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.reason-big { overflow: hidden; border: 2px solid var(--line); border-radius: 20px; background: #fff; }
.reason-big figure img { width: 100%; height: 250px; object-fit: cover; }
.reason-body { padding: 20px 26px 24px; }
.reason-tag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; color: var(--green-deep); font-size: 16px; font-weight: 700; line-height: 1.5; }
.reason-tag b { padding: 1px 10px; border-radius: 999px; background: var(--green-deep); color: #fff; font-size: 15px; }
.reason-big h3, .reasons h3 { margin-top: 8px; font-size: 24px; line-height: 1.5; }
.reason-body > p:not(.reason-tag):not(.note) { margin-top: 8px; font-size: 18px; line-height: 1.85; }
.reason-body .note { margin-top: 8px; font-size: 15px; }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 44px; margin: 28px 0 0; padding: 0 8px; list-style: none; }
.reasons li { padding: 18px 0; border-top: 2px solid var(--line); }
.reasons h3 { font-size: 22px; }
.reasons li > p:not(.reason-tag) { margin-top: 6px; font-size: 18px; line-height: 1.85; }
.reason-rules { margin-top: 36px; padding: 26px 32px 30px; border-radius: 18px; background: var(--beige); }
.reason-rules h3 { font-size: 22px; line-height: 1.5; }
.reason-rules > p { margin-top: 6px; font-size: 17px; line-height: 1.85; }
.reason-rules dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin: 14px 0 0; }
.reason-rules dt { font-size: 18px; font-weight: 700; line-height: 1.6; }
.reason-rules dd { margin: 4px 0 0; font-size: 16px; line-height: 1.75; }
@media (max-width: 900px) {
  .reasons-main { grid-template-columns: 1fr; }
  .reason-big figure img { height: 210px; }
  .reasons { grid-template-columns: 1fr; padding: 0; }
  .reason-big h3, .reasons h3 { font-size: 21px; }
  .reason-body { padding: 16px 18px 20px; }
  .reason-body > p:not(.reason-tag):not(.note), .reasons li > p:not(.reason-tag) { font-size: 17px; }
  .reason-rules { padding: 20px 18px 22px; }
  .reason-rules dl { grid-template-columns: 1fr; }
}

/* 連携の図 */
.net-fig { max-width: 980px; margin: 0 auto; }
.net-fig img { width: 100%; border-radius: 18px; background: #fffdf8; }
.net-list { display: none; }
.net-notes { max-width: 860px; margin: 18px auto 0; text-align: center; font-size: 16px; line-height: 1.75; }

/* 対応地域・緊急時 */
.area { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.area > div { padding: 24px; border-radius: 18px; background: #fff; }
.area h3 { font-size: 21px; line-height: 1.5; }
.area p, .area li { margin-top: 6px; font-size: 17px; line-height: 1.7; }
.area strong { color: var(--green-deep); font-size: 22px; }

/* 流れ */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.flow li { position: relative; padding: 24px 22px 22px; border-radius: 18px; background: #fff; }
.flow.flow-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow .num { color: var(--orange); font-size: 30px; font-weight: 700; line-height: 1; }
.flow h3 { margin-top: 8px; font-size: 21px; line-height: 1.5; }
.flow p { margin-top: 6px; font-size: 17px; line-height: 1.7; }

/* 料金 */
.price-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.price-card { display: flex; flex-direction: column; padding: 26px 24px; border: 2px solid var(--line); border-radius: 20px; background: #fff; }
.price-card.pri { border-color: var(--green); box-shadow: 0 8px 24px rgba(36, 95, 67, .12); }
.price-card .tag { align-self: flex-start; padding: 2px 12px; border-radius: 999px; background: var(--green-deep); color: #fff; font-size: 14px; font-weight: 700; }
.price-card h3 { margin-top: 10px; font-size: 24px; line-height: 1.4; }
.price-card dl { margin-top: 12px; }
.price-card dl > div { padding: 10px 0; border-top: 1px dashed var(--line); }
.price-card dt { font-size: 16px; font-weight: 700; }
.price-card dd { font-size: 16px; line-height: 1.6; }
.price-card dd strong { color: var(--orange-deep); font-size: 34px; letter-spacing: .01em; }
.price-card .sm { margin-top: auto; padding-top: 10px; color: var(--sub); font-size: 15px; line-height: 1.65; }
.tbl { width: 100%; margin-top: 16px; border-collapse: collapse; background: #fff; font-size: 17px; line-height: 1.65; }
.tbl th, .tbl td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl thead th { background: var(--green-deep); color: #fff; font-size: 16px; }
.tbl tbody th { width: 30%; background: var(--mint); }
.tbl strong { color: var(--orange-deep); font-size: 20px; white-space: nowrap; }
.tbl .ph { white-space: nowrap; }
.fee-block { margin-top: 40px; }
.fee-block h3 { font-size: 24px; line-height: 1.45; }
.fee-block > p { margin-top: 8px; }
.consult-fee { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: center; margin-bottom: 24px; padding: 18px; border-radius: 16px; background: #fff; text-align: center; }
.consult-fee strong { color: var(--orange-deep); font-size: 28px; }

/* 料金のプラン（10/31 案A）。まるごとプラン（基本のセット）を一番前・一番大きく、単品の2つはその下に並べる */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plan-lead { margin-top: 8px; text-align: center; font-size: 26px; font-weight: 700; line-height: 1.5; }
.plan-note { margin: 6px auto 20px; max-width: 760px; text-align: center; font-size: 17px; line-height: 1.7; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 24px 22px 22px; border: 2px solid var(--line); border-radius: 20px; background: #fff; }
.plan.all { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 8px 36px; padding: 30px 32px; border-color: var(--green); box-shadow: 0 8px 24px rgba(63, 111, 80, .14); }
.plan.all .plan-main, .plan.all .plan-side { display: flex; flex-direction: column; min-width: 0; }
.plan .tag { align-self: flex-start; display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--mint); color: var(--green-deep); font-size: 14px; font-weight: 700; line-height: 1.6; }
.plan.all .tag { background: var(--green-deep); color: #fff; }
.plan h3 { margin-top: 10px; font-size: 25px; line-height: 1.4; }
.plan.all h3 { font-size: 30px; }
.plan-desc { margin-top: 8px; font-size: 17px; line-height: 1.7; }
.plan .inc { display: grid; gap: 4px; margin-top: 10px; font-size: 16px; line-height: 1.6; }
.plan.all .inc { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.plan .inc li { position: relative; padding-left: 24px; }
.plan .inc li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 11px; height: 6px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.plan dl { margin-top: 14px; }
.plan.all dl { margin-top: 0; }
/* 金額が横に入らないときは、項目名の下へ回す（数字は途中で切らない） */
.plan dl > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.plan dt { font-size: 15px; font-weight: 700; }
.plan dd { margin-left: auto; text-align: right; font-size: 14px; line-height: 1.5; }
.plan dd strong { display: block; color: var(--orange-deep); font-size: 28px; letter-spacing: .01em; line-height: 1.3; white-space: nowrap; }
.plan.all dd strong { font-size: 38px; }
.plan .sm { margin-top: auto; padding-top: 12px; color: var(--sub); font-size: 14px; line-height: 1.65; }
.plan .btn { margin-top: 14px; min-height: 50px; padding: 10px 16px; font-size: 16px; }
.plan-notes { display: grid; gap: 4px; margin-top: 16px; color: var(--sub); font-size: 15px; line-height: 1.7; }
.cmp-wrap { margin-top: 26px; padding: 22px 24px 24px; border-radius: 20px; background: #fff; }
/* 列の幅は固定する（自動だと項目名の列が広がり、プラン名の列が狭くなって折り返すため） */
.cmp { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 16px; line-height: 1.55; }
.cmp thead th:first-child { width: 40%; }
.cmp caption { padding-bottom: 12px; text-align: left; font-size: 21px; font-weight: 700; }
.cmp th, .cmp td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp thead th { border-bottom: 2px solid var(--line); font-size: 16px; }
.cmp thead th.all { border-radius: 10px 10px 0 0; background: var(--mint); color: var(--green-deep); }
.cmp tbody td:nth-child(2) { background: var(--mint); }
.cmp tbody th { text-align: left; font-weight: 700; }
.cmp .y { color: var(--green-deep); font-size: 20px; }
.cmp .n { color: #a8a39c; }
.plan-extra { margin-top: 32px; }
.plan-extra h3 { font-size: 22px; line-height: 1.5; }

/* よくある質問 */
.faq { max-width: 940px; margin: 0 auto; }
.faq details { border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.faq details + details { margin-top: 10px; }
.faq summary { position: relative; padding: 18px 56px 18px 58px; font-size: 19px; font-weight: 700; line-height: 1.55; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 16px; color: var(--green); font-size: 24px; line-height: 1.3; }
.faq summary::after { content: "＋"; position: absolute; right: 20px; top: 16px; color: var(--green); font-size: 22px; }
.faq details[open] summary::after { content: "－"; }
.faq .ans { position: relative; padding: 0 22px 20px 58px; font-size: 17px; line-height: 1.8; }
.faq .ans::before { content: "A"; position: absolute; left: 20px; top: -2px; color: var(--orange); font-size: 24px; font-weight: 700; line-height: 1.3; }

/* 会社概要 */
.company { max-width: 900px; margin: 0 auto; border-top: 2px solid var(--green-deep); }
.company > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.company dt { padding: 16px 18px; background: var(--mint); font-weight: 700; }
.company dd { padding: 16px 18px; }

/* 相談の呼びかけ */
.consult { padding: 64px 0; background: var(--consult-bg); }
.consult-in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: center; }
.consult .kicker { color: var(--green-deep); }
.consult h2 { margin-top: 6px; font-size: 34px; line-height: 1.45; }
.consult p { margin-top: 12px; }
.consult-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
/* 11/1 案内の資料の請求：相談の帯の下の小さな入口と、フォームの選択肢 */
.consult-doc { margin-top: 14px; font-size: 16px; }
.consult-doc a, .consult-doc a .ph { color: var(--green-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.brochure-how { display: grid; gap: 6px; margin-top: 8px; }
.consult .btn-tel b { font-size: 24px; }
.consult-fig { overflow: hidden; border-radius: 18px; background: #fff; }

/* 途中の申込みの入口（サポート内容と料金の後ろ） */
.mid-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; margin-top: 48px; padding: 28px 32px; border: 3px solid var(--line-warm); border-radius: 20px; background: var(--cream); }
.bg-mint .mid-cta { background: #fff; }
.mid-cta-title { font-size: 25px; font-weight: 700; line-height: 1.5; }
.mid-cta-text p + p { margin-top: 6px; }
.mid-cta-actions { display: grid; gap: 10px; }

/* スマホの画面下の電話の帯（901px以上では出さない） */
.call-bar { display: none; }

/* PC：ヘッダーが画面の外に出たら、上に電話と相談の帯を出す（出し入れは rebuild.js） */
.pc-bar { position: fixed; top: 0; right: 0; left: 0; z-index: 40; visibility: hidden; transform: translateY(-100%); transition: transform .2s ease, visibility .2s; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 4px 16px rgba(38, 35, 35, .12); }
.pc-bar.is-shown { visibility: visible; transform: none; }
.pc-bar-in { display: flex; align-items: center; gap: 20px; max-width: 1180px; margin: 0 auto; padding: 8px 24px; }
.pc-bar-brand { margin-right: auto; color: var(--ink); font-size: 18px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pc-bar-tel { display: flex; align-items: baseline; gap: 10px; color: var(--green-deep); text-decoration: none; white-space: nowrap; }
.pc-bar-tel b { font-size: 24px; }
.pc-bar-tel small { color: var(--ink); font-size: 14px; }
.pc-bar-cta { min-height: 46px; padding: 8px 20px; font-size: 17px; }
html { scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { .pc-bar { transition: none; } }

/* フッター */
.site-footer { padding: 40px 0 28px; background: var(--beige); font-size: 16px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; }
.foot-brand { font-size: 20px; font-weight: 700; }
.foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; }
.foot-links > div { display: grid; gap: 6px; align-content: start; }
.foot-cap { color: var(--green-deep); font-size: 14px; font-weight: 700; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.copy { margin-top: 24px; color: var(--sub); font-size: 14px; text-align: center; }
/* 対応地域は市の名前で書く（検索のため。地名を並べすぎない） */
.foot-area { margin-top: 12px; font-size: 15px; line-height: 1.7; }
.foot-area b { color: var(--green-deep); }
/* 11/6 アクセス解析の「許可する」を相談ボタンと同じ色にする上書きをやめた（2つのボタンを同じ見た目にする。analytics.css も作り直し版の側で直す） */
.foot-btn { justify-self: start; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* 個人情報の取扱い・見つからないページ */
.page-hero-in.single { grid-template-columns: minmax(0, 1fr); }
.legal { max-width: 860px; }
.legal h2 { margin-top: 32px; font-size: 24px; line-height: 1.5; }
.legal p { margin-top: 10px; }
.legal a { color: var(--green-deep); }
.legal .legal-btn { margin-top: 16px; }
/* 11/6 個人情報の取扱いの本文に箇条書きを入れた */
.legal ul { margin: 10px 0 0; padding-left: 1.4em; list-style: disc; }
.legal li { margin-top: 4px; }
/* 11/6 相続の入口の相談料が、岩田司法書士事務所の料金であることを書いた */
.fee-who { max-width: 760px; margin: 10px auto 0; text-align: center; }

/* サービスページ */
.crumb { max-width: 1180px; margin: 0 auto; padding: 12px 24px 0; font-size: 15px; }
.crumb a { color: var(--green-deep); }
.page-hero { background: var(--beige); }
.page-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 36px 24px 48px; }
.page-hero .kicker { display: inline-block; padding: 2px 14px; border-radius: 999px; background: #fff; }
.page-hero h1 { margin-top: 10px; font-size: 46px; line-height: 1.35; }
.page-hero .lead { margin-top: 14px; font-size: 20px; line-height: 1.8; }
.page-hero .hero-actions { margin-top: 22px; }
.page-hero-fig { overflow: hidden; border-radius: 20px; background: #fff; }
.who-line { margin-top: 16px; font-size: 16px; line-height: 1.65; }
.who-line b { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--green-deep); font-size: 14px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 1180px; margin: 0 auto; padding: 18px 24px 0; }
.toc a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 16px; text-decoration: none; }
.toc a:hover { background: var(--mint); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin: 0 auto; }
.checks li { position: relative; padding: 16px 18px 16px 52px; border-radius: 14px; background: #fff; font-size: 18px; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 24px; height: 24px; border-radius: 6px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat; }
.do { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.do li { padding: 22px 24px; border: 2px solid var(--line); border-radius: 18px; background: #fff; }
.do .n { color: var(--orange); font-size: 16px; font-weight: 700; letter-spacing: .06em; }
.do h3 { font-size: 22px; line-height: 1.45; }
.do p { margin-top: 6px; font-size: 17px; line-height: 1.75; }
.box { max-width: 980px; margin: 24px auto 0; padding: 22px 26px; border-radius: 16px; background: #fff; border-left: 4px solid var(--green); }
.box h3 { font-size: 20px; line-height: 1.5; }
.box p { margin-top: 6px; font-size: 17px; line-height: 1.75; }
.related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related a { display: block; padding: 18px 20px; border: 2px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; }
.related a:hover { border-color: var(--green); background: var(--mint); }
.related b { display: block; font-size: 19px; }
.related small { display: block; color: var(--sub); font-size: 15px; line-height: 1.55; }

@media (max-width: 1180px) {
  .hero h1 { font-size: 46px; }
  .hero-copy { padding: 44px 32px 40px 32px; }
}
/* 幅の狭いパソコンでは、上の段の電話番号を外してメニューを残す（電話は第一画面と、下げたときの上の帯にある） */
@media (max-width: 1199px) {
  .hdr-tel { display: none; }
  .hnav { gap: 14px; margin-left: 20px; }
  .hnav a { font-size: 16px; }
}
@media (max-width: 1060px) {
  .flow.flow-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr; }
  .greet { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; }
  .greet-face img { height: 340px; }
  .svc { grid-template-columns: 280px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 17px; padding-bottom: 70px; }
  html { scroll-padding-top: 0; }
  .pc-bar { display: none; }
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2 { font-size: 28px; }
  .hdr-top { gap: 10px; padding: 10px 16px; }
  .hdr-tel, .hdr-cta, .hnav { display: none; }
  .brand { margin-right: auto; }
  .brand-text b { font-size: 19px; }
  .brand-text small { font-size: 12px; }
  .hdr-call { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--green); border-radius: 12px; background: #fff; color: var(--green-deep); font-size: 13px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; }
  /* 中身を真ん中に寄せる（行が伸びると「メニュー」の字が下の枠に重なるため） */
  .menu-btn { display: grid; place-items: center; align-content: center; width: 52px; height: 52px; padding: 0; border: 2px solid var(--green); border-radius: 12px; background: #fff; color: var(--green-deep); font: inherit; font-size: 13px; font-weight: 700; line-height: 1.2; }
  .menu-btn i { display: block; width: 22px; height: 2px; margin: 3px auto; background: currentColor; }
  .menu-btn span { margin-top: 2px; font-size: 11px; letter-spacing: -.02em; white-space: nowrap; }
  .site-header.is-open .gnav { display: block; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-photo { order: -1; min-height: 0; height: 280px; }
  .hero-copy { padding: 26px 18px 30px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 19px; }
  .hero-actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; gap: 8px; padding: 16px 16px 0; }
  .hero-gap { height: 28px; }
  .pick-box { padding: 20px 14px; }
  .pick-title { font-size: 21px; }
  .pick { grid-template-columns: 1fr; }
  .cross .btn { width: 100%; }
  .worry-cols { grid-template-columns: 1fr; }
  .worry-col { padding: 18px; }
  .company.roles > div { grid-template-columns: 1fr; }
  .flow.flow-4 { grid-template-columns: 1fr; }
  .greet { grid-template-columns: 1fr; gap: 20px; }
  .greet-face { width: min(100%, 320px); margin: 0 auto; }
  .greet-face img { height: 360px; }
  .greet-name { font-size: 30px; }
  .greet-text { padding: 18px; }
  .greet-text p { font-size: 17px; }
  .scenes { grid-template-columns: 1fr; }
  .scenes img { height: 200px; }
  .concerns { grid-template-columns: 1fr; padding: 20px 18px; }
  .bridge { font-size: 21px; }
  .down-arrow { width: 96px; height: 36px; margin-top: 20px; }
  .plan.all { grid-template-columns: 1fr; padding: 24px 20px; }
  .plan.all .plan-side { margin-top: 6px; }
  .plan.all dd strong { font-size: 32px; }
  .sec-trust { padding: 40px 0; }
  .trust-title { font-size: 22px; }
  .trust { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
  .svc-fig img { height: 210px; }
  .svc h3 { font-size: 25px; }
  .svc .btn { width: 100%; }
  .cases { grid-template-columns: 1fr; }
  .net-list { display: block; margin-top: 16px; }
  .net-list p { text-align: center; color: var(--green-deep); font-size: 17px; font-weight: 700; }
  .net-list ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
  .net-list li { padding: 12px 4px; border: 2px solid var(--line-warm); border-radius: 12px; background: #fff; color: #5b3a2a; font-size: 17px; font-weight: 700; line-height: 1.4; text-align: center; white-space: nowrap; }
  .net-notes { text-align: left; }
  .area, .flow, .price-main { grid-template-columns: 1fr; }
  .company > div { grid-template-columns: 1fr; }
  .company dt { padding: 10px 14px; }
  .company dd { padding: 10px 14px 14px; }
  .consult-in { grid-template-columns: 1fr; }
  .consult h2 { font-size: 27px; }
  .consult-actions .btn { width: 100%; }
  .mid-cta { grid-template-columns: 1fr; margin-top: 36px; padding: 22px 18px; }
  .mid-cta-title { font-size: 22px; }
  .mid-cta-actions .btn { width: 100%; }
  .call-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -4px 16px rgba(38, 35, 35, .12); }
  .call-bar a { display: grid; align-content: center; min-height: 52px; padding: 4px 8px; border: 2px solid transparent; border-radius: 10px; line-height: 1.25; text-align: center; text-decoration: none; }
  .call-bar b, .call-bar small { white-space: nowrap; }
  .call-bar b { font-size: 19px; }
  .call-bar small { font-size: 13px; font-weight: 700; }
  .call-bar-tel { border-color: var(--green); background: #fff; color: var(--green-deep); }
  .call-bar-mail { background: var(--cta); color: var(--cta-ink); }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: 1fr 1fr; }
  .page-hero-in { grid-template-columns: 1fr; padding: 24px 16px 36px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero .lead { font-size: 18px; }
  .page-hero .btn { width: 100%; }
  .checks, .do, .related { grid-template-columns: 1fr; }
  .faq summary { font-size: 18px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .sec-head h2 { font-size: 26px; }
  .pick { grid-template-columns: 1fr; }
  .price-card dd strong { font-size: 30px; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl tr { margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .tbl th, .tbl td { border: 0; }
  .tbl tbody th { width: 100%; }
  .tbl td[data-label]::before { content: attr(data-label); display: block; color: var(--green-deep); font-size: 14px; font-weight: 700; }
  .plan-lead { font-size: 22px; }
  .plan-note { font-size: 16px; text-align: left; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 20px 16px 18px; }
  .plan h3 { font-size: 23px; }
  .plan.all { padding: 22px 16px; }
  .plan.all h3 { font-size: 26px; }
  .plan.all .inc { grid-template-columns: 1fr; }
  .cmp-wrap { padding: 16px 10px 18px; }
  .cmp { font-size: 14px; }
  .cmp th, .cmp td { padding: 10px 4px; }
  .cmp thead th { font-size: 13px; }
  .cmp thead th:first-child { width: 36%; }
  .cmp tbody th { padding-left: 6px; }
}
@media (max-width: 440px) {
  .brand-text b { font-size: 17px; }
  .brand img { width: 36px; height: 36px; }
  .hero h1 { font-size: 34px; }
  .pick a { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding: 10px 12px; }
  .pick .ic { width: 48px; height: 48px; }
  .pick .ic svg { width: 26px; height: 26px; }
}
@media (max-width: 370px) {
  .hdr-top { padding: 8px 10px; }
  .brand img { display: none; }
  .brand-text b { font-size: 16px; }
  .hdr-call, .menu-btn { width: 48px; height: 48px; }
  .menu-btn i { margin: 2px auto; }
  .hero h1 { font-size: 30px; }
  .greet-name small { display: block; margin: 2px 0 0; }
  .net-list li { font-size: 16px; }
}
/* 640px の指定より後に置く（同じ項目を上書きするため） */
@media (max-width: 360px) {
  .cmp th, .cmp td { padding: 10px 2px; }
  .cmp thead th:first-child { width: 31%; }
}
