/* /css/index.css */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #f2f2f2;
  background:
    radial-gradient(circle at top, rgba(120, 40, 60, 0.18), transparent 36%),
    #050508;
}

img {
  max-width: 100%;
  height: auto;
}

.sp-only {
  display: none;
}

.hero {
  min-height: 100svh;
  padding: 120px 24px 80px;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-inner {
  width: min(100%, 1100px);
}

.eyebrow {
  margin: 0;
  font-size: clamp(11px, 1.8vw, 13px);
  letter-spacing: 0.28em;
  color: #aaa;
}

.hero h1 {
  margin: 20px 0;
  font-size: clamp(48px, 11vw, 128px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.lead {
  margin: 0 auto;
  max-width: 720px;
  color: #ccc;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.scroll {
  margin-top: 64px;
  display: inline-block;
  color: #999;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.28em;
}

.section {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(72px, 12vw, 120px) clamp(20px, 5vw, 40px);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading p {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: #777;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 36px);
  letter-spacing: 0.18em;
  font-weight: 400;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 28px);
}

.work-card {
  min-height: 320px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    background 0.3s ease;
}

.work-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-card:hover {
  background: rgba(255, 255, 255, 0.07);
}

.number {
  font-size: 11px;
  color: #999;
  letter-spacing: 0.2em;
}

.work-card h3 {
  margin: 18px 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
}

.work-card p,
.about p {
  color: #bbb;
  line-height: 2;
  font-size: clamp(14px, 1.8vw, 16px);
}

.play-button {
  margin-top: 32px;
  width: fit-content;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #fff;
  letter-spacing: 0.2em;
  font-size: 12px;
}

.play-button.disabled {
  color: #666;
  border-color: #666;
  pointer-events: none;
}

.about {
  text-align: center;
}

.about p {
  max-width: 760px;
  margin: 0 auto;
}

.links {
  text-align: center;
}

.link-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.link-list a {
  min-width: 120px;
  color: #fff;
  text-decoration: none;
  padding: 13px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.25s ease, color 0.25s ease;
}

.link-list a:hover {
  background: #fff;
  color: #050508;
}

@media (max-width: 960px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sp-only {
    display: block;
  }

  .hero {
    padding: 96px 20px 64px;
  }

  .hero h1 {
    font-size: clamp(46px, 18vw, 72px);
  }

  .lead {
    text-align: left;
  }

  .scroll {
    margin-top: 48px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    min-height: 260px;
  }

  .section-heading {
    text-align: left;
  }

  .about {
    text-align: left;
  }

  .links {
    text-align: left;
  }

  .link-list {
    justify-content: flex-start;
  }

  .link-list a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 375px) {
  .hero h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 13px;
  }
}