:root {
  --cream: #FDFAF7;
  --blush: #F0D9D0;
  --rose: #D4849A;
  --deep: #2C2040;
  --muted: #8A7A8A;
  --accent: #C06080;
  --light-rose: #FAF0F3;
  --white: #FFFFFF;
  --section-bg: #FDF8FB;
  --sage: #7AADA0;
  --gold: #C8A97A;
  --lavender: #E8E0F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--cream);
  color: var(--deep);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.9;
}

/* ==============================
   ヘッダー（固定）
============================== */
header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,132,154,0.2);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--deep), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: all 0.3s;
}

nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
nav a {
  font-size: 0.78rem;
  color: #6A5A7A;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
  white-space: nowrap;
}
nav a:hover { color: var(--accent); }

/* ブログボタン */
.blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, var(--rose), var(--accent));
  color: white !important;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem !important;
  letter-spacing: 0.08em;
  transition: all 0.25s !important;
  box-shadow: 0 2px 8px rgba(192,96,128,0.3);
}
.blog-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(192,96,128,0.4);
}

/* モバイルナビ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--blush);
  padding: 1.5rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.9rem;
  color: #4A3A6A;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212,132,154,0.15);
}
.mobile-nav .blog-btn {
  margin-top: 0.5rem;
  justify-content: center;
  border-bottom: none !important;
}

/* ==============================
   広告バナー
============================== */
.ad-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 2rem;
  text-align: center;
}
.ad-label {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
  display: block;
}
.ad-placeholder {
  background: #f8f5fa;
  border: 1px dashed rgba(192,96,128,0.3);
  border-radius: 8px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bba8cc;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* ==============================
   トップ（ヒーロー）
============================== */
#particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
#top {
  min-height: 100vh;
  background: linear-gradient(145deg, #FDF0F5 0%, #F5E6F0 25%, #EDE0F8 55%, #F0E8FA 80%, #FDF5F8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-ring-1 {
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(212,132,154,0.2);
  animation: ringPulse 4s ease-in-out infinite;
}
.hero-ring-2 {
  width: 520px; height: 520px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(192,96,128,0.25);
  animation: ringPulse 4s ease-in-out infinite 0.6s;
}
.hero-ring-3 {
  width: 340px; height: 340px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(200,169,122,0.3);
  animation: ringPulse 4s ease-in-out infinite 1.2s;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}
#top::before {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(212,132,154,0.2) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(192,96,128,0.1);
  border: 1px solid rgba(192,96,128,0.35);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.7rem;
  color: #C06080;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
  animation: fadeDown 0.8s ease both;
}
.hero-badge::before { content: '✦'; color: var(--accent); font-size: 0.6rem; }
.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--deep);
  line-height: 1.25;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  animation: fadeDown 0.8s ease 0.2s both;
}
.hero-title .accent-word {
  background: linear-gradient(135deg, #D4849A, #C06080, #9B6BA0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero-sub {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--muted);
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
  font-weight: 400;
  animation: fadeDown 0.8s ease 0.35s both;
}
.hero-copy {
  font-size: clamp(0.85rem, 2vw, 0.98rem);
  color: #5A4A6A;
  max-width: 480px;
  line-height: 2.1;
  margin-bottom: 2.5rem;
  animation: fadeDown 0.8s ease 0.5s both;
}
.hero-copy strong { color: var(--accent); font-weight: 400; }
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeDown 0.8s ease 0.65s both;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #D4849A, #C06080, #9B6BA0);
  color: var(--white);
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 32px rgba(192,96,128,0.35), 0 0 0 0 rgba(212,132,154,0.3);
  transition: all 0.3s;
  animation: ctaPulse 2.5s ease-in-out infinite 1.5s;
  font-family: 'Noto Sans JP', sans-serif;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(192,96,128,0.35), 0 0 0 0 rgba(212,132,154,0.25); }
  50% { box-shadow: 0 8px 32px rgba(192,96,128,0.45), 0 0 0 14px rgba(212,132,154,0); }
}
.cta-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 40px rgba(192,96,128,0.45); }
.cta-primary .arrow { display: inline-block; transition: transform 0.3s; }
.cta-primary:hover .arrow { transform: translateX(4px); }
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(192,96,128,0.3);
  color: var(--accent);
  padding: 1rem 1.8rem;
  border-radius: 50px;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: all 0.3s;
  backdrop-filter: blur(6px);
  font-family: 'Noto Sans JP', sans-serif;
}
.cta-secondary:hover { background: rgba(255,255,255,0.95); color: var(--deep); transform: translateY(-2px); }
.symptom-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  max-width: 600px;
  margin-bottom: 3.5rem;
  animation: fadeDown 0.8s ease 0.8s both;
}
.stag {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(212,132,154,0.3);
  color: #7A5A7A;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  transition: all 0.25s;
  cursor: default;
}
.stag:hover { background: rgba(212,132,154,0.15); border-color: rgba(192,96,128,0.5); color: var(--accent); }
.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(100,80,120,0.4);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  z-index: 1;
  animation: fadeDown 1s ease 1.2s both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(192,96,128,0.6), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* カードセクション */
