:root {
  --bg: #f1f0eb;
  --surface: #f8f7f3;
  --surface-2: #e8e0d4;
  --text: #181917;
  --muted: #676962;
  --line: #d7d3ca;
  --accent: #65705d;
  --accent-dark: #3f493a;
  --white: #fcfcf9;
  --shadow: 0 22px 80px rgba(24, 25, 23, 0.12);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Manrope", "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  background: var(--accent-dark);
  transform: translateY(-100%);
}

body.motion-ready::before {
  animation: pageCurtain 1100ms cubic-bezier(0.77, 0, 0.18, 1) both;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 220px;
  align-items: center;
  height: 72px;
  padding: 0 40px;
  color: var(--white);
  border-bottom: 1px solid rgba(252, 252, 249, 0.25);
  background: linear-gradient(180deg, rgba(24, 25, 23, 0.34), rgba(24, 25, 23, 0));
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 500ms ease;
}

.motion-ready .site-header {
  animation: headerDrop 820ms cubic-bezier(0.22, 1, 0.36, 1) 360ms both;
}

.site-header.is-scrolled {
  color: var(--text);
  background: rgba(248, 247, 243, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  font-family: var(--serif);
  line-height: 1;
  text-transform: uppercase;
}

.brand span {
  font-size: 22px;
}

.brand small {
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.desktop-nav {
  display: flex;
  gap: 40px;
  font-size: 12px;
  text-transform: uppercase;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
}

.desktop-nav a::after,
.mobile-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.desktop-nav a:hover::after,
.mobile-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin-left: 36px;
  border: 1px solid currentColor;
  font-size: 13px;
  transition: background 200ms ease, color 200ms ease;
}

.site-header.is-scrolled .header-cta,
.header-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.menu-button {
  display: none;
  gap: 8px;
  justify-self: end;
  width: 36px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: transform 220ms ease;
}

.site-header.is-menu-open .menu-button span:first-child {
  transform: translateY(4.5px) rotate(28deg);
}

.site-header.is-menu-open .menu-button span:last-child {
  transform: translateY(-4.5px) rotate(-28deg);
}

.mobile-nav {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  display: none;
  grid-column: 1 / -1;
  gap: 0;
  padding: 18px 22px 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 243, 0.96);
  color: var(--text);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  backdrop-filter: blur(18px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.mobile-nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 22px;
}

.site-header.is-menu-open .mobile-nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.motion-ready .hero-image {
  animation: heroScale 1800ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(24, 25, 23, 0.52), rgba(24, 25, 23, 0.18) 45%, rgba(24, 25, 23, 0.03));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  width: min(700px, 78vw);
  padding: 120px 0 78px 72px;
}

.motion-ready .hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroReveal 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.motion-ready .hero-content > :nth-child(1) {
  animation-delay: 520ms;
}

.motion-ready .hero-content > :nth-child(2) {
  animation-delay: 650ms;
}

.motion-ready .hero-content > :nth-child(3) {
  animation-delay: 800ms;
}

.motion-ready .hero-content > :nth-child(4) {
  animation-delay: 930ms;
}

.motion-ready .hero-content > :nth-child(5) {
  animation-delay: 1060ms;
}

.location,
.section-label {
  margin: 0 0 28px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.22;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(58px, 7.8vw, 116px);
  letter-spacing: 0.01em;
}

h2 {
  margin-bottom: 34px;
  font-size: clamp(38px, 5vw, 72px);
}

h3 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
}

.hero-lead {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
}

.hero-body {
  max-width: 470px;
  margin-bottom: 38px;
  color: rgba(252, 252, 249, 0.88);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.2;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform 240ms ease, background 200ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.button::after {
  content: "";
  width: 15px;
  height: 15px;
  margin-left: 18px;
  background: currentColor;
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 82% 80%, 82% 31%, 12% 100%, 0 88%, 70% 18%, 20% 18%);
  transition: transform 200ms ease;
}

.button:hover::after {
  transform: translate(4px, -4px);
}

.button:hover {
  box-shadow: 0 18px 44px rgba(63, 73, 58, 0.22);
}

.button:active {
  transform: translate3d(var(--mx, 0), calc(var(--my, 0) + 1px), 0) scale(0.985);
}

.button-primary {
  background: var(--accent);
  color: var(--white);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.visit-note {
  margin: 0;
  color: rgba(252, 252, 249, 0.84);
  font-size: 12px;
  line-height: 1.7;
}

.container {
  width: min(1200px, calc(100% - 56px));
  margin: 0 auto;
}

.split-section,
.service-grid,
.space-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}

.media-frame {
  min-height: 560px;
  overflow: hidden;
}

