:root {
  --blue: #7B9DD0;
  --blue-dark: #5F84BC;
  --cream: #F4F0E6;
  --cream-deep: #ECE6D6;
  --white: #FFFFFF;
  --text: #4A4A52;
  --text-soft: #7A7A82;
  --radius: 20px;
  --shadow: 0 8px 28px rgba(123, 157, 208, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Zen Maru Gothic", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

main { overflow: hidden; }

section { padding: 64px 24px; }

h1, h2, h3 { font-weight: 700; line-height: 1.4; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(123,157,208,0.10), transparent 60%),
    var(--cream);
  position: relative;
}

/* ===== しぇあねこ シルエット（現れて消える） ===== */
.silhouettes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.sil {
  position: absolute;
  bottom: 6%;
  width: clamp(80px, 15vw, 165px);
  opacity: 0;
}
.sil-boy {
  left: 7%;
  animation: appear 8s ease-in-out infinite;
}
.sil-girl {
  right: 7%;
  animation: appear 8s ease-in-out infinite;
  animation-delay: 4s;
}
@keyframes appear {
  0%, 100% { opacity: 0; transform: translateY(14px); }
  45%, 55% { opacity: 0.5; transform: translateY(0); }
}

/* ヒーロー内の主要素はシルエットより前面に */
.hero .paws,
.hero .logo,
.hero h1,
.hero .lead,
.hero .signup { position: relative; z-index: 2; }

.paws {
  position: absolute;
  top: 28px;
  display: flex;
  gap: 28px;
  opacity: 0.35;
  font-size: 22px;
}
.paws span { animation: floaty 4s ease-in-out infinite; }
.paws span:nth-child(2) { animation-delay: 0.6s; }
.paws span:nth-child(3) { animation-delay: 1.2s; }

.logo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  animation: floaty 5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.lead {
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  color: var(--text-soft);
  margin-bottom: 40px;
}
.lead strong { color: var(--blue-dark); }

/* ===== Signup ===== */
.signup {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  max-width: 460px;
  width: 100%;
}
.signup h2 {
  font-size: 1.2rem;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.signup-note {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.brevo-placeholder > p {
  font-size: 0.8rem;
  color: #B7B0A0;
  margin-bottom: 12px;
}

/* ダミーフォーム（Brevo埋め込み前のプレビュー用） */
.dummy-form { display: flex; gap: 10px; flex-wrap: wrap; }
.dummy-form input {
  flex: 1 1 200px;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-deep);
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}
.dummy-form input:focus { border-color: var(--blue); }
.dummy-form button {
  padding: 12px 24px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.dummy-form button:hover { background: var(--blue-dark); }

/* ===== Features ===== */
.features { background: var(--cream-deep); text-align: center; }
.features > h2 {
  font-size: 1.3rem;
  color: var(--blue-dark);
  margin-bottom: 36px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
}
.feature-emoji { font-size: 2.4rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; color: var(--blue-dark); margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; color: var(--text-soft); }
.feature-card.secret { opacity: 0.85; }

/* ===== Follow ===== */
.follow { text-align: center; }
.follow > h2 { font-size: 1.3rem; color: var(--blue-dark); margin-bottom: 6px; }
.follow-note { font-size: 0.9rem; color: var(--text-soft); margin-bottom: 24px; }
.sns-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.sns-links a {
  display: inline-block;
  padding: 10px 22px;
  background: var(--white);
  color: var(--blue-dark);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.sns-links a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 28px 24px;
  background: var(--cream);
  color: var(--text-soft);
  font-size: 0.82rem;
}

/* ロゴ・シルエットの演出はサイトの世界観の一部のため、
   reduced-motion でも維持する。肉球の細かな揺れのみ抑制。 */
@media (prefers-reduced-motion: reduce) {
  .paws span { animation: none; }
}
