/* ============================================================
   104 株式会社サンプル都市開発 — 白基調 × ミストグリーン × ユーカリ
   洗練 / 大きな余白 / 1px 罫線 / 差し色としての緑
   ============================================================ */

:root {
  --white:    #FFFFFF;
  --mist:     #F2F5F4;
  --mist-2:   #E7EDEA;
  --euca:     #4E7A6B;
  --euca-d:   #3C6153;
  --forest:   #1E2E2A;
  --ink-soft: #55635E;
  --line:     rgba(30, 46, 42, 0.12);
  --line-s:   rgba(30, 46, 42, 0.20);
  --img-bg:   #E7EDEA;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --demobar-h: 36px;
  --hd-h: 118px;
  --gut: clamp(20px, 4vw, 40px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  padding-top: var(--demobar-h);
  background: var(--white);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
figure { margin: 0; }
svg { display: block; }

/* ─── DEMO BAR ───────────────────────────────────────────── */
#demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  background: rgba(20, 32, 28, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 0;
  height: 36px; display: flex; align-items: center;
}
#demo-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; width: 100%; }
.demo-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.7rem; line-height: 1.5; color: rgba(255, 255, 255, 0.55);
}
.demo-badge {
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.14); color: #fff;
  padding: 3px 10px; flex-shrink: 0;
}
.demo-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.demo-copy { color: rgba(255, 255, 255, 0.32); font-size: 0.62rem; margin-left: 4px; }
@media (max-width: 640px) { .demo-copy { display: none; } }

/* ─── HEADER（PC: 2段センター → スクロールで1段） ───────── */
.site-header {
  position: fixed; top: var(--demobar-h); left: 0; right: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .45s ease, box-shadow .45s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 26px rgba(30, 46, 42, 0.05);
}
.hd-inner {
  position: relative;
  max-width: 1240px; margin: 0 auto; padding: 0 var(--gut);
  height: var(--hd-h);
  transition: height .5s cubic-bezier(.2, .7, .2, 1);
}
.site-header.is-scrolled .hd-inner { height: 64px; }

.hd-logo {
  position: absolute; top: 19px; left: 50%; transform: translateX(-50%);
  text-align: center; line-height: 1;
  transition: top .5s cubic-bezier(.2,.7,.2,1), left .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1);
}
.site-header.is-scrolled .hd-logo { top: 19px; left: var(--gut); transform: translateX(0); }
.hd-logo-en {
  display: block; font-family: var(--serif); font-weight: 500;
  font-size: 27px; letter-spacing: 0.3em; text-indent: 0.3em;
  color: var(--forest); transition: font-size .5s ease;
}
.site-header.is-scrolled .hd-logo-en { font-size: 22px; }
.hd-logo-ja {
  display: block; font-size: 10px; letter-spacing: 0.22em; text-indent: 0.22em;
  color: var(--ink-soft); margin-top: 7px; overflow: hidden;
  max-height: 16px; opacity: 1;
  transition: max-height .45s ease, opacity .3s ease, margin-top .45s ease;
}
.site-header.is-scrolled .hd-logo-ja { max-height: 0; opacity: 0; margin-top: 0; }

.hd-nav {
  position: absolute; bottom: 18px; right: 50%; transform: translateX(50%);
  display: flex; gap: clamp(22px, 3vw, 44px);
  transition: bottom .5s cubic-bezier(.2,.7,.2,1), right .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1);
}
.site-header.is-scrolled .hd-nav { bottom: 21px; right: var(--gut); transform: translateX(0); }
.hd-nav a {
  position: relative; font-size: 13.5px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--forest); padding-bottom: 6px; line-height: 1.4;
}
.hd-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--euca);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.hd-nav a:hover::after, .hd-nav a.is-current::after { transform: scaleX(1); }
.hd-nav a.is-current { color: var(--euca-d); }

.hd-tel {
  position: absolute; right: var(--gut); bottom: 17px;
  font-family: var(--serif); font-size: 17px; letter-spacing: 0.08em;
  color: var(--ink-soft); display: flex; align-items: baseline; gap: 8px;
  transition: opacity .3s ease, visibility .3s ease;
}
.hd-tel span { font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.2em; }
.site-header.is-scrolled .hd-tel { opacity: 0; visibility: hidden; }

