/* =========================================================
   株式会社イシカワホームズ 1ページサイト
   色・書体・余白はすべて :root の変数で管理しています
   ========================================================= */

:root {
  --c-base: #F7F5F0;      /* ベース：オフホワイト */
  --c-base-2: #EFEBE2;    /* 少し濃いベース */
  --c-main: #263D35;      /* メイン：深いグリーン */
  --c-main-2: #1E3029;    /* メインの濃い色 */
  --c-accent: #C7AB82;    /* アクセント：ゴールドベージュ */
  --c-accent-dark: #8A6F47; /* アクセント（文字用・コントラスト確保） */
  --c-text: #303632;      /* 文字：ダークグレー */
  --c-text-sub: #5F655F;
  --c-line: rgba(38, 61, 53, .16);

  --f-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "BIZ UDPMincho", serif;
  --f-sans: "Yu Gothic Medium", "Yu Gothic", "YuGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", sans-serif;
  --f-en: "Cormorant Garamond", "Garamond", "Georgia", "Times New Roman", serif;

  --header-h: 64px;
  --gutter: 24px;
  --max: 1160px;
  --sec-pad: clamp(88px, 14vw, 168px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --tel-bar-h: 56px; /* スマホ下部の電話番号帯の高さ */
}
@media (min-width: 900px) { :root { --tel-bar-h: 0px; } }

@media (min-width: 900px) {
  :root { --header-h: 84px; --gutter: 48px; }
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--c-base);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 17px; } }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

section[id] { scroll-margin-top: var(--header-h); }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sp-only { display: inline; }
@media (min-width: 900px) { .sp-only { display: none; } }

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--c-main);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- 見出し ---------- */
.sec-head { margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head--center { text-align: center; }

.sec-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-size: 15px;
  letter-spacing: .24em;
  color: var(--c-accent-dark);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 22px;
}
.sec-head--center .sec-label { justify-content: center; }
.sec-num {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  font-size: 13px;
  letter-spacing: .1em;
  padding-right: 14px;
  border-right: 1px solid currentColor;
}

.sec-title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(25px, 6.6vw, 38px);
  line-height: 1.7;
  letter-spacing: .08em;
  color: var(--c-main);
  word-break: auto-phrase;
}

.prose p + p { margin-top: 1.5em; }
p { text-wrap: pretty; }
.nw { display: inline-block; }
.prose { color: var(--c-text); max-width: 34em; }

/* ---------- 画像フレーム ---------- */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--c-base-2);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 3 / 2; }

/* 「イメージ」表記（実際の物件・人物と誤認されないための注記） */
.image-note {
  position: absolute;
  right: 12px; bottom: 10px;
  padding: 2px 10px;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .12em;
  color: var(--c-text-sub);
  background: rgba(247, 245, 240, .82);
}
.image-note--light {
  color: rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .22);
}

/* 未確認情報のプレースホルダー */
.tbd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1px 12px;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .08em;
  color: var(--c-accent-dark);
  border: 1px dashed var(--c-accent);
  border-radius: 2px;
  background: rgba(199, 171, 130, .08);
}
.tbd::before {
  content: "試作";
  font-size: 10px;
  padding: 0 6px;
  line-height: 1.7;
  color: #fff;
  background: var(--c-accent);
  border-radius: 1px;
}
.tbd--inline { padding: 0 8px; font-size: 11px; vertical-align: 2px; margin-left: 6px; }
.tbd--inline::before { display: none; }
.tbd--light {
  color: #E9DCC6;
  border-color: rgba(199, 171, 130, .7);
  background: rgba(199, 171, 130, .1);
}

/* ---------- ① ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 245, 240, .96);
  color: var(--c-main);
  box-shadow: 0 1px 0 var(--c-line);
}
/* すりガラス風のぼかしは背景用の層（::before）にかける。
   ヘッダー本体にかけると、中のメニュー（画面全体に広がる）がヘッダーの枠に閉じ込められるため */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
  .site-header.is-scrolled:not(.is-open) { background: rgba(247, 245, 240, .88); }
  .site-header.is-scrolled:not(.is-open)::before { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  max-width: 1400px;
  margin-inline: auto;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}