.cards-section {
  background: var(--cream);
  padding: 4rem 2rem 2rem;
}
.cards-lead { text-align: center; margin-bottom: 2.5rem; }
.cards-lead h2 {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--deep), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
}
.cards-lead p { font-size: 0.88rem; color: var(--muted); }
.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.section-card {
  background: var(--white);
  border: 1px solid rgba(212,132,154,0.35);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  cursor: pointer;
  transition: all 0.25s;
  text-align: left;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.section-card::after {
  content: '→';
  position: absolute;
  bottom: 1.2rem; right: 1.2rem;
  color: var(--blush);
  font-size: 1rem;
  transition: all 0.25s;
}
.section-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(192,96,128,0.15); }
.section-card:hover::after { color: var(--rose); transform: translateX(3px); }
.card-num { font-size: 0.65rem; color: var(--accent); letter-spacing: 0.2em; margin-bottom: 0.5rem; }
.card-title { font-family: 'Shippori Mincho', serif; font-size: 0.92rem; color: var(--deep); font-weight: 600; line-height: 1.5; padding-right: 1.5rem; }
.card-icon { font-size: 1.5rem; margin-bottom: 0.7rem; display: block; }

/* アニメーション共通 */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================
   セクション共通
============================== */
.page-section { padding-top: 80px; }
.section-hero {
  background: linear-gradient(135deg, #F8EFF5 0%, #F5EAF8 50%, #FDFAF7 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(155,107,160,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.section-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,132,154,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.s-num { font-size: 0.72rem; color: var(--accent); letter-spacing: 0.22em; margin-bottom: 0.8rem; display: block; }
.s-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--deep) 0%, #7A4080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.s-lead { font-size: 0.9rem; color: var(--muted); max-width: 480px; margin: 0 auto; line-height: 1.9; }
.s-divider { width: 50px; height: 2px; background: linear-gradient(to right, var(--rose), var(--blush)); margin: 1.5rem auto; }

/* セクション本文 */
.section-body { max-width: 720px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.subsection {
  margin-bottom: 3.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.subsection.visible { opacity: 1; transform: translateY(0); }
.sub-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.sub-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #FAF0F3, #F0E8FA);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.sub-h2 { font-family: 'Shippori Mincho', serif; font-size: 1.15rem; font-weight: 600; color: var(--deep); border-left: 3px solid var(--accent); padding-left: 0.8rem; }
.subsection p { font-size: 0.93rem; color: #4A3A5A; line-height: 2.05; margin-top: 0.4rem; }
.subsection p + p { margin-top: 0.8rem; }

/* チェックリスト */
.checklist { background: var(--white); border: 1px solid rgba(212,132,154,0.35); border-radius: 16px; padding: 1.8rem 2rem; margin-top: 0.8rem; }
.checklist-intro { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.2rem; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--light-rose);
  font-size: 0.9rem;
  color: var(--deep);
  cursor: pointer;
  transition: color 0.2s;
}
.check-item:last-of-type { border-bottom: none; }
.check-box {
  width: 20px; height: 20px;
  border: 2px solid var(--blush);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  background: var(--cream);
}
.check-item.checked .check-box { background: linear-gradient(135deg, var(--rose), var(--accent)); border-color: var(--accent); }
.check-item.checked .check-box::after { content: '✓'; color: white; font-size: 0.72rem; font-weight: bold; }
.check-item.checked { color: var(--muted); }
.check-result {
  margin-top: 1rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, #FAF0F3, #F0E8FA);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--accent);
  text-align: center;
  display: none;
}
.check-result.show { display: block; }

/* 食品リスト */
.food-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 0.8rem; }
.food-card { border-radius: 12px; padding: 1.2rem; }
.food-card.danger { background: #FDF0F5; border: 1px solid #EECCD8; }
.food-card.safe { background: #EEF5F2; border: 1px solid #B8D4C8; }
.food-card h4 { font-family: 'Shippori Mincho', serif; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.6rem; }
.food-card.danger h4 { color: #C06080; }
.food-card.safe h4 { color: #4A7A6A; }
.food-card ul { list-style: none; font-size: 0.82rem; color: var(--deep); line-height: 1.8; }
.food-card ul li::before { content: '・'; color: var(--muted); }

/* ポイントボックス */
.point-box {
  background: linear-gradient(135deg, #D4849A 0%, #C06080 50%, #9B6BA0 100%);
  border-radius: 16px;
  padding: 2rem 2.2rem;
  margin-top: 3.5rem;
  position: relative;
  overflow: hidden;
}
.point-box::before { content: '💡'; position: absolute; top: -10px; right: 20px; font-size: 4rem; opacity: 0.12; }
.point-box h3 { font-family: 'Shippori Mincho', serif; font-size: 0.82rem; color: rgba(255,255,255,0.8); letter-spacing: 0.15em; margin-bottom: 0.7rem; }
.point-box p { font-size: 0.92rem; color: var(--white); line-height: 1.9; }

/* セクション間ナビ */
.section-nav { max-width: 720px; margin: 0 auto; padding: 0 2rem 4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--deep);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.82rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.nav-btn:hover { background: var(--accent); }
.nav-btn.next:hover { transform: translateX(3px); }
.nav-btn.prev:hover { transform: translateX(-3px); }
.nav-btn.outline { background: transparent; color: var(--deep); border: 1px solid rgba(212,132,154,0.35); }
.nav-btn.outline:hover { background: linear-gradient(135deg, #FAF0F3, #F0E8FA); }

/* セクション区切り */
.section-divider { height: 6px; background: linear-gradient(to right, #F5EAF8, #E8D0E8, #F5EAF8); }

/* フッター */
footer {
  background: linear-gradient(135deg, #2C2040, #4A2050);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 2;
}
footer strong { color: rgba(255,255,255,0.8); font-family: 'Shippori Mincho', serif; }

/* ページトップボタン */
.to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--rose), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 500;
  text-decoration: none;
}
.to-top.show { opacity: 1; }
.to-top:hover { transform: translateY(-3px); }

/* ==============================
   レスポンシブ
============================== */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  #top { padding: 90px 1.5rem 4rem; }
  .hero-ring-1 { width: 420px; height: 420px; }
  .hero-ring-2 { width: 300px; height: 300px; }
  .hero-ring-3 { width: 200px; height: 200px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .cards-section { padding: 3rem 1.5rem 2rem; }
  .section-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .section-hero { padding: 3.5rem 1.5rem 3rem; }
  .section-body { padding: 2.5rem 1.5rem 4rem; }
  .food-grid { grid-template-columns: 1fr; }
  .section-nav { flex-direction: column; align-items: stretch; }
  .nav-btn { justify-content: center; }
  .checklist { padding: 1.2rem 1rem; }
  .point-box { padding: 1.6rem 1.5rem; }
}
@media (max-width: 480px) {
  .section-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .s-title { font-size: 1.6rem; }
}
