/* ================================================================
   板橋不動産 — Main CSS
   Design: Casa BRUTUS editorial × Japanese real estate
   Colors: #3BB8EB (corporate), #0D1C2A (navy), #181818 (ink)
   Fonts : Shippori Mincho / DM Sans / Noto Sans JP
================================================================ */

/* ── TOKENS ────────────────────────────────────────────────────── */
:root {
  --blue:       #3BB8EB;
  --blue-d:     #1C9ACC;
  --blue-pale:  #EBF7FD;
  --blue-xp:    #F4FBFE;
  --navy:       #0D1C2A;
  --navy-m:     #172737;
  --ink:        #181818;
  --ink-m:      #444;
  --muted:      #888;
  --muted-l:    #AAA;
  --border:     #E2E2E2;
  --border-l:   #EDEDED;
  --bg:         #FAFAFA;
  --white:      #FFF;
  --c-new:      #3BB8EB;
  --c-reno:     #D97A3A;
  --ease:       cubic-bezier(.16,1,.3,1);
  --ease-s:     cubic-bezier(.4,0,.2,1);
  --nav-h:      60px;
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── KEYFRAMES ─────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── LAYOUT UTILS ──────────────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.section-head {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 28px;
}
.section-line { flex: 1; height: 1px; background: var(--border); }
.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem; font-weight: 700;
  white-space: nowrap; color: var(--ink);
}
.section-cta { text-align: center; margin-top: 32px; }

/* ── NAVIGATION ────────────────────────────────────────────────── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  transition: box-shadow .3s;
}
#site-nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Shippori Mincho', serif;
  font-size: .95rem; font-weight: 700; letter-spacing: .16em; color: var(--ink);
}
.nav-mark {
  width: 28px; height: 28px; background: var(--blue); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: #fff; font-weight: 800;
  letter-spacing: 0; font-family: 'Noto Sans JP', sans-serif;
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a {
  font-size: .73rem; font-weight: 400; letter-spacing: .04em; color: var(--ink-m);
  transition: color .2s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--blue);
  transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 7px 18px !important; background: var(--blue) !important;
  color: #fff !important; border-radius: 3px; font-weight: 500 !important;
  transition: background .2s !important; letter-spacing: .03em !important;
}
.nav-cta:hover { background: var(--blue-d) !important; }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-4.5px); }

/* Mobile nav drawer */
.nav-drawer {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 28px 32px;
  flex-direction: column; gap: 0; overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer li { list-style: none; border-bottom: 1px solid var(--border-l); }
.nav-drawer a { display: block; padding: 16px 0; font-size: .95rem; color: var(--ink); }
.nav-drawer .nav-cta {
  display: block; margin-top: 20px; text-align: center;
  padding: 14px !important; border-radius: 3px;
}
#page-wrap { padding-top: var(--nav-h); }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 13px 26px; background: var(--blue); color: #fff;
  font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  border-radius: 3px; transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 11px 24px; background: var(--white); color: var(--blue-d);
  font-size: .78rem; font-weight: 400; letter-spacing: .04em;
  border: 1.5px solid var(--blue); border-radius: 3px; transition: background .2s;
}
.btn-secondary:hover { background: var(--blue-pale); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border: 1.5px solid var(--ink); border-radius: 3px;
  font-size: .76rem; color: var(--ink); transition: all .2s;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* Badges */
.prop-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: .56rem; font-weight: 500; letter-spacing: .04em;
  padding: 3px 9px; border-radius: 2px; color: #fff;
}
.b-new  { background: var(--c-new); }
.b-reno { background: var(--c-reno); }
.b-lock { background: rgba(13,28,42,.65); backdrop-filter: blur(3px); }

/* ================================================================
   HERO SLIDESHOW
================================================================ */
.hero-ss {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 560px; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-position: center;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }

/* Placeholder (画像未設定時) */
.slide-ph {
  position: absolute; inset: 36px;
  border: 2px dashed rgba(0,0,0,.08); border-radius: 6px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.slide-ph-ico { font-size: 2.5rem; opacity: .18; }
.slide-ph-txt {
  font-size: .62rem; color: rgba(0,0,0,.22);
  letter-spacing: .18em; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(255,255,255,.92) 0%,
    rgba(255,255,255,.62) 46%,
    rgba(255,255,255,0)   80%
  );
}
.hero-content {
  position: absolute; top: 0; left: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(24px,6vw,80px); max-width: 600px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp .6s var(--ease) .2s forwards;
}
.hero-eyebrow-tag {
  background: var(--blue); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: .58rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 2px;
}
.hero-eyebrow-vol {
  font-family: 'DM Sans', sans-serif; font-size: .65rem;
  font-weight: 300; letter-spacing: .16em; color: var(--muted); text-transform: uppercase;
}
.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(2.8rem,7.5vw,5.6rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.01em; color: var(--ink);
  margin-bottom: 22px;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .8s var(--ease) .4s forwards;
}
.hero-title em { font-style: normal; color: var(--blue); }
.hero-rule {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp .6s var(--ease) .62s forwards;
}
.hero-rule-line { width: 40px; height: 1px; background: var(--blue); }
.hero-rule-txt { font-size: .68rem; color: var(--muted); letter-spacing: .1em; }
.hero-sub {
  font-size: clamp(.8rem,1.6vw,.93rem); font-weight: 300; line-height: 2.05;
  color: var(--ink-m); max-width: 360px; margin-bottom: 30px;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp .6s var(--ease) .78s forwards;
}
.hero-actions {
  display: flex; align-items: center; gap: 14px;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp .6s var(--ease) .94s forwards;
}
.btn-hero-p {
  padding: 13px 26px; background: var(--blue); color: #fff;
  font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  border-radius: 3px; transition: background .2s, transform .15s;
}
.btn-hero-p:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn-hero-s {
  font-size: .78rem; color: var(--ink-m); letter-spacing: .04em;
  border-bottom: 1px solid var(--border); transition: color .2s, border-color .2s;
  cursor: pointer; padding-bottom: 1px;
}
.btn-hero-s:hover { color: var(--blue); border-color: var(--blue); }

/* Dots */
.hero-dots {
  position: absolute; bottom: calc(185px + 22px); left: clamp(24px,6vw,80px); z-index: 3;
  display: flex; align-items: center; gap: 9px;
  opacity: 0; animation: fadeUp .6s var(--ease) 1.1s forwards;
}
.hdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); cursor: pointer;
  transition: background .3s, transform .3s;
}
.hdot.active { background: var(--blue); transform: scale(1.35); }
.hdot-counter {
  font-family: 'DM Sans', sans-serif; font-size: .6rem;
  font-weight: 300; letter-spacing: .12em; color: var(--muted); margin-left: 4px;
}