.logo__en {
  font-family: var(--f-en);
  font-size: 12px;
  letter-spacing: .3em;
  font-weight: 500;
  opacity: .85;
}
.logo__ja {
  white-space: nowrap;
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.5;
}
@media (min-width: 900px) {
  .logo__en { font-size: 13px; }
  .logo__ja { font-size: 19px; }
}

/* メニューボタン（スマホ） */
.nav-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 0 0 8px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.nav-toggle__label {
  font-family: var(--f-en);
  font-size: 13px;
  letter-spacing: .2em;
}
.nav-toggle__bars { position: relative; width: 26px; height: 10px; }
.nav-toggle__bars span {
  position: absolute; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { top: 5px; transform: rotate(20deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { top: 5px; transform: rotate(-20deg); }

.global-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  background: var(--c-base);
  color: var(--c-main);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.global-nav.is-open { opacity: 1; visibility: visible; }
.global-nav__list li { border-bottom: 1px solid var(--c-line); }
.global-nav__list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 4px;
  text-decoration: none;
  font-family: var(--f-serif);
  font-size: 18px;
  letter-spacing: .12em;
}
.global-nav__en {
  min-width: 108px;
  font-family: var(--f-en);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .global-nav {
    position: static;
    padding: 0;
    background: none;
    color: inherit;
    opacity: 1;
    visibility: visible;
    overflow: visible;
  }
  .global-nav__list { display: flex; align-items: center; gap: 36px; }
  .global-nav__list li { border: 0; }
  .global-nav__list a {
    position: relative;
    display: block;
    padding: 8px 0;
    font-family: var(--f-sans);
    font-size: 14px;
    letter-spacing: .14em;
  }
  .global-nav__en { display: none; }
  .global-nav__list a::after {
    content: "";
    position: absolute; left: 0; bottom: 2px;
    width: 100%; height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s var(--ease);
  }
  .global-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
  .global-nav__contact a {
    padding: 8px 22px;
    border: 1px solid currentColor;
  }
  .global-nav__contact a::after { display: none; }
  .global-nav__contact a:hover { background: var(--c-main); color: var(--c-base); border-color: var(--c-main); }
  .site-header:not(.is-scrolled) .global-nav__contact a:hover { background: #fff; color: var(--c-main); border-color: #fff; }
}

body.is-locked { overflow: hidden; }

/* ---------- ② メインビジュアル ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  /* 高さは「画面いっぱい」を最低限とし、中身が多ければ伸びる（文字が切れない） */
  min-height: 600px;
  min-height: max(600px, 100vh);
  min-height: max(600px, 100svh);
  color: #fff;
  overflow: hidden;
  background: var(--c-main-2);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  animation: heroZoom 14s var(--ease) both;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 32, 27, .35) 0%, rgba(20, 32, 27, 0) 30%, rgba(20, 32, 27, 0) 55%, rgba(20, 32, 27, .55) 100%);
  pointer-events: none;
}
.hero__media .image-note { z-index: 1; bottom: 16px; right: 16px; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding: calc(var(--header-h) + 36px) var(--gutter) 96px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__copy {
  flex-shrink: 0;
  align-self: flex-end;
  writing-mode: vertical-rl;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(25px, 7.4vw, 44px);
  line-height: 1.95;
  letter-spacing: .22em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .25);
}
.hero__copy span { display: block; opacity: 0; animation: fadeUp 1.4s var(--ease) forwards; }
.hero__copy span:nth-child(1) { animation-delay: .4s; }
.hero__copy span:nth-child(2) { animation-delay: .8s; margin-top: 2.6em; }

.hero__sub { margin-top: 28px; opacity: 0; animation: fadeUp 1.4s var(--ease) 1.3s forwards; }
.hero__lead {
  font-family: var(--f-serif);
  font-size: clamp(16px, 4.3vw, 19px);
  line-height: 1.9;
  letter-spacing: .14em;
}
.hero__name {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .45);
  display: inline-block;
  font-size: 12px;
  letter-spacing: .24em;
  opacity: .88;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.hero__scroll {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 0;
  text-decoration: none;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 56px;
  background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.9)) top / 1px 0 no-repeat, rgba(255,255,255,.3);
  animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { background-size: 1px 0; background-position: top; }
  50%  { background-size: 1px 100%; background-position: top; }
  51%  { background-position: bottom; }
  100% { background-size: 1px 0; background-position: bottom; }
}

