/* ============================================================
   会社HP 共通スタイル(白基調・近未来デザイン)
   色・文字・余白は :root でまとめて管理しています
   ============================================================ */
:root {
  --white:    #ffffff;
  --bg-soft:  #f4f7fb;   /* 薄いグレーブルーの背景 */
  --bg-dark:  #0a1324;   /* 濃紺(実績セクションなど) */
  --ink:      #0b1220;   /* 見出しの文字 */
  --ink-2:    #3a4558;   /* 本文 */
  --ink-3:    #7a8599;   /* 補足 */
  --line:     #e2e8f0;
  --line-2:   #cfd8e5;
  --blue:     #00693a;   /* メインカラー(ロゴの緑) */
  --cyan:     #27c08a;   /* 差し色(明るい緑) */
  --grad:     linear-gradient(110deg, #00693a 0%, #27c08a 100%);

  --font-en:  "Inter", "Noto Sans JP", sans-serif;
  --font-jp:  "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mono:"JetBrains Mono", ui-monospace, monospace;

  --radius: 6px;
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- 共通の見出し ---------- */
.section { padding: 128px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #c9d3e3; overflow: hidden; }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.16em;
  color: var(--blue);
  text-transform: uppercase;
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.section--dark .label { color: var(--cyan); }

.heading {
  margin: 18px 0 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.heading-jp { display: block; margin-top: 14px; font-family: var(--font-jp); font-size: 16px; font-weight: 500; letter-spacing: 0.1em; color: var(--ink-2); }
.section--dark .heading { color: var(--white); }
.section--dark .heading-jp { color: #9fb0c8; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-lead { max-width: 480px; margin: 0; color: var(--ink-2); }
.section--dark .section-lead { color: #9fb0c8; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  min-width: 220px;
  padding: 16px 22px 16px 26px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  position: relative; overflow: hidden;
  transition: color .3s, border-color .3s, box-shadow .3s;
}
.btn .arrow { font-family: var(--font-mono); transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; background: var(--grad);
  transform: translateX(-101%); transition: transform .45s cubic-bezier(.7,0,.2,1); z-index: 0;
}
.btn--primary:hover::before { transform: none; }
.btn--primary:hover { box-shadow: 0 10px 30px rgba(0,105,58,.3); }
.btn > * { position: relative; z-index: 1; }
.btn--line { border-color: var(--line-2); color: var(--ink); background: var(--white); }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { border-color: rgba(255,255,255,.3); color: var(--white); }
.btn--light:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; }
.logo-text { line-height: 1.15; }
.logo-name { display: block; font-weight: 700; font-size: 16px; letter-spacing: 0.08em; }
.logo-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--ink-3); }

.global-nav ul { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.global-nav a { text-decoration: none; font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: 0.08em; transition: color .2s; }
.global-nav a:not(.btn):hover { color: var(--blue); }
.global-nav .nav-en { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.2em; color: var(--ink-3); line-height: 1; margin-bottom: 4px; }
.global-nav .btn { min-width: 0; padding: 11px 20px; font-size: 13px; color: var(--white); gap: 14px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; width: 18px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 120px;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 78% 40%, rgba(39,192,138,.10) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(50% 50% at 90% 80%, rgba(0,105,58,.10) 0%, rgba(255,255,255,0) 70%),
    var(--white);
}
.hero::before { /* 方眼の背景 */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 85%);
          mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 85%);
  opacity: .6;
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; }
.hero-copy { position: relative; z-index: 2; min-width: 0; }
.hero-inner > *, .purchase > *, .cta > * { min-width: 0; }
.hero-title {
  margin: 28px 0 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub {
  margin: 32px 0 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--ink);
}
.hero-text { margin: 20px 0 44px; max-width: 460px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; z-index: 1; margin-right: -40px; }
.hero-visual svg { width: 100%; height: auto; overflow: visible; }

.float-card {
  position: absolute;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 12px 40px rgba(11,18,32,.10);
  border-radius: 10px;
  padding: 14px 18px;
  animation: float 6s ease-in-out infinite;
}
.float-card .fc-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--ink-3); }
.float-card .fc-value { font-family: var(--font-en); font-weight: 600; font-size: 26px; color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; }
.float-card .fc-value small { font-size: 13px; margin-left: 2px; color: var(--ink-2); }
.float-card .fc-bar { margin-top: 8px; height: 3px; width: 120px; background: var(--line); border-radius: 2px; overflow: hidden; }
.float-card .fc-bar i { display: block; height: 100%; width: 96%; background: var(--grad); }
.fc-1 { top: 10%; left: 2%; }
.fc-2 { bottom: 14%; right: 8%; animation-delay: -3s; }
.dot-live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-right: 6px; box-shadow: 0 0 0 0 rgba(39,192,138,.6); animation: pulse 2s infinite; vertical-align: middle; }