/* ─── HAMBURGER ─────────────────────────────────────────── */
.hamburger {
  display: none; position: absolute; right: var(--gut); top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 26px; flex-direction: column; justify-content: space-between;
  background: none; border: 0; cursor: pointer; padding: 4px 0;
}
.hamburger span {
  display: block; width: 100%; height: 1.5px; background: var(--forest);
  transition: transform .35s ease, opacity .25s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── MOBILE MENU（上から幕が下りる） ───────────────────── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 1050;
  background: var(--white);
  clip-path: inset(0 0 100% 0);
  visibility: hidden; pointer-events: none;
  flex-direction: column; justify-content: center;
  padding: 96px 30px 48px;
  transition: clip-path .5s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .5s;
}
.mobile-menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible; pointer-events: auto;
  transition: clip-path .5s cubic-bezier(.2, .7, .2, 1), visibility 0s linear 0s;
}
.mobile-nav-close {
  position: absolute; top: 62px; right: 26px;
  background: none; border: 1px solid var(--line-s); color: var(--forest);
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em;
  padding: 9px 16px; cursor: pointer; line-height: 1;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.mobile-nav-close:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.mobile-nav-home {
  display: inline-block; align-self: flex-start;
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  letter-spacing: 0.2em; color: var(--euca-d);
  border-bottom: 1px solid var(--euca); padding-bottom: 4px; margin-bottom: 34px;
}
.mm-links { display: flex; flex-direction: column; gap: 2px; }
.mm-links a {
  display: block; font-size: 17px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--forest); padding: 15px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.mobile-menu.is-open .mm-links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mm-links a:nth-child(1) { transition-delay: .20s; }
.mobile-menu.is-open .mm-links a:nth-child(2) { transition-delay: .28s; }
.mobile-menu.is-open .mm-links a:nth-child(3) { transition-delay: .36s; }
.mobile-menu.is-open .mm-links a:nth-child(4) { transition-delay: .44s; }
.mobile-menu.is-open .mm-links a:nth-child(5) { transition-delay: .52s; }
.mm-tel {
  margin-top: 32px; font-size: 13px; color: var(--ink-soft); line-height: 1.9;
}
.mm-tel strong {
  display: block; font-family: var(--serif); font-size: 27px; font-weight: 600;
  letter-spacing: 0.06em; color: var(--forest);
}

/* ─── BUTTONS（コントラスト AA 準拠） ───────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 30px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.1em;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.btn svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.4; fill: none; flex-shrink: 0; }
/* 白文字 on #4E7A6B = 4.86:1 / hover #3C6153 = 6.9:1 */
.btn-primary { background: var(--euca); color: var(--white); border-color: var(--euca); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--euca-d); border-color: var(--euca-d); color: var(--white); }
/* #1E2E2A on 白 = 14.2:1 / hover 反転も 14.2:1 */
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--line-s); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--forest); border-color: var(--forest); color: var(--white); }
/* 緑地の上に置く白ボタン */
.btn-light { background: var(--white); color: var(--forest); border-color: var(--white); }
.btn-light:hover, .btn-light:focus-visible { background: var(--forest); border-color: var(--white); color: var(--white); }
.btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--euca-d); padding-bottom: 5px; border-bottom: 1px solid var(--euca);
  transition: color .3s ease, gap .3s ease;
}
.text-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.text-link:hover { color: var(--forest); gap: 16px; }

