:root {
  --paper: #fffaf4;
  --paper-2: #f7efe6;
  --white: #ffffff;
  --ink: #0a1830;
  --ink-2: #1a2b44;
  --muted: #5e697d;
  --line: rgba(10, 24, 48, 0.13);
  --gold: #e5af72;
  --gold-2: #f8d5a4;
  --red: #f13a2f;
  --blue: #dfeef7;
  --shadow: 0 28px 90px rgba(10, 24, 48, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: var(--gold-2);
  color: var(--ink);
}

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

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

button {
  cursor: pointer;
}

img,
video,
canvas,
svg {
  display: block;
}

img,
video {
  max-width: 100%;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 80px;
  padding: 0 clamp(20px, 4.5vw, 80px);
  background: rgba(255, 250, 244, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px) saturate(145%);
  transition: min-height 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(10, 24, 48, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 118px;
  min-width: 118px;
  color: var(--ink);
}

.brand img {
  display: block;
  width: 112px;
  height: auto;
  object-fit: contain;
}

.brand-symbol {
  position: relative;
  width: 28px;
  height: 16px;
}

.brand-symbol::before,
.brand-symbol::after {
  content: "";
  position: absolute;
  left: 0;
  border-radius: 8px;
}

.brand-symbol::before {
  top: 0;
  width: 24px;
  height: 5px;
  background: var(--red);
  transform: skewX(-18deg);
}

.brand-symbol::after {
  bottom: 0;
  width: 18px;
  height: 5px;
  background: var(--ink);
  transform: skewX(-18deg);
}

.brand strong {
  font-size: 1.34rem;
  font-weight: 900;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 3vw, 46px);
  font-size: 0.9rem;
  font-weight: 800;
}

.desktop-nav a {
  opacity: 0.82;
}

.desktop-nav a:hover {
  opacity: 1;
  color: var(--red);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  padding: 4px;
  border: 1px solid rgba(10, 24, 48, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 32px rgba(10, 24, 48, 0.1);
}

.language-switch button {
  min-width: 58px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.language-switch button.is-active {
  background: var(--ink);
  color: #fff;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  gap: 6px;
  border: 1px solid rgba(10, 24, 48, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
}

.menu-button span {
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 220ms ease;
}

.menu-button.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-content: center;
  gap: 26px;
  padding: 104px 28px 28px;
  background: rgba(255, 250, 244, 0.98);
  transform: translateY(-100%);
  transition: transform 280ms ease;
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu a {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 600;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  min-height: 100svh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(248, 213, 164, 0.34), transparent 24rem),
    radial-gradient(circle at 56% 80%, rgba(223, 238, 247, 0.72), transparent 22rem);
}

.hero::after {
  width: 60vw;
  height: 60vw;
  left: -14vw;
  top: 18vh;
  border: 1px solid rgba(229, 175, 114, 0.25);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 132px clamp(28px, 5vw, 96px) 74px;
}

.meta,
.section-label {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif JP", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
}

.hero h1 span {
  display: block;
  font-size: clamp(4.8rem, 6vw, 5.7rem);
  letter-spacing: 0;
  white-space: nowrap;
}

.hero h1 em {
  display: block;
  margin-top: 22px;
  font-size: clamp(3.7rem, 4.7vw, 4.45rem);
  font-style: normal;
}

.hero-lead {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 800;
}

.button-primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 20px 44px rgba(10, 24, 48, 0.18);
}

.button-primary:hover {
  background: var(--red);
  border-color: var(--red);
}

.button-outline {
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
}

.business-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.business-chips a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 800;
}

.business-chips span {
  color: var(--gold);
}

.hero-media {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--blue);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.55), transparent 22%),
    linear-gradient(180deg, transparent 60%, rgba(10, 24, 48, 0.3));
  pointer-events: none;
}

.signal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.media-index {
  position: absolute;
  right: 44px;
  top: 50%;
  z-index: 3;
  display: grid;
  gap: 28px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.76);
  font-family: "Noto Serif JP", serif;
  font-size: 1.1rem;
}

.media-index::before {
  content: "";
  position: absolute;
  top: -42px;
  bottom: -42px;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.46);
}

.media-index span {
  position: relative;
  z-index: 2;
}

.media-index .is-active {
  color: #fff;
}

.media-index .is-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 28px;
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.video-control {
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: 42px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  color: #fff;
}

.video-control button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(10, 24, 48, 0.28);
  color: #fff;
}

.hero-video.is-paused ~ .video-control .pause-icon,
.play-icon {
  display: none;
}

.hero-video.is-paused ~ .video-control .play-icon {
  display: block;
}

.video-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.28);
}

.video-progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--gold-2);
  animation: progress-loop 7s linear infinite;
}

