:root {
  --ink: #0b1726;
  --blue: #153d68;
  --navy: #151d4e;
  --orange: #e84708;
  --gold: #b2a730;
  --side: clamp(24px, 5.25vw, 99px);
  --header: clamp(65px, 8.05vw, 118px);
  --sans: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --display: "Century Gothic", "Avenir Next", Futura, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 16px); }
body { margin: 0; color: var(--ink); background: #fff; font: 500 16px/1.9 var(--sans); }
h1, h2, p, figure, dl, dd { margin: 0; }
h2 { line-height: 1.4; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #1699ce; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 9; top: 8px; left: 12px; padding: .45em 1.15em; background: white; transform: translateY(-130%); }
.skip-link:focus { transform: none; }

.site-header {
  height: var(--header);
  position: fixed;
  z-index: 4;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 max(20px, 3.5vw) 0 var(--side);
  color: #fff;
  background: linear-gradient(180deg, #17446c, #151d4e);
  transition: background-color .26s ease, color .26s ease;
}
.has-js .site-header:not(.is-solid) { background: transparent; }
.brand { display: inline-flex; gap: clamp(7px, 1.35vw, 18px); align-items: center; min-width: 0; white-space: nowrap; line-height: 1; }
.brand b { font: 900 clamp(24px, 4.05vw, 68px)/1 var(--display); letter-spacing: -.06em; }
.brand strong { font: 750 clamp(12px, 2.15vw, 32px)/1 var(--display); }
.brand-emblem { width: clamp(24px, 3.65vw, 48px); aspect-ratio: 1; position: relative; flex: none; border: 2px solid currentColor; transform: rotate(45deg) scale(.78); }
.brand-emblem::before, .brand-emblem::after { content: ""; position: absolute; inset: 19%; border: 1px solid currentColor; }
.brand-emblem::after { transform: rotate(45deg); }
.menu-button { flex: none; display: grid; justify-items: center; align-content: center; gap: 4px; width: clamp(42px, 5.15vw, 65px); aspect-ratio: 1; border: 0; border-radius: 50%; color: var(--navy); background: #ffffffea; }
.menu-button span { display: block; width: 39%; height: 2px; background: currentColor; }
.menu-button:hover { background: white; }

.hero { min-height: 590px; height: min(57vw, 1000px); position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #16456b; }
.hero-background, .hero-background img, .hero-background::before, .hero-background::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-background img { object-fit: cover; object-position: 46% 55%; filter: grayscale(.87) contrast(1.13) brightness(.84); }
.hero-background::before { content: ""; z-index: 1; background: linear-gradient(124deg,#062040a8,#006ca579 58%,#021326c7),#037ba861; mix-blend-mode: multiply; }
.hero-background::after { content: ""; z-index: 1; background: linear-gradient(34deg,#031f36b5 0%,#034c7073 38%,#1687b85c 38.1%,#1687b836 59%,#011f3d26 59.1%,#011d33a6 100%); }
.hero-copy { position: absolute; z-index: 2; left: 12%; top: 50%; width: 68%; transform: translateY(-50%); }
.hero h1 { font: 700 clamp(52px, 7.0vw, 128px)/1.06 var(--display); letter-spacing: .035em; }
.hero h1 small, .hero h1 span, .hero h1 em { display: block; }
.hero h1 small { font-size: .88em; letter-spacing: .035em; margin-bottom: .07em; }
.hero h1 span { font-size: .82em; }
.hero h1 em { color: #f3f8ff; font: 750 clamp(14px, 1.57vw, 23px)/1.58 var(--sans); letter-spacing: .18em; margin-top: .42em; }
.hero-carousel { position: absolute; z-index: 2; width: 40%; height: 100%; right: 0; top: 0; overflow: hidden; clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%); }
.hero-frames, .hero-slide { position: absolute; inset: 0; }
.hero-slide { display: grid; grid-template-rows: 1fr 1fr; opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-current { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 53% 61%; filter: brightness(.89); }
.hero-slide img+img { object-position: 51% 50%; }
.hero-carousel::after { position: absolute; inset: 0; z-index: 2; content: ""; pointer-events: none; background: #07183024; }
.hero-catch { z-index: 3; position: absolute; inset: 19% 11.4% auto auto; display: flex; flex-direction: column; writing-mode: vertical-rl; height: max-content; font: 750 clamp(43px, 5.4vw, 104px)/1.22 var(--sans); letter-spacing: .02em; text-shadow: 0 2px 8px #03162740; }
.hero-notice { position: absolute; z-index: 3; inset: auto auto clamp(16px, 3.3vw, 55px) var(--side); width: min(39%, 445px); font-size: clamp(12px, 1.25vw, 18px); }
.hero-notice p { border-bottom: 1px solid #c1d6e6; padding-bottom: .27em; font: 500 1.10em/1.3 var(--display); letter-spacing: .16em; }
.hero-notice a { display: flex; align-items: baseline; gap: .55em; font-weight: 750; padding: .62em 0 0 .6em; }
.hero-notice a::before, .nav-sub::before { content: ""; width: .62em; aspect-ratio: 1; display: inline-block; flex: none; background: currentColor; clip-path: polygon(0 0,100% 50%,0 100%); }

.floating-entry { display: grid; align-content: center; justify-items: start; gap: .3em; position: fixed; z-index: 3; right: max(13px, 4.1vw); top: 70%; transform: translateY(-50%); width: clamp(125px, 17.8vw, 234px); aspect-ratio: 1; border-radius: 50%; color: #fff; background: var(--orange); padding-inline: clamp(18px, 2.55vw, 41px); transition: background .22s ease; }
.has-js .floating-entry { opacity: 0; visibility: hidden; }
.has-js .floating-entry.is-visible { opacity: 1; visibility: visible; animation: entry-rise .48s ease both; }
.floating-entry strong { font-size: clamp(18px, 2.75vw, 38px); letter-spacing: .08em; line-height: 1.3; white-space: nowrap; }
.floating-entry > span { width: 92%; padding-bottom: .1em; position: relative; font: 600 .8em/1.2 var(--display); }
.floating-entry .arrow { position: absolute; inset: auto 0 -.2em 0; width: auto; }
.floating-entry:hover, .entry-button:hover { background: #bd3200; }
.arrow { display: inline-block; position: relative; width: clamp(26px, 3vw, 52px); height: 11px; border-bottom: 2px solid currentColor; }
.arrow::after { content: ""; position: absolute; right: 2px; bottom: -2px; width: 13px; height: 13px; border-top: 2px solid currentColor; transform: translateX(-2px) translateY(3px) skewX(44deg) rotate(32deg); transform-origin: bottom right; }

.chapters {
  --triangle: clamp(174px, 23vw, 326px);
  background-color: #e3e5e3;
  background-image: conic-gradient(from 30deg at 50% 50%,#f4f4f3 0deg 60deg,#e7e9e7 60deg 120deg,#eceeeb 120deg 180deg,#e1e4e2 180deg 240deg,#f2f3f2 240deg 300deg,#e5e7e6 300deg);
  background-size: var(--triangle) calc(var(--triangle) * .866);
}
.fold-left, .fold-bottom { position: relative; isolation: isolate; overflow: clip; }
.fold-left::before, .fold-bottom::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(148deg,var(--navy) 5%,#143d65 73%); }
.fold-left::before { clip-path: polygon(0 0, 100% 76%, 100% 81%, 24% 100%, 0 100%); }
.house { display: grid; grid-template-columns: 1fr .9fr; align-items: stretch; width: min(1530px,100%); min-height: clamp(485px, 57vw, 815px); margin-inline: auto; position: relative; }
.house-image { display: block; align-self: stretch; margin-inline: 8% -5%; overflow: hidden; clip-path: polygon(17% 0, 100% 0, 81% 100%, 0 100%); }
.house-image img { height: 100%; object-fit: cover; object-position: 51% 55%; }
.house-copy { align-self: center; padding: 5.5vw clamp(25px, 7vw, 100px) 5.5vw 11%; }
.house h2 { font-size: clamp(26px, 3.15vw, 47px); font-weight: 820; }
.house-copy p { line-height: 1.92; margin-top: 1em; }
.house-copy p:first-of-type { margin-top: clamp(20px, 3.2vw, 52px); }
.gold-btn, .entry-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; text-align: center; position: relative; gap: 8px; padding: .35em 1.6em; background: var(--gold); color: #fff; font-size: 1rem; font-weight: 750; line-height: 1.4; }
.gold-btn { min-width: min(210px, 100%); }
.gold-btn::after { position: absolute; content: ""; right: -15px; width: 34px; height: 12px; top: 48%; background: #756d17; clip-path: polygon(0 72%,63% 72%,63% 0,100% 89%,0 89%,0 72%,93% 77%,69% 24%,69% 77%); }
.gold-btn:hover { background: #918721; }
.house-copy .gold-btn, .plan-copy .gold-btn, .area-copy .gold-btn { margin-top: 2.3em; }
.chapter-heading { font-size: clamp(25px, 3.25vw, 46px); font-weight: 800; }
.chapter-heading span { display: block; margin-bottom: .12em; color: #f4f7fb; font: 400 clamp(47px, 7.3vw, 105px)/1.2 var(--display); letter-spacing: .11em; }
.gallery { width: min(1400px, 100%); margin-inline: auto; padding: clamp(75px, 7.5vw, 115px) var(--side) clamp(135px, 15vw, 235px); color: #fff; text-align: center; }
.gallery header p { margin: 1.2em auto 2.9em; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(24px, 4.4vw, 75px) clamp(28px, 8vw, 138px); }
.picture-card { min-width: 0; display: grid; gap: 1.25em; justify-items: center; }
.picture-frame { display: block; position: relative; width: 100%; aspect-ratio: 2.18; padding: 3px; background: #163b65; }
.picture-frame::before, .picture-frame::after { content: ""; position: absolute; z-index: 1; width: 23%; height: 24%; background: #163b65; pointer-events: none; }
.picture-frame::before { inset: 0 0 auto auto; clip-path: polygon(0 0,100% 0,100% 100%); }
.picture-frame::after { inset: auto auto 0 0; clip-path: polygon(0 0,100% 100%,0 100%); }
.picture-frame img { height: 100%; object-fit: cover; object-position: center 56%; transition: filter .25s ease; }
.picture-card:hover img { filter: brightness(1.14); }

.plan { background: linear-gradient(90deg,#110d069e,#100e098a),url("exterior-side.webp") center 56%/cover; color: #fff; overflow: clip; }
.plan-inner { width: min(1460px,100%); min-height: clamp(425px, 48vw, 665px); padding: clamp(48px, 7vw, 115px) var(--side); margin-inline: auto; display: grid; grid-template-columns: .76fr 1.24fr; gap: 3vw; align-items: center; }
.plan-copy p, .area-copy p { max-width: 29em; margin-top: 1.5em; line-height: 1.85; }
.plan-photos { display: grid; grid-template-columns: 1fr .43fr; gap: 5px; clip-path: polygon(13% 0,100% 0,85% 100%,0 100%); background: #fff; }
.plan-photos > a { display: grid; align-items: center; aspect-ratio: 1.24; }
.plan-photos img { height: 100%; min-height: 0; object-fit: contain; }
.plan-photos > div { display: grid; grid-template-rows: repeat(2,minmax(0,1fr)); overflow: hidden; gap: 4px; }
.plan-photos > div img { object-fit: cover; }

.fold-bottom::before { clip-path: polygon(45% 0, 66% 0, 100% 75%, 100% 100%, 0 100%, 0 76%); background: linear-gradient(140deg,#171b4e,#143c65 82%); }
.area { position: relative; min-height: clamp(655px, 72vw, 990px); padding-block: clamp(110px, 15vw, 230px) clamp(105px, 17vw, 230px); color: #fff; isolation: isolate; display: grid; place-content: center; text-align: center; }
.area-photo { position: absolute; inset: 0; z-index: -1; clip-path: polygon(45% 0,66% 0,80% 44%,33% 44%); max-height: 100%; background: #152e54; }
.area-photo img { height: 100%; width: 100%; object-fit: cover; object-position: 58% 43%; opacity: .56; }
.area-copy { align-self: center; padding: 4em var(--side) 0; }
.area-copy p { margin-inline: auto; }
.details { margin: auto; text-align: center; color: #fff; padding: 0 var(--side) clamp(60px, 8vw, 130px); width: min(1450px,100%); }
.shortcuts { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: clamp(14px, 2.7vw, 46px); padding-block: clamp(30px, 4vw, 65px); }
.shortcuts a { background: #238ac1; border-radius: 50%; aspect-ratio: 1; display: grid; align-content: center; gap: .45em; padding: .4em .7em; line-height: 1.38; font-size: clamp(14px, 2vw, 27px); transition: translate .25s ease, background .25s ease; }
.shortcuts a:nth-child(2n) { background: #1782b3; }
.shortcuts a:hover { background: #0d6294; translate: 0 -5px; }
.shortcuts small { font: 600 .58em/1.2 var(--display); }
.shortcuts .arrow { vertical-align: middle; width: 15%; }
.entry-button { background: var(--orange); min-width: min(250px, 100%); }

.facts { display: grid; grid-template-columns: 1fr .86fr; gap: clamp(30px,6.6vw,108px); width: min(1170px,100%); padding: clamp(50px,7.5vw,110px) var(--side); margin-inline: auto; }
.facts h2 { margin-bottom: .57em; font-size: clamp(26px,3vw,40px); }
.facts .price { font: 750 clamp(26px,4vw,48px)/1.35 var(--sans); margin-block: .45em .56em; color: #143d66; }
.facts dl > div { display: grid; grid-template-columns: 5.6em minmax(0,1fr); gap: 1em; padding: .56em 0; border-top: 1px solid #c8cdd2; }
.facts dt { font-weight: 760; }
.facts dt small { display: block; font-size: .73em; font-weight: 500; }
.facts #access dl > div { grid-template-columns: 1fr auto; }
.facts dd strong { font-size: 1.42em; font-variant-numeric: tabular-nums; margin-inline: .13em; }

.site-footer { padding: clamp(53px,8vw,110px) var(--side) 22px; background: linear-gradient(#0a0c10b9,#10151ba9), url("neighborhood.webp") center 54%/cover; color: #fff; }
.menu-grid { display: grid; gap: clamp(11px,2.3vw,40px); }
.site-footer .menu-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .7em 2.2em; margin-block: 3.4rem; font-size: .84em; }
.site-footer > p { text-align: center; font-size: .78em; }
.nav-box { display: block; border: 1px solid currentColor; text-align: center; padding: .66em .35em; line-height: 1.4; font-size: clamp(11px,1.05vw,15px); }
.nav-box b { display: block; font: 800 clamp(16px,2.55vw,37px)/1.2 var(--display); letter-spacing: .10em; margin-bottom: .14em; }
.nav-sub { display: flex; gap: .43em; align-items: baseline; font-weight: 700; margin-top: .4em; font-size: .86rem; }
.nav-box + .nav-sub { margin-top: 1em; }
.nav-sub::before { color: #2298cf; }
.nav-column a:hover, .footer-links a:hover, .hero-notice a:hover { text-decoration: underline; text-underline-offset: .2em; }

.site-menu { position: fixed; inset: 0 0 auto; max-width: none; max-height: 100%; width: 100%; margin: 0; border: 0; text-align: center; padding: calc(var(--header) + 15px) max(16px,3.5vw) clamp(42px,6vw,93px); background: #fff; color: var(--ink); }
.site-menu[open] { animation: menu-fold .34s ease-out both; }
.site-menu::backdrop { background: #080f1f83; }
.site-menu .brand { position: absolute; inset: 0 auto auto var(--side); height: var(--header); color: #143e6d; }
.site-menu .menu-grid { grid-template-columns: repeat(5,minmax(0,1fr)); text-align: start; max-width: 1430px; margin-inline: auto; }
.site-menu .entry-button { margin-top: clamp(34px,5vw,84px); }
.menu-dismiss { position: absolute; top: 0; right: max(20px,3.5vw); height: var(--header); display: grid; place-items: center; }
.menu-dismiss button, .media-viewer button { font: 400 41px/1 var(--display); width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--navy); }
.menu-dismiss button:hover, .media-viewer button:hover { background: #edf1f6; }
body:has(.site-menu[open]) { overflow: hidden; }
.media-viewer { width: min(1000px,94vw); max-width: none; max-height: 92dvh; border: 0; margin: auto; padding: 10px; background: white; color: var(--ink); }
.media-viewer::backdrop { background: #06101de7; }
.media-viewer form { position: absolute; top: 7px; right: 7px; }
.media-viewer img { max-height: 80dvh; width: 100%; object-fit: contain; }
.media-viewer figcaption { text-align: center; padding-top: .4em; }

@keyframes entry-rise { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0; } }
@keyframes menu-fold { from { clip-path: inset(0 0 100%); } to { clip-path: inset(0); } }
@keyframes title-enter { from { translate: -42px 0; opacity: 0; } to { translate: 0; opacity: 1; } }
@keyframes image-enter { from { translate: 0 30px; opacity: 0; } to { translate: 0; opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .has-js .hero-copy { animation: title-enter .52s .13s ease both; }
  .has-js .hero-carousel, .has-js .hero-catch, .has-js .hero-notice { animation: image-enter .6s .27s ease both; }
  .has-js .hero-catch { animation-delay: .48s; }
  .has-js .hero-notice { animation-delay: .58s; }
  .has-js [data-appear] { transition: opacity .8s ease, translate .8s cubic-bezier(.2,.65,.3,1); }
  .has-js [data-appear]:not(.is-visible):not(:focus-within) { opacity: 0; translate: var(--appear-x,0) var(--appear-y,28px); }
  .has-js [data-appear="left"] { --appear-x: -42px; --appear-y: 0; }
  .has-js [data-appear="right"] { --appear-x: 42px; --appear-y: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 920px) and (min-width: 701px) {
  .hero h1 { font-size: 7.8vw; }
  .hero-catch { right: 8%; }
  .house-copy { padding-right: 4.6vw; }
  .shortcuts a { font-size: 1.05rem; }
}

@media (max-width: 700px) {
  :root { --header: 62px; --side: 19px; }
  body { padding-bottom: calc(59px + env(safe-area-inset-bottom)); font-size: 14px; }
  .site-header, .has-js .site-header:not(.is-solid) { background: linear-gradient(180deg,#17466e,#151d4e); padding-inline: 12px; }
  .brand { gap: 8px; }
  .brand b { font-size: clamp(21px,6.5vw,39px); }
  .brand strong { font-size: clamp(10px,3.05vw,18px); }
  .brand-emblem { width: 23px; }
  .hero { height: clamp(735px, 196vw, 945px); min-height: 0; }
  .hero-background img { object-position: 51% 64%; }
  .hero-copy { inset: clamp(103px, 31vw, 185px) var(--side) auto; width: auto; padding-left: 9px; transform: none; }
  .hero h1 { font-size: clamp(30px,9.7vw,68px); letter-spacing: .065em; }
  .hero h1 small { font-size: .48em; margin-bottom: .35em; }
  .hero h1 span { font-size: 1em; }
  .hero h1 em { font-size: clamp(11px,3.5vw,17px); letter-spacing: .10em; margin-top: .4em; }
  .hero-carousel { inset: 39% 0 auto; width: 100%; height: 26%; clip-path: polygon(0 14%,100% 0,100% 86%,0 100%); }
  .hero-slide { grid-template: 1fr/1fr 1fr; }
  .hero-slide img { object-position: 50% 60%; }
  .hero-catch { inset: 75% 15px auto; writing-mode: horizontal-tb; display: grid; justify-content: center; font-size: clamp(25px,6.2vw,40px); line-height: 1.23; letter-spacing: .1em; text-align: center; }
  .hero-notice { bottom: 16px; inset-inline: var(--side); width: auto; padding: .55rem .68rem; color: var(--ink); background: #fff; }
  .hero-notice p { border-color: #bbc4cc; line-height: 1.16; }
  .hero-notice a { padding-top: .35em; }
  .floating-entry,.has-js .floating-entry { position: fixed; inset: auto 0 0; z-index: 3; width: 100%; min-height: calc(58px + env(safe-area-inset-bottom)); display: grid; justify-items: center; aspect-ratio: auto; border-radius: 0; padding: 6px 1em calc(6px + env(safe-area-inset-bottom)); transform: none; }
  .floating-entry > span { display: none; }
  .floating-entry strong { font-size: 1.15rem; letter-spacing: .12em; }
  .chapters { --triangle: 122px; }
  .fold-left::before { clip-path: polygon(0 3%,100% 31%,100% 59%,0 79%); }
  .house { display: block; min-height: 0; padding-block: 45px 25px; }
  .house-image { margin-inline: 6% 2%; aspect-ratio: 1.48; clip-path: polygon(12% 0,100% 0,89% 100%,0 100%); }
  .house-copy { padding: 24px var(--side) 35px; background: #edf0ee; margin: 0 12px; }
  .house-copy .gold-btn { margin-top: 1.45em; }
  .gallery { padding: 36px var(--side) 65px; }
  .gallery header { margin-bottom: 1.65rem; }
  .gallery header p { margin: .8em 0 0; }
  .gallery-grid { grid-template-columns: 1fr; gap: 2.15rem; }
  .picture-card:nth-child(odd) { margin-left: -10px; margin-right: 15px; }
  .picture-card:nth-child(even) { margin-right: -10px; margin-left: 15px; }
  .picture-card .gold-btn, .house-copy .gold-btn, .plan-copy .gold-btn, .area-copy .gold-btn { min-height: 39px; min-width: 175px; font-size: .88rem; }
  .plan-inner { grid-template-columns: 1fr; gap: 35px; padding-block: 55px; text-align: center; }
  .plan-copy p { margin-inline: auto; }
  .plan-photos > a { aspect-ratio: 1.3; }
  .fold-bottom::before { clip-path: polygon(36% 0,72% 0,100% 46%,100% 100%,0 100%,0 49%); }
  .area { min-height: 490px; padding-block: 36vw 40px; }
  .area-photo { clip-path: polygon(29% 0,77% 0,95% 60%,6% 60%); }
  .area-copy { padding-top: 5.1rem; }
  .details { padding-block: 44px 58px; }
  .shortcuts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
  .shortcuts a { width: calc((100% - 20px) / 3); max-width: 113px; font-size: .9rem; }
  .facts { grid-template-columns: 1fr; }
  .site-footer .menu-grid, .site-menu .menu-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-menu { padding-top: calc(var(--header) + 18px); }
  .menu-dismiss { right: 11px; }
}
