/* color balance — Paper, concrete, brick, black plaster. */

:root {
  --paper: #f7f6f3;
  --paper-2: #efeee9;
  --ink: #141311;
  --ink-soft: #3a3834;
  --muted: #8d877f;
  --line: rgba(20, 19, 17, 0.12);
  --brick: #141311;
  --brick-deep: #000;
  --white: #f7f6f3;
  --header: 84px;
  --pad: clamp(24px, 5vw, 80px);
  --max: 1200px;
  --serif: "Shippori Mincho", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --en: "Outfit", "Zen Kaku Gothic New", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  font-feature-settings: "palt";
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

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

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: #e4e0d8; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { top: 12px; }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header);
  padding: 0 var(--pad);
  color: #fff;
  background: linear-gradient(to bottom, rgba(20, 18, 16, 0.28), transparent);
  transition: background 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease);
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(243, 239, 231, 0.96);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--en);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.16em;
  transition: opacity 0.4s var(--ease);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s var(--ease);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }

.nav-cta {
  border: 1px solid currentColor;
  padding: 10px 18px;
  border-radius: 0;
  letter-spacing: 0.16em !important;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.site-header.is-solid .nav-cta {
  background: var(--brick);
  border-color: var(--brick);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

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

.nav-toggle span:first-child,
.nav-toggle span:first-child::before,
.nav-toggle span:first-child::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.45s var(--ease), top 0.45s var(--ease), background 0.3s var(--ease);
}
.nav-toggle span:first-child::before,
.nav-toggle span:first-child::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span:first-child::before { top: -7px; }
.nav-toggle span:first-child::after { top: 7px; }

.nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
.nav-toggle[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(40deg); }
.nav-toggle[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-40deg); }

.page-main { padding-top: calc(var(--header) + 8px); }

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.hero-slides {
  position: absolute;
  inset: -12% 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}

.hero-media.is-active {
  opacity: 1;
  animation: drift 8s linear both;
}

.hero-copy > * {
  animation: rise 1.2s var(--ease) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.25s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.42s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.58s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.74s; }

.hero-meta { animation: rise 1.3s var(--ease) 0.9s both; }

@keyframes drift {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 16, 14, 0.72) 0%, rgba(18, 16, 14, 0.12) 46%, rgba(18, 16, 14, 0.28) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad) 96px;
  max-width: 820px;
}

.kicker {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.hero-copy .kicker,
.page-intro .kicker,
.section-head .kicker,
.article > .kicker,
.sisters .kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-copy .kicker::before,
.page-intro .kicker::before,
.section-head .kicker::before,
.article > .kicker::before,
.sisters .kicker::before {
  content: "";
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  flex: none;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 1.12;
  letter-spacing: 0.04em;
  margin: 0 0 22px;
}

.hero-lead {
  max-width: 36em;
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 0;
  text-decoration: none;
  letter-spacing: 0.16em;
  font-size: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.btn-fill { background: var(--brick); color: #fff; }
.btn-fill:hover { background: var(--brick-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

.hero-meta {
  position: absolute;
  right: var(--pad);
  bottom: 28px;
  z-index: 1;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  opacity: 0.8;
}

/* Layout */

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.section { padding: 140px 0; }

.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: end;
}

.section-head h2,
.page-intro h1,
.space-copy h2,
.split h2,
.visit h2,
.now h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  margin: 0;
}

.section-head h2,
.now h2 { font-size: clamp(32px, 4vw, 48px); }

.section-head h2 + .lede,
.now h2 + .lede { margin-top: 16px; }

.lede {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40em;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.facts li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 56px var(--pad);
  border-right: 0;
}

.fact-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facts li:last-child { border-right: 0; }

.facts span {
  display: block;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.facts strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.fact-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Concept */

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 96px;
  align-items: center;
}

.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-copy { order: 2; }

.split h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 20px; }

.split p { margin: 0 0 16px; color: var(--ink-soft); }

.frame {
  margin: 0;
  background: transparent;
  overflow: hidden;
}

.frame img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

.frame.plan { max-width: 760px; margin-inline: auto; }
.frame.plan img { aspect-ratio: auto; object-fit: contain; height: auto; background: #fff; }

.band {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}
.band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.band figcaption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.band + .wrap { margin-top: 72px; }

.portrait { margin: 32px 0 0; }
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 40%;
}

.equip-photo { margin: 36px 0 8px; }
.equip-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.frame figcaption,
.quiet {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 10px;
}

/* Three lights */

.lights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.light {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: transparent;
}

.light img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.light div { padding: 28px 0 0; }

.light em {
  font-family: var(--en);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
}

.light h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  margin: 8px 0 10px;
  letter-spacing: 0.05em;
}

.light p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Space index */

.space-list { display: flex; flex-direction: column; }

.space-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.space-row:last-child { border-bottom: 1px solid var(--line); }

.space-row:nth-child(even) { grid-template-columns: 0.85fr 1.15fr; }
.space-row:nth-child(even) .space-photo { order: 2; }

.space-photo img,
img.space-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.detail img.diagram,
.diagram {
  width: min(100%, 480px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  margin: 6px 0 24px;
  background: #fff;
}

.index-no {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--brick);
}

.space-copy h2 { font-size: 36px; margin: 8px 0 12px; }

.space-copy p { margin: 0 0 16px; color: var(--ink-soft); }

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.more {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* Chips */

.chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  padding-top: 64px;
}

.chips .fact-icon { width: 28px; height: 28px; margin-bottom: 18px; }

.chips article { background: transparent; padding: 0; }

.chips h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 8px 0 10px;
  letter-spacing: 0.04em;
}

