/* Layout concept: 住まいの「受付カウンター」— 電話番号が常に見え、受付票（料金のめやす）からサービスへ案内する */
:root {
  --paper: #F1F6F9;      /* 地の色：グループの水色に寄せた薄い空色 */
  --surface: #FFFFFF;
  --ink: #142B3A;
  --ink-2: #45606F;
  --ink-3: #6A808D;
  --line: #D3E2EB;
  --soft: #E3EFF6;
  --brand: #0B5A8A;      /* 濃い青：信頼・グループ共通 */
  --brand-ink: #FFFFFF;
  --accent: #EE7A1C;     /* 橙：電話・LINEなど行動のボタンだけに使う */
  --accent-ink: #FFFFFF;
  --accent-soft: #FDEBDB;
  --leaf: #2C8656;       /* 緑：庭・チェック */
  --leaf-ink: #FFFFFF;
  --slip: #FFFDF7;       /* 受付票の紙 */
  --slip-line: #E8DCC4;
  --band: #0B3F61;
  --on-band: #F2F8FC;
  --on-band-2: #B8D2E2;
  --focus: #EE7A1C;
  --f-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --f-num: "Barlow Semi Condensed", "Arial Narrow", "Zen Kaku Gothic New", sans-serif;
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1A22; --surface: #15242F; --ink: #E4EEF4; --ink-2: #A8BDCA; --ink-3: #85A0B0;
    --line: #26404F; --soft: #1A2F3C; --brand: #5DB2E3; --brand-ink: #0B1C26;
    --accent: #FF9442; --accent-ink: #1F1205; --accent-soft: #3A2614; --leaf: #5CC48A; --leaf-ink: #0B1C26;
    --slip: #1B2A35; --slip-line: #3A4C57; --band: #0A2737; --on-band: #E8F2F8; --on-band-2: #9DBACB; --focus: #FF9442;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1A22; --surface: #15242F; --ink: #E4EEF4; --ink-2: #A8BDCA; --ink-3: #85A0B0;
  --line: #26404F; --soft: #1A2F3C; --brand: #5DB2E3; --brand-ink: #0B1C26;
  --accent: #FF9442; --accent-ink: #1F1205; --accent-soft: #3A2614; --leaf: #5CC48A; --leaf-ink: #0B1C26;
  --slip: #1B2A35; --slip-line: #3A4C57; --band: #0A2737; --on-band: #E8F2F8; --on-band-2: #9DBACB; --focus: #FF9442;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.85; letter-spacing: .02em;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.4; text-wrap: balance; margin: 0; letter-spacing: .03em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
.num { font-family: var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 上部 ---------- */
.topbar { background: var(--band); color: var(--on-band-2); font-size: 12.5px; }
.topbar .wrap { display: flex; gap: 6px 18px; flex-wrap: wrap; padding-block: 6px; }
.topbar b { color: var(--on-band); font-weight: 500; }
.preview-note { background: var(--accent-soft); color: var(--ink); font-size: 13px; }
.preview-note .wrap { padding-block: 8px; }

.site-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-head .wrap { display: flex; align-items: center; gap: 12px; padding-block: 10px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { display: grid; line-height: 1.15; min-width: 0; }
.logo-text strong { font-family: var(--f-display); font-weight: 900; font-size: 19px; letter-spacing: .04em; white-space: nowrap; }
.logo-text span { font-family: var(--f-num); font-size: 11px; letter-spacing: .18em; color: var(--ink-3); }
.main-nav { margin-left: auto; display: none; gap: 4px; }
.main-nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 10px; border-radius: var(--r-s); }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--soft); }
.head-tel { margin-left: auto; display: flex; align-items: center; gap: 8px; text-decoration: none; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 8px 14px; font-weight: 700; }
.head-tel .num { font-size: 18px; }
.head-tel small { display: none; }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .head-tel { margin-left: 8px; flex-direction: column; align-items: flex-start; gap: 0; border-radius: var(--r-m); padding: 6px 16px; line-height: 1.2; }
  .head-tel small { display: block; font-size: 11px; font-weight: 500; opacity: .9; }
  .head-tel .num { font-size: 22px; }
  .head-tel .ico { display: none; }
  .svc-nav ul { flex-wrap: wrap; overflow: visible; }
}
.head-tel .ht-m { display: none; }
@media (max-width: 599px) { .head-tel { padding: 8px 12px; gap: 6px; } .head-tel .ht { display: none; } .head-tel .ht-m { display: inline; font-size: 14px; } }
@media (max-width: 380px) { .logo-text strong { font-size: 16px; } .logo-mark { width: 34px; height: 34px; } }

