:root {
  --ink: #29343b;
  --muted: #68777b;
  --paper: #f9f7f0;
  --blue: #dceff3;
  --deep-blue: #527d87;
  --green: #718c70;
  --line: rgba(41, 52, 59, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  line-height: 1.9;
}

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

.site-header {
  align-items: center;
  background: rgba(249, 247, 240, 0.92);
  display: flex;
  height: 82px;
  justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 88px);
}

.brand {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-left: 0.7rem;
}

nav {
  display: flex;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.78rem;
  gap: clamp(20px, 3vw, 44px);
  letter-spacing: 0.08em;
}

nav a {
  border-bottom: 1px solid transparent;
}

nav a:hover,
nav a:focus-visible {
  border-bottom-color: var(--deep-blue);
}

.hero {
  min-height: calc(100vh - 82px);
  overflow: hidden;
  position: relative;
}

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

.hero-shade {
  background: linear-gradient(90deg, rgba(31, 59, 66, 0.35), rgba(31, 59, 66, 0.05) 58%, transparent);
  inset: 0;
  position: absolute;
}

.hero-copy {
  color: white;
  left: clamp(24px, 8vw, 120px);
  max-width: 650px;
  position: absolute;
  text-shadow: 0 2px 20px rgba(40, 65, 69, 0.28);
  top: 50%;
  transform: translateY(-47%);
}

.eyebrow,
.section-label {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin: 14px 0 24px;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.22rem);
  letter-spacing: 0.06em;
  margin: 0 0 34px;
}

.down-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  display: inline-flex;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.82rem;
  gap: 18px;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
}

.section {
  padding: clamp(80px, 11vw, 150px) clamp(24px, 8vw, 120px);
}

.section-label {
  color: var(--deep-blue);
}

.about {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr 4fr;
}

.about-copy {
  display: grid;
  gap: clamp(50px, 8vw, 120px);
  grid-template-columns: 1fr 1.4fr;
}

.lead-copy {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  letter-spacing: 0.06em;
  line-height: 1.65;
  margin: 0;
}

.lead-copy strong {
  color: var(--green);
  font-weight: 500;
}

.body-copy {
  color: #4a575a;
  font-size: 0.98rem;
}

.body-copy p:first-child {
  margin-top: 0;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 12px 0 56px;
}

.note-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
}

.note-card {
  background: rgba(255, 255, 255, 0.58);
  border-top: 3px solid var(--blue);
  min-height: 320px;
  padding: 38px clamp(24px, 3vw, 42px);
}

.note-card:nth-child(2) {
  border-top-color: #cdddc9;
}

.note-card:nth-child(3) {
  border-top-color: #e7d9ba;
}

.note-number {
  color: #8c999c;
  font-family: Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.note-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 32px 0 20px;
}

.note-card p {
  color: #59666a;
  font-size: 0.92rem;
  margin: 0;
}

.diary {
  align-items: center;
  background: #e8f1f0;
  display: grid;
  gap: clamp(48px, 8vw, 120px);
  grid-template-columns: 1fr 1fr;
}

.diary-image-wrap {
  aspect-ratio: 4 / 5;
  box-shadow: 18px 20px 0 rgba(113, 140, 112, 0.16);
  overflow: hidden;
  position: relative;
}

.diary-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 55% center;
  position: absolute;
  width: 100%;
}

.diary-entry time {
  color: var(--muted);
  display: block;
  font-family: Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  margin: 30px 0 12px;
}

.diary-entry h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
  margin: 0 0 34px;
}

.diary-entry p {
  color: #4c5a5d;
  font-size: 0.96rem;
}

.permission-note {
  padding: clamp(80px, 10vw, 130px) 24px;
  text-align: center;
}

.permission-note p {
  color: var(--green);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  letter-spacing: 0.08em;
  margin: 0 0 14px;
}

.permission-note span {
  color: var(--muted);
  font-size: 0.92rem;
}

footer {
  align-items: end;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  min-height: 180px;
  padding: 52px clamp(24px, 8vw, 120px);
}

footer p {
  margin: 0;
}

.footer-note {
  color: rgba(255, 255, 255, 0.64);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.72rem;
}

@media (max-width: 760px) {
  .site-header {
    height: 70px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(35, 65, 72, 0.42), rgba(35, 65, 72, 0.06));
  }

  .hero-copy {
    top: 52%;
  }

  .about,
  .about-copy,
  .diary {
    grid-template-columns: 1fr;
  }

  .about {
    gap: 36px;
  }

  .about-copy {
    gap: 36px;
  }

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

  .note-card {
    min-height: 0;
  }

  .diary-image-wrap {
    aspect-ratio: 4 / 3;
  }

  footer {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }
}

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