/* Updated to sharp navy design with stronger contrast and defined edges */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2c3e50;
  --secondary: #34495e;
  --accent: #3498db;
  --gold: #f39c12;
  --background: #ffffff;
  --foreground: #1a202c;
  --muted: #4a5568;
  --muted-bg: #f7fafc;
  --border: #cbd5e1;
}
/* </CHANGE> */

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  padding-top: 80px;
}

/* Stronger shadow for sharper header */
.header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.15);
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001 !important;
  border-bottom: 2px solid var(--border);
}
/* </CHANGE> */

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.top-nav {
  display: flex;
  gap: 20px;
}

.top-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* 目立たせるボタン部分 */
.btn-counseling {
  background: #1a2942;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 5px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn-counseling:hover {
  background: #3b82f6;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.logo img {
  max-height: 40px;
  width: auto;
  border: none;
  display: block;
}

.logo a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Cleaner gradient with stronger navy tones */
.hero {
  margin-top: 0 !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 4rem 1rem;
  text-align: center;
  border-bottom: 3px solid var(--primary);
}
/* </CHANGE> */

.badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.2);
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto;
  font-weight: 500;
}

/* Sharper sticky nav with defined border */
.sticky-nav {
  margin-top: 0 !important;
  background: #ffffff;
  position: sticky;
  top: 56px;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.1);
}
/* </CHANGE> */

.nav-container {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem;
  flex-wrap: wrap;
}

/* Sharper nav links with stronger hover effects */
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
  border: 2px solid transparent;
}

.nav-link:hover {
  transform: translateY(-2px);
  background: var(--muted-bg);
  border-color: var(--primary);
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.15);
}

.nav-link.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 8px rgba(44, 62, 80, 0.3);
}
/* </CHANGE> */

section {
  padding: 5rem 1rem;
  scroll-margin-top: 5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Bold section title with sharp contrast */
.section-title-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
  border: 2px solid var(--secondary);
}
/* </CHANGE> */

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Sharp card design with defined borders */
.card {
  background: white;
  border: 3px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 12px 24px rgba(44, 62, 80, 0.15);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.card-header {
  background: var(--muted-bg);
  padding: 1.5rem;
  border-bottom: 3px solid var(--border);
}
/* </CHANGE> */

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.card-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 0.5rem;
}

.card-content {
  padding: 1.5rem;
}

