/* =============================================================
   日高住宅展示場 — 共通スタイル（index / house-XX / builders）
   2026-11-20 改修: 文字の大きさ・行間・色数・角丸・影をそろえ、
   スマホの下部固定ボタン・見出しの改行・動きを減らす設定に対応
   ============================================================= */

:root {
  --red: #D32F2F;
  --red-deep: #B0282A;
  --red-tint: #FBEEEB;
  --orange: #F4A02E;
  --orange-ink: #8A5A12;
  --niyodo: #3F6F99;          /* 仁淀川の青。白文字を載せても AA */
  --niyodo-tint: #EBF1F6;
  --mountain: #3F6E47;
  --line-green: #06833F;      /* LINE の緑を、白文字が読める濃さに */
  --line-green-deep: #056A33;
  --ink: #1F1D1B;
  --ink-soft: #46423E;
  --ink-mute: #6B655F;
  --paper: #FAF7F2;
  --paper-warm: #F2EDE5;
  --paper-deep: #E8DFD0;
  --card: #FFFDFA;
  --dark: #26231F;
  --dark-2: #1B1917;
  --on-dark: #F6F2EC;
  --on-dark-soft: rgba(246, 242, 236, .8);
  --line: rgba(31, 29, 27, .10);
  --line-strong: rgba(31, 29, 27, .2);
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(31, 29, 27, .05), 0 8px 24px rgba(31, 29, 27, .06);
  --shadow-lg: 0 2px 6px rgba(31, 29, 27, .06), 0 20px 48px rgba(31, 29, 27, .13);
  --header-h: 64px;
}
@media (max-width: 767px) { :root { --header-h: 56px; } }

/* ===== 基本 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { word-break: auto-phrase; text-wrap: balance; line-break: strict; overflow-wrap: normal; }
/* 短い文（ボタン・見出しに近い一行）も、言葉の切れ目で折り返す。Safari は keep-all ＋ <wbr> */
.btn, .path-tx b, .vsteps b, .vsteps .t, .faq summary, .one-message, .om, .tagline, .builder-line, .rm-name, .rname, .text-link { word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; text-wrap: balance; }
p { line-break: strict; text-wrap: pretty; }
b, strong { font-weight: 700; }
.nw { display: inline-block; }
.i { width: 1.2em; height: 1.2em; flex: 0 0 auto; }
:focus-visible { outline: 3px solid var(--niyodo); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 12px; }
@media (max-width: 767px) { .sm-hide { display: none; } .pc-br { display: none; } }

