/* BizDepo — 白地・線画・丸ゴシック。色はロゴの濃紺/青/空色が軸。黄色は「相談」ボタンだけ。
   角丸のルール: カード 14px / ボタン 丸(999px) / ラベル・表のタグ 6px / 入力欄 10px。影は使わない（色枠と整列で区切る）。 */
:root {
  --navy: #1F3A5F;
  --blue: #3B82F6;
  --blue-d: #2563EB;   /* 文字・枠に使う濃い青（白地で5:1） */
  --sky: #38BDF8;
  --sky-d: #0284C7;    /* 不動産の識別色（白文字で4:1） */
  --yellow: #FFD84D;   /* 相談の行動ボタンだけ。上の文字は濃紺 */
  --ink: #1B2B3F;
  --gray: #4A5B70;
  --line: #D3DEEB;
  --soft: #F3F7FC;
  --white: #fff;
  --r-card: 14px; --r-tag: 6px; --r-input: 10px;
  --head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  --body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.85 var(--body); letter-spacing: .01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.4; margin: 0; font-weight: 700; text-wrap: balance; font-feature-settings: "palt"; }
p { margin: 0; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, h4, p, li, dd, dt, summary { word-break: auto-phrase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
ul, ol, dl, dd { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.shell { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-tag); z-index: 100; }
.skip:focus { top: 8px; }

/* ---------- ボタン ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 28px; border-radius: 999px; font: 700 1.0625rem/1.3 var(--head); text-decoration: none; border: 2px solid var(--navy); color: var(--navy); background: #fff; transition: background .15s, color .15s; }
.btn:hover { background: var(--navy); color: #fff; }
.btn-cta { background: var(--yellow); border-color: var(--yellow); color: var(--navy); min-height: 60px; padding-inline: 36px; font-size: 1.1875rem; }
.btn-cta:hover { background: #FFE27A; border-color: #FFE27A; color: var(--navy); }
.btn-line { border-color: var(--c, var(--navy)); color: var(--ct, var(--navy)); width: 100%; }
.btn-line:hover { background: var(--c, var(--navy)); color: #fff; }
.btn .arr, .more .arr { width: 1em; height: 1em; flex: none; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font: 700 .9375rem/1 var(--head); padding: 12px 14px; border-radius: 999px; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { background: var(--soft); box-shadow: inset 0 -3px 0 var(--sky); border-radius: 8px 8px 0 0; }
.header-cta { min-height: 46px; padding: 8px 22px; font-size: .9375rem; }

/* ---------- ファーストビュー ---------- */
.hero { padding: 56px 0 72px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 28px; align-items: center; }
.hero-copy { container-type: inline-size; }
.eyebrow { font: 700 1.0625rem/1.5 var(--head); color: var(--gray); margin-bottom: 14px; }
.hero h1 { font-size: min(3.5rem, 9.3cqw); font-weight: 900; line-height: 1.35; letter-spacing: 0; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .key { background: linear-gradient(transparent 80%, var(--sky) 80%, var(--sky) 92%, transparent 92%); width: fit-content; }
.hero-lead { margin-top: 22px; font-size: 1.125rem; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.text-link { font: 700 1rem/1.4 var(--head); color: var(--blue-d); }
.hero-facts { list-style: none; margin-top: 28px; display: grid; gap: 4px; font-size: 1rem; color: var(--gray); }
.hero-facts li { display: flex; gap: 10px; align-items: baseline; }
.hero-facts li::before { content: ""; flex: none; width: .55em; height: .55em; border-radius: 50%; background: var(--sky); transform: translateY(-.05em); }
.hero-art img { width: 100%; }

/* ---------- 共通セクション ---------- */
.section { padding: 80px 0; }
.section + .section.tint { background: var(--soft); }
.tint { background: var(--soft); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(1.625rem, 3.2vw, 2.25rem); }
.sec-head p { margin-top: 14px; color: var(--gray); }
.sec-head.center { margin-inline: auto; text-align: center; }
.note { font-size: .9375rem; color: var(--gray); line-height: 1.75; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 700 1rem/1.4 var(--head); }

/* ---------- 業種の入口 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ind-card { --c: var(--navy); --ct: var(--navy); display: flex; flex-direction: column; border: 3px solid var(--c); border-radius: var(--r-card); background: #fff; overflow: hidden; }
.ind-card.c-equip { --c: var(--blue); --ct: var(--blue-d); }
.ind-card.c-estate { --c: var(--sky-d); --ct: #0369A1; }
.ind-card h3 { background: var(--c); color: #fff; font-size: 1.375rem; text-align: center; padding: 14px 16px; }
.ind-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 14px; }
.ind-img { height: 180px; }
.ind-img img { width: 100%; height: 100%; object-fit: contain; }
.ind-body ul { list-style: none; display: grid; gap: 6px; font-size: 1rem; }
.ind-body li { padding-left: 1.4em; position: relative; }
.ind-body li::before { content: ""; position: absolute; left: 2px; top: .62em; width: .6em; height: .32em; border-left: 2.5px solid var(--c); border-bottom: 2.5px solid var(--c); transform: rotate(-45deg); }
.ind-body .btn { margin-top: auto; }
.ind-others { margin-top: 28px; text-align: center; color: var(--gray); }

/* ---------- 役割分担の図 ---------- */
.worries { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.worries li { border: 2px solid var(--line); border-radius: var(--r-tag); padding: 6px 14px; font-size: .9375rem; font-weight: 500; color: var(--navy); background: #fff; }
.roles { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 0; align-items: stretch; }
.role { border: 3px solid var(--navy); border-radius: var(--r-card); background: #fff; padding: 24px 26px; }
.role.biz { border-color: var(--blue); }
.role h3 { font-size: 1.375rem; }
.role .who { font: 700 .875rem/1.4 var(--head); color: var(--gray); margin-bottom: 6px; }
.role ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.role li { display: flex; gap: 10px; }
.role li::before { content: ""; flex: none; width: .5em; height: .5em; margin-top: .72em; border-radius: 50%; background: var(--navy); }
.role.biz li::before { background: var(--blue); }
.link-mid { display: grid; align-content: center; justify-items: center; gap: 14px; padding: 0 8px; text-align: center; font: 700 .875rem/1.45 var(--head); color: var(--navy); }
.link-mid svg { width: 100%; height: 22px; color: var(--sky-d); }
.link-mid .v { display: none; }
.link-mid .pill { background: #fff; border: 2px solid var(--sky); border-radius: 999px; padding: 4px 12px; }

/* ---------- 仕事の具体例 ---------- */
.samples { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start; }
.paper { border: 2px solid var(--line); border-radius: var(--r-card); background: #fff; overflow: hidden; }
.paper > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; background: var(--soft); border-bottom: 2px solid var(--line); }
.paper h3 { font-size: 1.125rem; }
.stamp { font: 700 .8125rem/1 var(--head); color: var(--navy); border: 2px solid var(--navy); border-radius: var(--r-tag); padding: 5px 8px; white-space: nowrap; }
.paper-body { padding: 20px; display: grid; gap: 10px; font-size: .9375rem; line-height: 1.7; }
.kv { display: grid; grid-template-columns: 6.5em 1fr; gap: 4px 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.kv:last-child { border-bottom: 0; padding-bottom: 0; }
.kv dt { font-weight: 700; color: var(--gray); }
.kv dd { color: var(--ink); }
.s-flow { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1.25fr); align-items: center; gap: 8px; padding: 20px; }
.s-in, .s-out { border: 2px solid var(--line); border-radius: 10px; padding: 14px 16px; font-size: .9375rem; line-height: 1.7; background: #fff; }
.s-in { background: var(--soft); border-style: dashed; }
.s-in b, .s-out b { display: block; font: 700 .875rem/1.4 var(--head); color: var(--gray); margin-bottom: 4px; }
.s-in ul { list-style: none; }
.s-arrow { color: var(--sky-d); }
.s-arrow svg { width: 100%; height: 26px; }
.s-out table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: .875rem; }
.s-out th, .s-out td { border-bottom: 1px solid var(--line); padding: 5px 4px; text-align: left; font-weight: 500; }
.s-out th { color: var(--gray); font-size: .8125rem; }
.s-out td:last-child, .s-out th:last-child { text-align: right; white-space: nowrap; }
.report { grid-column: 1 / -1; }
.rep-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.rep-table th, .rep-table td { padding: 9px 20px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.rep-table thead th { background: #fff; color: var(--gray); font-size: .875rem; }
.rep-table td:nth-child(2), .rep-table th:nth-child(2) { text-align: right; width: 12em; white-space: nowrap; }
.rep-table tfoot th, .rep-table tfoot td { font-weight: 700; color: var(--navy); border-bottom: 0; background: var(--soft); }
.table-wrap { overflow-x: auto; }

/* ---------- 料金（トップの入口 / 料金ページの比較表） ---------- */
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; border: 3px solid var(--navy); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.ptable th, .ptable td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--line); }
.ptable thead th { background: var(--navy); color: #fff; font: 700 .9375rem/1.4 var(--head); border-bottom: 0; padding-block: 12px; }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody th { font: 700 1.1875rem/1.4 var(--head); color: var(--navy); width: 17%; min-width: 11.5em; }
.ptable .price { font: 900 1.75rem/1.2 var(--head); color: var(--navy); white-space: nowrap; }
.ptable .price small { font-size: .9375rem; font-weight: 700; margin-left: 2px; }
.ptable .hours { display: block; font: 700 .9375rem/1.4 var(--head); color: var(--gray); margin-top: 4px; }
.ptable ul { list-style: none; display: grid; gap: 4px; font-size: .9375rem; line-height: 1.65; }
.ptable li { padding-left: 1.2em; position: relative; }
.ptable li::before { content: ""; position: absolute; left: 1px; top: .6em; width: .55em; height: .3em; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.ptable .for { font-size: .9375rem; color: var(--gray); line-height: 1.7; }
.ptable tr.rec th, .ptable tr.rec td { background: #EEF5FF; }
.badge { display: inline-block; font: 700 .8125rem/1 var(--head); color: #fff; background: var(--blue-d); border-radius: var(--r-tag); padding: 5px 9px; margin-bottom: 8px; }
.price-foot { margin-top: 18px; display: grid; gap: 6px; }
.price-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

/* ---------- 無料相談バナー ---------- */
.consult { background: var(--navy); color: #fff; padding: 64px 0 0; overflow: hidden; }
.consult-inner { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr) minmax(170px, 280px); gap: 24px; align-items: end; }
.consult-body { padding-bottom: 56px; text-align: center; }
.consult h2 { color: #fff; font-size: clamp(1.625rem, 3.4vw, 2.375rem); }
.consult .lead { margin-top: 12px; color: #E3ECF7; }
.consult .btn-cta { margin-top: 26px; }
.consult-ways { list-style: none; margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-weight: 500; }
.consult-ways a { color: #fff; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 700; }
.consult-ways a:hover { text-decoration: underline; }
.consult-ways svg { width: 1.15em; height: 1.15em; flex: none; }
.consult-ways :focus-visible, .consult :focus-visible { outline-color: var(--yellow); }
.consult img { width: 100%; max-height: 330px; object-fit: contain; object-position: bottom; filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 2px 0 #fff); }

/* ---------- フッター ---------- */
.footer { border-top: 1px solid var(--line); padding: 52px 0 28px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 36px; }
.footer-brand img { height: 40px; width: auto; }
.footer p.tag { margin-top: 14px; color: var(--gray); font-size: .9375rem; }
.footer h2 { font-size: .9375rem; color: var(--gray); margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; font-size: .9375rem; }
.footer a { color: var(--navy); font-weight: 500; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .ct a { display: inline-flex; gap: 8px; align-items: center; }
.footer .ct svg { width: 1.15em; height: 1.15em; flex: none; }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--gray); }

/* ---------- 下層ページの冒頭 ---------- */
.page-head { padding: 52px 0 40px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 900; }
.page-head .lead { margin-top: 16px; max-width: 34em; font-size: 1.125rem; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: center; }
.ph-grid.small { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.crumbs { margin-bottom: 14px; font-size: .875rem; color: var(--gray); }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.jump a { display: inline-block; border: 2px solid var(--c, var(--navy)); color: var(--ct, var(--navy)); border-radius: 999px; padding: 8px 18px; font: 700 .9375rem/1.3 var(--head); text-decoration: none; }
.jump a:hover { background: var(--c, var(--navy)); color: #fff; }

/* ---------- 業種別ページ ---------- */
.ind-sec { --c: var(--navy); --ct: var(--navy); margin-bottom: 28px; border: 3px solid var(--c); border-radius: var(--r-card); overflow: hidden; background: #fff; }
.ind-sec.c-equip { --c: var(--blue); --ct: var(--blue-d); }
.ind-sec.c-estate { --c: var(--sky-d); --ct: #0369A1; }
.ind-sec > header { background: var(--c); color: #fff; padding: 9px 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.ind-sec > header h2 { color: #fff; font-size: 1.25rem; }
.ind-sec > header p { color: #fff; font: 700 1.175rem/1.4 var(--head); font-size: 1.0625rem; }
.ind-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 28px; padding: 20px 24px; align-items: start; }
.dl-rows > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 4px 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dl-rows > div:first-child { padding-top: 0; }
.dl-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
.dl-rows dt { font: 700 1rem/1.6 var(--head); color: var(--ct, var(--navy)); }
.dl-rows dd ul { list-style: none; display: grid; gap: 4px; }
.dl-rows dd li { padding-left: 1.2em; position: relative; }
.dl-rows dd li::before { content: ""; position: absolute; left: 0; top: .78em; width: .5em; height: .5em; border-radius: 50%; background: var(--c, var(--navy)); }
.ind-side { display: grid; gap: 18px; justify-items: stretch; }
.ind-side img { width: 100%; max-height: 200px; object-fit: contain; }
.others { border: 2px solid var(--line); border-radius: var(--r-card); }
.others .dl-rows > div { padding: 18px 24px; }
.others .dl-rows dt { color: var(--navy); }
.scope-box { border-left: 6px solid var(--sky); padding: 8px 0 8px 22px; margin-top: 32px; }

/* ---------- 料金ページ ---------- */
.rules { margin-top: 28px; border: 2px solid var(--line); border-radius: var(--r-card); }
.rules.dl-rows > div { padding: 16px 24px; }
.rules dt { color: var(--navy); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 20px 0 0; }
.steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1.125rem/1 var(--head); margin-bottom: 14px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 52px; right: 8px; border-top: 3px dotted var(--sky); }
.steps h3 { font-size: 1.125rem; }
.steps p { margin-top: 6px; font-size: .9375rem; color: var(--gray); line-height: 1.7; }
.out-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 2px solid var(--line); border-radius: var(--r-card); background: #fff; }
.out-grid > div { padding: 22px 24px; border-right: 2px solid var(--line); }
.out-grid > div:last-child { border-right: 0; }
.out-grid h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.out-grid ul { list-style: none; display: grid; gap: 6px; font-size: .9375rem; line-height: 1.65; }
.out-grid li { padding-left: 1.1em; position: relative; }
.out-grid li::before { content: "×"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }
.acc { border-top: 2px solid var(--line); }
.acc details { border-bottom: 2px solid var(--line); }
.acc summary { cursor: pointer; padding: 18px 40px 18px 4px; font: 700 1.125rem/1.5 var(--head); color: var(--navy); list-style: none; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--blue-d); border-bottom: 3px solid var(--blue-d); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc .acc-body { padding: 0 4px 22px; display: grid; gap: 10px; }
.acc p { color: var(--ink); }
.mini { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.mini th, .mini td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); font-weight: 500; vertical-align: top; }
.mini thead th { background: var(--soft); color: var(--gray); font-size: .875rem; }
.mini td.amt { white-space: nowrap; font-weight: 700; color: var(--navy); text-align: right; }
.mech-main { border: 3px solid var(--blue); border-radius: var(--r-card); padding: 28px; background: #fff; }
.mech-main h3 { font-size: 1.5rem; }
.mech-flow { list-style: none; margin-top: 22px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; counter-reset: m; }
.mech-flow li { position: relative; border: 2px solid var(--line); border-radius: 10px; padding: 12px; font: 700 .9375rem/1.5 var(--head); color: var(--navy); background: #fff; }
.mech-flow li small { display: block; font: 700 .75rem/1.4 var(--head); color: var(--blue-d); margin-bottom: 2px; }
.mech-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -26px; width: 26px; text-align: center; top: 50%; transform: translateY(-50%); color: var(--sky-d); font-weight: 900; }
.mech-others { margin-top: 18px; display: grid; gap: 0; border: 2px solid var(--line); border-radius: var(--r-card); }
.mech-others > div { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 4px 20px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.mech-others > div:last-child { border-bottom: 0; }
.mech-others h4 { font-size: 1.0625rem; }
.mech-others small { display: block; margin-top: 4px; color: var(--gray); font: 400 .875rem/1.6 var(--body); }
.modes { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.modes > div { border-left: 6px solid var(--sky); padding: 4px 0 4px 20px; }
.modes h4 { font-size: 1.0625rem; margin-bottom: 4px; }

/* ---------- お問い合わせ ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.contact-form { display: grid; gap: 22px; }
.field label { display: flex; align-items: center; gap: 10px; font: 700 1.0625rem/1.4 var(--head); color: var(--navy); margin-bottom: 8px; }
.req, .opt { font: 700 .75rem/1 var(--head); border-radius: var(--r-tag); padding: 4px 7px; }
.req { background: var(--navy); color: #fff; }
.opt { border: 2px solid var(--line); color: var(--gray); }
.field input, .field textarea { width: 100%; font: 400 1.0625rem/1.6 var(--body); color: var(--ink); background: #fff; border: 2px solid #9FB1C8; border-radius: var(--r-input); padding: 14px 16px; min-height: 56px; }
.field textarea { min-height: 190px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue-d); outline-offset: 0; border-color: var(--navy); }
.field small { display: block; margin-top: 6px; color: var(--gray); font-size: .875rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions .btn { min-width: 240px; cursor: pointer; font-family: var(--head); }
.form-actions .btn:disabled { opacity: .6; cursor: progress; }
.form-status { border-radius: var(--r-input); padding: 0; font-weight: 500; }
.form-status.ok, .form-status.ng { padding: 14px 18px; border: 2px solid; }
.form-status.ok { border-color: var(--blue-d); background: #EEF5FF; color: var(--navy); }
.form-status.ng { border-color: var(--navy); background: #fff; color: var(--navy); }
.ways { list-style: none; display: grid; gap: 12px; }
.ways a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; border: 2px solid var(--line); border-radius: var(--r-card); padding: 14px 18px; color: var(--navy); text-decoration: none; background: #fff; }
.ways a:hover { border-color: var(--navy); }
.ways .ico { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; color: var(--navy); }
.ways .ico svg { width: 24px; height: 24px; }
.ways img { width: 52px; height: 52px; border-radius: 6px; }
.ways b { display: block; font: 700 1.0625rem/1.4 var(--head); }
.ways small { font-size: .9375rem; color: var(--gray); }
.company { margin-top: 0; }
.company dl > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company dt { font: 700 1rem/1.6 var(--head); color: var(--gray); }

/* ---------- 画面幅ごとの調整 ---------- */
@media (max-width: 1020px) {
  .nav a { padding: 11px 10px; font-size: .875rem; }
  .header-inner { gap: 16px; }
  .ind-grid { gap: 16px; }
  .ind-body { padding: 18px 16px 20px; }
  .roles { grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); }
  .role { padding: 20px 18px; }
  .samples { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps, .mech-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .steps li:nth-child(2)::after { display: none; }
  .mech-flow { gap: 20px 24px; }
  .mech-flow li:nth-child(2n)::after { display: none; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 120px; }
  .header-inner { flex-wrap: wrap; gap: 4px 12px; min-height: 0; padding: 10px 0 0; }
  .brand img { height: 32px; }
  .header-cta { margin-left: auto; min-height: 42px; padding: 6px 16px; }
  .nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: 0; }
  .nav a { flex: 1; text-align: center; padding: 12px 4px; font-size: .8125rem; border-radius: 0; white-space: nowrap; }
  .nav a[aria-current="page"] { border-radius: 8px 8px 0 0; }
  .hero { padding: 36px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: 2; }
  .hero-art img { max-width: 510px; margin-inline: auto; }
  .section { padding: 56px 0; }
  .ind-grid { grid-template-columns: 1fr; gap: 24px; }
  .ind-img { height: 170px; }
  .roles { grid-template-columns: 1fr; }
  .link-mid { padding: 16px 0; grid-auto-flow: column; justify-content: center; align-items: center; gap: 8px 14px; }
  .link-mid .h { display: none; }
  .link-mid .v { display: block; width: 22px; height: 44px; }
  .s-flow { grid-template-columns: 1fr; }
  .s-arrow svg { width: 26px; height: 30px; margin: 0 auto; transform: rotate(90deg); }
  .ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
  .ptable thead { position: absolute; left: -9999px; }
  .ptable { border-width: 0; border-radius: 0; background: none; overflow: visible; }
  .ptable tbody tr { border: 3px solid var(--navy); border-radius: var(--r-card); margin-bottom: 16px; overflow: hidden; background: #fff; }
  .ptable tbody th { width: auto; background: var(--navy); color: #fff; padding: 12px 18px; border: 0; }
  .ptable tr.rec th, .ptable tr.rec td { background: inherit; }
  .ptable tr.rec th { background: var(--navy); }
  .ptable tr.rec td { background: #EEF5FF; }
  .ptable td { border: 0; padding: 12px 18px 0; }
  .ptable td:last-child { padding-bottom: 16px; }
  .ptable td[data-label]::before { content: attr(data-label); display: block; font: 700 .8125rem/1.4 var(--head); color: var(--gray); margin-bottom: 2px; }
  .badge { background: var(--yellow); color: var(--navy); }
  .consult { padding-top: 44px; }
  .consult-inner { grid-template-columns: 1fr 1fr; grid-template-areas: "body body" "staff client"; gap: 8px 16px; }
  .consult-body { grid-area: body; padding-bottom: 20px; }
  .consult .staff { grid-area: staff; justify-self: end; width: min(100%, 210px); }
  .consult .client { grid-area: client; justify-self: start; width: min(100%, 190px); }
  .consult img { max-height: 220px; }
  .ph-grid, .ph-grid.small { grid-template-columns: 1fr; gap: 24px; }
  .ph-grid .art { max-width: 420px; }
  .ind-main { grid-template-columns: 1fr; padding: 20px 18px; }
  .ind-side { order: -1; }
  .ind-side img { max-height: 200px; }
  .ind-sec > header { padding: 14px 18px; }
  .dl-rows > div { grid-template-columns: 1fr; gap: 2px; }
  .others .dl-rows > div, .rules.dl-rows > div { padding: 16px 18px; }
  .phone-plans { grid-template-columns: 1fr; }
  .out-grid { grid-template-columns: 1fr; }
  .out-grid > div { border-right: 0; border-bottom: 2px solid var(--line); }
  .out-grid > div:last-child { border-bottom: 0; }
  .mech-others > div { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .company dl > div { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .shell { width: min(1160px, 100% - 32px); }
  .steps, .mech-flow { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .steps li { padding: 0 0 0 60px; min-height: 48px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .mech-flow li::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .kv { grid-template-columns: 5.5em 1fr; }
  .rep-table th, .rep-table td { padding: 9px 12px; }
  .rep-table td:nth-child(2), .rep-table th:nth-child(2) { width: auto; }
  .btn-cta:not(.header-cta) { width: 100%; padding-inline: 16px; }
  .form-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* ---------- スクロールに合わせた動き ----------
   カードやブロックは、画面に入ったところで下からスッと上がる（reveal.js。参考: sumai-okane.com の c-slideup と同じ考え方）。
   ヒーローの絵は、スクロールで少し遅れてついてくる（対応ブラウザのみ・CSSだけ）。「動きを減らす」設定のときは、位置を動かさず透明から現れるだけ。 */
@keyframes rise { from { opacity: 0; translate: 0 34px; } to { opacity: 1; translate: 0 0; } }
@keyframes artin { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: reduce) { @keyframes rise { from { opacity: 0; } to { opacity: 1; } } @keyframes artin { from { opacity: 0; } to { opacity: 1; } } }
.hero-copy > * { animation: rise .8s ease both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; } .hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-art img { animation: artin .9s .15s ease both; }
.sh-i { opacity: 0; translate: 0 26px; transition: opacity 1s ease, translate 1.1s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 140ms); }
.sh-in .sh-i { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .sh-i { translate: none; } }
.rv { opacity: 0; translate: 0 100px; transition: opacity .9s ease, translate .9s cubic-bezier(.2,.7,.2,1); }
.rv.rv-in { opacity: 1; translate: 0 0; }
.rv.rv-f { translate: none; transition: opacity .65s ease; }
@media (max-width: 768px) { .rv { translate: 0 80px; } }
@supports (animation-timeline: view()) {
  @keyframes drift { from { translate: 0 0; } to { translate: 0 60px; } }
  @media (prefers-reduced-motion: no-preference) {
    .hero-art img, .ph-grid .art img { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 800px; }
  }
}

/* ---------- 電話代行（2プラン） ---------- */
.phone-block { margin-top: 56px; }
.phone-block h3 { font-size: 1.5rem; }
.phone-lead { margin-top: 10px; color: var(--ink); max-width: 36em; }
.phone-plans { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.phone-card { border: 3px solid var(--navy); border-radius: var(--r-card); background: #fff; padding: 24px 26px 26px; display: flex; flex-direction: column; }
.phone-card.plus { border-color: var(--blue); background: #F5F9FF; }
.phone-card h4 { font-size: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.phone-tag { font: 700 .75rem/1 var(--head); color: var(--blue-d); border: 2px solid var(--blue); border-radius: var(--r-tag); padding: 4px 7px; background: #fff; }
.phone-price { margin-top: 14px; font: 700 1.0625rem/1.3 var(--head); color: var(--navy); }
.phone-price strong { font: 900 2.5rem/1.1 var(--head); letter-spacing: 0; margin: 0 2px; }
.phone-count { margin-top: 6px; font: 700 1.125rem/1.4 var(--head); color: var(--navy); }
.phone-over { font-size: .9375rem; color: var(--gray); }
.phone-list { list-style: none; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--line); display: grid; gap: 6px; font-size: .9375rem; line-height: 1.65; }
.phone-list li { padding-left: 1.1em; position: relative; }
.phone-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: .45em; height: .45em; border-radius: 50%; background: var(--sky); }
.phone-note { margin-top: 16px; }
.phone-price { white-space: nowrap; }
@media (max-width: 860px) { .phone-plans { grid-template-columns: 1fr; } .phone-block { margin-top: 44px; } }

.phone-incl { margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--line); font-size: .9375rem; line-height: 1.7; color: var(--ink); }
.phone-incl strong { color: var(--navy); font-family: var(--head); }
.phone-incl small { display: block; color: var(--gray); font-size: .875rem; }
.phone-list.phone-list-plus { margin-top: 10px; padding-top: 0; border-top: 0; }