.card-description {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* Bold bonus badge with sharp gold accent */
.bonus-badge {
  display: inline-block;
  background: var(--gold);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.5rem;
  box-shadow: 0 2px 6px rgba(243, 156, 18, 0.4);
  border: 2px solid #e67e22;
}
/* </CHANGE> */

/* Sharp info box with defined border */
.info-box {
  background: var(--muted-bg);
  border: 3px solid var(--primary);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 2rem;
}
/* </CHANGE> */

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
  font-weight: 700;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* Sharp lesson cards with defined borders */
.lesson-card {
  background: white;
  border: 3px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s;
}

.lesson-card:hover {
  box-shadow: 0 8px 16px rgba(44, 62, 80, 0.15);
  transform: translateY(-2px);
  border-color: var(--primary);
}
/* </CHANGE> */

.lesson-icon {
  color: var(--primary);
  flex-shrink: 0;
  font-weight: 700;
}

.lesson-text {
  font-size: 0.875rem;
  font-weight: 600;
}

/* Sharp FAQ cards with defined borders */
.faq-card {
  background: white;
  border: 3px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.faq-card:hover {
  box-shadow: 0 8px 16px rgba(44, 62, 80, 0.15);
  border-color: var(--primary);
}

.faq-question {
  background: var(--muted-bg);
  padding: 1.5rem;
  display: flex;
  gap: 0.75rem;
  border-bottom: 3px solid var(--border);
}
/* </CHANGE> */

.faq-q-label {
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.faq-q-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.faq-answer {
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.faq-a-label {
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.faq-a-text {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

/* Sharp CTA section with clean background */
.cta-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 5rem 1rem;
  text-align: center;
  color: var(--foreground);
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
}
/* </CHANGE> */

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 600;
  color: var(--muted);
}

/* Bold CTA button with sharp navy design */
.cta-button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(44, 62, 80, 0.3);
  transition: all 0.3s;
  border: 3px solid var(--secondary);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(44, 62, 80, 0.4);
  background: var(--secondary);
}
/* </CHANGE> */

.bg-gradient-1 {
  background: #f8f9fa;
}

.bg-gradient-2 {
  background: #ffffff;
}

.bg-gradient-3 {
  background: #f8f9fa;
}

.footer {
  background: var(--primary);
  color: white;
  padding: 40px 0 20px;
  border-top: 3px solid var(--secondary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  gap: 30px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 600;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

a img {
  border: none;
}

a {
  text-decoration: none;
}

.icon {
  font-size: 1.5rem;
}

.lp-sitemap-link {
  text-align: center !important;
  margin-bottom: 40px;
}

.floating-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

/* Sharp floating chat buttons with bold navy design */
/* --- 共通スタイル --- */
.floating-chat .chat-button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  transition: all 0.25s ease;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* --- TOPへ戻る（オレンジで目立たせる） --- */
.chat-button.top {
  background: linear-gradient(135deg, #ff6b35, #ff8659);
  color: #fff;
}
.chat-button.top:hover {
  background: linear-gradient(135deg, #ff8659, #ffa07a);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 107, 53, 0.4);
}

/* --- お申し込み・ご相談（ターコイズで信頼感） --- */
.chat-button.consultation {
  background: linear-gradient(135deg, #2dd4bf, #0ea5e9); /* ターコイズ〜明るいスカイブルー */
  color: #0f2167;
  font-weight: 700;               /* 太字で視認性UP */
  letter-spacing: 0.5px;          /* 文字の間隔を少し広げる */
  padding: 14px 28px;             /* ボタンをやや大きめに */
  border-radius: 50px;            /* 丸みを強調 */
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.45); /* 外側に光をにじませる */
  transition: all 0.3s ease;
}

.chat-button.consultation:hover {
  background: linear-gradient(135deg, #38e3cf, #0284c7); /* ホバーで鮮やかブルー寄り */
  transform: translateY(-3px) scale(1.03);               /* ふわっと浮く */
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.55);      /* 光を強調 */
}


/* </CHANGE> */

.chat-icon {
  font-size: 1.2rem;
}

.chat-text {
  white-space: nowrap;
}

.plans-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Sharp plan cards with defined borders */
.plan-card {
  background: white;
  border: 3px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s;
}

.plan-card:hover {
  box-shadow: 0 12px 24px rgba(44, 62, 80, 0.15);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.plan-featured {
  border: 4px solid var(--gold);
  box-shadow: 0 8px 16px rgba(44, 62, 80, 0.2);
}

.plan-featured:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 12px 24px rgba(243, 156, 18, 0.25);
}

.plan-header {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
  border-bottom-color: var(--gold);
  padding: 2rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.plan-header-daily {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
  border-bottom-color: var(--gold);
}

.plan-header-weekly {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
  border-bottom-color: var(--gold);
}
/* </CHANGE> */

.plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.plan-body {
  padding: 1.5rem;
}

.plan-item {
  padding: 0.75rem;
  border-bottom: 2px solid var(--border);
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.6;
  font-weight: 600;
}

.plan-item:last-child {
  border-bottom: none;
}

.plan-item-empty {
  color: var(--muted);
  opacity: 0.3;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .sticky-nav {
    padding: 0.5rem 0;
    top: 56px !important;
  }

  .nav-container {
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .floating-chat {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .chat-button {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .chat-icon {
    font-size: 1rem;
  }

  .chat-text {
    display: none;
  }

  .plans-comparison {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plan-name {
    font-size: 1.125rem;
  }

  .plan-price {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    padding: 2rem 1rem;
  }

  section {
    padding: 2.5rem 1rem;
  }

  .cta-section {
    padding: 2.5rem 1rem;
  }
}

@media screen and (max-width: 480px) {
  .nav-container {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .nav-link {
    padding: 0.5rem;
    font-size: 0.75rem;
  }

  .floating-chat {
    bottom: 15px;
    right: 15px;
  }

  .chat-button {
    padding: 10px 14px;
    font-size: 0.85rem;
    max-width: 160px;
  }

  .chat-text {
    display: none;
  }
}

.highlight-main {
  color: red; /* ディープオレンジ（メイン） */
  font-weight: 600;
}
.highlight-sub {
  color: #00b8a9; /* ミントターコイズ（サブ） */
  font-weight: 600;
}
.highlight-accent {
  color: #3498db; /* ソフトゴールド（アクセント） */
  font-weight: 600;
}

.card-content ul li p {
  line-height: 1.8;
  margin-bottom: 0.5rem;
}


.form-section {
  background: #f8fafc; /* やや青みのある明るいグレーで清潔感 */
  padding: 80px 20px;
}

.form-section .section-title {
  text-align: center;
  font-size: 2em;
  color: #0f2167; /* 濃いネイビーで見出しを強調 */
  margin-bottom: 10px;
}

.form-section .section-subtitle {
  text-align: center;
  color: #475569;
  margin-bottom: 10px;
}

.form-container {
  max-width: 680px;
  margin: 40px auto 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

/* ===========================
   入力フィールド
=========================== */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
  font-size: 0.95em;
}

input, select, textarea {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1em;
  color: #1e293b;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
  outline: none;
}

textarea {
  resize: vertical;
}

/* 必須マーク */
.required {
  color: #ef4444;
  margin-left: 4px;
}

/* ===========================
   送信ボタン
=========================== */
.form-buttons {
  text-align: center;
  margin-top: 30px;
}

.cta-button-secondary {
  background: linear-gradient(135deg, #2dd4bf, #0ea5e9);
  color: #0f2167; /* 白よりも見やすい濃紺文字 */
  font-weight: 700;
  padding: 14px 40px;
  font-size: 1.1em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
  transition: all 0.3s ease;
}

.cta-button-secondary:hover {
  background: linear-gradient(135deg, #38e3cf, #0284c7);
  color: #0a1650;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.5);
}


.footer {
    color: white;
    background: var(--primary);
    padding: 40px 0px 20px;
    border-top: 3px solid var(--secondary);
}

footer .small-text {
  font-size: 13px;
  color: #999;
  margin-top: 5px;
}

.footer-thankyou {
  text-align: center;
  font-size: 14px;
  color: #555;
  padding: 20px 0;
  border-top: 1px solid #ccc;
  background-color: #f9f9f9;
  min-height: 100px;
}

/* 他のプランリンクセクション */
.more-plans-link {
  text-align: center;
  margin: 60px 0 40px;
  background: transparent; /* ← 明示的に背景を透明に */
}

.more-plans-link p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

/* フッターと競合しないように、スコープを限定 */
.more-plans-link .cta-button-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--primary, #2c3e50);
  border-radius: 50px;
  color: var(--primary, #2c3e50);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  background-color: transparent; /* ← 背景をリセット */
}

.more-plans-link .cta-button-outline:hover {
  background-color: var(--primary, #2c3e50);
  color: #fff;
}

