/* ============================================================
   MyChoice Inc. — Design System
   Pure CSS (no frameworks). Mobile-first responsive.
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap');

/* ---------- Custom Properties ----------
   Brand palette = 公式 mychoice.co.jp/design/ の10色（2026-04-13 監査）

   #0d3a5c  ネイビー（アクセント・タイトル強調）
   #447373  ティール（メインブランド・keyColor）
   #454545  チャコール（見出し本体・heading）
   #4f514f  ボディテキストグレー
   #506b5e  フォレストグリーン（pointColor）
   #808080  ミッドグレー
   #bbbbbb  ライトグレー
   #cccccc  ボーダーグレー
   #d4dcd6  ペールグリーングレー（薄背景）
   #ffffff  ホワイト
   ============================================================ */
:root {
  /* === MyChoice 公式10色パレット（生トークン） === */
  --mc-navy:        #0d3a5c;
  --mc-teal:        #447373;
  --mc-charcoal:    #454545;
  --mc-body:        #4f514f;
  --mc-forest:      #506b5e;
  --mc-gray-mid:    #808080;
  --mc-gray-light:  #bbbbbb;
  --mc-gray-border: #cccccc;
  --mc-pale-green:  #d4dcd6;
  --mc-white:       #ffffff;

  /* === セマンティック割当 === */
  --color-primary: var(--mc-teal);          /* メインブランド (キーカラー) */
  --color-primary-light: #5a8f8f;
  --color-primary-dark: #2d5757;
  --color-accent: var(--mc-navy);           /* アクセント (重要なリンク・タイトル強調) */
  --color-accent-hover: #082545;
  --color-secondary: var(--mc-forest);      /* セカンダリ (深緑) */
  --color-dark: var(--mc-charcoal);         /* 見出しの本体色 */
  --color-text: var(--mc-body);             /* 本文 */
  --color-text-light: var(--mc-gray-mid);
  --color-text-muted: var(--mc-gray-light);
  --color-light-bg: #f4f6f5;
  --color-light-accent: var(--mc-pale-green);
  --color-white: var(--mc-white);
  --color-success: var(--mc-forest);
  --color-border: var(--mc-gray-border);
  --color-border-light: var(--mc-pale-green);

  /* Typography — Noto Sans JP base, Noto Serif JP for headings, Montserrat for accents */
  --font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;
  --font-family-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-family-en: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-padding: 1.25rem;
  --nav-height: 72px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  padding-top: 80px;       /* fixed header の高さ分（PC） */
}
@media (max-width: 1199px) {
  body { padding-top: 70px; }
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-light);
}