/* ===== サンプル展示の帯（文言は変えない） ===== */
.sample-banner {
  position: relative;
  z-index: 60;
  background: var(--dark-2);
  color: var(--on-dark);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.6;
  padding: 8px var(--gutter);
  text-align: center;
}
.sample-banner .tag {
  display: inline-block;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  font-size: 11px;
  border-radius: 4px;
  padding: 1px 8px;
  margin-right: 8px;
}
@media (max-width: 767px) { .sample-banner { text-align: left; padding: 7px 16px; font-size: 11.5px; line-height: 1.55; } }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, .92);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  position: relative;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand .name { font-family: var(--serif); font-weight: 900; font-size: 18px; letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.brand .sub { font-size: 10px; letter-spacing: .16em; font-weight: 700; color: var(--ink-mute); white-space: nowrap; }
.brand.on-dark .name { color: #fff; }
.brand.on-dark .sub { color: rgba(246, 242, 236, .6); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav .nav-cta { margin-left: 10px; padding: 0 18px; background: var(--line-green); color: #fff; border-radius: 10px; }
.nav .nav-cta.is-red { background: var(--red); }
.nav .nav-cta:hover { color: #fff; background: var(--line-green-deep); }
.nav .nav-cta.is-red:hover { background: var(--red-deep); }
.nav-toggle { display: none; }

@media (max-width: 959px) {
  .js .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    margin-right: -12px;
    background: none;
    border: 0;
    border-radius: var(--r-sm);
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 4px var(--gutter) 20px;
    box-shadow: var(--shadow-lg);
  }
  .js .nav.open { display: flex; }
  .js .nav a { min-height: 54px; font-size: 16px; padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); padding-left: 14px; }
  .js .nav .nav-cta { margin: 16px 0 0; justify-content: center; border-bottom: 0; border-radius: 10px; }
  /* JavaScript が無い時は、メニューを折り返して並べる */
  html:not(.js) .site-header .bar { height: auto; flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .nav { flex-wrap: wrap; }
}

/* ===== ボタン ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 24px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .02em;
  text-align: center;
  flex-wrap: wrap;
  row-gap: 2px;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn .i { width: 21px; height: 21px; }
.btn small { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 500; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 17px; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 14px; border-radius: var(--r-sm); gap: 6px; }
.btn-sm .i { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(211, 47, 47, .22); }
.btn-primary:hover { background: var(--red-deep); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 6px 16px rgba(6, 131, 63, .2); }
.btn-line:hover { background: var(--line-green-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(31, 29, 27, .03); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255, 255, 255, .62); background: rgba(20, 18, 16, .2); }
.btn-ghost.on-dark:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-quiet { background: var(--paper-warm); color: var(--ink); }
.btn-quiet:hover { background: var(--paper-deep); }
@media (hover: hover) { .btn-primary:hover, .btn-line:hover { transform: translateY(-1px); } }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--red); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link.on-dark { color: #fff; }

/* ===== セクションの型 ===== */
.section { padding: clamp(64px, 8vw, 104px) var(--gutter); }
.section.tight { padding-block: clamp(36px, 5vw, 64px); }
.section.warm { background: var(--paper-warm); }
.inner { max-width: var(--maxw); margin: 0 auto; }
.sec-head { margin-bottom: clamp(32px, 4vw, 48px); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--red); margin-bottom: 12px; }
.h-section {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.45;
  letter-spacing: .02em;
  color: var(--ink);
}
.lead { font-size: 16px; line-height: 1.85; color: var(--ink-soft); max-width: 35em; margin-top: 18px; }
@media (max-width: 359px) { .h-section { font-size: 24px; } }
.note, .perf-disclaimer { font-size: 13px; line-height: 1.75; color: var(--ink-mute); margin-top: 20px; max-width: 56em; }

/* ===== トップのヒーロー ===== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #48423b;
}
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 18, 16, .5) 0%, rgba(20, 18, 16, .18) 45%, rgba(20, 18, 16, 0) 70%),
    linear-gradient(180deg, rgba(20, 18, 16, .34) 0%, rgba(20, 18, 16, .06) 28%, rgba(20, 18, 16, .34) 55%, rgba(20, 18, 16, .86) 100%);
}
.hero-inner { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 120px var(--gutter) clamp(44px, 6vw, 84px); }
.opening-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(20, 18, 16, .38);
  border: 1px solid rgba(255, 255, 255, .42);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  padding: 6px 14px; border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  margin-bottom: 18px;
}
.opening-badge .live { width: 8px; height: 8px; border-radius: 50%; background: #6BE39A; box-shadow: 0 0 0 3px rgba(107, 227, 154, .28); }
.hero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .24em; color: rgba(255, 255, 255, .86); margin-bottom: 12px; }
.hero h1 {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(32px, 5.6vw, 66px);
  line-height: 1.3; letter-spacing: .02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .35);
}
.hero-sub { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.85; max-width: 34em; margin-top: 18px; color: rgba(255, 255, 255, .95); text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, .78); }
@media (max-width: 767px) {
  .hero { min-height: min(650px, calc(100svh - var(--header-h) - 72px)); }
  .hero-inner { padding: 96px 20px 32px; }
  .hero-eyebrow { display: none; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .hero-sub { font-size: 15px; margin-top: 14px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn-lg { min-height: 54px; font-size: 16px; }
}

/* ===== 目的から選ぶ ===== */
.paths { background: var(--card); border-bottom: 1px solid var(--line); }
.paths .inner { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 var(--gutter); max-width: calc(var(--maxw) + 2 * var(--gutter)); }
.paths li + li { border-left: 1px solid var(--line); }
.path { display: flex; align-items: center; gap: 14px; min-height: 96px; padding: 20px 24px; transition: background-color .15s; height: 100%; }
.paths li:first-child .path { padding-left: 0; }
.path:hover { background: var(--paper); }
.path-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red-tint); color: var(--red); flex: 0 0 auto; }
.path-ic .i { width: 22px; height: 22px; }
.path-tx { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.path-tx b { font-size: 16px; line-height: 1.5; }
.path-tx small { font-size: 13px; color: var(--ink-mute); line-height: 1.6; }
.path > .i { color: var(--ink-mute); transition: transform .15s; }
.path:hover > .i { transform: translateX(3px); color: var(--red); }
@media (max-width: 899px) {
  .paths .inner { grid-template-columns: 1fr; }
  .paths li + li { border-left: 0; border-top: 1px solid var(--line); }
  .path, .paths li:first-child .path { min-height: 76px; padding: 14px 0; }
}

/* ===== モデルハウスの一覧 ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .gallery { grid-template-columns: 1fr; gap: 20px; } }
.h-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.h-card:hover { box-shadow: var(--shadow-lg); }
.h-card-main { display: flex; flex-direction: column; flex: 1; }
.h-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.h-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.h-card-main:hover .thumb img { transform: scale(1.04); }
.h-card .num { position: absolute; top: 12px; left: 12px; background: rgba(31, 29, 27, .82); color: #fff; font-family: var(--serif); font-weight: 900; font-size: 14px; padding: 2px 10px; border-radius: 6px; }
.h-card .style-tag { position: absolute; top: 12px; right: 12px; background: rgba(255, 253, 250, .94); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 4px 10px; border-radius: 6px; }
.h-card .body { padding: 18px 20px 6px; display: flex; flex-direction: column; flex: 1; }
.h-card .builder { font-size: 13px; color: var(--ink-mute); font-weight: 700; }
.h-card h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.45; margin-top: 2px; }
.h-card .tagline { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-top: 4px; }
.h-card .meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; color: var(--ink-soft); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.h-card .tagline + .meta { margin-top: 14px; }
.h-card-actions { display: flex; gap: 8px; padding: 14px 20px 20px; }
.h-card-actions .btn { flex: 1; padding-inline: 10px; }
@media (max-width: 359px) { .h-card-actions { flex-direction: column; } }

/* ===== 展示場について ===== */
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.concept-head { position: sticky; top: calc(var(--header-h) + 32px); }
.pillars { display: grid; gap: 0; }
.pillar { padding: 26px 0; border-top: 1px solid var(--line-strong); }
.pillar:last-child { border-bottom: 1px solid var(--line-strong); }
.pillar .pn { display: block; font-family: var(--serif); font-weight: 900; font-size: 14px; letter-spacing: .08em; color: var(--red); }
.pillar .pn.c-green { color: var(--mountain); }
.pillar .pn.c-niyodo { color: var(--niyodo); }
.pillar h3 { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.5; margin: 6px 0 8px; }
.pillar p { font-size: 15px; color: var(--ink-soft); line-height: 1.85; max-width: 35em; }
.pillars.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 40px); margin-top: clamp(32px, 4vw, 48px); }
.pillars.cols-3 .pillar { border-bottom: 0; border-top: 2px solid var(--ink); }
@media (max-width: 899px) {
  .concept-grid { grid-template-columns: 1fr; }
  .concept-head { position: static; }
  .pillars.cols-3 { grid-template-columns: 1fr; }
  .pillars.cols-3 .pillar { border-top: 1px solid var(--line-strong); }
  .pillars.cols-3 .pillar:first-child { border-top: 2px solid var(--ink); }
}