.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 32px; z-index: 2;
}
.hero-foot .container { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--ink-3); }
.scroll-ind { display: flex; align-items: center; gap: 12px; }
.scroll-ind i { width: 1px; height: 40px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-ind i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--blue); animation: scrollLine 2.2s cubic-bezier(.6,0,.3,1) infinite; }

/* ---------- トップ画像(assets/img/hero.jpg を置くと表示) ---------- */
.hero-img { display: none; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 30px 80px rgba(11,18,32,.14); }
.hero-visual.has-img .hero-img { display: block; animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero-visual.has-img svg[data-city] { display: none; }

/* 街並みイラストのアニメーション */
.iso-bldg { opacity: 0; transform: translateY(24px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.iso-node { animation: blink 2.6s ease-in-out infinite; }
.iso-scan { animation: scan 6s linear infinite; }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes blink { 0%,100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes scan { from { transform: translateY(-40px); opacity: 0; } 10% { opacity: .8; } 90% { opacity: .8; } to { transform: translateY(420px); opacity: 0; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(39,192,138,.6); } 70% { box-shadow: 0 0 0 8px rgba(39,192,138,0); } 100% { box-shadow: 0 0 0 0 rgba(39,192,138,0); } }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- 区切り線(旧:流れる文字帯) ---------- */
.section-divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- 事業概要 ---------- */
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.business-card {
  position: relative; padding: 48px 40px 52px;
  border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  background: var(--white);
  transition: background .4s;
  overflow: hidden;
}
.business-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.7,0,.2,1); }
.business-card:hover::after { transform: scaleX(1); }
.business-card:hover { background: #fafcff; }
.bc-top { display: flex; justify-content: space-between; align-items: flex-start; }
.bc-num { font-family: var(--font-mono); font-size: 13px; color: var(--blue); letter-spacing: 0.1em; }
.bc-icon { width: 56px; height: 56px; }
.business-card h3 { margin: 44px 0 0; font-family: var(--font-en); font-weight: 600; font-size: 30px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }
.business-card h3 span { display: block; font-family: var(--font-jp); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; margin-top: 8px; color: var(--ink-2); }
.business-card p { margin: 22px 0 0; font-size: 14px; }
a.business-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.bc-more { margin-top: auto; padding-top: 28px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue); }
.bc-more .arrow { transition: transform .3s; }
.business-card:hover .bc-more .arrow { transform: translateX(4px); }

/* ---------- 物件買取のご案内 ---------- */
.purchase { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.points { list-style: none; padding: 0; margin: 40px 0 44px; counter-reset: pt; }
.points li { counter-increment: pt; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.points li::before { content: "0" counter(pt); font-family: var(--font-mono); font-size: 12px; color: var(--blue); }

.spec { background: var(--white); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; box-shadow: 0 20px 60px rgba(11,18,32,.06); }
.spec-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px; background: var(--ink); color: var(--white); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; }
.spec-head span:last-child { color: var(--cyan); }
.spec dl { margin: 0; padding: 4px 28px; }
.spec-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px dashed var(--line-2); }
.spec-row:last-child { border-bottom: none; }
.spec dt { font-weight: 700; color: var(--ink); font-size: 14px; }
.spec dt small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: 0.16em; color: var(--ink-3); }
.spec dd { margin: 0; font-size: 14px; }

/* ---------- 実績(濃紺) ---------- */
.section--dark::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.section--dark::after {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px;
  background: radial-gradient(circle, rgba(0,105,58,.35), transparent 65%);
  pointer-events: none;
}
.section--dark .container { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; overflow: hidden; }
.stat { background: rgba(10,19,36,.92); padding: 44px 32px; }
.stat-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: #8293ad; }
.stat-value { margin-top: 18px; font-family: var(--font-en); font-weight: 600; font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -0.03em; color: var(--white); font-variant-numeric: tabular-nums; }
.stat-value small { font-family: var(--font-jp); font-size: 15px; font-weight: 500; margin-left: 6px; letter-spacing: 0; color: #9fb0c8; }
.stat-jp { margin-top: 14px; font-size: 13px; color: #c9d3e3; }
.stat-bar { margin-top: 20px; height: 2px; background: rgba(255,255,255,.1); }
.stat-bar i { display: block; height: 100%; background: var(--grad); width: 0; transition: width 1.6s cubic-bezier(.2,.7,.2,1); }
.is-visible .stat-bar i { width: var(--w); }
.stats-note { margin: 20px 0 0; font-size: 12px; color: #6f7f98; text-align: right; }

/* ---------- 保有物件 ---------- */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.property-card { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: transform .4s, box-shadow .4s, border-color .4s; }
.property-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(11,18,32,.10); border-color: transparent; }
.property-thumb { position: relative; aspect-ratio: 16 / 11; background: linear-gradient(160deg, #f6f9fd 0%, #e7eef8 100%); overflow: hidden; }
.property-thumb::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; opacity: .7; }
.property-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.property-tag { position: absolute; top: 16px; left: 16px; z-index: 1; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--white); background: var(--ink); padding: 5px 10px; border-radius: 4px; }
.property-id { position: absolute; top: 16px; right: 16px; z-index: 1; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-3); }
.property-body { padding: 24px 26px 28px; }
.property-body h3 { margin: 0 0 14px; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }
.property-meta { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.property-meta li { display: grid; grid-template-columns: 64px 1fr; padding: 6px 0; border-top: 1px solid var(--line); }
.property-meta span { color: var(--ink-3); }
.section-more { margin-top: 56px; text-align: center; }

/* ---------- お知らせ ---------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.news-list li { border-bottom: 1px solid var(--line-2); }
.news-list a { display: grid; grid-template-columns: 130px 110px 1fr 24px; align-items: center; gap: 20px; padding: 26px 8px; text-decoration: none; transition: background .3s, padding .3s; }
.news-list a:hover { background: var(--white); padding-left: 20px; }
.news-date { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.news-cat { font-size: 11px; text-align: center; color: var(--blue); border: 1px solid rgba(0,105,58,.35); border-radius: 4px; padding: 2px 0; letter-spacing: 0.08em; }
.news-title { color: var(--ink); font-weight: 500; }
.news-arrow { font-family: var(--font-mono); color: var(--ink-3); transition: color .3s, transform .3s; }
.news-list a:hover .news-arrow { color: var(--blue); transform: translateX(4px); }

/* ---------- お問い合わせ ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: 16px;
  padding: 88px 72px;
  background: var(--bg-dark);
  color: var(--white);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: end;
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0%, rgba(0,105,58,.55), transparent 60%), radial-gradient(40% 80% at 80% 100%, rgba(39,192,138,.35), transparent 60%); }
.cta::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; }
.cta > * { position: relative; z-index: 1; }
.cta .label { color: var(--cyan); }
.cta h2 { margin: 20px 0 0; font-family: var(--font-en); font-weight: 600; font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.cta h2 span { display: block; margin-top: 20px; font-family: var(--font-jp); font-size: clamp(17px, 1.8vw, 20px); font-weight: 700; letter-spacing: 0.08em; line-height: 1.6; }
.cta p { margin: 16px 0 0; color: #b9c5d8; }
.cta-actions { display: flex; flex-direction: column; gap: 18px; }
.cta-tel { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.cta-tel small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: #8fa0bb; }
.cta-tel b { font-family: var(--font-en); font-weight: 500; font-size: 32px; letter-spacing: 0.02em; }
.cta-tel em { display: block; font-style: normal; font-size: 12px; color: #8fa0bb; }
.cta .btn--primary { background: var(--white); color: var(--ink); }
.cta .btn--primary:hover { color: var(--white); }

/* ---------- フッター ---------- */
.site-footer { padding: 96px 0 36px; font-size: 13px; border-top: 1px solid var(--line); margin-top: 128px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 56px; padding-bottom: 56px; }
.footer-info p { margin: 22px 0 0; color: var(--ink-2); line-height: 2; }
.footer-col h4 { margin: 0 0 16px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; color: var(--ink-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a { text-decoration: none; color: var(--ink); transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3); }
.to-top { text-decoration: none; color: var(--ink-3); }
.to-top:hover { color: var(--blue); }

/* ---------- スクロールで表示 ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .iso-bldg { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   タブレット・スマホ
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 96px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { margin: 0 auto; max-width: 640px; width: 100%; }
  .purchase { grid-template-columns: 1fr; gap: 56px; }
  .business-grid { grid-template-columns: 1fr; }
  .property-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 64px 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-info { grid-column: 1 / -1; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 32px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .global-nav { opacity: 1; visibility: visible; transform: none; }
  .global-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav li { border-bottom: 1px solid var(--line); }
  .global-nav li:last-child { border-bottom: none; padding-top: 24px; }
  .global-nav a:not(.btn) { display: block; padding: 16px 0; font-size: 15px; }
  .global-nav .btn { width: 100%; padding: 16px 22px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { padding-bottom: 96px; }
  .hero-actions .btn { width: 100%; }
  .float-card { padding: 10px 14px; }
  .float-card .fc-value { font-size: 20px; }
  .float-card .fc-bar { width: 90px; }
  .fc-1 { top: 4%; left: 0; }
  .fc-2 { bottom: 6%; right: 0; }
  .hero-foot .container span:first-child { display: none; }
  .business-card { padding: 36px 24px 40px; }
  .spec dl { padding: 4px 20px; }
  .spec-head { padding: 14px 20px; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .property-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 32px 24px; }
  .news-list a { grid-template-columns: auto auto 1fr; gap: 8px 14px; padding: 22px 4px; }
  .news-title { grid-column: 1 / -1; }
  .news-arrow { display: none; }
  .cta { padding: 52px 24px; border-radius: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .btn { min-width: 0; }
}

/* ============================================================
   下層ページ共通
   ============================================================ */
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.todo { background: #fff4c2; color: #8a6200; border-radius: 3px; padding: 0 6px; font-size: .92em; }

.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 96px) 0 88px;
  background:
    radial-gradient(50% 80% at 85% 20%, rgba(39,192,138,.10), transparent 70%),
    radial-gradient(40% 70% at 100% 100%, rgba(0,105,58,.10), transparent 70%),
    var(--white);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 80%); mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
  opacity: .6;
}
.page-hero .container { position: relative; }
.page-title { margin: 18px 0 0; font-family: var(--font-en); font-weight: 600; font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -0.035em; color: var(--ink); }
.page-title-jp { display: block; margin-top: 18px; font-family: var(--font-jp); font-size: 17px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-2); }
.breadcrumb { display: flex; gap: 10px; list-style: none; padding: 0; margin: 40px 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }

.local-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.local-nav ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.local-nav ul::-webkit-scrollbar { display: none; }
.local-nav a { display: block; padding: 18px 0; white-space: nowrap; text-decoration: none; font-size: 13px; font-weight: 500; color: var(--ink-2); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.local-nav a span { font-family: var(--font-mono); font-size: 10px; color: var(--blue); margin-right: 8px; }
.local-nav a:hover { color: var(--ink); border-bottom-color: var(--blue); }

.block-head { display: grid; grid-template-columns: 320px 1fr; gap: 64px; }
.block-head + .block-head { margin-top: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* 企業理念 */
.philosophy-title { margin: 0; font-family: var(--font-en); font-weight: 600; font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: -0.035em; color: var(--ink); }
.philosophy-sub { margin: 24px 0 0; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: 0.08em; color: var(--ink); }
.philosophy-text { margin: 28px 0 0; max-width: 640px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 64px; background: var(--line-2); border: 1px solid var(--line-2); }
.value { background: var(--white); padding: 36px 32px 40px; }
.value-num { font-family: var(--font-mono); font-size: 12px; color: var(--blue); letter-spacing: 0.12em; }
.value h3 { margin: 18px 0 0; font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: 0.08em; }
.value h3 small { display: block; font-family: var(--font-en); font-size: 12px; font-weight: 500; letter-spacing: 0.16em; color: var(--ink-3); margin-top: 4px; }
.value p { margin: 16px 0 0; font-size: 14px; }

/* 代表挨拶 */
.message { display: grid; grid-template-columns: 1fr 360px; gap: 72px; align-items: start; }
.message-lead { margin: 0 0 28px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; line-height: 1.7; color: var(--ink); letter-spacing: 0.06em; }
.message p { margin: 0 0 1.4em; }
.message-sign { margin-top: 40px; text-align: right; color: var(--ink); }
.message-sign small { display: block; font-size: 13px; color: var(--ink-3); }
.message-sign b { font-size: 22px; font-weight: 700; letter-spacing: 0.2em; }
.portrait { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #f6f9fd, #e3ebf7); display: grid; place-items: center; color: var(--ink-3); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; }
.portrait::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; opacity: .8; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait span { position: relative; }

/* 会社概要の表 */
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.info-table th, .info-table td { padding: 24px 8px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; font-size: 15px; }
.info-table th { width: 220px; color: var(--ink); font-weight: 700; }
.info-table th small { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: 0.16em; color: var(--ink-3); }
.info-table td ul { margin: 0; padding-left: 1.2em; }

/* 沿革 */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 10px; bottom: 10px; width: 1px; background: var(--line-2); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 40px; padding: 18px 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 136px; top: 30px; width: 9px; height: 9px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); }
.timeline time { font-family: var(--font-en); font-weight: 600; font-size: 18px; color: var(--ink); letter-spacing: 0.02em; }
.timeline time small { font-size: 13px; font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.timeline p { margin: 0; padding-left: 8px; }

/* アクセス */
.access { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.access dl { margin: 0; }
.access dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--ink-3); margin-top: 28px; }
.access dt:first-child { margin-top: 0; }
.access dd { margin: 6px 0 0; color: var(--ink); font-weight: 500; }
.map { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .4s; }
.map:hover iframe { filter: none; }

@media (max-width: 1024px) {
  .block-head, .message, .access { grid-template-columns: 1fr; gap: 40px; }
  .message .portrait { max-width: 320px; order: -1; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .page-hero { padding: calc(var(--header-h) + 56px) 0 56px; }
  .local-nav ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .local-nav a { padding: 12px 0 10px; text-align: center; font-size: 12px; letter-spacing: 0.02em; line-height: 1.4; }
  .local-nav a span { display: block; margin: 0 0 2px; }
  .info-table th, .info-table td { display: block; width: 100%; padding: 0 4px; border: none; }
  .info-table th { padding-top: 20px; }
  .info-table td { padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
  .timeline li::before { left: 2px; top: 26px; }
  .timeline p { padding-left: 0; }
}
.station-list { list-style: none; margin: 0; padding: 0; }
.station-list li { padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.station-list li:last-child { border-bottom: none; }
.station-list b { display: block; font-size: 12px; font-weight: 500; color: var(--ink-3); }
/* ============================================================
   保有物件一覧ページ(properties.html)
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; margin: 0 0 36px; padding: 18px 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--ink-3); margin-right: 6px; }
.filter-btn { font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--white); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.filter-count { margin: 0 0 0 auto; font-size: 13px; color: var(--ink-3); }
.filter-count b { font-family: var(--font-en); font-size: 22px; font-weight: 600; color: var(--ink); margin-right: 2px; }
.filter-empty { padding: 48px 0; text-align: center; color: var(--ink-3); }
.list-note { margin: 40px 0 0; font-size: 12px; line-height: 1.9; color: var(--ink-3); }
.property-card--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.property-card[hidden] { display: none; }
.property-body .property-pref { display: block; margin: 0 0 4px; font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.06em; }
.property-meta li { grid-template-columns: 72px 1fr; }
@media (max-width: 640px) {
  .filter-bar { padding: 16px; gap: 12px; }
  .filter-count { margin-left: 0; width: 100%; }
}
.property-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-tel b.cta-mail { font-size: clamp(20px, 2.2vw, 26px); overflow-wrap: anywhere; }

/* ============================================================
   お問い合わせフォーム(contact.html / thanks.html)
   ============================================================ */
.contact-side { margin-top: 32px; font-size: 14px; color: var(--ink-2); }
.contact-side p { margin: 0 0 1em; }
.contact-tel { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-tel small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--ink-3); }
.contact-tel b { display: block; margin: 4px 0; font-family: var(--font-en); font-weight: 500; font-size: 28px; color: var(--ink); }
.contact-tel b a { color: inherit; text-decoration: none; }
.contact-tel em { font-style: normal; font-size: 12px; color: var(--ink-3); }
.contact-form { border-top: 1px solid var(--ink); }
.form-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.form-row > label { padding-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink); }
.req, .opt { display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 3px; font-size: 10px; font-weight: 500; vertical-align: 2px; }
.req { background: var(--blue); color: var(--white); }
.opt { background: var(--bg-soft); color: var(--ink-3); border: 1px solid var(--line); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--white);
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { resize: vertical; min-height: 180px; line-height: 1.8; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,105,58,.15); }
.file-box input[type="file"] { width: 100%; font: inherit; font-size: 13px; padding: 12px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--bg-soft); }
.form-hint { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }
.file-list { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.file-list li { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-agree { padding: 28px 0 0; text-align: center; font-size: 14px; }
.form-agree label { display: inline-flex; gap: 10px; align-items: center; cursor: pointer; }
.form-agree input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-submit { padding: 28px 0 0; text-align: center; }
.form-submit .btn { min-width: 280px; justify-content: space-between; border: 0; cursor: pointer; font: inherit; }
.form-submit .btn[disabled] { opacity: .5; cursor: wait; }
.form-alert { margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius); background: #fff1f1; border: 1px solid #f3c2c2; color: #a12626; font-size: 14px; }
.thanks { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks h2 { margin: 0 0 24px; font-size: clamp(20px, 2.4vw, 26px); color: var(--ink); }
.thanks p { margin: 0 0 1em; color: var(--ink-2); }
.thanks .btn { margin-top: 32px; }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; }
  .form-row > label { padding-top: 0; }
  .form-submit .btn { min-width: 0; width: 100%; }
}
/* ---------- 規約ページ(terms / privacy / antisocial / disclaimer) ---------- */
.policy { max-width: 820px; margin: 0 auto; }
.policy > p { margin: 0 0 1em; } .policy a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.policy h2 { margin: 56px 0 16px; padding-left: 16px; border-left: 3px solid var(--blue); font-size: 18px; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); line-height: 1.5; }
.policy h2:first-of-type { margin-top: 48px; }
.policy-list { margin: 0 0 1em; padding: 0; list-style: none; counter-reset: pl; }
.policy-list li { position: relative; padding-left: 2.6em; margin-bottom: 0.4em; counter-increment: pl; }
.policy-list li::before { content: "(" counter(pl) ")"; position: absolute; left: 0; color: var(--ink-3); font-family: var(--font-en); }
.policy-sign { margin-top: 64px !important; padding-top: 24px; border-top: 1px solid var(--line); text-align: right; font-size: 14px; color: var(--ink-3); }
@media (max-width: 640px) { .policy h2 { margin-top: 44px; font-size: 16px; } }
/* ---------- 事業概要:不動産特定共同事業バナー(外部サイトへ) ---------- */
.fund-banner { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 32px; padding: 44px 48px; border-radius: 4px; background: var(--bg-dark); color: rgba(255,255,255,.75); text-decoration: none; position: relative; overflow: hidden; }
.fund-banner::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad); }
.fund-banner .bc-num { color: var(--cyan); }
.fund-banner h3 { margin: 18px 0 0; font-family: var(--font-en); font-weight: 600; font-size: 28px; color: var(--white); line-height: 1.2; }
.fund-banner h3 span { display: block; margin-top: 8px; font-family: var(--font-jp); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: rgba(255,255,255,.85); }
.fund-banner p { margin: 18px 0 0; max-width: 640px; font-size: 14px; }
.fund-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 14px; padding: 16px 26px; border-radius: 4px; background: var(--grad); color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }
.fund-btn .arrow { transition: transform .3s; }
.fund-banner:hover .fund-btn .arrow { transform: translate(3px,-3px); }
@media (max-width: 1180px) { .global-nav ul { gap: 24px; } }
@media (max-width: 860px) { .fund-banner { flex-direction: column; align-items: flex-start; padding: 36px 24px; gap: 28px; } .fund-btn { width: 100%; justify-content: space-between; } }

