/* 江戸屋の写真・屋号・文量に合わせた小松UIの調整。墨はopening.jsで制御。 */
:root { --sumi: #282723; --sumi-soft: #59584f; --kinari: #eeece4; --kinari-2: #e4e0d6; }
html { scroll-padding-top: 32px; }
body { font-weight: 500; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #855d39; outline-offset: 6px; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px 20px; background: #fff; z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { right: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.site-header__logo { display: flex; gap: 22px; align-items: center; min-height: 44px; }
.edoya-brand { font-size: 23px; letter-spacing: .18em; }
.brand-place { font-size: 11px; letter-spacing: .15em; }
.header-nav { display: flex; gap: clamp(18px, 3vw, 42px); align-items: center; font-size: 13px; }
.header-nav a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.kv-logo__inner { position: relative; padding: 20px; }
html:not(.js) .room-controls { display: none; }
html:not(.js) .kv { position: absolute; }
.kv__ink {
  background-image:
    radial-gradient(ellipse 30% 9% at 13% 22%, rgba(26,26,26,.48), transparent 76%),
    radial-gradient(ellipse 25% 15% at 5% 30%, rgba(26,26,26,.28), transparent 76%),
    radial-gradient(ellipse 38% 8% at 87% 80%, rgba(26,26,26,.48), transparent 76%),
    radial-gradient(ellipse 24% 15% at 95% 72%, rgba(26,26,26,.25), transparent 76%);
}
.edoya-kicker { font-size: 12px; letter-spacing: .36em; margin-bottom: 28px; }
.edoya-title { writing-mode: vertical-rl; text-orientation: upright; margin: 0 auto; font-size: clamp(40px, 4.5vw, 60px); letter-spacing: .16em; text-indent: 0; line-height: 1.5; font-weight: 600; }
.edoya-title__small { display: inline-block; font-size: 13px; letter-spacing: .22em; margin-inline-end: 13px; }
.kv-logo__catch { margin-top: 28px; font-size: 16px; letter-spacing: .16em; line-height: 1.8; }
.kv-logo__en { color: #4f4d45; margin-top: 16px; font-size: 13px; line-height: 1.8; letter-spacing: .09em; }
/* 墨の位置が変わっても、小さなHeroコピーの文字周辺にだけ紙の明るさを残す。 */
.edoya-kicker, .edoya-title, .site-header a, .kv-logo__catch, .kv-logo__en { text-shadow: 0 0 2px #f0f0ed, 0 0 5px #f0f0ed, 0 0 12px rgba(240,240,237,.96); }
.hero-ink-touch, .hero-scroll-zone { display: none; }
.float-reserve__btn { min-height: 48px; font-size: 13px; }
.float-reserve { bottom: max(20px, env(safe-area-inset-bottom)); }
.intro__body { font-size: 15px; line-height: 2.15; }
.intro__ttl { letter-spacing: .2em; font-size: 28px; }
.intro__copies { padding-block: 12px; }
.intro__pic-mask { width: 66%; }
.intro__pic { object-position: 52% center; }
.section-lead { font-size: clamp(22px, 2.5vw, 34px); line-height: 1.8; margin-top: 30px; letter-spacing: .06em; }
.txt { font-size: 15px; line-height: 2.15; text-align: left; }
.sec-ttl__en { color: var(--sumi-soft); opacity: 1; font-size: 12px; }
.text-link { font-size: 14px; min-height: 44px; margin-top: 24px; display: inline-flex; align-items: center; gap: 15px; }
.small-note { font-size: 12px; color: var(--sumi-soft); margin-top: 18px; }
.yu { margin-top: 4rem; padding-top: 10rem; }
.stay-menu + .rooms { padding-top: 10rem; }
.yu__bath { max-width: none; }
.yu__bath img { aspect-ratio: 5 / 4; object-position: 50% 55%; }
.rooms__slide img { height: calc(100% - 60px); object-position: 50% 70%; }
html:not(.js) .rooms__slide img { height: 100%; }
.collage__tile > img { position: absolute; inset: 0; }
.rooms__label { bottom: 85px; }
.room-controls { position: absolute; bottom: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: #282723; color: #f4f1e9; }
.room-controls button { background: transparent; border: 0; min-width: 44px; min-height: 44px; font-size: 16px; }
.room-controls button:focus-visible { outline-color: var(--shiro); outline-offset: -3px; }
.room-controls [data-room-pause] { margin-left: auto; font-size: 12px; }
.room-counter { font-family: var(--font-en); font-size: 15px; letter-spacing: .15em; }
.kappo__pic1 img { aspect-ratio: 4 / 5; }
.lounge-scene { padding-top: 23rem; }
.scene-heading { margin: 0 auto 6rem; text-align: center; }
.scene-heading > p { color: var(--sumi-soft); font-size: 13px; letter-spacing: .15em; }
.scene-heading h2 { font-size: clamp(27px, 3.7vw, 48px); line-height: 1.8; font-weight: 500; margin-top: 22px; }
.lounge-scene__photo { position: relative; margin: 0 6vw 0 16vw; }
.lounge-scene__photo img { width: 100%; aspect-ratio: 16 / 9; }
.lounge-scene__photo figcaption { position: absolute; right: 24px; bottom: 22px; color: #fff; font-size: 13px; text-shadow: 0 1px 8px #000; background: rgba(20,20,15,.66); padding: 8px 14px; }
.lounge-scene__copy { max-width: 35em; margin: 5rem auto 0; padding: 0 24px; }
.stay-guide { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8vw; padding: 22rem var(--gutter) 0; }
.guide-body details { border-bottom: 1px solid var(--line-dark); }
.guide-body summary { padding: 24px 34px 24px 0; cursor: pointer; font-size: 17px; position: relative; list-style: none; }
.guide-body summary::-webkit-details-marker { display: none; }
.guide-body summary::after { content: '＋'; position: absolute; right: 4px; }
.guide-body details[open] summary::after { content: '−'; }
.guide-body details p { font-size: 14px; line-height: 2; padding: 0 20px 26px 0; }
.edoya-journal { padding: 16rem var(--gutter) 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8vw; }
.journal-links a { display: flex; gap: 24px; align-items: center; font-size: 16px; min-height: 88px; border-bottom: 1px solid var(--line-dark); }
.journal-links a > :last-child { margin-left: auto; }
.access { padding-top: 20rem; }
.access-address { font-size: 25px; margin-bottom: 18px; }
.access-phone { font-family: var(--font-en); font-size: 26px; margin-top: 20px; }
.access-phone a { display: inline-block; min-height: 44px; }
.cta__btn, .cta__tel-link, .site-footer__tel { min-height: 44px; }
.cta__copy { line-height: 1.65; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 32px; font-size: 13px; }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.demo-note, .photo-credit { color: var(--sumi-soft); font-size: 11px; margin-top: 15px; }
.photo-credit a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; }
@media (max-width: 819px) {
  .brand-place { display: none; }
  .header-nav { gap: 18px; font-size: 12px; }
  .header-nav a:nth-child(-n+3) { display: none; }
  .header-nav a[lang] { min-width: 44px; justify-content: center; }
  .edoya-brand { font-size: 21px; }
  .kv-logo__inner { max-width: 100%; padding: 24px; margin-top: -25px; }
  .edoya-title { font-size: 46px; line-height: 1.5; }
  .edoya-kicker { font-size: 11px; margin-bottom: 24px; }
  .kv-logo__catch { font-size: 15px; letter-spacing: .09em; margin-top: 25px; }
  .kv-logo__en { font-size: 12px; }
  .float-reserve { left: 16px; bottom: max(20px, env(safe-area-inset-bottom)); }
  .intro { margin-top: 6rem; padding: 4rem 2rem; }
  .intro__body { font-size: 14px; line-height: 2; }
  .intro__ttl { font-size: 23px; }
  .intro__pic-mask { width: 74%; }
  .intro__titles { margin-left: 22px; }
  .section-lead { margin-top: 26px; font-size: 24px; }
  .txt { font-size: 14px; line-height: 2.1; }
  .yu { padding-top: 8rem; margin-top: 0; }
  .stay-menu + .rooms { padding-top: 8rem; }
  .yu__bath img { aspect-ratio: 4 / 3; }
  .room-controls { gap: 6px; padding-inline: 10px; }
  .rooms__label { bottom: 78px; }
  .lounge-scene { padding-top: 12rem; }
  .scene-heading { margin-bottom: 4rem; }
  .lounge-scene__photo { margin: 0 0 0 6vw; }
  .lounge-scene__photo img { aspect-ratio: 4 / 5; object-position: 65% center; }
  .lounge-scene__photo figcaption { right: 14px; bottom: 14px; font-size: 12px; }
  .stay-guide, .edoya-journal { display: block; padding: 12rem var(--gutter) 0; }
  .guide-heading, .edoya-journal > h2 { margin-bottom: 30px; }
  .guide-body summary { font-size: 16px; }
  .journal-links a { font-size: 14px; gap: 15px; }
  .access { padding-top: 12rem; }
  .site-footer { padding-bottom: 100px; }
}
@media (max-height: 570px) and (orientation: landscape) {
  .kv-logo, .kv { min-height: 420px; }
  .kv-logo__inner { padding-top: 65px; }
  .edoya-title { writing-mode: horizontal-tb; font-size: 42px; }
  .edoya-title__small { font-size: 13px; margin-right: 10px; }
  .edoya-kicker { margin-bottom: 12px; }
  .kv-logo__catch { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .collage__op { opacity: 1; }
  html.js .collage__intro.is-ready .collage__op { opacity: 0; }
  .collage__sticky { height: auto; }
  .collage__intro { position: relative; }
}

.kv__ink { transition: opacity .8s ease; }
@media(prefers-reduced-motion: reduce) { .kv__ink { transition: none; } }

/* Hero上70%は指で描き、下30%は本文へ進むスクロール専用領域にする。
   背景は固定のまま、描画領域だけHeroと一緒に画面外へ出る。 */
@media (any-pointer: coarse) {
  .has-touch-ink .hero-ink-touch { display: block; position: absolute; inset: 0 0 30%; pointer-events: auto; touch-action: pinch-zoom; -webkit-user-select: none; user-select: none; }
  .has-touch-ink .hero-scroll-zone { display: block; position: absolute; inset: auto 0 0; height: 30%; pointer-events: auto; touch-action: pan-y pinch-zoom; }
  .site-header { pointer-events: none; }
  .site-header a { pointer-events: auto; }
}
