:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #0b2347;
  --muted: #52627a;
  --line: #e7dfcf;
  --leaf: #0b2347;
  --sun: #b89445;
  --sky: #d8e8f4;
  --rose: #b89445;
  --blue: #0b2347;
  --shadow: 0 18px 48px rgba(11, 35, 71, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  line-height: 1.75;
}

main {
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  color: var(--blue);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--blue);
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--sun);
}

.hero {
  position: relative;
  min-height: calc(100vh - 66px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #24322a;
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 31, 27, 0.74), rgba(22, 31, 27, 0.18) 58%, rgba(22, 31, 27, 0.1)),
    linear-gradient(0deg, rgba(22, 31, 27, 0.52), rgba(22, 31, 27, 0) 48%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(690px, calc(100% - 36px));
  margin: 0 0 clamp(34px, 9vh, 86px) clamp(18px, 6vw, 82px);
  color: #fffdf8;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  text-wrap: pretty;
}

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

.button {
  min-width: 142px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: #fffdf8;
  color: var(--ink);
}

.button.ghost {
  color: #fffdf8;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 9vw, 104px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
}

.story {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
  padding-top: 0;
}

.story-copy,
.name-card {
  padding: clamp(24px, 4vw, 44px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.story-copy {
  border-left: 8px solid var(--blue);
}

.name-card {
  border-left: 8px solid var(--sun);
}

.story p,
.name-card p {
  color: var(--muted);
}

.live-view {
  position: relative;
  order: -1;
  width: 100%;
  padding: 0;
}

.scene-card {
  position: relative;
  min-height: calc(100vh - 66px);
  overflow: hidden;
  background: #9eddf5;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.scene-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #74cdf6 0%, #e9fbff 100%);
  transition: background 900ms ease;
}

.scene-card[data-scene="morning"] .scene-sky {
  background: linear-gradient(180deg, #ead0d3 0%, #f3e3d7 52%, #fff7eb 100%);
}

.scene-card[data-scene="day"] .scene-sky {
  background: linear-gradient(180deg, #c7dff1 0%, #f7fbff 100%);
}

.scene-card[data-scene="evening"] .scene-sky {
  background: linear-gradient(180deg, #d89a58 0%, #e9bf83 54%, #fff1d6 100%);
}

.scene-card[data-scene="night"] .scene-sky {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 23%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 14%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 34%, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 28% 52%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px),
    linear-gradient(180deg, #10223f 0%, #263963 100%);
}

.sun,
.moon,
.cloud {
  position: absolute;
  display: block;
}

.sun {
  width: clamp(70px, 10vw, 130px);
  aspect-ratio: 1;
  left: 10%;
  top: 12%;
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(184, 148, 69, 0.42);
  transition: transform 900ms ease, opacity 900ms ease;
}

.moon {
  width: clamp(54px, 8vw, 96px);
  aspect-ratio: 1;
  right: 12%;
  top: 13%;
  background: #f7f1cb;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(247, 241, 203, 0.6);
  opacity: 0;
  transition: opacity 900ms ease;
}

.moon::after {
  content: "";
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  right: -10%;
  top: -3%;
  background: #273b68;
  border-radius: 50%;
}

.cloud {
  width: clamp(130px, 18vw, 230px);
  height: clamp(42px, 6vw, 76px);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  filter: blur(0.2px);
  animation: cloud-drift 24s linear infinite;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud::before {
  width: 42%;
  aspect-ratio: 1;
  left: 16%;
  bottom: 28%;
}

.cloud::after {
  width: 34%;
  aspect-ratio: 1;
  right: 18%;
  bottom: 32%;
}

.cloud-one {
  left: 28%;
  top: 15%;
}

.cloud-two {
  left: 62%;
  top: 25%;
  animation-duration: 32s;
}

.building-illustration {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: min(1280px, 112%);
  max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 16px 26px rgba(34, 45, 38, 0.22));
}

.top-copy {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 6vw, 82px);
  top: clamp(28px, 7vw, 76px);
  width: min(680px, calc(100% - 36px));
  color: #fffdf8;
  text-shadow: 0 3px 18px rgba(16, 34, 63, 0.32);
}

.top-copy .eyebrow {
  color: var(--sun);
}

.top-copy h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.top-copy p:last-child {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 700;
  text-wrap: pretty;
}

.scene-card[data-scene="day"] .top-copy,
.scene-card[data-scene="morning"] .top-copy {
  color: var(--blue);
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.55);
}

.scene-card[data-scene="day"] .top-copy .eyebrow,
.scene-card[data-scene="morning"] .top-copy .eyebrow {
  color: var(--sun);
}

.scene-card[data-scene="evening"] .top-copy {
  color: #ffffff;
}

.scene-card[data-scene="morning"] .sun {
  transform: translate(0, 34%);
}

.scene-card[data-scene="evening"] .sun {
  transform: translate(52vw, 44%);
}

.scene-card[data-scene="night"] .sun {
  opacity: 0;
}

.scene-card[data-scene="night"] .moon {
  opacity: 1;
}

.scene-card[data-scene="night"] .cloud {
  opacity: 0.28;
}

@keyframes cloud-drift {
  from {
    transform: translateX(-18px);
  }

  to {
    transform: translateX(42px);
  }
}

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

h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  line-height: 1.24;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.45;
}

.intro > p,
.visit p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-heading {
  position: relative;
  max-width: 760px;
  margin-bottom: 28px;
  padding-bottom: 18px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(280px, 64%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sun), transparent);
}

h2::after,
h3::after {
  content: "";
  display: block;
  width: 62px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--sun), transparent);
}

