/* ===== Home redesign v2 — closer to client mock ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600&display=swap');

.page-home .utility{display:none;}
.page-home .wrap{width:min(1160px,calc(100% - 48px));margin:0 auto;padding:0;}

.page-home header{
  height:74px;
  box-shadow:0 1px 12px rgba(19,42,35,.07);
  border-bottom:none;
  background:#fff;
}
.page-home .header-row{
  width:min(1160px,calc(100% - 48px));
  margin:0 auto;
  padding:0;
  height:74px;
}
.page-home .header-nav a{
  font-size:12px;
  font-weight:600;
  padding:10px 12px;
}
.page-home .header-cta--line{
  background:var(--forest);
  border-radius:8px;
  font-size:12px;
  padding:12px 18px;
}
.page-home .header-cta--line:hover{background:#006d4a;}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:670px;
  display:flex;
  align-items:center;
  color:#fff;
  overflow:hidden;
}
.hero-bg{position:absolute;inset:0;background:#052D25;}
.hero-bg img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 48%;
}
.hero-bg::after{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(7,24,20,.64) 0%,rgba(7,24,20,.26) 47%,rgba(7,24,20,.02) 100%);
}
.hero-inner{
  position:relative;z-index:1;
  padding:80px 0 150px;
  width:100%;
  max-width:none;
}
.hero h1{
  font-family:'Noto Serif JP','Shippori Mincho',serif;
  font-weight:500;
  font-size:clamp(43px,5.2vw,72px);
  letter-spacing:.13em;
  line-height:1.6;
  margin:0 0 20px;
  max-width:min(920px,88%);
}
.hero-lead{
  font-size:15px;
  line-height:2.05;
  font-weight:400;
  color:rgba(255,255,255,.92);
  max-width:min(560px,85%);
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:34px;
}
.btn-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:15px 26px;
  border-radius:8px;
  font-size:13px;
  font-weight:700;
  transition:transform .2s,background .2s;
  white-space:nowrap;
}
.btn-pill:hover{transform:translateY(-2px);}
.btn-pill--green{background:var(--forest);color:#fff;}
.btn-pill--green:hover{background:#006d4a;}
.btn-pill--line{background:var(--forest);color:#fff;}
.btn-pill--line:hover{background:#006d4a;}
.btn-pill--white{background:#fff;color:var(--forest-deep);}
.btn-pill--ghost{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.62);
}
.btn-pill--ghost:hover{background:rgba(255,255,255,.1);}
.btn-outline-dark{
  display:inline-flex;
  align-items:center;
  margin-top:22px;
  padding:12px 22px;
  border:1px solid var(--forest-deep);
  border-radius:8px;
  font-size:13px;
  font-weight:700;
  color:var(--forest-deep);
  background:#fff;
}
.btn-outline-dark:hover{background:var(--forest-deep);color:#fff;}

/* ---------- Floating quick search ---------- */
.search-float{
  position:relative;
  z-index:5;
  margin-top:-65px;
  margin-bottom:8px;
}
.search-panel{
  background:#fff;
  border:1px solid #eaeae5;
  border-radius:12px;
  padding:28px 30px 22px;
  box-shadow:0 15px 35px rgba(30,56,37,.09);
}
.search-panel h2{
  text-align:center;
  font-size:16px;
  font-weight:700;
  letter-spacing:.08em;
  color:#173f34;
  margin:0 0 20px;
}
.search-panel h2::before,
.search-panel h2::after{
  content:'＼';
  color:#91a99b;
  margin:0 14px;
  font-weight:500;
}
.search-panel h2::after{content:'／';}
.search-bar{
  display:grid;
  grid-template-columns:1.15fr 1.15fr 1.15fr .9fr;
  gap:14px;
  align-items:stretch;
}
.search-field{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  border:1px solid #d9dfda;
  border-radius:7px;
  padding:8px 12px;
  background:#fff;
  min-height:60px;
}
.search-field span{
  font-size:11px;
  font-weight:700;
  color:var(--ink-soft);
}
.search-field select{
  border:0;
  outline:none;
  background:transparent;
  font:inherit;
  font-size:13px;
  font-weight:600;
  color:var(--ink);
  padding:2px 0;
  width:100%;
  appearance:auto;
}
.search-go{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:60px;
  padding:0 18px;
  border:0;
  border-radius:8px;
  background:var(--forest-deep);
  color:#fff;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}
.search-go svg{
  width:16px;
  height:16px;
  max-width:16px;
  max-height:16px;
  flex-shrink:0;
}
.search-go:hover{background:var(--mid);}

.section--compact{
  padding-top:56px;
  padding-bottom:64px;
}
#search-detail .section-title{
  margin-bottom:28px;
}