@media (max-width: 899px) {
  .hero__scroll { display: none; }
  .hero__inner { padding-bottom: calc(56px + var(--tel-bar-h)); }
  .hero__copy {
    font-size: clamp(18px, min(7.4vw, calc((100vh - 330px - var(--tel-bar-h)) / 16.5)), 44px);
    font-size: clamp(18px, min(7.4vw, calc((100svh - 330px - var(--tel-bar-h)) / 16.5)), 44px);
  }
  .hero__media .image-note { bottom: calc(16px + var(--tel-bar-h)); }
}
@media (max-width: 899px) and (max-height: 799px) {
  .hero__copy span:nth-child(2) { margin-top: 1.4em; }
}
/* 高さ600px以下の画面：余白を詰めて画面内に収める */
@media (max-width: 899px) and (max-height: 600px) {
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero__inner { padding-top: calc(var(--header-h) + 16px); padding-bottom: calc(24px + var(--tel-bar-h)); }
  .hero__copy { font-size: 17px; letter-spacing: .14em; }
  .hero__sub { margin-top: 16px; }
  .hero__lead { font-size: 15px; line-height: 1.75; }
  .hero__name { margin-top: 8px; padding-top: 8px; }
}

@media (max-width: 899px) {
  .hero__media::after {
    background: linear-gradient(180deg, rgba(20, 32, 27, .35) 0%, rgba(20, 32, 27, 0) 28%, rgba(20, 32, 27, 0) 48%, rgba(20, 32, 27, .72) 76%, rgba(20, 32, 27, .82) 100%);
  }
}

@media (min-width: 900px) {
  .hero__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: calc(var(--header-h) + 56px) 64px 112px;
  }
  .hero__copy {
    align-self: flex-start;
    margin-left: 5%;
    font-size: min(40px, 4.4vh);
    letter-spacing: .2em;
  }
  .hero__copy span:nth-child(2) { margin-top: 1.4em; }
  .hero__sub { text-align: right; margin-right: 2%; }
}

@media (min-height: 1100px) { .hero { min-height: 1100px; } }

/* 横向きの小さな画面では縦書きをやめる */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero__copy { writing-mode: horizontal-tb; align-self: flex-start; font-size: 26px; }
  .hero__copy span:nth-child(2) { margin-top: 0; }
  .proto-badge { left: auto; right: 12px; }
}

/* タブレット幅では縦長画像を横長にして高さを抑える */
@media (min-width: 600px) and (max-width: 899px) {
  .frame--tall { aspect-ratio: 3 / 2; }
}

/* ---------- 共通セクション ---------- */
.section { padding-block: var(--sec-pad); }

/* ---------- ③ ABOUT ---------- */
.about__grid { display: grid; gap: 56px; }
.about__figure { margin-inline: calc(var(--gutter) * -1) 0; }
@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr minmax(0, 42%);
    gap: clamp(56px, 8vw, 120px);
    align-items: center;
  }
  .about__figure { margin: 0 calc((100vw - min(100vw, calc(var(--max) + var(--gutter) * 2))) / -2 - var(--gutter)) 0 0; }
  .about__text { padding-block: 40px; }
}

/* ---------- テーマ ---------- */
.theme {
  position: relative;
  padding-block: clamp(80px, 12vw, 140px);
  background: var(--c-main);
  color: var(--c-base);
  text-align: center;
  overflow: hidden;
}
.theme::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 1px; height: clamp(40px, 6vw, 64px);
  background: var(--c-accent);
  opacity: .7;
}
.theme__ja {
  font-family: var(--f-serif);
  font-size: clamp(26px, 7vw, 44px);
  line-height: 1.8;
  letter-spacing: .2em;
  padding-left: .2em;
}
.theme__en {
  margin-top: 22px;
  font-family: var(--f-en);
  font-style: italic;
  font-size: clamp(15px, 3.6vw, 19px);
  letter-spacing: .1em;
  color: var(--c-accent);
}

