:root {
  --ink: #303030;
  --muted: #737373;
  --line: #dedede;
  --accent: #850826;
  --content: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Raleway, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-140%); padding: .65rem 1rem; background: #fff; color: #111; text-decoration: none; }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 82px; color: #fff; background: rgba(12, 12, 12, .62); transition: background-color .25s, box-shadow .25s; }
.site-header.is-scrolled { background: rgba(12,12,12,.92); box-shadow: 0 5px 20px rgba(0,0,0,.18); }
.header-inner { width: min(calc(100% - 64px), 1180px); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { flex: 0 0 auto; }
.brand img { width: 172px; }
.global-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.15rem); font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.global-nav a { position: relative; text-decoration: none; white-space: nowrap; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.55rem; height: 1px; background: #fff; transition: right .22s; }
.global-nav a:hover::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 0; background: transparent; color: #fff; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: currentColor; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 620px; height: min(78vh, 820px); overflow: hidden; color: #fff; background: #333; }
.hero-slide { position: absolute; inset: 0; opacity: 0; background: var(--image) center 47% / cover no-repeat; transform: scale(1.03); transition: opacity 1s ease, transform 7s ease; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.08); }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-copy { position: absolute; z-index: 2; top: 50%; left: 50%; width: min(92%, 900px); display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -44%); text-align: center; }
.hero-copy p, .hero-copy h1 { margin: 0; }
.hero-copy p { font-family: Georgia, serif; font-size: clamp(1rem, 1.8vw, 1.45rem); line-height: 1.25; font-style: italic; }
.hero-copy h1 { margin-top: 8px; font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.25; font-weight: 400; letter-spacing: .01em; }
.hero-copy span { display: inline-block; padding: 10px 21px; background: rgba(0,0,0,.6); }
.hero-dots { position: absolute; z-index: 3; left: 50%; bottom: 23px; display: flex; gap: 10px; transform: translateX(-50%); }
.hero-dots button { width: 32px; height: 4px; padding: 0; border: 0; background: rgba(255,255,255,.52); cursor: pointer; }
.hero-dots button.is-active { background: #fff; }

.section { padding: 78px 0; background: #fff; }
.section-heading { margin-bottom: 48px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.45; font-weight: 600; letter-spacing: .03em; }
.section-heading p { margin: .25rem 0 0; color: var(--muted); font-family: Georgia, serif; font-size: .9rem; }
.english-first h2 { font-size: 1.45rem; letter-spacing: .08em; }
.english-first p { font-family: inherit; }
.concept-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.concept-grid img { width: 100%; aspect-ratio: 1.28; object-fit: cover; }
.concept-grid h3 { margin: 0 0 1rem; font-size: 1.18rem; }
.concept-grid p { margin: 0 0 .85rem; color: #555; }
.text-link { display: inline-block; margin-top: .6rem; color: #333; font-size: .85rem; font-weight: 700; text-decoration: none; letter-spacing: .08em; border-bottom: 1px solid #777; }

.rooms { padding-top: 90px; }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 58px 28px; }
.room-card { min-width: 0; text-align: center; }
.room-gallery { position: relative; overflow: hidden; background: #eee; }
.room-track { display: flex; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.room-track::-webkit-scrollbar { display: none; }
.room-photo { display: block; flex: 0 0 100%; overflow: hidden; scroll-snap-align: start; background: #eee; }
.room-photo img { width: 100%; aspect-ratio: 1.51; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.room-photo:hover img { transform: scale(1.035); filter: brightness(.93); }
.room-arrow { position: absolute; z-index: 2; top: 50%; width: 40px; height: 52px; padding: 0; border: 0; color: #fff; background: rgba(0,0,0,.42); transform: translateY(-50%); font: 300 2rem/1 Georgia, serif; cursor: pointer; opacity: .86; transition: opacity .2s, background .2s; }
.room-arrow:hover { opacity: 1; background: rgba(0,0,0,.62); }
.room-prev { left: 0; }
.room-next { right: 0; }
.room-pagination { position: absolute; z-index: 2; left: 50%; bottom: 9px; display: flex; gap: 6px; transform: translateX(-50%); }
.room-pagination button { width: 7px; height: 7px; padding: 0; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; background: rgba(0,0,0,.35); cursor: pointer; }
.room-pagination button.is-active { background: #fff; }
.room-card h3 { margin: 23px 0 8px; font-size: .95rem; font-weight: 600; letter-spacing: .06em; }
.room-card p { min-height: 6.8em; margin: 0 auto 15px; color: #707070; font-size: .84rem; line-height: 1.75; }
.more { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; border-bottom: 1px solid transparent; }
.more:hover { border-color: currentColor; }

.parallax { min-height: 400px; display: grid; place-items: center; color: #fff; text-align: center; background-attachment: fixed; background-position: center; background-size: cover; }
.life { background-image: linear-gradient(rgba(20,20,20,.4), rgba(20,20,20,.4)), url('assets/cf29cf0bc273d0b5.jpg'); }
.voices { background-image: linear-gradient(rgba(20,20,20,.52), rgba(20,20,20,.52)), url('assets/aa2c8352c07d0dee.jpg'); }
.parallax-inner { width: min(calc(100% - 48px), 850px); padding: 72px 0; }
.parallax h2 { margin: 0 0 1.2rem; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: .06em; }
.parallax p { margin: 0; line-height: 2; text-shadow: 0 1px 10px rgba(0,0,0,.55); }
.voice { display: none; margin: 0 auto; max-width: 760px; border: 0; font-family: Georgia, "Yu Mincho", serif; font-size: clamp(1rem, 1.8vw, 1.3rem); line-height: 2; }
.voice.is-active { display: block; animation: fade-in .5s ease; }

.feature-banner { width: 100%; max-height: 188px; margin-bottom: 52px; object-fit: cover; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 34px; }
.feature-grid article { position: relative; padding-left: 48px; }
.feature-icon { position: absolute; top: 1px; left: 0; width: 31px; height: 31px; display: block; color: #aaa; }
.feature-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-grid h3 { margin: 0 0 .75rem; font-size: .95rem; line-height: 1.5; }
.feature-grid p { margin: 0; color: #6a6a6a; font-size: .84rem; line-height: 1.8; }

.environment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px; }
.environment-grid img { width: 100%; aspect-ratio: 1.85; object-fit: cover; }
.environment-grid h3 { margin: 20px 0 8px; font-size: 1rem; }
.environment-grid p { margin: 0; color: #666; font-size: .9rem; }
.information { padding-bottom: 82px; }
.map-wrap { position: relative; height: 410px; margin-bottom: 64px; background: #e9e9e7; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(.94); }
.property-table { margin: 0; color: #818181; font-size: 14px; line-height: 26px; }
.property-table div { display: grid; grid-template-columns: 1fr 2fr; margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px solid #878787; }
.property-table dt, .property-table dd { margin: 0; padding: 0 15px; }
.property-table dt { font-weight: 700; background: transparent; }

.contact { padding: 72px 0; color: #fff; background: #111; text-align: center; }
.contact h2 { margin: 0 0 24px; font-size: clamp(1.25rem, 2vw, 1.65rem); font-weight: 500; }
.contact .button { display: inline-block; padding: 10px 26px; border: 1px solid #fff; text-decoration: none; font-size: .88rem; transition: color .2s, background .2s; }
.contact .button:hover { color: #111; background: #fff; }
.contact p { margin: 22px 0 0; color: #c7c7c7; font-size: .82rem; }
.contact p a { color: #fff; text-decoration: none; }
.site-footer { color: #aaa; background: #050505; text-align: center; }
.footer-inner { padding: 64px 0 48px; display: flex; flex-direction: column; align-items: center; }
.footer-inner > img:first-child { margin-bottom: 18px; opacity: .82; }
.footer-inner .company-logo { width: 250px; margin-bottom: 16px; }
.footer-inner p { margin: 0 0 8px; font-size: .75rem; line-height: 1.85; }
.footer-inner a { color: #aaa; font-size: .75rem; }
.copyright { margin: 0; padding: 13px 16px; color: #777; background: #171717; font-size: .68rem; }

@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .header-inner { width: min(calc(100% - 32px), 1180px); }
  .menu-toggle { display: block; position: relative; z-index: 2; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-8px) rotate(-45deg); }
  .global-nav { position: fixed; inset: 0; padding: 110px 32px 40px; display: flex; flex-direction: column; align-items: stretch; gap: 0; background: rgba(10,10,10,.97); transform: translateX(100%); transition: transform .25s ease; }
  .global-nav.is-open { transform: none; }
  .global-nav a { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid #353535; }
  .global-nav a::after { display: none; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: 540px; height: 70svh; }
  .concept-grid { gap: 2.5rem; }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 68px; }
  body { font-size: 16px; line-height: 1.8; }
  .container { width: min(calc(100% - 32px), var(--content)); }
  .site-header { height: 68px; }
  .brand img { width: 148px; }
  .hero { min-height: 470px; height: 68svh; }
  .hero-slide { background-position: center; }
  .hero-copy { top: 50%; left: 50%; width: calc(100% - 28px); transform: translate(-50%, -40%); }
  .hero-copy p { font-size: clamp(.85rem, 4vw, 1.05rem); }
  .hero-copy h1 { margin-top: 5px; font-size: clamp(1.25rem, 5.6vw, 1.8rem); }
  .hero-copy span { padding: 8px 13px; }
  .section { padding: 62px 0; }
  .section-heading { margin-bottom: 34px; }
  .concept-grid, .room-grid, .feature-grid, .environment-grid { grid-template-columns: 1fr; }
  .concept-grid { gap: 30px; }
  .room-grid { gap: 48px; }
  .room-card p { min-height: auto; }
  .parallax { min-height: 390px; background-attachment: scroll; }
  .parallax-inner { width: min(calc(100% - 32px), 850px); }
  .parallax p br { display: none; }
  .feature-banner { min-height: 110px; margin-bottom: 40px; }
  .feature-grid { gap: 35px; }
  .environment-grid { gap: 45px; }
  .map-wrap { height: 330px; margin-bottom: 40px; }
  .property-table div { grid-template-columns: 1fr; padding-bottom: 8px; }
  .property-table dt, .property-table dd { padding: 0; }
  .property-table dt { margin-bottom: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .parallax { background-attachment: scroll; }
}