.svc-nav { background: var(--surface); border-bottom: 1px solid var(--line); }
.svc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; padding-block: 8px; scrollbar-width: thin; }
.svc-nav a { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; text-decoration: none; color: var(--ink-2); font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.svc-nav a:hover, .svc-nav a[aria-current="page"] { color: var(--brand); border-color: var(--brand); }

/* ---------- 共通の部品 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-weight: 700; border-radius: var(--r-m); padding: 14px 20px; font-size: 16px; line-height: 1.3; }
.btn-tel { background: var(--accent); color: var(--accent-ink); }
.btn-tel .num { font-size: 24px; }
.btn-line { background: var(--surface); color: var(--ink); border: 2px solid var(--leaf); }
.btn-line .ico { color: var(--leaf); }
.btn-sub { display: block; font-size: 12px; font-weight: 500; opacity: .9; }
.btn-tel:hover { filter: brightness(1.05); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

.section { padding-block: 56px; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 8px; margin-bottom: 28px; max-width: 46rem; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .12em; }
.sec-head h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 900; }
.sec-head p { color: var(--ink-2); }

/* ---------- ヒーロー ---------- */
.hero { padding-block: 36px 48px; }
.hero .wrap { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .hero { padding-block: 56px 64px; } .hero .wrap { grid-template-columns: 1.12fr .88fr; gap: 40px; } }
.hero-copy { display: grid; gap: 18px; min-width: 0; }
.hero-tag { display: inline-flex; width: fit-content; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--brand); background: var(--soft); border-radius: 999px; padding: 4px 12px; }
.hero h1 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 900; line-height: 1.32; }
.hero h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 68%, var(--accent-soft) 68%); }
.hero-lead { color: var(--ink-2); font-size: 16.5px; max-width: 34em; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-s); padding: 4px 10px; }
.hero-points .ico { color: var(--leaf); }

/* 受付票（料金のめやす） */
.slip { position: relative; background: var(--slip); border: 1px solid var(--slip-line); border-radius: var(--r-m); padding: 22px 20px 18px; box-shadow: 0 10px 30px -18px rgba(11, 63, 97, .45); min-width: 0; }
.slip::before { content: ""; position: absolute; left: 18px; right: 18px; top: 10px; border-top: 2px dashed var(--slip-line); }
.slip-head { display: flex; align-items: baseline; gap: 4px 10px; padding-top: 8px; padding-right: 72px; margin-bottom: 6px; flex-wrap: wrap; }
.slip-head h2 { font-size: 18px; font-weight: 700; }
.slip-head span { font-size: 12px; color: var(--ink-3); }
.slip-no { font-family: var(--f-num); font-size: 12px; letter-spacing: .14em; color: var(--ink-3); }
.slip table { width: 100%; border-collapse: collapse; }
.slip td { padding: 9px 0; border-bottom: 1px dotted var(--slip-line); vertical-align: baseline; }
.slip td:first-child { padding-right: 10px; }
.slip td.p { text-align: right; white-space: nowrap; font-weight: 700; }
.slip td.p .num { font-size: 20px; color: var(--ink); }
.slip td.p small { font-size: 12px; color: var(--ink-3); font-weight: 500; margin-left: 2px; }
.slip a.svc { color: var(--ink); text-decoration: none; }
.slip a.svc:hover { color: var(--brand); text-decoration: underline; }
.slip-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; flex-wrap: wrap; }
.stamp { position: absolute; right: 14px; top: -16px; width: 74px; height: 74px; border-radius: 50%; border: 2.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; text-align: center; font-family: var(--f-display); font-weight: 900; font-size: 14px; line-height: 1.15; transform: rotate(-12deg); background: var(--slip); }

