/* ==========================================================================
   エールAI (Yell AI) 公式ランディングページ スタイルシート (Crystal Sky Blue & Intelligent Navy Edition)
   ========================================================================== */

:root {
  /* ロゴ風カラー: クリスタルスカイブルー × シアン × ディープネイビー */
  --primary: #0284C7;
  --primary-hover: #0369A1;
  --primary-accent: #38BDF8;
  --primary-light: #E0F2FE;
  --primary-subtle: #F0F9FF;
  --primary-glow: rgba(2, 132, 199, 0.25);
  
  --cyan-accent: #0284C7;
  --cyan-light: #E0F2FE;
  --cyan-border: #BAE6FD;
  --cyan-glow: rgba(14, 165, 233, 0.25);
  
  --gradient-aurora: linear-gradient(135deg, #38BDF8 0%, #0284C7 50%, #0369A1 100%);
  --gradient-orange: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  --gradient-cyan: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  
  --accent: #0284C7;
  --accent-light: #E0F2FE;
  --success: #10B981;
  --success-light: #DCFCE7;
  
  /* ロゴ文字に合わせた知的なディープネイビー */
  --text-main: #16253B;
  --text-secondary: #475569;
  --text-muted: #64748B;
  
  /* 清潔感と知的な透明感のあるクリスタルキャンバス背景 */
  --bg-page: #F8FAFC;
  --bg-subtle: #F0F9FF;
  --bg-card: #FFFFFF;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  
  --shadow-sm: 0 2px 8px 0 rgba(22, 37, 59, 0.04);
  --shadow-md: 0 8px 20px -2px rgba(22, 37, 59, 0.06), 0 3px 8px -2px rgba(2, 132, 199, 0.05);
  --shadow-lg: 0 16px 36px -4px rgba(22, 37, 59, 0.08), 0 8px 16px -2px rgba(2, 132, 199, 0.08);
  --shadow-glow: 0 12px 32px rgba(2, 132, 199, 0.32);
  --shadow-cyan-glow: 0 12px 32px rgba(14, 165, 233, 0.32);
  --shadow-aurora: 0 14px 34px -4px rgba(2, 132, 199, 0.22), 0 8px 20px -2px rgba(56, 189, 248, 0.18);
  
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
  word-break: auto-phrase;
}

/* Responsive Linebreak & Word-wrap Utilities */
.nowrap, .inline-block {
  display: inline-block;
}
.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: inline !important;
  }
}

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

picture {
  display: contents;
}

/* 共通コンテナ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 汎用ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.42);
}

.btn-secondary {
  background: #E0F2FE;
  color: #0284C7;
  border: 1.5px solid #BAE6FD;
}

.btn-secondary:hover {
  background: #BAE6FD;
  color: #0369A1;
}

/* --------------------------------------------------
   Header
-------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.header-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--primary-light);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

.cta-header-btn {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
  transition: all 0.2s ease;
}

.cta-header-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.45);
}

/* --------------------------------------------------
   Hero Section
-------------------------------------------------- */
.hero {
  padding: 70px 0 90px;
  background: radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.14) 0%, rgba(248, 250, 252, 0) 60%),
              radial-gradient(circle at 15% 75%, rgba(2, 132, 199, 0.08) 0%, rgba(248, 250, 252, 0) 55%),
              radial-gradient(circle at 50% 20%, rgba(224, 242, 254, 0.45) 0%, rgba(248, 250, 252, 0) 65%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--bg-page));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E0F2FE;
  border: 1.5px solid #BAE6FD;
  color: #0369A1;
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-title-line {
  display: block;
}

.text-gradient {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.85;
}

.hero-feature-checklist {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-feature-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.hero-feature-checklist .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.28);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #16253B;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #0F172A;
  box-shadow: var(--shadow-aurora);
}

