/* エンターホームズ 新デザイン（2026-10-31） */
:root{
  --teal:#0d6159;--deep:#104b47;--teal-2:#14776d;--ivory:#f7f8f5;--mint:#e8f1eb;--mint-2:#d6e8dd;
  --ink:#142c42;--muted:#52656b;--line:#dbe5de;--gold:#b08a3e;--gold-soft:#f4ecdc;--white:#fff;--red:#c2410c;
  --shadow:0 6px 20px rgba(20,44,66,.08),0 2px 5px rgba(20,44,66,.02);--shadow-lg:0 18px 40px rgba(20,44,66,.14);
  --r:18px;--r-sm:10px;
  --font:"Zen Kaku Gothic New","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic","Meiryo",system-ui,-apple-system,"Segoe UI",sans-serif;
  --serif:"Zen Old Mincho","Hiragino Mincho ProN","Yu Mincho",serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{overflow-x:hidden}
body{margin:0;background:var(--ivory);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
h1,h2,h3{margin:0;line-height:1.35}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- header ---------- */
.eh-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.eh-header .bar{display:flex;align-items:center;gap:18px;height:76px}
.eh-brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
.eh-brand img{height:46px;width:auto}
.eh-brand .t{display:flex;flex-direction:column;line-height:1.1}
.eh-brand .t b{font-family:var(--serif);font-size:19px;letter-spacing:.06em;color:var(--deep);font-weight:600}
.eh-brand .t small{font-size:10.5px;letter-spacing:.2em;color:var(--gold);font-weight:700}
.eh-nav{display:flex;gap:4px;margin-left:auto}
.eh-nav a{white-space:nowrap;text-decoration:none;font-size:14.5px;font-weight:600;padding:10px 11px;border-radius:var(--r-sm);color:var(--ink)}
.eh-nav a:hover,.eh-nav a.on{background:var(--mint);color:var(--teal)}
.eh-tools{display:flex;align-items:center;gap:8px}
.eh-icobtn{position:relative;display:flex;flex-direction:column;align-items:center;gap:1px;background:none;border:0;cursor:pointer;padding:6px 8px;border-radius:var(--r-sm);font-size:10.5px;color:var(--muted);text-decoration:none}
.eh-icobtn:hover{background:var(--mint)}
.eh-icobtn svg{width:22px;height:22px;stroke:var(--teal);fill:none;stroke-width:2}
.eh-icobtn span.l{white-space:nowrap}
.eh-badge{position:absolute;top:0;right:4px;min-width:18px;height:18px;border-radius:9px;background:var(--red);color:#fff;font-size:11px;font-weight:700;display:none;align-items:center;justify-content:center;padding:0 5px}
.eh-badge.show{display:flex}
.eh-lang{display:flex;align-items:center;gap:6px;background:var(--ivory);border:1px solid var(--line);border-radius:999px;padding:6px 10px}
.eh-lang svg{width:16px;height:16px;stroke:var(--teal);flex-shrink:0}
.eh-lang select{border:0;background:none;font-size:13.5px;font-weight:600;cursor:pointer;outline:none}
.eh-cta{background:var(--teal);color:#fff!important;text-decoration:none;font-weight:700;font-size:14px;padding:11px 18px;border-radius:999px;white-space:nowrap}
.eh-cta:hover{background:var(--deep)}
.eh-burger{display:none;background:none;border:0;padding:8px;cursor:pointer}
.eh-burger span{display:block;width:22px;height:2px;background:var(--ink);margin:5px 0;border-radius:2px}
@media(max-width:1140px){
  .eh-nav{position:fixed;inset:76px 0 0 0;background:#fff;flex-direction:column;padding:18px 20px;gap:2px;transform:translateX(100%);transition:transform .25s,visibility .25s;overflow-y:auto;visibility:hidden}
  .eh-nav.open{transform:none;visibility:visible}
  .eh-nav a{font-size:17px;padding:14px 12px;border-bottom:1px solid var(--line);border-radius:0}
  .eh-burger{display:block}
  .eh-tools{margin-left:auto}
  .eh-cta.hd{display:none}
}
@media(max-width:560px){
  .eh-header .bar{height:64px;gap:8px}.eh-nav{inset:64px 0 0 0}
  .eh-brand img{height:36px}.eh-brand .t b{font-size:16px}.eh-brand .t small{font-size:9px}
  .eh-lang{padding:5px 8px}.eh-lang select{font-size:12.5px;max-width:74px}
  .eh-icobtn span.l{display:none}
  .eh-brand .t small{display:none}.eh-brand img{max-width:56px}
  .eh-lang svg{display:none}
}

/* ---------- hero + search ---------- */
.eh-hero{position:relative;overflow:hidden;background:var(--deep);color:#fff}
.eh-hero .bg{position:absolute;inset:0;background-size:cover;background-position:center}
.eh-hero .bg::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(10,52,48,.88) 0%,rgba(10,52,48,.62) 48%,rgba(10,52,48,.25) 100%)}
.eh-hero .inner{position:relative;padding-top:64px;padding-bottom:150px}
.eh-hero .kicker{display:inline-block;font-size:12.5px;letter-spacing:.18em;font-weight:700;color:#e8d3a1;margin-bottom:12px}
.eh-hero h1{font-family:var(--serif);font-size:clamp(28px,4.6vw,48px);font-weight:600;letter-spacing:.02em;max-width:720px}
.eh-hero p.lead{max-width:620px;margin:16px 0 0;font-size:15.5px;opacity:.92}
.eh-hero .chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.eh-hero .chips a{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);color:#fff;text-decoration:none;font-size:13px;padding:7px 14px;border-radius:999px}
.eh-hero .chips a:hover{background:rgba(255,255,255,.25)}

.eh-search{position:relative;z-index:5;margin-top:-110px}
.eh-tabs{display:flex;gap:6px;padding-left:22px}
.eh-tabs button{border:0;cursor:pointer;background:rgba(255,255,255,.75);color:var(--muted);font-weight:700;font-size:16px;padding:13px 30px;border-radius:16px 16px 0 0}
.eh-tabs button.on{background:#fff;color:var(--teal)}
.eh-panel{background:#fff;border-radius:var(--r);box-shadow:var(--shadow-lg);padding:24px}
.eh-fields{display:grid;grid-template-columns:1.2fr 1fr 1.4fr 1fr;gap:16px;align-items:end}
.eh-field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px;color:var(--ink)}
.eh-field select,.eh-field input{width:100%;height:48px;border:1px solid var(--line);border-radius:var(--r-sm);padding:0 12px;background:#fff;font-size:15px}
.eh-field select:focus,.eh-field input:focus{outline:2px solid var(--teal-2);outline-offset:0;border-color:transparent}
.eh-range{display:flex;align-items:center;gap:6px}
.eh-range span{color:var(--muted)}
.eh-go{display:flex;gap:10px;margin-top:18px}
.eh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 26px;border-radius:var(--r-sm);border:0;cursor:pointer;font-weight:700;font-size:16px;text-decoration:none}
.eh-btn.pri{background:var(--teal);color:#fff;flex:1}
.eh-btn.pri:hover{background:var(--deep)}
.eh-btn.sec{background:var(--mint);color:var(--teal)}
.eh-btn.sec:hover{background:var(--mint-2)}
.eh-btn.ghost{background:#fff;color:var(--teal);border:1px solid var(--line)}
.eh-btn.line{background:#06c755;color:#fff}
.eh-btn svg{width:20px;height:20px}
@media(max-width:860px){.eh-fields{grid-template-columns:1fr 1fr}.eh-fields .wide{grid-column:1/-1}}
@media(max-width:520px){.eh-fields{grid-template-columns:1fr}.eh-tabs{padding-left:10px}.eh-tabs button{padding:11px 22px;font-size:15px}.eh-panel{padding:18px}.eh-go{flex-direction:column}}

/* ---------- sections ---------- */
section.eh-sec{padding:64px 0}
.eh-sec.alt{background:#fff}
.eh-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap}
.eh-head .k{font-size:12px;letter-spacing:.2em;color:var(--gold);font-weight:700}
.eh-head h2{font-family:var(--serif);font-size:clamp(23px,3vw,31px);font-weight:600;margin-top:4px}
.eh-head p{margin:8px 0 0;color:var(--muted);font-size:15px}
.eh-more{color:var(--teal);font-weight:700;text-decoration:none;font-size:14.5px}
.eh-more::after{content:" ›"}
.eh-band{display:flex;align-items:center;gap:14px;background:linear-gradient(90deg,var(--deep),var(--teal));color:#fff;border-radius:16px;padding:14px 22px;margin:34px 0 16px}
.eh-band h3{font-size:20px;font-weight:700;white-space:nowrap}
.eh-band i{flex:1;height:1px;background:rgba(255,255,255,.35)}
.eh-band small{font-size:11px;letter-spacing:.14em;font-weight:700;opacity:.85;white-space:nowrap}

/* category cards */
.eh-cats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.eh-cat{position:relative;display:flex;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px 20px;text-decoration:none;box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s}
.eh-cat:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.eh-cat .ill{width:96px;height:78px;flex-shrink:0}
.eh-cat b{display:block;font-size:19px}
.eh-cat span{font-size:13px;color:var(--muted)}
.eh-cat .cnt{margin-left:auto;display:flex;align-items:center;gap:8px;font-weight:700;color:var(--teal);font-size:14px;white-space:nowrap}
.eh-cat .cnt::after{content:"›";display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--mint);font-size:18px}
.eh-cat .rib{position:absolute;top:0;left:0;background:var(--teal);color:#fff;font-size:11px;font-weight:700;padding:3px 10px;border-radius:var(--r) 0 10px 0}
.eh-cat.off{opacity:.55;pointer-events:none}
@media(max-width:700px){.eh-cats{grid-template-columns:1fr}.eh-cat .ill{width:74px;height:60px}}

/* property cards */
.eh-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:980px){.eh-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.eh-grid{grid-template-columns:1fr}}
.eh-card{position:relative;background:#fff;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line);display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.eh-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.eh-card a.cover{position:absolute;inset:0;z-index:1}
.eh-card .ph{position:relative;aspect-ratio:4/3;background:var(--mint);overflow:hidden}
.eh-card .ph img{width:100%;height:100%;object-fit:cover}
.eh-card .badges{position:absolute;top:12px;left:12px;display:flex;gap:6px;flex-wrap:wrap;z-index:2}
.eh-tag{display:inline-block;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:6px;background:var(--mint);color:var(--teal)}
.eh-tag.new{background:var(--teal);color:#fff}
.eh-tag.inv{background:var(--gold);color:#fff}
.eh-tag.rent{background:#2563a8;color:#fff}
.eh-fav{position:absolute;top:10px;right:10px;z-index:3;width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.95);box-shadow:0 2px 8px rgba(0,0,0,.15);cursor:pointer;display:flex;align-items:center;justify-content:center}
.eh-fav svg{width:22px;height:22px;stroke:var(--teal);fill:none;stroke-width:2}
.eh-fav.on svg{fill:#f5b301;stroke:#d99a00}
.eh-card .bd{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.eh-card .ward{font-size:12.5px;color:var(--muted)}
.eh-card h3{font-size:17px;font-weight:700}
.eh-price{font-size:24px;font-weight:800;color:var(--teal);letter-spacing:.01em}
.eh-price small{font-size:13px;font-weight:600;color:var(--muted);margin-left:2px}
.eh-meta{display:grid;grid-template-columns:auto 1fr;gap:3px 12px;font-size:13.5px;margin:4px 0 0}
.eh-meta dt{color:var(--muted)}
.eh-meta dd{margin:0}
.eh-card .tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.eh-card .tags span{font-size:11.5px;background:var(--ivory);border:1px solid var(--line);padding:2px 8px;border-radius:999px;color:var(--muted)}

/* AI navi promo */
.eh-navi-promo{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;background:linear-gradient(120deg,var(--mint),#fff);border:1px solid var(--line);border-radius:22px;padding:26px 28px}
.eh-navi-promo .av{width:78px;height:78px;border-radius:50%;background:var(--teal);display:flex;align-items:center;justify-content:center}
.eh-navi-promo .av svg{width:44px;height:44px}
.eh-navi-promo h3{font-size:21px}
.eh-navi-promo p{margin:6px 0 0;color:var(--muted);font-size:14.5px}
@media(max-width:720px){.eh-navi-promo{grid-template-columns:1fr;text-align:center}.eh-navi-promo .av{margin:0 auto}}

/* services */
.eh-svc{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.eh-svc a{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px;text-decoration:none;box-shadow:var(--shadow)}
.eh-svc a:hover{border-color:var(--teal)}
.eh-svc .n{font-family:var(--serif);color:var(--gold);font-size:14px;letter-spacing:.1em}
.eh-svc b{display:block;font-size:17px;margin:6px 0}
.eh-svc p{margin:0;font-size:13.5px;color:var(--muted)}
@media(max-width:900px){.eh-svc{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.eh-svc{grid-template-columns:1fr}}

.eh-promos{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.eh-promo2{position:relative;display:block;border-radius:22px;overflow:hidden;color:#fff;text-decoration:none;min-height:210px;background:var(--deep)}
.eh-promo2 img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45}
.eh-promo2 .tx{position:relative;padding:28px}
.eh-promo2 small{font-size:12px;letter-spacing:.16em;color:#e8d3a1;font-weight:700}
.eh-promo2 b{display:block;font-family:var(--serif);font-size:25px;margin:6px 0 8px}
.eh-promo2 p{margin:0 0 16px;font-size:14.5px;max-width:420px}
.eh-promo2 em{font-style:normal;display:inline-block;background:#fff;color:var(--teal);font-weight:700;font-size:14px;padding:9px 18px;border-radius:999px}
@media(max-width:760px){.eh-promos{grid-template-columns:1fr}}

/* about / gallery / staff */
.eh-about{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.eh-about p{color:var(--muted);margin:0 0 12px}
.eh-about .pic{border-radius:22px;overflow:hidden;box-shadow:var(--shadow-lg)}
@media(max-width:860px){.eh-about{grid-template-columns:1fr}}
.eh-gal{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.eh-gal img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
@media(max-width:600px){.eh-gal{grid-template-columns:1fr 1fr}}
.eh-staff{display:grid;grid-template-columns:repeat(2,minmax(0,280px));gap:22px}
.eh-staff div{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;text-align:center;padding-bottom:16px}
.eh-staff img{width:100%;aspect-ratio:1;object-fit:cover}
.eh-staff b{display:block;margin-top:12px;font-size:17px}
.eh-staff span{font-size:13px;color:var(--gold);font-weight:700}

.eh-info{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.eh-info table{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--r);overflow:hidden;border:1px solid var(--line)}
.eh-info th,.eh-info td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line);font-size:14.5px;vertical-align:top}
.eh-info th{width:34%;background:var(--ivory);color:var(--muted);font-weight:600}
.eh-info iframe{width:100%;height:100%;min-height:340px;border:0;border-radius:var(--r)}
@media(max-width:860px){.eh-info{grid-template-columns:1fr}}

/* contact */
.eh-contact{display:grid;grid-template-columns:1fr 1.4fr;gap:28px}
.eh-ways{display:flex;flex-direction:column;gap:12px}
.eh-way{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px;text-decoration:none}
.eh-way .ic{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.eh-way b{display:block;font-size:17px}
.eh-way span{font-size:13px;color:var(--muted)}
.eh-form{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px}
.eh-form .g{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.eh-form .full{grid-column:1/-1}
.eh-form label{display:block;font-size:13px;font-weight:700;margin-bottom:5px}
.eh-form .req{background:var(--red);color:#fff;font-size:10.5px;padding:1px 6px;border-radius:4px;margin-left:6px}
.eh-form input,.eh-form select,.eh-form textarea{width:100%;border:1px solid var(--line);border-radius:var(--r-sm);padding:12px;font-size:15px;background:#fff}
.eh-form textarea{min-height:130px}
.eh-form .hp{position:absolute;left:-9999px}
.eh-form .note{font-size:12.5px;color:var(--muted)}
.eh-err{display:none;background:#fdecea;color:#9b1c1c;padding:12px 14px;border-radius:10px;margin-bottom:14px;font-size:14px}
@media(max-width:860px){.eh-contact{grid-template-columns:1fr}.eh-form .g{grid-template-columns:1fr}}

/* footer */
.eh-footer{background:var(--deep);color:rgba(255,255,255,.82);padding:46px 0 26px;margin-top:0;font-size:13.5px}
.eh-footer .cols{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:30px}
.eh-footer a{color:rgba(255,255,255,.82);text-decoration:none}
.eh-footer a:hover{color:#fff}
.eh-footer .lg{display:inline-flex;background:#fff;border-radius:12px;padding:8px 14px;margin-bottom:12px}
.eh-footer .lg img{height:40px;width:auto}
.eh-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.eh-footer h4{margin:0 0 10px;font-size:13px;letter-spacing:.14em;color:#e8d3a1}
.eh-footer .cp{border-top:1px solid rgba(255,255,255,.15);margin-top:30px;padding-top:16px;font-size:12px;opacity:.7}
@media(max-width:760px){.eh-footer .cols{grid-template-columns:1fr}}

/* floating */
.eh-float{position:fixed;right:16px;bottom:16px;z-index:70;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.eh-float a,.eh-float button{display:inline-flex;align-items:center;gap:8px;border:0;cursor:pointer;text-decoration:none;font-weight:700;font-size:14.5px;padding:12px 18px;border-radius:999px;box-shadow:0 6px 18px rgba(0,0,0,.2)}
.eh-float .ln{background:#06c755;color:#fff}
.eh-float .nv{background:var(--teal);color:#fff}
.eh-float svg{width:20px;height:20px}
@media(max-width:560px){.eh-float{right:10px;bottom:10px}.eh-float a,.eh-float button{padding:11px 14px;font-size:13.5px}}

/* AI navi chat */
.eh-chat{position:fixed;right:16px;bottom:16px;z-index:90;width:380px;max-width:calc(100vw - 20px);height:600px;max-height:calc(100vh - 32px);background:#fff;border-radius:22px;box-shadow:0 24px 60px rgba(20,44,66,.3);display:none;flex-direction:column;overflow:hidden}
.eh-chat.open{display:flex}
.eh-chat .top{display:flex;align-items:center;gap:10px;background:linear-gradient(90deg,var(--deep),var(--teal));color:#fff;padding:14px 16px}
.eh-chat .top .av{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.18);display:flex;align-items:center;justify-content:center}
.eh-chat .top b{display:block;font-size:15px}
.eh-chat .top small{font-size:11.5px;opacity:.85}
.eh-chat .top button{margin-left:auto;background:none;border:0;color:#fff;font-size:24px;cursor:pointer;line-height:1}
.eh-chat .log>*{flex-shrink:0}
.eh-chat .log{flex:1;overflow-y:auto;padding:16px;background:var(--ivory);display:flex;flex-direction:column;gap:10px}
.eh-msg{max-width:88%;padding:10px 14px;border-radius:16px;font-size:14.5px;line-height:1.6;white-space:pre-line}
.eh-msg.bot{background:#fff;border:1px solid var(--line);border-top-left-radius:4px;align-self:flex-start}
.eh-msg.me{background:var(--teal);color:#fff;border-top-right-radius:4px;align-self:flex-end}
.eh-opts{display:flex;flex-wrap:wrap;gap:6px;align-self:flex-start}
.eh-opts button,.eh-opts a{border:1px solid var(--teal);background:#fff;color:var(--teal);font-weight:700;font-size:13.5px;padding:8px 13px;border-radius:999px;cursor:pointer;text-decoration:none}
.eh-opts button:hover,.eh-opts a:hover{background:var(--mint)}
.eh-opts a.line{background:#06c755;border-color:#06c755;color:#fff}
.eh-mini{display:flex;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px;text-decoration:none;align-self:stretch}
.eh-mini img{width:84px;height:64px;object-fit:cover;border-radius:8px;flex-shrink:0}
.eh-mini b{display:block;font-size:13.5px;line-height:1.4}
.eh-mini span{font-size:13px;color:var(--teal);font-weight:800}
.eh-chat .foot{padding:8px 14px;font-size:11px;color:var(--muted);border-top:1px solid var(--line);background:#fff}

/* ---------- search page ---------- */
.eh-crumb{font-size:13px;color:var(--muted);padding:16px 0 0}
.eh-crumb a{color:var(--teal);text-decoration:none}
.eh-page-h{padding:12px 0 6px}
.eh-page-h h1{font-family:var(--serif);font-size:clamp(25px,3.4vw,34px);font-weight:600}
.eh-seg{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.eh-seg button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 16px;font-weight:700;font-size:14px;cursor:pointer;color:var(--ink)}
.eh-seg button b{color:var(--teal);margin-left:6px}
.eh-seg button.on{background:var(--teal);color:#fff;border-color:var(--teal)}
.eh-seg button.on b{color:#fff}
.eh-layout{display:grid;grid-template-columns:290px 1fr;gap:26px;align-items:start;padding-bottom:70px}
.eh-side{position:sticky;top:96px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:18px;display:flex;flex-direction:column;gap:14px}
.eh-side h3{font-size:16px}
.eh-side .eh-field select,.eh-side .eh-field input{height:42px;font-size:14px}
.eh-chk{display:flex;flex-direction:column;gap:2px;font-size:14px}
.eh-chk label{display:flex;align-items:center;gap:8px;cursor:pointer}
.eh-chk input{width:18px;height:18px;accent-color:var(--teal)}
.eh-side .eh-btn{height:44px;min-height:44px;flex-shrink:0;font-size:14.5px;width:100%;margin-top:6px}
.eh-side form{display:flex;flex-direction:column;gap:12px}
.eh-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.eh-toolbar .cnt{font-size:15px}
.eh-toolbar .cnt b{font-size:22px;color:var(--teal)}
.eh-toolbar select{height:40px;border:1px solid var(--line);border-radius:var(--r-sm);padding:0 10px;background:#fff}
.eh-empty{background:#fff;border:1px dashed var(--line);border-radius:var(--r);padding:36px;text-align:center;color:var(--muted)}
.eh-saved{display:flex;flex-direction:column;gap:8px}
.eh-saved div{display:flex;align-items:center;gap:8px;background:var(--ivory);border-radius:10px;padding:8px 10px;font-size:13px}
.eh-saved a{flex:1;color:var(--teal);font-weight:700;text-decoration:none}
.eh-saved button{background:none;border:0;color:var(--muted);cursor:pointer;font-size:16px}
.eh-fbtn{display:none}
@media(max-width:900px){
  .eh-layout{grid-template-columns:1fr}
  .eh-side{position:fixed;inset:auto 0 0 0;top:auto;z-index:80;border-radius:22px 22px 0 0;max-height:85vh;overflow-y:auto;transform:translateY(105%);transition:transform .25s,visibility .25s;visibility:hidden;box-shadow:0 -10px 40px rgba(0,0,0,.2)}
  .eh-side.open{transform:none;visibility:visible}
  .eh-fbtn{display:inline-flex}
}
.eh-toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 18px;border-radius:999px;font-size:14px;z-index:100;opacity:0;transition:opacity .2s;pointer-events:none}
.eh-toast.show{opacity:1}

/* ---------- property detail (existing pages) ---------- */
.eh-detail main .wrap{max-width:1120px}
.eh-detail .breadcrumb{font-size:13px;color:var(--muted);padding:16px 0 0;margin:0}
.eh-detail .breadcrumb a{color:var(--teal);text-decoration:none}
.eh-detail .detail-head{padding:14px 0 10px;position:relative}
.eh-detail .detail-head .eyebrow{font-size:12px;letter-spacing:.18em;color:var(--gold);font-weight:700;margin:0}
.eh-detail .detail-head h1{font-family:var(--serif);font-size:clamp(25px,3.6vw,36px);font-weight:600;margin:6px 0 8px;padding-right:56px}
.eh-detail .detail-head .loc{color:var(--muted);margin:0;font-size:14.5px}
.eh-detail .detail-price{font-size:clamp(28px,4vw,38px);font-weight:800;color:var(--teal);margin:12px 0 4px}
.eh-detail .detail-price span{font-size:15px;color:var(--muted);font-weight:600;margin-left:4px}
.eh-detail .tag-row{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.eh-detail .tag{font-size:12.5px;font-weight:700;background:var(--mint);color:var(--teal);padding:4px 10px;border-radius:999px}
.eh-detail .detail-head .eh-fav{top:16px;right:0}
.eh-detail .photo-gallery{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:10px;margin:14px 0}
.eh-detail .photo-gallery .ph:first-child{grid-row:1/3}
.eh-detail .ph{position:relative;border-radius:14px;overflow:hidden;background:var(--mint);cursor:zoom-in}
.eh-detail .ph img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3}
.eh-detail .photo-gallery .ph:first-child img{aspect-ratio:auto;height:100%}
.eh-detail .ph-label{position:absolute;left:10px;bottom:10px;background:rgba(0,0,0,.55);color:#fff;font-size:12px;padding:3px 10px;border-radius:999px;z-index:1}
.eh-detail .sub-gallery{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:30px}
@media(max-width:760px){.eh-detail .photo-gallery{grid-template-columns:1fr;grid-template-rows:auto}.eh-detail .photo-gallery .ph:first-child{grid-row:auto}.eh-detail .sub-gallery{grid-template-columns:repeat(3,1fr)}}
.eh-detail h2{font-family:var(--serif);font-size:22px;font-weight:600;margin:34px 0 14px;padding-left:12px;border-left:4px solid var(--teal)}
.eh-detail .madori-section figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:16px}
.eh-detail .madori-section .ph{background:#fff;cursor:zoom-in}
.eh-detail .madori-section .ph img{object-fit:contain;aspect-ratio:auto;max-height:620px;margin:0 auto;width:auto}
.eh-detail figcaption{font-size:13.5px;color:var(--muted);margin-top:10px}
.eh-detail .spec-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;margin-top:30px}
.eh-detail .spec-table th,.eh-detail .spec-table td{text-align:left;padding:12px 16px;border-bottom:1px solid var(--line);font-size:14.5px;vertical-align:top}
.eh-detail .spec-table th{width:28%;background:var(--ivory);color:var(--muted);font-weight:600}
@media(max-width:600px){.eh-detail .spec-table th,.eh-detail .spec-table td{display:block;width:100%}.eh-detail .spec-table th{border-bottom:0;padding-bottom:2px}}
.eh-detail .life-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.eh-detail .life-grid li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.eh-detail .life-grid b{display:block;font-size:14.5px}
.eh-detail .life-grid span{font-size:13px;color:var(--muted)}
.eh-detail .note-box{background:var(--gold-soft);border-radius:var(--r);padding:18px 20px;margin:26px 0;font-size:14.5px}
.eh-detail .note-box h3{font-size:15px;margin-bottom:6px}
.eh-detail .detail-cta{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 10px}
.eh-detail .btn-primary,.eh-detail .btn-secondary{display:inline-flex;align-items:center;height:50px;padding:0 24px;border-radius:var(--r-sm);font-weight:700;text-decoration:none}
.eh-detail .btn-primary{background:var(--teal);color:#fff}
.eh-detail .btn-secondary{background:var(--mint);color:var(--teal)}
.eh-detail .eh-inq{margin:30px 0 60px;padding:0}
.eh-detail .eh-inq .box{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px;text-align:center;box-shadow:var(--shadow)}
.eh-detail .eh-inq h2{border:0;padding:0;margin:0 0 6px;font-size:21px}
.eh-detail .eh-inq p{color:var(--muted);font-size:14px;margin:0}
.eh-detail .eh-inq .row{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:16px}
.eh-detail .eh-btn-tel,.eh-detail .eh-btn-line{display:inline-flex;align-items:center;height:52px;padding:0 26px;border-radius:999px;font-weight:700;text-decoration:none}
.eh-detail .eh-btn-tel{border:1px solid var(--teal);color:var(--teal);background:#fff}
.eh-detail .eh-btn-line{background:#06c755;color:#fff}
.eh-trans{background:#fff;border:1px solid var(--teal);border-radius:var(--r);padding:16px 18px;margin:14px 0;display:none}
.eh-trans.show{display:block}
.eh-trans b{display:block;font-size:17px;margin-bottom:6px}
.eh-trans dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:8px 0;font-size:14px}
.eh-trans dt{color:var(--muted)}.eh-trans dd{margin:0}
.eh-trans small{color:var(--muted);font-size:12.5px}
.eh-similar{margin:10px 0 60px}

/* lightbox */
.eh-lb{position:fixed;inset:0;background:rgba(10,20,25,.92);z-index:120;display:none;align-items:center;justify-content:center;flex-direction:column}
.eh-lb.open{display:flex}
.eh-lb img{max-width:92vw;max-height:80vh;object-fit:contain;border-radius:8px}
.eh-lb .cap{color:#fff;margin-top:12px;font-size:14px}
.eh-lb button{position:absolute;background:rgba(255,255,255,.15);border:0;color:#fff;width:52px;height:52px;border-radius:50%;font-size:26px;cursor:pointer}
.eh-lb .x{top:16px;right:16px}.eh-lb .p{left:16px;top:50%}.eh-lb .n{right:16px;top:50%}

/* simple pages (satei/kanri) */
.eh-simple .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.eh-simple .stat{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:22px;text-align:center}
.eh-simple .stat b{display:block;font-size:30px;color:var(--teal);font-weight:800;line-height:1.3}
.eh-simple .stat span{font-size:13px;color:var(--muted)}
.eh-simple ul.check{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.eh-simple ul.check li{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px 12px 40px;position:relative;font-size:15px}
.eh-simple ul.check li::before{content:"✓";position:absolute;left:14px;color:var(--teal);font-weight:800}
.eh-simple .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.eh-simple .card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:20px}
.eh-simple .card .num{font-size:12px;letter-spacing:.14em;color:var(--gold);font-weight:700}
.eh-simple .card h3{font-size:17px;margin:4px 0 6px}
.eh-simple .card p{margin:0;font-size:14px;color:var(--muted)}
.eh-simple .faq dt{font-weight:700;margin-top:16px}
.eh-simple .faq dt::before{content:"Q. ";color:var(--teal)}
.eh-simple .faq dd{margin:6px 0 0;color:var(--muted)}
.eh-simple .faq dd::before{content:"A. ";color:var(--gold);font-weight:700}
.eh-simple .band2{background:var(--mint);border-radius:var(--r);padding:16px 20px;margin-top:16px}
@media(max-width:760px){.eh-simple .stats,.eh-simple .cards{grid-template-columns:1fr}.eh-simple ul.check{grid-template-columns:1fr}}

/* satei / kanri（本文） */
.eh-simple .breadcrumb{font-size:13px;color:var(--muted);padding:16px 0 0;margin:0}
.eh-simple .breadcrumb a{color:var(--teal);text-decoration:none}
.eh-simple .page-head{padding:18px 0 10px}
.eh-simple .eyebrow{font-size:12px;letter-spacing:.2em;color:var(--gold);font-weight:700;margin:0}
.eh-simple .page-head h1{font-family:var(--serif);font-size:clamp(27px,4vw,40px);font-weight:600;margin:6px 0}
.eh-simple .lead{color:var(--muted);max-width:720px;font-size:15.5px}
.eh-simple .cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.eh-simple .btn-primary,.eh-simple .btn-line2,.eh-simple .btn-tel{display:inline-flex;align-items:center;gap:8px;height:52px;padding:0 24px;border-radius:999px;font-weight:700;text-decoration:none;border:0;cursor:pointer;font-size:15.5px}
.eh-simple .btn-primary{background:var(--teal);color:#fff}
.eh-simple .btn-line2{background:#06c755;color:#fff}
.eh-simple .btn-tel{background:#fff;color:var(--teal);border:1px solid var(--teal)}
.eh-simple section.blk{margin:46px 0}
.eh-simple section.blk h2{font-family:var(--serif);font-size:clamp(21px,2.6vw,27px);font-weight:600;margin-bottom:16px;padding-left:12px;border-left:4px solid var(--teal)}
.eh-simple .band{background:var(--mint);border-radius:var(--r);padding:16px 20px;font-size:15px}
.eh-simple form.qf{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px}
.eh-simple .fg{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.eh-simple .fg .full{grid-column:1/-1}
.eh-simple form.qf label{display:block;font-size:13px;font-weight:700;margin-bottom:5px}
.eh-simple form.qf .req{background:var(--red);color:#fff;font-size:10.5px;padding:1px 6px;border-radius:4px;margin-left:6px}
.eh-simple form.qf .opt{color:var(--muted);font-size:11.5px;margin-left:6px;font-weight:400}
.eh-simple form.qf input,.eh-simple form.qf select,.eh-simple form.qf textarea{width:100%;border:1px solid var(--line);border-radius:var(--r-sm);padding:12px;font-size:15px;background:#fff}
.eh-simple form.qf textarea{min-height:120px}
.eh-simple .hp{position:absolute;left:-9999px}
.eh-simple .note{font-size:12.5px;color:var(--muted)}
.eh-simple main{padding-bottom:40px}
@media(max-width:760px){.eh-simple .fg{grid-template-columns:1fr}}

.eh-nav a.mob{display:none}
@media(max-width:1140px){.eh-nav a.mob{display:block}}

/* ========== フェーズ1追加: 物件番号・新着バッジ・一言PRコメント・建物まとめ・地図検索（2026-11-19） ========== */

/* 新着バッジ */
.eh-tag.fresh{background:var(--gold);color:#fff}

/* 物件番号 */
.eh-code{font-size:11.5px;color:var(--muted);font-weight:600;margin-left:4px}
.eh-code-line{font-size:13px;color:var(--muted);margin:4px 0 0}

/* 一言PRコメント（スタッフコメント） */
.eh-point-box{background:var(--mint);border-radius:var(--r-sm);padding:14px 18px;margin:16px 0}
.eh-point-box h3{font-size:14px;color:var(--teal);margin:0 0 6px}
.eh-point-box p{margin:0;font-size:14.5px;line-height:1.7;color:var(--ink)}

/* 建物単位のまとめ表示 */
.eh-card-building .eh-unit-count{position:absolute;right:12px;bottom:12px;z-index:2;background:rgba(13,97,89,.88);color:#fff;font-size:12.5px;font-weight:700;padding:4px 10px;border-radius:20px}
.eh-card-building .eh-price{margin-bottom:6px}
.eh-unit-list{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;max-height:118px;overflow-y:auto}
.eh-unit-list li{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;padding:4px 0;border-bottom:1px solid var(--line)}
.eh-unit-list li:last-child{border-bottom:0}
.eh-unit-list a{color:var(--ink);text-decoration:none;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.eh-unit-list a:hover{color:var(--teal)}
.eh-unit-list span{color:var(--teal);font-weight:700;white-space:nowrap}

/* 地図検索 */
.eh-mapbtn{display:inline-flex}
.eh-mapwrap{width:100%;height:70vh;min-height:420px;max-height:720px;border-radius:var(--r);overflow:hidden;border:1px solid var(--line)}
.eh-mapcanvaswrap{width:100%;height:100%}
#ehMapCanvas{width:100%;height:100%}