/* ---------- Property search hub (物件を探す) ---------- */
.search-hub{
  background:#f0ebe3;
  border:1px solid #e2dcd0;
  border-radius:8px;
  padding:28px 24px 26px;
  box-shadow:0 4px 18px rgba(32,59,52,.06);
  color:var(--ink);
}
.search-hub__cats{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:0;
  align-items:stretch;
}
.search-hub__cat{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  padding:8px 10px 14px;
  text-align:center;
  color:var(--ink);
  border-right:1px solid #e2dcd0;
  transition:background .2s,color .2s;
}
.search-hub__cat:last-child{border-right:none;}
.search-hub__cat:hover{
  background:rgba(7,60,48,.05);
  color:var(--forest-deep);
}
.search-hub svg{
  display:block;
  width:28px;
  height:28px;
  max-width:28px;
  max-height:28px;
  flex-shrink:0;
}
.search-hub__icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:28px;
  color:var(--forest-deep);
  flex-shrink:0;
}
.search-hub__cat:hover .search-hub__icon{color:var(--forest);}
.search-hub__text{
  display:flex;
  flex-direction:column;
  gap:2px;
  line-height:1.45;
}
.search-hub__text .t-main{
  font-size:14px;
  font-weight:700;
  letter-spacing:.04em;
}
.search-hub__text .t-sub{
  font-size:12px;
  font-weight:500;
  color:var(--ink-soft);
}
.search-hub__divider{
  height:1px;
  background:#e2dcd0;
  margin:22px 0 16px;
}
.search-hub__kw-label{
  text-align:center;
  font-size:10px;
  font-weight:700;
  letter-spacing:.28em;
  color:var(--gold);
  margin:0 0 12px;
}
.search-hub__kw-field{
  display:flex;
  align-items:center;
  gap:12px;
  max-width:720px;
  margin:0 auto;
  background:#fff;
  border:1px solid #e2dcd0;
  border-radius:999px;
  padding:4px 22px;
  min-height:46px;
  box-shadow:0 1px 4px rgba(32,59,52,.04);
}
.search-hub__kw-icon{
  display:flex;
  color:#9aa3a0;
  flex-shrink:0;
}
.search-hub__kw-icon svg{
  width:16px;
  height:16px;
  max-width:16px;
  max-height:16px;
}
.page-home .btn-pill svg,
.page-home .header-cta--line svg{
  width:16px;
  height:16px;
  max-width:16px;
  max-height:16px;
  flex-shrink:0;
}
.search-hub__kw-field input{
  flex:1;
  border:0;
  outline:none;
  font:inherit;
  font-size:14px;
  font-weight:500;
  color:var(--ink);
  background:transparent;
  min-width:0;
}
.search-hub__kw-field input::placeholder{color:#9aa3a0;}
.popular-areas{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  margin-top:18px;
  font-size:12px;
}
.popular-areas strong{
  margin-right:8px;
  color:var(--ink-soft);
  font-weight:700;
}
.popular-areas a{
  background:#f4f4f0;
  border-radius:30px;
  padding:5px 19px;
  font-weight:600;
  color:var(--ink);
}
.popular-areas a:hover{background:#e8ebe6;color:var(--forest-deep);}

/* ---------- Sections ---------- */
.section{padding:82px 0;}
.section--cream{background:#faf9f5;}
.section--soft{background:#fff;}
.section-title{
  font-family:'Noto Serif JP','Shippori Mincho',serif;
  font-size:clamp(24px,2.6vw,32px);
  font-weight:500;
  line-height:1.6;
  text-align:center;
  margin:0 0 34px;
  letter-spacing:.04em;
  color:var(--ink);
}
.section-title::after{
  content:'';
  display:block;
  width:36px;height:2px;
  background:var(--forest-deep);
  margin:12px auto 0;
}
.section-title--left{text-align:left;margin-bottom:0;}
.section-title--left::after{margin-left:0;}
.section-lead{
  text-align:center;
  color:var(--ink-soft);
  font-size:14px;
  margin:-16px 0 28px;
}
.section-head-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:28px;
}
.page-home .more-link{
  font-size:13px;
  font-weight:700;
  color:var(--forest-deep);
  border-bottom:1px solid var(--forest-deep);
  padding-bottom:2px;
  white-space:nowrap;
}

/* Promise */
.promise-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.promise-card{
  border:1px solid #e6e9e4;
  border-radius:9px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 4px 20px rgba(0,0,0,.03);
}
.promise-photo{height:215px;overflow:hidden;}
.promise-photo img{width:100%;height:100%;object-fit:cover;}
.promise-body{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  padding:18px 22px 24px;
  align-items:start;
}
.promise-num{
  font-family:Georgia,'Noto Serif JP',serif;
  font-size:30px;
  color:#9e936e;
  line-height:1;
  padding-top:2px;
}
.promise-body h3{
  font-size:17px;
  font-weight:900;
  margin:4px 0 10px;
}
.promise-body p{
  font-size:13px;
  color:var(--ink-soft);
  line-height:1.9;
  margin:0;
}

/* New properties — horizontal rail */
.section--new-props{
  padding-top:48px;
  padding-bottom:28px;
}
.section--new-props .section-head-row{margin-bottom:18px;}
.new-props-rail{
  padding-right:0;
}
.new-props-scroll{
  display:flex;
  gap:16px;
  overflow-x:auto;
  padding:4px 0 14px;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.new-props-scroll::-webkit-scrollbar{height:6px;}
.new-props-scroll::-webkit-scrollbar-thumb{
  background:rgba(7,60,48,.25);
  border-radius:999px;
}
.new-props-card{
  flex:0 0 min(260px,78vw);
  scroll-snap-align:start;
  min-width:0;
}
.new-props-card .home-pmedia{height:168px;}
.home-pbadge--new{
  background:var(--forest);
}
@media (min-width:1160px){
  .new-props-rail{
    width:min(1160px,calc(100% - 48px));
    margin-left:auto;
    margin-right:auto;
    padding-right:0;
  }
}

/* Featured */
.home-pgrid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.home-pcard{
  display:block;
  border:1px solid #e6e9e4;
  border-radius:9px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 4px 20px rgba(0,0,0,.03);
  transition:transform .2s,box-shadow .2s;
}
.home-pcard:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(18,51,41,.1);
}
.home-pmedia{
  position:relative;
  height:210px;
  overflow:hidden;
  background:#eee;
}
.home-pmedia img{width:100%;height:100%;object-fit:cover;}
.home-pbadge{
  position:absolute;top:12px;left:12px;
  background:var(--forest-deep);
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:.06em;
  padding:5px 10px;
  border-radius:4px;
}
.home-pbody{padding:15px 18px 18px;}
.home-ptitle-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
}
.home-pbody h3{
  font-size:15px;
  font-weight:900;
  margin:0;
  letter-spacing:.02em;
}
.home-heart{color:#c5c9c4;font-size:16px;line-height:1;}
.home-parea{
  font-size:12px;
  color:var(--ink-soft);
  margin:8px 0 10px;
}
.home-pmeta{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:8px;
  font-size:12.5px;
  color:var(--ink-soft);
  margin:0;
}
.home-price{
  font-size:16px;
  font-weight:900;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.home-pmeta .sep{color:#c5c9c4;}
.empty-note{color:var(--ink-soft);font-weight:500;}

/* Flow — side-by-side like mock */
.flow-grid{
  display:grid;
  grid-template-columns:1fr 28px 1fr 28px 1fr;
  gap:10px;
  align-items:stretch;
}
.flow-card{
  border:1px solid #e6e9e4;
  border-radius:8px;
  padding:20px;
  background:#fff;
  min-height:160px;
}
.flow-num{
  display:block;
  font-family:Georgia,'Noto Serif JP',serif;
  font-size:22px;
  color:#a48d58;
  margin-bottom:12px;
}
.flow-row{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:16px;
  align-items:start;
}
.flow-photo{
  width:110px;
  height:94px;
  border-radius:6px;
  overflow:hidden;
}
.flow-photo img{width:100%;height:100%;object-fit:cover;}
.flow-text h3{
  font-size:17px;
  font-weight:900;
  margin:0 0 8px;
}
.flow-text p{
  font-size:12px;
  color:var(--ink-soft);
  line-height:1.8;
  margin:0;
}
.flow-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#c5c9c4;
  font-size:28px;
  font-weight:300;
}

/* Areas — 4 tiles + copy */
.areas-layout{
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(240px,.85fr);
  gap:28px;
  align-items:center;
}
.areas-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
}
.area-tile{
  position:relative;
  height:205px;
  border-radius:7px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  color:#fff;
  padding:25px 10px;
  background:linear-gradient(180deg,rgba(0,26,22,.25),rgba(0,26,22,.72)), var(--bg) center/cover;
  transition:transform .2s;
}
.area-tile:hover{transform:translateY(-2px);}
.area-tile strong{
  font-family:'Noto Serif JP',serif;
  font-size:22px;
  font-weight:500;
  letter-spacing:.08em;
}
.area-tile small{
  margin-top:6px;
  font-size:11px;
  letter-spacing:.18em;
  opacity:.85;
}
.areas-copy{
  background:#fff;
  border:1px solid #e6e9e4;
  border-radius:8px;
  padding:28px 24px;
}
.areas-kicker{
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  color:#9b8b64;
  margin:0 0 12px;
}
.areas-copy p:not(.areas-kicker){
  font-size:13.5px;
  color:var(--ink-soft);
  line-height:1.95;
  margin:0;
}

/* News */
.home-topics{border-top:1px solid #e6e9e4;}
.home-topic{
  display:grid;
  grid-template-columns:100px 80px 1fr;
  gap:16px;
  align-items:center;
  padding:16px 0;
  border-bottom:1px solid #e6e9e4;
  font-size:14px;
}
.home-topic .date{color:var(--ink-soft);font-variant-numeric:tabular-nums;}
.home-topic .tag{font-size:11px;font-weight:700;color:var(--mid);}
.home-topic:hover .title{color:var(--forest);}

/* Bottom CTA — photo full bleed, green gradient from left */
.home-cta{
  position:relative;
  color:#fff;
  overflow:hidden;
}
.home-cta-inner{
  position:relative;
  min-height:380px;
  display:flex;
  align-items:center;
  max-width:none;
  width:100%;
  margin:0;
}
.home-cta-inner::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    var(--forest-deep) 0%,
    var(--forest-deep) 22%,
    rgba(7,60,48,.94) 38%,
    rgba(7,60,48,.72) 52%,
    rgba(7,60,48,.38) 68%,
    rgba(7,60,48,.08) 82%,
    transparent 100%
  );
}
.home-cta-copy{
  position:relative;
  z-index:2;
  flex:0 1 auto;
  box-sizing:border-box;
  width:min(640px,calc(100% - 56px));
  max-width:100%;
  margin-left:max(28px,calc((100vw - 1160px)/2));
  padding:80px 28px 80px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.home-cta-copy h2{
  font-family:'Noto Serif JP',serif;
  font-weight:500;
  font-size:clamp(26px,2.55vw,38px);
  letter-spacing:.06em;
  line-height:1.45;
  margin:0 0 16px;
}
.home-cta-copy > p{
  font-size:14px;
  color:rgba(255,255,255,.78);
  margin:0 0 8px;
}
.home-cta-photo{
  position:absolute;
  inset:0;
  z-index:0;
}
.home-cta-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:72% center;
}

/* Home footer — lighter / simpler */
.page-home footer{
  background:#fff;
  color:var(--ink-soft);
  border-top:1px solid #e6e9e4;
  padding:36px 0 24px;
}
.page-home footer .wrap{
  width:min(1160px,calc(100% - 48px));
}
.page-home .footer-top{border-bottom-color:#e6e9e4;}
.page-home .footer-word .main{color:var(--ink);}
.page-home .footer-word .sub{color:var(--forest);}
.page-home .footer-col .label{color:var(--ink);}
.page-home .footer-col a{color:var(--ink-soft);}
.page-home .footer-col a:hover{color:var(--forest-deep);}
.page-home .footer-partners{border-bottom-color:#e6e9e4;}
.page-home .footer-partners-label{color:var(--ink-soft);}
.page-home .footer-license,
.page-home .footer-bottom{color:var(--ink-soft);}

@media (max-width:1100px){
  .areas-grid{grid-template-columns:repeat(2,1fr);}
  .areas-layout{grid-template-columns:1fr;gap:22px;}
  .flow-grid{grid-template-columns:1fr;gap:14px;}
  .flow-arrow{display:none;}
}

@media (max-width:960px){
  .search-bar{grid-template-columns:1fr 1fr;}
  .search-go{grid-column:1 / -1;min-height:50px;}
  .search-hub__cats{grid-template-columns:repeat(3,minmax(0,1fr));}
  .search-hub__cat:nth-child(3n){border-right:none;}
  .search-hub__cat:nth-child(n+4){border-top:1px solid #e2dcd0;}
  .promise-grid,
  .home-pgrid{grid-template-columns:1fr;}
  .home-cta-inner{min-height:340px;align-items:flex-end;}
  .home-cta-inner::before{
    background:linear-gradient(
      180deg,
      var(--forest-deep) 0%,
      rgba(7,60,48,.88) 45%,
      rgba(7,60,48,.45) 70%,
      transparent 100%
    );
  }
  .home-cta-copy{width:100%;max-width:none;margin-left:0;padding:48px 24px 32px;}
  .home-cta-copy h2{
    white-space:normal;
    font-size:clamp(22px,5.5vw,30px);
    letter-spacing:.05em;
  }
  .home-cta-photo img{object-position:center center;}
  .home-topic{grid-template-columns:1fr;gap:4px;}
  .flow-row{grid-template-columns:90px 1fr;}
  .flow-photo{width:90px;height:80px;}
}

@media (max-width:760px){
  .page-home .wrap,
  .page-home .header-row,
  .page-home footer .wrap{width:min(100% - 32px,560px);}
  .hero{min-height:570px;}
  .hero-inner{padding:75px 0 125px;}
  .hero h1{
    font-size:40px;
    letter-spacing:.08em;
    max-width:100%;
  }
  .hero-lead{font-size:13px;max-width:100%;}
  .hero-actions .btn-pill{width:100%;}
  .search-float{margin-top:-55px;}
  .search-panel{padding:22px 16px;}
  .search-panel h2{font-size:14px;}
  .search-panel h2::before,
  .search-panel h2::after{margin:0 6px;}
  .search-bar{grid-template-columns:1fr;}
  .search-hub{padding:20px 14px 18px;}
  .search-hub__cats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .search-hub__cat{border-right:1px solid #e2dcd0;}
  .search-hub__cat:nth-child(2n){border-right:none;}
  .search-hub__cat:nth-child(n+3){border-top:1px solid #e2dcd0;}
  .search-hub__text .t-main{font-size:13px;}
  .search-hub__kw-field{padding:4px 16px;}
  .section{padding:64px 0;}
  .area-tile{height:160px;}
  .section-head-row{flex-direction:column;align-items:flex-start;}
  .page-home .header-nav{display:none;}
}
