/*
Theme Name:  OFF MARKET
Theme URI:   https://offmarket.sagatsuku.com
Description: 非公開新築戸建て 先行案内サービス OFF MARKET のWordPressテーマ
Author:      価値住宅株式会社（さがつく）
Author URI:  https://sagatsuku.com
Version:     1.0.0
License:     Private
Text Domain: offmarket
*/

/* ════════════════════════════════════════
   RESET & TOKENS
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #1c1a17;
  --muted:  #6b6b6b;
  --subtle: #aaaaaa;
  --rule:   #e4e2de;
  --surf:   #f8f7f4;
  --white:  #ffffff;
  --gold:   #c4a05a;
  --gold-l: #f5ecd8;
  --dark:   #1c1a17;
  --dark-l: #2a2720;
  --r: 6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════
   HEADER
════════════════════════════════════════ */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--rule);
  height: 60px;
  padding: 0 clamp(20px,4vw,48px);
  display: flex; align-items: center; justify-content: space-between;
}
.hdr-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px,2.2vw,21px);
  font-weight: 600; color: var(--ink);
  letter-spacing: .14em; text-decoration: none;
  display: flex; align-items: baseline; gap: 10px;
}
.hdr-logo-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px; color: var(--subtle);
  letter-spacing: .08em; font-weight: 300;
}
.hdr-right { display: flex; align-items: center; gap: 24px; }
.hdr-nav   { display: none; gap: 24px; }
.hdr-nav a { font-size: 12px; color: var(--muted); text-decoration: none; letter-spacing: .04em; transition: color .15s; }
.hdr-nav a:hover { color: var(--ink); }
.hdr-btn {
  background: var(--dark); color: var(--white);
  font-size: 12px; font-weight: 500; letter-spacing: .07em;
  padding: 10px 20px; border-radius: var(--r);
  text-decoration: none; white-space: nowrap; transition: background .2s;
}
.hdr-btn:hover { background: var(--dark-l); }
@media(min-width:768px){ .hdr-nav { display: flex; } }