ul, ol {
  list-style: none;
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ---------- Typography ---------- */
/* 本文中の見出しは charcoal (#454545)、大型タイトル・h1 は navy (#0d3a5c) */
h1, h2, h3, h4, h5, h6 {
  color: var(--mc-charcoal);
  font-family: var(--font-family-serif);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
h1,
.section-title,
.middleTitle,
.hero-title {
  color: var(--mc-navy);
}

/* 数字・英字主体の見出しは Montserrat */
.stat-number,
.fontEN,
.heading-en,
.mc-footer-url,
.mc-footer-copy {
  font-family: var(--font-family-en);
  letter-spacing: 0.02em;
}

/* ===== ページ内アンカーナビ（全ページ共通） ===== */
.page-anchor-nav {
  background: #ffffff;
  border-top: 1px solid #d4dcd6;
  border-bottom: 1px solid #d4dcd6;
  padding: 0.75rem 0;
  position: sticky;
  top: 80px;
  z-index: 50;
  -webkit-overflow-scrolling: touch;
}
.page-anchor-nav .container {
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.page-anchor-nav .container::-webkit-scrollbar { display: none; }
.page-anchor-nav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  justify-content: center;
  min-width: max-content;
}
.page-anchor-nav li { flex: 0 0 auto; }
.page-anchor-nav a {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--mc-navy);
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.page-anchor-nav a:hover {
  background: #d4dcd6;
  color: var(--mc-navy);
}
@media (max-width: 1199px) {
  .page-anchor-nav { top: 70px; }
}
@media (max-width: 765px) {
  .page-anchor-nav { padding: 0.5rem 0; }
  .page-anchor-nav ul { justify-content: flex-start; padding: 0 0.5rem; }
  .page-anchor-nav a { padding: 0.4rem 0.75rem; font-size: 0.75rem; }
}

/* MyChoice公式ユーティリティ（mychoice.co.jp 準拠） */
.keyColor   { color: var(--mc-teal) !important; }
.pointColor { color: var(--mc-forest) !important; }
.txtBlue    { color: var(--mc-navy) !important; }
.txtCharcoal{ color: var(--mc-charcoal) !important; }
.txtGray    { color: var(--mc-body) !important; }
.bg-pale    { background: var(--mc-pale-green); }
.bg-teal    { background: var(--mc-teal); color: #fff; }
.bg-navy    { background: var(--mc-navy); color: #fff; }
.bg-forest  { background: var(--mc-forest); color: #fff; }
.mincho     { font-family: var(--font-family-serif); }

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }

@media (min-width: 768px) {
  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  h3 { font-size: var(--font-size-2xl); }
}

@media (min-width: 1024px) {
  h1 { font-size: var(--font-size-5xl); }
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  text-decoration: none;
  flex-shrink: 0;
}

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

.nav-links {
  display: none;
  gap: var(--space-lg);
  align-items: center;
}

.nav-links a {
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

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

.nav-cta {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 999;
  padding: var(--space-xl);
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: var(--space-md) 0;
  color: var(--color-text);
  font-size: var(--font-size-lg);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu .btn-primary {
  display: block;
  text-align: center;
  margin-top: var(--space-xl);
  color: var(--color-white);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-3xl) 0;
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

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

.section-accent {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
}

.section-accent h2,
.section-accent h3 {
  color: var(--color-white);
}

.section-accent p {
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

/* ---------- Grid ---------- */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: calc(0.667em + 2px) calc(1.667em + 2px);
  font-family: var(--font-family);
  font-size: 1.0625em;
  font-weight: 700;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: calc(0.9em + 2px) calc(2em + 2px);
  font-size: 1.125em;
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: calc(0.667em + 2px) calc(1.667em + 2px);
  font-family: var(--font-family);
  font-size: 1.0625em;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: calc(0.667em + 2px) calc(1.667em + 2px);
  font-family: var(--font-family);
  font-size: 1.0625em;
  font-weight: 700;
  border-radius: 9999px;
  border: 2px solid var(--color-white);
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.5;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
}
.btn-white:hover {
  background: var(--mc-pale-green);
  border-color: var(--mc-pale-green);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-white.btn-large {
  padding: calc(0.9em + 2px) calc(2em + 2px);
  font-size: 1.125em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 140px;
  display: flex;
  align-items: center;
  background: #d4dcd6;
  color: var(--mc-charcoal);
  overflow: hidden;
  padding: var(--space-lg) 0;
}
.hero h1,
.hero .hero-title,
.hero h1.hero-title {
  color: var(--mc-navy);
}
.hero p,
.hero .hero-subtitle,
.hero .hero-lead {
  color: var(--mc-body);
}
.hero .btn-outline-white {
  color: var(--mc-charcoal);
  border-color: var(--mc-charcoal);
}
.hero .btn-outline-white:hover {
  background: var(--mc-charcoal);
  color: #fff;
}
.hero.hero-lg { padding: var(--space-3xl) 0; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23447373' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  max-width: 640px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .hero {
    min-height: 180px;
    padding: var(--space-xl) 0;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .hero.hero-lg {
    min-height: 600px;
    padding: var(--space-4xl) 0;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 220px;
  }

  .hero.hero-lg {
    min-height: 680px;
  }

  .hero-title {
    font-size: var(--font-size-5xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
}

.card-icon-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  color: var(--color-dark);
}

/* カード内の h3 はテキスト窮屈にならないよう上下に余白 */
.card h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.card-body {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-primary);
  font-weight: 500;
  font-size: var(--font-size-sm);
  margin-top: var(--space-md);
}

.card-link:hover {
  gap: var(--space-sm);
}

.card-featured {
  border: 2px solid var(--color-primary);
  position: relative;
}

.card-featured::before {
  content: attr(data-label);
  position: absolute;
  top: -12px;
  left: var(--space-xl);
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 2px 12px;
  border-radius: var(--radius-full);
}

/* ---------- Trust Bar / Stats ---------- */
.trust-bar {
  background: var(--color-light-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-items {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item-icon {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-xs);
}

.trust-item-text {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-dark);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.section-accent .stat-number {
  color: var(--color-white);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-top: var(--space-xs);
}

.section-accent .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 1024px) {
  .stat-number {
    font-size: var(--font-size-5xl);
  }
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  left: var(--space-lg);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary-light);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-quote {
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-dark);
  font-size: var(--font-size-sm);
}

.testimonial-role {
  color: var(--color-text-light);
  font-size: var(--font-size-xs);
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-dark);
  text-align: left;
  cursor: pointer;
  line-height: 1.6;
  gap: var(--space-md);
}
.section-dark .faq-question,
.section-accent .faq-question {
  color: #ffffff !important;
}

.faq-question::after {
  content: "+";
  font-size: var(--font-size-xl);
  font-weight: 400;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-question.active::after {
  content: "\2212";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
  color: var(--color-text-light);
  line-height: 1.8;
  font-size: var(--font-size-sm);
}

.faq-answer.active {
  max-height: 1200px;
  padding-bottom: var(--space-lg);
}
.section-dark .faq-item { border-bottom-color: rgba(255,255,255,0.18); }
.section-dark .faq-answer { color: rgba(255,255,255,0.85); }
.section-dark .faq-question::after { color: var(--color-accent); }

/* ---------- Dark section: force light text for all content ---------- */
.section-dark,
.section-dark p,
.section-dark li,
.section-dark strong,
.section-dark small,
.section-dark span:not([style*="color"]),
.section-accent,
.section-accent p,
.section-accent li,
.section-accent strong,
.section-accent small {
  color: rgba(255,255,255,0.9);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-accent h1,
.section-accent h2,
.section-accent h3,
.section-accent h4,
.section-accent h5 {
  color: #ffffff;
}
.section-dark a:not(.btn-primary):not(.btn-outline):not(.btn-outline-white):not(.card-link),
.section-accent a:not(.btn-primary):not(.btn-outline):not(.btn-outline-white):not(.card-link) {
  color: #e5c89a;
}
/* Cards on dark sections: keep white background + dark text for readability */
.section-dark .card,
.section-accent .card {
  background: #ffffff;
  color: var(--color-text);
}
.section-dark .card h1,
.section-dark .card h2,
.section-dark .card h3,
.section-dark .card h4,
.section-dark .card h5,
.section-dark .card p,
.section-dark .card li,
.section-dark .card strong,
.section-accent .card h1,
.section-accent .card h2,
.section-accent .card h3,
.section-accent .card h4,
.section-accent .card h5,
.section-accent .card p,
.section-accent .card li,
.section-accent .card strong {
  color: var(--color-text);
}
.section-dark .card h3,
.section-dark .card h4,
.section-accent .card h3,
.section-accent .card h4 {
  color: var(--color-dark);
}
.section-dark .card a:not(.btn-primary),
.section-accent .card a:not(.btn-primary) {
  color: var(--color-primary);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: #d4dcd6;
  color: var(--mc-charcoal);
  text-align: center;
  padding: var(--space-3xl) var(--container-padding);
}

.cta-banner h2 {
  color: var(--mc-navy);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: var(--mc-charcoal);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .cta-banner {
    padding: var(--space-4xl) var(--container-padding);
  }
}

/* ---------- Comparison Table ---------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.comparison-table td {
  color: var(--mc-charcoal);
}

.comparison-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

.comparison-table tbody tr {
  background: var(--color-white);
}

.comparison-table tr:nth-child(even) {
  background: var(--color-light-bg);
}

.comparison-table tr:hover {
  background: #eef2ff;
}

/* Dark / Accent セクション内でも比較表の文字色・背景色を保持 */
.section-dark .comparison-table td,
.section-accent .comparison-table td {
  color: var(--color-text) !important;
  background: transparent;
}
.section-dark .comparison-table th,
.section-accent .comparison-table th {
  color: var(--color-white) !important;
}
.section-dark .comparison-table tbody tr,
.section-accent .comparison-table tbody tr {
  background: var(--color-white) !important;
}
.section-dark .comparison-table tbody tr:nth-child(even),
.section-accent .comparison-table tbody tr:nth-child(even) {
  background: var(--color-light-bg) !important;
}

/* Responsive table wrapper */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-xl);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb-separator {
  margin: 0 var(--space-sm);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  align-items: center;
  padding: 4px 12px;
  font-size: var(--font-size-xs);
  font-weight: 700;
  border-radius: var(--radius-full);
  background: #0d3a5c !important;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.badge-green {
  background: #ecfdf5;
  color: var(--color-success);
}

.badge-blue {
  background: #f0f1f3;
  color: var(--color-primary);
}

/* ---------- Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: var(--font-size-xs);
  font-weight: 500;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  transition: all var(--transition-fast);
}

.tag:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  background: #f0f1f3;
}

/* ---------- Price Cards ---------- */
.price-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card-featured {
  border: 2px solid var(--color-primary);
  position: relative;
  transform: scale(1.02);
}

.price-card-featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.price-card-label {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 2px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.price-card-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.price-card-price {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.price-card-price small {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-text-light);
}

.price-card-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
}

.price-card-features {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.price-card-features li {
  padding: var(--space-sm) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.price-card-features li::before {
  content: "\2713";
  color: var(--color-success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: var(--space-2xl);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-2xl) + 4px);
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary-light);
}

.timeline-step {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.timeline-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
}

.timeline-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* ---------- MEOGEAR Section ---------- */
.meogear-section {
  background: #d4dcd6;
  color: var(--mc-charcoal);
  position: relative;
  overflow: hidden;
}
.meogear-section h1,
.meogear-section h2,
.meogear-section h3,
.meogear-section h4 { color: var(--mc-navy); }
.meogear-section p { color: var(--mc-body); }
.meogear-section .badge {
  background: rgba(255,255,255,0.7) !important;
  color: var(--mc-navy) !important;
}
.meogear-section .meogear-price-highlight { color: var(--mc-navy); }
.meogear-section .card { background: #ffffff; }

.meogear-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.meogear-section h2,
.meogear-section h3 {
  color: var(--color-white);
}

.meogear-section .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.meogear-section .card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.meogear-section .card-title {
  color: var(--color-white);
}

.meogear-section .card-body {
  color: rgba(255, 255, 255, 0.75);
}

.meogear-section .card-icon {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
}

.meogear-price-highlight {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-accent);
}

.meogear-price-highlight small {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Column / Blog Cards ---------- */
.column-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.column-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.column-card-thumb {
  height: 220px;
  background: var(--color-pale-green, #d4dcd6);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--font-size-3xl);
}

.column-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.column-card-content {
  padding: var(--space-lg);
}

.column-card-date {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.column-card-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.column-card-excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-heading {
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-xs);
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

.footer-copyright {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
}

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

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

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-accent {
  color: var(--color-accent);
}

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* ============================================================
   MyChoice 本家ヘッダー / フッター（mychoice.co.jp 完全準拠）
   - Header: fixed, transparent → スクロール時 .scrolled で白背景
   - Footer: 背景 #447373 (teal)、白文字
   - Transition: all 0.5s ease-out（本家準拠）
   ============================================================ */
#mc-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99990;
  background: #ffffff;
  box-shadow: 0 1px 8px rgba(13, 58, 92, 0.06);
  transition: all 0.4s ease-out;
}
#mc-header.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(13, 58, 92, 0.10);
}
#mc-header .mc-header-inner {
  height: 80px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.4s ease-out;
}
#mc-header .mc-logo {
  position: relative;
  flex-shrink: 0;
  width: 90px;
  max-width: 100px;
  margin: 0;
  top: auto;
  left: auto;
  transform: none;
  transition: all 0.4s ease-out;
}
#mc-header .mc-logo img {
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}
#mc-header.scrolled .mc-logo {
  width: 80px;
}
#mc-header .mc-logo a { display: block; }
#mc-header .mc-logo img { display: block; width: 100%; height: auto; }

#mc-header .mc-nav {
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  flex-shrink: 1;
  min-width: 0;
}
#mc-header .mc-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0;
  text-align: right;
}
#mc-header .mc-nav li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 70px;
  font-size: 13px;
  position: relative;
  white-space: nowrap;
}
#mc-header .mc-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 1.2rem;
  color: #0d3a5c;          /* navy text — 本家準拠 */
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}
#mc-header .mc-nav li a .mc-mini {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: #506b5e;
  margin-top: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
