@charset "UTF-8";

:root {
  --text: #333;
  --muted: #6d6d6d;
  --surface: #ded9cf;
  --line: rgb(0 0 0 / 12%);
  --content: min(88vw, 1400px);
  --nav-width: clamp(72px, 9vw, 150px);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
}

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

.hero h1 {
  width: var(--content);
  margin: 0 0 0 auto;
  padding: 44px 0 34px;
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.hero-slideshow {
  width: var(--content);
  height: min(78svh, 850px);
  min-height: 520px;
  margin-left: auto;
}

.slideshow {
  position: relative;
  overflow: hidden;
  background: #eee;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.slideshow img.show {
  opacity: 1;
}

.side-nav {
  position: fixed;
  z-index: 10;
  top: 50%;
  left: clamp(10px, 2vw, 34px);
  transform: translateY(-50%);
}

.side-nav ul {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vh, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-nav a {
  color: #111;
  font-size: clamp(0.8rem, 1vw, 1rem);
  letter-spacing: 0.12em;
  text-decoration: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: opacity 0.2s ease;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  opacity: 0.55;
}

.section-block {
  scroll-margin-top: 24px;
}

.concept {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  width: var(--content);
  min-height: 760px;
  margin: 150px 0 0 auto;
}

.concept-copy {
  display: grid;
  place-content: center;
  padding: clamp(32px, 6vw, 100px);
  text-align: center;
}

.concept-copy h2,
.story h2,
.information h2,
.access h2,
.contact h2 {
  margin: 0 0 40px;
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.concept-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 2.1;
}

.concept-slideshow {
  min-height: 680px;
}

.story {
  min-height: 600px;
  margin-top: 120px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgb(255 255 255 / 32%), rgb(255 255 255 / 32%)),
    url("img/seaside_5.jpg") center / cover no-repeat;
}

.story-inner {
  width: min(760px, 82vw);
  text-align: center;
}

.story-inner p {
  margin: 0;
  line-height: 3.1;
  letter-spacing: 0.12em;
}

.story-gallery {
  width: min(83vw, 1280px);
  margin: 120px 6vw 0 auto;
}

.story-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
  margin-top: 110px;
}

.story-card.reverse {
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
}

.story-card p {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 2.2;
  text-align: center;
}

.story-card img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.story-collage {
  position: relative;
  min-height: 720px;
  margin-top: 120px;
}

.story-collage img:first-child {
  width: min(48%, 560px);
}

.story-collage img:last-child {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: min(34%, 420px);
}

.information {
  margin-top: 120px;
  padding: 80px 0 100px;
  background: var(--surface);
}

.section-inner {
  width: min(88vw, 1180px);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(760px, 84vw);
}

.information {
  text-align: center;
}

.information ul {
  margin: 0;
  padding-left: 1.3em;
  text-align: left;
}

.information li + li {
  margin-top: 24px;
}

.access {
  padding: 120px 0;
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.7fr);
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
}

.access img {
  width: 100%;
}

address {
  font-style: normal;
}

.contact {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.sns img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

footer {
  padding: 32px;
  background: #111;
  color: #fff;
  text-align: center;
}

@media (max-width: 760px) {
  :root {
    --content: 100%;
  }

  .hero h1 {
    width: 100%;
    padding: 24px 20px;
  }

  .hero-slideshow {
    min-height: 420px;
    height: 68svh;
  }

  .side-nav {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    overflow-x: auto;
    background: rgb(255 255 255 / 92%);
    backdrop-filter: blur(8px);
  }

  .side-nav ul {
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    min-width: 520px;
  }

  .side-nav a {
    display: block;
    padding: 14px 12px;
    font-size: 0.78rem;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .concept {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 80px;
  }

  .concept-copy {
    padding: 70px 24px;
  }

  .concept-slideshow {
    min-height: 520px;
  }

  .story {
    margin-top: 80px;
    min-height: 560px;
  }

  .story-inner p {
    line-height: 2.3;
    letter-spacing: 0.06em;
  }

  .story-gallery {
    width: 88%;
    margin: 80px auto 0;
  }

  .story-card,
  .story-card.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 72px;
  }

  .story-card.reverse img {
    order: 2;
  }

  .story-collage {
    display: grid;
    gap: 24px;
    min-height: 0;
    margin-top: 72px;
  }

  .story-collage img:first-child,
  .story-collage img:last-child {
    position: static;
    width: 100%;
  }

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

  footer {
    padding-bottom: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slideshow img { transition: none; }
}