/* ===== 立地・データ ===== */
.place { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.place-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--niyodo-tint); color: var(--niyodo); flex: 0 0 auto; }
.place-k { font-size: 13px; font-weight: 700; color: var(--ink-mute); }
.place-v { font-size: 17px; font-weight: 700; line-height: 1.6; }
.place-n { font-size: 15px; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; box-shadow: var(--shadow); }
.stat .num { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: .01em; color: var(--ink); }
.stat .num .unit { font-size: .45em; font-weight: 700; color: var(--ink-mute); margin-left: 4px; white-space: nowrap; }
.stat .slabel { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; margin-top: 10px; }
.stat .slabel::before { content: ""; width: 16px; height: 2px; background: var(--red); flex: 0 0 auto; }
.stat .snote { font-size: 13px; color: var(--ink-soft); line-height: 1.75; margin-top: 6px; }
@media (max-width: 639px) { .stats { grid-template-columns: 1fr; } }
.migration {
  margin-top: 20px;
  padding: 18px 22px;
  border-left: 3px solid var(--niyodo);
  background: var(--niyodo-tint);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 46em;
}

/* ===== よくある質問 ===== */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 899px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 56px;
  padding: 18px 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--serif); font-weight: 900; color: var(--red); flex: 0 0 auto; }
.faq summary > span:nth-child(2) { flex: 1; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px; height: 10px;
  margin: 7px 6px 0 auto;
  border-right: 2px solid var(--ink-mute);
  border-bottom: 2px solid var(--ink-mute);
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq summary:hover > span:nth-child(2) { color: var(--red); }
.faq .a { padding: 0 4px 22px 30px; font-size: 15px; color: var(--ink-soft); line-height: 1.85; max-width: calc(35em + 34px); }

/* ===== 暗い帯（相談・予約） ===== */
.cta-band {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4.5vw, 56px);
  box-shadow: var(--shadow-lg);
}
.cta-band .eyebrow { color: var(--orange); }
.cta-band h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(23px, 2.6vw, 31px); line-height: 1.5; color: #fff; }
.cta-band p { font-size: 15px; color: var(--on-dark-soft); line-height: 1.85; margin-top: 12px; max-width: 35em; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band .actions .btn { width: 100%; }
.cta-band .text-link { align-self: center; }
@media (max-width: 767px) { .cta-band { grid-template-columns: 1fr; } }
.vsteps { display: grid; gap: 14px; margin-top: 22px; }
.vsteps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.vsteps .sn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); font-family: var(--serif); font-weight: 900; font-size: 15px; color: #fff; }
.vsteps b { display: block; font-size: 16px; color: #fff; line-height: 1.5; }
.vsteps .t { display: block; font-size: 14px; color: var(--on-dark-soft); line-height: 1.7; }

/* ===== 工務店の方へ（トップの紹介） ===== */
.bteaser {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 64px);
  box-shadow: var(--shadow-lg);
}
.bteaser .eyebrow { color: var(--orange); }
.bteaser .h-section { color: #fff; }
.bteaser .one-message { font-family: var(--serif); font-weight: 900; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.75; color: #fff; margin: 18px 0 4px; padding-left: 18px; border-left: 4px solid var(--red); max-width: 26em; }
.bteaser .lead { color: var(--on-dark-soft); }
.bteaser .actions { margin-top: 28px; }
.bteaser-pillars { display: grid; gap: 0; }
.bteaser-pillar { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.bteaser-pillar:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.bteaser-pillar .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--orange); }
.bteaser-pillar h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; color: #fff; margin: 4px 0 6px; line-height: 1.5; }
.bteaser-pillar p { font-size: 15px; color: var(--on-dark-soft); line-height: 1.8; }
@media (max-width: 899px) { .bteaser { grid-template-columns: 1fr; } }

/* ===== フッター ===== */
.site-footer { background: var(--dark-2); color: rgba(246, 242, 236, .74); padding: clamp(56px, 7vw, 88px) var(--gutter) 40px; }
.site-footer .inner { max-width: var(--maxw); }
.ft-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-footer .tagline { font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 2vw, 22px); line-height: 1.65; color: #fff; margin-top: 18px; max-width: 22em; }
.org-open { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--orange); }
.ft-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ft-h { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: rgba(246, 242, 236, .6); margin-bottom: 4px; }
.ft-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: rgba(246, 242, 236, .9); }
.ft-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.org-block { padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.org-name { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.org-row { font-size: 13px; line-height: 1.9; }
.disclaimer { margin-top: 24px; font-size: 12px; line-height: 1.85; color: rgba(246, 242, 236, .62); max-width: 62em; }
.copy-line { margin-top: 18px; font-size: 12px; color: rgba(246, 242, 236, .55); }
@media (max-width: 767px) { .ft-top { grid-template-columns: 1fr; } }

/* ===== スマホの下部固定ボタン ===== */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    /* 下の 34px は「制作実績のデモ」の札と、iPhone の下端のための余白 */
    padding: 10px 16px max(34px, env(safe-area-inset-bottom));
    background: rgba(250, 247, 242, .95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(31, 29, 27, .08);
    transition: transform .25s ease, visibility 0s;
  }
  .js .mbar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s; }
  .mbar .btn { flex: 1 1 auto; min-height: 50px; padding: 8px 14px; font-size: 16px; box-shadow: none; }
  .mbar .btn-line { flex: 0 0 auto; padding: 8px 16px; }
  .mbar .btn small { background: rgba(255, 255, 255, .2); }
}
@media (max-width: 359px) {
  .mbar .mbar-tx { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mbar .btn-line { padding: 8px 14px; }
  body.has-mbar { padding-bottom: 96px; }
}

/* ===== デモの案内（LINE・予約の代わりに出す） ===== */
.demo-dialog {
  margin: auto;
  border: 0;
  border-radius: var(--r-lg);
  padding: 28px 26px 22px;
  width: min(440px, calc(100% - 32px));
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.demo-dialog::backdrop { background: rgba(20, 18, 16, .55); }
.demo-dialog .dl-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--orange-ink); }
.demo-dialog h2 { font-family: var(--serif); font-weight: 900; font-size: 21px; margin: 4px 0 10px; }
.demo-dialog p { font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.demo-dialog .btn { width: 100%; margin-top: 20px; }

/* =============================================================
   邸ページ・工務店ページの上部
   ============================================================= */
.house-hero {
  position: relative;
  isolation: isolate;
  min-height: min(76vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #48423b;
}
.hh-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.house-hero .scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 18, 16, .42) 0%, rgba(20, 18, 16, .1) 34%, rgba(20, 18, 16, .82) 100%); }
.house-hero.is-builders .scrim {
  background:
    linear-gradient(90deg, rgba(20, 18, 16, .62) 0%, rgba(20, 18, 16, .3) 50%, rgba(20, 18, 16, .05) 75%),
    linear-gradient(180deg, rgba(20, 18, 16, .3) 0%, rgba(20, 18, 16, .2) 40%, rgba(20, 18, 16, .78) 100%);
}
.house-hero .inner { position: relative; width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 72px var(--gutter) clamp(40px, 5vw, 64px); }
.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px 0 12px; margin-bottom: 18px;
  font-size: 14px; font-weight: 700;
  color: #fff;
  background: rgba(20, 18, 16, .38);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.crumb:hover { background: rgba(20, 18, 16, .55); }