#mc-header .mc-nav li a:hover {
  color: #447373;
}
#mc-header .mc-nav li.is-active a { color: #447373; }
#mc-header .mc-nav li.mc-cta {
  height: auto;
  margin-left: 0.75rem;
}
#mc-header .mc-nav li.mc-cta a {
  background: #447373;
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.65rem 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.9rem;
}
#mc-header .mc-nav li.mc-cta a:hover {
  background: #0d3a5c;
  color: #ffffff;
}

#mc-header .mc-menu-trigger {
  display: none;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 24px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 99990;
  padding: 0;
}
#mc-header .mc-menu-trigger span {
  position: absolute;
  display: inline-block;
  left: 0;
  width: 100%;
  height: 2px;
  background: #447373;
  transition: all 0.5s ease-out;
}
#mc-header .mc-menu-trigger span:nth-child(1) { top: 0; }
#mc-header .mc-menu-trigger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
#mc-header .mc-menu-trigger span:nth-child(3) { bottom: 0; }

@media (max-width: 1199px) {
  #mc-header .mc-header-inner { height: 70px; padding: 0 15px; }
  #mc-header .mc-logo { width: 70px; max-width: 30vw; }
  #mc-header .mc-logo img { max-height: 50px; }
  #mc-header.scrolled .mc-logo { width: 65px; }
  #mc-header .mc-nav {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    transform: none;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    padding: 1rem 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  #mc-header.is-open .mc-nav { display: block; }
  #mc-header .mc-nav ul {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  #mc-header .mc-nav li {
    display: flex;
    height: auto;
    border-bottom: 1px solid #d4dcd6;
    white-space: normal;
  }
  #mc-header .mc-nav li:last-child { border-bottom: none; }
  #mc-header .mc-nav li a {
    padding: 1.2rem 1.5rem;
    align-items: flex-start;
    text-align: left;
    font-size: 1rem;
    white-space: normal;
  }
  #mc-header .mc-nav li a .mc-mini { white-space: normal; }
  #mc-header .mc-nav li.mc-cta { margin: 1rem 1.5rem 0; }
  #mc-header .mc-nav li.mc-cta a {
    text-align: center;
    align-items: center;
  }
  #mc-header .mc-menu-trigger { display: block; }
}