.chips p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Price snapshot */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.price-card {
  padding: 28px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.price-card.featured {
  background: transparent;
  color: inherit;
  border-color: var(--ink);
}

.price-card span {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-card.featured span { color: var(--muted); }

.price-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  margin: 12px 0 0;
  letter-spacing: 0.04em;
}

.price-card .yen {
  margin-top: auto;
  padding-top: 28px;
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: 0.02em;
}

.price-card .yen small {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-left: 6px;
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.uses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.uses h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}

.uses p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.uses .fact-icon { width: 26px; height: 26px; margin-bottom: 16px; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

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

.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 12px no-repeat;
}

.faq details[open] summary::after {
  background: linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat;
}

.steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child { border-bottom: 1px solid var(--line); }

.steps h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.steps p { margin: 0; color: var(--ink-soft); }

.steps .fact-icon { margin: 4px 0 0; }

.faq p {
  margin: 14px 0 0;
  max-width: 40em;
  color: var(--ink-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.card { text-decoration: none; display: flex; flex-direction: column; overflow: hidden; }

.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.card time {
  display: block;
  margin-top: 14px;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 8px 0;
}

.card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Visit */

.visit {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.visit h2 { font-size: 40px; margin-bottom: 16px; }

.visit address {
  font-style: normal;
  margin-bottom: 20px;
}

.times {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.times th,
.times td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.times th { color: var(--muted); width: 46%; }

.map {
  min-height: 420px;
  border: 0;
  width: 100%;
  filter: grayscale(0.35) contrast(0.95);
}

/* Page intro */

.page-intro {
  padding: 48px 0 8px;
}

.page-intro h1 {
  font-family: var(--en);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}

.page-intro .lede { font-size: 17px; }

/* Space detail */

.detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 16px);
}

.room-slides {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e8e4dc;
  cursor: pointer;
}

.detail .room-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  opacity: 0;
  transform: none;
  transition: opacity 1.6s var(--ease);
}

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

.slide-next {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  border: 0;
  background: rgba(247, 246, 243, 0.92);
  color: var(--ink);
  min-height: 36px;
  padding: 0 12px;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.16em;
  cursor: pointer;
}

.detail img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.detail h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  margin: 8px 0 12px;
  letter-spacing: 0.05em;
}

.detail .price-line {
  font-family: var(--serif);
  font-size: 28px;
  margin: 18px 0;
}

.spec-table { width: 100%; border-collapse: collapse; }

.spec-table th,
.spec-table td {
  text-align: left;
  font-weight: 400;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th { width: 7em; color: var(--muted); }

.floor-block { padding: 28px 0 72px; }

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.pair img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* Tables */

.table-wrap { overflow-x: auto; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--white);
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.price-table thead th {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

.price-table thead th.is-day {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.5;
}

.price-table tbody th {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.price-table tr.whole { background: #f7f1e6; }

.subhead {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 56px 0 8px;
}

details.fold {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details.fold summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.05em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

details.fold summary::-webkit-details-marker { display: none; }

details.fold summary::after {
  content: "開く";
  flex: none;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

details.fold[open] summary::after { content: "閉じる"; }

/* Gallery */

.gallery {
  columns: 3 280px;
  column-gap: 14px;
}

.shot {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  break-inside: avoid;
  overflow: hidden;
}

.shot img { width: 100%; height: auto; aspect-ratio: auto; object-fit: unset; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 15, 13, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  object-fit: contain;
  transform: scale(0.985);
  transition: transform 0.8s var(--ease);
}

.lightbox.is-open img { transform: none; }

.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 0;
  min-height: 44px;
  padding: 0 16px;
  cursor: pointer;
}

/* Journal article */

.article { width: min(740px, calc(100% - var(--pad) * 2)); margin: 0 auto 80px; padding-top: 48px; }

.article h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.article .hero-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin: 28px 0; }

/* Form */

.form {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label { display: grid; gap: 6px; font-size: 14px; }

label span { color: var(--muted); letter-spacing: 0.04em; }

input, select, textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 2px;
}

textarea { min-height: 160px; resize: vertical; }

.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }

.checks label { display: flex; align-items: flex-start; gap: 8px; }
.checks label span { line-height: 1.6; }

.checks input { width: auto; }

.form-note {
  background: #efe7da;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

.thanks {
  display: none;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.thanks.is-on { display: block; }

.thanks { scroll-margin-top: calc(var(--header) + 24px); }

.req {
  margin-left: 8px;
  padding: 1px 6px;
  border: 1px solid currentColor;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  vertical-align: 1px;
}

[aria-invalid="true"] { border-color: #a5432f; }

.form-error,
.wpcf7-not-valid-tip {
  margin: 0;
  font-size: 13px;
  color: #a5432f;
}

.summary {
  display: grid;
  grid-template-columns: 12em 1fr;
  column-gap: 20px;
  margin: 28px 0;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.summary dt,
.summary dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary dt { color: var(--muted); }
.summary dd { white-space: pre-wrap; overflow-wrap: anywhere; }

/* Contact Form 7 output (WordPress) */

.wpcf7-form-control-wrap { display: block; }

.wpcf7-checkbox,
.wpcf7-acceptance { display: flex; flex-wrap: wrap; gap: 10px 18px; }

.wpcf7-list-item { margin: 0; }

.wpcf7-list-item label { display: flex; align-items: flex-start; gap: 8px; }
.wpcf7-list-item input { width: auto; margin-top: 6px; }
.wpcf7-list-item-label { color: var(--ink-soft); }

.wpcf7-not-valid { border-color: #a5432f; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; }

.wpcf7 form .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #a5432f; color: #a5432f; }

.wpcf7-spinner { margin-left: 12px; vertical-align: middle; }

/* About */

.prose { max-width: 42em; }
.prose p { color: var(--ink-soft); }

.company { width: 100%; border-collapse: collapse; }

.company th,
.company td {
  text-align: left;
  vertical-align: top;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}

.company th { width: 8em; color: var(--muted); }

/* Island now */

.now-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: end;
}

.now-temp {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(72px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin: 0;
}

.now-temp small {
  font-size: 0.32em;
  margin-left: 6px;
  letter-spacing: 0.08em;
}

.now-sky {
  margin: 12px 0 0;
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.now-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.now-meta span {
  display: block;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.now-meta strong {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.sunline {
  position: relative;
  height: 1px;
  margin-top: 28px;
  background: var(--line);
}

.sunline span {
  position: absolute;
  top: -4px;
  left: var(--sun, 0%);
  width: 9px;
  height: 9px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transform: translateX(-50%);
}

.routes {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.routes li {
  display: grid;
  grid-template-columns: 9.5em 1fr auto;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}

.routes span {
  font-family: var(--en);
  letter-spacing: 0.06em;
  color: var(--muted);
}

.routes b { font-weight: 400; font-variant-numeric: tabular-nums; }

.routes i {
  display: block;
  height: 1px;
  background: var(--line);
  position: relative;
}

.routes i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--ink);
  transition: width 1.5s var(--ease);
}

.routes.is-on i::after { width: var(--w); }

/* Footer */

.site-footer {
  background: transparent;
  color: var(--ink);
  padding: 120px var(--pad) 48px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  width: min(var(--max), 100%);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer .logo { font-size: 15px; color: var(--ink); }

.site-footer p { color: var(--muted); margin: 16px 0 0; }

.site-footer h2 {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { margin: 0 0 8px; }

.site-footer a { text-decoration: none; }

.site-footer a:hover { color: var(--ink); }

.sisters {
  margin: 72px calc(var(--pad) * -1) 0;
  padding: 56px var(--pad) 48px;
  background: var(--ink);
  color: #fff;
}

.sisters .kicker { color: rgba(255, 255, 255, 0.5); }

.sister-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 28px 40px;
  margin-top: 22px;
}

.sister-logos a {
  display: flex;
  align-items: center;
  opacity: 0.78;
  transition: opacity 0.45s var(--ease);
}

.sister-logos a:hover { opacity: 1; }

.sister-logos img {
  width: 100%;
  height: 36px;
  object-fit: contain;
  object-position: left center;
}

.legal {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.mobile-book {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: var(--ink);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}

.mobile-book a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.mobile-book a:last-child {
  background: var(--brick);
  border-color: var(--brick);
}

/* Shared page parts */

[id] { scroll-margin-top: calc(var(--header) + 24px); }

.tone { background: var(--paper-2); }

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  list-style: none;
  margin: 36px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.jump a {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.4s var(--ease);
}

.jump a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 2px 0;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  vertical-align: middle;
}

.jump a:hover { color: var(--ink); }

.card-tag,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-top: 16px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-meta time { margin: 0; letter-spacing: 0.12em; }

.card-meta > span:not(.ext)::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin: 0 10px 3px 0;
  background: currentColor;
  vertical-align: middle;
}

.ext {
  border: 1px solid var(--line);
  padding: 0 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: none;
}

.next-steps {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.next-steps h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin: 0 0 14px;
}

.next-links { display: flex; flex-wrap: wrap; gap: 12px; }

/* Filters (WordPress: categories / taxonomies) */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.filters button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.filters button:hover { border-color: var(--ink); }

.filters button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.empty {
  margin: 40px 0 0;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.gallery-foot {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.gallery-foot p { margin: 0; }
.gallery-foot .more { margin-right: 18px; }

/* News list */

.posts { display: flex; flex-direction: column; }

.post {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.post:last-child { border-bottom: 1px solid var(--line); }

.post-img { display: block; overflow: hidden; }

.post-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.post:hover .post-img img { transform: scale(1.04); }

.post-body { display: block; }
.post-body .card-meta { margin-top: 0; }

.post-title {
  display: block;
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.post-text {
  display: block;
  max-width: 40em;
  color: var(--ink-soft);
  font-size: 14px;
}

/* Article */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.article > time {
  display: block;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.article h1 { margin: 10px 0 0; }

.article-sub {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.article-body { line-height: 2.05; }

.article-body > p { margin: 0 0 22px; color: var(--ink-soft); }

.article-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 64px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-body blockquote {
  margin: 36px 0;
  padding: 4px 0 4px 24px;
  border-left: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.article-body a { text-underline-offset: 4px; }

.article-fig { margin: 40px 0; }
.article-fig img { width: 100%; height: auto; }

.article-fig figcaption,
.product-list figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.article-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 40px 0;
  align-items: start;
}

.article-pair img { width: 100%; height: auto; }

.article-table { margin: 8px 0 32px; font-size: 14px; }
.article-table th { width: 9em; }

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 36px 0;
}

.product-list figure { margin: 0; }
.product-list img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.product-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.post-nav a {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.post-nav a:last-child:not(:first-child) { text-align: right; }

.post-nav span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Membership */

.perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.perks li { padding-top: 24px; border-top: 1px solid var(--line); }

.perks h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}

.perks p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 80px;
  background: var(--line);
  border: 1px solid var(--line);
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--paper);
}

.plan span {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.plan h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  margin: 8px 0 0;
}

.plan .yen {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.plan .yen small {
  margin-left: 6px;
  font-family: var(--sans);
  font-size: 13px;
}

/* FAQ page */

.faq-page { padding: 48px 0 40px; }

.faq-group {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.faq-head .kicker { margin: 0 0 6px; color: var(--muted); }

.faq-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: 0.06em;
  margin: 0;
}

.faq-group .faq summary { font-size: 19px; line-height: 1.6; }

/* Reserve */

.contact-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-ways a {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--paper);
  text-decoration: none;
  transition: background 0.45s var(--ease);
}

.contact-ways a:hover { background: var(--paper-2); }

.contact-ways span {
  font-family: var(--en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-ways strong {
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.contact-ways small { margin-top: 4px; font-size: 13px; color: var(--muted); }

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow li { padding-top: 22px; border-top: 1px solid var(--ink); }

.flow span {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.flow h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 8px 0 10px;
}

.flow p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.fieldset { border: 0; margin: 0; padding: 0; }
.fieldset legend { padding: 0; margin-bottom: 10px; font-size: 14px; color: var(--muted); letter-spacing: 0.04em; }

.consent { display: flex; align-items: flex-start; gap: 10px; }
.consent input { width: auto; margin-top: 6px; }
.consent span { color: var(--ink-soft); }

.application {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin-top: 96px;
  padding: 40px;
  background: var(--paper-2);
}

.application h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.application p { margin: 0; color: var(--ink-soft); }
.application .note { margin-top: 14px; color: var(--muted); }

/* Concept */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li { position: relative; padding-top: 26px; border-top: 1px solid var(--line); }

.timeline li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  transform: rotate(45deg);
}

.timeline span {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.timeline h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 0.04em;
  margin: 6px 0 10px;
}

.timeline p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.pull {
  margin: 112px auto 0;
  max-width: 30em;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.pull cite {
  display: block;
  margin-top: 16px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.prose-center {
  max-width: 34em;
  margin: 28px auto 0;
  text-align: center;
  color: var(--ink-soft);
}

/* Access */

.island {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.island figure { margin: 0; overflow: hidden; }
.island img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.island .prose p { margin: 0 0 16px; }

/* Recruit */

.jobs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.job { padding: 40px 36px; background: var(--paper); }

.job h2 {
  font-family: var(--en);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.1em;
  margin: 6px 0 14px;
}

.job h3 {
  font-family: var(--en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin: 24px 0 8px;
}

.job p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.job ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-soft);
}

.job li { position: relative; padding-left: 16px; margin-bottom: 4px; }

.job li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 1px;
  background: currentColor;
}

.job .note { margin-top: 20px; }

@media (max-width: 1100px) {
  .site-nav { gap: 18px; }
  .perks, .flow, .timeline { gap: 32px 28px; }
  .lights, .price-grid, .cards, .chips { gap: 28px; }
  .split, .space-row { gap: 40px; }
}

@media (max-width: 960px) {
  .section-head,
  .split,
  .split.reverse,
  .visit,
  .detail,
  .detail-body,
  .space-row,
  .space-row:nth-child(even),
  .faq-group,
  .island,
  .next-steps,
  .application {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .perks,
  .flow,
  .timeline,
  .plans { grid-template-columns: 1fr 1fr; }

  .faq-group { gap: 20px; padding: 48px 0; }
  .post { grid-template-columns: 220px 1fr; gap: 32px; }
  .next-steps { align-items: start; }
  .island { gap: 32px; }

  .split.reverse .split-copy,
  .space-row:nth-child(even) .space-photo { order: 0; }

  .lights, .chips, .price-grid, .cards, .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts li { border-bottom: 1px solid var(--line); }
  .now-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 960px) {
  :root { --header: 68px; }

  .nav-toggle { display: grid; place-items: center; }
  .logo { font-size: 13px; letter-spacing: 0.14em; }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 36px var(--pad) 120px;
    gap: 26px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    font-size: 28px;
    font-family: var(--serif);
    letter-spacing: 0.06em;
  }

  .nav-cta {
    font-family: var(--en);
    font-size: 13px;
    letter-spacing: 0.16em !important;
  }
}

@media (max-width: 760px) {
  .lights, .chips, .price-grid, .cards, .facts, .form-row {
    grid-template-columns: 1fr;
  }

  .facts li { border-right: 0; padding: 28px var(--pad); }
  .section { padding: 72px 0; }
  .page-intro { padding: 28px 0 8px; }
  .page-intro h1, .hero h1 { font-size: clamp(36px, 11vw, 56px); }
  .hero-lead, .lede { font-size: 15px; }
  .now-meta { grid-template-columns: 1fr 1fr; }
  .routes li { grid-template-columns: 1fr auto; }
  .routes i { grid-column: 1 / -1; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .sister-logos { grid-template-columns: 1fr 1fr; gap: 22px 24px; }
  .sister-logos img { height: 28px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .space-row { padding: 48px 0; }
  .space-copy h2, .detail h2 { font-size: 32px; }
  .light img, .card img, .space-photo img, img.space-photo { aspect-ratio: 4 / 3; }
  .chips { gap: 36px; padding-top: 36px; }
  .price-card { min-height: 0; }
  .diagram { width: 100%; }
  .visit .map, .map { min-height: 280px; }
  .article { margin-bottom: 48px; }

  .lightbox { padding: 72px 16px 88px; }
  .lightbox img { max-height: 72vh; }
  .band img { width: 100%; }
  .band + .wrap { margin-top: 40px; }

  .price-table:not(.is-wide) { min-width: 0; }
  .price-table:not(.is-wide) thead { display: none; }
  .price-table:not(.is-wide) tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 16px;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .price-table:not(.is-wide) th,
  .price-table:not(.is-wide) td {
    display: block;
    width: auto;
    border: 0;
    padding: 0;
  }

  .price-table.is-wide { min-width: 0; }
  .price-table.is-wide thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .price-table.is-wide,
  .price-table.is-wide tbody,
  .price-table.is-wide tr { display: block; width: 100%; }
  .price-table.is-wide tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
  }
  .price-table.is-wide th,
  .price-table.is-wide td { display: block; border: 0; padding: 0; }
  .price-table.is-wide tbody th { grid-column: 1 / -1; font-size: 22px; }
  .price-table.is-wide td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--muted);
  }

  .mobile-book { display: flex; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .legal { flex-direction: column; }

  .perks, .flow, .timeline, .contact-ways, .jobs, .product-list, .post-nav, .summary { grid-template-columns: 1fr; }
  .summary dt { padding-bottom: 0; border-bottom: 0; font-size: 12px; }
  .plans { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .plan { padding: 22px 18px; }
  .plan .yen { font-size: 24px; }
  .post { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .post-title { font-size: 21px; }
  .post-nav a:last-child:not(:first-child) { text-align: left; }
  .faq-group .faq summary { font-size: 17px; }
  .faq-page { padding-top: 24px; }
  .application { padding: 28px 22px; margin-top: 64px; }
  .job { padding: 32px 24px; }
  .contact-ways a { padding: 24px 22px; }
  .pull { margin-top: 72px; }
  .article-body h2 { font-size: 22px; margin-top: 48px; }
  .article-body blockquote { font-size: 18px; }
  .jump { gap: 8px 20px; margin-top: 28px; }
  .next-steps { padding-top: 40px; }
  .next-links .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .footer-grid, .plans { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

.clip { display: block; overflow: hidden; }

.clip img,
.frame img,
.card img,
.band img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.05);
  transition: transform 0.7s var(--ease);
}

.light:hover .clip img,
.space-row:hover .clip img,
.frame:hover img,
.card:hover img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.1);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.15s var(--ease), transform 1.15s var(--ease);
}

.reveal.is-in { opacity: 1; transform: none; }

.reveal .clip,
.reveal.frame,
.reveal.shot {
  clip-path: inset(8% 0);
  transition: clip-path 1.35s var(--ease);
}

.reveal.is-in .clip,
.reveal.is-in.frame,
.reveal.is-in.shot { clip-path: inset(0); }

.site-nav {
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0.5s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; clip-path: none; }
  .scroll-progress { display: none; }
  .routes i::after { width: var(--w); }
  .clip img, .frame img, .card img, .shot img, .band img, .detail img { transform: none; }
}

/* WordPress */

:root {
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --en: "Outfit", "Helvetica Neue", Arial, "Hiragino Sans", sans-serif;
}

img { height: auto; }

.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

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

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  background: var(--paper);
  z-index: 1000;
}

.filters a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.filters a:hover { border-color: var(--ink); }

.filters a.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.pagination { margin-top: 56px; }

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.pagination a.page-numbers:hover { border-color: var(--ink); }

.pagination .page-numbers.current {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.pagination .page-numbers.dots { border-color: transparent; }

/* Editor content: privacy policy, reservation policy, generic pages */

.entry-content { max-width: 46em; }

.entry-content > * + * { margin-top: 1.2em; }

.entry-content h2 {
  margin-top: 2.4em;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.entry-content h3 {
  margin-top: 2em;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.entry-content > h2:first-child,
.entry-content > h3:first-child { margin-top: 0; }

.entry-content p,
.entry-content li { color: var(--ink-soft); line-height: 2; }

.entry-content ul,
.entry-content ol { padding-left: 1.4em; }

.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }

.entry-content li + li { margin-top: 0.5em; }

.entry-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content table {
  width: 100%;
  max-width: 520px;
  border-collapse: collapse;
  background: var(--white);
}

.entry-content th,
.entry-content td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.entry-content thead th {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.entry-content img { height: auto; }

.policy { margin-top: 96px; }

.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.wp-caption-text,
.wp-element-caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.reserve-form { margin-top: 24px; }

.wpcf7 .consent .wpcf7-list-item-label a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .mobile-book {
    transition: transform .45s ease, opacity .45s ease, visibility 0s;
  }
  .mobile-book.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .45s ease, opacity .45s ease, visibility 0s .45s;
  }

  .hero-copy > * { animation-name: rise-soft; }
  .hero { min-height: 100svh; }
  .hero-copy { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
  .hero-copy .kicker { font-size: 11px; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 40px); margin-bottom: 16px; }
  .hero-lead { font-size: 13px; line-height: 1.95; margin-bottom: 26px; }
  .hero-meta,
  .hero-actions .btn-fill { display: none; }
  .hero-actions { width: auto; flex-direction: row; align-items: flex-start; }
  .hero-actions .btn { flex: none; min-width: 168px; }

  .lightbox { touch-action: pinch-zoom; }
  body:has(.lightbox.is-open) .mobile-book { visibility: hidden; }
}

/* Full-viewport images are not LCP candidates, so the hero text is; fading it in from opacity 0 delays LCP. */
@keyframes rise-soft {
  from { transform: translateY(16px); }
  to { transform: none; }
}

@supports (height: 100lvh) {
  @media (max-width: 760px) {
    .hero { min-height: 100lvh; }
    .hero-copy { padding-bottom: calc(100lvh - 100svh + 52px + env(safe-area-inset-bottom)); }
  }
}

.lightbox-count {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(24px + env(safe-area-inset-bottom));
  margin: 0;
  text-align: center;
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}