.htag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.htag .num { font-family: var(--serif); font-weight: 900; font-size: 15px; background: var(--red); color: #fff; padding: 3px 12px; border-radius: 6px; }
.htag .style { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #fff; background: rgba(20, 18, 16, .42); border: 1px solid rgba(255, 255, 255, .45); padding: 3px 10px; border-radius: 6px; }
.house-hero h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.32; letter-spacing: .02em; text-shadow: 0 2px 26px rgba(0, 0, 0, .34); }
.house-hero h1 em { font-style: normal; color: var(--orange); }
.builder-line { font-size: 15px; font-weight: 700; margin-top: 12px; color: rgba(255, 255, 255, .92); }
.house-hero .tagline { font-family: var(--serif); font-weight: 600; font-size: clamp(17px, 1.9vw, 21px); margin-top: 4px; color: #fff; }
.house-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.house-hero .hero-note { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-width: 760px; }
.hero-chips li { font-size: 13px; font-weight: 700; color: #fff; background: rgba(20, 18, 16, .36); border: 1px solid rgba(255, 255, 255, .34); padding: 6px 13px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 767px) {
  .house-hero { min-height: min(640px, calc(100svh - var(--header-h) - 72px)); }
  .house-hero.is-builders { min-height: 0; }
  .house-hero .inner { padding: 56px 20px 32px; }
  .house-hero .actions .btn { width: 100%; }
  .house-hero .actions .btn-lg { min-height: 54px; font-size: 16px; }
  .hero-chips li { font-size: 12px; }
}

/* 仕様の帯 */
.spec-bar { background: var(--dark); color: #fff; }
.spec-bar dl { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(5, 1fr); }
.spec-bar .cell { padding: 18px 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.spec-bar .cell:first-child { border-left: 0; padding-left: 0; }
.spec-bar dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .68); }
.spec-bar dd { font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.45; margin-top: 2px; }
@media (max-width: 767px) {
  .spec-bar dl { grid-template-columns: repeat(2, 1fr); padding: 6px 20px; }
  .spec-bar .cell { padding: 12px 0 12px 16px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .spec-bar .cell:nth-child(-n+2) { border-top: 0; }
  .spec-bar .cell:nth-child(odd) { padding-left: 0; }
  .spec-bar .cell:last-child { grid-column: 1 / -1; padding-left: 0; }
  .spec-bar dd { font-size: 17px; }
}

/* 部屋を選んで内覧 */
.rooms-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(170px, 1fr)); gap: 12px; }
.rooms-grid li:first-child { grid-row: span 2; }
.room-card { position: relative; display: block; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--paper-deep); }
.room-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.room-card:hover img { transform: scale(1.04); }
.room-card .rm-badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(20, 18, 16, .74); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px 4px 8px; border-radius: 999px; }
.room-card .rm-badge .i { width: 17px; height: 17px; }
.room-card .rm-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; background: linear-gradient(180deg, transparent, rgba(20, 18, 16, .8)); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.5; }
.room-card.is-big .rm-name { font-size: 18px; padding: 40px 18px 16px; }
@media (max-width: 767px) {
  .rooms-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none; }
  .rooms-grid::-webkit-scrollbar { display: none; }
  .rooms-grid li { flex: 0 0 74%; scroll-snap-align: start; }
  .room-card { aspect-ratio: 16 / 11; height: auto; }
  .room-card.is-big .rm-name { font-size: 15px; padding: 32px 14px 12px; }
}