.store-btn-icon,
.store-btn-svg {
  font-size: 24px;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.store-btn-text-sub {
  font-size: 10px;
  opacity: 0.8;
  display: block;
}

.store-btn-text-main {
  font-size: 14px;
  font-weight: 800;
  display: block;
}

.hero-note {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ヒーロービジュアル（スマホモックアップ） */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.phone-mockup-note {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(2, 132, 199, 0.12) 50%, rgba(248, 250, 252, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* たまごのフローティングバッジ */
.floating-egg-badge {
  position: absolute;
  top: 40px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 8px 14px 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -3px rgba(2, 132, 199, 0.15), 0 4px 8px -2px rgba(14, 165, 233, 0.1);
  border: 1.5px solid #BAE6FD;
  z-index: 25;
  animation: floatEgg 4s ease-in-out infinite;
}

@keyframes floatEgg {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

.floating-egg-img-wrap {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ECFEFF 0%, #E0F2FE 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #BAE6FD;
  flex-shrink: 0;
}

.floating-egg-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(8, 145, 178, 0.25));
}

.floating-egg-text {
  display: flex;
  flex-direction: column;
}

.floating-egg-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #0284C7;
  background: #E0F2FE;
  padding: 1px 6px;
  border-radius: 6px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 2px;
}

.floating-egg-title {
  font-size: 11.5px;
  font-weight: 900;
  color: #1E293B;
  white-space: nowrap;
}

.phone-frame {
  width: 324px;
  background: #1E293B;
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 28px 64px -16px rgba(180, 83, 9, 0.25),
              0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  position: relative;
  z-index: 10;
}

/* 上部ノッチ / ダイナミックアイランド */
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 20px;
  background: #0F172A;
  border-radius: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  gap: 6px;
}

.notch-camera {
  width: 9px;
  height: 9px;
  background: #1E293B;
  border-radius: 50%;
  border: 1px solid #334155;
}

.notch-speaker {
  width: 32px;
  height: 4px;
  background: #1E293B;
  border-radius: 2px;
}

/* スマホ画面スクリーン */
.phone-screen {
  background: #F8FAFC;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  font-size: 12px;
  position: relative;
}

/* 🌟 実機ミニマルヘッダー */
.app-header {
  padding: 28px 11px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
}

.app-user-pill {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.user-pill-icon {
  font-size: 11px;
}

.user-pill-name {
  font-size: 11px;
  font-weight: 800;
  color: #0F172A;
}

.app-header-right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-stamp-btn {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 3px 7px;
  color: #B45309;
  font-size: 9.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 3px;
}

.header-parent-btn {
  background: #F3E8FF;
  border: 1px solid #E9D5FF;
  border-radius: 12px;
  padding: 3px 7px;
  color: #7E22CE;
  font-size: 9.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* 🌟 実機中央相棒カード（ヒーローステージ） */
.app-hero-char-card {
  margin: 0 11px 8px;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 9px 12px 9px;
  border: 1px solid #F1F5F9;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  text-align: center;
  position: relative;
}

.app-speech-balloon {
  background: #FFFFFF;
  border-radius: 13px;
  padding: 4px 9px;
  border: 1.5px solid #BAE6FD;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.12);
  margin: 0 auto 6px;
  display: inline-block;
  position: relative;
  max-width: 94%;
}

.app-speech-balloon p {
  font-size: 9.5px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.35;
  margin: 0;
}

.app-speech-balloon .speech-tail {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-right: 1.5px solid #BAE6FD;
  border-bottom: 1.5px solid #BAE6FD;
}

.app-char-stage {
  position: relative;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0;
}

.app-char-halo {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(6, 182, 212, 0) 70%);
  top: 2px;
  align-self: center;
}

.app-char-img-wrap {
  width: 82px;
  height: 82px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatBreathe 3.6s ease-in-out infinite;
}

.app-char-stage-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(6, 182, 212, 0.25));
}

.app-char-shadow {
  position: absolute;
  bottom: 3px;
  width: 56px;
  height: 7px;
  border-radius: 50%;
  background: #0F172A;
  opacity: 0.14;
  animation: shadowPulse 3.6s ease-in-out infinite;
}

@keyframes floatBreathe {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.03);
  }
}

@keyframes shadowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.14;
  }
  50% {
    transform: scale(0.72);
    opacity: 0.08;
  }
}

.app-char-info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 3px 0 5px;
}

.app-char-name {
  font-size: 15px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.2px;
}