/* === Footer (mychoice.co.jp 準拠) === */
#mc-footer {
  background: #447373;
  color: #ffffff;
  padding: 48px 1.25rem 24px;
  text-align: center;
}
#mc-footer .mc-footer-inner {
  max-width: 1300px;
  width: 90%;
  margin: 0 auto;
}
#mc-footer .mc-footer-tagline {
  font-family: "Noto Serif JP", serif;
  font-size: 1.375rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}
#mc-footer .mc-footer-url {
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  color: #ffffff;
  margin: 0 0 22px;
  letter-spacing: 0.1em;
}
#mc-footer .mc-footer-logo {
  margin: 0 auto 14px;
  width: 110px;
}
#mc-footer .mc-footer-logo img { width: 100%; height: auto; display: block; }
#mc-footer .mc-footer-type {
  margin: 0 auto 22px;
  width: 150px;
}
#mc-footer .mc-footer-type img { width: 100%; height: auto; display: block; }

#mc-footer .mc-footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 1rem;
  font-size: 0.8125rem;
}
#mc-footer .mc-footer-nav a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
#mc-footer .mc-footer-nav a:hover { opacity: 0.7; }
#mc-footer .mc-footer-info {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
}
#mc-footer .mc-footer-info a {
  color: #ffffff;
  text-decoration: none;
}
#mc-footer .mc-footer-info a:hover { opacity: 0.7; }
#mc-footer .mc-footer-copy {
  font-family: "Montserrat", sans-serif;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.7);
  margin-top: 1rem;
  letter-spacing: 0.08em;
}
@media (max-width: 765px) {
  #mc-footer { padding: 32px 1rem 20px; }
  #mc-footer .mc-footer-tagline { font-size: 1.125rem; margin-bottom: 12px; }
  #mc-footer .mc-footer-url { font-size: 0.75rem; margin-bottom: 14px; }
  #mc-footer .mc-footer-logo { width: 80px; }
  #mc-footer .mc-footer-type { width: 110px; }
  #mc-footer .mc-footer-nav { font-size: 0.75rem; gap: 0.5rem 1rem; }
  #mc-footer .mc-footer-info { font-size: 0.6875rem; }
}