/* ════════════════════════════════════════
   SP BAR（LP専用）
════════════════════════════════════════ */
.spbar {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 99;
  background: var(--dark);
  padding: 8px clamp(20px,4vw,48px);
  display: flex; align-items: center; gap: 8px;
}
.sp-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4cda6e; flex-shrink: 0;
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.sp-txt {
  font-size: 11px; color: rgba(255,255,255,.6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: .03em;
}
.sp-txt strong { color: #fff; }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  padding-top: calc(60px + 34px);
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  max-width: 1040px; margin: 0 auto;
  padding: clamp(40px,6vw,72px) clamp(20px,4vw,48px);
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media(min-width:768px){ .hero-inner { grid-template-columns: 1fr 1fr; gap: 56px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.eyebrow-txt { font-size: 11px; letter-spacing: .13em; color: var(--gold); font-weight: 500; }

.hero h1 {
  font-size: clamp(28px,4.5vw,46px);
  font-weight: 700; color: var(--ink); line-height: 1.4; letter-spacing: .03em;
}
.hero h1 .serif {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.15em;
  color: var(--gold); font-weight: 400;
  display: block; line-height: 1.25; margin-top: 2px;
}
.hero-lead {
  font-size: clamp(13px,1.6vw,15px); color: var(--muted);
  font-weight: 300; line-height: 2; margin: 20px 0 28px;
}
.hero-lead em { color: var(--ink); font-style: normal; font-weight: 500; }
.hero-cta {
  display: block; background: var(--dark); color: var(--white);
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  padding: 18px; border-radius: var(--r); text-decoration: none;
  text-align: center; margin-bottom: 12px; max-width: 400px; transition: background .2s;
}
.hero-cta:hover { background: var(--dark-l); }
.hero-note { font-size: 11px; color: var(--subtle); letter-spacing: .04em; }

/* Hero preview card */
.hero-preview {
  background: var(--surf); border: 1px solid var(--rule);
  border-radius: 14px; overflow: hidden;
}
.hp-head {
  padding: 14px 20px; border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
}
.hp-head-label { font-size: 10px; letter-spacing: .14em; color: var(--subtle); font-weight: 500; }
.hp-head-count { font-size: 11px; color: var(--muted); }
.hp-head-count strong { color: var(--gold); font-weight: 600; }
.hp-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--rule); transition: background .15s;
}
.hp-row:hover { background: var(--white); }
.hp-area { font-size: 11px; color: var(--subtle); letter-spacing: .04em; margin-bottom: 3px; }
.hp-spec { font-size: 14px; font-weight: 600; color: var(--ink); }
.hp-price { font-size: 18px; font-weight: 700; color: var(--ink); text-align: right; }
.hp-price small { font-size: 11px; font-weight: 400; color: var(--muted); }
.hp-tag {
  display: block; margin-top: 4px; text-align: right;
  font-size: 9px; font-weight: 700; color: var(--gold); background: var(--gold-l);
  padding: 2px 8px; border-radius: 100px; letter-spacing: .08em;
}
.hp-footer {
  padding: 14px 20px; background: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-decoration: none; transition: background .15s; cursor: pointer;
}
.hp-footer:hover { background: var(--surf); }
.hp-footer-txt { font-size: 12px; color: var(--muted); line-height: 1.7; font-weight: 300; }
.hp-footer-txt strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.hp-footer-arrow {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; flex-shrink: 0;
}

/* ════════════════════════════════════════
   AGITATION
════════════════════════════════════════ */
.agit-bg {
  background: var(--surf);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.agit-inner {
  max-width: 1040px; margin: 0 auto;
  padding: clamp(36px,6vw,64px) clamp(20px,4vw,48px);
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media(min-width:640px){ .agit-inner { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } }
.agit-bar { width: 32px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 16px; }
.agit-q { font-size: clamp(17px,2.8vw,22px); font-weight: 700; color: var(--ink); line-height: 1.6; letter-spacing: .02em; }
.agit-body { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 2; }
.agit-body em { color: var(--ink); font-style: normal; font-weight: 500; }

/* ════════════════════════════════════════
   SECTION UTILITY
════════════════════════════════════════ */
.sec-wrap-surf { background: var(--surf); }
.sec-wrap-dark { background: var(--dark); }
.sec {
  padding: clamp(52px,8vw,96px) clamp(20px,4vw,48px);
  max-width: 1040px; margin: 0 auto;
}
.sec-lbl { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sec-lbl span { font-size: 10px; letter-spacing: .18em; color: var(--subtle); font-weight: 500; }
.sec-lbl::after { content:''; flex:1; height:1px; background: var(--rule); }
.sec-wrap-dark .sec-lbl::after { background: rgba(255,255,255,.1); }
.sec-wrap-dark .sec-lbl span { color: rgba(255,255,255,.3); }
.sec h2 {
  font-size: clamp(22px,3.5vw,32px);
  font-weight: 700; line-height: 1.45; letter-spacing: .03em; color: var(--ink); margin-bottom: 10px;
}
.sec-desc { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 2; }

/* ════════════════════════════════════════
   PROPERTY CARDS
════════════════════════════════════════ */
.cards-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px;
}
@media(min-width:560px){ .cards-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:900px){ .cards-grid { grid-template-columns: repeat(3,1fr); } }

.pcard {
  background: var(--white); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--rule);
  box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.05);
  transition: transform .22s, box-shadow .22s;
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.pcard-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.pcard-img img { width:100%; height:100%; object-fit:cover; display:block; }
.pcard-img-ph { width:100%; height:100%; display:block; }
.pcard-img-ph.c1 { background: linear-gradient(155deg,#d4d1cb,#e6e3dc); }
.pcard-img-ph.c2 { background: linear-gradient(155deg,#ccc9c3,#dedad4); }
.pcard-img-ph.c3 { background: linear-gradient(155deg,#c8c4be,#d8d4ce); }
.pcard-img-ph.c4 { background: linear-gradient(155deg,#cbc8c2,#dfdcd6); }
.pcard-img-ph.c5 { background: linear-gradient(155deg,#c6c3bc,#d6d2cc); }
/* モザイク：中央にボタン、左下に価格 */
.mosaic {
  position: absolute; inset: 0;
  backdrop-filter: blur(var(--mosaic-blur, 22px)) brightness(.75);
  -webkit-backdrop-filter: blur(var(--mosaic-blur, 22px)) brightness(.75);
  background: rgba(70,65,60,.2);
  display: flex; align-items: center; justify-content: center;
}
.mosaic-pill {
  background: rgba(255,255,255,.95); color: var(--ink);
  font-size: 12px; font-weight: 600; padding: 9px 22px;
  border-radius: 100px; letter-spacing: .07em;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
/* 左下まとめブロック：エリア → 価格 の順で縦積み */
.mosaic-bottom {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  pointer-events: none;
}
.mosaic-area {
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 5px rgba(0,0,0,.5);
  letter-spacing: .04em; line-height: 1.5;
  margin-bottom: 4px;
}
.mosaic-station {
  display: block; font-size: 10px; font-weight: 400;
  color: rgba(255,255,255,.62);
  letter-spacing: .03em;
}
.mosaic-price {
  font-size: 26px; font-weight: 700; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
  letter-spacing: -.02em; line-height: 1;
}
.mosaic-price small { font-size: 13px; font-weight: 400; margin-left: 3px; opacity: .88; }
.pcard-flag {
  position: absolute; top: 14px; left: 14px;
  background: var(--dark); color: var(--white);
  font-size: 10px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px; letter-spacing: .09em;
}
/* カードボディ：スリム化 */
.pcard-body { padding: 14px 16px 16px; }
.pcard-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; margin-bottom: 5px;
}
.pcard-area { font-size: 11px; color: var(--subtle); letter-spacing: .04em; line-height: 1.6; }
.pcard-station { font-size: 10px; color: var(--subtle); }
.pcard-remain {
  font-size: 10px; font-weight: 600; white-space: nowrap; flex-shrink: 0;
  color: #8a6d2f; background: var(--gold-l); padding: 3px 10px; border-radius: 100px;
}
.pcard-spec { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: .02em; margin-bottom: 10px; }
/* 2ボタン行 */
.pcard-btns { display: flex; gap: 6px; }
.pcard-visit {
  flex: 1;
  background: var(--dark); color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: .05em;
  padding: 10px 12px; border-radius: 100px;
  border: none; cursor: pointer; white-space: nowrap;
  transition: background .2s; text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
}
.pcard-visit:hover { background: var(--dark-l); }
.pcard-action {
  flex: 1;
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(28,26,23,.3);
  font-size: 12px; font-weight: 500; letter-spacing: .05em;
  padding: 9px 12px; border-radius: 100px; text-decoration: none;
  white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
  text-align: center; display: block;
}
.pcard-action:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pcard-sold { position: absolute; inset: 0; background: rgba(28,26,23,.6); display: flex; align-items: center; justify-content: center; }
.pcard-sold span { background: var(--white); color: var(--ink); font-size: 11px; font-weight: 700; padding: 6px 16px; border-radius: 100px; letter-spacing: .1em; }
.pcard-ghost {
  border-radius: 14px; border: 2px dashed var(--rule);
  padding: 44px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px;
  background: var(--white); min-height: 260px;
}
.ghost-txt { font-size: 14px; color: var(--muted); line-height: 1.9; font-weight: 300; }
.ghost-txt strong { display: block; font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.ghost-cta {
  background: var(--dark); color: var(--white);
  font-size: 13px; font-weight: 500; letter-spacing: .07em;
  padding: 12px 24px; border-radius: 100px; text-decoration: none; transition: background .2s;
}
.ghost-cta:hover { background: var(--dark-l); }

/* ════════════════════════════════════════
   WHY
════════════════════════════════════════ */
.why-grid {
  display: grid; grid-template-columns: 1fr;
  margin-top: 32px; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden;
}
@media(min-width:640px){ .why-grid { grid-template-columns: repeat(3,1fr); } }
.why-item { padding: 32px 28px; background: var(--white); border-bottom: 1px solid var(--rule); }
@media(min-width:640px){
  .why-item { border-bottom: none; border-right: 1px solid var(--rule); }
  .why-item:last-child { border-right: none; }
}
.why-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 600; color: var(--rule); line-height: 1; margin-bottom: 14px; }
.why-title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.5; }
.why-body { font-size: 13px; color: var(--muted); line-height: 1.9; font-weight: 300; }

/* ════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════ */
.how-steps { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
@media(min-width:640px){ .how-steps { grid-template-columns: repeat(3,1fr); } }
.how-step {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 24px;
}
.how-n {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,.6); margin-bottom: 14px;
}
.how-title { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 8px; line-height: 1.5; }
.how-txt { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.9; font-weight: 300; }
.how-cta {
  display: block; background: var(--gold); color: #1a1a1a;
  font-size: 15px; font-weight: 700; letter-spacing: .07em;
  padding: 18px; border-radius: var(--r); text-decoration: none; text-align: center;
  margin: 32px auto 0; max-width: 400px; transition: filter .2s;
}
.how-cta:hover { filter: brightness(1.08); }

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
.faq-wrap { border-top: 1px solid var(--rule); margin-top: 28px; }
details.faq-item { border-bottom: 1px solid var(--rule); }
summary.faq-q {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 0; cursor: pointer;
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  color: var(--ink); list-style: none; line-height: 1.6;
}
summary.faq-q::-webkit-details-marker { display: none; }
.faq-plus {
  width: 22px; height: 22px; min-width: 22px; margin-top: 2px;
  border: 1px solid var(--rule); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--subtle);
  transition: transform .2s, border-color .2s;
  line-height: 1; font-weight: 300;
}
details[open] .faq-plus { transform: rotate(45deg); border-color: var(--ink); color: var(--ink); }
.faq-a { padding: 0 0 22px 36px; font-size: 13px; color: var(--muted); line-height: 2; font-weight: 300; }

/* ════════════════════════════════════════
   FORM
════════════════════════════════════════ */
.form-inner {
  max-width: 1040px; margin: 0 auto;
  padding: clamp(52px,8vw,96px) clamp(20px,4vw,48px);
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start;
}
@media(min-width:768px){ .form-inner { grid-template-columns: 1fr 1fr; gap: 64px; } }
.form-info-body { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 2; margin-bottom: 28px; }
.form-pts { display: flex; flex-direction: column; gap: 18px; }
.form-pt { display: flex; gap: 14px; align-items: flex-start; }
.fp-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surf); border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 13px; flex-shrink: 0; font-weight: 700;
}
.fp-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.fp-txt { font-size: 12px; color: var(--muted); line-height: 1.7; font-weight: 300; }
.narrow-bar {
  background: var(--gold-l); border: 1px solid #e0c98a;
  border-radius: var(--r); padding: 12px 16px;
  display: flex; gap: 10px; align-items: flex-start; margin-top: 24px;
}
.narrow-ico { color: var(--gold); font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.narrow-txt { font-size: 12px; color: #7a5c1e; line-height: 1.7; }
.form-card {
  background: var(--surf); border: 1px solid var(--rule);
  border-radius: 14px; padding: clamp(24px,4vw,36px);
}
/* CF7 override */
.form-card .wpcf7-form p { margin: 0; }
.form-card .wpcf7-form br { display: none; }
.form-card .wpcf7-not-valid-tip { font-size: 11px; color: #c0392b; margin-top: 4px; display: block; }
.form-card .wpcf7-response-output { display: none !important; }
.f-grp { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.f-lbl { font-size: 11px; font-weight: 500; color: var(--ink); letter-spacing: .07em; }
.f-req { color: #c0392b; margin-left: 3px; font-size: 10px; }
.f-in, input.f-in, select.f-in, textarea.f-in {
  width: 100%; background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r); padding: 12px 14px;
  font-size: 16px; color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif; outline: none;
  transition: border-color .2s; -webkit-appearance: none; appearance: none;
}
.f-in:focus { border-color: var(--dark); }
.f-in::placeholder { color: var(--subtle); }
.f-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-sub {
  width: 100%; background: var(--dark); color: var(--white);
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  padding: 18px; border-radius: var(--r); border: none; cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif; margin-top: 8px; transition: background .2s;
}
.f-sub:hover { background: var(--dark-l); }
.f-note { font-size: 11px; color: var(--subtle); text-align: center; line-height: 1.8; margin-top: 14px; }

/* ════════════════════════════════════════
   INNER PAGE HERO
════════════════════════════════════════ */
.page-hero {
  padding-top: 60px;
  background: var(--surf); border-bottom: 1px solid var(--rule);
}
.page-hero-inner {
  max-width: 860px; margin: 0 auto;
  padding: clamp(40px,6vw,64px) clamp(20px,4vw,48px);
}
.page-label { font-size: 10px; letter-spacing: .18em; color: var(--subtle); font-weight: 500; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(22px,4vw,32px); font-weight: 700; color: var(--ink); letter-spacing: .03em; }
.page-hero h1 .serif { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--gold); font-weight: 400; }
.page-hero-desc { font-size: 15px; color: var(--muted); font-weight: 300; line-height: 2; margin-top: 16px; max-width: 600px; }
.page-date { font-size: 12px; color: var(--subtle); margin-top: 12px; }

/* ════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════ */
.content { max-width: 860px; margin: 0 auto; padding: clamp(52px,8vw,96px) clamp(20px,4vw,48px); }
.content-block { margin-bottom: 56px; }
.sec-h2 {
  font-size: clamp(18px,3vw,24px); font-weight: 700; color: var(--ink);
  line-height: 1.5; letter-spacing: .03em;
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.sec-h2::before {
  content:''; display: inline-block; width: 4px; height: 18px;
  background: var(--gold); border-radius: 2px; margin-right: 12px; vertical-align: middle;
}
.mission-card {
  background: var(--dark); border-radius: 14px;
  padding: clamp(32px,5vw,48px); margin-bottom: 56px;
}
.mission-label { font-size: 10px; letter-spacing: .16em; color: rgba(255,255,255,.3); font-weight: 500; margin-bottom: 20px; }
.mission-body { font-size: clamp(16px,3vw,20px); font-weight: 300; color: rgba(255,255,255,.85); line-height: 2; letter-spacing: .02em; }
.mission-body em { font-style: normal; color: var(--gold); font-weight: 500; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl tr { border-bottom: 1px solid var(--rule); }
.tbl tr:first-child { border-top: 1px solid var(--rule); }
.tbl th { width: 30%; padding: 16px 0; font-size: 13px; font-weight: 500; color: var(--muted); text-align: left; vertical-align: top; white-space: nowrap; padding-right: 24px; }
.tbl td { padding: 16px 0; font-size: 14px; color: var(--ink); line-height: 1.8; }
@media(max-width:560px){ .tbl th { width: 38%; font-size: 12px; } .tbl td { font-size: 13px; } }
.license-box { background: var(--surf); border: 1px solid var(--rule); border-radius: 10px; padding: 24px 28px; }
.license-item { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.license-item:first-child { padding-top: 0; }
.license-item:last-child { border-bottom: none; padding-bottom: 0; }
.license-key { font-size: 12px; color: var(--muted); white-space: nowrap; min-width: 140px; flex-shrink: 0; }
.license-val { font-size: 13px; color: var(--ink); line-height: 1.7; }
.about-cta {
  background: var(--surf); border-top: 1px solid var(--rule);
  padding: clamp(48px,7vw,80px) clamp(20px,4vw,48px); text-align: center;
}
.about-cta h2 { font-size: clamp(20px,4vw,28px); font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: .03em; }
.about-cta p { font-size: 14px; color: var(--muted); font-weight: 300; margin-bottom: 28px; }
.cta-btn {
  display: inline-block; background: var(--dark); color: var(--white);
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
  padding: 16px 36px; border-radius: var(--r); text-decoration: none; transition: background .2s;
}
.cta-btn:hover { background: var(--dark-l); }

/* ════════════════════════════════════════
   DOCUMENT PAGES（privacy/terms）
════════════════════════════════════════ */
.doc { max-width: 860px; margin: 0 auto; padding: clamp(48px,7vw,80px) clamp(20px,4vw,48px); }
.doc-section { margin-bottom: 44px; }
.doc h2 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 16px; padding-left: 14px; border-left: 3px solid var(--gold); line-height: 1.5; }
.doc p { font-size: 14px; color: var(--muted); line-height: 2; font-weight: 300; margin-bottom: 14px; }
.doc p:last-child { margin-bottom: 0; }
.doc ul { margin: 14px 0 14px 20px; display: flex; flex-direction: column; gap: 8px; }
.doc li { font-size: 14px; color: var(--muted); line-height: 1.9; font-weight: 300; }
.info-box { background: var(--surf); border: 1px solid var(--rule); border-radius: 10px; padding: 24px; margin-top: 16px; }
.info-box p { margin-bottom: 8px; font-size: 13px; color: var(--ink); }
.info-box p:last-child { margin-bottom: 0; }
.info-box span { color: var(--muted); font-weight: 300; }

/* ════════════════════════════════════════
   THANKS PAGE
════════════════════════════════════════ */
.thanks-main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: clamp(48px,8vw,96px) clamp(20px,4vw,48px);
  background: var(--surf); min-height: calc(100vh - 120px);
}
.thanks-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 16px; padding: clamp(36px,6vw,64px);
  max-width: 560px; width: 100%; text-align: center;
}
.check-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gold-l); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px; font-size: 28px; color: var(--gold);
}
.thanks-card h1 { font-size: clamp(20px,4vw,26px); font-weight: 700; color: var(--ink); line-height: 1.5; letter-spacing: .03em; margin-bottom: 16px; }
.thanks-lead { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 2; margin-bottom: 32px; }
.next-steps { background: var(--surf); border-radius: 10px; padding: 24px; margin-bottom: 32px; text-align: left; }
.next-steps-title { font-size: 11px; letter-spacing: .14em; color: var(--subtle); font-weight: 500; margin-bottom: 16px; }
.step-list { display: flex; flex-direction: column; gap: 14px; }
.step-item { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--dark); color: var(--white);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.step-title { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.step-txt { font-size: 12px; color: var(--muted); font-weight: 300; line-height: 1.7; }
.btn-back {
  display: inline-block; background: var(--dark); color: var(--white);
  font-size: 13px; font-weight: 500; letter-spacing: .07em;
  padding: 14px 28px; border-radius: var(--r); text-decoration: none; transition: background .2s;
}
.btn-back:hover { background: var(--dark-l); }






/* ════════════════════════════════════════
   ANALYTICS WIDGET
════════════════════════════════════════ */








@media(max-width:640px){  }



/* バーチャート */





/* ════════════════════════════════════════
   DASHBOARD
════════════════════════════════════════ */
.db-body {
  background: #f0ede8;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* Header */
.db-hdr {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  padding: 0 clamp(16px,3vw,32px);
  height: 56px;
  display: flex; align-items: center; gap: 24px;
}
.db-hdr-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600;
  color: var(--white); letter-spacing: .14em;
  text-decoration: none; flex-shrink: 0;
}
.db-hdr-nav {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.db-hdr-link {
  font-size: 13px; color: rgba(255,255,255,.5);
  text-decoration: none; padding: 6px 12px; border-radius: 4px;
  transition: background .15s, color .15s;
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}
.db-hdr-link:hover, .db-hdr-link.active {
  background: rgba(255,255,255,.1); color: var(--white);
}
.db-badge {
  background: #e74c3c; color: #fff;
  font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.db-hdr-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.db-hdr-user { font-size: 12px; color: rgba(255,255,255,.4); }
.db-hdr-logout {
  font-size: 12px; color: rgba(255,255,255,.4);
  text-decoration: none; padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 4px;
  transition: all .15s;
}
.db-hdr-logout:hover { color: #fff; border-color: rgba(255,255,255,.4); }

/* Main */
.db-main { max-width: 1200px; margin: 0 auto; padding: 24px clamp(16px,3vw,32px) 48px; }

/* KPI */
.db-kpi-row {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 24px;
}
@media(max-width:640px){ .db-kpi-row { grid-template-columns: repeat(2,1fr); } }
.db-kpi {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 12px; padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.db-kpi-num { font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 6px; }
.db-kpi-lbl { font-size: 12px; color: var(--muted); }

/* Section */
.db-section {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.db-section--narrow { max-width: 680px; }
.db-section-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 20px 24px; border-bottom: 1px solid var(--rule);
}
.db-section-title { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; }
.db-filter-row { display: flex; gap: 6px; flex-wrap: wrap; }
.db-filter-btn {
  font-size: 12px; color: var(--muted);
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--rule); text-decoration: none;
  transition: all .15s;
}
.db-filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.db-filter-btn--active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.db-btn-primary {
  background: var(--ink); color: var(--white);
  font-size: 13px; font-weight: 500; padding: 8px 16px;
  border-radius: 6px; text-decoration: none; transition: background .2s;
}
.db-btn-primary:hover { background: var(--dark-l); }

/* Table */
.db-table-wrap { overflow-x: auto; }
.db-table { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: auto; }
.db-table th {
  padding: 8px 10px; text-align: left;
  font-size: 11px; font-weight: 500; color: var(--muted);
  letter-spacing: .06em; background: var(--surf);
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.db-table td {
  padding: 10px 10px; border-bottom: 1px solid var(--rule);
  vertical-align: middle; line-height: 1.5;
}
.db-table tr:last-child td { border-bottom: none; }
.db-table tr:hover td { background: var(--surf); }
/* 列幅制御 ─ 反響テーブル */
.db-table--leads th:nth-child(1),
.db-table--leads td:nth-child(1) { width: 80px; white-space: nowrap; }  /* 日時 */
.db-table--leads th:nth-child(2),
.db-table--leads td:nth-child(2) { min-width: 140px; }                  /* 氏名 */
.db-table--leads th:nth-child(3),
.db-table--leads td:nth-child(3) { min-width: 80px; max-width: 120px; } /* 物件 */
.db-table--leads th:nth-child(4),
.db-table--leads td:nth-child(4) { min-width: 80px; }                   /* 希望エリア */
.db-table--leads th:nth-child(5),
.db-table--leads td:nth-child(5) { min-width: 80px; }                   /* 予算/間取り */
.db-table--leads th:nth-child(6),
.db-table--leads td:nth-child(6) { width: 90px; }                       /* ステータス */
.db-table--leads th:nth-child(7),
.db-table--leads td:nth-child(7) { min-width: 100px; }                  /* メモ */
.db-table--leads th:nth-child(8),
.db-table--leads td:nth-child(8) { width: 100px; white-space: nowrap; } /* 操作 */

/* 列幅制御 ─ 物件テーブル（1列目 = ドラッグハンドル） */
.db-table--props th:nth-child(1),
.db-table--props td:nth-child(1) { width: 56px; padding: 0; text-align: center; } /* ドラッグ */
.db-table--props th:nth-child(2),
.db-table--props td:nth-child(2) { min-width: 200px; }                            /* エリア/駅 */
.db-table--props th:nth-child(3),
.db-table--props td:nth-child(3) { min-width: 130px; }                            /* 間取り/価格 */
.db-table--props th:nth-child(4),
.db-table--props td:nth-child(4) { min-width: 110px; }                            /* タグ/残棟 */
.db-table--props th:nth-child(5),
.db-table--props td:nth-child(5) { width: 100px; }                                /* ステータス */
.db-table--props th:nth-child(6),
.db-table--props td:nth-child(6) { width: 70px; text-align: center; }             /* LP表示 */
.db-table--props th:nth-child(7),
.db-table--props td:nth-child(7) { width: 130px; white-space: nowrap; }           /* 操作 */

/* 物件テーブル：文字・行を全体的に大きく */
.db-table--props th {
  font-size: 13px;
  padding: 10px 14px;
}
.db-table--props td {
  font-size: 14px;
  padding: 14px 14px;
}
.db-table--props .db-prop-area { font-size: 15px; font-weight: 700; }
.db-table--props .db-muted     { font-size: 12px; }
.db-table--props strong        { font-size: 15px; }

.db-td-date { white-space: nowrap; color: var(--muted); font-size: 12px; }
.db-lead-name { font-weight: 600; margin-bottom: 2px; }
.db-lead-tel { font-size: 12px; color: var(--ink); text-decoration: none; }
.db-lead-tel:hover { text-decoration: underline; }
.db-lead-email { font-size: 11px; color: var(--muted); margin-top: 2px; }
.db-muted { font-size: 11px; color: var(--muted); }
.db-prop-area { font-weight: 600; }
.db-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  color: #8a6d2f; background: var(--gold-l);
  padding: 2px 8px; border-radius: 100px;
  margin-bottom: 4px;
}

/* Status select */
.db-status-sel {
  font-size: 12px; font-weight: 600;
  padding: 5px 8px; border-radius: 4px; border: none;
  cursor: pointer; outline: none;
  font-family: 'Noto Sans JP', sans-serif;
}
.db-status-new       { background: #fff3cd; color: #856404; }
.db-status-contacted { background: #cff4fc; color: #055160; }
.db-status-done      { background: #d1e7dd; color: #0a3622; }
.db-status-active    { background: #d1e7dd; color: #0a3622; }
.db-status-sold      { background: #e2e3e5; color: #41464b; }

/* Memo input */
.db-memo-in {
  font-size: 12px; width: 100%; min-width: 80px;
  border: 1px solid var(--rule); border-radius: 4px;
  padding: 5px 8px; background: var(--surf);
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink); outline: none;
}
.db-memo-in:focus { border-color: var(--ink); background: var(--white); }

/* Save button */
.db-save-btn {
  font-size: 12px; padding: 6px 14px;
  background: var(--surf); border: 1px solid var(--rule);
  border-radius: 4px; cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all .15s; white-space: nowrap;
}
.db-save-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Edit link */
.db-edit-link {
  font-size: 12px; color: var(--muted); text-decoration: none;
  padding: 5px 10px; border: 1px solid var(--rule); border-radius: 4px;
  white-space: nowrap; transition: all .15s;
}
.db-edit-link:hover { color: var(--ink); border-color: var(--ink); }

/* Toggle switch */
.db-toggle { position: relative; display: inline-block; width: 40px; height: 22px; }
.db-toggle input { opacity: 0; width: 0; height: 0; }
.db-toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--rule); border-radius: 100px;
  transition: background .2s;
}
.db-toggle-slider::before {
  content: ''; position: absolute;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); left: 3px; top: 3px;
  transition: transform .2s;
}
.db-toggle input:checked + .db-toggle-slider { background: var(--gold); }
.db-toggle input:checked + .db-toggle-slider::before { transform: translateX(18px); }

/* Empty state */
.db-empty { padding: 48px; text-align: center; color: var(--muted); font-size: 14px; }

/* Alert */
.db-alert {
  margin: 20px 24px 0; padding: 12px 16px;
  border-radius: 8px; font-size: 13px;
}
.db-alert--success { background: #d1e7dd; color: #0a3622; }
.db-alert--success a { color: #0a3622; font-weight: 600; }
.db-alert--error { background: #f8d7da; color: #842029; }

/* ─── 反響ソースバッジ ─── */
.db-source-visit {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  color: #0a4c6a; background: #cff4fc;
  border: 1px solid #9eeaf9;
  padding: 3px 10px; border-radius: 100px; margin-top: 5px;
}
.db-source-visit::before { content: '📅'; font-size: 10px; }
.db-source-lead {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  color: #664d00; background: #fff3cd;
  border: 1px solid #ffe69c;
  padding: 3px 10px; border-radius: 100px; margin-top: 5px;
}
.db-source-lead::before { content: '✉'; font-size: 10px; }
.db-visit-date {
  font-size: 10px; color: var(--muted); margin-top: 3px;
  padding-left: 2px;
}



/* ── インライン編集パネル ── */
.db-action-cell { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.db-inline-edit-btn {
  font-size: 12px; padding: 5px 12px;
  background: var(--ink); color: var(--white);
  border: none; border-radius: 4px; cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background .15s; white-space: nowrap;
}
.db-inline-edit-btn:hover, .db-inline-edit-btn.active { background: var(--gold); color: var(--ink); }
.db-delete-btn {
  font-size: 12px; padding: 5px 12px;
  background: var(--white); color: #c0392b;
  border: 1px solid #f5c6c6; border-radius: 4px; cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all .15s; white-space: nowrap;
}
.db-delete-btn:hover { background: #c0392b; color: var(--white); border-color: #c0392b; }
.db-edit-panel td { padding: 0 !important; }
.db-edit-inner {
  background: var(--surf); border-top: 2px solid var(--gold);
  padding: 20px 24px; animation: db-slide-down .2s ease;
}
@keyframes db-slide-down { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
.db-edit-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0 16px;
}
@media(max-width:900px){ .db-edit-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:560px){ .db-edit-grid { grid-template-columns: 1fr; } }
.db-edit-actions {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; flex-wrap: wrap;
}
.db-ep-msg { font-size: 12px; }

/* ── ドロップゾーン ── */
.db-dropzone {
  border: 2px dashed var(--rule);
  border-radius: 12px; background: var(--surf);
  transition: border-color .2s, background .2s;
  min-height: 140px;
  display: flex; align-items: stretch;
}
.db-dropzone--over {
  border-color: var(--gold); background: var(--gold-l);
}
.db-dropzone-inner {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; padding: 24px; text-align: center;
  cursor: pointer;
}
.db-dropzone-icon { font-size: 28px; line-height: 1; }
/* ドラッグ中に子要素がイベントを奪わないよう無効化 */
.db-dropzone-inner > * { pointer-events: none; }
.db-dropzone-btn { pointer-events: auto; }
.db-dropzone-txt { font-size: 13px; font-weight: 500; color: var(--ink); }
.db-dropzone-sub { font-size: 11px; color: var(--subtle); }
.db-dropzone-btn {
  display: inline-block;
  font-size: 12px; font-weight: 500; color: var(--ink);
  padding: 7px 18px; border-radius: 6px;
  border: 1px solid var(--rule); background: var(--white);
  cursor: pointer; transition: all .15s;
}
.db-dropzone-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.db-dropzone-preview {
  flex: 1; position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 16px; gap: 10px;
}
.db-dropzone-preview img {
  max-height: 160px; max-width: 100%;
  border-radius: 8px; object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.db-dropzone-filename { font-size: 11px; color: var(--muted); }
.db-dropzone-remove {
  position: absolute; top: 10px; right: 10px;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 4px; padding: 4px 8px;
  font-size: 11px; color: var(--muted); cursor: pointer;
  transition: all .15s;
}
.db-dropzone-remove:hover { background: #e74c3c; color: var(--white); border-color: #e74c3c; }
.db-dropzone-uploading {
  flex: 1; display: flex;
  align-items: center; justify-content: center;
  gap: 10px; font-size: 13px; color: var(--muted);
}

@keyframes db-spin { to { transform: rotate(360deg); } }

/* Add form */
.db-form { padding: 24px; }
.db-form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
@media(max-width:560px){ .db-form-grid { grid-template-columns: 1fr; } }
.db-check-row {
  display: flex; align-items: center; gap: 8px;
  margin: 16px 0 8px; font-size: 14px; color: var(--ink);
}
.db-check-row input { width: 16px; height: 16px; cursor: pointer; }
.db-check-row label { cursor: pointer; }

/* ════════════════════════════════════════
   REGISTER CTA SECTION（ボタン版）
════════════════════════════════════════ */
#register .register-cta-inner {
  max-width: 1040px; margin: 0 auto;
  padding: clamp(52px,8vw,96px) clamp(20px,4vw,48px);
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media(min-width:768px){
  #register .register-cta-inner { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.register-cta-btn-wrap {
  display: flex; flex-direction: column; align-items: stretch;
}
@media(min-width:768px){
  .register-cta-btn-wrap { align-items: flex-start; }
}
.register-cta-btn {
  display: block; width: 100%;
  background: var(--dark); color: var(--white);
  font-size: 17px; font-weight: 700; letter-spacing: .08em;
  padding: 22px 32px; border-radius: var(--r); border: none; cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background .2s, transform .15s;
  text-align: center;
}
.register-cta-btn:hover { background: var(--dark-l); transform: translateY(-2px); }
.register-cta-btn:active { transform: translateY(0); }
@media(min-width:768px){
  .register-cta-btn { max-width: 400px; }
}

/* ════════════════════════════════════════
   REGISTER MODAL
════════════════════════════════════════ */
.om-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(28,26,23,.65);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
@media(min-width:600px){
  .om-modal-overlay { align-items: center; }
}
.om-modal-overlay--open {
  opacity: 1; pointer-events: auto;
}
.om-modal-open { overflow: hidden; }
.om-modal {
  background: var(--white);
  border-radius: 20px 20px 0 0;
  width: 100%; max-width: 520px;
  max-height: 92dvh;
  overflow-y: auto;
  padding: clamp(20px,4vw,36px);
  position: relative;
  transform: translateY(40px);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  -webkit-overflow-scrolling: touch;
}
@media(min-width:600px){
  .om-modal {
    border-radius: 16px;
    max-height: 88dvh;
    transform: translateY(24px) scale(.97);
  }
}
.om-modal-overlay--open .om-modal {
  transform: translateY(0) scale(1);
}
.om-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--surf);
  font-size: 14px; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
  line-height: 1;
}
.om-modal-close:hover { background: var(--rule); color: var(--ink); }
.om-modal-head { padding-right: 36px; }
/* mosaic-pill をボタン化 */
button.mosaic-pill {
  cursor: pointer; border: none;
  font-family: 'Noto Sans JP', sans-serif;
  transition: transform .15s, box-shadow .15s;
}
button.mosaic-pill:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

/* 見学予約モーダル: CF7フォームのスタイルを登録フォームと統一 */
#om-visit-modal-overlay .wpcf7-form input[type="text"],
#om-visit-modal-overlay .wpcf7-form input[type="tel"],
#om-visit-modal-overlay .wpcf7-form input[type="email"],
#om-visit-modal-overlay .wpcf7-form input[type="date"],
#om-visit-modal-overlay .wpcf7-form select,
#om-visit-modal-overlay .wpcf7-form textarea {
  width: 100%; background: var(--white); border: 1px solid var(--rule);
  border-radius: var(--r); padding: 12px 14px;
  font-size: 16px; color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif; outline: none;
  transition: border-color .2s; -webkit-appearance: none; appearance: none;
  box-sizing: border-box;
}
#om-visit-modal-overlay .wpcf7-form input[type="date"] { padding: 10px 14px; }
#om-visit-modal-overlay .wpcf7-form textarea { resize: vertical; min-height: 80px; }
#om-visit-modal-overlay .wpcf7-form input:focus,
#om-visit-modal-overlay .wpcf7-form select:focus,
#om-visit-modal-overlay .wpcf7-form textarea:focus { border-color: var(--dark); }
#om-visit-modal-overlay .wpcf7-form input[type="submit"],
#om-visit-modal-overlay .wpcf7-form .wpcf7-submit {
  width: 100%; background: var(--dark); color: var(--white);
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  padding: 18px; border-radius: var(--r); border: none; cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif; margin-top: 8px;
  transition: background .2s; -webkit-appearance: none; appearance: none;
}
#om-visit-modal-overlay .wpcf7-form input[type="submit"]:hover,
#om-visit-modal-overlay .wpcf7-form .wpcf7-submit:hover { background: var(--dark-l); }
#om-visit-modal-overlay .wpcf7-form label {
  font-size: 11px; font-weight: 500; color: var(--ink);
  letter-spacing: .07em; display: block; margin-bottom: 6px;
}
#om-visit-modal-overlay .wpcf7-form p { margin: 0 0 14px; }
#om-visit-modal-overlay .wpcf7-form p:last-of-type { margin-bottom: 0; }
#om-visit-modal-overlay .wpcf7-form br { display: none; }
#om-visit-modal-overlay .wpcf7-form span.wpcf7-form-control-wrap { display: block; }
#om-visit-modal-overlay .wpcf7-response-output { display: none !important; }
#om-visit-modal-overlay .wpcf7-not-valid-tip { font-size: 11px; color: #c0392b; margin-top: 4px; display: block; }

/* ════════════════════════════════════════
   TOAST NOTIFICATION
════════════════════════════════════════ */
#om-toast-wrap {
  position: fixed;
  bottom: 24px;
  left: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.om-toast {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,.13), 0 1px 4px rgba(0,0,0,.08);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .35s cubic-bezier(.22,1,.36,1);
  min-width: 280px;
  max-width: 340px;
  pointer-events: auto;
}
.om-toast--in  { opacity: 1; transform: translateY(0); }
.om-toast--out { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.om-toast-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #27AE60; flex-shrink: 0;
  animation: om-pulse 1.6s infinite;
}
@keyframes om-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.om-toast-body {
  font-size: 14px; color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.7; flex: 1;
}
.om-toast-body strong { color: var(--gold); font-weight: 700; }
.om-toast-ago {
  font-size: 11px; color: var(--subtle);
  white-space: nowrap; flex-shrink: 0;
  align-self: flex-end;
}
@media (max-width: 480px) {
  #om-toast-wrap { bottom: 16px; left: 12px; max-width: calc(100vw - 24px); }
  .om-toast { min-width: 260px; max-width: calc(100vw - 24px); }
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer { background: var(--dark); padding: clamp(40px,6vw,64px) clamp(20px,4vw,48px) 0; }
.footer-main {
  max-width: 1040px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 40px;
  justify-content: space-between; align-items: flex-start;
  padding-bottom: clamp(32px,5vw,48px);
}
.footer-en { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--white); letter-spacing: .14em; display: block; margin-bottom: 6px; }
.footer-ja { font-size: 10px; color: rgba(255,255,255,.3); letter-spacing: .1em; display: block; margin-bottom: 12px; }
.footer-addr { font-size: 11px; color: rgba(255,255,255,.3); line-height: 1.9; font-weight: 300; }
.footer-addr a { color: rgba(255,255,255,.3); text-decoration: none; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.4); text-decoration: none; letter-spacing: .04em; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }
.footer-bottom { max-width: 1040px; margin: 0 auto; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.07); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.2); }

/* ════════════════════════════════════════
   DASHBOARD – 物件追加 プレビューレイアウト
════════════════════════════════════════ */
/* 物件追加タブ専用セクション幅 */
.db-section--add { max-width: 1000px; }

/* デスクトップ：フォーム左・プレビュー右の2カラム */
.db-add-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
/* 900px未満：プレビューを上部に移動してフォームの前に見せる */
@media(max-width:900px){
  .db-add-layout { grid-template-columns: 1fr; }
  .db-card-preview-wrap { order: -1; }
}
.db-card-preview-wrap {
  position: sticky;
  top: 72px;
}
.db-card-preview-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.db-card-preview-note {
  font-size: 11px; color: var(--subtle);
  margin-top: 10px; text-align: center;
}

/* ════════════════════════════════════════
   DASHBOARD – 設定タブ
════════════════════════════════════════ */
.db-settings-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  padding: 24px 28px;
}
.db-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.db-settings-label { flex: 1; min-width: 200px; }
.db-settings-title { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.db-settings-desc  { display: block; font-size: 12px; color: var(--muted); line-height: 1.6; }
.db-settings-control {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.db-settings-unit { font-size: 14px; color: var(--muted); }

.db-th-drag { width: 56px; }

/* ドラッグハンドル用セル */
.db-drag-cell {
  width: 56px;
  padding: 0 !important;
  text-align: center;
  vertical-align: middle;
}

/* ハンドルアイコン本体 */
.db-drag-handle {
  cursor: grab;
  color: #ccc;
  font-size: 22px;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-height: 52px;
  padding: 12px 0;
  transition: color .15s, background .15s;
  border-radius: 4px;
}
.db-drag-handle:hover { color: #666; background: var(--surf); }
.db-drag-handle:active { cursor: grabbing; color: var(--ink); }

/* SortableJS ゴーストクラス */
.db-row-ghost { opacity: .45; background: var(--gold-l) !important; }

/* ドラッグ中の行を少し浮かせる */
.db-prop-row.sortable-drag { box-shadow: 0 4px 16px rgba(0,0,0,.12); background: var(--white) !important; }
