/* Base layout */
:root {
  color-scheme: light;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #f6f7fa 0%, #eef2ff 100%);
  color: #1f2535;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.3rem;
  max-width: 780px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem 4.1rem;
  text-align: center;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.lead {
  font-size: 1.12rem;
  color: rgba(31, 37, 53, 0.88);
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #16203a;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #06c755 0%, #00b900 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 1.5rem 4.4rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease;
  box-shadow: 0 16px 32px rgba(6, 199, 85, 0.32);
  animation: ctaPulse 1s linear infinite;
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: translateX(-60%);
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.cta-button::after {
  content: "";
  position: absolute;
  inset: -55%;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0) 65%
  );
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.4s ease, transform 0.45s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  animation-play-state: paused;
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(6, 190, 94, 0.38);
}

.cta-button:hover::before,
.cta-button:focus-visible::before {
  opacity: 1;
  transform: translateX(45%);
}

.cta-button:hover::after,
.cta-button:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 12px 22px rgba(6, 190, 94, 0.28);
}

.cta-button .line-icon {
  display: inline-block;
  width: 2.3rem;
  height: 2.3rem;
  flex-shrink: 0;
  border-radius: 999px;
  filter: drop-shadow(0 4px 10px rgba(6, 199, 85, 0.38));
  object-fit: contain;
}

.cta-button .cta-label {
  display: inline-block;
  white-space: nowrap;
  font-size: 1.22rem;
}

@keyframes ctaPulse {
  0% {
    transform: scale(0.97);
    box-shadow: 0 13px 28px rgba(6, 190, 94, 0.26);
    filter: brightness(0.96);
  }
  25% {
    transform: scale(1);
    box-shadow: 0 16px 32px rgba(6, 190, 94, 0.3);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 20px 38px rgba(6, 190, 94, 0.35);
    filter: brightness(1.06);
  }
  75% {
    transform: scale(1);
    box-shadow: 0 16px 32px rgba(6, 190, 94, 0.3);
    filter: brightness(1);
  }
  100% {
    transform: scale(0.97);
    box-shadow: 0 13px 28px rgba(6, 190, 94, 0.26);
    filter: brightness(0.96);
  }
}

.hero-image,
.info-image {
  width: 100%;
  max-width: 720px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(17, 37, 64, 0.14);
}

.image-caption {
  max-width: 640px;
  font-size: 0.98rem;
  color: rgba(31, 37, 53, 0.68);
  line-height: 1.6;
}

.image-caption.bold {
  font-weight: 700;
  color: #181c2a;
}

.section-title.emphasized {
  font-weight: 800;
}

.section-title.large {
  font-size: 1.48rem;
}

.spacer {
  height: 1rem;
}

.footer-note {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
  color: rgba(31, 37, 53, 0.65);
}

@media (max-width: 600px) {
  main {
    padding: 1rem 1.05rem 3.1rem;
    gap: 1.8rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 1.18rem;
  }

  .cta-button {
    width: 100%;
    padding: 1.2rem 1.6rem;
    gap: 0.7rem;
  }

  .cta-button .line-icon {
    width: 1.9rem;
    height: 1.9rem;
  }

  .cta-button .cta-label {
    white-space: normal;
    text-align: left;
    font-size: 1.08rem;
    line-height: 1.38;
  }

  .hero-image,
  .info-image {
    border-radius: 14px;
  }
}

