/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
  --navy: #1a0800;
  --navy-mid: #2d1000;
  --navy-light: #4a1a00;
  --gold: #e05a00;
  --gold-light: #ff8c42;
  --gold-pale: #fff5f0;
  --white: #ffffff;
  --off-white: #f4f4f0;
  --gray-100: #f1f0eb;
  --gray-200: #e0ddd4;
  --gray-400: #9e9a8e;
  --gray-600: #5c584e;
  --text: #1e1c17;
  --text-light: #5c584e;

  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(15, 28, 58, 0.08);
  --shadow-md: 0 8px 32px rgba(15, 28, 58, 0.12);
  --shadow-lg: 0 24px 64px rgba(15, 28, 58, 0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #e05a00;
  border-bottom: 3px solid #b84400;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 900;
  font-size: 18px;
  border-radius: 8px;
  font-family: var(--font-serif);
}

.logo-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  background-color: var(--navy);
  background-image:
    linear-gradient(
      to bottom right,
      rgba(80, 30, 0, 0.88) 0%,
      rgba(50, 20, 0, 0.80) 50%,
      rgba(80, 30, 0, 0.92) 100%
    ),
    url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224, 90, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 90, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(224, 90, 0, 0.15) 0%, transparent 60%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  border: 1px solid rgba(224, 90, 0, 0.4);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.hero-accent {
  color: var(--gold-light);
  display: block;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
  margin-bottom: 48px;
  max-width: 560px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(224, 90, 0, 0.35);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(224, 90, 0, 0.45);
}

.hero-btn svg {
  width: 18px;
  height: 18px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(224, 90, 0, 0.6), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ============================================
   Section Common
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================
   Worries Section
   ============================================ */
.worries {
  padding: 100px 0;
  background: var(--off-white);
}

.worries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.worry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.worry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.worry-card:hover {
  border-color: var(--gold-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.worry-card:hover::before {
  transform: scaleX(1);
}

.worry-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.worry-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}

.worry-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.worries-message {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  text-align: center;
}

.message-line {
  flex: 1;
  height: 1px;
  background: rgba(224, 90, 0, 0.3);
  flex-shrink: 0;
}

.worries-message p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
  min-width: 0;
}

.worries-message strong {
  color: var(--gold-light);
}

/* ============================================
   Tips Section
   ============================================ */
.tips {
  padding: 100px 0;
  background: var(--gray-100);
}

.tips-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tips-nav-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tips-nav-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  white-space: nowrap;
}

.tips-nav-divider {
  color: var(--gray-200);
  font-size: 20px;
}

.tips-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  border-color: var(--navy-light);
  color: var(--navy);
}

.tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.tips-content {
  position: relative;
}

/* 非activeパネルは視覚的に隠すが DOM に残し Googlebot がインデックスできるようにする */
.tip-panel {
  position: absolute;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  animation: none;
}

.tip-panel.active {
  position: relative;
  visibility: visible;
  height: auto;
  overflow: visible;
  pointer-events: auto;
  animation: panel-in 0.4s ease;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.tip-hero-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent, var(--gold));
}

.tip-hero-card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent, var(--gold)) 15%, transparent) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.tip-age-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent, var(--gold));
  border: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 40%, transparent);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.tip-theme {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.4;
}

.tip-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
  max-width: 600px;
}

.tip-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.tip-point {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.tip-point:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
}

.tip-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--gray-200);
  font-family: var(--font-serif);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.tip-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.5;
}

.tip-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

.tip-recommend {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tip-recommend-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  text-transform: uppercase;
  white-space: nowrap;
}

.tip-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tip-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-mid);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 6px 14px;
  border-radius: 100px;
}

/* ============================================
   Checklist Section
   ============================================ */
.checklist {
  padding: 100px 0;
  background: var(--off-white);
}

.checklist-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-item {
  display: flex;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  align-items: flex-start;
  transition: var(--transition);
}

.check-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
  transform: translateX(4px);
}

.check-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--gold-light);
  font-size: 22px;
  font-weight: 900;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  font-family: var(--font-serif);
}

.check-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.5;
}

.check-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 12px;
}

.check-tip {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(224, 90, 0, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ============================================
   Closing Section
   ============================================ */
.closing {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  text-align: center;
}

.closing-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224, 90, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 90, 0, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.closing-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.closing-icon {
  font-size: 48px;
  margin-bottom: 28px;
}

.closing h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 28px;
}

.closing h2 span {
  color: var(--gold-light);
}

.closing p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2;
}

.closing p strong {
  color: var(--gold-light);
  font-weight: 700;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #080f1f;
  padding: 48px 0;
  border-top: 1px solid rgba(224, 90, 0, 0.15);
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
}

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.9;
  max-width: 560px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

/* ============================================
   Fade-in Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ============================================
   Responsive — Tablet
   ============================================ */
@media (max-width: 900px) {
  .worries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tip-points {
    grid-template-columns: 1fr;
  }

  .tips-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .tips-nav-divider {
    display: none;
  }

  .worries-message {
    flex-direction: column;
    gap: 16px;
  }

  .message-line {
    width: 60px;
    height: 1px;
  }
}

/* ============================================
   Responsive — Mobile
   ============================================ */
@media (max-width: 600px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 28, 58, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(224, 90, 0, 0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .worries-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
    padding: 100px 24px 80px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .tip-hero-card {
    padding: 28px 24px;
  }

  .tip-point {
    flex-direction: column;
    gap: 12px;
  }

  .tip-number {
    font-size: 20px;
  }

  .check-item {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .tips-tabs {
    gap: 6px;
  }

  .tab-btn {
    padding: 7px 14px;
    font-size: 12px;
  }

  .tip-recommend {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .closing {
    padding: 80px 24px;
  }
}