@keyframes progress-loop {
  from { width: 6%; }
  to { width: 96%; }
}

.video-control p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  transform: translateX(-50%);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin: 8px auto 0;
  background: var(--gold);
}

.section-pad {
  padding: clamp(86px, 10vw, 150px) clamp(24px, 5vw, 84px);
  scroll-margin-top: 112px;
}

.standard {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 60px;
  align-items: end;
  background: linear-gradient(180deg, #fff, var(--paper));
}

h2 {
  margin: 0;
  font-family: "Noto Serif JP", Georgia, serif;
  font-size: 5rem;
  font-weight: 600;
  line-height: 1.13;
}

.standard-lead,
.community-copy p,
.vision-copy p,
.company-card p,
.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.95;
}

.business {
  background: #fff;
}

.business-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.45fr);
  gap: 42px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto;
}

.business-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.business-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  max-width: 1280px;
  min-width: 0;
  margin: 66px auto 0;
  background: transparent;
}

.business-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.business-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  min-height: 620px;
  min-width: 0;
  align-content: start;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0;
  text-align: left;
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.business-card:last-child {
  border-right: 0;
}

.business-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 3px;
  background: transparent;
}

.business-card.is-active {
  background: linear-gradient(180deg, #fff 0%, #fff 70%, #fffaf4 100%);
}

.business-card.is-active::before {
  background: var(--red);
}

.business-card:hover {
  background: #fff;
  box-shadow: 0 26px 64px rgba(10, 24, 48, 0.08);
  transform: translateY(-2px);
  z-index: 1;
}

.business-card-number {
  display: grid;
  place-items: start;
  color: var(--red);
  font-family: "Noto Serif JP", serif;
  font-size: 2.25rem;
  line-height: 1;
  padding: 36px 32px 0;
}

.business-card img {
  order: 2;
  width: calc(100% - 64px);
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10.6;
  margin: 28px 32px 0;
  object-fit: cover;
  filter: saturate(1.02);
}

.business-card-copy {
  order: 3;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 30px 32px 78px;
}

.business-card-copy b {
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 900;
}

.business-card-copy strong {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.42rem, 1.28vw, 1.52rem);
  font-weight: 600;
  line-height: 1.38;
  text-wrap: balance;
}

.business-card-copy small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.business-card-meta {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(10, 24, 48, 0.1);
  color: #9b6b35;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.business-card-arrow {
  position: absolute;
  left: 32px;
  bottom: 34px;
  display: grid;
  place-items: center;
}

.business-card-arrow svg {
  width: 38px;
  height: 38px;
  padding: 10px;
  border: 1px solid rgba(10, 24, 48, 0.18);
  border-radius: 50%;
  color: var(--ink);
}

.business-card-arrow svg,
.detail-link svg,
.back-link svg,
.preview-external svg,
.detail-external svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.business-preview {
  display: none;
  align-content: start;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfdff);
}

.business-preview-media {
  position: relative;
  aspect-ratio: 16 / 10.2;
  overflow: hidden;
}

.business-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 580ms ease, opacity 260ms ease;
}

.business-preview-media:hover img {
  transform: scale(1.035);
}

.play-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(12px);
}

.business-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 24px;
  padding: 34px 36px 0;
}

.business-panel [data-business-number] {
  grid-row: span 2;
  color: var(--red);
  font-family: "Noto Serif JP", serif;
  font-size: 2.7rem;
  line-height: 1;
}

.business-panel h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
}

.business-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.business-panel-meta {
  grid-column: 2;
  color: #9b6b35 !important;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-link {
  grid-column: 2;
  width: fit-content;
  margin-top: 4px;
}

.preview-external {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(239, 59, 52, 0.34);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
}

.preview-external[hidden] {
  display: none;
}

.preview-external svg {
  width: 17px;
  height: 17px;
}

.business-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 28px 36px 0;
  border-bottom: 1px solid var(--line);
}

.business-progress span {
  height: 3px;
  background: transparent;
}

.business-progress span.is-active {
  background: var(--gold);
}

.business-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(480px, 0.94fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
  max-width: 1280px;
  margin: 86px auto 0;
  padding-top: 46px;
  border-top: 1px solid var(--line);
  background: #fff;
  scroll-margin-top: 112px;
}

.detail-media {
  height: clamp(420px, 42vw, 560px);
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f2ec;
  box-shadow: 0 28px 70px rgba(10, 24, 48, 0.1);
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transition: opacity 240ms ease, transform 720ms ease;
}

.detail-media:hover img {
  transform: scale(1.025);
}