/* ---------- ④ BUSINESS ---------- */
.business { background: var(--c-base); }
.business__main { position: relative; display: grid; }
.business__figure { margin-inline: calc(var(--gutter) * -1); }
.business__figure .image-note { right: auto; left: 12px; bottom: auto; top: 10px; }
.business__card {
  position: relative;
  margin: -48px 0 0;
  padding: 40px 28px 44px;
  background: #fff;
  box-shadow: 0 24px 48px -32px rgba(38, 61, 53, .35);
}
.business__tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--c-accent-dark);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-accent);
  margin-bottom: 18px;
}
.business__name {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(24px, 6vw, 32px);
  line-height: 1.6;
  letter-spacing: .1em;
  color: var(--c-main);
  margin-bottom: 20px;
}
@media (min-width: 900px) {
  .business__main { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .business__figure { grid-column: 1 / 9; grid-row: 1; margin: 0; }
  .business__card { grid-column: 8 / 13; grid-row: 1; margin: 0; padding: 56px 48px; }
}

.business__steps {
  display: grid;
  gap: 0;
  margin-top: clamp(64px, 9vw, 104px);
  border-top: 1px solid var(--c-line);
  counter-reset: step;
}
.business__steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 12px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-line);
}
.business__step-num {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  grid-row: span 2;
  font-family: var(--f-en);
  font-size: 22px;
  line-height: 1.4;
  color: var(--c-accent-dark);
}
.business__steps h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: .1em;
  color: var(--c-main);
  line-height: 1.5;
  margin-bottom: 6px;
}
.business__steps p { font-size: 15px; color: var(--c-text-sub); line-height: 1.9; }
@media (min-width: 900px) {
  .business__steps { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--c-line); }
  .business__steps li {
    display: block;
    padding: 40px 36px 44px;
    border-bottom: 0;
    border-left: 1px solid var(--c-line);
  }
  .business__steps li:first-child { border-left: 0; padding-left: 0; }
  .business__step-num { display: block; margin-bottom: 18px; }
}

/* ---------- ⑤ PROPERTY ---------- */
.property { background: var(--c-base-2); }
.property__prep {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 48px 28px;
  background: var(--c-base);
  border: 1px solid var(--c-line);
  position: relative;
}
.property__prep::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(199, 171, 130, .45);
  pointer-events: none;
}
.property__prep-visual {
  color: var(--c-accent);
  display: flex;
  justify-content: center;
}
.property__prep-text { text-align: center; }
.property__status {
  font-family: var(--f-serif);
  font-size: 18px;
  letter-spacing: .1em;
  color: var(--c-main);
  margin-bottom: 14px;
}
.property__prep-text p:last-child { font-size: 15px; color: var(--c-text-sub); }
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--c-accent);
  vertical-align: middle;
  position: relative;
  top: -.12em;
}
@media (min-width: 900px) {
  .property__prep {
    grid-template-columns: 220px 1fr;
    padding: 72px 80px;
    gap: 48px;
  }
  .property__prep-visual { border-right: 1px solid var(--c-line); padding-right: 48px; }
  .property__prep-visual svg { width: 120px; height: 100px; }
  .property__prep-text { text-align: left; }
}

/* 物件カード（掲載開始時に使用） */
.property__list { display: grid; gap: 48px; }
@media (min-width: 700px) { .property__list { grid-template-columns: repeat(2, 1fr); gap: 56px 40px; } }
@media (min-width: 1100px) { .property__list { grid-template-columns: repeat(3, 1fr); } }
.property-card__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-base); }
.property-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.property-card:hover .property-card__photo img { transform: scale(1.03); }
.property-card__body { padding-top: 22px; }
.property-card__area { font-size: 13px; letter-spacing: .14em; color: var(--c-accent-dark); }
.property-card__name { font-family: var(--f-serif); font-weight: 500; font-size: 21px; letter-spacing: .08em; color: var(--c-main); margin: 4px 0 10px; }
.property-card__text { font-size: 15px; color: var(--c-text-sub); margin-bottom: 14px; }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: .12em; text-decoration: none; color: var(--c-main);
  padding-bottom: 4px; border-bottom: 1px solid var(--c-accent);
}

