:root {
  color-scheme: light;
  font-size: 16px;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #111;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.logo img {
  display: block;
  width: clamp(120px, 22vw, 160px);
  height: auto;
}

.divider {
  width: min(720px, 90vw);
  height: 1px;
  background: #cfcfcf;
}

.divider.thin {
  width: min(520px, 76vw);
  margin: clamp(24px, 4vw, 36px) auto;
  background: #dfdcdc;
}

.content {
  width: min(960px, 100%);
}

.sp-only {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 30px 200px
}

.hero::before {
  content: "";
  position: absolute;
  left: -160px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 260px;
  background: url("../image/img_slyly.png") no-repeat left bottom / contain;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(18px, 3vw, 28px);
  max-width: 800px;
}

.hero-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(26px, 3.8vw, 36px);
  letter-spacing: 0.1em;
}

.akagumi-mark img {
  width: clamp(140px, 20vw, 200px);
  height: auto;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(280px, 52vw, 400px);
  padding: clamp(18px, 3vw, 24px) clamp(56px, 7vw, 88px);
  border-radius: 6px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(18px, 2.8vw, 24px);
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button.primary {
  background: #c5001f;
}

.cta-button.secondary {
  background: #a48753;
}

.cta-button:hover,
.cta-button:focus {
  transform: translateY(-3px);
  opacity: 0.92;
  outline: none;
}

.cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  line-height: 1.25;
}

.cta-year {
  font-size: 40px;
  font-weight: 700;
}

.cta-icon {
  position: absolute;
  right: clamp(18px, 3vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  right: 10px;
}

.sub-heading {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.06em;
  color: #555555;
}

@media (max-width: 800px) {
  .hero {
    align-items: center;
  }

  .hero::before {
    display: none;
  }

  .cta-text {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .header {
    gap: 18px;
  }

  .hero-title{
    font-size: 24px;
  }

  .akagumi-mark img {
    width: 120px;
  }

  .cta-button {
    min-width: 100%;
    justify-content: center;
    padding: 20px;
  }

  .cta-text {
    align-items: center;
    text-align: center;
  }

  .cta-year {
    font-size: 24px;
  }

  .sp-only {
    display: block;
  }

}

