/* 元の雰囲気を生かしたトップページ用の微調整。 */
.hero {
  min-height: min(80vh, 760px);
  padding: 120px 0 72px;
}

.hero-bg {
  opacity: 0.65;
}

.hero-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.hero-mascot {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  object-fit: contain;
  image-rendering: pixelated;
}

.hero-title {
  min-width: 0;
  margin-bottom: 0;
  font-size: clamp(40px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
}

.hero-label {
  display: block;
  margin-bottom: 10px;
  font-family: "Noto Sans JP", "Inter", sans-serif;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.hero-name {
  --gradient-start: #b17f4f;
  --gradient-end: #976335;
  display: block;
  font-family: "Noto Sans JP", "Inter", sans-serif;
  font-weight: 900;
  letter-spacing: normal;
  font-kerning: normal;
  white-space: nowrap;
}

.hero-buttons {
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-buttons .btn {
  padding: 14px 22px;
  font-size: 15px;
}

.hero-buttons svg {
  flex-shrink: 0;
}

.hero-buttons .btn-web {
  min-height: 54px;
  padding: 13px 20px;
}

.download-meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 60px;
}

.download-buttons .btn-download {
  min-height: 52px;
  padding: 12px 18px;
}

.hero-platforms {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 12px;
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
}

.hero-platforms span {
  white-space: nowrap;
}

.hero-mockup {
  box-shadow: var(--shadow);
}

.features,
.download {
  padding-bottom: 120px;
}

.features .container {
  max-width: 960px;
}

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

.feature-summary {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.feature-summary h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.6;
}

.feature-summary p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-secondary);
}

.feature-summary ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}

.feature-summary .feature-plan {
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--text-secondary);
}

.feature-action {
  margin-top: auto;
  padding-top: 28px;
}

.feature-action .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 14px;
}

.research-note {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-secondary);
}

.research-note a {
  color: var(--button-start);
  text-decoration: underline;
  text-underline-offset: 4px;
}

section[id] {
  scroll-margin-top: var(--header-height);
}

#pricing {
  scroll-margin-top: calc(var(--header-height) + 100px);
}

@media (max-width: 1024px) {
  .hero-heading {
    justify-content: center;
  }

  .hero-mascot {
    width: 96px;
    height: 96px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-platforms {
    justify-content: center;
  }
}

@media (max-width: 768px) {

  .hero {
    min-height: auto;
    padding: 112px 0 56px;
  }

  .hero-title {
    font-size: clamp(24px, 6.8vw, 34px);
  }

  .hero-heading {
    gap: 12px;
  }

  .hero-mascot {
    width: 72px;
    height: 72px;
  }

  .hero-buttons {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .download-card {
    padding: 32px 24px;
  }

  .download-buttons .btn-download {
    padding: 12px 14px;
    font-size: 13px;
  }

  .download-buttons .btn-download svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .feature-overview {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-summary {
    padding: 24px;
  }

  .feature-summary h3 {
    font-size: 18px;
  }

}

@media (max-width: 360px) {
  .hero-mascot {
    width: 64px;
    height: 64px;
  }

  .download-buttons .btn-download {
    min-height: 66px;
  }
}