/* ---------- サービス一覧 ---------- */
.svc-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; text-decoration: none; color: var(--ink); min-width: 0; transition: border-color .15s, transform .15s; }
.svc-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.svc-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--brand); display: grid; place-items: center; }
.svc-card .ic .ico { width: 26px; height: 26px; }
.svc-card h3 { font-size: 20px; font-weight: 700; }
.svc-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.svc-card .from { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 10px; font-size: 13px; color: var(--ink-3); }
.svc-card .from b { color: var(--ink); font-size: 15px; }
.svc-card .from b .num { font-size: 22px; }
.svc-card .more { color: var(--brand); font-weight: 700; }

/* ---------- 窓口ひとつ（グループ図） ---------- */
.hub { display: grid; gap: 14px; }
@media (min-width: 900px) { .hub { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 28px; } }
.hub-center { background: var(--brand); color: var(--brand-ink); border-radius: var(--r-l); padding: 26px 24px; display: grid; gap: 10px; }
.hub-center h3 { font-size: 22px; font-weight: 900; }
.hub-center p { opacity: .92; font-size: 15px; }
.hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.hub-list li { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; min-width: 0; }
.hub-list .tag { grid-row: span 2; font-size: 12px; font-weight: 700; color: var(--brand); border: 1.5px solid var(--brand); border-radius: 6px; padding: 2px 8px; white-space: nowrap; margin-top: 3px; }
.hub-list strong { font-size: 16.5px; }
.hub-list span { color: var(--ink-2); font-size: 14px; }
.hub-list a { font-weight: 700; }

/* ---------- 約束 ---------- */
.promise { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .promise { grid-template-columns: repeat(2, 1fr); } }
.promise > div { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 18px 0; border-top: 2px solid var(--ink); min-width: 0; }
.promise .ico { grid-row: span 2; width: 28px; height: 28px; color: var(--leaf); margin-top: 2px; }
.promise h3 { font-size: 18px; font-weight: 700; }
.promise p { color: var(--ink-2); font-size: 15px; }

/* ---------- 流れ ---------- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 860px) { .flow { grid-template-columns: repeat(4, 1fr); } }
.flow li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.flow li::before { content: "STEP " counter(step); font-family: var(--f-num); font-weight: 600; letter-spacing: .14em; font-size: 13px; color: var(--accent); }
.flow h3 { font-size: 17px; font-weight: 700; }
.flow p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- 法人・大家さん ---------- */
.biz { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px 22px; }
@media (min-width: 860px) { .biz { grid-template-columns: 1fr 1fr; padding: 34px; gap: 32px; } }
.biz ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }

/* ---------- エリア ---------- */
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14.5px; }
.note { font-size: 13.5px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-num); color: var(--brand); font-weight: 600; margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--ink-3); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 18px 18px 18px; color: var(--ink-2); }

/* ---------- 締めのCTA ---------- */
.cta-band { background: var(--band); color: var(--on-band); }
.cta-band .wrap { padding-block: 44px; display: grid; gap: 18px; }
@media (min-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.cta-band h2 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 900; }
.cta-band p { color: var(--on-band-2); }
.cta-band .btn-line { background: transparent; color: var(--on-band); border-color: var(--on-band-2); }
.cta-band .btn-line .ico { color: var(--on-band); }