/* ---------- ⑥ FAMILY ---------- */
.family__grid { display: grid; gap: 48px; }
.family__figure { margin-inline: calc(var(--gutter) * -1); }
.family__caption {
  margin-top: 14px;
  padding-inline: var(--gutter);
  font-size: 13px;
  color: var(--c-text-sub);
  letter-spacing: .06em;
}
@media (min-width: 900px) {
  .family__grid {
    grid-template-columns: minmax(0, 54%) 1fr;
    gap: clamp(56px, 7vw, 104px);
    align-items: center;
  }
  .family__figure { margin: 0 0 0 calc((100vw - min(100vw, calc(var(--max) + var(--gutter) * 2))) / -2 - var(--gutter)); }
  .family__caption { padding-inline: 0 0; padding-left: calc((100vw - min(100vw, calc(var(--max) + var(--gutter) * 2))) / 2 + var(--gutter)); }
}
.family__members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; grid-column: 1 / -1; }
@media (min-width: 900px) { .family__members { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.family__members img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.family__members p { margin-top: 10px; font-family: var(--f-serif); font-size: 15px; }

/* ---------- ⑦ COMPANY ---------- */
.company { border-top: 1px solid var(--c-line); }
.company__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .company__grid { grid-template-columns: 280px minmax(0, 1fr); gap: 64px; }
}
.company__table { border-top: 1px solid var(--c-main); }
.company__table > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--c-line);
}
.company__table dt {
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--c-text-sub);
}
.company__table dd { font-size: 16px; overflow-wrap: anywhere; }
@media (min-width: 600px) {
  .company__table > div { grid-template-columns: 9em 1fr; gap: 24px; padding: 24px 8px; align-items: center; }
  .company__table dt { font-size: 14px; }
}

.map-slot {
  margin-top: 40px;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 220px;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(38, 61, 53, .05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(38, 61, 53, .05) 39px 40px),
    var(--c-base-2);
  position: relative;
}
.map-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-slot__empty {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--c-accent-dark);
  font-size: 14px;
  letter-spacing: .1em;
  text-align: center;
  padding: 16px;
}

