/* =============================================
   Updraft スコアシート LP — 共通スタイル
   ============================================= */

/* ===== ANIMATIONS ===== */

/* --- スクロールfade-in（JSが付与） --- */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- ヒーロー入場アニメーション --- */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow { animation: hero-in 0.6s ease both 0.15s; }
.hero__catch   { animation: hero-in 0.7s ease both 0.3s;  }
.hero__divider { animation: hero-in 0.6s ease both 0.45s; }
.hero__sub     { animation: hero-in 0.6s ease both 0.5s;  }
.hero .btn-cta { animation: hero-in 0.6s ease both 0.65s; }

/* --- CTAボタン 点灯パルス --- */
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(217, 79, 114, 0.25); }
  50%       { box-shadow: 0 4px 28px rgba(217, 79, 114, 0.55),
                          0 0 0 5px rgba(217, 79, 114, 0.1); }
}
.btn-cta {
  animation: cta-pulse 2.8s ease-in-out infinite;
}
/* ヒーロー内CTAはhero-inのみ（入場後に自然パルスへ） */
.hero .btn-cta {
  animation: hero-in 0.6s ease both 0.65s;
}
.btn-cta:hover {
  animation-play-state: paused;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  line-height: 1.8;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: 1080px;
}

.text-center { text-align: center; }

/* ---- CTA Button ---- */
.btn-cta {
  display: inline-block;
  padding: 18px 48px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
}

.btn-cta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-cta:active {
  transform: translateY(0);
}

/* ---- Section ---- */
.section {
  padding: 80px 0;
}

.section--alt {
  padding: 80px 0;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1rem;
  line-height: 1.9;
  max-width: 640px;
}

/* ---- Score items ---- */
.score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.score-item {
  padding: 28px 28px 24px;
  border-radius: 4px;
}

.score-item__num {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.score-item__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.score-item__body {
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ---- Voice / Testimonial ---- */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.voice-card {
  padding: 28px;
  border-radius: 4px;
}

.voice-card__text {
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.voice-card__meta {
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---- Results ---- */
.result-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.result-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---- Profile ---- */
.profile-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.profile-img {
  width: 160px;
  height: 160px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: #ddd;
}

.profile-body__name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-body__sub {
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.profile-body__text {
  font-size: 0.92rem;
  line-height: 1.85;
}

/* ---- Stats ---- */
.stats-row {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item__num {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ---- Footer ---- */
footer {
  padding: 32px 0;
  text-align: center;
  font-size: 0.8rem;
}

footer a {
  text-decoration: underline;
  margin: 0 8px;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  html { font-size: 15px; }

  .section { padding: 56px 0; }
  .section--alt { padding: 56px 0; }

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

  .profile-wrap {
    flex-direction: column;
  }

  .profile-img {
    width: 120px;
    height: 120px;
  }

  .stats-row {
    gap: 28px;
  }

  .btn-cta {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }
}