/* 工務店の考え方 */
.intro-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.philosophy { font-size: 16px; line-height: 2; color: var(--ink-soft); max-width: 35em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { font-size: 13px; font-weight: 700; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line-strong); padding: 6px 14px; border-radius: 999px; }
@media (max-width: 899px) { .intro-grid { grid-template-columns: 1fr; } }

/* こだわり（工務店ページの「追い風」も同じ形） */
.commitments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.commitment { display: grid; grid-template-columns: auto 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.commitment .idx { font-family: var(--serif); font-weight: 900; font-size: 18px; color: var(--red); line-height: 1.5; }
.commitment h3 { font-size: 17px; font-weight: 700; line-height: 1.55; margin-bottom: 6px; }
.commitment p { font-size: 15px; color: var(--ink-soft); line-height: 1.85; }
.commitments.cols-3 { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
.commitments.cols-3 .commitment { grid-template-columns: 1fr; gap: 6px; }
@media (max-width: 1023px) { .commitments.cols-3 { grid-template-columns: 1fr; } .commitments.cols-3 .commitment { grid-template-columns: auto 1fr; gap: 16px; } }
@media (max-width: 767px) { .commitments { grid-template-columns: 1fr; } .commitment { padding: 20px; } }

/* 工法 */
.method { background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); padding: clamp(22px, 4.5vw, 56px); box-shadow: var(--shadow-lg); }
.method .label { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--orange); }
.method h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(22px, 2.8vw, 32px); line-height: 1.5; margin: 10px 0 14px; color: #fff; }
.method .summary { font-size: 16px; line-height: 1.95; color: var(--on-dark-soft); max-width: 35em; }
.method .points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.method .point { border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 14px; font-size: 15px; line-height: 1.8; color: rgba(246, 242, 236, .92); }
.method .pn { display: block; color: var(--orange); font-family: var(--serif); font-weight: 900; font-size: 15px; margin-bottom: 4px; }
@media (max-width: 767px) { .method .points { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 359px) { .method h2 { font-size: 18px; } }

/* 性能 */
.perf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.perf .cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 18px; box-shadow: var(--shadow); }
.perf .k { font-size: 13px; font-weight: 700; color: var(--ink-mute); letter-spacing: .04em; }
.perf .v { font-family: var(--serif); font-weight: 900; font-size: 21px; line-height: 1.35; margin: 6px 0 8px; }
.perf .note { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 1023px) { .perf { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 639px) {
  .perf { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .perf .cell { padding: 16px 14px; }
  .perf .v { font-size: 18px; }
  .perf .cell:last-child { grid-column: 1 / -1; }
}
@media (max-width: 359px) { .perf { grid-template-columns: 1fr; } }

/* 暮らし */
.lifestyle { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.lifestyle .body { font-size: 16px; line-height: 2; color: var(--ink-soft); margin: 18px 0 24px; max-width: 35em; }
.lifestyle .visual { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow-lg); background: var(--paper-deep); }
.lifestyle .visual img { width: 100%; height: 100%; object-fit: cover; }
.cap { position: absolute; right: 10px; bottom: 10px; font-size: 11px; line-height: 1.5; background: rgba(20, 18, 16, .62); color: #fff; padding: 2px 8px; border-radius: 4px; }
@media (max-width: 899px) { .lifestyle { grid-template-columns: 1fr; } .lifestyle .visual { order: -1; } }

/* ペット */
.petcare { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 32px; }
.petcare .cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; }
.petcare h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; line-height: 1.55; margin-bottom: 6px; }
.petcare h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; }
.petcare p { font-size: 15px; color: var(--ink-soft); line-height: 1.8; }