/* ---------- 下層ページ ---------- */
.crumb { font-size: 13px; color: var(--ink-3); padding-block: 14px 0; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumb li + li::before { content: "›"; margin-right: 8px; }
.crumb a { color: var(--ink-3); }
.page-hero { padding-block: 20px 36px; }
.page-hero .wrap { display: grid; gap: 14px; }
.page-hero h1 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 900; }
.page-hero .lead { color: var(--ink-2); max-width: 44em; font-size: 16.5px; }
.content { display: grid; gap: 44px; padding-bottom: 56px; }
.block { display: grid; gap: 16px; min-width: 0; }
.block h2 { font-size: clamp(21px, 3vw, 26px); font-weight: 900; padding-left: 14px; border-left: 5px solid var(--brand); }
.block h3 { font-size: 18px; font-weight: 700; }
.block p, .block li { max-width: 46em; }
.block ul, .block ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.price { width: 100%; border-collapse: collapse; }
@media (max-width: 520px) { .price th, .price td { padding: 11px 12px; } .price td.p .num { font-size: 18px; } }
.price caption { text-align: left; padding: 14px 16px 4px; font-weight: 700; font-family: var(--f-display); font-size: 17px; }
.price th, .price td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price thead th { font-size: 13px; color: var(--ink-3); font-weight: 500; background: var(--soft); }
.price tbody tr:last-child th, .price tbody tr:last-child td { border-bottom: 0; }
.price td.p { text-align: right; white-space: nowrap; font-weight: 700; }
.price td.p .num { font-size: 20px; }
.price td.p small { font-weight: 500; color: var(--ink-3); font-size: 12.5px; }
.price tbody th { font-weight: 500; }
.price .sub { display: block; font-size: 13px; color: var(--ink-3); font-weight: 400; }
.check-list { list-style: none !important; padding: 0 !important; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.check-list .ico { color: var(--leaf); margin-top: .35em; }
.callout { background: var(--accent-soft); border-radius: var(--r-m); padding: 16px 18px; display: grid; gap: 6px; }
.callout strong { font-family: var(--f-display); }
.related { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.related a { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 700; }
.related a:hover { border-color: var(--brand); color: var(--brand); }
.related .ico { color: var(--brand); }
.info-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.info-table th, .info-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 9em; color: var(--ink-2); font-weight: 500; background: var(--soft); }
@media (max-width: 560px) { .info-table th, .info-table td { display: block; width: auto; } .info-table th { border-bottom: 0; padding-bottom: 6px; } }
.contact-cards { display: grid; gap: 14px; }
@media (min-width: 760px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-cards > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: grid; gap: 12px; align-content: start; }
.big-tel { font-family: var(--f-num); font-weight: 600; font-size: clamp(34px, 7vw, 44px); color: var(--ink); text-decoration: none; letter-spacing: .02em; }

/* ---------- フッター ---------- */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); font-size: 14px; }
.site-foot .wrap { padding-block: 40px 28px; display: grid; gap: 28px; }
@media (min-width: 860px) { .site-foot .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-foot h2 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--ink-2); font-family: var(--f-body); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--ink); text-decoration: none; }
.site-foot a:hover { color: var(--brand); text-decoration: underline; }
.foot-brand { display: grid; gap: 10px; color: var(--ink-2); }
.foot-brand .tel { font-family: var(--f-num); font-weight: 600; font-size: 26px; color: var(--ink); }
.copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; color: var(--ink-3); font-size: 12.5px; }

/* ---------- スマホ下部の固定ボタン ---------- */
.fixed-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px -12px rgba(0,0,0,.35); }
.fixed-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; border-radius: 12px; padding: 10px 8px; font-size: 15px; line-height: 1.2; }
.fixed-cta .t { background: var(--accent); color: var(--accent-ink); }
.fixed-cta .l { background: var(--leaf); color: var(--leaf-ink); }
@media (min-width: 900px) { .fixed-cta { display: none; } }

/* プレビュー用（ページ切り替え） */
.page[hidden] { display: none !important; }

/* 見出しの改行位置をそろえる（語のまとまりで折り返す） */
.ib { display: inline-block; }
