/* =====================================================================
   タマキHD 不動産事業部 HP — styles.css
   ※ 元データに styles.css が同梱されていなかったため、Claude Code が
     デザイン方針（白基調＋タマキブルー #2E84D6 / Plus Jakarta Sans＋
     Noto Sans JP）に沿って再構築した版です。元デザインと完全一致では
     ありません。本番（WordPress化）では作り直し前提の暫定スタイルです。
   ===================================================================== */

/* ---------- 1. デザイントークン ---------- */
:root {
  --brand: #2E84D6;
  --brand-dark: #2569b0;
  --brand-soft: #9cc6ee;

  --text: #14181F;
  --text-soft: #4A525E;
  --text-mute: #8A929C;

  --bg: #ffffff;
  --bg-soft: #F3F6FB;
  --border: #E4E9F0;

  --radius: 12px;
  --shadow: 0 2px 10px rgba(20, 40, 80, 0.06);
  --shadow-lg: 0 18px 50px rgba(20, 40, 80, 0.16);

  --sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  --num: "JetBrains Mono", ui-monospace, monospace;

  --section-pad: 88px;
  --maxw: 1200px;
}

/* テーマ切替（右下Tweaks） */
[data-theme="cobalt"] { --brand: #2A5BD7; --brand-dark: #2148ad; --brand-soft: #9ab0ee; }
[data-theme="cyan"]   { --brand: #0E9DC4; --brand-dark: #0b7c9c; --brand-soft: #8fd6e8; }
[data-theme="navy"]   { --brand: #1A2B4C; --brand-dark: #111d35; --brand-soft: #93a3c0; }

/* 余白の取り方（右下Tweaks） */
[data-density="airy"] { --section-pad: 124px; }

/* ---------- 2. ベース ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
/* ↑ ヘッダー固定表示でアンカー先（#top等）の上部が隠れるのを防止 */
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* ---------- 3. 共通レイアウト ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section-pad) 24px;
}
.section-head { margin-bottom: 44px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head-left { max-width: 720px; }
.section-eyebrow {
  font-size: 12px; letter-spacing: 0.22em; font-weight: 700;
  color: var(--brand); text-transform: uppercase; margin-bottom: 14px;
}
.h-display {
  font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1; letter-spacing: -0.01em; display: flex; flex-direction: column; gap: 8px;
}
.h-display-sub { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--text-soft); letter-spacing: normal; }
.h-sub { margin-top: 18px; font-size: 15px; color: var(--text-soft); }
.section-link {
  font-size: 13px; font-weight: 700; color: var(--brand); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.04em;
}
.section-link:hover { color: var(--brand-dark); }
.arr, .arrow { transition: transform 0.2s; }
a:hover .arr, button:hover .arr, .section-link:hover .arr { transform: translateX(3px); }

/* ---------- 4. ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px;
  border-radius: 6px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  border: 1px solid transparent; transition: all 0.2s; cursor: pointer;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 5. 写真プレースホルダー ---------- */
.ph {
  width: 100%; height: 100%; min-height: 180px; position: relative;
  display: flex; align-items: flex-end; padding: 12px;
  background: linear-gradient(160deg, #cfe0f2, #9bb6d4);
  color: #fff; font-size: 12px; font-weight: 600;
}

/* ---------- 6. ヘッダー ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 32px; background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px); transition: box-shadow 0.25s, padding 0.25s;
}
.hdr.scrolled { box-shadow: 0 1px 0 var(--border), var(--shadow); padding: 10px 32px; }
.hdr-logo { display: flex; align-items: center; gap: 12px; }
.hdr-logo-img { height: 50px; width: auto; display: block; }
/* フッター用ロゴ：黒文字を白に、赤アクセントを濃い赤に保持
   （invert→hue-rotate(180deg) で赤を再現 → saturate で彩度UP） */
.footer-logo-img { height: 60px; width: auto; display: block; filter: invert(1) hue-rotate(180deg) saturate(10); }
.hdr-logo .mark { display: flex; flex-direction: column; font-size: 14px; font-weight: 700; line-height: 1.25; }
.hdr-logo .mark em { font-family: var(--display); font-style: normal; font-size: 11px; letter-spacing: 0.12em; color: var(--text-soft); }
.hdr-nav { display: flex; gap: 26px; margin-left: auto; }
.hdr-nav a { font-size: 14px; font-weight: 600; color: var(--text-soft); transition: color 0.2s; }
.hdr-nav a:hover { color: var(--brand); }
.hdr-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.hdr-tel .tl { font-size: 10px; color: var(--text-mute); letter-spacing: 0.04em; }
.hdr-tel .tn { font-family: var(--num); font-size: 17px; font-weight: 700; color: var(--text); }
.hdr-cta { display: inline-flex; align-items: center; gap: 6px; background: var(--brand); color: #fff; border: 0; padding: 11px 20px; border-radius: 6px; font-size: 13px; font-weight: 700; transition: background 0.2s; }
.hdr-cta:hover { background: var(--brand-dark); }
.hdr-fav { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); padding: 9px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--text-soft); cursor: pointer; transition: all 0.2s; }
.hdr-fav:hover { border-color: var(--brand); color: var(--brand); }
.hdr-fav svg { fill: none; stroke: var(--brand); stroke-width: 2; }
.hdr-fav.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.hdr-fav.active svg { fill: #fff; stroke: #fff; }
.hdr-fav-count { font-family: var(--num); font-weight: 700; font-size: 12px; background: var(--brand); color: #fff; border-radius: 999px; padding: 1px 7px; min-width: 18px; text-align: center; line-height: 1.4; }
.hdr-fav.active .hdr-fav-count { background: #fff; color: var(--brand); }

/* ---------- 7. ヒーロー ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 96px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  position: relative;
}
.hero-eyebrow { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--brand); text-transform: uppercase; margin-bottom: 22px; }
.hero-display { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.02em; }
.hero-display .sub { display: block; margin-top: 24px; font-family: var(--sans); font-size: clamp(16px, 2vw, 20px); font-weight: 600; line-height: 1.6; color: var(--text-soft); letter-spacing: normal; }
.hero-lead { margin: 28px 0 32px; font-size: 15px; color: var(--text-soft); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-right { position: relative; }
.hero-photos { position: relative; aspect-ratio: 1 / 1; }
.hero-photo { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo-a { inset: 0 18% 28% 0; z-index: 2; }
.hero-photo-b { width: 46%; right: 0; top: 20%; aspect-ratio: 3/4; z-index: 3; }
.hero-photo-c { width: 44%; left: 8%; bottom: 0; aspect-ratio: 4/3; z-index: 1; }
.hero-photo .ph { min-height: 0; height: 100%; }
.hero-mark {
  position: absolute; z-index: 4; right: 6%; bottom: 8%;
  width: 92px; height: 92px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 9px; letter-spacing: 0.12em; font-weight: 600; box-shadow: var(--shadow-lg);
}
.hero-mark .big { display: block; font-family: var(--num); font-size: 24px; font-weight: 700; margin: 2px 0; }
.hero-scroll { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.2em; color: var(--text-mute); }
.hero-scroll .line { width: 40px; height: 1px; background: var(--text-mute); }

/* ---------- 8. 検索バー ---------- */
.search-wrap { max-width: var(--maxw); margin: -40px auto 0; padding: 0 24px; position: relative; z-index: 20; }
.search { display: flex; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; align-items: flex-end; flex-wrap: wrap; }
.search-field { flex: 1; min-width: 130px; display: flex; flex-direction: column; gap: 6px; }
.search-field label { font-size: 10px; letter-spacing: 0.1em; color: var(--text-mute); font-weight: 700; }
.search-field select { padding: 10px; border: 1px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 13px; color: var(--text); background: #fff; }
.search > button { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; border: 0; padding: 12px 22px; border-radius: 6px; font-weight: 700; font-size: 13px; }
.search > button:hover { background: var(--brand-dark); }

/* ---------- 9. 物件 ---------- */
.prop-filters { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.prop-filter { background: var(--bg-soft); border: 1px solid transparent; border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.prop-filter.active { background: var(--brand); color: #fff; }
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prop { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.prop:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prop-media { position: relative; aspect-ratio: 4/3; }
.prop-tag { position: absolute; top: 12px; left: 12px; background: var(--text); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.prop-tag.new { background: var(--brand); }
.fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.9); border: 0; display: flex; align-items: center; justify-content: center; }
.fav svg { width: 18px; height: 18px; fill: none; stroke: var(--text-soft); stroke-width: 2; }
.fav.on svg { fill: var(--brand); stroke: var(--brand); }
.prop-body { padding: 18px 20px 20px; }
.prop-area { font-size: 12px; color: var(--text-mute); margin-bottom: 6px; }
.prop-name { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 12px; }
.prop-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--text-soft); margin-bottom: 16px; }
.prop-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 14px; }
.prop-price .label { display: block; font-size: 10px; color: var(--text-mute); letter-spacing: 0.08em; }
.prop-price .num { font-family: var(--num); font-size: 24px; font-weight: 700; color: var(--brand); }
.prop-price .unit { font-size: 12px; color: var(--text-soft); margin-left: 2px; }
.prop-more { font-size: 13px; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Property No. badge ---------- */
.prop-no { float: right; font-size: 11px; font-weight: 700; color: var(--brand); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 4px; padding: 1px 8px; letter-spacing: 0.04em; }

/* ---------- Property List (auto-generated) ---------- */
#prop-list .tbl-wrap { overflow-x: auto; }
.plist { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.plist th { background: var(--bg-soft); color: var(--text-soft); font-size: 12px; font-weight: 700; text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.plist td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.plist tr:last-child td { border-bottom: none; }
.plist td:first-child { font-weight: 700; color: var(--brand); white-space: nowrap; }
.plist-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--text-soft); }
.plist-badge.open { background: var(--brand); color: #fff; }

/* ---------- Loan Simulator (売買物件がある時だけ表示) ---------- */
.sim-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.sim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.sim-grid .field label { display: block; font-size: 12px; font-weight: 700; color: var(--text-soft); margin-bottom: 6px; }
.sim-grid .field input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-family: var(--num, inherit); }
.sim-grid .field input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.sim-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px 36px; padding: 18px 20px; background: var(--bg-soft); border-radius: 10px; }
.sim-main { display: flex; align-items: baseline; gap: 12px; }
.sim-label { font-size: 13px; font-weight: 700; color: var(--text-soft); }
.sim-monthly b { font-family: var(--num, inherit); font-size: 34px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.sim-monthly .unit { font-size: 14px; color: var(--text-soft); margin-left: 4px; }
.sim-sub { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13px; color: var(--text-soft); }
.sim-sub b { color: var(--text); font-family: var(--num, inherit); }
.sim-note { font-size: 12px; color: var(--text-mute); line-height: 1.9; margin-top: 14px; }
@media (max-width: 860px) { .sim-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Property Gallery (Carousel) ---------- */
.prop-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.85); border: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; color: var(--text); cursor: pointer; padding: 0; font-weight: 400; transition: background 0.15s, transform 0.15s; z-index: 2; box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.prop-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.prop-nav.prev { left: 8px; }
.prop-nav.next { right: 8px; }
.prop-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 2; pointer-events: none; }
.prop-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.55); box-shadow: 0 0 4px rgba(0,0,0,0.25); transition: background 0.2s, transform 0.2s; }
.prop-dot.active { background: #fff; transform: scale(1.4); }

/* ---------- 10. About ---------- */
.about { background: var(--bg-soft); }
.about-inner { max-width: var(--maxw); margin: 0 auto; padding: var(--section-pad) 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photos { position: relative; aspect-ratio: 1/1; }
.about-photo { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-photo .ph { height: 100%; min-height: 0; }
.about-photo-a { inset: 0 24% 24% 0; z-index: 1; }
.about-photo-b { width: 52%; right: 0; bottom: 0; aspect-ratio: 3/4; z-index: 2; }
.about-text p { margin-top: 18px; font-size: 15px; color: var(--text-soft); }
.about-text p strong { color: var(--text); }
.about-stats { display: flex; gap: 36px; margin-top: 36px; }
.about-stat .num { font-family: var(--num); font-size: 40px; font-weight: 700; color: var(--brand); line-height: 1; }
.about-stat .num .u { font-size: 16px; margin-left: 2px; }
.about-stat .lbl { font-size: 10px; letter-spacing: 0.12em; color: var(--text-mute); font-weight: 700; margin-top: 6px; }

/* ---------- 11. Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform 0.2s, box-shadow 0.2s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-num { font-family: var(--num); font-size: 11px; letter-spacing: 0.1em; color: var(--brand); font-weight: 700; margin-bottom: 16px; }
.why-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.why-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.6; }
.why-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.why-desc { font-size: 13.5px; color: var(--text-soft); }

/* ---------- 12. Process ---------- */
.process-wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-step { text-align: center; padding: 8px; }
.process-num { font-family: var(--num); font-size: 11px; letter-spacing: 0.1em; color: var(--brand); font-weight: 700; margin-bottom: 14px; }
.process-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.process-icon svg { width: 26px; height: 26px; stroke: var(--brand); }
.process-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.process-desc { font-size: 12.5px; color: var(--text-soft); }

/* ---------- 13. Staff ---------- */
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.staff { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; padding-bottom: 22px; }
.staff-photo { aspect-ratio: 1/1; }
.staff-photo .ph { height: 100%; min-height: 0; }
.staff-en { font-family: var(--display); font-size: 11px; letter-spacing: 0.1em; color: var(--text-mute); margin: 16px 20px 2px; }
.staff-name { font-size: 17px; font-weight: 700; margin: 0 20px; }
.staff-role { font-size: 12px; color: var(--brand); font-weight: 600; margin: 4px 20px 10px; }
.staff-quote { font-size: 12.5px; color: var(--text-soft); margin: 0 20px; }

/* ---------- 14. Voices（現在は非表示） ---------- */
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.voice-quote-mark { font-family: var(--display); font-size: 56px; color: var(--brand-soft); line-height: 0.8; }
.voice-title { font-size: 16px; font-weight: 700; margin: 8px 0 14px; }
.voice-body { font-size: 13px; color: var(--text-soft); margin-bottom: 20px; }
.voice-author { display: flex; align-items: center; gap: 12px; }
.voice-author .av { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.voice-author .nm { font-size: 13px; font-weight: 700; }
.voice-author .biz { font-size: 11px; color: var(--text-mute); }

/* ---------- 15. Map ---------- */
.map-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 28px; }
.map-areas { display: flex; flex-direction: column; gap: 10px; }
.map-area { display: flex; align-items: center; justify-content: space-between; background: var(--bg-soft); border: 1px solid transparent; border-radius: 8px; padding: 14px 18px; transition: all 0.2s; }
.map-area.active { background: #fff; border-color: var(--brand); box-shadow: var(--shadow); }
.map-area .name { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.map-area .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.map-area .count { font-family: var(--num); font-size: 18px; font-weight: 700; color: var(--brand); }
.map-area .count em { font-size: 11px; font-style: normal; color: var(--text-mute); margin-left: 2px; }
.map-canvas { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #F7F8FA; }

/* ---------- 16. Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-photo { aspect-ratio: 16/9; }
.blog-photo .ph { height: 100%; min-height: 0; }
.blog-meta { display: flex; align-items: center; gap: 12px; padding: 18px 20px 0; font-size: 11px; color: var(--text-mute); }
.blog-cat { background: var(--bg-soft); color: var(--brand); font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.blog-title { font-size: 16px; font-weight: 700; line-height: 1.5; padding: 12px 20px 22px; }

/* ---------- 17. FAQ ---------- */
.faq-list { max-width: 860px; }
.faq { border-bottom: 1px solid var(--border); }
.faq-head { width: 100%; display: flex; align-items: center; gap: 16px; background: none; border: 0; padding: 22px 4px; text-align: left; }
.faq-head .q { font-family: var(--display); font-weight: 800; color: var(--brand); font-size: 18px; }
.faq-head .qtxt { flex: 1; font-size: 15px; font-weight: 600; }
.faq-head .ind { transition: transform 0.2s; color: var(--text-mute); }
.faq.open .faq-head .ind { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq.open .faq-body { max-height: 400px; }
.faq-body-inner { display: flex; gap: 16px; padding: 0 4px 24px; }
.faq-body-inner .a { font-family: var(--display); font-weight: 800; color: var(--text-mute); font-size: 18px; }
.faq-body-inner p { font-size: 14px; color: var(--text-soft); }

/* ---------- 18. Group ---------- */
.group-band { background: var(--text); color: #fff; }
.group-inner { max-width: var(--maxw); margin: 0 auto; padding: var(--section-pad) 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.group-eyebrow { font-family: var(--display); font-size: 12px; letter-spacing: 0.18em; color: var(--brand-soft); font-weight: 700; margin-bottom: 18px; }
.group-title { font-family: var(--display); font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.1; margin-bottom: 18px; }
.group-sub { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.group-desc { font-size: 14px; color: rgba(231,234,238,0.7); margin-bottom: 28px; }
.group-companies { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.group-co { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 22px; transition: background 0.2s; }
.group-co:hover { background: rgba(255,255,255,0.1); }
.group-co .lbl { font-family: var(--display); font-size: 10px; letter-spacing: 0.14em; color: var(--brand-soft); font-weight: 700; margin-bottom: 10px; }
.group-co .nm { font-size: 14px; font-weight: 700; line-height: 1.4; }

/* ---------- 19. Contact ---------- */
.contact-section { background: var(--brand); color: #fff; }
.contact-inner { max-width: var(--maxw); margin: 0 auto; padding: var(--section-pad) 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-left .section-eyebrow { color: #fff; }
.contact-left .h-display { color: #fff; }
.contact-left .h-display-sub { color: rgba(255,255,255,0.85); }
.contact-left .h-sub { color: rgba(255,255,255,0.85); }
.contact-info { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row .ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .ic svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; }
.contact-row .lbl { font-size: 11px; letter-spacing: 0.1em; opacity: 0.8; }
.contact-row .val { font-family: var(--num); font-size: 20px; font-weight: 700; }
.contact-row .vsub { font-size: 12px; opacity: 0.8; margin-top: 2px; }

.form { background: #fff; border-radius: var(--radius); padding: 32px; color: var(--text); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; }
.field .req { background: var(--brand); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 3px; margin-left: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 7px;
  font-family: inherit; font-size: 14px; color: var(--text); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46,132,214,0.12); }
.field .err { font-size: 12px; color: #d23; min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e36; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; margin: 8px 0 20px; }
.form-checkbox a { color: var(--brand); text-decoration: underline; }
.form-submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; border: 0; padding: 16px; border-radius: 7px; font-size: 15px; font-weight: 700; transition: background 0.2s; }
.form-submit:hover { background: var(--brand-dark); }
.form-success { background: #fff; border-radius: var(--radius); padding: 48px 32px; color: var(--text); text-align: center; box-shadow: var(--shadow-lg); }
.form-success h3 { font-size: 22px; margin-bottom: 14px; }
.form-success p { font-size: 14px; color: var(--text-soft); }

/* ---------- 20. 物件モーダル ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(20,30,50,0.55); backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-bg.open { opacity: 1; pointer-events: auto; }
.modal { background: #fff; border-radius: var(--radius); max-width: 960px; width: 100%; max-height: 90vh; overflow-y: auto; display: grid; grid-template-columns: 1.1fr 0.9fr; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.9); border: 0; display: flex; align-items: center; justify-content: center; }
.modal-media { padding: 18px; }
.carousel { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.carousel-track { display: flex; height: 100%; transition: transform 0.3s; }
.carousel-slide { min-width: 100%; height: 100%; }
.carousel-slide .ph { height: 100%; min-height: 0; }
.carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.85); border: 0; display: flex; align-items: center; justify-content: center; }
.carousel-nav.prev { left: 10px; } .carousel-nav.next { right: 10px; }
.carousel-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.6); }
.carousel-dot.active { background: #fff; }
.modal-body { padding: 28px 28px 28px 8px; }
.modal-tag { display: inline-block; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 4px; margin-bottom: 12px; }
.modal-name { font-size: 24px; font-weight: 800; line-height: 1.3; }
.modal-area { font-size: 13px; color: var(--text-mute); margin: 6px 0 16px; }
.modal-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; }
.modal-price .label { font-size: 11px; color: var(--text-mute); }
.modal-price .num { font-family: var(--num); font-size: 32px; font-weight: 700; color: var(--brand); }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.modal-spec { background: #fff; padding: 12px 14px; display: flex; justify-content: space-between; gap: 10px; }
.modal-spec .k { font-size: 12px; color: var(--text-mute); }
.modal-spec .v { font-size: 13px; font-weight: 600; }
.modal-desc { font-size: 14px; color: var(--text-soft); margin-bottom: 24px; }
.modal-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 21. Footer ---------- */
.footer { background: #10141b; color: #cfd6e0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-inner > div:first-child p { font-size: 13px; line-height: 1.9; color: #9aa4b2; margin-top: 8px; }
.footer-brand { font-family: var(--display); font-size: 16px; font-weight: 800; color: #fff; letter-spacing: 0.04em; }
.footer-brand-jp { font-size: 13px; font-weight: 600; }
.footer-col h4 { font-family: var(--display); font-size: 11px; letter-spacing: 0.14em; color: #6b7686; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: #cfd6e0; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-soft); }
.footer-bot { border-top: 1px solid rgba(255,255,255,0.08); max-width: var(--maxw); margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; color: #6b7686; }
.footer-bot a:hover { color: var(--brand-soft); }

/* ---------- 22. reveal アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- 23. レスポンシブ ---------- */
@media (max-width: 1023px) {
  .prop-grid, .why-grid, .blog-grid, .voices-grid { grid-template-columns: repeat(2, 1fr); }
  .process-wrap { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .map-wrap { grid-template-columns: 1fr; }
  .hdr-nav { display: none; }
}
@media (max-width: 767px) {
  :root { --section-pad: 56px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 64px; }
  .hero-photos { aspect-ratio: 4/3; max-width: 420px; }
  .about-inner, .group-inner, .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .prop-grid, .why-grid, .blog-grid, .voices-grid, .staff-grid, .process-wrap, .group-companies { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; }
  .hdr { padding: 12px 18px; }
  .hdr-tel { display: none; }
  .section { padding: var(--section-pad) 18px; }
  .about-stats { gap: 24px; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