/* 他の家 */
.related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 28px; }
.related a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s; }
.related a:hover { box-shadow: var(--shadow-lg); }
.related .rt { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.related .rt img { width: 100%; height: 100%; object-fit: cover; }
.related .rb { padding: 12px 14px 14px; }
.related .rn { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--red); }
.related .rname { font-family: var(--serif); font-weight: 700; font-size: 16px; line-height: 1.45; margin-top: 2px; }
.related .rbuilder { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
@media (max-width: 1023px) {
  .related { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .related::-webkit-scrollbar { display: none; }
  .related li { flex: 0 0 34%; scroll-snap-align: start; }
}
@media (max-width: 639px) { .related li { flex-basis: 62%; } }

/* =============================================================
   工務店の方へ
   ============================================================= */
.toc { background: var(--card); border-bottom: 1px solid var(--line); }
.toc .inner { display: flex; gap: 4px; overflow-x: auto; padding: 8px var(--gutter); max-width: calc(var(--maxw) + 2 * var(--gutter)); scrollbar-width: none; }
.toc li:first-child a { margin-left: -14px; }
.toc .inner::-webkit-scrollbar { display: none; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 14px; font-weight: 700; color: var(--ink-soft); border-radius: 999px; white-space: nowrap; }
.toc a:hover { background: var(--paper-warm); color: var(--ink); }

.one-message-box { margin-top: 24px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--red); box-shadow: var(--shadow); }
.one-message-box .omlabel { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--red); }
.one-message-box .om { font-family: var(--serif); font-weight: 900; font-size: clamp(21px, 2.7vw, 30px); line-height: 1.65; margin-top: 10px; }

