/* kisoba multilingual site — match the current site's visual rhythm.
   Reference: public/kisoba-refinements.css + public/kisoba-design-polish.css.
   No global Elementor CSS is loaded; these are structural equivalents for
   the 10 translated static pages. The existing live site is NOT modified. */
:root{
  --ink:#292c28;--olive:#57634f;--muted:#817b6f;
  --paper:#fbfaf7;--cream:#f5f1e9;--hairline:#dfd9d0;
  --warm:#b09a7e;--archive:#edece7;
  --sans:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,Arial,sans-serif;
  --serif:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",Georgia,serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;min-width:0;overflow-x:clip;background:var(--paper);color:var(--ink);
  font:400 16px/1.9 var(--sans);letter-spacing:.015em}
img{display:block;max-width:100%;height:auto}
main{width:100%;max-width:none;overflow:clip}
a:focus-visible,summary:focus-visible,button:focus-visible{outline:3px solid #e8c993;outline-offset:3px}

/* Navigation matches the current site's quiet translucent top-right menu. */
.topbar{position:absolute;top:0;left:0;right:0;z-index:20;
  display:flex;justify-content:flex-end;padding:27px clamp(20px,5.3vw,85px)}
.language-menu{position:relative;min-width:44px;color:#fff;font-family:Arial,sans-serif}
.language-menu summary{display:flex;align-items:center;justify-content:center;
  list-style:none;cursor:pointer;width:44px;height:44px;min-height:44px;
  padding:8px;background:transparent;border:0;border-radius:0;color:#fff}
.language-menu summary::-webkit-details-marker{display:none}
.language-menu summary::after{content:none;display:none}
.language-menu .language-globe{display:block;width:27px;height:27px;flex:none}
.language-menu[open] summary{background:transparent}
.language-menu nav{position:absolute;right:0;top:calc(100% + 6px);min-width:212px;
  max-height:65svh;overflow:auto;background:rgba(24,28,25,.97);
  padding:6px;box-shadow:0 15px 30px rgba(0,0,0,.25)}
.language-menu nav a{display:block;min-height:43px;padding:9px 13px;
  color:#fff;text-decoration:none;font-size:14px;letter-spacing:0;
  border-bottom:1px solid rgba(255,255,255,.12)}
.language-menu nav a:last-child{border-bottom:0}
.language-menu nav a:hover,.language-menu nav a[aria-current="page"]{background:rgba(255,255,255,.14)}

/* True edge-to-edge seven-photo hero; current site uses 760px / 92svh. */
/* Japanese source: Elementor hero wrapper adds 241px + 222px around
   a min(760px,92svh) inner section. Match BOTH layers, not only inner height. */
.hero{width:100%;position:relative;isolation:isolate;height:auto;
  min-height:calc(min(760px,92svh) + 463px);
  padding:241px 28px 222px;display:flex;align-items:center;justify-content:center;
  text-align:center;color:#fff;background:#1c211d url('/images/hero-room.webp') center/cover no-repeat}
.hero-slides{position:absolute;inset:0;z-index:-2;overflow:hidden;pointer-events:none}
.hero-slide{position:absolute;inset:0;background-position:center;background-repeat:no-repeat;
  background-size:cover;opacity:0;transition:opacity .3s ease}
.hero-slide.is-active{opacity:1}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(14,19,17,.53) 0%,rgba(16,21,18,.14) 42%,rgba(11,15,13,.60) 100%)}
.hero-inner{position:relative;width:100%;max-width:1080px;
  min-height:min(760px,92svh);display:flex;flex-direction:column;
  align-items:center;justify-content:center}
.eyebrow{font:500 clamp(12px,1.04vw,13px)/1.5 var(--sans);
  letter-spacing:.17em;color:var(--muted);text-align:center;margin:0}
.hero .eyebrow{font-family:Arial,sans-serif;font-size:clamp(11px,1.1vw,14px);
  letter-spacing:.20em;color:#fff;text-transform:uppercase}
.hero h1{color:#fff;font-family:var(--serif);font-weight:400;
  font-size:clamp(34px,4.7vw,67px);line-height:1.3;letter-spacing:.012em;
  text-wrap:balance;overflow-wrap:break-word;margin:21px auto 0}
.hero-name h1{font-family:Arial,sans-serif;font-weight:700;
  font-size:clamp(62px,8.2vw,128px);letter-spacing:-.055em;line-height:1.04}
.hero-inner>p.hero-intro{max-width:720px;margin:22px auto 0;
  font-size:clamp(15px,2.1vw,20px);line-height:1.7;font-weight:500;
  letter-spacing:.05em;text-wrap:balance;text-shadow:0 1px 14px rgba(0,0,0,.32)}

/* Match the two original kisoba hero buttons, their order and dimensions.
   Foreign pages point to their own Room gallery and Inquiry form. */
.kisoba-hero-actions{display:flex;justify-content:center;align-items:center;
  flex-wrap:wrap;gap:14px;margin:32px auto 0}
.kisoba-hero-actions .kisoba-hero-button{display:inline-flex;align-items:center;
  justify-content:center;min-height:48px;min-width:174px;padding:12px 24px;
  text-decoration:none!important;font:600 14px/1.4 var(--sans);
  letter-spacing:.04em;transition:background-color .18s,color .18s,border-color .18s,transform .18s}
.kisoba-hero-button-primary{background:#f8f5ef;border:1px solid #f8f5ef;color:#262522!important}
.kisoba-hero-button-primary:hover{background:#fff;color:#262522!important;transform:translateY(-1px)}
.kisoba-hero-button-outline{border:1px solid rgba(255,255,255,.75);
  background:rgba(0,0,0,.13);color:#fff!important}
.kisoba-hero-button-outline:hover{background:rgba(255,255,255,.18);
  color:#fff!important;transform:translateY(-1px)}
.kisoba-hero-button:focus-visible{outline:3px solid #f9d59f;outline-offset:4px}

/* Intro, heading and prose use the same widths and sizes as the live article. */
.story{width:100%;max-width:1160px;padding:0 clamp(24px,4vw,46px);
  margin:clamp(64px,6vw,96px) auto clamp(28px,3vw,48px);text-align:center}
.story .eyebrow::before,.rooms .eyebrow::before,.inquiry>.eyebrow::before{
  content:"";display:block;width:34px;height:1px;background:var(--warm);
  margin:0 auto 18px}
.story h2,.rooms h2,.inquiry h2{max-width:880px;
  font:400 clamp(25px,2.7vw,36px)/1.68 var(--serif);
  letter-spacing:.035em;text-wrap:balance;overflow-wrap:anywhere;
  margin:15px auto clamp(27px,3vw,40px);text-align:center}
.story p:last-child,.story p.building-copy{max-width:830px;margin:0 auto;text-align:left;
  font-size:clamp(15px,1.18vw,17px);line-height:2.12;letter-spacing:.035em;
  overflow-wrap:anywhere}

.story p.name-story{margin:clamp(22px,2.5vw,32px) auto 0}

/* Real full-viewport About photo (current: 29vw / max 420px). */
.story-photo{position:relative;display:block;width:100vw;max-width:none;
  height:clamp(260px,29vw,420px);margin:38px 0 65px;
  padding:0;background:#e9e4dc;overflow:hidden}
.story-photo img{display:block;width:100%;height:100%;max-height:none;
  object-fit:cover;object-position:50% 52%}
.story.history{margin-top:clamp(70px,7vw,100px);margin-bottom:0}

/* Full-bleed gray photo field, original mosaic ratios kept (no cropping). */
.history-gallery-band{width:100%;max-width:none;margin:clamp(36px,4vw,54px) 0 clamp(34px,4vw,52px);
  background:var(--archive);padding:clamp(38px,4.8vw,66px) 0;
  border-top:1px solid rgba(95,85,70,.08);border-bottom:1px solid rgba(95,85,70,.08)}
.history-gallery{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));
  gap:clamp(8px,1.15vw,14px);width:100%;max-width:1120px;
  padding:0 clamp(8px,1.3vw,16px);margin:0 auto;align-items:center}
.history-item{margin:0;min-width:0;align-self:center;grid-column:span 3}
.history-item:nth-child(2){grid-column:span 4}
.history-item:nth-child(3){grid-column:span 5}
.history-item:nth-child(4){grid-column:span 6}
.history-item a{display:block;line-height:0;padding:clamp(4px,.55vw,7px);
  background:#fffefa;border:1px solid rgba(42,43,39,.32);
  box-shadow:0 2px 5px rgba(27,29,26,.11),0 12px 24px rgba(27,29,26,.14)}
.history-item img{display:block;width:100%;height:auto;max-width:none;object-fit:contain}

/* Booking title, full-bleed Room 1 photo and restrained five-room selector. */
.rooms{width:100%;margin:0 auto;padding:clamp(76px,8vw,116px) 0 0;text-align:center}
.rooms-heading{max-width:1160px;margin:0 auto;padding:0 clamp(24px,3vw,38px)}
/* Anchor the CTA to the actual heading, not the padded section boundary. */
.rooms-heading #rooms{scroll-margin-top:16px}
.rooms h2{margin:20px auto 0}
.booking-photo-band{width:100%;height:clamp(330px,48vw,685px);margin:clamp(52px,6vw,70px) 0 0;
  background:#e9e4dc;overflow:hidden}
.booking-photo-band img{width:100%;height:100%;object-fit:cover;object-position:center 52%}
.rooms-intro{width:100%;max-width:830px;margin:clamp(30px,3.5vw,48px) auto 0;
  padding:0 24px;text-align:left;font-size:clamp(15px,1.18vw,17px);
  line-height:2.12;letter-spacing:.035em}
/* Exactly five supplied room photos, in one horizontally scrollable strip.
   Links retain descriptive accessible names; no text, captions or overlays. */
.room-grid{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;
  overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:22px;
  -webkit-overflow-scrolling:touch;scrollbar-width:thin;
  gap:clamp(10px,1.5vw,20px);width:100%;max-width:none;
  margin:clamp(34px,4vw,56px) auto 0;
  padding:0 clamp(20px,3vw,46px) 12px}
.room-card{display:block;flex:0 0 clamp(162px,16.8vw,246px);min-width:0;
  scroll-snap-align:start;overflow:hidden;line-height:0;
  background:#fffefa;color:var(--ink);text-decoration:none;
  border:1px solid var(--hairline);padding:0;
  transition:border-color .18s ease,box-shadow .18s ease}
.room-card>img,.room-card>.placeholder-art{display:block;width:100%;height:auto;
  aspect-ratio:4/3;object-fit:cover;background:#e9e4dc}
.room-card-link:hover{border-color:var(--olive);box-shadow:0 8px 23px rgba(24,22,19,.10)}
.room-pending{cursor:default}
.placeholder-art{display:grid;place-items:center;color:#a69c89;font:44px Georgia,serif}

/* Full-width unbleached-paper Inquiry band, centered 680px form. */
.inquiry{width:100%;margin:clamp(76px,8vw,116px) 0 0;
  padding:clamp(56px,6vw,84px) 24px clamp(58px,6vw,88px);
  background:var(--cream);text-align:center}
.inquiry h2{margin:12px auto 0}
.inquiry>p:not(.eyebrow):not(.reservation-notice):not(.form-privacy){
  max-width:830px;margin:24px auto 0;font-size:clamp(15px,1.18vw,17px);line-height:2}
.reservation-notice{max-width:720px;margin:28px auto 34px;
  padding:15px 19px;border-left:2px solid var(--warm);
  color:var(--ink);background:rgba(255,255,255,.35);
  text-align:left;font-size:clamp(14px,1.05vw,16px);line-height:2}
.inquiry-form{width:100%;max-width:680px;margin:clamp(24px,3vw,36px) auto 0;
  display:grid;gap:18px;text-align:left}
.inquiry-form label{display:grid;gap:6px;color:var(--ink);
  font-size:14px;line-height:1.8;font-weight:400}
.inquiry-form input,.inquiry-form textarea{width:100%;min-width:0;
  background:#fff;border:1px solid #d7d2c9;border-radius:1px;
  color:var(--ink);font:400 16px/1.6 var(--sans);padding:14px 16px}
.inquiry-form input{min-height:48px}
.inquiry-form textarea{min-height:160px;resize:vertical}
.inquiry-form label:focus-within{color:var(--olive)}
.inquiry-form input:focus,.inquiry-form textarea:focus{
  outline:2px solid rgba(87,99,79,.30);outline-offset:1px;
  border-color:var(--olive)}
.inquiry-form button{display:block;justify-self:center;min-height:50px;min-width:174px;
  padding:12px 26px;border:0;border-radius:1px;background:var(--olive);
  color:#fff;font:500 14px/1.5 var(--sans);letter-spacing:.1em;cursor:pointer}
.inquiry-form button:hover:not(:disabled){background:#3e4939}
.inquiry-form button:disabled{opacity:.5;cursor:not-allowed}
.inquiry-honeypot{position:absolute;left:-10000px;visibility:hidden;pointer-events:none}
#kisoba-turnstile{min-height:65px;max-width:100%;overflow:hidden}
#kisoba-contact-status{max-width:680px;min-height:1.4em;margin:14px auto 0;
  text-align:center;font-size:14px;line-height:1.7;color:var(--olive);padding:0 12px}
.form-privacy{max-width:680px;margin:10px auto 0;font-size:13px;
  color:var(--muted);line-height:1.8}
.form-privacy a{color:var(--olive);text-underline-offset:3px}

/* Full-width, dark and compact footer exactly like the current page. */
.site-footer{width:100%;margin:0;padding:0;background:#292e29;
  border-top:1px solid rgba(255,255,255,.1);color:#e7e6df}
.footer-inner{display:flex;align-items:center;justify-content:flex-end;
  min-height:82px;padding:18px clamp(22px,5vw,76px)}
.site-footer small{font:400 12px/1.5 var(--sans);letter-spacing:.055em}

@media(min-width:761px) and (max-width:1024px){
  /* Japanese Elementor changes outer padding to 180px on tablets. */
  .hero{min-height:calc(min(760px,92svh) + 360px);padding:180px 28px}
}
@media(max-width:760px){
  body{font-size:15px}
  .topbar{padding:20px 20px}
  .language-menu{min-width:44px}
  .language-menu summary{padding:8px}
  /* Current Japanese iPhone page: section padding 140px top/bottom PLUS
     an 88svh/min(760px) inner element, hence the hero exceeds 1 screen. */
  .hero{height:auto;min-height:calc(min(760px,88svh) + 280px);
    padding:140px 18px 140px}
  .hero-inner{min-height:min(760px,88svh)}
  .hero .eyebrow{font-size:11px;letter-spacing:.15em}
  .hero h1{font-size:clamp(32px,7.7vw,46px);line-height:1.34}
  .hero-name h1{font-size:clamp(49px,12vw,78px);letter-spacing:-.065em;line-height:1.04}
  .hero-inner>p.hero-intro{font-size:15px;line-height:1.8;max-width:23em;margin-top:18px}
  .kisoba-hero-actions{flex-direction:column;gap:10px;margin-top:29px}
  .kisoba-hero-actions .kisoba-hero-button{width:min(100%,288px);min-height:48px}
  .story{padding:0 24px;margin:52px auto 28px}
  .story .eyebrow::before,.rooms .eyebrow::before,.inquiry>.eyebrow::before{margin-bottom:14px}
  .story h2,.rooms h2,.inquiry h2{font-size:clamp(23px,6.2vw,30px);line-height:1.68}
  .story h2{margin-bottom:26px}
  .story p:last-child,.story p.building-copy{font-size:15px;line-height:2.02;letter-spacing:.018em}
  .story-photo{height:clamp(200px,59vw,310px);margin:24px 0 36px}
  .story.history{margin-top:62px}
  .history-gallery-band{margin:36px 0 34px;padding:30px 0}
  .history-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 10px}
  .history-item{grid-column:span 1!important}
  .history-item a{padding:3px}
  .rooms{padding-top:62px}
  .rooms-heading{padding:0 24px}
  .rooms h2{margin-top:20px}
  .booking-photo-band{height:clamp(260px,69vw,440px);margin-top:44px}
  .rooms-intro{font-size:15px;line-height:2.02;letter-spacing:.018em;margin-top:28px;padding:0 24px}
  .room-grid{display:flex;flex-wrap:nowrap;overflow-x:auto;
    gap:12px;max-width:none;width:100%;margin:32px 0 0;padding:0 20px 12px}
  .room-card{display:block;flex:0 0 min(46.8vw,204px);min-height:0;padding:0}
  .room-card>img,.room-card>.placeholder-art{width:100%;height:auto;aspect-ratio:4/3}
  .inquiry{margin-top:62px;padding:48px 19px 54px}
  .inquiry h2{margin-top:12px}
  .inquiry>p:not(.eyebrow):not(.reservation-notice):not(.form-privacy){font-size:15px}
  .reservation-notice{padding:15px 16px;font-size:14px;line-height:1.9}
  .inquiry-form{gap:14px}
  .inquiry-form button{width:100%}
  .footer-inner{min-height:72px;padding:16px 20px}
  .site-footer small{font-size:11px}
}
@media(max-width:360px){
  .topbar{padding:15px}
  .hero h1{font-size:31px}
  .hero-name h1{font-size:45px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-slide,.room-card,.kisoba-hero-actions .kisoba-hero-button{transition:none}
}

/* Live-site history concludes with a second prose block below the mosaic. */
.history-ending{max-width:920px;margin:clamp(30px,3.5vw,48px) auto 0;padding:0 24px}
.history-ending p{margin:0;text-align:left;font-size:clamp(15px,1.18vw,17px);
  line-height:2.12;letter-spacing:.035em;overflow-wrap:anywhere}
/* Replicate the production Location heading and full-width Google Map. */
.location{max-width:1160px;margin:clamp(76px,8vw,116px) auto 0;
  text-align:center;padding:0 clamp(24px,3vw,38px)}
.location .eyebrow::before{content:"";display:block;width:34px;height:1px;
  background:var(--warm);margin:0 auto 18px}
.location-map{width:100%;max-width:none;margin:22px 0 0!important;
  padding:0!important;overflow:hidden;line-height:0;background:#fff}
.location-map iframe{display:block;width:100%;height:570px;border:0}
.location-map::after{content:"";display:block;height:40px;background:#fff}
/* The footer uses the identical markup and copy of the live Japanese page. */
.page-footer-wrapper{width:100%;max-width:none;margin:0!important;padding:0!important}
#page-footer.kisoba-footer{width:100%;min-height:0;background:#292e29;
  border-top:1px solid rgba(255,255,255,.1);color:#dededb}
.kisoba-footer-inner{width:100%;min-height:82px;box-sizing:border-box;
  padding:18px clamp(22px,5vw,76px);
  display:flex;align-items:center;justify-content:space-between;gap:18px}
.kisoba-footer small,.kisoba-footer a{color:#e7e6df;
  font:400 12px/1.5 var(--sans);letter-spacing:.055em;text-decoration:none}
.kisoba-footer a:hover{text-decoration:underline}
#kisoba-turnstile .cf-turnstile{max-width:100%;overflow:hidden}
@media(max-width:760px){
  .history-ending{margin-top:28px;padding:0 24px}
  .history-ending p{font-size:15px;line-height:2.02;letter-spacing:.018em}
  .location{margin-top:62px;padding:0 24px}
  .location-map{margin-top:16px}
  .location-map iframe{height:570px}
  .kisoba-footer-inner{min-height:72px;padding:16px 20px;flex-wrap:wrap;gap:8px 18px}
  .kisoba-footer small,.kisoba-footer a{font-size:11px}
}

/* The map has a 40px white region before the footer, matching the
   original Elementor Google Maps widget margin-bottom:40px. */
main:has(.location-map){margin-bottom:0!important;padding-bottom:0!important}
main:has(.location-map) + .page-footer-wrapper{margin-top:0!important}
