/* --- CSS reset (minimal modern) --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

/* --- LP tokens --- */
:root {
  --color-bg: #FFF;
  --color-surface: #1a222d;
  --color-text: #4d4d4d;
  --color-muted: #8b9aad;
  --color-accent: #3d9cf5;
  --color-accent-hover: #67b4ff;
  --font-sans: "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", Meiryo, sans-serif;
  --radius: 12px;
  --space-section: clamp(3rem, 8vw, 6rem);
  --max-w: 900px;
  --bp-sp: 900px;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
}

/* --- layout --- */
.site-header,
.site-footer {
  border-color: rgba(255, 255, 255, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid;
}

.site-header__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--color-text);
}

.hero {
  /* padding: var(--space-section) 1.25rem; */
  max-width: var(--max-w);
  margin-inline: auto;
  margin:0 auto;
}

.hero__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 901px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero__lead {
  color: var(--color-muted);
  font-size: 1rem;
  max-width: 36ch;
}

.hero__cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    var(--color-surface),
    rgba(61, 156, 245, 0.15)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.section {
  padding: var(--space-section) 1.25rem;
}

.section--alt {
  background: var(--color-surface);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.section h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.section__intro {
  color: var(--color-muted);
  margin-bottom: 2rem;
  max-width: 50ch;
}

.features {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 901px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.cta-band {
  text-align: center;
  padding: var(--space-section) 1.25rem;
}

.cta-band__inner {
  max-width: 560px;
  margin-inline: auto;
}

.cta-band h2 {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

/* --- buttons (href from PHP $cta_href) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn--primary {
  background: var(--color-accent);
  color: #0a0e12;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.btn:active {
  transform: scale(0.98);
}

.site-footer {
  /* border-top: 1px solid; */
  max-width: var(--max-w);
  margin:0 auto;
  padding: 1rem 1.25rem;
  text-align: center;
  /* background-color: #79b4eb; */
}

.site-footer p {
  font-size: 0.8125rem;
  color: var(--color-text);
}

.site-footer__brand {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

/* --- SP: 900px以下 --- */
@media (max-width: 900px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }
}



/***********
* pulse *
************/
@-webkit-keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.pulse {
  display: block;
  -webkit-animation-name: pulse;
          animation-name: pulse;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}