.app-stage-pill {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 8px;
}

.app-exp-section {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.app-exp-track {
  flex: 1;
  height: 6px;
  background: #F1F5F9;
  border-radius: 999px;
  overflow: hidden;
}

.app-exp-fill {
  height: 100%;
  background: linear-gradient(90deg, #38BDF8, #0284C7);
  border-radius: 999px;
}

.app-exp-percent {
  font-size: 10.5px;
  font-weight: 900;
  color: #0284C7;
}

.app-char-switch-btn {
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
  border-radius: 11px;
  padding: 2.5px 9px;
  font-size: 9px;
  font-weight: 800;
  color: #9333EA;
  display: inline-block;
}

/* 🌟 実機ピル型日付ナビゲーションバー */
.app-date-nav-card {
  margin: 0 11px 8px;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #F1F5F9;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.date-nav-arrow-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0284C7;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.date-nav-center {
  display: flex;
  align-items: center;
  gap: 5px;
}

.date-nav-main-text {
  font-size: 11.5px;
  font-weight: 800;
  color: #0F172A;
}

.date-nav-today-badge {
  background: #E0F2FE;
  color: #0369A1;
  font-size: 9px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 6px;
}

.date-nav-cal-toggle {
  font-size: 9px;
  color: #64748B;
  margin-left: 2px;
}

/* 🌟 実機学習タスクセクション */
.app-tasks-container {
  padding: 0 11px 6px;
  flex: 1;
}

.app-tasks-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.app-tasks-title-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-tasks-title {
  font-size: 11.5px;
  font-weight: 900;
  color: #0F172A;
}

.app-tasks-remaining-pill {
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  color: #0369A1;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 6px;
}

.app-tasks-add-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 6px;
}

.app-timeslot-group {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 6px 8px;
  border: 1px solid #F1F5F9;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.03);
}

.app-timeslot-header {
  border-left: 3px solid #0284C7;
  padding-left: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.app-timeslot-header-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.app-timeslot-icon {
  font-size: 11px;
}

.app-timeslot-title {
  font-size: 10.5px;
  font-weight: 900;
  color: #0F172A;
}

.app-timeslot-badge {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #059669;
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 5px;
  margin-left: 2px;
}

.app-task-card {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border-radius: 11px;
  padding: 5px 7px;
  margin-bottom: 4px;
  border: 1px solid #F1F5F9;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.app-task-card.completed {
  background: #F8FAFC;
  opacity: 0.76;
}

.app-check-circle {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-check-circle.done {
  background: #0284C7;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 1.5px 3px rgba(2, 132, 199, 0.25);
}

.app-check-circle.pending {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
}

.app-task-info {
  flex: 1;
  overflow: hidden;
}

.app-task-tags-row {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 1.5px;
}

.app-subject-tag {
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
}

.app-subject-tag.tag-calc {
  background: #FEF3C7;
  color: #B45309;
}

.app-subject-tag.tag-math {
  background: #EFF6FF;
  color: #1D4ED8;
}

.app-subject-tag.tag-kanji {
  background: #F3E8FF;
  color: #7E22CE;
}

.app-task-time-badge {
  font-size: 7.5px;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 1px 4px;
  border-radius: 3px;
}

.app-task-title {
  font-size: 10px;
  font-weight: 800;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-task-title.done {
  color: #94A3B8;
  text-decoration: line-through;
}

.app-task-drag-handle {
  font-size: 11px;
  color: #CBD5E1;
  font-weight: 900;
  flex-shrink: 0;
}

/* 🌟 実機ボトムナビゲーション（4タブ） */
.app-bottom-nav {
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  padding: 4px 6px 7px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 6px rgba(15, 23, 42, 0.03);
}

.app-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: #64748B;
  padding: 2px 6px;
}

.app-bottom-nav .nav-item.active {
  color: #0284C7;
  background: #E0F2FE;
  border-radius: 9px;
}

.app-bottom-nav .nav-item-icon {
  font-size: 12px;
  line-height: 1.1;
}

.app-bottom-nav .nav-item-label {
  font-size: 8px;
  font-weight: 800;
}

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

.bg-subtle {
  background-color: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #0369A1;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

/* --------------------------------------------------
   Features Section (Clean Card UI)
-------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1.5px solid var(--border);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-aurora);
  border-color: #BAE6FD;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #E0F2FE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  border: 1.5px solid #BAE6FD;
  overflow: hidden;
}

.feature-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.2));
}

.feature-card:nth-child(2) .feature-icon-wrapper {
  background: #E0F2FE;
  border-color: #BAE6FD;
}
.feature-card:nth-child(3) .feature-icon-wrapper {
  background: #E0F2FE;
  border-color: #BAE6FD;
}
.feature-card:nth-child(4) .feature-icon-wrapper {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.feature-card-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* インタラクティブ・スタンプ体験デモ */
.stamp-experience-box {
  margin-top: 40px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  border: 1.5px solid var(--border);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stamp-experience-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stamp-demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 680px;
  margin: 24px auto 16px;
  align-items: center;
  text-align: left;
}

@media (max-width: 640px) {
  .stamp-demo-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.stamp-demo-task {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 16px 18px;
  border: 2px solid #BAE6FD;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.stamp-demo-task:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.2);
  border-color: #0284C7;
}

.stamp-demo-task:active {
  transform: scale(0.98);
}

.stamp-demo-task-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stamp-demo-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  color: #0284C7;
  background: #E0F2FE;
  padding: 2px 8px;
  border-radius: 6px;
}

.stamp-demo-title {
  font-size: 15px;
  font-weight: 900;
  color: #1E293B;
  line-height: 1.4;
}

.stamp-demo-sub {
  font-size: 11.5px;
  font-weight: 700;
  color: #0284C7;
}

.stamp-press-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stamp-press-btn.unpressed {
  border: 2px dashed #CBD5E1;
  background: #F8FAFC;
  color: #64748B;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.stamp-press-btn.pressed {
  border: 2.5px dashed #DC2626;
  background: rgba(239, 68, 68, 0.1);
  transform: rotate(-12deg) scale(1.08);
  animation: stampPound 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.35);
}

@keyframes stampPound {
  0% {
    transform: scale(2.2) rotate(15deg);
    opacity: 0;
  }
  60% {
    transform: scale(0.9) rotate(-15deg);
    opacity: 1;
  }
  100% {
    transform: scale(1.08) rotate(-12deg);
  }
}

.stamp-press-btn.pressed .stamp-h-icon {
  font-size: 18px;
  line-height: 1;
  margin-bottom: -1px;
}

.stamp-press-btn.pressed .stamp-h-text {
  font-size: 9px;
  font-weight: 900;
  color: #DC2626;
  line-height: 1.15;
  text-align: center;
}

.stamp-demo-character-box {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 16px;
  border: 1.5px solid #BAE6FD;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
}

.stamp-demo-char-img-wrap {
  width: 76px;
  height: 76px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.stamp-demo-char-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(8, 145, 178, 0.2));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stamp-demo-char-img.cheer {
  animation: charJump 0.6s ease-in-out;
}

@keyframes charJump {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-16px) scale(1.12); }
  70% { transform: translateY(-4px) scale(1.04); }
}

.stamp-demo-exp-gain-pop {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s ease;
  pointer-events: none;
}

.stamp-demo-exp-gain-pop.active {
  opacity: 1;
  transform: translateY(-8px);
}

.stamp-demo-exp-bar-wrap {
  width: 100%;
  margin-top: 6px;
}

.stamp-demo-exp-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 800;
  color: #64748B;
  margin-bottom: 3px;
}