.shift-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; margin-top: 36px; }
.shift-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.shift-card.hot { border: 2px solid var(--red); }
.shift-card .sk { font-size: 14px; font-weight: 700; color: var(--ink-mute); }
.shift-card .sv { font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 4vw, 44px); line-height: 1.2; margin: 6px 0; }
.shift-card.hot .sv { color: var(--red); }
.shift-card .sv span { font-size: 15px; font-weight: 700; color: var(--ink-mute); margin-left: 4px; }
.shift-card .sn { font-size: 15px; color: var(--ink-soft); line-height: 1.8; }
.shift-arrow { display: grid; place-items: center; color: var(--ink-mute); }
.shift-arrow .i { width: 28px; height: 28px; }
@media (max-width: 767px) { .shift-row { grid-template-columns: 1fr; } .shift-arrow { transform: rotate(90deg); height: 28px; } }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 36px); margin-top: 32px; }
.benefit { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.benefit .n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 900; font-size: 14px; }
.benefit h3 { font-size: 16px; font-weight: 700; line-height: 1.55; margin-bottom: 4px; }
.benefit p { font-size: 15px; color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 899px) { .benefits { grid-template-columns: 1fr; gap: 18px; } }
.shift-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; padding: 18px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); font-size: 15px; font-weight: 700; line-height: 1.75; }
.shift-note .badge { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--red); border: 1.5px solid var(--red); border-radius: 999px; padding: 2px 12px; margin-top: 2px; }
@media (max-width: 639px) { .shift-note { flex-direction: column; gap: 8px; } }
.demo-link { margin-top: 16px; }

.role-split { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 36px; }
.role-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--mountain); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.role-card.operator { border-top-color: var(--red); }
.role-card .role-head { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--mountain); margin-bottom: 14px; }
.role-card.operator .role-head { color: var(--red); }
.role-card ul { display: grid; gap: 10px; }
.role-card li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.role-card li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 8px; height: 2px; background: var(--ink-mute); }
.role-card .role-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; color: var(--mountain); }
.role-card.operator .role-foot { color: var(--red); }
.role-plus { display: grid; place-items: center; font-size: 28px; font-weight: 700; color: var(--ink-mute); }
@media (max-width: 767px) { .role-split { grid-template-columns: 1fr; gap: 14px; } .role-plus { display: none; } }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.mini { background: var(--paper-warm); border-radius: var(--r); padding: 18px 20px; }
.mini .mn { display: block; font-family: var(--serif); font-weight: 900; font-size: 22px; color: var(--red); line-height: 1.4; }
.mini .ml { display: block; font-size: 14px; color: var(--ink-soft); line-height: 1.75; margin-top: 4px; }
@media (max-width: 767px) { .mini-stats { grid-template-columns: 1fr; } }

.flow5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 36px; counter-reset: f; }
.flow5-card { position: relative; padding: 22px 18px 4px 0; border-top: 2px solid var(--ink); }
.flow5-card + .flow5-card { padding-left: 18px; border-left: 1px solid var(--line); }
.flow5-card .fhead { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.flow5-card .fn { font-family: var(--serif); font-weight: 900; font-size: 22px; color: var(--red); line-height: 1; }
.flow5-card .fen { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ink-mute); }
.flow5-card h3 { font-size: 16px; font-weight: 700; line-height: 1.5; margin-bottom: 4px; }
.flow5-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 899px) {
  .flow5 { grid-template-columns: 1fr; }
  .flow5-card, .flow5-card + .flow5-card { display: grid; grid-template-columns: 52px 1fr; column-gap: 12px; padding: 16px 0; border-left: 0; border-top: 1px solid var(--line-strong); }
  .flow5-card:first-child { border-top: 2px solid var(--ink); }
  .flow5-card .fhead { grid-row: span 2; flex-direction: column; gap: 4px; margin: 0; }
}