/* ---------- ⑧ CONTACT ---------- */
.contact {
  background: var(--c-main);
  color: var(--c-base);
}
.sec-head--light .sec-label { color: var(--c-accent); }
.sec-head--light .sec-title { color: var(--c-base); }
.contact__inner { max-width: 880px; }
.contact__lead {
  text-align: center;
  font-family: var(--f-serif);
  font-size: clamp(16px, 4vw, 18px);
  line-height: 2.1;
  letter-spacing: .08em;
}
.contact__list {
  display: grid;
  margin-top: 56px;
  border-top: 1px solid rgba(247, 245, 240, .2);
}
.contact__list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 4px;
  border-bottom: 1px solid rgba(247, 245, 240, .2);
}
.contact__list dt { display: flex; align-items: baseline; gap: 16px; font-size: 15px; letter-spacing: .12em; }
.contact__en {
  min-width: 52px;
  font-family: var(--f-en);
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.contact__list a { color: var(--c-base); text-decoration: none; font-family: var(--f-en); font-size: 24px; letter-spacing: .08em; }
@media (min-width: 700px) {
  .contact__list { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(247, 245, 240, .2); }
  .contact__list > div {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 0;
    border-left: 1px solid rgba(247, 245, 240, .2);
    padding: 36px 16px;
    text-align: center;
  }
  .contact__list > div:first-child { border-left: 0; }
  .contact__list dt { flex-direction: column; align-items: center; gap: 4px; }
}

/* ---------- ⑨ フッター ---------- */
.site-footer {
  background: var(--c-main-2);
  color: rgba(247, 245, 240, .82);
  padding-top: 72px;
}
.site-footer__inner {
  position: relative;
  display: grid;
  gap: 36px;
  padding-bottom: 48px;
}
.site-footer__brand .logo__en { color: var(--c-base); }
.site-footer__name {
  white-space: nowrap;
  font-family: var(--f-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.5;
  color: var(--c-base);
  margin-top: 2px;
}
@media (min-width: 900px) { .site-footer__name { font-size: 19px; } }
@media (max-width: 899px) { .site-footer__brand { padding-right: 64px; } }
.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.site-footer__nav a {
  display: inline-block;
  padding: 8px 0;
  font-size: 14px;
  letter-spacing: .1em;
  text-decoration: none;
}
.site-footer__nav a:hover { color: var(--c-accent); }
.to-top {
  position: absolute;
  right: var(--gutter); top: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(247, 245, 240, .35);
  border-radius: 50%;
  color: var(--c-base);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.to-top:hover { background: var(--c-base); color: var(--c-main); }
.site-footer__copy {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  border-top: 1px solid rgba(247, 245, 240, .12);
  padding: 22px var(--gutter) 28px;
  text-align: center;
  font-family: var(--f-en);
  letter-spacing: .18em;
  color: rgba(247, 245, 240, .6);
}
.site-footer__copy small { font-size: 12px; }
@media (min-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr auto 48px; align-items: start; gap: 64px; }
  .site-footer__nav ul { grid-template-columns: repeat(3, auto); gap: 4px 40px; }
  .to-top { position: static; }
}

/* スマホ・タブレットのヘッダー社名（PCは変更なし）
   カタカナの余白を詰める「palt」で幅を抑え、文字を大きくしてもMENUと重ならないようにする */
@media (max-width: 899px) {
  .logo__ja {
    font-size: 18.5px;
    letter-spacing: .08em;
    font-feature-settings: "palt" 1;
  }
}

/* 幅389px以下：社名を大きくした分、MENUボタンを少しコンパクトにする */
@media (max-width: 389px) {
  .nav-toggle { padding-left: 0; gap: 8px; }
  .nav-toggle__bars { width: 20px; }
  .nav-toggle__label { font-size: 12px; letter-spacing: .1em; }
}

/* 幅360px未満の小さな画面 */
@media (max-width: 359px) {
  :root { --gutter: 20px; }
  .logo__ja { font-size: 16.5px; letter-spacing: .04em; }
  .logo__en { font-size: 11px; letter-spacing: .24em; }
  .nav-toggle { gap: 8px; }
  .nav-toggle__label { font-size: 12px; letter-spacing: .14em; }
  .global-nav__list a { font-size: 17px; gap: 14px; }
  .global-nav__en { min-width: 92px; font-size: 12px; }
  .site-footer__name { font-size: 14px; letter-spacing: .06em; }
}

/* ---------- 常に表示する電話番号 ---------- */
.tel-num { font-family: var(--f-en); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; letter-spacing: .08em; }
.company__table .tel-num { font-size: 19px; }
.contact__tel { font-size: 24px; color: var(--c-base); }
.tel-fixed {
  position: fixed;
  z-index: 95;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--tel-bar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--c-main);
  color: var(--c-base);
  border-top: 1px solid rgba(199, 171, 130, .5);
  line-height: 1;
}
.tel-fixed__icon { color: var(--c-accent); flex: none; }
.tel-fixed__label { font-family: var(--f-en); font-size: 13px; letter-spacing: .2em; color: var(--c-accent); }
.tel-fixed__num { font-size: 24px; font-weight: 500; }
.tel-fixed__kari {
  font-size: 11px;
  padding: 3px 7px;
  border: 1px dashed rgba(199, 171, 130, .8);
  color: #E9DCC6;
  border-radius: 2px;
}
body { padding-bottom: calc(var(--tel-bar-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) {
  .tel-fixed {
    left: auto; right: 24px; bottom: 24px;
    height: auto;
    padding: 14px 22px;
    border: 1px solid rgba(199, 171, 130, .55);
    box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .45);
  }
  .tel-fixed__num { font-size: 22px; }
  .hero__media .image-note { bottom: auto; top: calc(var(--header-h) + 16px); }
}

/* 試作版の目印 */
.proto-badge {
  position: fixed;
  left: 12px; top: calc(var(--header-h) + 10px);
  z-index: 96;
  padding: 2px 12px;
  font-size: 11px;
  letter-spacing: .16em;
  line-height: 2;
  color: #fff;
  background: rgba(138, 111, 71, .9);
  border-radius: 2px;
  pointer-events: none;
}

/* ---------- スクロールで静かに表示 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img, .hero__copy span, .hero__sub { animation: none; opacity: 1; }
  .hero__scroll::after { animation: none; }
}