/* ================================================================
   AREA PANELS
================================================================ */
.area-panels {
  display: grid;
  grid-template-columns: repeat(var(--ap-cols, 4), 1fr);
  height: 185px;
  opacity: 0; transform: translateY(14px);
  animation: fadeUp .7s var(--ease) 1.0s forwards;
}
.ap {
  position: relative; cursor: pointer; overflow: hidden;
  border-left: 1px solid rgba(255,255,255,.3);
  display: block; /* <a> tag */
}
.ap:first-child { border-left: none; }
.ap-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--border);
  transition: transform .5s var(--ease);
}
.ap:hover .ap-photo { transform: scale(1.05); }

/* Placeholder */
.ap-photo-ph {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.ap-ph-ico { font-size: 1.6rem; opacity: .2; }
.ap-ph-txt {
  font-size: .5rem; color: rgba(0,0,0,.2);
  letter-spacing: .16em; text-transform: uppercase; font-family: 'DM Sans', sans-serif;
}
.ap-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.5) 45%,
    rgba(255,255,255,0) 100%
  );
  transition: background .3s;
}
.ap:hover .ap-overlay {
  background: linear-gradient(
    to top,
    rgba(13,28,42,.88) 0%,
    rgba(13,28,42,.55) 45%,
    rgba(13,28,42,.1) 100%
  );
}
.ap-count {
  position: absolute; top: 11px; right: 11px; z-index: 2;
  font-family: 'DM Sans', sans-serif; font-size: .56rem; font-weight: 300;
  color: var(--muted); letter-spacing: .05em;
  background: rgba(255,255,255,.88); backdrop-filter: blur(4px);
  padding: 3px 8px; border-radius: 20px; transition: all .3s;
}
.ap:hover .ap-count { background: rgba(0,0,0,.28); color: rgba(255,255,255,.75); }
.ap-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 18px 17px;
}
.ap-tag {
  font-family: 'DM Sans', sans-serif; font-size: .54rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 4px; transition: color .3s;
}
.ap:hover .ap-tag { color: rgba(255,255,255,.65); }
.ap-name {
  font-family: 'Shippori Mincho', serif; font-size: 1rem; font-weight: 700;
  color: var(--ink); margin-bottom: 3px; transition: color .3s;
}
.ap:hover .ap-name { color: #fff; }
.ap-sub { font-size: .63rem; color: var(--muted); line-height: 1.55; transition: color .3s; }
.ap:hover .ap-sub { color: rgba(255,255,255,.6); }

/* ================================================================
   FRONT PAGE — PROPERTY CARDS
================================================================ */
.front-props { padding: 56px 40px 64px; max-width: 1280px; margin: 0 auto; }
.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.prop-card {
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  background: var(--white); transition: border-color .2s, box-shadow .2s, transform .3s;
}
.prop-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 18px rgba(59,184,235,.1);
  transform: translateY(-3px);
}
.prop-card-link { display: block; }
.prop-card-photo {
  height: 180px; position: relative; overflow: hidden; background: #EEF0F4;
}
.prop-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prop-card:hover .prop-card-photo img { transform: scale(1.04); }
.prop-card-ph {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 2rem; opacity: .2;
}
.prop-card-body { padding: 14px 16px; }
.prop-card-area { font-size: .6rem; color: var(--muted); margin-bottom: 3px; letter-spacing: .06em; }
.prop-card-title {
  font-family: 'Shippori Mincho', serif; font-size: .9rem; font-weight: 700;
  line-height: 1.45; color: var(--ink); margin-bottom: 8px;
}
.prop-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.prop-m { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 300; color: var(--blue-d); }
.prop-u { font-size: .58rem; color: var(--muted); }
.prop-t { font-size: .58rem; color: var(--muted); }
.prop-specs { display: flex; gap: 10px; font-size: .62rem; color: var(--muted); }

/* ================================================================
   MAP PAGE
================================================================ */
.map-page-wrap {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
}