.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.channel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; box-shadow: var(--shadow); }
.channel h3 { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 6px; }
.channel p { font-size: 15px; color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 1023px) { .channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .channels { grid-template-columns: 1fr; } }

.sub-h { font-family: var(--serif); font-weight: 700; font-size: 21px; line-height: 1.5; margin: 44px 0 0; }

.cost-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; align-items: start; }
.cost-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 24px 20px; box-shadow: var(--shadow); }
.cost-table table { width: 100%; border-collapse: collapse; }
.cost-table thead th { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--ink-mute); text-align: left; padding: 14px 0 10px; border-bottom: 1px solid var(--line-strong); }
.cost-table thead th:last-child, .cost-table td { text-align: right; }
.cost-table tbody th { font-size: 15px; font-weight: 500; text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.cost-table td { font-size: 15px; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cost-table .cw.b { color: var(--mountain); }
.cost-table .cw.c { color: var(--red); }
.cost-table .cw.n { color: var(--ink-mute); }
.cost-foot { font-size: 13px; color: var(--ink-mute); margin-top: 14px; line-height: 1.75; }
.cost-side { display: grid; gap: 14px; }
.cside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.cside-card.green { border-left: 3px solid var(--mountain); }
.cside-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.cside-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.85; }
.cside-card b { color: var(--ink); }
@media (max-width: 899px) { .cost-wrap { grid-template-columns: 1fr; } }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; }
.tl-step { position: relative; padding: 22px 20px 4px 0; border-top: 2px solid var(--niyodo); }
.tl-step + .tl-step { padding-left: 20px; }
.tl-step::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--niyodo); }
.tl-step + .tl-step::before { left: 20px; }
.tl-step:last-child { border-top-color: var(--red); }
.tl-step:last-child::before { background: var(--red); }
.tl-step .tl-when { font-size: 13px; font-weight: 700; color: var(--ink-mute); }
.tl-step .tl-step-name { font-family: var(--serif); font-weight: 900; font-size: 15px; color: var(--red); margin: 2px 0 6px; }
.tl-step h3 { font-size: 16px; font-weight: 700; line-height: 1.5; margin-bottom: 4px; }
.tl-step p { font-size: 15px; color: var(--ink-soft); line-height: 1.75; }
@media (max-width: 899px) {
  .timeline { grid-template-columns: 1fr; border-left: 2px solid var(--niyodo); margin-left: 6px; }
  .tl-step, .tl-step + .tl-step { padding: 4px 0 22px 22px; border-top: 0; }
  .tl-step::before, .tl-step + .tl-step::before { top: 10px; left: -7px; }
}

.operator { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; margin-top: 36px; align-items: center; }
.op-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.op-name { font-family: var(--serif); font-weight: 900; font-size: 20px; }
.op-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.op-biz { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 0; }
.biz-row { display: grid; grid-template-columns: 52px auto 1fr; gap: 12px; align-items: baseline; padding: 8px 0; font-size: 15px; }
.biz-row .by { font-family: var(--serif); font-weight: 900; color: var(--red); }
.biz-row .bn { font-weight: 700; }
.biz-row .bnote { color: var(--ink-mute); font-size: 13px; text-align: right; }
.op-why h3 { font-family: var(--serif); font-weight: 900; font-size: 23px; line-height: 1.5; margin-bottom: 12px; }
.op-why p { font-size: 16px; color: var(--ink-soft); line-height: 1.95; max-width: 35em; }
@media (max-width: 899px) { .operator { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .biz-row { grid-template-columns: 48px 1fr; } .biz-row .bnote { grid-column: 2; text-align: left; margin-top: -6px; } }

.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 36px 0; }
.next-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.next-card .nhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.next-card .ns { font-family: var(--serif); font-weight: 900; font-size: 16px; color: var(--red); }
.next-card .ntag { font-size: 12px; font-weight: 700; color: var(--ink-soft); background: var(--paper-warm); padding: 2px 10px; border-radius: 999px; }
.next-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.next-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.85; }
@media (max-width: 899px) { .next-steps { grid-template-columns: 1fr; } }
.cta-band .cta-h { font-size: clamp(21px, 2.4vw, 28px); }

/* ===== 出現の動き（控えめ。動きを減らす設定では出さない） ===== */
/* site.js が動いた時だけ隠す（読み込めなかった時に中身が消えたままにならないように） */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal-ready .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