.detail-content {
  display: grid;
  align-content: start;
  padding: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 42px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.back-link svg {
  width: 18px;
  height: 18px;
}

.detail-kicker {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 16px;
  color: var(--red);
  font-weight: 900;
}

.detail-kicker span {
  font-family: "Noto Serif JP", serif;
  font-size: 2.25rem;
  font-weight: 500;
}

.detail-content h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 3.45rem;
  font-weight: 600;
  line-height: 1.16;
  overflow-wrap: normal;
  word-break: keep-all;
}

.detail-subtitle,
.detail-overview {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.9;
}

.detail-overview {
  margin-top: 30px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.detail-tags span {
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid rgba(10, 24, 48, 0.14);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.detail-external {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
  padding: 26px 28px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%),
    var(--ink);
  color: #fff;
  box-shadow: 0 24px 55px rgba(10, 24, 48, 0.16);
}

.detail-external[hidden] {
  display: none;
}

.detail-external p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-external h4 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 1.72rem;
  font-weight: 600;
}

.detail-external span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.detail-external a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.detail-external a span {
  margin: 0;
  color: inherit;
}

.detail-external svg {
  width: 18px;
  height: 18px;
}

.detail-services {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.detail-services article {
  display: grid;
  grid-template-columns: 56px 1fr 28px;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.detail-services article::after {
  content: "";
  align-self: center;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--red);
  border-right: 1px solid var(--red);
  transform: rotate(45deg);
}

.detail-services span {
  color: var(--red);
  font-family: "Noto Serif JP", serif;
  font-size: 1.52rem;
  line-height: 1;
}

.detail-services h4 {
  margin: 0;
  font-size: 1.08rem;
}

.detail-services p {
  grid-column: 2;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.property-gallery {
  grid-column: 1 / -1;
  padding-top: 66px;
}

.property-gallery[hidden] {
  display: none;
}

.property-gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) 1fr;
  gap: 30px;
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.property-gallery-head h3,
.detail-contact h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 600;
}

.property-gallery-head p,
.detail-contact p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.property-grid article {
  position: relative;
  display: grid;
  gap: 10px;
}

.property-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(10, 24, 48, 0.12);
}

.property-grid span {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.property-grid h4 {
  margin: 8px 0 0;
  font-size: 0.98rem;
}

.property-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 68px;
  padding: 44px 52px;
  border: 1px solid rgba(229, 175, 114, 0.35);
  border-radius: 8px;
  background: linear-gradient(110deg, #fffaf4, #fff 58%, #fff3e7);
}

.community {
  background:
    linear-gradient(105deg, var(--paper), #fff 50%, #f8eee5),
    radial-gradient(circle at 88% 20%, rgba(248, 213, 164, 0.3), transparent 22rem);
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.community-copy p {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats article {
  min-height: 130px;
  padding: 24px 28px 22px;
  border-right: 1px solid var(--line);
}

.stats article:last-child {
  border-right: 0;
}

.stats span {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 2.86rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stats strong {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.community-media {
  position: relative;
  min-height: 620px;
}

.community-media::before {
  content: "";
  position: absolute;
  inset: 80px 90px 100px 70px;
  border: 1px solid rgba(229, 175, 114, 0.58);
}

.photo {
  position: absolute;
  width: 52%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}

.photo-main {
  top: 0;
  right: 4%;
  height: 320px;
}

.photo-small {
  left: 2%;
  top: 190px;
  width: 46%;
  height: 232px;
}

.photo-third {
  right: 0;
  bottom: 10px;
  width: 48%;
  height: 220px;
  object-position: center 42%;
}

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

.vision video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vision::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 24, 48, 0.86), rgba(10, 24, 48, 0.3));
}

.vision-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(86px, 10vw, 140px) clamp(24px, 5vw, 84px);
}

.vision-copy p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
}

.company-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 22px;
  background: #fff;
}

