/* Layout: the hero splits into the logo's sky-blue field (text, sun rays) and a real sky photo;
   below, white and pale-sky sections alternate, each led by a left-aligned heading, with the
   おうちカンパニー characters as small guides beside the headings. Single light theme by choice:
   the brand is the logo's sky blue on white. */
:root {
  color-scheme: light;
  --sky: #00B3FE;        /* logo ground */
  --sky-deep: #0076B6;   /* links and labels on white */
  --mist: #EAF7FE;       /* pale sky section ground */
  --line: #C9E8F8;       /* borders and rules */
  --ink: #062B45;        /* text, deep night sky */
  --ink-soft: #3E5F75;   /* secondary text */
  --paper: #FFFFFF;
  --sun: #FFC23D;        /* calls to action, sunshine */
  --sun-deep: #F2A900;
  --sun-pale: #FFF6DC;
  --ouchi: #E86D12;      /* おうちカンパニー orange, used only for that brand */
  --ouchi-pale: #FFF1E5;
  --leaf: #2E9E5B;       /* leaseback accent: staying at home */
  --leaf-pale: #E8F6EE;

  --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;

  --gutter: clamp(16px, 5vw, 48px);
  --wrap: 1140px;
  --top-h: 70px;
  --nav-h: 56px;
  --head-h: calc(var(--top-h) + var(--nav-h));
  --r-lg: 24px;
  --r-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
a { color: var(--sky-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, .statement, .greet-quote, .hero-lead, .lead { word-break: auto-phrase; }
.nb { display: inline-block; }
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; margin: 0; line-height: 1.45; letter-spacing: .04em; }
p { margin: 0; }
ul { margin: 0; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- header: top row (brand, phone, CTA) + menu bar, always visible ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); box-shadow: 0 6px 18px rgba(6, 43, 69, .08); }
.head-top .wrap { height: var(--top-h); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--sky); display: grid; place-items: center; flex-shrink: 0; }
.brand-mark svg { width: 32px; height: 32px; }
.brand-name { font-family: var(--f-display); font-weight: 900; font-size: 19px; letter-spacing: .08em; white-space: nowrap; display: block; line-height: 1.3; }
.brand-sub { display: block; font-family: var(--f-body); font-weight: 500; font-size: 11.5px; letter-spacing: .06em; color: var(--ink-soft); line-height: 1.3; white-space: nowrap; }
.head-tel { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 8px; color: var(--ink); text-decoration: none; }
.head-tel svg { grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--sky-deep); }
.head-tel .num { font-family: var(--f-display); font-weight: 900; font-size: 21px; letter-spacing: .04em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.head-tel small { font-size: 11.5px; color: var(--ink-soft); line-height: 1.3; }
.head-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--sun); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 10px 18px; border-radius: 999px; box-shadow: 0 4px 0 var(--sun-deep); white-space: nowrap; }
.head-cta:hover { background: var(--sun-deep); }
.head-cta svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .head-tel small { display: none; }
  .head-tel .num { font-size: 18px; }
}
@media (max-width: 700px) {
  :root { --top-h: 58px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 28px; height: 28px; }
  .brand-name { font-size: 16px; }
  .head-tel { width: 42px; height: 42px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; grid-template-columns: 1fr; }
  .head-tel svg { grid-row: auto; }
  .head-tel .num, .head-tel small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .head-cta { padding: 9px 14px; font-size: 13.5px; }
  .head-cta svg { display: none; }
}
@media (max-width: 400px) { .brand-sub { display: none; } .head-top .wrap { gap: 10px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px var(--f-body); letter-spacing: .04em; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 6px 0 var(--sun-deep); }
.btn-sun:hover { box-shadow: 0 8px 0 var(--sun-deep); }
.btn-sun .num { font-family: var(--f-display); font-weight: 900; font-size: 19px; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: rgba(255,255,255,.35); }
.btn-line { background: var(--paper); color: var(--sky-deep); border-color: var(--sky-deep); }
.btn-line:hover { background: var(--mist); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--sky); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); min-height: 600px; }
.hero-text {
  position: relative; z-index: 2;
  padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px);
  padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  padding-right: clamp(24px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .08em; background: rgba(255,255,255,.9); padding: 6px 14px; border-radius: 999px; width: fit-content; }
.hero-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--ouchi); }
.hero h1 { margin-top: 22px; font-weight: 900; font-size: clamp(27px, 3.1vw, 42px); line-height: 1.4; letter-spacing: .03em; }
.hero h1 span { display: block; }
.hero-lead { margin-top: 24px; font-size: clamp(15px, 1.5vw, 17px); font-weight: 500; line-height: 2.05; max-width: 32em; }
.hero-lead.strong { font-weight: 700; font-size: clamp(16px, 1.6vw, 18px); }
.hero-lead.strong + .hero-lead { margin-top: 12px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 16px; font-size: 13.5px; font-weight: 500; }
.hero-doors { margin-top: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 600px; }
.door {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; text-decoration: none; color: var(--ink);
  background: var(--paper); border-radius: var(--r-md); padding: 14px 18px;
  transition: transform .15s ease;
}
.door:hover { transform: translateY(-3px); }
.door small { grid-column: 1; font-size: 12.5px; font-weight: 700; color: var(--leaf); letter-spacing: .06em; line-height: 1.5; }
.door.ouchi small { color: var(--ouchi); }
.door strong { grid-column: 1; font-family: var(--f-display); font-weight: 900; font-size: 17px; line-height: 1.5; }
.door svg { grid-column: 2; grid-row: 1 / span 2; width: 20px; height: 20px; color: var(--ink-soft); }

.hero-photo { position: relative; min-height: 100%; }
.hero-photo > .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; border-bottom-left-radius: 160px; }
.hero-sun { position: absolute; width: clamp(200px, 22vw, 300px); aspect-ratio: 1; right: 6%; top: 7%; pointer-events: none; filter: drop-shadow(0 2px 6px rgba(0, 90, 150, .35)); }
.hero-sun svg { width: 100%; height: 100%; overflow: visible; }
.hero-sun .rays { transform-origin: 0 0; animation: drift 240s linear infinite; }
.hero-sun line { stroke: #FFFFFF; stroke-width: 5.6; stroke-linecap: butt; stroke-dasharray: 82; animation: blow 1.3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes blow { from { stroke-dashoffset: 82; } to { stroke-dashoffset: 0; } }
@keyframes drift { to { transform: rotate(360deg); } }
.hero-chara { position: absolute; z-index: 3; width: clamp(150px, 15vw, 220px); left: -40px; bottom: 28px; animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.hero-badges { position: relative; z-index: 2; background: var(--ink); color: #FFFFFF; }
.hero-badges ul { list-style: none; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: center; font-size: 13.5px; font-weight: 500; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .hero-photo > .hero-bg { border-bottom-left-radius: 0; }
  .hero-sun { width: 34vw; right: 5%; top: 6%; }
  .hero-chara { width: 120px; left: auto; right: 12px; bottom: -36px; }
  .hero-text { padding-inline: var(--gutter); padding-top: 44px; }
  .hero-doors { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .hero-actions .btn { width: 100%; } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(72px, 10vw, 120px); position: relative; }
.sec-mist { background: var(--mist); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 52px); max-width: 760px; position: relative; }
.kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .1em; color: var(--sky-deep); }
.sec-head h2 { font-weight: 900; font-size: clamp(27px, 3.6vw, 40px); }
.sec-head p { color: var(--ink-soft); font-size: 16px; max-width: 40em; }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 32px; margin-bottom: clamp(32px, 5vw, 52px); }
.head-row .sec-head { margin-bottom: 0; }
.head-chara { width: clamp(110px, 13vw, 170px); }
.photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* worries */
.worry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.worry { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.worry .photo { border-radius: 0; aspect-ratio: 3 / 2; }
.worry-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.worry h3 { font-weight: 700; font-size: 19px; line-height: 1.55; }
.worry p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
.relief {
  margin-top: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 32px;
  background: var(--sun-pale); border: 2px solid var(--sun); border-radius: var(--r-lg);
  padding: clamp(24px, 3.5vw, 40px) clamp(24px, 4vw, 48px);
}
.relief h3 { font-weight: 900; font-size: clamp(21px, 2.5vw, 27px); }
.relief p { margin-top: 10px; color: var(--ink-soft); max-width: 36em; }
.relief .hero-actions { margin-top: 20px; }
.relief img { width: clamp(120px, 14vw, 180px); }

/* about */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-lead { display: grid; gap: 28px; }
.statement { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.5vw, 29px); line-height: 1.75; letter-spacing: .05em; }
.about-lead .photo { aspect-ratio: 4 / 3; }
.wishes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 12px; }
.wish { background: var(--mist); border-radius: var(--r-md); padding: 20px 22px; }
.wish h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: var(--sky-deep); }
.wish p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
.promises { display: grid; }
.promise { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding-block: 24px; border-top: 1px solid var(--line); }
.promise:last-child { border-bottom: 1px solid var(--line); }
.promise-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--sun-pale); color: var(--sun-deep); display: grid; place-items: center; }
.promise-icon svg { width: 26px; height: 26px; }
.promise h3 { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.promise p { color: var(--ink-soft); }
.label-sm { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--ink-soft); margin: 4px 0 2px; }
.reasons { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.reason { border-top: 3px solid var(--sky); padding-top: 20px; display: grid; gap: 8px; align-content: start; }
.reason h3 { font-size: 19px; font-weight: 700; }
.reason p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }

/* business */
.biz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.biz { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.biz .photo { border-radius: 0; aspect-ratio: 16 / 10; position: relative; }
.biz .photo .tag { position: absolute; left: 16px; top: 16px; background: var(--paper); border-radius: 12px; padding: 8px 12px; }
.biz .photo .tag img { height: 30px; width: auto; }
.biz-body { padding: clamp(24px, 3.4vw, 36px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.biz-kind { font-size: 13.5px; font-weight: 700; letter-spacing: .08em; color: var(--leaf); }
.biz.ouchi .biz-kind { color: var(--ouchi); }
.biz h3 { font-weight: 900; font-size: clamp(23px, 2.4vw, 28px); margin-top: -8px; }
.biz-desc { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-weight: 500; line-height: 1.7; }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.biz.ouchi .checks li::before { background-color: var(--ouchi); }
.biz-meta { margin-top: auto; display: grid; gap: 4px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-soft); }
.biz-meta b { color: var(--ink); font-weight: 700; margin-right: .6em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding: 11px 20px; border-radius: 999px; border: 2px solid currentColor; width: fit-content; }
.text-link:hover { background: var(--mist); }
.text-link svg { width: 16px; height: 16px; }
.biz.ouchi .text-link { color: var(--ouchi); }
.biz.lb .text-link { color: var(--leaf); }

.services { margin-top: clamp(56px, 8vw, 88px); }
.services > h3 { font-weight: 900; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 24px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.svc { background: var(--paper); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.svc .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.svc-body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.svc h4 { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; line-height: 1.5; }
.svc p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }

/* leaseback */
.lb { background: var(--leaf-pale); }
.lb .kicker { color: var(--leaf); }
.lb-intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lb-intro .photo { aspect-ratio: 4 / 3; position: relative; overflow: visible; background: transparent; }
.lb-intro .photo img { border-radius: var(--r-lg); }
.lb-intro .photo .chara { position: absolute; width: clamp(110px, 12vw, 150px); height: auto; left: -36px; bottom: -40px; border-radius: 0; }
.lb-intro .lead { font-size: 17px; font-weight: 500; line-height: 2.05; }
.lb-intro .lead + .lead { margin-top: 14px; color: var(--ink-soft); font-weight: 400; font-size: 16px; }
.flow { margin-top: clamp(48px, 7vw, 80px); }
.flow > h3, .lb-cols h3, .lb-team > h3 { font-weight: 900; font-size: clamp(21px, 2.4vw, 26px); margin-bottom: 22px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.step { background: var(--paper); border-radius: var(--r-md); padding: 22px 20px; position: relative; counter-increment: step; display: grid; gap: 6px; align-content: start; }
.step::before { content: counter(step); font-family: var(--f-display); font-weight: 900; font-size: 15px; color: var(--paper); background: var(--leaf); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 36px; width: 8px; height: 8px; border-top: 3px solid var(--leaf); border-right: 3px solid var(--leaf); transform: rotate(45deg); }
.step h4 { font-size: 17px; font-weight: 700; }
.step p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.step.last { background: var(--leaf); color: #FFFFFF; }
.step.last::before { background: var(--paper); color: var(--leaf); }
.step.last p { color: #E8F6EE; }
.step.last img { position: absolute; width: 96px; right: 8px; top: -64px; }
.lb-cols { margin-top: clamp(48px, 7vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); align-items: start; }
.lb-can { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 36px); }
.lb-can .checks li { font-weight: 400; }
.lb-can .checks b { font-weight: 700; }
.lb-note { background: var(--paper); border: 2px solid var(--sun); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 36px); position: relative; }
.lb-note .chara { position: absolute; width: 100px; right: 16px; top: -72px; }
.lb-note ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.lb-note li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; }
.lb-note li::before { content: "!"; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 900; display: grid; place-items: center; font-size: 14px; margin-top: 2px; }
.lb-note p.small { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.lb-team { margin-top: clamp(48px, 7vw, 72px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lb-team .photo { aspect-ratio: 3 / 2; }
.lb-team > div > h3 { font-weight: 900; font-size: clamp(21px, 2.4vw, 26px); margin-bottom: 14px; }
.lb-team > div > p { color: var(--ink-soft); }
.partners { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.partner { background: var(--paper); border-radius: 12px; padding: 12px 16px; display: grid; gap: 2px; }
.partner b { font-size: 15px; }
.partner span { font-size: 13px; color: var(--ink-soft); }
.partner.main { outline: 2px solid var(--leaf); }

/* ouchi */
.ouchi-sec { background: var(--paper); }
.ouchi-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ouchi-logo { width: min(340px, 100%); margin-bottom: 20px; }
.ouchi-sec .kicker { color: var(--ouchi); }
.ouchi-text { display: grid; gap: 16px; }
.ouchi-text > p { color: var(--ink-soft); }
.vows { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 6px; }
.vows li { background: var(--ouchi-pale); border-radius: 12px; padding: 14px 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline; }
.vows small { font-weight: 700; color: var(--ouchi); font-size: 13px; letter-spacing: .06em; white-space: nowrap; }
.vows span { font-weight: 500; line-height: 1.75; }
.vows-note { font-size: 13.5px; color: var(--ink-soft); }
.family { background: var(--ouchi-pale); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.family-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; align-items: end; }
.family figure { margin: 0; display: grid; justify-items: center; gap: 4px; }
.family figure img { width: 100%; max-width: 130px; }
.family figcaption { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.family p { margin-top: 16px; font-size: 14px; color: var(--ink-soft); text-align: center; }

/* area */
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); }
.area { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; }
.area .photo { border-radius: 0; aspect-ratio: 16 / 9; position: relative; }
.area .photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 16px; background: linear-gradient(to top, rgba(6, 43, 69, .75), rgba(6, 43, 69, 0)); color: #FFFFFF; font-family: var(--f-display); font-weight: 900; font-size: 24px; letter-spacing: .08em; }
.area-body { padding: 18px 22px 22px; font-size: 14.5px; color: var(--ink-soft); }
.area-note { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.pill.leaf { background: var(--leaf-pale); border-color: #BFE4CD; color: #1D6E3F; }

/* people */
.greet-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.ceo-card { background: var(--mist); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; justify-items: start; }
.ceo-card .photo { width: 180px; aspect-ratio: 3 / 4; border-radius: var(--r-md); }
.ceo-name small { display: block; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.ceo-name strong { font-family: var(--f-display); font-weight: 900; font-size: 24px; letter-spacing: .12em; }
.ceo-name span { font-size: 13px; color: var(--ink-soft); margin-left: .4em; }
.profile { margin: 0; display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 6px 12px; font-size: 14px; width: 100%; }
.profile dt { font-weight: 700; color: var(--sky-deep); }
.profile dd { margin: 0; color: var(--ink); }
.greet-text { display: grid; gap: 22px; }
.greet-text .sec-head { margin-bottom: 0; }
.greet-quote { font-family: var(--f-display); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; }
.greet-body { display: grid; gap: 1.1em; color: var(--ink-soft); max-width: 36em; }
.sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.sign small { font-size: 13px; color: var(--ink-soft); }
.sign strong { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .12em; }
.team { margin-top: clamp(56px, 8vw, 88px); }
.team > h3 { font-weight: 900; font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 24px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: start; }
.member .photo { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
.member-role { font-size: 13px; font-weight: 700; color: var(--sky-deep); letter-spacing: .06em; }
.member h4 { font-size: 21px; font-weight: 900; letter-spacing: .1em; }
.member h4 span { font-family: var(--f-body); font-size: 12.5px; font-weight: 500; color: var(--ink-soft); letter-spacing: .04em; margin-left: .5em; }
.career { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 8px; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.career li { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 10px; }
.career b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-side { position: relative; display: grid; gap: 20px; }
.faq-side .photo { aspect-ratio: 3 / 2; }
.faq-side .chara { width: 130px; justify-self: end; margin-top: -60px; margin-right: 12px; }
.faq-groups { display: grid; gap: 32px; }
.faq-group h3 { font-weight: 900; font-size: 19px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.faq-group h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--sky); }
.faq-group.lbq h3::before { background: var(--leaf); }
.faq-group.inh h3::before { background: var(--ouchi); }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--paper); border-radius: var(--r-md); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 30px minmax(0, 1fr) 20px; gap: 12px; align-items: start; padding: 18px 22px; font-weight: 700; font-size: 16.5px; line-height: 1.6; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-a::before { font-family: var(--f-display); font-weight: 900; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; line-height: 1; }
.faq-item summary::before { content: "Q"; background: var(--sky); color: #FFFFFF; }
.faq-item summary::after { content: ""; width: 10px; height: 10px; margin-top: 8px; border-right: 2.5px solid var(--ink-soft); border-bottom: 2.5px solid var(--ink-soft); transform: rotate(45deg); transition: transform .2s ease; justify-self: center; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq-a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 0 22px 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.faq-a::before { content: "A"; background: var(--sun); color: var(--ink); }
.faq-a > p { grid-column: 2; }
.faq-a > p + p { margin-top: .2em; }

/* sell */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; line-height: 1.75; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-family: var(--f-display); font-weight: 900; font-size: 17px; padding-block: 18px; }
.cmp thead th small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 12.5px; color: var(--ink-soft); }
.cmp thead th.c1 { border-top: 5px solid var(--sky); }
.cmp thead th.c2 { border-top: 5px solid var(--ouchi); }
.cmp thead th.c3 { border-top: 5px solid var(--leaf); }
.cmp tbody th { width: 9.5em; font-weight: 700; color: var(--ink); background: var(--mist); }
.cmp td { color: var(--ink-soft); }
.cmp td b { color: var(--ink); }
.cmp tr.fit td { background: var(--sun-pale); color: var(--ink); font-weight: 500; }
.cmp tr.fit th { background: var(--sun); }
.cmp-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); }
.sell-sub { margin-top: clamp(48px, 7vw, 72px); }
.sell-sub > h3 { font-weight: 900; font-size: clamp(21px, 2.4vw, 26px); margin-bottom: 22px; }
.steps.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
/* 写真つきステップ */
.steps.photos .step { overflow: hidden; }
/* キャラクターつきステップ・流れ（リースバック相談室） */
.steps.chars .step img { order: -1; width: 68%; max-width: 170px; height: auto; margin: 0 auto 4px; display: block; }
.steps.chars .step.last img { position: static; width: 68%; height: auto; }
.stages.chars .stage { grid-template-columns: 44px minmax(0, 1fr) 112px; }
.stages.chars .stage img { grid-column: 3; grid-row: 1 / span 3; width: 112px; height: auto; align-self: start; }
.card .ci { width: 104px; height: auto; display: block; margin: -4px 0 6px; }
.lb-logo { width: min(340px, 82%); height: auto; display: block; margin-bottom: 14px; }
.page-hero .chara.lb-chara { height: clamp(130px, 17vw, 230px); max-width: 320px; }
.callout.has-chara { grid-template-columns: minmax(0, 1fr) 150px; grid-template-areas: "h c" "u c" "n c"; column-gap: 20px; }
.callout.has-chara h3 { grid-area: h; } .callout.has-chara ul { grid-area: u; } .callout.has-chara .note-s { grid-area: n; }
.callout.has-chara .callout-chara { grid-area: c; width: 150px; height: auto; align-self: center; }
.qa-visual { max-width: 760px; margin: 0 auto 22px; aspect-ratio: 3 / 2; }
@media (max-width: 700px) {
  .stages.chars .stage { grid-template-columns: 44px minmax(0, 1fr) 72px; }
  .stages.chars .stage img { width: 72px; }
  .callout.has-chara { grid-template-columns: minmax(0, 1fr); grid-template-areas: "c" "h" "u" "n"; }
  .callout.has-chara .callout-chara { width: 120px; justify-self: center; }
  .card .ci { width: 84px; }
}
.steps.photos .step img { order: -1; width: calc(100% + 40px); max-width: none; margin: -22px -20px 8px; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--mist); }
.steps.photos .step:not(:last-child)::after { top: auto; bottom: 34px; }

.steps.sky .step::before { background: var(--sky-deep); }
.steps.sky .step:not(:last-child)::after { border-color: var(--sky-deep); }
.steps.sky .step { border: 1px solid var(--line); }
.after-note { margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); }
.satei-types { margin-top: clamp(40px, 6vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 16px 20px; align-items: stretch; }
.satei-type { background: var(--mist); border-radius: var(--r-lg); padding: 24px 26px; display: grid; gap: 8px; align-content: start; }
.satei-type .tag { font-size: 12.5px; font-weight: 700; color: var(--sky-deep); letter-spacing: .06em; }
.satei-type h4 { font-weight: 900; font-size: 20px; }
.satei-type p { font-size: 14.5px; color: var(--ink-soft); }
.satei-cta { background: var(--sun-pale); border: 2px solid var(--sun); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; justify-items: center; align-content: center; text-align: center; min-width: 240px; }
.satei-cta img { width: 96px; }
.satei-cta p { font-weight: 700; font-size: 15px; }

/* form */
.form-sec { background: var(--mist); }
.form-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-side { display: grid; gap: 20px; }
.form-side .chara { width: 140px; }
.need { background: var(--paper); border-radius: var(--r-md); padding: 20px 22px; display: grid; gap: 8px; }
.need h3 { font-size: 16px; font-weight: 700; }
.need ul { padding-left: 1.2em; font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }
.form-card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 22px; }
.fld { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.fld > legend, .fld > label { font-weight: 700; font-size: 15px; padding: 0; margin-bottom: 8px; }
.fld > label { margin-bottom: 0; }
.req, .opt { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 6px; margin-left: 8px; vertical-align: 2px; }
.req { background: var(--ouchi); color: #FFFFFF; }
.opt { background: var(--mist); color: var(--ink-soft); }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-in label { position: relative; }
.chips-in input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips-in span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: 14.5px; font-weight: 500; cursor: pointer; }
.chips-in input:checked + span { background: var(--sky-deep); border-color: var(--sky-deep); color: #FFFFFF; font-weight: 700; }
.chips-in input:focus-visible + span { outline: 3px solid var(--sun-deep); outline-offset: 2px; }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.inp { width: 100%; font: 400 16px var(--f-body); color: var(--ink); padding: 12px 14px; border: 1.5px solid #B9DCEE; border-radius: 10px; background: #FBFEFF; }
.inp:focus { outline: none; border-color: var(--sky-deep); box-shadow: 0 0 0 3px rgba(0, 118, 182, .18); }
textarea.inp { min-height: 120px; resize: vertical; }
.hint { font-size: 13px; color: var(--ink-soft); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.agree input { width: 20px; height: 20px; margin-top: 4px; flex-shrink: 0; accent-color: var(--sky-deep); }
.form-err { color: #B42318; font-weight: 700; font-size: 14.5px; }
.form-card .btn-sun { justify-self: start; border: 0; cursor: pointer; }
.result { border: 2px solid var(--sun); background: var(--sun-pale); border-radius: var(--r-md); padding: 20px 22px; display: grid; gap: 12px; }
.result h3 { font-size: 18px; font-weight: 900; }
.result pre { margin: 0; white-space: pre-wrap; word-break: break-all; font: 400 14px/1.8 var(--f-body); background: var(--paper); border-radius: 10px; padding: 14px 16px; max-height: 260px; overflow: auto; }
.result .row { display: flex; flex-wrap: wrap; gap: 10px; }
.result .btn { padding: 11px 20px; font-size: 15px; cursor: pointer; }
.result p { font-size: 14px; color: var(--ink-soft); }

/* lb guideline */
.guide { margin-top: clamp(40px, 6vw, 56px); background: var(--paper); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 36px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 28px; align-items: start; border-left: 6px solid var(--leaf); }
.guide-date { font-family: var(--f-display); font-weight: 900; color: var(--leaf); font-size: 15px; line-height: 1.5; text-align: center; background: var(--leaf-pale); border-radius: 14px; padding: 14px 16px; }
.guide-date b { display: block; font-size: 30px; line-height: 1.2; }
.guide h3 { font-weight: 900; font-size: clamp(19px, 2.2vw, 23px); margin-bottom: 8px; }
.guide p { color: var(--ink-soft); }
.guide ul { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; list-style: none; padding: 0; }
.guide li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; font-size: 14.5px; font-weight: 500; }
.guide li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--leaf); margin-top: 6px; }
.guide .src { margin-top: 12px; font-size: 12.5px; }

/* ouchi stats */
.ouchi-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.ouchi-stat { border: 2px solid #FBD3B4; border-radius: 14px; padding: 14px 12px; text-align: center; display: grid; gap: 2px; }
.ouchi-stat b { font-family: var(--f-display); font-weight: 900; font-size: 26px; color: var(--ouchi); line-height: 1.25; font-variant-numeric: tabular-nums; }
.ouchi-stat b small { font-size: 14px; }
.ouchi-stat span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.ouchi-motto { font-family: var(--f-display); font-weight: 900; font-size: clamp(20px, 2.4vw, 26px); color: var(--ouchi); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.member-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.member-tags span { font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--mist); color: var(--sky-deep); }

/* company */
.company-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.facts { margin: 0; display: grid; grid-template-columns: 10em minmax(0, 1fr); border-top: 2px solid var(--ink); }
.facts dt, .facts dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: 14.5px; padding-right: 16px; }
.facts dd { font-size: 15px; line-height: 1.85; }
.facts dd ul { padding-left: 1.2em; }
.facts .sub { display: block; font-size: 13px; color: var(--ink-soft); }
.side-col { display: grid; gap: 40px; }
.side-col h3 { font-weight: 900; font-size: 22px; margin-bottom: 14px; }
.history { list-style: none; padding: 0; display: grid; border-left: 3px solid var(--sky); margin-left: 6px; }
.history li { position: relative; padding: 0 0 18px 22px; }
.history li::before { content: ""; position: absolute; left: -9px; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 3px solid var(--sky); }
.history time { display: block; font-weight: 700; font-size: 14px; color: var(--sky-deep); font-variant-numeric: tabular-nums; }
.history span { font-size: 15px; }
.access address { font-style: normal; line-height: 1.9; margin-bottom: 14px; }
.map-frame { width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 20px; background: var(--mist); display: block; margin-bottom: 14px; }
.map-static { aspect-ratio: auto; padding: 18px 20px; display: grid; gap: 4px; font-size: 14px; color: var(--ink-soft); }
.map-link { color: var(--sky-deep); }

/* contact */
.contact { background: var(--sky); position: relative; overflow: hidden; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact-text { display: grid; gap: 18px; justify-items: start; }
.contact h2 { font-weight: 900; font-size: clamp(28px, 3.8vw, 40px); }
.contact-lead { font-weight: 500; max-width: 34em; }
.tel-big { font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 7.4vw, 76px); line-height: 1.1; letter-spacing: .04em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-info { display: flex; flex-wrap: wrap; gap: 6px 28px; font-weight: 500; }
.contact-info b { font-weight: 700; margin-right: .5em; }
.contact-info a { color: var(--ink); }
.contact-photo { position: relative; }
.contact-photo .photo { aspect-ratio: 3 / 2; border: 6px solid var(--paper); }
.contact-photo .chara { position: absolute; width: clamp(110px, 12vw, 150px); right: -12px; bottom: -48px; }

/* footer */
.site-foot { background: var(--ink); color: #D7EAF5; padding-block: 56px 36px; font-size: 13.5px; position: relative; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 48px; align-items: start; }
.foot-logo { width: 84px; border-radius: 12px; }
.foot-co { display: grid; gap: 4px; line-height: 1.85; }
.foot-co strong { font-family: var(--f-display); font-size: 18px; color: #FFFFFF; letter-spacing: .08em; }
.foot-links { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot-links a { color: #FFFFFF; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.copy { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12px; color: #8FB2C7; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.copy img { width: 92px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .about-grid, .greet-grid, .company-grid, .lb-intro, .ouchi-grid, .faq-grid, .lb-team, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .biz-grid, .lb-cols, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .worry-grid, .svc-grid, .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .lb-intro .photo .chara { left: auto; right: -8px; }
  .faq-side { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .faq-side .chara { margin: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-photo { max-width: 520px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-side .chara { justify-self: end; margin-top: -40px; }
  .steps.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps.five .step:nth-child(2)::after { display: block; }
  .steps.five .step:nth-child(3)::after { display: none; }
  .satei-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .satei-cta { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; justify-items: start; text-align: left; }
}
@media (max-width: 600px) {
  .worry-grid, .svc-grid, .reasons, .steps, .wishes, .partners { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .step.last img { width: 80px; top: -40px; }
  .head-row { grid-template-columns: minmax(0, 1fr) auto; }
  .head-chara { width: 92px; }
  .relief { grid-template-columns: minmax(0, 1fr); }
  .relief img { justify-self: end; margin-top: -20px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { padding-bottom: 0; border-bottom: 0; color: var(--sky-deep); font-size: 13px; }
  .facts dd { padding-top: 4px; }
  .promise { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .promise-icon { width: 44px; height: 44px; }
  .member { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .member .photo { width: 110px; }
  .career li { grid-template-columns: 3.8em minmax(0, 1fr); }
  .family-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-side { grid-template-columns: minmax(0, 1fr); }
  .faq-side .chara { width: 100px; margin-top: -56px; }
  .lb-note .chara { width: 80px; top: -56px; }
  .steps.five { grid-template-columns: minmax(0, 1fr); }
  .satei-types, .f-row, .guide ul, .ouchi-stats { grid-template-columns: minmax(0, 1fr); }
  .satei-cta { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .guide-date { justify-self: start; }
  .form-side .chara { width: 96px; }
  .steps.five .step:nth-child(n)::after { display: none; }
  .faq-item summary { padding: 16px 16px; font-size: 16px; }
  .faq-a { padding: 0 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-sun .rays, .hero-sun line, .hero-chara { animation: none; }
  .btn, .door { transition: none; }
}

/* ---------- shared: chips, page hero, cards ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button { font: 700 14px var(--f-body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.filter button:hover { border-color: var(--sky-deep); }
.filter button[aria-pressed="true"] { background: var(--sky-deep); border-color: var(--sky-deep); color: #FFFFFF; }
.filter button .n { font-weight: 500; opacity: .75; margin-left: 4px; font-variant-numeric: tabular-nums; }
.page-hero { background: var(--sky); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(36px, 6vw, 64px); display: grid; gap: 10px; }
.crumb { font-size: 13px; font-weight: 500; }
.crumb span[aria-current] { font-weight: 700; }
.crumb a { color: var(--ink); }
.page-hero h1 { font-weight: 900; font-size: clamp(30px, 4.6vw, 46px); letter-spacing: .08em; }
.page-hero p.lead2 { font-weight: 500; max-width: 36em; }
.page-hero .chara { position: absolute; z-index: 1; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: -14px; width: clamp(110px, 14vw, 170px); }
.page-hero .sun { position: absolute; right: -80px; top: -120px; width: 380px; opacity: .45; pointer-events: none; }
.page-hero .sun line { stroke: #FFFFFF; stroke-width: 5.6; }
@media (max-width: 700px) { .page-hero .chara { width: 96px; bottom: -8px; } .page-hero .wrap { padding-right: 110px; } }
.empty { background: var(--paper); border: 1.5px dashed var(--line); border-radius: var(--r-md); padding: 28px; text-align: center; color: var(--ink-soft); }
.cat { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--mist); color: var(--sky-deep); letter-spacing: .04em; }
.cat[data-c="リースバック"] { background: var(--leaf-pale); color: #1D6E3F; }
.cat[data-c="相続・空き家"] { background: var(--ouchi-pale); color: #A84A06; }
.cat[data-c="お知らせ"] { background: var(--sun-pale); color: #7A5200; }
.date { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(6, 43, 69, .10); }
.post-card .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.post-card .photo.noimg { display: grid; place-items: center; background: var(--mist); }
.post-card .photo.noimg img { width: 40%; height: auto; object-fit: contain; }
.post-body { padding: 16px 20px 22px; display: grid; gap: 8px; }
.post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-card h3 { font-size: 18px; font-weight: 700; line-height: 1.55; }
.post-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* article */
.article { max-width: 760px; margin-inline: auto; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-bottom: 20px; }
.back svg { width: 16px; height: 16px; }
.article h2.title { font-weight: 900; font-size: clamp(24px, 3.4vw, 34px); margin: 10px 0 20px; }
.article > .photo { aspect-ratio: 16 / 9; margin-bottom: 28px; }
.prose { display: grid; gap: 1.1em; font-size: 16.5px; line-height: 2; }
.prose h3 { font-weight: 900; font-size: 21px; margin-top: .8em; padding-left: 14px; border-left: 5px solid var(--sky); line-height: 1.5; }
.prose ul { padding-left: 1.3em; display: grid; gap: .3em; }
.prose strong { background: linear-gradient(transparent 62%, var(--sun-pale) 62%); }
.prose .note { background: var(--mist); border-radius: var(--r-md); padding: 16px 20px; font-size: 15.5px; }
.prose a { font-weight: 700; }
.article-cta { margin-top: 40px; background: var(--sun-pale); border: 2px solid var(--sun); border-radius: var(--r-lg); padding: 24px 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; }
.article-cta h3 { font-size: 19px; font-weight: 900; }
.article-cta p { font-size: 14.5px; color: var(--ink-soft); margin-top: 4px; }
.article-cta .hero-actions { margin-top: 12px; }
.article-cta img { width: 110px; }
.related { margin-top: 56px; }
.related > h3 { font-weight: 900; font-size: 21px; margin-bottom: 18px; }
.related .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .related .post-grid { grid-template-columns: minmax(0, 1fr); } }

/* qa page */
.qa-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; margin-bottom: 8px; }
.qa-search { position: relative; max-width: 420px; width: 100%; }
.qa-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-soft); }
.qa-search input { padding-left: 42px; }
.qa-count { font-size: 14px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.qa-page .faq-groups { max-width: 880px; }

/* mame */
.mame-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); align-items: start; }
.mame { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 18px; display: grid; gap: 10px; position: relative; scroll-margin-top: calc(var(--head-h) + 16px); }
.mame-top { display: grid; grid-template-columns: minmax(0, 1fr) 72px; gap: 10px; align-items: start; }
.mame h3 { font-size: 18px; font-weight: 900; line-height: 1.55; margin-top: 6px; }
.mame-top img { width: 72px; }
.mame .point { font-family: var(--f-display); font-weight: 700; font-size: 16px; color: var(--sky-deep); background: var(--mist); border-radius: 12px; padding: 10px 14px; line-height: 1.6; }
.mame details summary { cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--sky-deep); list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; }
.mame details summary::-webkit-details-marker { display: none; }
.mame details summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.mame details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.mame .prose { font-size: 15px; line-height: 1.9; gap: .8em; margin-top: 8px; }
.mame .prose h3 { font-size: 16px; }

/* home: column */
.col-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.col-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.col-head h3 { font-weight: 900; font-size: 22px; }
.col-head a { font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.post-list { display: grid; gap: 12px; }
.post-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; text-decoration: none; color: var(--ink); align-items: center; }
.post-row:hover { border-color: var(--sky-deep); }
.post-row .photo { aspect-ratio: 3 / 2; border-radius: 10px; }
.post-row h4 { font-size: 16px; font-weight: 700; line-height: 1.55; margin-top: 4px; }
.mame-list { display: grid; gap: 12px; }
.mame-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; text-decoration: none; color: var(--ink); }
.mame-row:hover { border-color: var(--sky-deep); }
.mame-row img { width: 56px; }
.mame-row b { display: block; font-size: 15.5px; line-height: 1.5; }
.mame-row span { font-size: 13px; color: var(--ink-soft); line-height: 1.6; display: block; }
.faq-more { margin-top: 20px; }

@media (max-width: 960px) {
  .post-grid, .mame-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .post-grid, .mame-grid { grid-template-columns: minmax(0, 1fr); }
  .post-row { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
  .post-row h4 { font-size: 15px; }
  .article-cta { grid-template-columns: minmax(0, 1fr); }
  .article-cta img { justify-self: end; width: 90px; margin-top: -20px; }
  .qa-tools { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 16px; }
}

/* =========================================================
   detail pages (service, guide, tax, profile)
   ========================================================= */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.toc a { font-size: 13.5px; font-weight: 700; text-decoration: none; color: var(--ink); background: rgba(255,255,255,.9); border-radius: 999px; padding: 6px 14px; }
.toc a:hover { background: var(--paper); color: var(--sky-deep); }
.sp { padding-block: clamp(56px, 8vw, 96px); }
.sp + .sp { padding-top: 0; }
.sp.sec-mist + .sp, .sp + .sp.sec-mist { padding-top: clamp(56px, 8vw, 96px); }
.sp-head { display: grid; gap: 12px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 780px; }
.sp-head h2 { font-weight: 900; font-size: clamp(24px, 3.2vw, 34px); }
.sp-head p { color: var(--ink-soft); }
.sp-head .kicker.leaf { color: var(--leaf); }
.sp-head .kicker.ouchi { color: var(--ouchi); }
.intro2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.intro2 .photo { aspect-ratio: 3 / 2; }
.intro2 .lead { font-size: 17px; font-weight: 500; line-height: 2.05; }
.intro2 .lead + p, .intro2 p + p { margin-top: 14px; color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 22px); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 24px; display: grid; gap: 8px; align-content: start; }
.sec-mist .card, .lb .card { border-color: transparent; }
.card h3 { font-weight: 900; font-size: 19px; line-height: 1.5; }
.card h3 small { display: block; font-family: var(--f-body); font-size: 12.5px; font-weight: 700; color: var(--sky-deep); letter-spacing: .06em; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; }
.card ul { padding-left: 1.2em; font-size: 14.5px; color: var(--ink-soft); line-height: 1.85; display: grid; gap: 2px; }
.card .num { font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 1.1; color: var(--sky); }
.card.leaf .num, .card.leaf h3 small { color: var(--leaf); }
.card.warn { border: 2px solid var(--sun); background: var(--sun-pale); }
.card.ng { border: 2px dashed #E4A8A0; background: #FFF6F5; }
.callout { border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); background: var(--sun-pale); border: 2px solid var(--sun); display: grid; gap: 8px; }
.callout h3 { font-weight: 900; font-size: clamp(18px, 2.1vw, 21px); }
.callout p, .callout li { color: var(--ink-soft); font-size: 15px; }
.callout ul { padding-left: 1.2em; display: grid; gap: 4px; }
.callout.sky { background: var(--mist); border-color: var(--line); }
.callout.leaf { background: var(--leaf-pale); border-color: #BFE4CD; }
.callout.plain { background: var(--paper); border-color: var(--line); }
.mt { margin-top: clamp(28px, 4vw, 44px); }
.mt-s { margin-top: 18px; }
.note-s { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); }
/* stage timeline */
.stages { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: stg; }
.stage { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 18px; position: relative; padding-bottom: 22px; counter-increment: stg; }
.stage::before { content: counter(stg); grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 50%; background: var(--sky-deep); color: #FFFFFF; font-family: var(--f-display); font-weight: 900; font-size: 18px; display: grid; place-items: center; position: relative; z-index: 1; }
.stage:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 3px; background: var(--line); }
.stage h3 { font-weight: 900; font-size: 18px; line-height: 1.5; padding-top: 8px; }
.stage p { font-size: 14.5px; color: var(--ink-soft); }
.stage .tag { justify-self: start; font-size: 12.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--leaf-pale); color: #1D6E3F; }
.stage.mid::before { background: var(--sun-deep); }
.stage.mid .tag { background: var(--sun-pale); color: #7A5200; }
.stage.late::before { background: #C2410C; }
.stage.late .tag { background: #FFF1EC; color: #9A3412; }
/* generic table */
.tbl-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.75; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); white-space: pre-line; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { background: var(--ink); color: #FFFFFF; font-weight: 700; font-size: 14px; line-height: 1.55; }
.tbl tbody th { background: var(--mist); font-weight: 700; min-width: 7.5em; }
.tbl td { color: var(--ink-soft); }
.tbl td b, .tbl td strong { color: var(--ink); }
.tbl .pre { white-space: pre-line; }
.tbl.wide { min-width: 760px; }
.tbl.mid { min-width: 560px; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl caption { caption-side: top; text-align: left; font-weight: 900; font-family: var(--f-display); font-size: 17px; padding: 14px 16px 6px; }
.tbl td.good { background: #F2FBF5; color: var(--ink); }
.tbl td.bad { background: #FFF8F6; }
/* patterns (sell/buy lanes) */
.pattern { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); display: grid; gap: 12px; }
.pattern h3 { font-weight: 900; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.pattern h3 b { width: 34px; height: 34px; border-radius: 50%; background: var(--sky-deep); color: #FFFFFF; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.pattern.ng h3 b { background: #C2410C; }
.lanes { display: grid; gap: 8px; background: var(--mist); border-radius: 14px; padding: 12px; }
.lane { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 10px; align-items: center; }
.lane > span { font-size: 12.5px; font-weight: 900; color: var(--ink-soft); }
.lane ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.lane li { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; }
.lane li.gap { flex: 1 1 18px; min-width: 18px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: #9CCDE6; }
.lane li.hl { background: var(--sun); border-color: var(--sun-deep); }
.lane li.end { background: var(--sky-deep); color: #FFFFFF; border-color: var(--sky-deep); }
.pros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pros > div { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.pros > div b { display: block; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.pros .good { background: #F2FBF5; }
.pros .care { background: var(--sun-pale); }
/* external link cards */
.ext-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ext { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.ext:hover { border-color: var(--sky-deep); transform: translateY(-2px); }
.ext small { grid-column: 1; font-size: 12px; font-weight: 700; color: var(--sky-deep); letter-spacing: .06em; }
.ext b { grid-column: 1; font-family: var(--f-display); font-size: 17px; line-height: 1.45; }
.ext span { grid-column: 1; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.ext svg { grid-column: 2; grid-row: 1 / span 3; width: 20px; height: 20px; color: var(--sky-deep); }
.ext.ouchi small { color: var(--ouchi); }
/* stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--paper); border-radius: var(--r-md); padding: 16px; text-align: center; display: grid; gap: 2px; border: 1px solid var(--line); }
.stat b { font-family: var(--f-display); font-weight: 900; font-size: 32px; color: var(--sky-deep); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 15px; margin-left: 2px; }
.stat span { font-size: 13px; color: var(--ink-soft); }
/* results list */
.results { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.results li { background: var(--paper); border-radius: 12px; padding: 12px 16px; display: grid; grid-template-columns: 6.6em minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14.5px; border: 1px solid var(--line); }
.results time { font-weight: 700; color: var(--sky-deep); font-variant-numeric: tabular-nums; font-size: 13.5px; }
.results .kind { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--mist); color: var(--sky-deep); white-space: nowrap; }
.results .kind.house { background: var(--ouchi-pale); color: #A84A06; }
.results .kind.land { background: var(--leaf-pale); color: #1D6E3F; }
/* guide page */
.switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 640px; }
.switch a { display: grid; gap: 2px; text-decoration: none; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; }
.switch a:hover { border-color: var(--sky-deep); }
.switch small { font-size: 12.5px; color: var(--ink-soft); font-weight: 700; }
.switch b { font-family: var(--f-display); font-size: 19px; }
.gloss { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.gloss div { background: var(--paper); border-radius: 12px; padding: 12px 16px; }
.gloss dt { font-weight: 900; font-family: var(--f-display); color: var(--sky-deep); }
.gloss dd { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.era { min-width: 820px; font-size: 13.5px; }
.era th, .era td { white-space: pre-line; }
.era thead th { white-space: pre-line; text-align: center; line-height: 1.5; }
.era thead th:first-child { text-align: left; }
.era tbody th { position: sticky; left: 0; z-index: 1; min-width: 10em; white-space: normal; }
.era tr.grp th { background: var(--sky-deep); color: #FFFFFF; position: static; font-size: 13px; letter-spacing: .08em; }
.chaps { display: grid; gap: 12px; }
.chap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.chap > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 14px; align-items: center; padding: 16px 20px; font-family: var(--f-display); font-weight: 900; font-size: 17.5px; line-height: 1.5; }
.chap > summary::-webkit-details-marker { display: none; }
.chap > summary .no { width: 40px; height: 40px; border-radius: 12px; background: var(--mist); color: var(--sky-deep); display: grid; place-items: center; font-size: 15px; }
.chap > summary::after { content: ""; width: 10px; height: 10px; border-right: 2.5px solid var(--ink-soft); border-bottom: 2.5px solid var(--ink-soft); transform: rotate(45deg); justify-self: center; margin-top: -4px; }
.chap[open] > summary::after { transform: rotate(-135deg); margin-top: 6px; }
.chap-body { padding: 0 20px 22px; display: grid; gap: 16px; }
.chap-body > p { color: var(--ink-soft); white-space: pre-line; }
.chap-body .tbl { font-size: 14px; }
.chap-body .tbl td, .chap-body .tbl th { white-space: pre-line; }
.chap-body ul.pts { padding-left: 1.2em; display: grid; gap: 4px; color: var(--ink-soft); font-size: 15px; }
.chap-body ul.check { list-style: none; padding: 0; display: grid; gap: 8px; }
.chap-body ul.check li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15px; }
.chap-body ul.check li::before { content: ""; width: 18px; height: 18px; margin-top: 5px; border: 2px solid var(--sky-deep); border-radius: 5px; }
.box { background: var(--mist); border-radius: 14px; padding: 16px 18px; }
.box h4 { font-weight: 900; font-size: 16px; margin-bottom: 6px; }
.box p { font-size: 14.5px; color: var(--ink-soft); white-space: pre-line; line-height: 1.85; }
/* tax page */
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); vertical-align: 2px; margin-left: 6px; letter-spacing: .04em; white-space: nowrap; }
.badge.blue { background: var(--mist); color: var(--sky-deep); }
.tax-list { display: grid; gap: 14px; }
.tax { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; display: grid; gap: 8px; }
.tax h3 { font-weight: 900; font-size: 19px; line-height: 1.5; }
.tax p, .tax li { font-size: 15px; color: var(--ink-soft); line-height: 1.9; }
.tax ul { padding-left: 1.2em; display: grid; gap: 2px; }
.tax .when { font-size: 13px; font-weight: 700; color: var(--sky-deep); }
.tax .tbl-wrap { margin-top: 6px; }
.points { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.points li { background: var(--paper); border-radius: 12px; padding: 14px 16px; border-left: 5px solid var(--sun); font-size: 14.5px; line-height: 1.8; color: var(--ink-soft); }
.points li b { display: block; color: var(--ink); font-size: 15.5px; }
.src-list { padding-left: 1.2em; display: grid; gap: 4px; font-size: 14px; }
/* profile page */
.pf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
.pf-side { display: grid; gap: 16px; position: sticky; top: calc(var(--head-h) + 20px); }
.pf-side .photo { aspect-ratio: 3 / 4; }
.pf-name small { display: block; font-size: 13px; color: var(--sky-deep); font-weight: 700; letter-spacing: .06em; }
.pf-name strong { display: block; font-family: var(--f-display); font-weight: 900; font-size: 28px; letter-spacing: .12em; line-height: 1.4; }
.pf-name span { font-size: 13px; color: var(--ink-soft); }
.pf-main { display: grid; gap: 28px; }
.pf-main h3 { font-weight: 900; font-size: 20px; margin-bottom: 10px; padding-left: 12px; border-left: 5px solid var(--sky); line-height: 1.5; }
.pf-main p { color: var(--ink-soft); }
.pf-main p + p { margin-top: .8em; }
.pf-list { padding-left: 1.2em; display: grid; gap: 4px; color: var(--ink-soft); font-size: 15px; }
.pf .history span { color: var(--ink-soft); font-size: 15px; }
.pf .history b { color: var(--ink); }
.pf + .pf { margin-top: clamp(56px, 8vw, 88px); padding-top: clamp(56px, 8vw, 88px); border-top: 1px solid var(--line); }
.pf-mini { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start; background: var(--mist); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); }
.pf-mini .photo { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
/* home additions */
.svc a.more { font-size: 14px; font-weight: 700; text-decoration: none; margin-top: 4px; }
.svc a.more::after { content: " →"; }
.bukken-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.bukken-grid .photo { aspect-ratio: 16 / 10; }
.partners-co { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.scheme { margin-top: 14px; background: var(--mist); border-radius: var(--r-md); padding: 16px 20px; font-size: 14.5px; line-height: 1.85; }
.scheme b { color: var(--ink); }
.guide-links { margin-top: clamp(28px, 4vw, 40px); }
.vows-all { margin-top: 4px; }
.vows-all summary { cursor: pointer; font-weight: 700; color: var(--ouchi); font-size: 14.5px; }
.vows-all ol { margin-top: 10px; padding-left: 1.6em; display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-soft); }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 8px 40px; }
.foot-nav p { font-weight: 700; color: #8FB2C7; font-size: 12.5px; letter-spacing: .1em; margin-bottom: 4px; }

@media (max-width: 960px) {
  .intro2, .pf, .bukken-grid { grid-template-columns: minmax(0, 1fr); }
  .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-side { position: static; grid-template-columns: 180px minmax(0, 1fr); align-items: end; }
  .partners-co { grid-template-columns: minmax(0, 1fr); }
  .foot-nav { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cards, .cards.two, .cards.four, .pros, .points, .gloss, .stats, .results, .switch { grid-template-columns: minmax(0, 1fr); }
  .results li { grid-template-columns: 6em minmax(0, 1fr); }
  .results .kind { grid-column: 2; justify-self: start; }
  .pf-side { grid-template-columns: 130px minmax(0, 1fr); }
  .pf-mini { grid-template-columns: minmax(0, 1fr); }
  .pf-mini .photo { width: 130px; }
  .stage { grid-template-columns: 36px minmax(0, 1fr); gap: 4px 14px; }
  .stage::before { width: 36px; height: 36px; font-size: 16px; }
  .stage:not(:last-child)::after { left: 17px; top: 36px; }
  .foot-nav { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.sp .guide { border: 1px solid var(--line); border-left: 6px solid var(--leaf); }

/* =========================================================
   global navigation (hierarchy) / local nav / footer sitemap
   ========================================================= */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--sun); color: var(--ink); padding: 8px 14px; font-weight: 700; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.menu-btn { display: none; align-items: center; gap: 6px; border: 0; background: var(--ink); color: #FFFFFF; border-radius: 12px; padding: 9px 12px; font: 700 13px var(--f-body); cursor: pointer; }
.menu-btn .bars { display: grid; gap: 4px; width: 18px; }
.menu-btn .bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* メニューのタブ：ヘッダーの下に、PC・タブレット・スマホのすべてで全部のボタンを表示 */
.head-top { position: relative; background: var(--paper); }
.tabnav { position: relative; background: var(--ink); border-bottom: 4px solid var(--sun); }
.tab-list { list-style: none; margin: 0; padding: 8px 0 0; display: flex; gap: 6px; min-height: calc(var(--nav-h) - 4px); }
.tab-list > li { position: relative; flex: 1 1 auto; display: flex; align-items: stretch; justify-content: center; border-radius: 12px 12px 0 0; background: rgba(255, 255, 255, .1); transition: background .15s ease; }
.tab-list > li:hover, .tab-list > li.open { background: rgba(255, 255, 255, .2); }
.tab-list > li.is-current { background: var(--sun); }
.tab-list > li > a { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; padding: 0 12px; min-height: 40px; color: #FFFFFF; text-decoration: none; font-size: 14.5px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.tab-list > li.has-sub > a { padding-right: 2px; }
.tab-list > li > a:focus-visible { outline-offset: -3px; border-radius: 12px 12px 0 0; }
.tab-list > li.is-current > a, .tab-list > li.is-current > .sub-btn { color: var(--ink); }
.tabnav .sub-btn { border: 0; background: transparent; color: rgba(255, 255, 255, .8); padding: 0 10px 0 2px; cursor: pointer; display: flex; align-items: center; }
.sub-btn svg { width: 14px; height: 14px; transition: transform .2s ease; }
.has-sub.open .sub-btn svg { transform: rotate(180deg); }
.tabnav .sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 4px); left: 0; min-width: 250px; width: max-content; max-width: min(340px, calc(100vw - 32px)); background: var(--paper); border-radius: 0 0 14px 14px; box-shadow: 0 14px 32px rgba(6, 43, 69, .18); display: none; z-index: 60; }
.tabnav .has-sub:hover > .sub, .tabnav .has-sub:focus-within > .sub, .tabnav .has-sub.open > .sub { display: block; }
.tabnav .sub a { display: block; white-space: nowrap; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 700; }
.tabnav .sub a:hover { background: var(--mist); color: var(--sky-deep); }
.tabnav .sub a[aria-current="page"] { background: var(--sun-pale); }
.tab-list > li:nth-last-child(-n+3) .sub { left: auto; right: 0; }
@media (hover: none) { .tabnav .has-sub:hover > .sub { display: none; } .tabnav .has-sub.open > .sub { display: block; } }
@media (max-width: 1180px) {
  .tab-list { gap: 4px; }
  .tab-list > li > a { padding: 0 8px; font-size: 13.5px; letter-spacing: .02em; }
  .tabnav .sub-btn { padding: 0 7px 0 0; }
}
.gnav { display: none; }

/* タブレット・スマホ：タブは折り返して全部表示。くわしい一覧は右上のメニューボタンから */
@media (max-width: 1023px) {
  :root { --nav-h: 0px; }
  .menu-btn { display: inline-flex; }
  .site-head { position: static; box-shadow: none; }
  .head-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; box-shadow: 0 6px 18px rgba(6, 43, 69, .08); }
  .tabnav { z-index: 40; }
  .tab-list { flex-wrap: wrap; gap: 4px; padding: 6px 0 0; justify-content: center; min-height: 0; }
  .tab-list > li { flex: 0 1 auto; min-width: 0; }
  .tab-list > li > a, .tab-list > li.has-sub > a { padding: 0 16px; min-height: 38px; font-size: 13.5px; letter-spacing: .02em; }
  /* タブレットでは電話は丸いアイコンに、メニューの文字は省略 */
  .head-tel { width: 42px; height: 42px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; grid-template-columns: 1fr; }
  .head-tel svg { grid-row: auto; }
  .head-tel .num, .head-tel small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-btn .lbl { display: none; } .menu-btn { padding: 10px; }
  .tab-list > li:nth-last-child(-n+3) .sub { left: 0; right: auto; }
  .tab-list > li:nth-child(n+6) .sub { left: auto; right: 0; }

  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); max-height: calc(100vh - var(--top-h)); max-height: calc(100dvh - var(--top-h)); overflow-y: auto; box-shadow: 0 18px 30px rgba(6, 43, 69, .25); }
  .gnav.open { display: block; }
  .gnav-list { list-style: none; margin: 0 auto; display: flex; flex-direction: column; padding: 8px 0 18px; }
  .gnav-list > li { display: flex; flex-direction: column; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .gnav-list > li > a { display: block; padding: 14px 4px; color: #FFFFFF; text-decoration: none; font-size: 16px; font-weight: 700; letter-spacing: .04em; }
  .gnav-list > li > a.is-current { color: var(--sun); }
  .gnav .sub-btn { display: none; }
  .gnav .has-sub > .sub { list-style: none; margin: 0; position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; background: transparent; box-shadow: none; padding: 0 0 10px 12px; min-width: 0; }
  .gnav .sub a { display: block; border-radius: 10px; text-decoration: none; font-weight: 700; color: #D7EAF5; font-size: 14px; padding: 7px 8px; }
  .gnav .sub a:hover { background: rgba(255, 255, 255, .08); color: #FFFFFF; }
  .gnav .sub a[aria-current="page"] { background: rgba(255, 194, 61, .18); color: var(--sun); }
  html.menu-open { overflow: hidden; }
}
@media (max-width: 700px) {
  .menu-btn .lbl { display: none; } .menu-btn { padding: 10px; }
  .tab-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 6px 0 0; }
  .tab-list > li { border-radius: 10px 10px 0 0; }
  .tab-list > li:nth-child(n+4) { border-radius: 10px; }
  .tab-list > li:nth-child(n+7) { border-radius: 10px 10px 0 0; }
  .tab-list > li > a, .tab-list > li.has-sub > a { padding: 0 6px; min-height: 40px; font-size: 13px; }
  .tabnav .sub-btn { padding: 0 6px 0 0; }
  .tabnav .sub { position: absolute; top: calc(100% + 2px); left: 0; right: auto; max-width: calc(100vw - 32px); }
  .tab-list > li:nth-child(3n) .sub { left: auto; right: 0; }
  .tab-list > li:nth-child(3n+2) .sub { left: 50%; transform: translateX(-50%); right: auto; }
  .tab-list > li:nth-child(n+6) .sub { right: auto; }
  .tab-list > li:nth-child(6) .sub, .tab-list > li:nth-child(9) .sub { left: auto; right: 0; }
}
@media (max-width: 420px) { .gnav .has-sub > .sub { grid-template-columns: minmax(0, 1fr); } }

/* LINE ボタン */
.head-line { display: inline-flex; align-items: center; gap: 6px; background: #06C755; color: #FFFFFF; text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 999px; box-shadow: 0 4px 0 #04994A; white-space: nowrap; }
.head-line:hover { background: #05B34C; }
.head-line svg { width: 20px; height: 20px; }
.btn-lineg { background: #06C755; color: #FFFFFF; border-color: #06C755; }
.btn-lineg:hover { background: #05B34C; border-color: #05B34C; }
.btn-lineg svg { width: 22px; height: 22px; }
@media (max-width: 700px) {
  .head-line { padding: 0; width: 42px; height: 42px; border-radius: 50%; justify-content: center; box-shadow: none; }
  .head-line .l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 520px) { .head-line { width: 36px; height: 36px; } .head-line svg { width: 20px; height: 20px; } }
@media (max-width: 400px) { .brand-mark { display: none; } .brand-name { font-size: 14px; } }
@media (max-width: 520px) { .hero-photo { aspect-ratio: 3 / 2; } }
@media (max-width: 420px) { .gnav .has-sub > .sub { grid-template-columns: minmax(0, 1fr); } }
.localnav { background: var(--paper); border-bottom: 1px solid var(--line); }
.localnav ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.localnav ul::-webkit-scrollbar { display: none; }
.localnav a { display: inline-block; white-space: nowrap; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); }
.localnav a:hover { border-color: var(--sky-deep); color: var(--sky-deep); }
.localnav a[aria-current="page"] { background: var(--sky-deep); border-color: var(--sky-deep); color: #FFFFFF; }
.foot-co-wrap { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: start; }
.foot-co a { color: #FFFFFF; }
.foot-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 24px; }
.foot-nav p { margin-bottom: 6px; }
.foot-nav p a { color: #FFFFFF; font-weight: 700; font-size: 14px; text-decoration: none; letter-spacing: .04em; }
.foot-nav ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.foot-nav ul a { color: #B9D4E4; text-decoration: none; font-size: 13px; }
.foot-nav a:hover { text-decoration: underline; color: #FFFFFF; }
.foot-ext { list-style: none; padding: 18px 0 0; margin: 28px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; }
.foot-ext a { color: #D7EAF5; }
@media (max-width: 960px) { .foot-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-co-wrap { grid-template-columns: 64px minmax(0, 1fr); } .foot-co-wrap .foot-logo { width: 64px; } }

/* ---------- top page ---------- */
.hero-doors.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.door small { color: var(--sky-deep); }
.door.sky small { color: var(--sky-deep); }
.door:not(.ouchi):not(.sky):nth-child(2) small { color: var(--leaf); }
@media (max-width: 520px) { .hero-doors.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .hero-doors.four .door { padding: 12px 12px; } .hero-doors.four .door strong { font-size: 15px; } .hero-doors.four .door svg { display: none; } }
a.worry { text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
a.worry:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(6, 43, 69, .10); }
.worry .more { font-size: 14px; font-weight: 700; color: var(--sky-deep); margin-top: 4px; }
.worry .more::after { content: " →"; }
a.svc { text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
a.svc:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(6, 43, 69, .10); }
.svc-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-grid.four .svc h4::after { content: " →"; color: var(--sky-deep); }
@media (max-width: 960px) { .svc-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team-link { margin-top: 28px; }
.ext-grid.one { grid-template-columns: minmax(0, 1fr); }
.ext em { font-style: normal; font-weight: 700; color: var(--ink); }
.tagbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; align-items: center; }
.tagbar a, .tagbar button { font: 700 13.5px var(--f-body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.tagbar a:hover, .tagbar button:hover { border-color: var(--sky-deep); color: var(--sky-deep); }
.tagbar a span, .tagbar button span { font-weight: 500; opacity: .7; font-variant-numeric: tabular-nums; }
.tagbar button[aria-pressed="true"] { background: var(--sun-pale); border-color: var(--sun-deep); }
.tagbar .lbl { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-right: 2px; }
.tagbar button.clear { border-style: dashed; }
.col-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); gap: 12px 20px; align-items: start; }
.col-tools .filter { margin-bottom: 14px; }
.pager { margin-top: 28px; text-align: center; }
.tags { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--sky-deep); font-weight: 700; }
.article .tags { margin: -8px 0 18px; font-size: 13.5px; }
.article .tags a { text-decoration: none; }
.article .tags a:hover { text-decoration: underline; }
a.cat { text-decoration: none; }
.cat[data-c="おうちの購入"] { background: var(--mist); color: var(--sky-deep); }
.cat[data-c="おうちの売却"] { background: var(--sun-pale); color: #7A5200; }
.cat[data-c="収益不動産"] { background: #EEEAFB; color: #4B3AA3; }
.cat[data-c="新築"] { background: var(--leaf-pale); color: #1D6E3F; }
.cat[data-c="リフォーム"] { background: var(--ouchi-pale); color: #A84A06; }
@media (max-width: 700px) { .col-tools { grid-template-columns: minmax(0, 1fr); } }
.hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 22px); }
.hub { display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.hub:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(6, 43, 69, .10); }
.hub .photo { border-radius: 0; aspect-ratio: 16 / 9; }
.hub > div { padding: 16px 20px 20px; display: grid; gap: 4px; align-content: start; }
.hub small { font-size: 12.5px; font-weight: 700; color: var(--sky-deep); }
.hub b { font-family: var(--f-display); font-size: 20px; }
.hub b::after { content: " →"; color: var(--sky-deep); }
.hub span { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.hub em { font-style: normal; font-weight: 700; color: var(--ink); }
@media (max-width: 960px) { .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hub-grid { grid-template-columns: minmax(0, 1fr); } }
.vows.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vows.two-col li { background: var(--paper); }
@media (max-width: 700px) { .vows.two-col { grid-template-columns: minmax(0, 1fr); } }
.results em { font-style: normal; }
.cta-band .contact-text h2 { font-size: clamp(26px, 3.4vw, 36px); }

/* ---------- satei page ---------- */
.dist { display: grid; gap: 6px; max-width: 760px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.dist-row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 4em; gap: 12px; align-items: center; font-size: 13.5px; }
.dist-row span { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.dist-row i { display: block; height: 16px; border-radius: 0 8px 8px 0; background: #9CCDE6; width: calc(var(--v) / 22.1 * 100%); min-width: 4px; }
.dist-row b { font-variant-numeric: tabular-nums; text-align: right; }
.dist-row.hl i { background: var(--sun-deep); }
.dist-row.hl span, .dist-row.hl b { color: var(--ink); font-weight: 700; }
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(18px, 3vw, 32px); align-items: start; background: var(--paper); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); }
.calc-in { display: grid; gap: 16px; }
.calc .tbl tr.total th, .calc .tbl tr.total td { background: var(--sun-pale); font-size: 17px; color: var(--ink); font-weight: 900; }
.calc .tbl tr.total.minus td { color: #B42318; }
.calc .tbl td.num { white-space: nowrap; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.tl-month { background: var(--mist); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); }
.tl-month h3 { font-weight: 900; font-size: 19px; margin-bottom: 12px; }
.tl-month ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tl-month li { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 12px; background: var(--paper); border-radius: 12px; padding: 10px 14px; font-size: 14.5px; color: var(--ink-soft); }
.tl-month li b { color: var(--sky-deep); }

.head-cta .s { display: none; }
@media (max-width: 520px) {
  .head-top .wrap { gap: 6px; }
  .brand { gap: 6px; }
  .brand-name { font-size: 15px; letter-spacing: .02em; }
  .head-cta { padding: 8px 10px; font-size: 12.5px; box-shadow: 0 3px 0 var(--sun-deep); }
  .head-tel { width: 36px; height: 36px; }
  .menu-btn { padding: 8px; }
  .head-cta .l { display: none; }
  .head-cta .s { display: inline; }
  .head-tel { width: 38px; height: 38px; }
  .menu-btn { padding: 9px; }
}
@media (max-width: 360px) { .brand-mark { display: none; } }
@media (max-width: 700px) {
  .page-hero .wrap { padding-right: 0; }
  .page-hero h1, .page-hero .lead2 { padding-right: 92px; }
  .page-hero:has(.toc) .chara, .page-hero:has(.switch) .chara { display: none; }
  .page-hero:has(.toc) h1, .page-hero:has(.toc) .lead2, .page-hero:has(.switch) h1, .page-hero:has(.switch) .lead2 { padding-right: 0; }
  .toc { gap: 6px; }
  .toc a { font-size: 12.5px; padding: 5px 11px; }
}
@media (max-width: 600px) {
  .svc-grid.four { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .svc-grid.four .svc { flex-direction: row; align-items: stretch; }
  .svc-grid.four .svc .photo { width: 112px; flex-shrink: 0; aspect-ratio: auto; }
  .svc-grid.four .svc-body { padding: 12px 14px; }
  .svc-grid.four .svc h4 { font-size: 16.5px; }
  .svc-grid.four .svc p { font-size: 13.5px; line-height: 1.7; }
}

/* ---------- 風と空のキャラクター ---------- */
.page-hero .chara { width: auto; height: clamp(120px, 15vw, 200px); max-width: 260px; object-fit: contain; }
.head-chara { width: auto; height: clamp(100px, 12vw, 160px); max-width: 220px; object-fit: contain; }
.relief img { width: auto; height: clamp(110px, 13vw, 170px); max-width: 240px; object-fit: contain; }
.lb-intro .photo .chara { width: auto; height: clamp(120px, 13vw, 170px); }
.hero-chara { width: auto; height: clamp(150px, 18vw, 250px); left: -30px; bottom: 20px; }
.contact-photo .chara { width: auto; height: clamp(110px, 12vw, 150px); }
.form-side .chara { width: auto; height: 150px; }
.satei-cta img { width: auto; height: 110px; }
.step.last img { width: auto; height: 100px; top: -70px; }
.article-cta img { width: auto; height: 130px; }
.copy img { width: auto; height: 56px; }
.nakama { background: linear-gradient(to bottom, var(--mist), var(--paper)); }
.nakama-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.nakama-text { display: grid; gap: 16px; justify-items: start; }
.nakama-text h2 { font-weight: 900; font-size: clamp(23px, 2.8vw, 31px); }
.nakama-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; width: 100%; }
.nakama-list li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; }
.nakama-list img { width: 76px; height: 64px; object-fit: contain; }
.nakama-list b { display: block; font-family: var(--f-display); font-size: 17px; }
.nakama-list span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; display: block; }
.nakama-art { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 14px 30px rgba(6, 43, 69, .12); }
.nakama-art img { width: 100%; height: auto; }
.nakama-banner { margin: 0 0 clamp(28px, 4vw, 44px); border-radius: var(--r-lg); overflow: hidden; }
.nakama-banner img { width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: 50% 30%; }
.chara-list { display: grid; gap: clamp(16px, 2.6vw, 28px); }
.chara-card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(18px, 3vw, 36px); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.chara-card:nth-child(even) { background: var(--mist); border-color: transparent; }
.chara-card figure { margin: 0; display: grid; place-items: center; }
.chara-card figure img { width: auto; max-width: 100%; height: clamp(170px, 22vw, 260px); object-fit: contain; }
.chara-card h2 { font-weight: 900; font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 10px; }
.chara-card p { color: var(--ink-soft); }
.chara-card p + p { margin-top: .6em; }
.chara-kind { font-size: 13.5px; font-weight: 700; color: var(--sky-deep) !important; letter-spacing: .08em; }
@media (max-width: 960px) { .nakama-grid { grid-template-columns: minmax(0, 1fr); } .nakama-art { order: -1; } }
@media (max-width: 700px) { .chara-card { grid-template-columns: minmax(0, 1fr); } .chara-card figure img { height: 180px; } .hero-chara { height: 120px; left: auto; right: 10px; bottom: -30px; } }
@media (max-width: 600px) { .head-chara { width: auto; height: 90px; } .relief img { height: 110px; } }

/* トップのメイン画像：ソラト・フーコ・クウ・バルンが横一列にふわふわ浮かぶ */
.hero-floats { position: absolute; z-index: 3; left: 5%; right: 5%; bottom: 4%; display: flex; align-items: flex-end; justify-content: space-between; gap: 2%; pointer-events: none; }
.hero-float { width: auto; flex: 0 0 auto; filter: drop-shadow(0 8px 12px rgba(6, 43, 69, .22)); will-change: transform; }
.f-sorato { height: clamp(78px, 9.5vw, 136px); animation: fly 6.5s ease-in-out infinite; }
.f-futa { height: clamp(96px, 12vw, 172px); animation: floaty 4.8s ease-in-out -1.2s infinite; }
.f-kuu { height: clamp(84px, 10.5vw, 150px); animation: floaty 5.6s ease-in-out -2.8s infinite; }
.f-balun { height: clamp(100px, 12.5vw, 180px); animation: floaty 6.2s ease-in-out -0.6s infinite; }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(-3deg); } 50% { transform: translate(10px, -14px) rotate(3deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@media (max-width: 900px) {
  .hero-floats { left: 4%; right: 4%; bottom: 4%; }
  .f-sorato { height: clamp(44px, 12vw, 110px); }
  .f-futa { height: clamp(58px, 15.5vw, 140px); }
  .f-kuu { height: clamp(50px, 13.5vw, 122px); }
  .f-balun { height: clamp(60px, 16vw, 146px); }
}
@media (prefers-reduced-motion: reduce) { .hero-float { animation: none; } }

/* ---------- リフォームのページ：事例（ビフォーアフター）・間取りプラン ---------- */
.case-filter { margin-bottom: 18px; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 22px); align-items: start; }
.case { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 20px; display: grid; gap: 12px; align-content: start; }
.case.whole { grid-column: 1 / -1; }
.case[hidden] { display: none; }
.case-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.case-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #FFFFFF; }
.case-tag.room { background: var(--sun-pale); color: var(--ink); }
.case-meta { font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.case h3 { font-weight: 900; font-size: 18px; line-height: 1.5; }
.case-body { display: grid; gap: 6px; }
.case-body.two { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.case-body p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; margin: 0; }
.case-body p b { display: inline-block; min-width: 4.5em; margin-right: 6px; padding: 1px 8px; border-radius: 6px; background: var(--mist); color: var(--sky-deep); font-size: 12.5px; font-weight: 700; vertical-align: 1px; }
.case-amount { font-weight: 700; color: var(--ink) !important; }
.case-amount small { font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.voice { margin: 0; background: var(--mist); border-radius: var(--r-md); padding: 14px 16px; font-size: 14px; line-height: 1.85; color: var(--ink-soft); }
.voice b { display: block; color: var(--sky-deep); font-size: 12.5px; letter-spacing: .06em; margin-bottom: 4px; }
.voice p { margin: 0; }
.ba { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba-img { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #E6EDF2; }
.ba.tall .ba-img { aspect-ratio: 3 / 4; }
.plan .ba .ba-img { aspect-ratio: 4 / 3; }
.ba-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-img span { position: absolute; left: 8px; bottom: 8px; font-family: var(--f-display); font-weight: 900; font-size: 12px; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: rgba(6, 43, 69, .78); color: #FFFFFF; }
.ba-img.after span { background: var(--sun); color: var(--ink); }
.ba-cap { grid-column: 1 / -1; font-size: 13px; color: var(--ink-soft); line-height: 1.6; padding-top: 2px; }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.case-extra { display: flex; flex-wrap: wrap; gap: 10px; }
.case-extra figure { margin: 0; flex: 1 1 140px; max-width: 220px; }
.case-extra.wide figure { flex: 1 1 220px; max-width: 320px; }
.case-extra img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #E6EDF2; display: block; }
.case-extra figcaption { font-size: 12px; color: var(--ink-soft); line-height: 1.55; margin-top: 4px; }
.plans { display: grid; gap: clamp(18px, 3vw, 30px); }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.plan-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.plan-no { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sky); color: #FFFFFF; font-family: var(--f-display); font-weight: 700; font-size: 11px; line-height: 1; text-transform: uppercase; letter-spacing: .08em; }
.plan-no b { display: block; font-size: 26px; font-weight: 900; margin-top: 2px; }
.plan-head h3 { font-weight: 900; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.plan-meta { font-size: 13px; color: var(--ink-soft); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.plan-price { font-weight: 700; color: var(--ink); }
.plan-price small { font-weight: 500; color: var(--ink-soft); }
.plan-body { font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }
.plan-maps { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); gap: 10px; align-items: center; background: var(--mist); border-radius: var(--r-md); padding: 14px; }
.plan-maps > div { position: relative; }
.plan-maps > div > span { position: absolute; left: 8px; bottom: 8px; font-family: var(--f-display); font-weight: 900; font-size: 11px; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px; background: rgba(6, 43, 69, .78); color: #FFFFFF; z-index: 1; }
.plan-maps > div:nth-child(3) > span, .plan-maps > div > span.after { background: var(--sun); color: var(--ink); }
.plan-maps img { width: 100%; height: auto; display: block; border-radius: 8px; background: #FFFFFF; }
.plan-maps .arrow { display: grid; place-items: center; color: var(--sky-deep); }
.plan-maps .plan-pending { aspect-ratio: 1200 / 670; display: grid; place-content: center; gap: 4px; text-align: center; border: 2px dashed var(--sky-deep); border-radius: 8px; background: #FFFFFF; color: var(--ink-soft); font-size: 13px; padding: 12px; }
.plan-maps .plan-pending b { display: block; color: var(--ink); font-size: 15px; }
.plan-maps .arrow svg { width: 30px; height: 30px; }
.plan-maps figcaption { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-soft); }
.num-list { padding-left: 1.3em; font-size: 14px; color: var(--ink-soft); line-height: 1.8; display: grid; gap: 6px; }
.num-list b { color: var(--ink); }
@media (max-width: 960px) {
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .case-body.two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .ba-grid { grid-template-columns: minmax(0, 1fr); }
  .plan-maps { grid-template-columns: minmax(0, 1fr); }
  .plan-maps .arrow svg { transform: rotate(90deg); }
  .case-extra figure { flex: 0 1 calc(50% - 5px); max-width: none; }
  .case-extra.wide figure { flex: 0 1 calc(50% - 5px); }
  .case-body p b { display: block; width: fit-content; margin-bottom: 2px; }
}

/* ---------- 新築のページ：完成イメージのギャラリー・7段階のステップ ---------- */
.gallery h3 { font-weight: 900; font-size: 18px; margin: 18px 0 10px; padding-left: 12px; border-left: 4px solid var(--sky); }
.gallery h3:first-child { margin-top: 0; }
.gal-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gal-row figure { margin: 0; }
.gal-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gal-row.two img { aspect-ratio: 3 / 2; }
.gal-row img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: #E6EDF2; display: block; }
.gal-row figcaption { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.steps.seven { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.steps.seven .step { padding: 16px 12px; }
.steps.seven .step h4 { font-size: 15px; }
.steps.seven .step p { font-size: 13px; }
@media (max-width: 960px) {
  .gal-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.seven { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps.seven .step:nth-child(2)::after { display: block; }
  .steps.seven .step:nth-child(4)::after { display: none; }
}
@media (max-width: 600px) { .steps.seven { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gal-row { gap: 8px; } }

/* トップ：6つの入口・9つのサービス */
.hero-doors.six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
.hero-doors.six .door { padding: 12px 12px 12px 14px; gap: 0 6px; }
.hero-doors.six .door small { font-size: 11.5px; }
.hero-doors.six .door strong { font-size: 15.5px; }
.hero-doors.six .door svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .hero-doors.six { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 520px) { .hero-doors.six { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .hero-doors.six .door svg { display: none; } }
.svc-grid.three .svc h4::after { content: " →"; color: var(--sky-deep); }

/* 公式LINEの案内 */
.line-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.line-mark { width: 96px; height: 96px; border-radius: 24px; background: #06C755; color: #FFFFFF; display: grid; place-items: center; }
.line-mark svg { width: 64px; height: 64px; }
.line-box h2 { font-weight: 900; font-size: clamp(20px, 2.4vw, 26px); margin: 6px 0 10px; }
.line-box p { color: var(--ink-soft); line-height: 1.9; max-width: 44em; }
.line-box .hero-actions { margin-top: 16px; }
@media (max-width: 600px) { .line-box { grid-template-columns: minmax(0, 1fr); } .line-mark { width: 72px; height: 72px; } .line-mark svg { width: 48px; height: 48px; } }

/* 年代別の比較表：列を広くして、文章が縦に長く並ばないように（狭い画面では横にスクロール） */
.tbl.era { min-width: 1180px; font-size: 13.5px; line-height: 1.7; table-layout: fixed; }
.tbl.era th, .tbl.era td { padding: 10px 12px; }
.tbl.era thead th:first-child, .tbl.era tbody th { width: 150px; }
.tbl.era tr.grp th { width: auto; }
.tbl.wide { min-width: 900px; }
.tbl.wide th, .tbl.wide td { padding: 11px 14px; }

/* 間取り図（SVG で描き直したもの）と凡例 */
.plan-maps svg { width: 100%; height: auto; display: block; }
.plan-svg text { font-family: var(--f-display); font-weight: 700; }
.plan-legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--ink-soft); }
.plan-legend li { display: inline-flex; align-items: center; gap: 5px; }
.plan-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.plan-maps figcaption { grid-column: 1 / -1; }

.plan-maps.one { grid-template-columns: minmax(0, 1fr); }
.plan-maps.one > div { max-width: 760px; margin: 0 auto; width: 100%; }
.plan-maps img { border-radius: 10px; }
