
:root{
  --bg:#fbfaf7;
  --ink:#171717;
  --muted:#555;
  --gold:#d49a22;
  --line:#e8e2d8;
  --footer:#151719;
  --green:#31523d;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Yu Mincho","Hiragino Mincho ProN","YuMincho",serif;
  line-height:1.9;
  letter-spacing:.04em;
}
a{color:inherit;text-decoration:none}
img{display:block;width:100%;height:auto}
.container{width:min(1200px,92vw);margin-inline:auto}

.site-header{
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:10;
}
.header-inner{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
.brand{display:grid;gap:0}
.brand-ja{font-size:30px;line-height:1.1;font-weight:700;letter-spacing:.12em}
.brand-en{font-family:Georgia,serif;font-size:12px;font-weight:700;letter-spacing:.22em;margin-top:7px}
.global-nav{
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
  justify-content:flex-end;
  font-family:"Yu Gothic",sans-serif;
  font-weight:600;
  font-size:14px;
  letter-spacing:.05em;
}
.global-nav a{padding:32px 0 26px;border-bottom:3px solid transparent}
.global-nav a.active{border-bottom-color:var(--gold)}

.hero{min-height:520px}
.home-hero{
  display:grid;
  grid-template-columns:minmax(420px, 1.02fr) minmax(0, 1.18fr);
  align-items:center;
  gap:32px;
  padding:46px 0 34px;
}
.hero-copy{
  padding:18px 0;
  position:relative;
  z-index:1;
}
.eyebrow{font-size:18px;margin:0 0 8px}
.hero-copy h1,
.page-kv h1{
  font-size:46px;
  line-height:1.42;
  letter-spacing:.06em;
  font-weight:600;
  margin:0;
}
.nowrap{white-space:nowrap}
.gold-line{display:block;width:44px;height:2px;background:var(--gold);margin:20px 0 26px}
.hero-copy p,
.page-kv p{font-size:15px;margin:0 0 18px;color:#222;font-weight:600}
.hero-photo,
.page-kv-media{position:relative}
.hero-photo img{height:430px;object-fit:cover;border-radius:2px}

.home-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:rgba(241,237,230,.8);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-bottom:0;
}
.home-cards article{
  min-height:132px;
  background:rgba(255,255,255,.78);
  border-right:1px solid var(--line);
  padding:26px 28px;
  text-align:center;
}
.home-cards article:last-child{border-right:0}
.icon{display:block;font-size:34px;color:var(--gold);line-height:1;margin-bottom:10px}
.home-cards h2,.value-grid h3{font-size:17px;margin:0 0 6px}
.home-cards p,.value-grid p{font-size:13px;line-height:1.75;margin:0;color:#333;font-weight:600}

.site-footer{
  background:linear-gradient(100deg,#111 0%,#1c2020 64%,#203526 100%);
  color:#fff;
  padding:34px 0;
}
.footer-grid{display:grid;grid-template-columns:1.05fr 1.2fr .9fr;gap:42px;align-items:center}
.site-footer h2{font-size:18px;margin:0 0 10px}.site-footer p{font-size:13px;line-height:1.9;margin:0}
.copyright{margin-top:10px!important;color:#ccc}
.footer-button{justify-self:end;border:1px solid var(--gold);min-width:250px;padding:17px 24px;display:flex;justify-content:center;gap:14px;align-items:center;font-weight:600}

.page{padding:46px 0 0}
.page-kv{
  display:grid;
  grid-template-columns:minmax(360px, 1fr) minmax(340px, .95fr);
  gap:42px;
  align-items:start;
  margin-bottom:56px;
}
.page-kv > img, .page-kv-image img{height:250px;object-fit:cover;border-radius:2px}
.page-kv.compact > img, .page-kv.compact .page-kv-image img{height:230px}
.page-kv.contact-kv > img, .page-kv.contact-kv .page-kv-image img{height:240px}
.page-kv h1{font-size:34px;line-height:1.52}
.center-title{text-align:center;font-size:24px;margin:0 0 30px;position:relative}
.center-title:after{content:"";display:block;width:44px;height:2px;background:var(--gold);margin:12px auto 0}
.values{margin:58px 0}
.value-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.value-grid article{background:#fff;border:1px solid var(--line);min-height:155px;padding:25px 20px;text-align:center}
.value-grid span{display:block;color:var(--gold);font-size:42px;line-height:1;margin-bottom:12px}
.company-info{margin:60px 0}.company-info h2{font-size:24px;margin:0 0 22px}.company-info table{width:100%;border-collapse:collapse;background:#fff;font-family:"Yu Gothic",sans-serif;font-size:13px}.company-info th,.company-info td{border:1px solid var(--line);padding:12px 14px;text-align:left;vertical-align:top}.company-info th{width:16%;background:#f5f2ec}.small-note{font-size:13px;text-align:center;margin:18px 0 0;color:#555}
.contact-form-section{background:#fff;border:1px solid var(--line);padding:34px;margin-bottom:30px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;font-family:"Yu Gothic",sans-serif}.form-grid label{font-size:13px;font-weight:600}.form-grid input,.form-grid select,.form-grid textarea{display:block;width:100%;margin-top:8px;padding:13px 14px;border:1px solid #ded6ca;background:#fff;font:inherit}.form-grid textarea{min-height:150px;resize:vertical}.form-grid .full{grid-column:1/-1}.contact-form-section button{display:block;margin:24px auto 0;width:min(350px,100%);background:#201c1a;color:#fff;border:0;padding:14px 20px;font-family:"Yu Gothic",sans-serif;font-weight:700;letter-spacing:.1em}

@media(max-width:1100px){
  .home-hero{grid-template-columns:minmax(360px, .95fr) minmax(0,1.05fr)}
  .hero-copy h1,.page-kv h1{font-size:40px}
}

@media(max-width:900px){
  .header-inner{padding:18px 0;display:grid}
  .global-nav{overflow-x:auto;gap:24px;padding-bottom:4px}
  .global-nav a{white-space:nowrap;padding:8px 0}
  .home-hero,.page-kv,.footer-grid{grid-template-columns:1fr}
  .hero-copy{padding-right:0}
  .hero-copy h1,.page-kv h1{font-size:34px}
  .home-cards,.value-grid{grid-template-columns:1fr 1fr}
  .footer-button{justify-self:start}
  .form-grid{grid-template-columns:1fr}
}

@media(max-width:560px){
  .brand-ja{font-size:24px}
  .hero-copy h1,.page-kv h1{font-size:28px;line-height:1.45}
  .home-cards,.value-grid{grid-template-columns:1fr}
  .hero-photo img,.page-kv > img,.page-kv-image img{height:220px}
  .footer-grid{gap:24px}
  .site-footer{padding-bottom:42px}
  .eyebrow{font-size:16px}
}


.owned-intro{margin:16px 0 28px}
.owned-note-box{
  background:#fff;
  border:1px solid var(--line);
  padding:24px 28px;
}
.owned-note-box h2{
  font-size:22px;
  margin:0 0 10px;
}
.owned-note-box p{margin:0;font-size:14px;color:#333;font-weight:600}
.owned-list-section{margin:42px 0 54px}
.property-list{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}
.property-card{
  background:#fff;
  border:1px solid var(--line);
  overflow:hidden;
}
.property-card img{
  height:220px;
  object-fit:cover;
}
.property-body{padding:18px 18px 20px}
.property-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.property-head h3{font-size:22px; margin:0}
.status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--gold);
  color:#8b6514;
  background:#fff9ef;
  padding:4px 10px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
}
.property-lead{font-size:14px; font-weight:700; margin:0 0 14px; color:#444}
.property-meta{list-style:none; padding:0; margin:0; display:grid; gap:8px}
.property-meta li{display:grid; grid-template-columns:72px 1fr; gap:10px; align-items:start; font-size:13px; line-height:1.75; color:#333}
.property-meta strong{color:#7c5d1f}
.property-note{margin:14px 0 0; font-size:12px; color:#666}
.bottom-space{margin-bottom:40px}

@media(max-width:900px){
  .property-list{grid-template-columns:1fr}
}


.page-kv-image{
  overflow:hidden;
  border-radius:2px;
  background:#f5f2ec;
}
.page-kv-image img{
  display:block;
  width:100%;
  height:230px;
  object-fit:cover;
}
.property-image-wrap{
  position:relative;
  overflow:hidden;
  background:#f5f2ec;
}
.property-image-wrap img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}
.is-blurred{
  filter: blur(10px) brightness(0.92);
  transform: scale(1.06);
}
.status.occupied{
  background:#faf7ef;
  color:#8b6514;
}


/* Integrated self-owned property section */
.global-nav{gap:34px;flex-wrap:wrap;justify-content:flex-end}
.property-kv{align-items:center}
.text-panel{
  background:#fff;
  border:1px solid var(--line);
  padding:32px 36px;
}
.text-panel h2{font-size:26px;margin:0}
.gold-line.small{margin:12px 0 22px}
.text-panel p{font-size:15px;font-weight:600;margin:0 0 14px;color:#222}
.property-values{margin-top:46px}
.section-lead{
  max-width:820px;
  margin:0 auto 10px;
  text-align:center;
  font-size:14px;
  font-weight:600;
  color:#333;
}
.section-lead.small{font-size:13px;color:#666;margin-bottom:28px}
.page-kv-image{overflow:hidden;border-radius:2px;background:#f5f2ec}
.page-kv-image img{display:block;width:100%;height:230px;object-fit:cover}
.property-image-wrap{position:relative;overflow:hidden;background:#f5f2ec;height:220px}
.property-image-wrap img{width:100%;height:220px;object-fit:cover;display:block}
.is-blurred{filter:blur(10px) brightness(.92);transform:scale(1.06)}
.status.occupied{background:#faf7ef;color:#8b6514}
.owned-note-box.legal{background:#fffaf0}
@media(max-width:900px){.global-nav{justify-content:flex-start}.text-panel{padding:24px 22px}.property-image-wrap,.property-image-wrap img{height:210px}}

.company-info table th{
  width:180px;
}
.company-info table td{
  width:auto;
}


/* =========================================================
   Mobile-first refinements for KAMUY SHOKAI
   ========================================================= */

/* Common button */
.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  background:#fff;
  padding:0;
  place-items:center;
  cursor:pointer;
}
.menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:#171717;
  margin:4px auto;
  transition:.25s ease;
}
.menu-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-toggle.is-open span:nth-child(2){opacity:0}
.menu-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

@media(max-width:760px){
  body{
    line-height:1.85;
    letter-spacing:.035em;
  }
  .container{
    width:min(100% - 32px, 560px);
  }

  .site-header{
    position:sticky;
    top:0;
    z-index:50;
    height:auto;
    box-shadow:0 1px 0 rgba(0,0,0,.04);
  }
  .header-inner{
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 0;
  }
  .brand-ja{
    font-size:24px;
    letter-spacing:.10em;
  }
  .brand-en{
    font-size:10px;
    margin-top:4px;
  }
  .menu-toggle{
    display:grid;
    flex:0 0 auto;
  }
  .global-nav{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    display:grid;
    gap:0;
    background:#fff;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:0 16px;
    max-height:0;
    overflow:hidden;
    transition:max-height .28s ease, padding .28s ease;
    box-shadow:0 18px 28px rgba(0,0,0,.08);
    font-size:14px;
  }
  .global-nav.is-open{
    max-height:320px;
    padding:10px 16px;
  }
  .global-nav a{
    padding:14px 2px;
    border-bottom:1px solid var(--line);
  }
  .global-nav a:last-child{
    border-bottom:0;
  }
  .global-nav a.active{
    border-bottom:1px solid var(--line);
    color:#9b6d13;
  }
  .global-nav a.active::before{
    content:"";
    display:inline-block;
    width:8px;
    height:8px;
    margin-right:8px;
    background:var(--gold);
    border-radius:50%;
    vertical-align:1px;
  }

  .home-hero,
  .page-kv{
    display:grid;
    grid-template-columns:1fr;
    gap:22px;
    padding:28px 0 24px;
    margin-bottom:30px;
  }
  .home-hero{
    min-height:0;
  }
  .hero-copy{
    order:1;
    padding:0;
  }
  .hero-photo{
    order:2;
  }
  .hero-copy h1,
  .page-kv h1{
    font-size:32px;
    line-height:1.48;
    letter-spacing:.05em;
  }
  .nowrap{
    white-space:normal;
  }
  .eyebrow{
    font-size:15px;
    margin-bottom:8px;
  }
  .gold-line{
    width:38px;
    margin:16px 0 20px;
  }
  .hero-copy p,
  .page-kv p{
    font-size:14px;
    line-height:1.9;
    margin-bottom:14px;
  }
  .hero-photo img,
  .page-kv > img,
  .page-kv-image img{
    height:250px;
    border-radius:4px;
    object-fit:cover;
  }

  .home-cards,
  .value-grid,
  .property-list{
    grid-template-columns:1fr;
    gap:12px;
  }
  .home-cards{
    background:transparent;
    border:0;
    margin-bottom:34px;
  }
  .home-cards article,
  .value-grid article,
  .property-card,
  .owned-note-box,
  .contact-form-section{
    border:1px solid var(--line);
    border-radius:4px;
    background:#fff;
  }
  .home-cards article{
    min-height:auto;
    padding:20px 18px;
    text-align:left;
    display:grid;
    grid-template-columns:42px 1fr;
    column-gap:14px;
    align-items:start;
  }
  .home-cards article .icon{
    margin:0;
    font-size:28px;
  }
  .home-cards article h2{
    margin:0 0 4px;
  }
  .home-cards article p{
    grid-column:2;
  }

  .page{
    padding-top:24px;
  }
  .values{
    margin:38px 0;
  }
  .center-title{
    font-size:22px;
    margin-bottom:20px;
  }
  .value-grid article{
    min-height:auto;
    padding:20px 18px;
    text-align:left;
  }
  .value-grid span{
    font-size:34px;
    margin-bottom:8px;
  }

  .company-info{
    margin:38px 0;
  }
  .company-info h2{
    font-size:22px;
  }
  .company-info table,
  .company-info tbody,
  .company-info tr,
  .company-info th,
  .company-info td{
    display:block;
    width:100%;
  }
  .company-info tr{
    border:1px solid var(--line);
    border-bottom:0;
    background:#fff;
  }
  .company-info tr:last-child{
    border-bottom:1px solid var(--line);
  }
  .company-info th{
    border:0;
    border-bottom:1px solid var(--line);
    background:#f5f2ec;
    padding:9px 12px;
    width:100%;
  }
  .company-info td{
    border:0;
    padding:12px;
  }
  .small-note{
    text-align:left;
    line-height:1.8;
  }

  .owned-note-box{
    padding:18px;
  }
  .owned-note-box h2{
    font-size:19px;
  }
  .owned-list-section{
    margin:34px 0 40px;
  }
  .property-card img,
  .property-image-wrap img{
    height:205px;
  }
  .property-body{
    padding:16px;
  }
  .property-head{
    align-items:flex-start;
  }
  .property-head h3{
    font-size:20px;
  }
  .property-meta li{
    grid-template-columns:64px 1fr;
  }

  .contact-form-section{
    padding:18px;
  }
  .form-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .contact-form-section button{
    width:100%;
  }

  .site-footer{
    margin-top:34px;
    padding:28px 0;
  }
  .footer-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
  .footer-button{
    width:100%;
    min-width:0;
    justify-self:stretch;
  }
}

/* Very small phones */
@media(max-width:390px){
  .container{
    width:min(100% - 24px, 560px);
  }
  .brand-ja{
    font-size:22px;
  }
  .hero-copy h1,
  .page-kv h1{
    font-size:28px;
  }
  .hero-photo img,
  .page-kv > img,
  .page-kv-image img{
    height:220px;
  }
}
