/* Shared site styles */
:root {
  --ink: #0f0f0f;
  --red: #890000;
  --beige: #e7d9c6;
  --sand: #c9bdad;
  --paper: #f8f8f6;
  --white: #ffffff;
  --gray: #707070;
  --line: rgba(15, 15, 15, 0.55);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
  --content: 1480px;
  --side-space: clamp(28px, 8vw, 170px);
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", "Noto Serif JP", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--white);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.04em;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.55;
}

h2 {
  font-size: clamp(28px, 2.35vw, 42px);
  letter-spacing: 0.06em;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 40;
  height: 100px;
  padding-left: 220px;
  background: var(--white);
  border-bottom: 1px solid rgba(15, 15, 15, 0.08);
}

.brand {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: flex;
  width: 220px;
  height: 220px;
  padding: 15px 13px 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--red);
  line-height: 1;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.global-nav {
  display: flex;
  width: min(100%, 1080px);
  height: 100%;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.global-nav a {
  display: flex;
  min-width: 100px;
  flex-direction: column;
  align-items: center;
  font-size: 17px;
  line-height: 1.35;
  white-space: nowrap;
}

.global-nav small {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.global-nav a::after {
  width: 0;
  height: 1px;
  margin-top: 8px;
  background: var(--red);
  content: "";
  transition: width 240ms ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  width: 100%;
}

.menu-button {
  display: none;
}

.floating-actions {
  position: fixed;
  z-index: 50;
  top: 50%;
  right: 0;
  display: flex;
  width: 62px;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-40%);
}

.floating-actions > a,
.floating-actions > .floating-static {
  display: flex;
  min-height: 60px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--white);
  background: var(--red);
  border-radius: 15px 0 0 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
  font-size: 12px;
  line-height: 1.2;
  transition: box-shadow 220ms ease;
}

.language-toggle {
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
}

.language-toggle:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

.floating-actions.is-over-footer .language-toggle:focus-visible {
  outline-color: var(--red);
}

.floating-actions.is-over-footer > a,
.floating-actions.is-over-footer > .floating-static {
  color: var(--red);
  background: var(--white);
  box-shadow: 0 6px 18px rgba(70, 0, 0, 0.2);
}