.company-card,
.contact-card {
  display: grid;
  min-height: 390px;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(28px, 4vw, 58px);
  background: linear-gradient(145deg, #fff, #f8fbfd);
}

.profile-list {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
}

.profile-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.profile-list dt {
  color: var(--muted);
  font-weight: 800;
}

.profile-list dd {
  margin: 0;
  line-height: 1.7;
}

.contact-card p {
  margin-top: 18px;
}

.contact-card .button {
  width: fit-content;
  margin-top: 34px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 98px;
  padding: 0 clamp(24px, 5vw, 84px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.site-footer .brand {
  min-width: 0;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 22px;
  font-weight: 700;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 720ms ease, transform 720ms ease;
}

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

@media (max-width: 1100px) {
  .hero,
  .standard,
  .community-grid,
  .company-contact {
    grid-template-columns: 1fr;
  }

  .business-head,
  .business-showcase,
  .business-detail,
  .property-gallery-head,
  .detail-contact,
  .detail-external {
    grid-template-columns: 1fr;
  }

  .business-list {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 62svh;
    order: -1;
  }

  .hero-copy {
    padding-top: 72px;
  }

  .hero h1 span {
    font-size: 4.8rem;
  }

  .hero h1 em {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 4rem;
  }

  .business-card {
    grid-template-columns: 78px minmax(170px, 36%) 1fr 60px;
    min-height: 190px;
    align-items: stretch;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .business-card:last-child {
    border-bottom: 0;
  }

  .business-card::before {
    left: -1px;
    top: 0;
    width: 3px;
    height: 100%;
  }

  .business-card:hover {
    transform: none;
  }

  .business-card-number {
    place-items: center;
    padding: 0;
    font-size: 2.35rem;
  }

  .business-card img {
    order: initial;
    width: 100%;
    height: 100%;
    min-height: 190px;
    aspect-ratio: auto;
    margin: 0;
  }

  .business-card-copy {
    order: initial;
    padding: 28px 32px;
  }

  .business-card-arrow {
    position: static;
  }

  .business-preview {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .detail-media {
    height: min(52vw, 500px);
    min-height: 360px;
  }

  .detail-content {
    padding: 0;
  }

  .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-media {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto 1fr;
    min-height: 86px;
  }

  .desktop-nav {
    display: none;
  }

  .header-tools {
    justify-self: end;
  }

  .menu-button {
    display: grid;
  }

  .language-switch {
    min-height: 42px;
  }

  .language-switch button {
    min-width: 48px;
    font-size: 0.78rem;
  }

  .hero-media {
    min-height: 53svh;
  }

  .hero-copy {
    padding: 52px 28px 78px;
  }

  .hero h1 span {
    font-size: 3.45rem;
  }

  .hero h1 em {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    justify-content: space-between;
  }

  .business-chips {
    display: grid;
  }

  .media-index,
  .video-control {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .section-pad {
    padding: 86px 28px;
    scroll-margin-top: 136px;
  }

  .standard {
    gap: 28px;
  }

  .community-grid {
    gap: 42px;
  }

  .business-head {
    gap: 22px;
  }

  .business-showcase {
    margin-top: 38px;
  }

  .business-card {
    grid-template-columns: 46px minmax(0, 1fr) 38px;
    min-height: 142px;
    overflow: hidden;
  }

  .business-card::before {
    left: -1px;
    top: 0;
    width: 3px;
    height: 100%;
  }

  .business-card img {
    display: none;
  }

  .business-card-number {
    font-size: 1.9rem;
  }

  .business-card-copy {
    min-width: 0;
    padding: 22px 8px;
  }

  .business-card-copy strong {
    font-size: 1.18rem;
  }

  .business-card-copy small {
    font-size: 0.86rem;
  }

  .business-card-meta {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .business-card-arrow svg {
    width: 34px;
    height: 34px;
    padding: 9px;
  }

  .business-preview-media {
    aspect-ratio: 4 / 3;
  }

  .business-panel {
    grid-template-columns: 1fr;
    padding: 28px 0 0;
  }

  .detail-link {
    grid-column: 1;
  }

  .business-panel-meta,
  .preview-external {
    grid-column: 1;
  }

  .business-progress {
    margin: 26px 0 0;
  }

  .business-detail {
    margin-top: 64px;
    padding-top: 30px;
  }

  .detail-media {
    height: 320px;
    min-height: 0;
  }

  .detail-content {
    padding-top: 0;
  }

  .back-link {
    margin-bottom: 28px;
  }

  .detail-content h3 {
    font-size: 2.35rem;
  }

  .detail-services article {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .detail-external {
    padding: 24px 22px;
  }

  .detail-external a {
    width: 100%;
    justify-content: space-between;
  }

  .detail-services article::after {
    display: none;
  }

  .detail-services p {
    grid-column: 1 / -1;
  }

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

  .detail-contact {
    padding: 30px 24px;
  }

  .community-media {
    min-height: 520px;
  }

  .photo-main {
    right: 0;
    width: 76%;
    height: 250px;
  }

  .photo-small {
    left: 0;
    top: 180px;
    width: 58%;
  }

  .photo-third {
    width: 68%;
  }

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

  .stats span {
    font-size: 2.55rem;
  }

  .stats article {
    min-height: 96px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats article:last-child {
    border-bottom: 0;
  }

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 32px 28px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 440px) {
  .site-header {
    padding: 0 18px;
  }

  .language-switch button {
    min-width: 42px;
  }

  .language-switch button[data-lang="ja"] {
    min-width: 58px;
  }

  .brand {
    min-width: 82px;
  }

  .brand strong {
    font-size: 1.18rem;
  }

  .hero-copy {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section-pad {
    padding-left: 22px;
    padding-right: 22px;
  }
}

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

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