/*
Theme Name: LINKS HOME Property
Theme URI: https://linkshome.jp/
Author: LINKS HOME
Description: 現在のリンクスホームデザインを維持し、物件情報を管理画面から登録できる専用テーマです。
Version: 4.0.0
Text Domain: linkshome
*/

:root {
  --orange:#f07800;
  --green:#20b638;
  --black:#05101e;
  --bg:#f7f7f7;
  --line:#e6e6e6;
  --top-img:url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1800&q=85");
  --sell-img:url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1800&q=85");
  --buy-img:url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1800&q=85");
  --company-img:url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=85");
  --contact-img:url("https://images.unsplash.com/photo-1552566626-52f8b828add9?auto=format&fit=crop&w=1800&q=85");
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  color:#111;
  line-height:1.8;
  background:#fff;
}
a{text-decoration:none;color:inherit}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.site-header{
  background:var(--black);
  color:#fff;
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 1px 0 rgba(255,255,255,.08);
}
.header-inner{min-height:80px;display:flex;align-items:center;gap:22px}
.logo{display:flex;align-items:center;gap:12px;min-width:220px}
.logo img{width:60px;height:60px;object-fit:contain}
.logo strong{font-size:22px;font-weight:900;letter-spacing:.06em;white-space:nowrap}
.nav{display:flex;gap:18px;flex:1;font-size:12px;font-weight:900;white-space:nowrap}
.nav a{color:#fff;padding:9px 0;border-bottom:2px solid transparent}
.nav a.active,.nav a:hover{color:var(--orange);border-bottom-color:var(--orange)}
.header-contact{display:flex;align-items:center;gap:9px}
.tel{font-size:21px;font-weight:900;white-space:nowrap}
.tel small{display:block;font-size:10px;color:#ccc;font-weight:600}
.header-btn{padding:9px 13px;color:#fff;border-radius:3px;font-size:12px;font-weight:900;white-space:nowrap}
.header-btn.green{background:var(--green)}
.header-btn.orange{background:var(--orange)}

.hero,.page-hero{position:relative;color:#fff;background:#111 center/cover no-repeat;overflow:hidden}
.hero{min-height:620px;background-image:linear-gradient(90deg,rgba(3,10,20,.92) 0%,rgba(3,10,20,.70) 42%,rgba(3,10,20,.14) 82%),var(--top-img)}
.sell-hero{background-image:linear-gradient(90deg,rgba(3,10,20,.90),rgba(3,10,20,.62),rgba(3,10,20,.14)),var(--sell-img)}
.buy-hero{background-image:linear-gradient(90deg,rgba(3,10,20,.90),rgba(3,10,20,.62),rgba(3,10,20,.14)),var(--buy-img)}
.company-hero{background-image:linear-gradient(90deg,rgba(3,10,20,.92),rgba(3,10,20,.66),rgba(3,10,20,.16)),var(--company-img)}
.faq-hero{background-image:linear-gradient(90deg,rgba(3,10,20,.90),rgba(3,10,20,.62),rgba(3,10,20,.14)),var(--sell-img)}
.contact-hero{background-image:linear-gradient(90deg,rgba(3,10,20,.92),rgba(3,10,20,.66),rgba(3,10,20,.16)),var(--contact-img)}
.hero .wrap{padding-top:112px;padding-bottom:72px}
.page-hero{min-height:360px}
.page-hero .wrap{padding-top:82px;padding-bottom:72px}
.eyebrow{color:var(--orange);font-weight:900;letter-spacing:.32em;font-size:14px;margin-bottom:16px}
h1{font-size:clamp(38px,5vw,62px);line-height:1.32;margin:0 0 22px;font-weight:900;letter-spacing:.035em}
.orange-text{color:var(--orange)}
.lead{max-width:700px;color:rgba(255,255,255,.95);font-size:17px;font-weight:700;margin:0 0 30px}
.btns{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:190px;
  padding:14px 22px;
  border-radius:3px;
  border:1px solid #fff;
  background:#fff;
  color:#111;
  text-align:center;
  line-height:1.55;
  font-weight:900;
  font-size:14px;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}
.btn.orange{background:var(--orange);border-color:var(--orange);color:#fff}
.btn.green{background:var(--green);border-color:var(--green);color:#fff}
.btn.black{background:#111;border-color:#111;color:#fff}
section{padding:72px 0}
.bg{background:var(--bg)}
.section-head{text-align:center;margin-bottom:38px}
.section-head .en{color:var(--orange);font-weight:900;letter-spacing:.26em;font-size:14px}
.section-head h2{font-size:30px;margin:4px 0 0;line-height:1.45}
.section-head p{color:#555;max-width:760px;margin:12px auto 0}
.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.reason-grid{display:grid;grid-template-columns:repeat(3,1fr)}
.reason-card{text-align:center;padding:10px 34px;border-right:1px solid var(--line)}
.reason-card:last-child{border-right:0}
.reason-card .num{color:var(--orange);font-family:Georgia,serif;font-size:38px;line-height:1;margin-bottom:16px}
.reason-card h3{font-size:20px;margin:0 0 10px}
.reason-card p{font-size:14px;color:#444;margin:0}
.card{background:#fff;border:1px solid var(--line);box-shadow:0 10px 28px rgba(0,0,0,.05);padding:28px}
.card h3{font-size:22px;margin:0 0 10px}
.card p{color:#555;margin:0 0 18px}
.photo{height:136px;margin:-28px -28px 18px;background:center/cover no-repeat}
.photo.top{background-image:var(--top-img)}
.photo.sell{background-image:var(--sell-img)}
.photo.living{background-image:var(--buy-img)}
.photo.lounge{background-image:var(--contact-img)}
.service-card{min-height:260px;color:#fff;background:center/cover no-repeat;position:relative;overflow:hidden;padding:34px}
.service-card:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.84),rgba(0,0,0,.30))}
.service-card.sell{background-image:var(--sell-img)}
.service-card.buy{background-image:var(--buy-img)}
.service-card>*{position:relative;z-index:1}
.service-card h3{color:var(--orange);font-size:25px;margin:0 0 10px}
.service-card ul{padding-left:20px;margin:0 0 18px}
.flow-section{background:#111;color:#fff}
.flow{display:grid;grid-template-columns:repeat(5,1fr)}
.flow-item{text-align:center;padding:28px 14px;border-right:1px solid rgba(255,255,255,.14)}
.flow-item:last-child{border-right:0}
.step{font-family:Georgia,serif;font-size:31px;color:var(--orange)}
.flow-item h3{font-size:18px;margin:10px 0 6px}
.flow-item p{font-size:13px;color:rgba(255,255,255,.76);margin:0}

.company-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:34px}
.message{background:#f2f2f2;padding:30px}
.representative-photo{background:#fff;border:1px solid var(--line);padding:12px;margin-bottom:18px;text-align:center}
.representative-photo img{width:auto;max-width:100%;height:auto;max-height:430px;object-fit:contain;display:block;margin:0 auto}
.office-photo{height:180px;background:var(--company-img) center/cover no-repeat;border:1px solid var(--line);margin-top:18px}
table{width:100%;border-collapse:collapse;background:#fff}
th,td{border-bottom:1px solid var(--line);padding:14px;text-align:left;vertical-align:top}
th{width:32%;font-size:13px;color:#666}
.map{margin-top:24px}
.qa-wrap{max-width:980px;margin:0 auto}
.qa-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:38px}
.qa-mini{background:#fff;border:1px solid var(--line);padding:22px}
.qa-mini h3{color:var(--orange);margin:0 0 10px}
.qa-item{background:#fff;border-bottom:1px solid var(--line);padding:18px 22px}
.q{font-weight:900;margin:0}
.q span,.a span{color:var(--orange);margin-right:8px}
.a{color:#555;margin:6px 0 0}
.contact-section{background:#111;color:#fff}
.contact-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.contact-card{background:#fff;color:#111;text-align:center;border:1px solid var(--line);padding:32px 24px}
.big{font-size:28px;font-weight:900}
.form-area{max-width:820px;margin:34px auto 0;background:#fff;border:1px solid var(--line);padding:30px}
.area-list{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.area-list span{border:1px solid var(--line);padding:9px 16px;border-radius:999px;background:#fff;font-weight:800}
footer{background:#070707;color:#bbb;padding:28px 0;font-size:13px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:28px}
.footer-title{font-size:22px;color:#fff;font-weight:900;letter-spacing:.08em}
footer h4{color:var(--orange);margin:0 0 10px}
footer p,footer a{margin:0;color:#ccc;font-size:13px}
.copy{text-align:center;border-top:1px solid rgba(255,255,255,.08);margin-top:24px;padding-top:18px;color:#888}
@media(max-width:980px){
  .header-inner{height:auto;display:block;padding:12px 0}
  .logo img{width:74px;height:74px}
  .nav{overflow-x:auto;white-space:nowrap;padding:8px 0}
  .header-contact{flex-wrap:wrap;margin-top:8px}
  h1{font-size:36px}
  .hero{min-height:auto}
  .hero .wrap{padding-top:72px}
  .reason-grid,.grid2,.grid4,.flow,.company-grid,.qa-grid,.contact-cards,.footer-grid{grid-template-columns:1fr}
  .reason-card{border-right:0;border-bottom:1px solid var(--line)}
  .flow-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.14)}
}
/* Property additions */
.property-section{padding:72px 0;background:#f7f7f7}
.property-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.property-card{background:#fff;border:1px solid var(--line);box-shadow:0 10px 28px rgba(0,0,0,.06);overflow:hidden}
.property-thumb{display:block;aspect-ratio:4/3;background:#ececec center/cover no-repeat}
.property-body{padding:20px}
.property-badges{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px}
.property-badge{font-size:11px;font-weight:900;color:#fff;background:var(--orange);padding:4px 8px;border-radius:2px}
.property-badge.status{background:#111}
.property-title{font-size:19px;line-height:1.5;margin:0 0 8px}
.property-price{font-size:24px;color:var(--orange);font-weight:900;margin:0 0 8px}
.property-meta{font-size:13px;color:#555;margin:3px 0}
.property-detail{display:grid;grid-template-columns:1.25fr .75fr;gap:32px;align-items:start}
.property-gallery img{width:100%;height:auto;display:block;border:1px solid var(--line)}
.property-summary{background:#fff;border:1px solid var(--line);padding:26px;position:sticky;top:100px}
.property-summary h1{font-size:30px;color:#111;margin:0 0 10px}
.property-summary .property-price{font-size:30px}
.property-table th{width:34%}
.property-empty{text-align:center;padding:40px;background:#fff;border:1px solid var(--line)}
.admin-note{font-size:12px;color:#666}
@media(max-width:980px){.property-grid,.property-detail{grid-template-columns:1fr}.property-summary{position:static}}

/* Sales-sheet slider v3: responsive card carousel */
.property-slider-shell{position:relative;padding:0 10px}
.property-slider{
  display:flex;
  gap:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:10px 2px 18px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}
.property-slider::-webkit-scrollbar{display:none}
.property-sheet-card{
  flex:0 0 calc((100% - 60px)/4);
  min-width:0;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:0 10px 28px rgba(0,0,0,.07);
  overflow:hidden;
}
.property-sheet-link{display:block;color:#111;height:100%}
.property-sheet-image{aspect-ratio:1/1.414;background:#eee;overflow:hidden;border-bottom:1px solid var(--line)}
.property-sheet-image img{width:100%;height:100%;object-fit:cover;object-position:top;display:block;transition:transform .25s ease}
.property-sheet-link:hover .property-sheet-image img{transform:scale(1.02)}
.property-sheet-body{padding:14px}
.property-sheet-body h3{font-size:16px;line-height:1.5;margin:8px 0 12px;min-height:48px}
.property-sheet-button{display:block;text-align:center;padding:10px 8px;background:var(--orange);color:#fff;font-weight:900;border-radius:4px;font-size:13px}
.property-arrow{position:absolute;z-index:4;top:43%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:0;background:rgba(17,17,17,.86);color:#fff;font-size:31px;line-height:1;cursor:pointer;box-shadow:0 5px 16px rgba(0,0,0,.25)}
.property-prev{left:-12px}.property-next{right:-12px}
.property-arrow:disabled{opacity:.28;cursor:default}
.property-scroll-hint{text-align:center;color:#777;font-size:12px;margin-top:4px}
.property-slider-dots{display:flex;justify-content:center;gap:7px;margin-top:12px}
.property-slider-dot{width:7px;height:7px;border-radius:999px;border:0;background:#c8c8c8;padding:0;transition:.2s;cursor:pointer}
.property-slider-dot.is-active{width:20px;background:var(--orange)}
.property-sheet-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.property-sheet-grid .property-sheet-card{width:auto;min-width:0}
.sales-sheet-single{text-align:center;max-width:820px;margin:0 auto}
.sales-sheet-single img{max-width:100%;height:auto;border:1px solid var(--line);box-shadow:0 10px 28px rgba(0,0,0,.08)}
@media(max-width:980px){
  .property-sheet-card{flex-basis:calc((100% - 20px)/2)}
  .property-slider-shell{padding:0}
  .property-arrow{display:none}
  .property-sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .property-section{padding:46px 0}
  .property-section .wrap{padding-right:16px;padding-left:16px}
  .property-slider{gap:14px;padding:8px 8vw 14px 0;scroll-padding-left:0}
  .property-sheet-card{flex-basis:84vw;max-width:340px;border-radius:7px}
  .property-sheet-body{padding:12px}
  .property-sheet-body h3{font-size:15px;min-height:0;margin:7px 0 10px}
  .property-sheet-button{font-size:13px;padding:10px 7px}
  .property-sheet-grid{grid-template-columns:1fr}
  .property-scroll-hint{font-size:11px}
}


/* Sales-sheet slider v4: compact responsive cards inspired by LINKS HOME mockup */
.property-section{background:#fff;padding:54px 0 64px}
.property-section .section-head{margin-bottom:24px}
.property-section .section-head h2{font-size:28px}
.property-slider-shell{position:relative;padding:0 38px}
.property-slider{gap:14px;padding:8px 2px 20px}
.property-sheet-card{
  flex:0 0 calc((100% - 56px)/5);
  border-radius:10px;
  box-shadow:0 5px 18px rgba(0,0,0,.08);
  border:1px solid #e9e9e9;
  overflow:visible;
  position:relative;
}
.property-sheet-link{border-radius:10px;overflow:hidden;background:#fff}
.property-sheet-image{aspect-ratio:1/1.17;background:#f2f2f2;border-bottom:0}
.property-sheet-image img{object-fit:cover;object-position:top}
.property-sheet-body{padding:11px 12px 14px}
.property-card-tags{display:flex;gap:5px;flex-wrap:wrap;position:absolute;left:8px;top:-8px;z-index:2}
.property-card-tag{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:999px;color:#fff;font-size:10px;font-weight:900;line-height:1.2;box-shadow:0 2px 5px rgba(0,0,0,.12)}
.property-card-tag.orange{background:#f27817}.property-card-tag.red{background:#ff595e}.property-card-tag.green{background:#3bae49}.property-card-tag.blue{background:#4979df}.property-card-tag.purple{background:#8a5bd0}.property-card-tag.yellow{background:#e8ad14}.property-card-tag.gray{background:#8d8d8d}.property-card-tag.black{background:#292929}.property-card-tag.teal{background:#168c91}.property-card-tag.brown{background:#98633e}.property-card-tag.navy{background:#334c83}
.property-sheet-body h3{font-size:14px;line-height:1.45;margin:3px 0 4px;min-height:41px;font-weight:900}
.property-card-price{font-size:18px;color:#f05f13;font-weight:900;line-height:1.4;margin:0 0 2px}
.property-card-area{font-size:11px;color:#555;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.property-sheet-button{display:none}
.property-arrow{position:absolute;top:42%;transform:translateY(-50%);width:34px;height:34px;border:1px solid #f07800;background:#fff;color:#f07800;border-radius:50%;font-size:25px;line-height:1;z-index:5;cursor:pointer;box-shadow:0 3px 9px rgba(0,0,0,.08)}
.property-prev{left:0}.property-next{right:0}.property-arrow:disabled{opacity:.28;cursor:default}
.property-slider-dots{display:flex;justify-content:center;gap:7px;margin-top:0}
.property-slider-dot{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:#d5d5d5;cursor:pointer}.property-slider-dot.is-active{background:#f07800}
.property-scroll-hint{text-align:center;font-size:12px;color:#444;margin-top:13px}
.property-scroll-hint:after{content:' ☝';color:#f07800}
.property-sheet-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
/* Lightbox */
.lh-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.82);z-index:10000;display:none;align-items:center;justify-content:center;padding:18px}.lh-lightbox.is-open{display:flex}.lh-lightbox-dialog{position:relative;max-width:980px;width:min(96vw,980px);max-height:92vh;background:#fff;border-radius:12px;padding:16px;overflow:auto}.lh-lightbox img{display:block;width:100%;height:auto}.lh-lightbox-close{position:absolute;right:8px;top:8px;width:38px;height:38px;border-radius:50%;border:0;background:#fff;color:#111;font-size:26px;box-shadow:0 2px 12px rgba(0,0,0,.2);cursor:pointer}.lh-lightbox-title{font-size:18px;font-weight:900;margin:0 45px 10px 2px}.lh-lightbox-actions{display:flex;gap:10px;margin-top:12px}.lh-lightbox-actions a{flex:1}
@media(max-width:1100px){.property-sheet-card{flex-basis:calc((100% - 28px)/3)}.property-sheet-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){
  .property-section{padding:42px 0 52px}
  .property-section .wrap{padding:0 16px}
  .property-slider-shell{padding:0 18px}
  .property-slider{gap:10px;margin-right:-16px;padding-right:34px}
  .property-sheet-card{flex:0 0 39%;border-radius:8px}
  .property-sheet-image{aspect-ratio:1/1.18}
  .property-sheet-body{padding:8px 8px 10px}
  .property-sheet-body h3{font-size:11px;min-height:33px;margin:2px 0 3px}
  .property-card-price{font-size:14px}
  .property-card-area{font-size:9px}
  .property-card-tag{font-size:8px;padding:3px 6px}
  .property-card-tags{left:5px;top:-6px;gap:3px}
  .property-arrow{width:28px;height:28px;font-size:20px;top:41%}
  .property-prev{left:-3px}.property-next{right:-3px}
  .property-scroll-hint{font-size:10px}
  .property-sheet-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .lh-lightbox{padding:8px}.lh-lightbox-dialog{padding:10px;border-radius:8px}.lh-lightbox-actions{flex-direction:column}
}