.top-copy h1::after {
  content: "";
  display: block;
  width: min(260px, 58vw);
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, transparent, rgba(184, 148, 69, 0.95), transparent);
}

.pillars {
  padding-top: 0;
}

.pillar-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(300px, 1.18fr);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(11, 35, 71, 0.07);
}

.pillar-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 148, 69, 0.62), transparent);
  pointer-events: none;
}

.pillar-card + .pillar-card {
  margin-top: 18px;
}

.pillar-card:nth-of-type(even) {
  grid-template-columns: minmax(300px, 1.18fr) minmax(260px, 0.82fr);
}

.pillar-card:nth-of-type(even) img {
  order: 2;
}

.pillar-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.pillar-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 54px);
}

.pillar-mark {
  width: fit-content;
  margin-bottom: 14px;
  padding: 4px 11px;
  background: #f4ecd9;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.pillar-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.3;
}

.pillar-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.guide {
  padding-top: 0;
}

.guide-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-images figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(11, 35, 71, 0.07);
  padding: 8px;
}

.guide-images img {
  width: 100%;
  height: auto;
}

.team {
  padding-top: 0;
}

.portrait-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(11, 35, 71, 0.07);
}

.portrait-strip::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 148, 69, 0.6), transparent);
}

.portrait-strip figure {
  margin: 0;
  min-width: 0;
  text-align: center;
}

.portrait-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center bottom;
  padding: 8px;
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.portrait-strip figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.feature-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(11, 35, 71, 0.07);
}

.feature-card::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(184, 148, 69, 0.72), transparent);
}

.feature-card.large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
}

.feature-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.feature-card.large img {
  height: 520px;
}

.feature-card div {
  padding: clamp(20px, 4vw, 42px);
}

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

.visit {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 6vw, 72px);
  border-top: 1px solid var(--line);
}

.info-list {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.info-list div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 22px 24px;
}

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

.info-list dt {
  color: var(--sun);
  font-weight: 700;
}

.info-list dd {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: var(--blue);
  color: #fffdf8;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 82vh;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(22, 31, 27, 0.74), rgba(22, 31, 27, 0.22) 72%);
  }

  .hero-copy {
    margin-left: 18px;
  }

  .intro,
  .visit,
  .story,
  .scene-card,
  .pillar-card,
  .pillar-card:nth-of-type(even),
  .feature-card.large {
    grid-template-columns: 1fr;
  }

  .pillar-card:nth-of-type(even) img {
    order: 0;
  }

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

  .scene-card {
    min-height: 82vh;
  }

  .building-illustration {
    width: 150%;
  }

  .top-copy {
    top: 28px;
  }

  .top-copy h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .top-copy p:last-child {
    max-width: 330px;
  }

  .guide-images {
    grid-template-columns: 1fr;
  }

  .portrait-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .feature-card img,
  .feature-card.large img {
    height: 310px;
  }

  .info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
  }
}