/* Top filter bar */
.map-bar {
  height: 50px; background: var(--white); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px; padding: 0 18px;
  overflow-x: auto; flex-shrink: 0;
}
.map-bar::-webkit-scrollbar { display: none; }
.map-content { flex: 1; position: relative; overflow: hidden; }
.back-btn {
  display: flex; align-items: center; gap: 6px; font-size: .72rem;
  color: var(--muted); white-space: nowrap; flex-shrink: 0; transition: color .2s;
  cursor: pointer;
}
.back-btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back-btn:hover { color: var(--blue); }
.bar-sep { color: var(--border); font-size: .8rem; flex-shrink: 0; }
.bar-area { font-family: 'Shippori Mincho', serif; font-size: .86rem; font-weight: 700; color: var(--ink); white-space: nowrap; flex-shrink: 0; }
.filter-wrap { margin-left: auto; display: flex; gap: 6px; flex-shrink: 0; }
.ftag {
  padding: 3px 11px; border-radius: 20px; font-size: .63rem; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--muted); background: transparent;
  transition: all .2s; white-space: nowrap; cursor: pointer;
}
.ftag:hover { border-color: var(--blue); color: var(--blue); }
.ftag.on-new  { background: var(--c-new);  border-color: var(--c-new);  color: #fff; }
.ftag.on-reno { background: var(--c-reno); border-color: var(--c-reno); color: #fff; }
.ftag.on-spot { background: var(--navy);   border-color: var(--navy);   color: #fff; }

/* List pane */
.list-pane {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 370px; background: var(--white);
  border-right: 1px solid var(--border); overflow-y: auto; z-index: 400;
}
.list-head {
  position: sticky; top: 0; z-index: 10; background: var(--white);
  border-bottom: 1px solid var(--border); padding: 13px 20px 10px;
}
.list-count { font-size: .68rem; color: var(--muted); }
.list-count b {
  font-family: 'DM Sans', sans-serif; font-size: 1.55rem;
  font-weight: 200; color: var(--ink); margin-right: 3px;
}
.sec-div {
  padding: 13px 20px 7px; display: flex; align-items: center; gap: 10px;
}
.sec-line { flex: 1; height: 1px; background: var(--border); }
.sec-txt {
  font-family: 'DM Sans', sans-serif; font-size: .56rem; font-weight: 300;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

/* Property list items */
.pli {
  display: flex; cursor: pointer;
  border-bottom: 1px solid var(--border); background: var(--white);
  transition: background .18s; position: relative; overflow: hidden;
}
.pli:hover { background: var(--blue-pale); }
.pli.active { background: var(--blue-pale); }
.pli.active::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--blue);
}
.pli.feat { flex-direction: column; }
.pli.feat .pli-photo-wrap { width: 100%; height: 150px; }
.pli.feat .pli-title { font-size: .93rem; white-space: normal; }
.pli-photo-wrap { width: 88px; flex-shrink: 0; position: relative; overflow: hidden; background: #EEF0F4; }
.pli-photo {
  width: 100%; height: 100%; min-height: 82px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px;
  background-size: cover; background-position: center;
  transition: transform .4s var(--ease);
}
.pli:hover .pli-photo { transform: scale(1.05); }
.pli-ph-ico { font-size: 1rem; opacity: .25; }
.pli-ph-lbl { font-size: .4rem; color: #9BA3AD; letter-spacing: .1em; text-transform: uppercase; font-family: 'DM Sans', sans-serif; }
.pli-badge {
  position: absolute; top: 7px; left: 7px;
  font-size: .54rem; font-weight: 500; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 2px; color: #fff;
}
.pli-info { flex: 1; min-width: 0; padding: 11px 14px; }
.pli-area { font-size: .58rem; color: var(--muted); letter-spacing: .06em; margin-bottom: 2px; }
.pli-title {
  font-family: 'Shippori Mincho', serif; font-size: .78rem; font-weight: 700;
  line-height: 1.45; color: var(--ink); margin-bottom: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pli-price-row { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.pli-m { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 300; color: var(--blue-d); }
.pli-u, .pli-t { font-size: .58rem; color: var(--muted); }
.pli-specs { display: flex; gap: 7px; }
.pli-spec { font-size: .58rem; color: var(--muted); }
.pli-locked {
  position: absolute; inset: 0;
  background: rgba(250,250,250,.78); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
}
.pli-lock-lbl {
  font-size: .6rem; color: var(--navy); background: var(--white);
  padding: 4px 11px; border-radius: 20px; border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06); display: flex; align-items: center; gap: 4px;
}

/* Spot list items */
.sli {
  display: flex; align-items: center; cursor: pointer;
  border-bottom: 1px solid var(--border); transition: background .18s; position: relative;
}
.sli:hover { background: var(--blue-pale); }
.sli.active { background: var(--blue-pale); }
.sli-bar { width: 4px; flex-shrink: 0; align-self: stretch; }
.sli-ico {
  width: 38px; height: 38px; flex-shrink: 0; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  margin: 10px 0 10px 10px; border-radius: 50%; background: var(--bg);
}
.sli-info { flex: 1; min-width: 0; padding: 9px 13px; }
.sli-cat { font-size: .56rem; color: var(--muted); margin-bottom: 1px; }
.sli-name {
  font-family: 'Shippori Mincho', serif; font-size: .82rem; font-weight: 700;
  color: var(--ink); margin-bottom: 1px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.sli-hrs { font-size: .56rem; color: var(--muted); }
.sli-arrow { flex-shrink: 0; padding-right: 12px; font-size: .58rem; color: var(--blue-d); }

/* Leaflet map */
#lmap {
  position: absolute; top: 0; left: 370px; right: 0; bottom: 0; z-index: 300;
}
.leaflet-container { background: #E4DFD5 !important; }
.leaflet-popup-content-wrapper {
  font-family: 'Noto Sans JP', sans-serif !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.1) !important;
  font-size: .72rem !important;
}
.leaflet-popup-tip-container { display: none !important; }

/* Map markers */
.mb {
  font-family: 'DM Sans', sans-serif; font-size: .65rem; font-weight: 400;
  background: var(--c-new); color: #fff; padding: 4px 10px; border-radius: 20px;
  white-space: nowrap; box-shadow: 0 2px 10px rgba(59,184,235,.3); cursor: pointer;
  transition: transform .2s; position: relative; user-select: none;
}
.mb::after {
  content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top: 6px solid var(--c-new); border-bottom: none;
}
.mb.reno { background: var(--c-reno); }
.mb.reno::after { border-top-color: var(--c-reno); }
.mb.lock { background: var(--navy); }
.mb.lock::after { border-top-color: var(--navy); }
.mb.sel { transform: scale(1.2); z-index: 999; box-shadow: 0 4px 20px rgba(59,184,235,.45); }
.sdot {
  width: 11px; height: 11px; border-radius: 50%;
  border: 2.5px solid #fff; cursor: pointer;
  box-shadow: 0 1px 5px rgba(0,0,0,.25); transition: transform .2s;
}
.sdot:hover { transform: scale(1.5); }
.map-legend {
  position: absolute; bottom: 20px; left: calc(370px + 14px); z-index: 500;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 9px 13px; display: flex; flex-wrap: wrap; gap: 8px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.leg { display: flex; align-items: center; gap: 5px; font-size: .6rem; color: var(--muted); }
.ldot { width: 9px; height: 9px; border-radius: 50%; }

/* ================================================================
   MAP SIDE PANEL
================================================================ */
#map-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 420px; z-index: 800;
  background: var(--white); transform: translateX(100%);
  transition: transform .5s var(--ease);
  overflow-y: auto; box-shadow: -4px 0 24px rgba(0,0,0,.08);
  display: flex; flex-direction: column;
}
#map-panel.open { transform: translateX(0); }
#map-panel::-webkit-scrollbar { width: 3px; }
#map-panel::-webkit-scrollbar-thumb { background: var(--border); }

.mp-close {
  position: absolute; top: 14px; left: -42px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%; background: var(--white);
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  box-shadow: -2px 0 8px rgba(0,0,0,.07); transition: background .2s; cursor: pointer;
}
.mp-close:hover { background: var(--bg); }
.mp-close svg { width: 12px; height: 12px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; }

.mp-nav {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-bottom: 1px solid var(--border); background: var(--bg);
  min-height: 42px; position: sticky; top: 0; z-index: 20;
}
.mp-back {
  display: flex; align-items: center; gap: 4px; font-size: .68rem;
  color: var(--muted); transition: color .2s; flex-shrink: 0; cursor: pointer;
}
.mp-back:hover { color: var(--blue); }
.mp-back svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.mp-nav-sep { font-size: .7rem; color: var(--border); }
.mp-nav-cur {
  font-size: .68rem; color: var(--ink); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 190px;
}

/* Panel shared card parts */
.pc-photo { width: 100%; flex-shrink: 0; position: relative; overflow: hidden; background: #F0F2F4; }
.pc-photo-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
}
.pc-photo-ph-inner {
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 8px; border: 2px dashed #C8CDD4; border-radius: 6px; padding: 18px 32px;
}
.pc-photo-ph-ico { font-size: 2rem; opacity: .35; }
.pc-photo-ph-txt {
  font-size: .6rem; color: #9BA3AD; letter-spacing: .15em; text-transform: uppercase;
  font-family: 'DM Sans', sans-serif; text-align: center; line-height: 1.6;
}
.pc-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,28,42,.28) 0%, transparent 50%);
  pointer-events: none;
}
.pc-badge {
  position: absolute; top: 13px; left: 13px; z-index: 2;
  font-size: .58rem; font-weight: 500; letter-spacing: .05em; padding: 3px 9px; border-radius: 2px; color: #fff;
}

/* Photo strip */
.photo-strip { display: flex; gap: 3px; padding: 3px; background: #E8EAF0; }
.gthumb {
  flex: 1; height: 50px; background: #D4D8E0; border-radius: 2px;
  display: flex; align-items: center; justify-content: center; font-size: .72rem;
  color: #9BA3AD; cursor: pointer; transition: background .2s;
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.gthumb:hover { background-color: #C8CDD6; }
.gthumb.more { font-size: .65rem; letter-spacing: .04em; background: #CED3DC; color: #6B7380; }

.pc-body { padding: 20px 22px; flex: 1; }
.pc-area { font-size: .63rem; color: var(--blue); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.pc-title { font-family: 'Shippori Mincho', serif; font-size: 1.18rem; font-weight: 700; line-height: 1.45; color: var(--ink); margin-bottom: 18px; }

/* Payment simulator */
.pay-block {
  border: 1.5px solid var(--blue-pale); border-radius: 8px;
  padding: 18px 20px 16px; margin-bottom: 18px; background: var(--blue-xp);
}
.pay-lbl {
  font-family: 'DM Sans', sans-serif; font-size: .56rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--blue-d); margin-bottom: 5px;
}
.pay-amt { font-family: 'DM Sans', sans-serif; font-size: 2.75rem; font-weight: 200; color: var(--ink); line-height: 1; margin-bottom: 3px; }
.pay-amt sub { font-size: .8rem; color: var(--muted); }
.pay-sub { font-size: .63rem; color: var(--muted); margin-bottom: 16px; }
.sl-row { margin-bottom: 10px; }
.sl-lbl { display: flex; justify-content: space-between; font-size: .62rem; color: var(--muted); margin-bottom: 5px; }
.sl-lbl b { color: var(--blue-d); font-family: 'DM Sans', sans-serif; font-weight: 500; }
input[type=range] {
  -webkit-appearance: none; width: 100%; height: 3px;
  background: var(--blue-pale); border-radius: 2px; outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 15px; height: 15px;
  background: var(--blue); border-radius: 50%; cursor: pointer;
  box-shadow: 0 0 0 3px rgba(59,184,235,.2);
}
.pay-note { font-size: .55rem; color: var(--muted); margin-top: 7px; }

/* Specs grid */
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 18px; }
.sp-item { background: var(--bg); border: 1px solid var(--border); border-radius: 4px; padding: 9px 11px; }
.sp-k { font-size: .58rem; color: var(--muted); margin-bottom: 2px; }
.sp-v { font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 300; color: var(--ink); }
.sp-v small { font-size: .6rem; color: var(--muted); font-family: 'Noto Sans JP', sans-serif; }

/* Hazard tags */
.hazard-row { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.haz-tag {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 4px; font-size: .62rem; font-weight: 500;
}
.haz-safe  { background: #EAF3DE; color: #3B6D11; }
.haz-warn  { background: #FAEEDA; color: #854F0B; }
.haz-danger{ background: #FCEBEB; color: #A32D2D; }

/* Navigator mini-card */
.nav-card {
  display: flex; gap: 11px; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 6px;
  padding: 13px 15px; margin-bottom: 18px;
}
.nav-av {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-family: 'Shippori Mincho', serif; font-size: .95rem; font-weight: 700; color: #fff;
  overflow: hidden; background-size: cover; background-position: center;
}
.nav-nm { font-size: .76rem; font-weight: 500; color: var(--ink); margin-bottom: 1px; }
.nav-rl { font-size: .6rem; color: var(--blue-d); margin-bottom: 4px; }
.nav-cm { font-size: .68rem; color: var(--muted); line-height: 1.65; font-style: italic; }

/* Cross-links / chips */
.cross { margin-bottom: 18px; }
.cross-hd { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.cross-ln { flex: 1; height: 1px; background: var(--border); }
.cross-txt {
  font-family: 'DM Sans', sans-serif; font-size: .54rem; font-weight: 300;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: flex; align-items: center; gap: 5px; padding: 5px 11px;
  border-radius: 20px; border: 1.5px solid var(--border); background: var(--white);
  font-size: .68rem; color: var(--ink); transition: all .2s; cursor: pointer;
}
.chip:hover { border-color: var(--blue); background: var(--blue-pale); color: var(--blue-d); }
.chip-em { font-size: .82rem; }
.mini-props { display: flex; flex-direction: column; gap: 7px; }
.mprop {
  display: flex; cursor: pointer; border: 1.5px solid var(--border);
  border-radius: 5px; overflow: hidden; background: var(--white);
  transition: border-color .2s, background .2s;
}
.mprop:hover { border-color: var(--blue); background: var(--blue-pale); }
.mprop-photo {
  width: 66px; flex-shrink: 0; background: #EEF0F4; min-height: 60px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2px;
  background-size: cover; background-position: center;
}
.mprop-photo span { font-size: .85rem; opacity: .3; }
.mprop-info { padding: 8px 11px; flex: 1; }
.mprop-area { font-size: .56rem; color: var(--muted); margin-bottom: 1px; }
.mprop-title { font-family: 'Shippori Mincho', serif; font-size: .76rem; font-weight: 700; line-height: 1.35; color: var(--ink); margin-bottom: 3px; }
.mprop-price { font-size: .65rem; color: var(--blue-d); font-family: 'DM Sans', sans-serif; font-weight: 300; }

/* Panel CTAs */
.pc-ctas {
  padding: 14px 20px 24px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
  position: sticky; bottom: 0; background: var(--white); z-index: 10;
}
.btn-p {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 18px; background: var(--blue); color: #fff;
  font-size: .76rem; font-weight: 500; letter-spacing: .05em;
  border-radius: 3px; transition: background .2s; cursor: pointer;
}
.btn-p:hover { background: var(--blue-d); }
.btn-s {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 18px; background: var(--white); color: var(--blue-d);
  font-size: .76rem; font-weight: 400; letter-spacing: .04em;
  border: 1.5px solid var(--blue); border-radius: 3px; transition: background .2s; cursor: pointer;
}
.btn-s:hover { background: var(--blue-pale); }

/* Spot panel */
.sp-hd {
  height: 165px; flex-shrink: 0; position: relative;
  display: flex; align-items: flex-end; padding: 16px 20px; overflow: hidden;
  background: #F0F2F4; background-size: cover; background-position: center;
}
.sp-hd::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%); z-index: 2;
}
.sp-hd-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.sp-hd-ph-inner {
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  gap: 5px; border: 2px dashed #C8CDD4; border-radius: 6px; padding: 12px 20px;
}
.sp-cat-row {
  position: relative; z-index: 3; display: flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: .56rem; font-weight: 300;
  letter-spacing: .22em; text-transform: uppercase;
}
.sp-em { font-size: 1.35rem; }
.sp-body { padding: 17px 20px; flex: 1; }
.sp-name { font-family: 'Shippori Mincho', serif; font-size: 1.35rem; font-weight: 800; line-height: 1.2; color: var(--ink); margin-bottom: 9px; }
.sp-desc { font-size: .78rem; font-weight: 300; line-height: 1.9; color: var(--muted); margin-bottom: 14px; }
.sp-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.sp-meta-row { display: flex; align-items: center; gap: 7px; font-size: .7rem; color: var(--muted); }
.sp-meta-row b { color: var(--ink); font-weight: 500; }

/* Locked panel */
.locked-blur { filter: blur(6px); pointer-events: none; user-select: none; opacity: .42; margin-bottom: 16px; }
.locked-box { background: var(--blue-xp); border: 1.5px solid var(--blue-pale); border-radius: 8px; padding: 22px; text-align: center; }
.locked-box p { font-size: .77rem; color: var(--muted); line-height: 1.8; margin-bottom: 14px; }

/* Mobile pull handle */
.pull-handle { display: none; justify-content: center; padding: 9px 0; cursor: pointer; position: sticky; top: 0; z-index: 20; background: var(--white); border-radius: 14px 14px 0 0; }
.pull-bar { width: 34px; height: 3.5px; border-radius: 2px; background: var(--border); }

/* ================================================================
   PROPERTY DETAIL PAGE
================================================================ */
.prop-detail-page {}
.prop-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 40px; border-bottom: 1px solid var(--border); background: var(--white);
  font-size: .7rem; color: var(--muted); position: sticky; top: var(--nav-h); z-index: 100;
}
.prop-breadcrumb a { color: var(--muted); transition: color .2s; }
.prop-breadcrumb a:hover { color: var(--blue); }
.prop-breadcrumb .sep { color: var(--border); }

.prop-gallery {
  position: relative; height: 62vh; min-height: 440px;
  background: #EEF0F4; overflow: hidden;
  background-size: cover; background-position: center;
}
.prop-gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.42) 100%);
}
.prop-gallery-ph {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 8px;
}
.prop-gallery-badge {
  position: absolute; top: 28px; left: 40px; z-index: 2;
  font-size: .65rem; font-weight: 500; letter-spacing: .06em; padding: 4px 12px; border-radius: 2px; color: #fff;
}
.prop-gallery-count {
  position: absolute; bottom: 28px; right: 40px; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.45); color: #fff; font-size: .68rem;
  padding: 6px 12px; border-radius: 4px;
  font-family: 'DM Sans', sans-serif; cursor: pointer;
}
.prop-gallery-price { position: absolute; bottom: 28px; left: 40px; z-index: 2; }
.prop-gallery-price-lbl {
  font-family: 'DM Sans', sans-serif; font-size: .63rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 4px;
}
.prop-gallery-price-val {
  font-family: 'Shippori Mincho', serif; font-size: 2.4rem;
  font-weight: 800; color: #fff; line-height: 1;
}
.prop-gallery-price-unit { font-size: .95rem; font-weight: 400; }

.prop-thumbs { display: flex; gap: 3px; padding: 3px; background: #E8EAF0; }
.prop-thumb {
  flex: 1; height: 68px; background: #D4D8E0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 2px; transition: background .2s;
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.prop-thumb:hover { background-color: #C8CDD6; }
.prop-thumb-ph { font-size: .9rem; opacity: .25; }

.prop-price-bar {
  position: sticky; top: calc(var(--nav-h) + 44px); z-index: 90;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 14px 40px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.ppb-price { font-family: 'DM Sans', sans-serif; font-size: 2rem; font-weight: 200; color: var(--ink); }
.ppb-price-unit { font-size: .88rem; color: var(--muted); }
.ppb-monthly { font-size: .72rem; color: var(--blue-d); font-weight: 400; }
.ppb-actions { display: flex; gap: 10px; align-items: center; }

.prop-layout {
  display: grid; grid-template-columns: 1fr 340px;
  max-width: 1280px; margin: 0 auto;
}
.prop-main { padding: 36px 40px; border-right: 1px solid var(--border); }
.prop-sidebar {
  padding: 28px 28px; position: sticky;
  top: calc(var(--nav-h) + 44px + 52px); height: fit-content;
}

.prop-section-title {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; margin-top: 32px;
}
.prop-section-title:first-child { margin-top: 0; }
.prop-section-line { flex: 1; height: 1px; background: var(--border); }
.prop-section-txt {
  font-family: 'DM Sans', sans-serif; font-size: .6rem; font-weight: 300;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

.prop-spec-table { width: 100%; border-collapse: collapse; font-size: .78rem; margin-bottom: 8px; }
.prop-spec-table tr { border-bottom: 1px solid var(--border-l); }
.prop-spec-table th {
  text-align: left; font-weight: 400; color: var(--muted);
  padding: 9px 12px; width: 38%; background: var(--bg); font-size: .72rem;
}
.prop-spec-table td { padding: 9px 12px; color: var(--ink); font-weight: 400; }
.prop-spec-table td b { font-weight: 500; }

.hazard-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 8px; }
.hazard-card { padding: 12px 14px; border-radius: 6px; border: 1px solid; }
.hazard-card.safe   { background: #EAF3DE; border-color: #C0DD97; color: #3B6D11; }
.hazard-card.warn   { background: #FAEEDA; border-color: #FAC775; color: #854F0B; }
.hazard-card.danger { background: #FCEBEB; border-color: #F7C1C1; color: #A32D2D; }
.hazard-card-title  { font-size: .62rem; font-weight: 500; letter-spacing: .06em; margin-bottom: 4px; }
.hazard-card-val    { font-size: .78rem; font-weight: 500; }
.hazard-note { font-size: .6rem; color: var(--muted); margin-top: 8px; line-height: 1.6; }

.facility-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fac-tag {
  padding: 4px 11px; border-radius: 20px; background: var(--bg);
  border: 1px solid var(--border); font-size: .68rem; color: var(--ink-m);
}

.prop-spots-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pspot-card {
  display: flex; cursor: pointer; border: 1.5px solid var(--border);
  border-radius: 6px; overflow: hidden; background: var(--white);
  transition: border-color .2s, background .2s;
}
.pspot-card:hover { border-color: var(--blue); background: var(--blue-pale); }
.pspot-ico {
  width: 52px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem;
}
.pspot-info { padding: 10px 12px; flex: 1; }
.pspot-cat { font-size: .56rem; color: var(--muted); margin-bottom: 2px; }
.pspot-name { font-family: 'Shippori Mincho', serif; font-size: .78rem; font-weight: 700; color: var(--ink); line-height: 1.35; }

.similar-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.sim-card {
  cursor: pointer; border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; background: var(--white);
  transition: border-color .2s, box-shadow .2s, transform .25s;
}
.sim-card:hover { border-color: var(--blue); box-shadow: 0 4px 18px rgba(59,184,235,.1); transform: translateY(-2px); }
.sim-photo {
  height: 120px; background: #EEF0F4;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; opacity: 1;
}
.sim-body { padding: 12px 14px; }
.sim-area { font-size: .58rem; color: var(--muted); margin-bottom: 2px; }
.sim-title { font-family: 'Shippori Mincho', serif; font-size: .82rem; font-weight: 700; line-height: 1.4; color: var(--ink); margin-bottom: 6px; }
.sim-price { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 300; color: var(--blue-d); }
.sim-price-unit { font-size: .6rem; color: var(--muted); }

.sidebar-pay { background: var(--blue-xp); border: 1.5px solid var(--blue-pale); border-radius: 8px; padding: 20px; margin-bottom: 18px; }
.sidebar-nav-card { border: 1px solid var(--border); border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.sidebar-nav-photo {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-family: 'Shippori Mincho', serif; font-size: 1.2rem; font-weight: 700; color: #fff;
  margin-bottom: 10px; overflow: hidden;
  background-size: cover; background-position: center;
}
.sidebar-nav-name { font-size: .88rem; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.sidebar-nav-role { font-size: .68rem; color: var(--blue-d); margin-bottom: 8px; }
.sidebar-nav-comment { font-size: .72rem; color: var(--muted); line-height: 1.7; font-style: italic; }
.sidebar-ctas { display: flex; flex-direction: column; gap: 8px; }
.legal-box {
  margin-top: 18px; padding: 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 6px;
}
.legal-box .legal-lbl { font-size: .6rem; color: var(--muted); margin-bottom: 6px; letter-spacing: .06em; }
.legal-box .legal-txt { font-size: .7rem; color: var(--ink-m); line-height: 1.8; }

/* ================================================================
   AREA TAXONOMY (エリア記事)
================================================================ */
.area-article {}
.art-breadcrumb {
  padding: 13px 40px; border-bottom: 1px solid var(--border);
  font-size: .7rem; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.art-breadcrumb a { color: var(--muted); transition: color .2s; }
.art-breadcrumb a:hover { color: var(--blue); }
.art-hero {
  position: relative; height: 58vh; min-height: 420px;
  background: #EEF0F4; overflow: hidden;
  background-size: cover; background-position: center;
}
.art-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.12) 0%, rgba(0,0,0,.65) 100%);
}
.art-hero-content { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 40px; }
.art-hero-tag {
  font-family: 'DM Sans', sans-serif; font-size: .6rem; font-weight: 300;
  letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px;
}
.art-hero-title { font-family: 'Shippori Mincho', serif; font-size: clamp(2rem,5vw,3.2rem); font-weight: 800; line-height: 1.15; color: #fff; }
.art-hero-sub { font-size: .85rem; font-weight: 300; color: rgba(255,255,255,.65); margin-top: 10px; line-height: 1.7; }

.art-body { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.art-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; padding: 52px 0 40px; border-bottom: 1px solid var(--border); }
.art-intro-lead { font-family: 'Shippori Mincho', serif; font-size: 1.25rem; font-weight: 600; line-height: 1.75; color: var(--ink); margin-bottom: 18px; }
.art-intro-body { font-size: .85rem; font-weight: 300; line-height: 2; color: var(--ink-m); }
.art-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.art-data-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 16px; text-align: center; }
.art-data-icon { font-size: 1.3rem; margin-bottom: 6px; }
.art-data-val { font-family: 'DM Sans', sans-serif; font-size: 1.65rem; font-weight: 200; color: var(--ink); line-height: 1; margin-bottom: 3px; }
.art-data-val small { font-size: .75rem; color: var(--muted); }
.art-data-lbl { font-size: .6rem; color: var(--muted); }

.art-pullquote {
  padding: 40px; margin: 52px 0; background: var(--navy);
  display: flex; align-items: center; gap: 24px; border-radius: 6px;
  position: relative; overflow: hidden;
}
.art-pullquote::before {
  content: '\201C'; position: absolute; top: -20px; left: 20px;
  font-family: 'Shippori Mincho', serif; font-size: 10rem; font-weight: 800;
  color: rgba(59,184,235,.06); line-height: 1; pointer-events: none;
}
.art-pq-line { width: 4px; min-height: 80px; background: var(--blue); border-radius: 2px; flex-shrink: 0; }
.art-pq-body { flex: 1; }
.art-pq-text { font-family: 'Shippori Mincho', serif; font-size: 1.2rem; font-weight: 600; line-height: 1.7; color: #fff; }
.art-pq-src { margin-top: 10px; font-size: .68rem; color: rgba(255,255,255,.45); font-style: italic; }

.spots-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 52px; }
.sfc { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .25s; background: var(--white); }
.sfc:hover { border-color: var(--blue); box-shadow: 0 4px 18px rgba(59,184,235,.1); transform: translateY(-2px); }
.sfc.large { grid-column: 1 / -1; }
.sfc.large .sfc-photo { height: 240px; }
.sfc.large .sfc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sfc-photo {
  height: 140px; position: relative; overflow: hidden;
  background: #EEF0F4; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.sfc-ph-ico { font-size: 2rem; opacity: .2; }
.sfc-cat-strip {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 9px; border-radius: 2px; font-size: .56rem; font-weight: 500; letter-spacing: .06em; color: #fff;
}
.sfc-body { padding: 14px 16px; }
.sfc-cat { font-size: .6rem; color: var(--muted); margin-bottom: 3px; }
.sfc-name { font-family: 'Shippori Mincho', serif; font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.sfc-desc { font-size: .72rem; font-weight: 300; line-height: 1.8; color: var(--muted); }
.sfc-link { display: inline-block; margin-top: 10px; font-size: .63rem; color: var(--blue-d); border-bottom: 1px solid var(--blue-pale); transition: color .2s; }
.sfc-link:hover { color: var(--blue); }

.art-props-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 52px; }
.apc { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--white); transition: border-color .2s, box-shadow .2s, transform .25s; }
.apc:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(59,184,235,.1); transform: translateY(-2px); }
.apc-photo { height: 145px; background: #EEF0F4; position: relative; background-size: cover; background-position: center; }
.apc-badge { position: absolute; top: 10px; left: 10px; font-size: .54rem; font-weight: 500; letter-spacing: .04em; padding: 2px 7px; border-radius: 2px; color: #fff; }
.apc-body { padding: 14px 16px; }
.apc-area { font-size: .58rem; color: var(--muted); margin-bottom: 2px; }
.apc-title { font-family: 'Shippori Mincho', serif; font-size: .88rem; font-weight: 700; line-height: 1.4; color: var(--ink); margin-bottom: 8px; }
.apc-price { font-family: 'DM Sans', sans-serif; font-size: 1.12rem; font-weight: 300; color: var(--blue-d); }
.apc-price-unit { font-size: .6rem; color: var(--muted); }

.art-cta-band {
  background: var(--blue-xp); border-top: 1px solid var(--blue-pale); border-bottom: 1px solid var(--blue-pale);
  padding: 52px 40px; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; margin: 0 -40px;
}
.art-cta-text h3 { font-family: 'Shippori Mincho', serif; font-size: 1.4rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.art-cta-text p { font-size: .82rem; font-weight: 300; color: var(--muted); line-height: 1.7; }
.art-cta-actions { display: flex; gap: 10px; flex-shrink: 0; }
.art-related { padding: 40px 0 56px; border-top: 1px solid var(--border); margin-top: 52px; }
.art-related-title { font-family: 'DM Sans', sans-serif; font-size: .6rem; font-weight: 300; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.art-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.arc { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; cursor: pointer; transition: border-color .2s; background: var(--white); }
.arc:hover { border-color: var(--blue); }
.arc-photo { height: 90px; background: #EEF0F4; background-size: cover; background-position: center; }
.arc-body { padding: 10px 12px; }
.arc-tag { font-size: .54rem; color: var(--blue-d); margin-bottom: 2px; }
.arc-name { font-family: 'Shippori Mincho', serif; font-size: .82rem; font-weight: 700; color: var(--ink); }

/* ================================================================
   NAVIGATOR PAGE
================================================================ */
.nav-page-hero { background: var(--navy); padding: 60px 40px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.nav-page-title { font-family: 'Shippori Mincho', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: #fff; line-height: 1.15; }
.nav-page-title span { color: var(--blue); }
.nav-page-sub { font-size: .82rem; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.9; max-width: 420px; margin-top: 12px; }
.nav-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 1080px; margin: 52px auto; padding: 0 40px; }
.nav-profile-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--white); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .3s; }
.nav-profile-card:hover { border-color: var(--blue); box-shadow: 0 6px 24px rgba(59,184,235,.12); transform: translateY(-3px); }
.npc-photo { height: 200px; background: var(--blue-pale); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: top center; }
.npc-photo-ph { width: 80px; height: 80px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; font-family: 'Shippori Mincho', serif; font-size: 1.8rem; font-weight: 700; color: #fff; }
.npc-area-badges { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 4px; flex-wrap: wrap; }
.npc-area-badge { font-size: .55rem; font-weight: 500; padding: 2px 7px; border-radius: 20px; background: var(--blue); color: #fff; }
.npc-body { padding: 20px 20px 18px; }
.npc-name { font-family: 'Shippori Mincho', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.npc-role { font-size: .68rem; color: var(--blue-d); margin-bottom: 12px; }
.npc-bio { font-size: .75rem; font-weight: 300; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.npc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.npc-stat { text-align: center; }
.npc-stat-val { font-family: 'DM Sans', sans-serif; font-size: 1.4rem; font-weight: 200; color: var(--ink); }
.npc-stat-lbl { font-size: .58rem; color: var(--muted); }
.npc-cta { display: block; width: 100%; padding: 12px; background: var(--blue-xp); border: 1.5px solid var(--blue-pale); border-radius: 0 0 8px 8px; text-align: center; font-size: .75rem; font-weight: 500; color: var(--blue-d); transition: background .2s; }
.npc-cta:hover { background: var(--blue-pale); }
.nav-philosophy { padding: 52px 40px; max-width: 1080px; margin: 0 auto; }
.nav-phil-title { font-family: 'Shippori Mincho', serif; font-size: 1.6rem; font-weight: 700; color: var(--ink); margin-bottom: 24px; }
.nav-phil-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.nav-phil-card { padding: 20px; background: var(--white); border: 1px solid var(--border); border-radius: 8px; text-align: center; }
.nav-phil-num { font-family: 'DM Sans', sans-serif; font-size: 2rem; font-weight: 200; color: var(--blue); margin-bottom: 10px; }
.nav-phil-title-sm { font-family: 'Shippori Mincho', serif; font-size: .9rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.nav-phil-desc { font-size: .72rem; font-weight: 300; line-height: 1.75; color: var(--muted); }

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-hero { background: var(--navy); padding: 52px 40px 44px; }
.contact-hero-title { font-family: 'Shippori Mincho', serif; font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 800; color: #fff; margin-bottom: 10px; }
.contact-hero-title span { color: var(--blue); }
.contact-hero-sub { font-size: .85rem; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.9; }
.contact-layout { display: grid; grid-template-columns: 1fr 400px; max-width: 1080px; margin: 0 auto; }
.contact-form-wrap { padding: 52px 48px 52px 40px; border-right: 1px solid var(--border); }
.contact-sidebar { padding: 40px 36px 40px 40px; }
.contact-type-tabs { display: flex; border: 1.5px solid var(--border); border-radius: 6px; overflow: hidden; margin-bottom: 32px; }
.ctab { flex: 1; padding: 12px; text-align: center; font-size: .78rem; font-weight: 400; color: var(--muted); background: var(--white); transition: all .2s; cursor: pointer; }
.ctab.active { background: var(--blue); color: #fff; font-weight: 500; }
.ctab:not(.active):hover { background: var(--blue-pale); color: var(--blue-d); }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .7rem; font-weight: 500; color: var(--ink-m); margin-bottom: 7px; }
.form-label .required { color: var(--blue-d); font-size: .58rem; margin-left: 4px; }
.form-input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif; font-size: .83rem; color: var(--ink);
  background: var(--bg); outline: none; transition: border-color .2s, background .2s;
}
.form-input:focus { border-color: var(--blue); background: var(--white); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%23888' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; padding: 14px; background: var(--blue); color: #fff;
  font-size: .82rem; font-weight: 500; letter-spacing: .06em; border-radius: 4px;
  transition: background .2s; margin-top: 8px; cursor: pointer;
}
.form-submit:hover { background: var(--blue-d); }
.form-privacy { font-size: .62rem; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.7; }
.form-privacy a { color: var(--blue-d); border-bottom: 1px solid var(--blue-pale); }
.contact-side-card { border: 1px solid var(--border); border-radius: 8px; padding: 20px; margin-bottom: 18px; background: var(--white); }
.contact-side-title { font-family: 'Shippori Mincho', serif; font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.contact-side-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .78rem; color: var(--muted); }
.contact-side-ico { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.contact-side-item b { color: var(--ink); font-weight: 500; }

/* ================================================================
   FOOTER
================================================================ */
#site-footer {
  background: var(--navy); padding: 52px 40px 32px; margin-top: 60px;
}
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-family: 'Shippori Mincho', serif; font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: .16em; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-copy-text { font-size: .72rem; font-weight: 300; color: rgba(255,255,255,.38); line-height: 1.9; max-width: 280px; }
.footer-col-title { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 14px; font-family: 'DM Sans', sans-serif; font-weight: 300; }
.footer-col a { display: block; font-size: .75rem; color: rgba(255,255,255,.5); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: .62rem; color: rgba(255,255,255,.25); }
.footer-disclaimer { font-size: .58rem; color: rgba(255,255,255,.18); line-height: 1.8; max-width: 540px; }

/* ================================================================
   MODAL & FLOAT CTA
================================================================ */
.modal-bg {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(13,28,42,.6); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
}
.modal-bg.open { display: flex; }
.modal {
  background: var(--white); width: 440px; max-width: 92vw;
  border-radius: 8px; padding: 36px; position: relative;
  animation: fadeUp .4s var(--ease);
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
}
.modal h2 { font-family: 'Shippori Mincho', serif; font-size: 1.3rem; font-weight: 700; line-height: 1.4; margin-bottom: 7px; color: var(--ink); }
.modal-sub { font-size: .77rem; color: var(--muted); line-height: 1.8; margin-bottom: 22px; }
.modal-x { position: absolute; top: 13px; right: 14px; font-size: 1.25rem; color: var(--muted); cursor: pointer; transition: color .2s; }
.modal-x:hover { color: var(--ink); }
.f-row { margin-bottom: 12px; }
.f-lbl { display: block; font-size: .67rem; color: var(--muted); margin-bottom: 5px; }
.f-inp {
  width: 100%; padding: 9px 13px; border: 1.5px solid var(--border);
  border-radius: 3px; font-family: 'Noto Sans JP', sans-serif; font-size: .82rem;
  color: var(--ink); background: var(--bg); outline: none; transition: border-color .2s;
}
.f-inp:focus { border-color: var(--blue); background: var(--white); }
.modal-submit {
  width: 100%; padding: 12px; background: var(--blue); color: #fff;
  font-size: .8rem; font-weight: 500; border-radius: 3px;
  transition: background .2s; margin-top: 6px; cursor: pointer;
}
.modal-submit:hover { background: var(--blue-d); }
.modal-note { font-size: .58rem; color: var(--muted); text-align: center; margin-top: 8px; }

.float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: flex; align-items: center; gap: 9px;
  background: var(--blue); color: #fff;
  padding: 13px 20px; border-radius: 4px;
  font-size: .74rem; font-weight: 500; letter-spacing: .05em;
  box-shadow: 0 4px 20px rgba(59,184,235,.4);
  transition: all .35s var(--ease);
  opacity: 0; transform: translateY(12px); pointer-events: none; cursor: pointer;
}
.float-cta.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.float-cta:hover { background: var(--blue-d); transform: translateY(-2px) !important; box-shadow: 0 6px 26px rgba(59,184,235,.45); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1060px) {
  .nav-list { grid-template-columns: 1fr 1fr; }
  .art-props-grid, .similar-grid { grid-template-columns: 1fr 1fr; }
  .nav-phil-grid { grid-template-columns: 1fr 1fr; }
  .spots-grid { grid-template-columns: 1fr 1fr; }
  .sfc.large .sfc-body { grid-template-columns: 1fr; }
  .prop-layout { grid-template-columns: 1fr; }
  .prop-sidebar { position: relative; top: 0; border-top: 1px solid var(--border); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-overlay { background: linear-gradient(to bottom, rgba(255,255,255,.95), rgba(255,255,255,.82) 100%); }
  .area-panels { grid-template-columns: repeat(2,1fr); height: 220px; }
  .art-intro { grid-template-columns: 1fr; }
  .art-cta-band { flex-direction: column; align-items: flex-start; }
  .art-related-grid, .art-props-grid, .similar-grid, .spots-grid { grid-template-columns: 1fr; }
  .sfc.large { grid-column: auto; }
  .prop-breadcrumb, .art-breadcrumb { padding: 12px 20px; }
  .prop-gallery-price { left: 20px; bottom: 20px; }
  .prop-gallery-count { right: 20px; bottom: 20px; }
  .prop-gallery-badge { left: 20px; top: 20px; }
  .prop-main, .art-body, .art-cta-band { padding-left: 20px; padding-right: 20px; }
  .nav-page-hero { padding: 36px 20px; }
  .nav-list { padding: 0 20px; grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 20px; }
  .contact-sidebar { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  #site-footer { padding: 36px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .front-props { padding: 40px 20px; }
  .pull-handle { display: flex; }

  /* Mobile map */
  #lmap { left: 0 !important; bottom: calc(55vh - 58px) !important; }
  .list-pane {
    position: fixed !important; top: auto !important;
    left: 0 !important; right: 0 !important; width: 100% !important;
    bottom: 0; height: 55vh; z-index: 450;
    border-radius: 14px 14px 0 0; border-right: none;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    transform: translateY(calc(55vh - 58px));
    transition: transform .42s var(--ease);
  }
  .list-pane.expanded { transform: translateY(0); }
  .map-legend { left: 10px; bottom: calc(55vh - 40px); }
  #map-panel { top: 0; width: 100%; border-radius: 14px 14px 0 0; transform: translateY(100%); }
  #map-panel.open { transform: translateY(0); }
  .mp-close { left: auto; right: 14px; top: 12px; }
  .filter-wrap { display: none; }
  .prop-spec-table th, .prop-spec-table td { padding: 8px; }
  .hazard-grid { grid-template-columns: 1fr; }
  .prop-spots-grid { grid-template-columns: 1fr; }
  .prop-gallery-price-val { font-size: 1.8rem; }
  .ppb-price { font-size: 1.5rem; }
  .ppb-actions { flex-direction: column; gap: 6px; }
  .nav-phil-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .area-panels { grid-template-columns: 1fr; height: auto; }
  .ap { height: 120px; }
  .hero-title { font-size: 2.4rem; }
  .similar-grid { grid-template-columns: 1fr; }
  .nav-phil-grid { grid-template-columns: 1fr; }
}