.media-frame img,
.space-image img {
  transform: scale(1.04) translate3d(0, calc(var(--parallax, 0) * 1px), 0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.copy-block,
.space-copy {
  align-self: center;
  max-width: 600px;
  padding: 96px 9vw;
}

.copy-block p,
.space-copy p,
.price-action p {
  color: var(--muted);
}

.problem-section,
.features-section,
.flow-section,
.faq-section,
.final-cta {
  padding: 128px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 20px;
  padding: 12px 0 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 54px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.service-section {
  background: var(--surface);
}

.center,
.center-title {
  text-align: center;
}

.center-title {
  margin-left: auto;
  margin-right: auto;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 78px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  clip-path: inset(0 0 0 0);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-row.is-visible {
  transform: translateY(0);
}

.feature {
  padding: 46px 42px 54px;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.feature span,
.flow-list span {
  display: block;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.flow-section {
  background: var(--surface);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 54px 0 0;
  margin: 0;
  list-style: none;
  clip-path: inset(0 0 0 0);
  transition: transform 1000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.flow-list.is-visible {
  clip-path: inset(0 0 0 0);
}

.flow-list li {
  position: relative;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.flow-list li:last-child {
  border-right: 1px solid var(--line);
}

.flow-list strong,
.flow-list small {
  display: block;
}

.flow-list strong {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-weight: 400;
}

.flow-list small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.space-section {
  background: var(--surface-2);
}

.space-image {
  min-height: 620px;
  overflow: hidden;
}

.facility {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid rgba(24, 25, 23, 0.18);
}

.facility dt {
  font-family: var(--serif);
  font-size: 26px;
}

.facility dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.price-section {
  padding: 112px 0;
  background: #d8d0c4;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: 56px;
  align-items: end;
}

.price {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.1;
}

.price span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.regular {
  color: var(--muted);
}

.includes {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.includes p {
  margin: 0;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(24, 25, 23, 0.18);
}

.price-action {
  display: grid;
  gap: 22px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 64px;
}

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

details {
  border-bottom: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  list-style: none;
}

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

summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 20px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  transition: transform 220ms ease;
}

details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}

details p {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--muted);
  animation: faqOpen 260ms ease both;
}

.final-cta {
  background: var(--accent-dark);
  color: var(--white);
  text-align: center;
}

.final-cta p {
  color: rgba(252, 252, 249, 0.78);
}

.final-cta .button {
  margin-top: 24px;
  background: var(--white);
  color: var(--accent-dark);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 34px;
  padding: 36px 40px;
  background: var(--accent-dark);
  color: rgba(252, 252, 249, 0.74);
  border-top: 1px solid rgba(252, 252, 249, 0.15);
  font-size: 12px;
}

.footer p {
  margin: 0;
}

.mobile-sticky {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .reveal {
  opacity: 1;
  transform: translateY(26px);
}

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

.motion-ready .check-list li,
.motion-ready .feature,
.motion-ready .flow-list li {
  opacity: 1;
  transform: translateY(18px);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .check-list.is-visible li,
.motion-ready .feature.is-visible,
.motion-ready .flow-list.is-visible li {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .check-list.is-visible li:nth-child(2),
.motion-ready .feature.is-visible:nth-child(2),
.motion-ready .flow-list.is-visible li:nth-child(2) {
  transition-delay: 80ms;
}

.motion-ready .check-list.is-visible li:nth-child(3),
.motion-ready .feature.is-visible:nth-child(3),
.motion-ready .flow-list.is-visible li:nth-child(3) {
  transition-delay: 160ms;
}

.motion-ready .check-list.is-visible li:nth-child(4),
.motion-ready .flow-list.is-visible li:nth-child(4) {
  transition-delay: 240ms;
}

.motion-ready .check-list.is-visible li:nth-child(5),
.motion-ready .flow-list.is-visible li:nth-child(5) {
  transition-delay: 320ms;
}

.motion-ready .flow-list.is-visible li:nth-child(6) {
  transition-delay: 400ms;
}

@keyframes pageCurtain {
  0% {
    transform: translateY(0);
  }
  48% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes headerDrop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes heroScale {
  from {
    transform: scale(1.08);
    filter: saturate(0.9);
  }
  to {
    transform: scale(1);
    filter: saturate(1);
  }
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faqOpen {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

  body::before {
    display: none;
  }

  .motion-ready .hero-content > *,
  .motion-ready .check-list li,
  .motion-ready .feature,
  .motion-ready .flow-list li {
    opacity: 1;
    transform: none;
  }

  .feature-row,
  .flow-list {
    clip-path: none;
  }

  .media-frame img,
  .space-image img {
    transform: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr 46px;
    height: 64px;
    padding: 0 22px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .mobile-nav {
    display: grid;
  }

  .hero-content {
    width: min(560px, calc(100% - 44px));
    padding: 104px 0 88px 22px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(24, 25, 23, 0.64), rgba(24, 25, 23, 0.18));
  }

  .split-section,
  .service-grid,
  .space-section,
  .problem-grid,
  .price-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .split-section,
  .service-grid,
  .space-section {
    min-height: auto;
  }

  .copy-block,
  .space-copy {
    max-width: none;
    padding: 72px 28px;
  }

  .media-frame,
  .space-image {
    min-height: 430px;
  }

  .media-frame img,
  .space-image img {
    transform: none;
  }

  .problem-section,
  .features-section,
  .flow-section,
  .faq-section,
  .final-cta {
    padding: 88px 0;
  }

  .feature-row,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .feature,
  .flow-list li {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-list li {
    padding: 28px 0;
  }

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

  .footer {
    grid-template-columns: 1fr;
    padding-bottom: 86px;
  }

  .mobile-sticky {
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 52px;
    padding: 8px 10px 8px 16px;
    border: 1px solid rgba(24, 25, 23, 0.12);
    border-radius: 4px;
    background: rgba(248, 247, 243, 0.92);
    color: var(--text);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky span {
    font-size: 11px;
    line-height: 1.35;
    color: var(--muted);
  }

  .mobile-sticky b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 112px;
    border-radius: 4px;
    background: var(--accent);
    color: var(--white);
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 38px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-content {
    min-height: 92svh;
  }

  .hero-actions {
    display: grid;
    gap: 18px;
    align-items: start;
  }

  .button {
    width: fit-content;
    min-height: 52px;
    padding: 0 24px;
  }

  .container {
    width: min(100% - 36px, 1200px);
  }

  .media-frame,
  .space-image {
    min-height: 360px;
  }

  .facility {
    grid-template-columns: 1fr;
  }

  .price-grid {
    gap: 34px;
  }
}