.stamp-demo-exp-bar {
  width: 100%;
  height: 9px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
}

.stamp-demo-exp-fill {
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #38BDF8 0%, #0284C7 100%);
  border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stamp-demo-speech {
  font-size: 12px;
  font-weight: 800;
  color: #0284C7;
  background: #E0F2FE;
  border: 1px solid #BAE6FD;
  border-radius: 10px;
  padding: 6px 10px;
  margin-top: 10px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

/* 成長内容はあえてシークレットにするティザー演出 */
.mystery-growth-card {
  margin-top: 24px;
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border: 2px dashed #BAE6FD;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mystery-egg-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mystery-egg-img-wrap {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1.5px solid #BAE6FD;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.12);
}

.mystery-egg-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.mystery-arrow {
  font-size: 22px;
  color: #0284C7;
  font-weight: 900;
}

.mystery-secret-badge {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, #16253B 0%, #0F172A 100%);
  border: 2px solid #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #38BDF8;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  animation: pulseSecret 2.5s ease-in-out infinite;
}

@keyframes pulseSecret {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
  }
}

.mystery-label {
  font-size: 11.5px;
  font-weight: 900;
  color: #78350F;
}

.mystery-text-wrap {
  text-align: left;
  max-width: 320px;
}

.mystery-text-wrap h4 {
  font-size: 15px;
  font-weight: 900;
  color: #92400E;
  margin-bottom: 4px;
}

.mystery-text-wrap p {
  font-size: 12.5px;
  color: #78350F;
  line-height: 1.6;
  font-weight: 600;
}

/* --------------------------------------------------
   Before / After Section (悪循環から好循環へ)
-------------------------------------------------- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.comparison-card {
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
}

.comparison-card.before {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.comparison-card.after {
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
  border-color: #0284C7;
  box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.18);
  position: relative;
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 9999px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.comparison-card.before .comparison-badge {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
}

.comparison-card.after .comparison-badge {
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28);
}

.comparison-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.4;
}

.comparison-card.before .comparison-title {
  color: #475569;
}

.comparison-card.after .comparison-title {
  color: #0369A1;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.comparison-card.before .comparison-list li {
  color: #64748B;
}

.comparison-card.after .comparison-list li {
  color: var(--text-main);
  font-weight: 600;
}

.comparison-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --------------------------------------------------
   Character Gallery (選べる相棒たち)
-------------------------------------------------- */
.char-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.char-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  border: 1.5px solid var(--border);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.char-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #BAE6FD;
}