/* ---------- スマホ調整(同意欄) ---------- */
@media (max-width: 600px) { .form-agree { text-align: left; } .form-agree label { display: flex; align-items: flex-start; } .form-agree input { margin-top: 5px; flex-shrink: 0; } }

.nowrap { white-space: nowrap; }

/* ---------- スマホ調整(トップの最初の画面・事業概要カード) ---------- */
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero-sub { margin-top: 22px; }
  .hero-text { margin: 16px 0 28px; }
  .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; width: auto; min-width: 0; padding: 16px 14px; font-size: 13px; gap: 8px; }
  .business-card { padding: 28px 24px 32px; }
  .business-card h3 { margin-top: 22px; font-size: 26px; }
  .business-card p { margin-top: 16px; }
  .bc-more { padding-top: 20px; }
}
/* ---------- メニュー:不動産ファンド(外部サイト)ボタン ---------- */
.btn--fund { background: var(--grad); color: var(--white); }
.btn--fund:hover { box-shadow: 0 10px 30px rgba(39,192,138,.35); }
.btn--fund:hover .arrow { transform: translate(3px,-3px); }
.global-nav li.nav-btn + li.nav-btn { margin-left: -24px; }
@media (max-width: 1180px) { .global-nav li.nav-btn + li.nav-btn { margin-left: -14px; } .global-nav .btn { padding: 11px 16px; gap: 10px; } }
@media (max-width: 1120px) {
  .global-nav li.nav-btn { border-bottom: none; padding-top: 12px; }
  .global-nav li.nav-btn:first-of-type, .global-nav li:not(.nav-btn) + li.nav-btn { padding-top: 24px; }
  .global-nav li.nav-btn + li.nav-btn { margin-left: 0; }
}
.fund-banner h3 { font-family: var(--font-jp); font-weight: 700; font-size: 26px; letter-spacing: 0.06em; }
.fund-btn { font-family: var(--font-en); letter-spacing: 0.12em; }