/* ─── REVEAL（CSS のみ・JS 依存の初期非表示は使わない） ── */
.reveal { opacity: 1; animation: reveal-in 0.9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
.rd-1 { animation-delay: .08s; }
.rd-2 { animation-delay: .18s; }
.rd-3 { animation-delay: .28s; }
.rd-4 { animation-delay: .38s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}

/* ─── LAYOUT ────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(76px, 10vw, 142px) 0; }
.section-mist { background: var(--mist); }
.section-tight { padding: clamp(60px, 7vw, 104px) 0; }

.sec-en {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-size: 13px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--euca-d);
  margin-bottom: 20px;
}
.sec-en::before { content: ""; width: 34px; height: 1px; background: var(--euca); flex-shrink: 0; }
.sec-title {
  font-size: clamp(25px, 3.2vw, 40px); font-weight: 500; line-height: 1.5;
  letter-spacing: 0.05em; color: var(--forest);
}
.sec-lead { margin-top: 22px; max-width: 720px; color: var(--ink-soft); }
.sec-head { margin-bottom: clamp(38px, 4.5vw, 64px); }
.sec-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
  margin-bottom: clamp(34px, 4vw, 56px);
}
.body-text { color: var(--ink-soft); }

/* 画像枠（未配置でも崩れない） */
.ph { background: var(--img-bg); overflow: hidden; position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-16x9 { aspect-ratio: 16 / 9; }
.ph-4x3  { aspect-ratio: 4 / 3; }
.ph-tall { aspect-ratio: 3 / 4; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero { padding-top: var(--hd-h); background: var(--white); }
.hero-text {
  text-align: center; padding: 44px var(--gut) 48px;
  max-width: 1000px; margin: 0 auto;
}
.hero-label {
  font-family: var(--serif); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.36em; text-indent: 0.36em; text-transform: uppercase;
  color: var(--euca-d); margin-bottom: 22px;
}
/* PC は「街に、ながく / 愛される場所を。」の2行で組む（自然折り返しだと「を。」だけが残る）。
   狭い画面では br を無効化して素直に流す。 */
.br-pc { display: inline; }
@media (max-width: 700px) { .br-pc { display: none; } }
.hero-title {
  font-size: clamp(38px, 4.6vw, 68px); font-weight: 500; line-height: 1.3;
  letter-spacing: 0.045em; color: var(--forest);
}
.hero-sub {
  margin: 24px auto 0; max-width: 660px; font-size: 15px; line-height: 1.95;
  color: var(--ink-soft);
}
.hero-cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-photo { width: 100%; }
/* aspect-ratio と max-height を併用すると高さ制限に引きずられて幅が縮む（16/9 なら 1088px で頭打ち）。
   フルブリードを保つため、幅は常に 100% とし、高さだけを直接クランプする。 */
.hero-photo .ph { aspect-ratio: auto; height: min(620px, calc(100vw * 9 / 16)); }

/* ─── STATEMENT ─────────────────────────────────────────── */
.stm-grid {
  display: grid; grid-template-columns: 0.86fr 1fr;
  gap: clamp(36px, 6vw, 88px); align-items: center;
}
.stm-body p + p { margin-top: 20px; }
.stm-body .sec-title { margin-bottom: 26px; }
.stm-media { position: relative; }
.stm-media::after {
  content: ""; position: absolute; left: -18px; bottom: -18px;
  width: 96px; height: 96px; border-left: 1px solid var(--euca); border-bottom: 1px solid var(--euca);
  pointer-events: none;
}
.stm-sign {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: 15px; letter-spacing: 0.18em; color: var(--ink-soft);
}

/* ─── FIGURES ───────────────────────────────────────────── */
.fig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.fig-item { background: var(--mist); padding: clamp(28px, 3.4vw, 46px) clamp(14px, 2vw, 28px); text-align: center; }
.fig-val {
  display: inline-flex; align-items: baseline; justify-content: center; gap: 4px;
  padding-bottom: 14px; border-bottom: 1px solid var(--euca);
}
.fig-num {
  font-family: var(--serif); font-size: clamp(46px, 5.6vw, 74px); font-weight: 500;
  line-height: 1; letter-spacing: 0.02em; color: var(--forest);
}
.fig-unit { font-size: 14px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.08em; }
.fig-cap { display: block; margin-top: 16px; font-size: 12.5px; letter-spacing: 0.13em; color: var(--ink-soft); }

/* ─── BUSINESS CARDS（index） ───────────────────────────── */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.biz-card {
  background: var(--white); padding: clamp(30px, 3.6vw, 52px);
  display: flex; flex-direction: column;
  transition: background .35s ease;
}
.section-mist .biz-card { background: var(--mist); }
.biz-card:hover { background: var(--mist-2); }
.biz-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.biz-icon {
  flex-shrink: 0; width: 46px; height: 46px; border: 1px solid var(--euca);
  display: flex; align-items: center; justify-content: center; color: var(--euca-d);
}
.biz-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.biz-title { font-size: 19px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.5; }
.biz-en { font-family: var(--serif); font-size: 11.5px; letter-spacing: 0.24em; color: var(--euca-d); text-transform: uppercase; margin-bottom: 8px; }
.biz-card p { font-size: 14.5px; color: var(--ink-soft); flex-grow: 1; }
.biz-card .text-link { margin-top: 22px; align-self: flex-start; }

/* ─── BRANCH CARDS（index） ─────────────────────────────── */
.br-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.br-card { display: flex; flex-direction: column; }
.br-card .ph { margin-bottom: 18px; }
.br-name { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 10px; }
.br-meta { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
.br-meta span { display: block; }
.br-tel { font-family: var(--serif); font-size: 18px; letter-spacing: 0.06em; color: var(--forest); margin-top: 6px; }

/* ─── COMPANY EXCERPT（index） ──────────────────────────── */
.co-ex { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(34px, 5vw, 80px); align-items: start; }
.dl-table { border-top: 1px solid var(--line); }
.dl-table > div {
  display: grid; grid-template-columns: 190px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.dl-table dt { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; color: var(--euca-d); }
.dl-table dd { font-size: 15px; color: var(--forest); }

/* ─── CTA BAND ──────────────────────────────────────────── */
.cta-band { background: var(--euca); color: var(--white); padding: clamp(64px, 8vw, 110px) 0; }
.cta-band .cta-en {
  font-family: var(--serif); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase; color: rgba(255,255,255,0.95); margin-bottom: 18px;
}
.cta-title {
  font-size: clamp(23px, 3vw, 36px); font-weight: 500; line-height: 1.55; letter-spacing: 0.05em;
  color: var(--white);
}
.cta-lead { margin-top: 20px; max-width: 640px; color: rgba(255, 255, 255, 0.96); font-size: 15px; }
.cta-actions { margin-top: 36px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-tel { color: var(--white); }
.cta-tel span { display: block; font-size: 11.5px; letter-spacing: 0.2em; color: rgba(255,255,255,0.95); }
.cta-tel strong { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: 0.06em; }

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: clamp(56px, 6vw, 86px) 0 34px; }
.ft-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(34px, 5vw, 76px); }
.ft-logo-en { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: 0.3em; text-indent: 0.3em; }
.ft-logo-ja { font-size: 11.5px; letter-spacing: 0.18em; color: var(--ink-soft); margin-top: 10px; }
.ft-addr { margin-top: 26px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.95; }
.ft-addr strong { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--forest); letter-spacing: 0.06em; }
.ft-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; align-content: start; }
.ft-nav a {
  display: block; font-size: 13.5px; letter-spacing: 0.1em; color: var(--forest);
  padding: 11px 0; border-bottom: 1px solid var(--line);
  transition: color .3s ease, padding-left .3s ease;
}
.ft-nav a:hover { color: var(--euca-d); padding-left: 6px; }
.ft-bottom {
  margin-top: clamp(36px, 4vw, 56px); padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.ft-copy { font-family: var(--serif); font-size: 12px; letter-spacing: 0.14em; color: var(--ink-soft); }
.ft-license { font-size: 11.5px; letter-spacing: 0.1em; color: var(--ink-soft); }

/* ─── PAGE HERO（下層共通） ─────────────────────────────── */
.page-hero {
  padding-top: calc(var(--hd-h) + clamp(52px, 6vw, 92px));
  padding-bottom: clamp(46px, 5.5vw, 84px);
  background: var(--mist); border-bottom: 1px solid var(--line);
}
.page-hero .ph-en {
  font-family: var(--serif); font-size: clamp(12px, 1.3vw, 14px); font-weight: 600;
  letter-spacing: 0.36em; text-indent: 0.36em; text-transform: uppercase; color: var(--euca-d);
  margin-bottom: 18px;
}
.page-hero h1 {
  font-size: clamp(29px, 3.8vw, 48px); font-weight: 500; line-height: 1.4; letter-spacing: 0.06em;
}
.page-hero .ph-lead { margin-top: 20px; max-width: 700px; font-size: 15px; color: var(--ink-soft); }
.breadcrumb { margin-top: 26px; font-size: 12px; letter-spacing: 0.1em; color: var(--ink-soft); }
.breadcrumb a { border-bottom: 1px solid var(--line-s); }
.breadcrumb a:hover { color: var(--euca-d); }

/* ─── BUSINESS PAGE（交互2カラム） ─────────────────────── */
.biz-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 78px); align-items: center;
  padding: clamp(52px, 6vw, 92px) 0; border-bottom: 1px solid var(--line);
}
.biz-row:last-of-type { border-bottom: 0; }
.biz-row.is-rev .biz-media { order: 2; }
.biz-no {
  font-family: var(--serif); font-size: clamp(40px, 4.6vw, 62px); font-weight: 500;
  line-height: 1; color: var(--euca); letter-spacing: 0.04em; margin-bottom: 16px; display: block;
}
.biz-row h2 { font-size: clamp(23px, 2.7vw, 33px); font-weight: 500; letter-spacing: 0.05em; line-height: 1.5; }
.biz-row .biz-en { margin-top: 10px; margin-bottom: 0; }
.biz-row p { margin-top: 22px; color: var(--ink-soft); font-size: 15px; }
.biz-points { margin-top: 30px; border-top: 1px solid var(--line); }
.biz-points li {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; letter-spacing: 0.05em;
}
.biz-points li em {
  font-family: var(--serif); font-style: normal; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; color: var(--euca-d);
}
.biz-points li > span { color: var(--ink-soft); font-size: 14px; line-height: 1.8; display: block; }
.biz-points li b {
  display: block; font-weight: 700; font-size: 15px; letter-spacing: 0.06em;
  color: var(--forest); margin-bottom: 5px;
}

/* ─── BRANCH PAGE ───────────────────────────────────────── */
.branch-block {
  display: grid; grid-template-columns: 0.95fr 1fr;
  gap: clamp(30px, 4.5vw, 66px);
  padding: clamp(46px, 5.5vw, 84px) 0; border-bottom: 1px solid var(--line);
}
.branch-block:last-of-type { border-bottom: 0; }
.branch-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.branch-head h2 { font-size: clamp(21px, 2.4vw, 29px); font-weight: 500; letter-spacing: 0.06em; }
.branch-tag {
  font-family: var(--serif); font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--white); background: var(--euca); padding: 5px 12px; line-height: 1;
}
.branch-dl { border-top: 1px solid var(--line); }
.branch-dl > div {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.branch-dl dt { font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; color: var(--euca-d); }
.branch-dl dd { font-size: 14.5px; }
.branch-dl dd.tel-big { font-family: var(--serif); font-size: 22px; letter-spacing: 0.06em; }
.map-placeholder {
  margin-top: 26px; background: var(--mist-2); border: 1px solid var(--line);
  aspect-ratio: 16 / 7; display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; letter-spacing: 0.1em; color: var(--ink-soft); text-align: center; padding: 16px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px;
}

/* ─── COMPANY PAGE ──────────────────────────────────────── */
.msg-grid { display: grid; grid-template-columns: 0.78fr 1fr; gap: clamp(34px, 5vw, 82px); align-items: center; }
.msg-body h2 { font-size: clamp(22px, 2.7vw, 33px); font-weight: 500; letter-spacing: 0.05em; line-height: 1.6; margin-bottom: 26px; }
.msg-body p { color: var(--ink-soft); }
.msg-body p + p { margin-top: 18px; }
.msg-sign {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.msg-sign span { font-size: 12.5px; letter-spacing: 0.14em; color: var(--ink-soft); }
.msg-sign strong { font-size: 20px; font-weight: 500; letter-spacing: 0.16em; }
.hist-list { border-top: 1px solid var(--line); }
.hist-list > div {
  display: grid; grid-template-columns: 150px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.hist-year { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: 0.08em; color: var(--euca-d); line-height: 1.5; }
.hist-body { font-size: 14.5px; color: var(--forest); }

/* ─── CONTACT PAGE ──────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(38px, 5vw, 76px); align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { margin-bottom: 24px; }
.form-field label {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; margin-bottom: 9px;
}
.req, .opt {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 3px 8px; line-height: 1;
}
.req { background: var(--euca); color: var(--white); }
.opt { background: var(--mist-2); color: var(--ink-soft); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--forest);
  background: var(--white); border: 1px solid var(--line-s); border-radius: 0;
  padding: 14px 16px; transition: border-color .3s ease, background .3s ease;
}
.form-field textarea { min-height: 168px; resize: vertical; line-height: 1.85; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--euca); background: var(--mist);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #64726D; }
.form-agree {
  margin: 30px 0 26px; padding: 20px 22px; background: var(--mist); border: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 12px; font-size: 14px;
}
.form-agree input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--euca); flex-shrink: 0; }
.form-agree a { color: var(--euca-d); border-bottom: 1px solid var(--euca); }
.form-submit { width: 100%; }
.contact-side > * + * { margin-top: 30px; }
.side-box { border: 1px solid var(--line); padding: clamp(24px, 3vw, 34px); background: var(--white); }
.side-box.is-mist { background: var(--mist); border-color: transparent; }
.side-box h2 { font-size: 17px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 16px; }
.side-tel { font-family: var(--serif); font-size: 33px; font-weight: 600; letter-spacing: 0.05em; display: block; line-height: 1.3; }
.side-note { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.side-dl > div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.side-dl > div:last-child { border-bottom: 0; }
.side-dl dt { font-size: 12px; letter-spacing: 0.12em; color: var(--euca-d); }

/* ─── PRIVACY ───────────────────────────────────────────── */
.legal-body > section { padding: clamp(30px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.legal-body > section:last-of-type { border-bottom: 0; }
.legal-body h2 {
  font-size: 18px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 16px;
  display: flex; align-items: baseline; gap: 14px;
}
.legal-body h2 em {
  font-family: var(--serif); font-style: normal; font-size: 14px; font-weight: 600;
  letter-spacing: 0.14em; color: var(--euca-d); flex-shrink: 0;
}
.legal-body p { color: var(--ink-soft); font-size: 15px; }
.legal-body p + p { margin-top: 14px; }
.legal-list { margin-top: 14px; }
.legal-list li {
  position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-soft); margin-bottom: 8px;
}
.legal-list li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 1px; background: var(--euca);
}
.legal-date { margin-top: 40px; font-size: 13px; letter-spacing: 0.1em; color: var(--ink-soft); text-align: right; }

/* ─── TABLET ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hd-tel { display: none; }
  .br-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .dl-table > div { grid-template-columns: 150px 1fr; }
}

@media (max-width: 900px) {
  .stm-grid, .co-ex, .msg-grid { grid-template-columns: 1fr; }
  .biz-row, .branch-block { grid-template-columns: 1fr; }
  .biz-row.is-rev .biz-media { order: 0; }
  .ft-top { grid-template-columns: 1fr; }
}

/* ─── MOBILE ────────────────────────────────────────────── */
@media (max-width: 767px) {
  :root { --hd-h: 62px; }

  /* ── ハンバーガー透け防止（必須3点セット） ── */
  .hamburger { display: flex; z-index: 1100; position: absolute; }
  .mobile-menu {
    display: flex;
    position: fixed; inset: 0; z-index: 1050;
    background: var(--white);
  }
  .site-header.menu-active {
    background: var(--white) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .site-header, .site-header.is-scrolled, .site-header.menu-active {
    background: var(--white) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .hd-nav { display: none; }
  .hd-logo, .site-header.is-scrolled .hd-logo {
    top: 50%; left: var(--gut); transform: translateY(-50%); text-align: left;
  }
  .hd-logo-en, .site-header.is-scrolled .hd-logo-en { font-size: 18px; letter-spacing: 0.24em; text-indent: 0.24em; }
  .hd-logo-ja, .site-header.is-scrolled .hd-logo-ja { max-height: 0; opacity: 0; margin-top: 0; }
  .hd-inner, .site-header.is-scrolled .hd-inner { height: 62px; }

  /* ── お問い合わせページ スマホ1カラム（2階層・必須） ── */
  .contact-grid, .contact-layout, .contact-wrap, .contact-flex,
  [class*="contact-grid"], [class*="contact-layout"], [class*="contact-wrap"] {
    display: block !important; grid-template-columns: 1fr !important; flex-direction: column !important; gap: 32px;
  }
  .form-row, .form-grid, .form-2col, .form-pair, .input-row, .input-grid,
  [class*="form-row"], [class*="form-grid"], [class*="two-col"] {
    display: block !important; grid-template-columns: 1fr !important;
  }
  form input[type="text"], form input[type="email"], form input[type="tel"],
  form input[type="number"], form textarea, form select,
  .form-row > input, .form-row > textarea, .form-row > select,
  .form-row > div, .form-grid > * {
    width: 100% !important; max-width: 100% !important; box-sizing: border-box;
  }
  .form-row, .form-grid { margin-bottom: 1rem; }
  .contact-grid > * + * { margin-top: 38px; }

  /* ── レイアウト 1カラム化（統計 4 項目のみ 2×2） ── */
  .biz-grid { grid-template-columns: 1fr; }
  .br-grid { grid-template-columns: 1fr; gap: 34px; }
  .ft-nav { grid-template-columns: 1fr; }
  .fig-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-text { padding: 34px var(--gut) 40px; }
  .hero-sub { font-size: 14.5px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-photo .ph { height: auto; aspect-ratio: 4 / 3; }

  .sec-head-row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .stm-media::after { display: none; }

  .dl-table > div, .branch-dl > div, .hist-list > div, .side-dl > div {
    grid-template-columns: 1fr; gap: 6px;
  }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 22px; }
  .cta-actions .btn { width: 100%; }
  .cta-tel { text-align: center; }
  .ft-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .legal-body h2 { flex-direction: column; gap: 6px; }
}

@media (max-width: 360px) {
  .fig-grid { grid-template-columns: 1fr; }
}