.char-card-img-wrap {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  background: #F0F9FF;
  border: 1.5px solid #BAE6FD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.08);
}

.char-card-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.char-card-name {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 2px;
}

.char-card-role {
  font-size: 11px;
  font-weight: 800;
  color: #0284C7;
  background: #E0F2FE;
  padding: 2px 8px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.char-card-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.char-card.silhouette {
  background: #FAF8F5;
  border-color: #E8DFD3;
}

.char-card.silhouette .char-card-img-wrap {
  background: #F1ECE3;
  border-color: #E2D7C7;
}

.char-card.silhouette .char-card-img {
  filter: brightness(0) opacity(0.2);
}

.char-card.silhouette .char-card-role {
  background: #EDE5D8;
  color: #8C7B6B;
}

.char-extra-banner {
  background: #E0F2FE;
  border: 1.5px solid #BAE6FD;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  color: #0369A1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* --------------------------------------------------
   AI Voice Advice Demo UI (親向け声かけ具体例)
-------------------------------------------------- */
.advice-demo-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  max-width: 820px;
  margin: 0 auto;
}

.advice-demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.advice-demo-badge {
  font-size: 11.5px;
  font-weight: 900;
  color: #0284C7;
  background: #E0F2FE;
  padding: 4px 10px;
  border-radius: 6px;
}

.advice-speech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.speech-box {
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.speech-box.good {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
}

.speech-box.ng {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
}

.speech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.speech-box.good .speech-tag {
  background: #DCFCE7;
  color: #15803D;
}

.speech-box.ng .speech-tag {
  background: #FEE2E2;
  color: #B91C1C;
}

.speech-text {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.6;
}

.speech-box.good .speech-text {
  color: #14532D;
}

.speech-box.ng .speech-text {
  color: #7F1D1D;
  text-decoration: line-through;
}

.advice-explanation {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13px;
  color: #92400E;
  line-height: 1.65;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* --------------------------------------------------
   Parent Features Grid
-------------------------------------------------- */
.parent-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.parent-feat-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1.5px solid var(--border);
}

.parent-feat-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: inline-block;
}

.parent-feat-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.parent-feat-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------
   Pricing Section
-------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  border: 1.5px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.pricing-card.recommended {
  border-color: #0284C7;
  border-width: 2.5px;
  box-shadow: var(--shadow-aurora);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 900;
  padding: 4px 16px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.plan-name {
  font-size: 19px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 4px;
}

.plan-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.plan-price {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 24px;
}

.plan-price span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.plan-feature-item .feat-icon {
  font-size: 14px;
  font-weight: 900;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.plan-feature-item .icon-ok {
  color: #0284C7;
}

.plan-feature-item .icon-limited {
  color: #0369A1;
}

.plan-feature-item.disabled {
  color: #94A3B8;
  opacity: 0.65;
}

.plan-feature-item.disabled .feat-icon {
  color: #CBD5E1;
}

.badge-limit {
  font-size: 10.5px;
  font-weight: 800;
  color: #0369A1;
  background: #E0F2FE;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  display: inline-block;
}

.badge-unlimited {
  font-size: 10.5px;
  font-weight: 800;
  color: #15803D;
  background: #DCFCE7;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  display: inline-block;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.plan-btn.primary {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.plan-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.4);
}

.plan-btn.outline {
  background: #E0F2FE;
  color: #0284C7;
  border: 1.5px solid #BAE6FD;
}

.plan-btn.outline:hover {
  background: #BAE6FD;
  color: #0369A1;
}

/* --------------------------------------------------
   FAQ Accordion
-------------------------------------------------- */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item-accordion {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-summary {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon-arrow {
  font-size: 12px;
  color: #0284C7;
  transition: transform 0.2s ease;
}

.faq-item-accordion[open] {
  border-color: #BAE6FD;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
}

.faq-item-accordion[open] .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 22px 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* --------------------------------------------------
   Contact Section
-------------------------------------------------- */
.contact-card {
  max-width: 620px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-btn-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-contact-line,
.btn-contact-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  min-width: 240px;
}

.btn-contact-line {
  background: #06C755;
  color: #FFFFFF;
  border: 2px solid #06C755;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.28);
}

.btn-contact-line:hover {
  background: #05b04a;
  border-color: #05b04a;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.38);
}

.btn-contact-mail {
  background: #FFFFFF;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}

.btn-contact-mail:hover {
  background: var(--primary-light);
  color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.2);
}

.contact-icon {
  font-size: 18px;
  line-height: 1;
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 48px 0 32px;
  border-top: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38BDF8 0%, #0284C7 100%);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 900;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
}

.footer-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 360px;
}

.footer-copy {
  font-size: 12px;
  color: #64748B;
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: flex-end;
  max-width: 560px;
}

.footer-nav-link {
  font-size: 13px;
  color: #94A3B8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.footer-nav-link:hover {
  color: #38BDF8;
}

/* --------------------------------------------------
   Mobile Floating CTA
-------------------------------------------------- */
.mobile-floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  z-index: 99;
}

.mobile-floating-cta-inner {
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .nav-links {
    display: none;
  }
  .features-grid,
  .pricing-grid,
  .comparison-grid,
  .char-gallery-grid,
  .advice-speech-grid,
  .parent-features-grid {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 40px 0 24px;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 24px;
  }
  .footer-info {
    align-items: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-nav {
    justify-content: center;
    gap: 10px 16px;
  }
  .mobile-floating-cta {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
}

/* --------------------------------------------------
   Modal
-------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 34px 26px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25), 0 0 25px rgba(56, 189, 248, 0.15);
  position: relative;
  border: 1.5px solid #BAE6FD;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #E0F2FE;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284C7;
  font-weight: 900;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #BAE6FD;
  color: #0369A1;
}

.modal-title {
  font-size: 19px;
  font-weight: 900;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 22px;
  line-height: 1.65;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --------------------------------------------------
   Legal & Policy Pages
-------------------------------------------------- */
.legal-page {
  padding: 60px 0 80px;
  background-color: var(--bg-subtle);
  min-height: calc(100vh - 200px);
}

.legal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}

.legal-card h1 {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 28px;
}

.legal-section h2 {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--primary);
}

.legal-section p,
.legal-section li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 13.5px;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
  line-height: 1.6;
}

.legal-table th {
  background-color: var(--bg-subtle);
  width: 28%;
  font-weight: 800;
  color: var(--text-main);
  vertical-align: top;
}

.legal-table td {
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-feature-checklist {
    align-items: flex-start;
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
}

@media (max-width: 640px) {
  /* 全体コンテナ & セクション余白（無駄な空白の削減） */
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 24px 0 44px;
  }
  .hero-grid {
    gap: 28px;
  }
  .section {
    padding: 42px 0;
  }
  .section-header {
    margin: 0 auto 24px;
  }
  .section-tag {
    margin-bottom: 6px;
  }
  .section-title {
    font-size: clamp(20px, 5.5vw, 25px);
    line-height: 1.4;
    margin-bottom: 8px;
  }

  /* ヒーロー要素 */
  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
    line-height: 1.4;
    margin: 0 auto 12px;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .hero-title {
    font-size: clamp(18px, 5.2vw, 22.5px);
    line-height: 1.42;
    margin-bottom: 14px;
    letter-spacing: -0.015em;
  }

  .hero-title-line {
    display: block;
    white-space: nowrap;
  }

  .hero-desc {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 18px;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .hero-feature-checklist {
    gap: 8px;
    margin-bottom: 22px;
    width: fit-content;
    max-width: 335px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    display: inline-flex;
    align-items: flex-start;
  }

  .hero-feature-checklist li {
    font-size: 12px;
    line-height: 1.4;
    gap: 7px;
    text-align: left;
    white-space: nowrap;
  }

  .hero-feature-checklist .check-icon {
    width: 17px;
    height: 17px;
    font-size: 9.5px;
    margin-top: 1px;
    flex-shrink: 0;
  }

  /* Before / After セクション */
  .comparison-grid {
    gap: 16px;
  }
  .comparison-card {
    padding: 22px 16px;
  }
  .comparison-title {
    font-size: 17px;
    margin-bottom: 12px;
  }
  .comparison-list {
    gap: 12px;
  }
  .comparison-list li {
    gap: 10px;
    font-size: 13px;
  }

  /* 相棒キャラクター & スタンプセクション */
  .char-gallery-grid {
    gap: 12px;
  }
  .char-card {
    padding: 18px 14px;
  }
  .char-extra-banner {
    margin: 18px auto 0;
    padding: 12px 14px;
    font-size: 12px;
  }
  .stamp-experience-box {
    margin-top: 28px;
    padding: 22px 14px;
  }
  .stamp-demo-container {
    margin-top: 16px;
    gap: 14px;
  }

  /* 保護者向けサポートセクション */
  .parent-features-grid {
    gap: 14px;
  }
  .parent-feature-card {
    padding: 22px 16px;
  }
  .advice-showcase-box {
    margin-top: 28px;
    padding: 22px 14px;
  }
  .advice-speech-grid {
    gap: 10px;
  }

  /* 料金プランセクション */
  .pricing-grid {
    gap: 16px;
  }
  .pricing-card {
    padding: 26px 18px;
  }
  .plan-compare-box {
    margin-top: 28px;
    padding: 20px 12px;
  }

  /* FAQセクション */
  .faq-list {
    gap: 10px;
  }
  .faq-item {
    padding: 14px 16px;
  }

  /* モックアップ */
  .floating-egg-badge {
    top: -16px;
    left: 8px;
    padding: 6px 12px 6px 6px;
  }

  .floating-egg-img-wrap {
    width: 36px;
    height: 36px;
  }

  .floating-egg-img {
    width: 28px;
    height: 28px;
  }

  .phone-frame {
    width: 100%;
    max-width: 320px;
  }

  /* フッター */
  .footer {
    padding: 32px 0 20px;
  }
  .footer-container {
    gap: 16px;
  }

  /* リーガル & お問い合わせ */
  .legal-card {
    padding: 24px 16px;
  }
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }
  .legal-table th {
    border-bottom: none;
    background-color: var(--primary-light);
  }

  .contact-card {
    padding: 28px 16px;
  }

  .contact-btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-contact-line,
  .btn-contact-mail {
    width: 100%;
    max-width: 320px;
  }
}