/* 旧 .nav / .footer を非表示にして mc-header/mc-footer に置き換え */
body > nav.nav,
body > .nav,
body > header.nav,
body > footer.footer {
  display: none !important;
}

/* ---------- Print ---------- */
@media print {
  .nav,
  .mobile-menu,
  .cta-banner,
  .footer,
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
    line-height: 1.6;
  }

  .hero {
    background: none !important;
    color: #000;
    min-height: auto;
    padding: 1cm 0;
  }

  .hero-title,
  .hero-subtitle {
    color: #000;
  }

  .section {
    padding: 0.5cm 0;
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .card {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }
}

/* ---------- Sub-page nav (nav-menu) - horizontal fix ---------- */
.nav-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
  padding: 0;
  margin: 0;
}
.nav-menu li { margin: 0; }
.nav-menu a {
  color: var(--color-text);
  font-size: var(--font-size-sm);
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.nav-menu a:hover { color: var(--color-primary); }
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* ---------- Compact Hero ---------- */
.hero.hero-sm {
  min-height: 200px;
  padding: var(--space-2xl) 0;
}
@media (min-width: 768px) {
  .hero.hero-sm { min-height: 220px; padding: var(--space-2xl) 0; }
}
@media (min-width: 1024px) {
  .hero.hero-sm { min-height: 240px; }
}