/* ---------- トップ:「東京・大阪」の札(日本語は小さめ・字間広め) ---------- */
.fc-1 .fc-value { font-family: var(--font-jp); font-size: 19px; font-weight: 700; letter-spacing: 0.1em; margin-top: 2px; }
.fc-1 .fc-value small { margin: 0 1px; font-size: 13px; }
@media (max-width: 600px) { .fc-1 .fc-value { font-size: 16px; } }
.global-nav a { white-space: nowrap; }

/* ---------- お知らせ(リンク無しの行) ---------- */
.news-item { display: grid; grid-template-columns: 130px 110px 1fr; align-items: center; gap: 20px; padding: 26px 8px; }
@media (max-width: 600px) { .news-item { grid-template-columns: auto auto 1fr; gap: 8px 14px; padding: 22px 4px; } }
/* ---------- 保有物件:保有中/売却済の表示 ---------- */
.property-status { position: absolute; left: 16px; bottom: 16px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--white); background: var(--grad); padding: 4px 10px; border-radius: 4px; }
.property-status.is-sold { background: #6b7685; }
.property-card.is-sold .property-thumb img, .property-card.is-sold .property-thumb svg { filter: grayscale(1); opacity: .75; }
.property-card.is-sold h3 { color: var(--ink-2); }

/* ---- 物件写真の拡大表示 ---- */
.property-thumb.is-zoomable { cursor: zoom-in; }
.property-thumb.is-zoomable::after { content: "＋ 拡大"; position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 4px 9px; border-radius: 999px; background: rgba(11,18,32,.6); color: #fff; font-size: 11px; letter-spacing: .05em; opacity: 0; transition: opacity .2s; pointer-events: none; }
.property-thumb.is-zoomable:hover::after, .property-thumb.is-zoomable:focus-visible::after { opacity: 1; }
.property-thumb.is-zoomable:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
@media (hover: none) { .property-thumb.is-zoomable::after { opacity: 1; } }
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 56px 64px; background: rgba(11,18,32,.92); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox figcaption { color: #fff; font-size: 14px; letter-spacing: .05em; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 50%; width: 44px; height: 44px; font-size: 26px; line-height: 44px; padding: 0; transition: background .2s; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255,255,255,.25); }
.lightbox button[hidden] { display: none; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 60px 10px 70px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); }
}
.hero-foot .scroll-ind { margin-left: auto; }