.floating-actions .floating-reserve {
  min-height: 148px;
  writing-mode: vertical-rl;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.floating-icon {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.floating-actions.is-over-footer .floating-icon {
  filter: brightness(0) saturate(100%) invert(10%) sepia(91%) saturate(4970%)
    hue-rotate(357deg) brightness(79%) contrast(119%);
}

.floating-short {
  font-size: 11px;
}

.hero {
  display: grid;
  height: calc(100vh - 100px);
  height: calc(100svh - 100px);
  min-height: 0;
  grid-template-columns: 220px 1fr;
  background: var(--paper);
}

.hero-title-wrap {
  display: grid;
  place-items: center;
  padding: 42px 0;
  background: var(--white);
}

.hero h1 {
  margin: 0;
  font-size: clamp(27px, 2.25vw, 40px);
  letter-spacing: 0.14em;
  line-height: 1.75;
  writing-mode: vertical-rl;
}

.hero-visual {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.hero-desktop-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 52% center;
}

.hero-mobile-collage {
  display: none;
}

.section-rule {
  border-top: 1px solid var(--line);
}

.intro {
  display: grid;
  max-width: var(--content);
  min-height: 780px;
  margin: 0 auto;
  padding: 135px var(--side-space);
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
  align-items: center;
  gap: clamp(64px, 9vw, 150px);
}

.intro-copy {
  width: 100%;
  container-type: inline-size;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro h2 {
  max-width: 620px;
  margin-bottom: 44px;
  font-size: clamp(22px, 1.7vw, 34px);
  font-size: clamp(22px, 5.25cqw, 34px);
}

.intro h2 span {
  display: block;
  white-space: nowrap;
}

html[lang="en"] .intro h2 span {
  white-space: normal;
}

.body-copy {
  font-size: clamp(17px, 1.35vw, 23px);
}

.body-copy p {
  margin-bottom: 34px;
}

.slideshow {
  position: relative;
  min-height: 430px;
  background: var(--beige);
}

.slides {
  position: absolute;
  inset: 0;
}

.slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 650ms ease;
}

.slides img.is-active {
  opacity: 1;
}

.slide-controls {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 0;
}

.slide-toggle,
.slide-dot {
  position: relative;
  width: 34px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.slide-dot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--ink);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.slide-dot.is-active::before {
  background: var(--red);
}

.slide-toggle {
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: sans-serif;
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

.paths {
  display: grid;
  max-width: var(--content);
  margin: 0 auto;
  padding: 135px var(--side-space) 155px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.paths-title {
  display: none;
}

.path-card {
  min-width: 0;
}

.path-heading {
  display: flex;
  margin-bottom: 18px;
  flex-direction: column;
  align-items: center;
  color: var(--red);
  line-height: 1.4;
}

.path-heading span {
  font-size: 20px;
}

.path-heading small {
  font-size: 11px;
  letter-spacing: 0.1em;
}

.path-card > img {
  width: 100%;
  height: clamp(280px, 20vw, 340px);
  object-fit: cover;
}

.path-copy {
  padding: 18px 16px 0;
}

.path-number {
  display: none;
  margin-bottom: 0;
  color: var(--red);
  font-size: 12px;
}

.path-copy h2 {
  margin-bottom: 8px;
  font-size: 23px;
}

.path-copy > p:not(.path-number) {
  min-height: 72px;
  margin-bottom: 22px;
  line-height: 1.75;
}

.line-button {
  display: flex;
  width: 88%;
  min-height: 44px;
  margin: 0 auto;
  padding: 8px 18px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
  transition:
    color 200ms ease,
    background 200ms ease;
}

.line-button:hover,
.line-button:focus-visible {
  color: var(--white);
  background: var(--red);
}

.stay-intro {
  display: grid;
  max-width: var(--content);
  min-height: 860px;
  margin: 0 auto;
  padding: 135px var(--side-space);
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.9fr);
  grid-template-areas:
    "collage heading"
    "collage body";
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: clamp(70px, 10vw, 160px);
}

.stay-collage {
  position: relative;
  min-height: 580px;
  grid-area: collage;
}

.stay-collage img {
  position: absolute;
  object-fit: cover;
}

.stay-image-main {
  top: 0;
  left: 0;
  width: 72%;
  height: 45%;
}

.stay-image-garden {
  right: 0;
  bottom: 0;
  width: 62%;
  height: 46%;
}

.stay-image-food {
  bottom: 2%;
  left: 8%;
  width: 29%;
  height: 48%;
}

.stay-heading {
  align-self: end;
  grid-area: heading;
}

.stay-body {
  align-self: start;
  grid-area: body;
}

.stay-body p {
  margin-bottom: 24px;
}

.stories {
  overflow: hidden;
  padding: 110px 0 90px;
  background: #efebe8;
}

.stories-sticky {
  min-width: 0;
}

.story-track {
  display: flex;
  width: 100%;
  padding: 0 max(var(--side-space), calc((100vw - 1540px) / 2));
  gap: 48px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: max(var(--side-space), calc((100vw - 1540px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.story-track::-webkit-scrollbar {
  display: none;
}

.story-card {
  display: grid;
  width: auto;
  min-height: clamp(680px, 42vw, 800px);
  margin: 0;
  flex: 0 0 min(82vw, 1480px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas: "copy media";
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(137, 0, 0, 0.25);
  border-radius: 8px;
  box-shadow: 0 18px 52px rgba(60, 48, 40, 0.08);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.story-image {
  min-width: 0;
  grid-area: media;
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: clamp(680px, 42vw, 800px);
  object-fit: cover;
}

.story-card:nth-child(2) .story-image img {
  object-position: 64% center;
}

.story-card:nth-child(3) .story-image img {
  object-position: 35% center;
}

.story-copy {
  display: flex;
  padding: clamp(66px, 7vw, 110px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  grid-area: copy;
}

.story-number {
  margin-bottom: clamp(46px, 6vh, 76px);
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.story-copy h2 {
  margin-bottom: 34px;
  font-size: clamp(34px, 2.65vw, 48px);
  line-height: 1.5;
}

.story-copy p:not(.story-number) {
  margin-bottom: 22px;
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 500;
  line-height: 2;
}

.story-controls {
  display: flex;
  width: min(100% - (var(--side-space) * 2), 1480px);
  margin: 34px auto 0;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--red);
}

.story-controls button {
  display: grid;
  width: 50px;
  height: 50px;
  padding: 0;
  place-items: center;
  color: var(--red);
  background: transparent;
  border: 1px solid var(--red);
  border-radius: 50%;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.story-controls button:hover,
.story-controls button:focus-visible {
  color: var(--white);
  background: var(--red);
}

.story-controls button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.story-controls button:disabled:hover {
  color: var(--red);
  background: transparent;
}

.story-controls span {
  min-width: 64px;
  font-size: 13px;
  text-align: center;
}

.journey {
  display: grid;
  max-width: var(--content);
  min-height: 880px;
  margin: 0 auto;
  padding: 120px var(--side-space);
  grid-template-columns: minmax(0, 1.65fr) minmax(420px, 0.8fr);
  align-items: center;
}

.journey-visual {
  position: relative;
}

.journey-visual::after {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  content: "";
  pointer-events: none;
}

.journey-visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.journey-copy {
  position: relative;
  z-index: 2;
  margin-left: -80px;
  padding: 60px 55px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  container-type: inline-size;
}

.journey-copy h2 {
  margin-bottom: 34px;
  font-size: clamp(20px, 1.8vw, 32px);
  font-size: clamp(20px, 7.5cqw, 37px);
}

.journey-copy h2 span {
  display: block;
  white-space: nowrap;
}

html[lang="en"] .journey-copy h2 span,
html[lang="en"] .access-address-line {
  white-space: normal;
}

.journey-copy p {
  margin-bottom: 22px;
}

.travel-times {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(15, 15, 15, 0.35);
  border-bottom: 1px solid rgba(15, 15, 15, 0.35);
  list-style: none;
}

.travel-times li {
  display: flex;
  padding: 13px 8px;
  flex-direction: column;
  align-items: center;
  border-left: 1px solid rgba(15, 15, 15, 0.25);
  font-size: 11px;
  line-height: 1.55;
}

.travel-times li:first-child {
  border-left: 0;
}

.travel-times strong {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}

.travel-note {
  display: block;
  margin-top: 26px;
  color: var(--gray);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
}

.faq {
  display: grid;
  max-width: 1180px;
  min-height: 820px;
  margin: 0 auto;
  padding: 130px var(--side-space);
  grid-template-columns: 0.65fr 1.35fr;
  gap: 90px;
}

.faq-heading {
  position: sticky;
  top: 70px;
  align-self: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  display: flex;
  width: 100%;
  padding: 26px 6px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 17px;
  text-align: left;
}

.faq-question b {
  margin-right: 12px;
  color: var(--red);
  font-size: 21px;
}

.faq-question i {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.faq-question i::before,
.faq-question i::after {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 1px;
  background: var(--ink);
  content: "";
  transition: transform 220ms ease;
}

.faq-question i::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] i::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 44px 28px 48px;
  color: #333;
  font-weight: 500;
}

.faq-answer p {
  margin: 0;
}

.reserve {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(rgba(0, 0, 0, 0.53), rgba(0, 0, 0, 0.53)),
    url("../images/property/en-japanese-room-reservation.webp") center / cover no-repeat;
}

.reserve-inner {
  width: 100%;
  padding: 60px 24px;
  text-align: center;
}

.reserve .eyebrow {
  margin-bottom: 4px;
  color: var(--white);
  font-size: 36px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.reserve h2 {
  margin-bottom: 60px;
  font-size: 19px;
}

.reserve-inner > p:not(.eyebrow) {
  margin-bottom: 26px;
  font-size: 18px;
}

.reserve-actions {
  display: grid;
  width: min(100%, 696px);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 330px));
  justify-content: center;
  gap: 16px;
}

.reserve-button {
  display: flex;
  width: min(100%, 330px);
  min-height: 76px;
  margin: 0 auto;
  padding: 2px 30px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--white);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.reserve-actions .reserve-button {
  width: 100%;
  margin: 0;
}

.reserve-button:hover,
.reserve-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.reserve-button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.reserve-button:active {
  transform: translateY(0) scale(0.99);
}

.reserve-button--airbnb {
  background: var(--red);
  border-color: var(--red);
}

.reserve-button--airbnb:hover,
.reserve-button--airbnb:focus-visible {
  background: #6d0000;
  border-color: #6d0000;
}

.reserve-button--booking:hover,
.reserve-button--booking:focus-visible {
  background: #f2f5fa;
  border-color: #f2f5fa;
}

.reserve-service-logo {
  display: block;
  width: auto;
  max-width: 78%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.reserve-service-logo--airbnb {
  width: 146px;
}

.reserve-service-logo--booking {
  width: 188px;
}

.reserve-button:hover .reserve-mark,
.reserve-button:focus-visible .reserve-mark {
  background: var(--white);
}

.reserve-mark {
  width: 24px;
  height: 24px;
  background: var(--red);
  -webkit-mask: url("../icons/calendar.svg") center / contain no-repeat;
  mask: url("../icons/calendar.svg") center / contain no-repeat;
}

.access-section {
  padding: 150px var(--side-space) 175px;
  background: var(--white);
}

.access-inner {
  display: grid;
  width: min(100%, 1540px);
  margin: 0 auto;
  grid-template-columns: minmax(330px, 0.62fr) minmax(560px, 1.38fr);
  align-items: center;
  gap: clamp(70px, 8vw, 150px);
}

.access-copy h2 {
  margin: 0;
  font-size: clamp(40px, 3.2vw, 58px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.access-jp {
  margin: 5px 0 58px;
  font-size: 15px;
  font-weight: 600;
}

.access-details {
  margin: 0;
}

.access-property-name {
  margin: 0 0 32px;
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.access-details div {
  display: grid;
  margin-bottom: 20px;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.access-details dt,
.access-details dd {
  margin: 0;
}

.access-details dt {
  padding-top: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.7;
}

.access-details dd {
  font-size: clamp(17px, 1.25vw, 22px);
  font-weight: 600;
}

.access-address-line {
  white-space: nowrap;
}

.access-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: #d5c8b5;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.information {
  padding: 110px var(--side-space) 170px;
  background: var(--white);
}

.information-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.information h2 {
  margin: 0 0 36px;
  font-size: clamp(38px, 3vw, 54px);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.information-category {
  margin: 0;
  padding-bottom: 22px;
  color: var(--red);
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
}

.information .faq-question {
  padding: 22px 8px;
  font-size: 16px;
  font-weight: 600;
}

.information .faq-answer {
  padding: 0 44px 28px 8px;
  font-size: 14px;
  line-height: 2;
}

.cancel-fees {
  width: 180px;
  margin: 18px 0 24px;
}

.cancel-fees div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.cancel-fees dt,
.cancel-fees dd {
  margin: 0;
}

.policy-notes {
  margin: 0;
  padding-left: 1.5em;
}

.information-subsection {
  display: flex;
  width: 100%;
  margin-top: 35px;
  padding: 22px 8px;
  align-items: center;
  justify-content: space-between;
  color: var(--red);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}

.information-subsection i {
  position: relative;
  width: 20px;
  height: 20px;
}

.information-subsection i::before,
.information-subsection i::after {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 1px;
  background: var(--red);
  content: "";
}

.information-subsection i::after {
  transform: rotate(90deg);
}

.site-footer {
  min-height: 700px;
  padding: 95px var(--side-space) 70px;
  color: var(--white);
  background: var(--red);
}

.footer-inner {
  display: grid;
  width: min(100%, 1540px);
  min-height: 535px;
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "details brand"
    "details reserve"
    "legal reserve";
  grid-template-rows: auto 1fr auto;
  column-gap: 100px;
}

.footer-brand-block {
  display: flex;
  grid-area: brand;
  flex-direction: column;
  align-items: center;
}

.footer-brand {
  display: block;
  width: 190px;
  color: var(--white);
  line-height: 1;
}

.footer-brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-details {
  grid-area: details;
}

.footer-details address {
  margin-bottom: 78px;
  font-style: normal;
}

.footer-details address p {
  margin: 0 0 7px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.55;
}

.footer-nav p {
  margin: 0 0 7px;
  line-height: 1.2;
}

.footer-nav a,
.footer-legal a {
  color: var(--white);
}

.footer-nav a {
  padding: 0;
}

.footer-reserve {
  display: flex;
  width: min(100%, 330px);
  min-height: 64px;
  margin: auto auto 36px;
  padding: 12px 30px;
  grid-area: reserve;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--white);
}

.footer-legal {
  grid-area: legal;
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.footer-legal nav a {
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.7);
}

.footer-legal nav a:first-child {
  padding-left: 0;
  border-left: 0;
}

.copyright {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 500;
}

.back-to-top {
  position: fixed;
  z-index: 45;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: var(--red);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 200ms ease,
    box-shadow 220ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top.is-over-footer {
  color: var(--red);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(70, 0, 0, 0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stay-collage.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.stay-collage.reveal img {
  opacity: 0.28;
  filter: blur(5px) brightness(1.05);
  transform: translateY(-8px) scale(1.018);
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 40%,
    rgba(0, 0, 0, 0.9) 46%,
    transparent 64%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 40%,
    rgba(0, 0, 0, 0.9) 46%,
    transparent 64%,
    transparent 100%
  );
  -webkit-mask-position: 0 100%;
  mask-position: 0 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 260%;
  mask-size: 100% 260%;
  transition:
    opacity 1800ms cubic-bezier(0.45, 0, 0.55, 1),
    filter 2600ms cubic-bezier(0.45, 0, 0.55, 1),
    transform 2700ms cubic-bezier(0.45, 0, 0.55, 1),
    -webkit-mask-position 3000ms cubic-bezier(0.45, 0, 0.55, 1),
    mask-position 3000ms cubic-bezier(0.45, 0, 0.55, 1);
}

.stay-collage.reveal.is-visible img {
  opacity: 1;
  filter: none;
  transform: none;
  -webkit-mask-position: 0 0;
  mask-position: 0 0;
}

.stay-collage.reveal img:nth-child(2) {
  transition-delay: 220ms;
}

.stay-collage.reveal img:nth-child(3) {
  transition-delay: 440ms;
}

@media (min-width: 821px) and (min-height: 760px) {
  .stories.is-scroll-story {
    position: relative;
    height: var(--story-scroll-height, 100svh);
    padding: 0;
    overflow: visible;
  }

  .stories.is-scroll-story .stories-sticky {
    position: sticky;
    top: 0;
    display: grid;
    height: 100vh;
    height: 100svh;
    padding: clamp(28px, 4vh, 44px) 0 clamp(22px, 3vh, 32px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
    overflow: hidden;
    background: #efebe8;
  }

  .stories.is-scroll-story .story-track {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    align-items: center;
    overflow: visible;
    scroll-padding-inline: 0;
    scroll-snap-type: none;
    touch-action: pan-y;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .stories.is-scroll-story .story-card {
    height: 100%;
    min-height: 0;
    max-height: 800px;
    scroll-snap-align: none;
  }

  .stories.is-scroll-story .story-image {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .stories.is-scroll-story .story-image img {
    height: 100%;
    min-height: 0;
  }

  .stories.is-scroll-story .story-copy {
    min-height: 0;
    padding: clamp(42px, 5vh, 70px) clamp(44px, 5vw, 86px);
  }

  .stories.is-scroll-story .story-number {
    margin-bottom: clamp(24px, 3.5vh, 38px);
  }

  .stories.is-scroll-story .story-copy h2 {
    margin-bottom: clamp(20px, 2.8vh, 30px);
    font-size: clamp(32px, 2.35vw, 45px);
  }

  .stories.is-scroll-story .story-copy p:not(.story-number) {
    margin-bottom: clamp(12px, 1.8vh, 20px);
    line-height: 1.9;
  }

  .stories.is-scroll-story .story-controls {
    margin-top: 0;
  }
}

@media (min-width: 821px) {
  html[lang="en"] .hero {
    grid-template-columns: minmax(300px, 25vw) minmax(0, 1fr);
  }

  html[lang="en"] .hero-title-wrap {
    padding: 150px 42px 52px;
    place-items: center start;
  }

  html[lang="en"] .hero h1 {
    font-size: clamp(28px, 2.25vw, 40px);
    letter-spacing: 0.04em;
    line-height: 1.5;
    writing-mode: horizontal-tb;
  }

  html[lang="en"] .global-nav {
    gap: clamp(12px, 2vw, 30px);
  }

  html[lang="en"] .global-nav a {
    font-size: clamp(13px, 1.12vw, 16px);
  }
}

@media (max-width: 1180px) {
  .site-header {
    padding-left: 160px;
  }

  .brand {
    width: 160px;
    height: 170px;
    padding: 11px 9px 9px;
  }

  .global-nav {
    width: 93%;
    gap: 16px;
  }

  .global-nav a {
    min-width: auto;
    font-size: 14px;
  }

  .intro,
  .stay-intro {
    padding-right: 70px;
    padding-left: 70px;
  }

  .journey {
    grid-template-columns: 1.4fr 0.9fr;
  }

  .access-inner {
    grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
    gap: 50px;
  }
}

@media (min-width: 821px) and (max-width: 1080px) {
  .intro {
    min-height: 0;
    padding-top: 110px;
    padding-bottom: 110px;
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .intro h2 {
    max-width: none;
  }

  .intro .slideshow {
    min-height: clamp(430px, 55vw, 540px);
  }
}

@media (max-width: 820px) {
  :root {
    --side-space: 24px;
  }

  body {
    font-size: 14px;
    line-height: 1.9;
  }

  h2 {
    font-size: 25px;
  }

  .site-header {
    height: 116px;
    padding: 0;
  }

  .brand {
    width: 92px;
    height: 90px;
    padding: 6px 5px 5px;
  }

  .menu-button {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    display: flex;
    width: 68px;
    height: 68px;
    padding: 20px 17px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    background: var(--white);
    border: 0;
    border-radius: 0 0 0 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 34px;
    height: 2px;
    background: var(--ink);
    transition:
      transform 220ms ease,
      opacity 220ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: 0;
    display: flex;
    width: 100%;
    height: 100dvh;
    padding: 130px 40px 50px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    background: rgba(248, 248, 246, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition:
      opacity 220ms ease,
      transform 220ms ease,
      visibility 0s linear 220ms;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .global-nav a {
    width: 100%;
    padding: 11px 0;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid rgba(15, 15, 15, 0.28);
    font-size: 20px;
  }

  .global-nav a::after {
    display: none;
  }

  .floating-actions {
    top: 55%;
    width: 46px;
    gap: 6px;
  }

  .floating-actions > a,
  .floating-actions > .floating-static {
    min-height: 46px;
    border-radius: 13px 0 0 13px;
  }

  .floating-actions .floating-reserve {
    min-height: 126px;
    font-size: 13px;
  }

  .floating-icon {
    width: 21px;
    height: 21px;
  }

  .hero {
    display: flex;
    height: auto;
    min-height: auto;
    flex-direction: column;
    background: var(--white);
  }

  .hero-title-wrap {
    order: 2;
    place-items: start;
    padding: 32px 36px 42px;
  }

  .hero h1 {
    font-size: 25px;
    letter-spacing: 0.07em;
    line-height: 1.55;
    writing-mode: horizontal-tb;
  }

  .hero-visual {
    order: 1;
    height: 370px;
    padding-top: 90px;
  }

  .hero-desktop-image {
    display: none;
  }

  .hero-mobile-collage {
    display: grid;
    height: 280px;
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .hero-mobile-collage img {
    width: 100%;
    object-fit: cover;
  }

  .hero-mobile-collage img:first-child {
    height: 72%;
    object-position: 35% center;
  }

  .hero-mobile-collage img:last-child {
    height: 86%;
    object-position: 62% center;
  }

  .intro {
    display: flex;
    min-height: 0;
    padding: 66px 36px 82px;
    flex-direction: column;
    gap: 55px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .intro h2 {
    width: calc(100% + 24px);
    margin-bottom: 32px;
    margin-left: -12px;
    font-size: clamp(15px, 4.7vw, 19px);
    font-size: clamp(15px, 5.25cqw, 19px);
  }

  .body-copy {
    font-size: 15px;
  }

  .body-copy p {
    margin-bottom: 26px;
  }

  .slideshow {
    width: calc(100% + 72px);
    min-height: 275px;
    margin-left: 0;
  }

  .paths {
    display: block;
    padding: 32px 0 75px;
  }

  .paths-title {
    display: block;
    padding: 28px 24px 38px;
    text-align: center;
  }

  .paths-title h2 {
    margin: 0;
    font-size: 31px;
    font-weight: 500;
    letter-spacing: 0.08em;
  }

  .paths-title p {
    margin: 3px 0 0;
    font-size: 11px;
  }

  .path-card {
    display: grid;
    padding: 24px 70px 24px 24px;
    grid-template-columns: minmax(112px, 0.72fr) 1.28fr;
    grid-template-areas:
      "image heading"
      "image copy";
    grid-template-rows: auto 1fr;
    gap: 0 14px;
    border-bottom: 1px solid var(--line);
  }

  .path-heading {
    grid-area: heading;
    align-items: flex-start;
    margin-bottom: 7px;
  }

  .path-heading span {
    color: var(--red);
    font-size: 15px;
  }

  .path-heading small {
    display: none;
  }

  .path-card > img {
    height: 100%;
    min-height: 230px;
    grid-area: image;
    aspect-ratio: auto;
  }

  .path-card:nth-of-type(1) > img {
    object-position: 22% center;
  }

  .path-card:nth-of-type(2) > img {
    object-position: 65% center;
  }

  .path-card:nth-of-type(3) > img {
    object-position: 50% 62%;
  }

  .path-copy {
    display: flex;
    padding: 0;
    flex-direction: column;
    grid-area: copy;
  }

  .path-number {
    display: block;
  }

  .path-copy h2 {
    margin-bottom: 10px;
    font-size: 22px;
  }

  .path-copy > p:not(.path-number) {
    min-height: 0;
    margin-bottom: 16px;
    font-size: 13px;
  }

  .line-button {
    width: 100%;
    min-height: 40px;
    margin-top: auto;
    padding: 7px 14px;
    font-size: 12px;
  }

  .stay-intro {
    display: grid;
    min-height: 0;
    padding: 68px 24px 62px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "collage"
      "body";
    grid-template-rows: auto auto auto;
    gap: 45px;
  }

  .stay-heading,
  .stay-body {
    padding: 0 12px;
  }

  .stay-heading h2 {
    font-size: 25px;
  }

  .stay-collage {
    width: 100%;
    min-height: 265px;
  }

  .stay-image-main {
    width: 100%;
    height: 100%;
    object-position: center;
  }

  .stay-image-garden,
  .stay-image-food {
    display: none;
  }

  .stories {
    padding: 70px 0 62px;
  }

  .story-track {
    padding: 0 18px;
    gap: 16px;
    scroll-padding-inline: 18px;
  }

  .story-card {
    display: flex;
    min-height: 0;
    flex: 0 0 calc(100vw - 36px);
    flex-direction: column;
    border-radius: 9px;
  }

  .story-image {
    width: 100%;
    order: 1;
  }

  .story-image img {
    min-height: 280px;
    aspect-ratio: 1.18 / 1;
  }

  .story-copy {
    padding: 42px 27px 34px;
    order: 2;
  }

  .story-number {
    margin-bottom: 28px;
    font-size: 10px;
  }

  .story-copy h2 {
    font-size: 27px;
  }

  .story-copy p:not(.story-number) {
    font-size: 13px;
  }

  .story-controls {
    width: calc(100% - 36px);
    margin-top: 26px;
  }

  .story-controls button {
    width: 42px;
    height: 42px;
  }

  .journey {
    display: flex;
    min-height: 0;
    padding: 0;
    flex-direction: column;
    background: #efebe8;
  }

  .journey-visual {
    width: 100%;
    padding: 0 10px 62px;
    order: 2;
  }

  .journey-visual img {
    min-height: 0;
  }

  .journey-copy {
    width: 100%;
    margin: 0;
    padding: 68px 28px 35px;
    order: 1;
    background: transparent;
    border: 0;
  }

  .journey-copy h2 {
    font-size: clamp(18px, 6.4vw, 24px);
    font-size: clamp(18px, 7.5cqw, 24px);
  }

  .travel-times {
    margin-top: 28px;
  }

  .travel-times li {
    padding: 10px 3px;
    font-size: 9px;
  }

  .travel-times strong {
    font-size: 11px;
  }

  .faq {
    display: block;
    min-height: 0;
    padding: 85px 24px;
  }

  .faq-heading {
    position: static;
    margin-bottom: 45px;
  }

  .faq-question {
    padding: 21px 2px;
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 28px 24px 34px;
    font-size: 13px;
  }

  .reserve {
    min-height: 560px;
    background-position: 38% 58%;
  }

  .reserve .eyebrow {
    font-size: 29px;
  }

  .reserve h2 {
    margin-bottom: 52px;
  }

  .reserve-inner > p:not(.eyebrow) {
    font-size: 14px;
  }

  .reserve-actions {
    width: min(100%, 330px);
    grid-template-columns: 1fr;
  }

  .access-section {
    padding: 88px 24px 100px;
  }

  .access-inner {
    display: block;
  }

  .access-copy {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .access-copy h2 {
    text-align: center;
  }

  .access-jp {
    display: none;
  }

  .access-details {
    margin: 34px 0 28px;
  }

  .access-property-name {
    margin: 30px 0 26px;
    font-size: 17px;
    text-align: center;
  }

  .access-details div {
    margin-bottom: 14px;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
  }

  .access-details dt {
    padding-top: 3px;
    font-size: 11px;
  }

  .access-details dd {
    font-size: 14px;
    letter-spacing: 0;
  }

  .access-map {
    width: min(100%, 300px);
    aspect-ratio: 4 / 3;
    min-height: 0;
    margin: 0 auto;
  }

  .information {
    padding: 82px 24px 105px;
  }

  .information h2 {
    margin-bottom: 34px;
    text-align: center;
  }

  .information-category {
    padding-bottom: 18px;
    font-size: 16px;
  }

  .information .faq-question {
    padding: 19px 2px;
    font-size: 14px;
  }

  .information .faq-answer {
    padding: 0 4px 24px;
    font-size: 12px;
    line-height: 1.9;
  }

  .information-subsection {
    padding: 20px 2px;
    font-size: 15px;
  }

  .site-footer {
    min-height: 0;
    padding: 48px 24px 52px;
  }

  .footer-inner {
    display: flex;
    width: min(100%, 300px);
    min-height: 0;
    flex-direction: column;
  }

  .footer-brand-block {
    order: 1;
  }

  .footer-brand {
    width: 148px;
  }

  .footer-details {
    order: 2;
    margin-top: 36px;
  }

  .footer-details address {
    margin-bottom: 50px;
    font-size: 13px;
  }

  .footer-nav {
    gap: 2px;
    font-size: 13px;
    line-height: 1.55;
  }

  .footer-nav p {
    margin-bottom: 6px;
  }

  .footer-nav a {
    display: flex;
    width: 100%;
    min-height: 32px;
    align-items: center;
  }

  .footer-reserve {
    width: 100%;
    min-height: 54px;
    margin: 50px 0 26px;
    order: 3;
    font-size: 15px;
  }

  .footer-legal {
    order: 4;
  }

  .footer-legal nav {
    justify-content: center;
  }

  .footer-legal nav a {
    padding: 0 10px;
    font-size: 10px;
  }

  .footer-legal .copyright {
    margin-top: 20px;
    text-align: center;
  }

  .back-to-top {
    right: 15px;
    bottom: 15px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 1180px) {
  .reserve {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.53), rgba(0, 0, 0, 0.53)),
      image-set(
        url("../images/property/en-japanese-room-reservation-1024.webp") 1x,
        url("../images/property/en-japanese-room-reservation.webp") 2x
      );
  }
}

@media (max-width: 820px) {
  .reserve {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.53), rgba(0, 0, 0, 0.53)),
      image-set(
        url("../images/property/en-japanese-room-reservation-640.webp") 1x,
        url("../images/property/en-japanese-room-reservation-1024.webp") 2x
      );
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .stay-collage.reveal img {
    opacity: 0.55;
    filter: none;
    transform: none;
    transition:
      opacity 1200ms ease,
      -webkit-mask-position 2400ms cubic-bezier(0.45, 0, 0.55, 1),
      mask-position 2400ms cubic-bezier(0.45, 0, 0.55, 1) !important;
    transition-delay: 0ms !important;
  }
}
