/* Schedule change actions block */
.schedule-change .change-actions {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  /* background-color: #fff; */
}

.schedule-change .change-actions .step-action {
  margin-top: 0px;
  display: inline-block;
}
/* Footer brand row: logo + certification mark side by side */
.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-brand-row .logo {
  display: inline-flex;
  align-items: center;
}

.footer-cert-logo {
  height: 40px;
  width: auto;
  display: inline-block;
  object-fit: contain;
  margin-left: 40px;
}

@media (min-width: 992px) {
  .footer-cert-logo {
    height: 40px;
  }
}

/* モバイル時はフッターブランドのロゴ文字が折れないように縮小 */
@media (max-width: 576px) {
  .footer-brand-row .logo {
    font-size: 18px;
    white-space: nowrap;
  }
  .footer-cert-logo {
    height: 30px;
    margin-left: 10px;
  }
}
@media (max-width: 992px) {
  .testimonials-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Step2 見出しを黄色ブロックで強調 */
.option-block {
  display: block;
  background: #fff7cc;
  border-left: 4px solid #f1c40f;
  padding: 10px 12px;
  border-radius: 8px;
  color: #7d6608;
  font-weight: 700;
  margin: 10px 0 8px;
}

.option-spacing-top {
  margin-top: 18px;
}
/* Step2 選択見出しの強調 */
.option-heading {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(1, 160, 233, 0.12);
  color: #01A0E9;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-top: 6px;
}
.test-guide .checkout-note {
  margin-top: 20px;
  margin-bottom: 0;
}
/* Yellow emphasis styles for important notes */
.hint-yellow {
  background: #fff7cc;
  border-left: 4px solid #f1c40f;
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 10px;
}

.hint-yellow-inline {
  background: #fff7cc;
  padding: 0 6px;
  border-radius: 4px;
}
/* CTA-style inline links */
.cta-inline-links {
  margin-top: 8px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(1, 160, 233, 0.12);
  color: #01A0E9;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta-link:hover {
  background: rgba(1, 160, 233, 0.18);
  transform: translateY(-1px);
}
/* カスタムスタイル - D.Style テニスサークル */

/* ホームページナビゲーション */
.home-navigation {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ホーム - サービス概要（簡潔版）セクションに淡い背景を付与 */
section#home-about {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.nav-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.nav-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.nav-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
}

.nav-card h3 {
  margin-bottom: 15px;
  color: var(--dark);
  font-size: 1.3rem;
}

.nav-card p {
  color: var(--text);
  margin-bottom: 25px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .nav-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .nav-card {
    padding: 30px 20px;
  }
  
  .nav-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}



/* 詳細情報グリッド */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.detail-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
}

.detail-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

.detail-card h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.detail-card ul {
  list-style: none;
  text-align: left;
}

.detail-card ul li {
  padding: 5px 0;
  color: var(--text);
}

.detail-card ul li strong {
  color: var(--dark);
}

/* 大会の特徴 */
.tournament-features {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

/* 参加ガイド */
.participation-guide {
  background: #fff;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 10px;
  color: var(--dark);
}

.step-content p {
  color: var(--text);
  margin: 0;
}

.guide-cta {
  text-align: center;
  margin-top: 40px;
}

/* Instagram・YouTube */
.instagram-gallery {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.instagram-item {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.instagram-item:hover {
  transform: translateY(-5px);
}

.instagram-image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.instagram-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-caption {
  padding: 20px;
}

.instagram-cta {
  text-align: center;
  margin-top: 40px;
}

.youtube-section {
  background: #fff;
}

.youtube-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.youtube-features {
  list-style: none;
  margin: 20px 0;
}

.youtube-features li {
  padding: 8px 0;
  color: var(--text);
}

.youtube-features i {
  color: var(--primary);
  margin-right: 10px;
}

.video-placeholder {
  background: linear-gradient(135deg, #333, #555);
  color: #fff;
  border-radius: 15px;
  padding: 60px 30px;
  text-align: center;
  font-size: 1.2rem;
}

.video-placeholder i {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #ff0000;
}

/* FAQ */
.faq-cta {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-cta .cta-content {
  text-align: center;
}

.faq-cta .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* お問い合わせ */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 30px 0;
}

.contact-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.contact-box-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.contact-box h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.method-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.method-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.method-card:hover {
  transform: translateY(-5px);
}

.method-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}

/* 代表者プロフィール */
.representative-profile {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.profile-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 40px;
}

.profile-image {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-image img {
  width: 100%;
  height: auto;
}

.profile-header {
  margin-bottom: 20px;
}

.profile-header h3 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.profile-title {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.profile-bio {
  margin: 20px 0;
}

.profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.profile-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.9rem;
}

.profile-stats .stat-item i {
  color: var(--primary);
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.profile-tags span {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* アクセス情報 */
.access-info {
  background: #fff;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.access-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.access-card:hover {
  transform: translateY(-5px);
}

.access-card h3 {
  margin-bottom: 20px;
  color: var(--dark);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.access-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text);
}

.access-details i {
  color: var(--primary);
  width: 20px;
}

/* ナビゲーションアクティブ状態 */
.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

/* セクション境界線の改善 */
/* Smooth scrolling and header offset for anchor links */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Header height + buffer for desktop */
}

/* Mobile scroll padding adjustment */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 60px; /* Header height + buffer for mobile */
  }
}

.section-padding {
  position: relative;
}

/* ヘッダー後の最初のセクションに上部マージンを追加 */
body {
  padding-top: 80px; /* ヘッダーの高さ分のパディング */
}

/* ホーム画面専用の余白調整 */
body.home-page {
  padding-top: 50px; /* ホーム画面はさらに余白を減らす */
}

/* ヘッダーの固定時のスペーシング調整 */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 115px; /* ヘッダーの高さを2段メニュー用に拡張 */
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(1, 160, 233, 0.1);
}

#header .container {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#header .header-inner {
  height: 100%;
  display: flex;
  flex-direction: column; /* ロゴとメニューを縦方向配置 */
  justify-content: flex-start;
  position: relative;
  width: 100%;
  gap: 10px; /* ロゴとハンバーガーメニューの間隔 */
  padding: 10px 0; /* 上下にパディング */
}

/* ロゴ行のスタイル - 左上部に配置 */
#header .logo-row {
  display: flex;
  justify-content: space-between; /* ロゴとハンバーガーメニューを両端に配置 */
  align-items: center;
  width: 100%;
  position: relative;
}

/* メニュー行のスタイル - 1段で中央配置 */
#header .menu-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex: 1; /* 残りのスペースを使用 */
}

/* ロゴのスタイル調整 */
#header .logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  flex-shrink: 0; /* ロゴのサイズを固定 */
}

#header .logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  overflow: hidden;
  border-radius: 8px;
}

#header .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ナビゲーションメニューのレイアウト調整 */
#header .nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 5px;
  flex-wrap: nowrap; /* 1段に収める */
  max-width: 100%;
  width: 100%;
}

/* ハンバーガーメニューをロゴ行の右端に配置 */
#header .hamburger {
  display: none; /* デフォルトは非表示、992px以下で表示 */
  position: relative; /* 絶対位置指定を解除 */
  margin-left: auto; /* 右端に配置 */
}

/* デスクトップでの表示調整 */
@media (min-width: 769px) {
  /* 2段レイアウト用要素を表示 */
  #header .logo-row,
  #header .menu-row {
    display: flex;
  }
  
  /* デスクトップでは2段レイアウトを使用 */
  
  #header .nav-menu {
    display: flex; /* デスクトップではメニューを表示 */
  }
  
  #header .hamburger {
    display: none; /* デスクトップではハンバーガーメニューを非表示 */
  }
}

#header.sticky {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(1, 160, 233, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* メインセクションの上部マージンは削除（ヘッダーのパディングで十分） */

/* ヒーローセクションの上部マージン */
.hero {
  margin-top: 0;
  position: relative;
  background: linear-gradient(135deg, 
    rgba(135, 206, 250, 0.9) 0%, 
    rgba(100, 149, 237, 0.85) 25%, 
    rgba(70, 130, 180, 0.8) 50%, 
    rgba(30, 144, 255, 0.75) 75%, 
    rgba(0, 191, 255, 0.7) 100%
  ), url('../images/home/hero-image.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: white;
  /* 画像読み込み最適化 */
  will-change: background-image;
  transform: translateZ(0);
  /* 画像読み込み前の背景色 */
  background-color: rgba(135, 206, 250, 0.9);
  transition: background-image 0.3s ease-in-out;
}

/* 画像読み込み完了時のスタイル */
.hero.image-loaded {
  background-color: transparent;
}

/* セクション間の余白を追加 */
.section-padding + .section-padding {
  margin-top: 20px;
}

/* 特別なセクション間のスペーシング */
.home-navigation {
  margin-top: 60px;
}

.tournament-features,
.instagram-gallery,
.faq-cta,
.representative-profile {
  margin-top: 60px;
}

/* セクションタイトルのスペーシング改善 */
.section-title {
  margin-bottom: 50px; /* セクションタイトル下の余白を調整 */
}

/* 見出し間の余白を最適化（大見出し→中見出し→本文） */
.section-title h2 {
  margin-bottom: 14px;
}
.section-title h3 {
  margin-top: 30px;
  margin-bottom: 12px;
}
.section-title p {
  margin-top: 0;
}

.section-title h2 {
  margin-bottom: 20px;
}

.section-title p {
  margin-bottom: 0;
}

/* カード間のスペーシング */
.nav-grid,
.events-container,
.tournaments-container,
.features-grid,
.gallery-grid,
.instagram-grid,
.details-grid,
.access-grid {
  gap: 40px; /* カード間の余白を増加 */
}

.section-padding:not(:first-child):before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 50%, transparent 100%);
}



/* 交互の背景色で視覚的な区切りを強化 */
.home-navigation,
.tournament-features,
.instagram-gallery,
.faq-cta,
.representative-profile {
  position: relative;
}

.home-navigation:before,
.tournament-features:before,
.instagram-gallery:before,
.faq-cta:before,
.representative-profile:before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-light) 50%, transparent 100%);
}

/* フッターとの境界 */
footer {
  border-top: 2px solid var(--primary-light);
  margin-top: 0;
}

/* ヘッダーのスティッキー時の境界は上記で統合済み */

/* カードとコンテナの境界改善 */
.nav-card,
.event-card,
.tournament-card,
.testimonial-card,
.gallery-item,
.method-card,
.detail-card,
.feature-card,
.access-card {
  border: 1px solid rgba(1, 160, 233, 0.1);
  transition: all 0.3s ease;
}

.nav-card:hover,
.event-card:hover,
.tournament-card:hover,
.testimonial-card:hover,
.gallery-item:hover,
.method-card:hover,
.detail-card:hover,
.feature-card:hover,
.access-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(1, 160, 233, 0.15);
}

/* アコーディオンの境界改善 */
.accordion {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion:hover {
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(1, 160, 233, 0.1);
}

.accordion-header {
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.accordion.active .accordion-header {
  border-bottom-color: var(--primary);
  background: linear-gradient(135deg, var(--primary-light), rgba(1, 160, 233, 0.05));
}

/* ボタンの境界改善 */
.btn {
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  border-color: var(--primary-dark);
}

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

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .profile-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .youtube-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .faq-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .guide-steps {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  /* モバイルでのセクション境界線を調整 */
  .section-padding:not(:first-child):before {
    width: 90%;
  }
  
  /* モバイルでのスペーシング調整 */
  body {
    padding-top: 60px; /* モバイルでヘッダー高さを調整 */
  }
  
  /* ホーム画面専用のモバイル余白調整 */
  body.home-page {
    padding-top: 40px; /* ホーム画面はさらに余白を減らす */
  }
  
  /* メインセクションのマージンはモバイルでも不要 */
  
  .home-navigation,
  .tournament-features,
  .instagram-gallery,
  .faq-cta,
  .representative-profile {
    margin-top: 40px; /* モバイルで特別なセクションのマージンを調整 */
  }
  
  .hero {
    margin-top: 10px; /* モバイルでヒーローセクションのマージンを調整 */
    background-attachment: scroll; /* モバイルでfixed背景を無効化 */
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  /* 新しいヒーロー画像のモバイル対応 */
  .about-hero-image {
    margin-top: 30px;
  }
  
  .hero-image-container {
    border-radius: 15px;
    padding: 5px;
  }
  
  .hero-image-container img {
    height: 300px;
    border-radius: 10px;
  }
  
  .image-overlay {
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 10px;
  }
  
  .overlay-content {
    padding: 20px;
  }
  
  .overlay-content h3 {
    font-size: 1.5rem;
  }
  
  .overlay-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .overlay-features {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .feature-item {
    flex-direction: row;
    gap: 12px;
    font-size: 0.85rem;
  }
  
  .feature-item i {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .overlay-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  
  .overlay-icon i {
    font-size: 24px;
  }
  
  /* モバイルでのセクションパディング調整 */
  .section-padding {
    padding: 40px 0; /* モバイルでさらにパディングを削減 */
  }
  
  .section-title {
    margin-bottom: 30px; /* モバイルでセクションタイトル下の余白を調整 */
  }
  
  /* モバイルでのヘッダーレイアウト調整 */
  #header {
    height: 70px; /* モバイルでは高さを縮小 */
  }
  
  body {
    padding-top: 60px; /* モバイルでのパディング調整 */
  }
  
  /* ホーム画面専用のモバイル余白調整 */
  body.home-page {
    padding-top: 40px; /* ホーム画面はさらに余白を減らす */
  }
  
  #header .header-inner {
    flex-direction: row; /* モバイルでは1行レイアウト */
    justify-content: flex-start; /* ロゴとハンバーガーメニューを左寄せ */
    gap: 20px; /* ロゴとハンバーガーメニューの間隔 */
  }
  
  /* モバイルでは2段構造のメニュー部分のみ非表示 */
  #header .menu-row {
    display: none;
  }
  
  /* logo-rowは表示したままにする */
  #header .logo-row {
    display: flex;
    align-items: center;
    width: 100%;
  }
  
  #header .container {
    padding: 0 10px; /* モバイルでのパディング調整 */
  }
  
  #header .logo {
    font-size: 18px; /* モバイルでのロゴサイズ調整 */
  }
  
  #header .logo-icon {
    width: 35px; /* モバイルでのロゴアイコンサイズ */
    height: 35px;
  }
  
  #header .nav-menu {
    display: none; /* デスクトップメニューは非表示（モバイルメニューは別途定義） */
  }
  
  #header .hamburger {
    display: flex !important; /* モバイルサイズで表示 */
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    pointer-events: auto !important;
    z-index: 9999 !important; /* 最前面に表示されるように調整 */
  }
}

/* 新しいヒーロー画像セクション */
.about-hero-image {
  margin-top: 40px;
  position: relative;
}

.hero-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  background: linear-gradient(45deg, #f8f9fa, #e9ecef);
  padding: 8px;
}

.hero-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.hero-image-container img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.image-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  background: linear-gradient(
    135deg,
    rgba(1, 160, 233, 0.9) 0%,
    rgba(0, 123, 191, 0.9) 50%,
    rgba(0, 89, 137, 0.9) 100%
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
}

.hero-image-container:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
  padding: 40px;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.hero-image-container:hover .overlay-content {
  transform: translateY(0);
}

.overlay-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.overlay-icon i {
  font-size: 32px;
  color: white;
  animation: pulse 2s infinite;
}

.overlay-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  opacity: 0.95;
}

.overlay-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.feature-item i {
  font-size: 20px;
  color: #4CAF50;
  background: rgba(255, 255, 255, 0.9);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* ストレングスファインダーページ用の画像ギャラリー表示 */
body.strengths-page .about-image-gallery {
  display: block;
}

/* その他のページでは画像ギャラリーを非表示 */
body:not(.strengths-page) .about-image-gallery {
  display: none;
}

/* ホームページでもギャラリーを表示する */
body.home-page .about-image-gallery {
  display: block;
}

/* 共通設定 */
.btn i {
  margin-right: 8px;
}

.btn-primary {
  background-color: #01A0E9;
  color: #fff;
  border: none;
  box-shadow: 0 5px 15px rgba(1, 160, 233, 0.3);
}

.btn-primary:hover {
  background-color: #0089c6;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(1, 160, 233, 0.4);
}

/* ヒーローセクション拡張 */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(176, 224, 230, 0.4) 0%, 
    rgba(135, 206, 250, 0.5) 20%, 
    rgba(100, 149, 237, 0.3) 40%, 
    rgba(70, 130, 180, 0.4) 60%, 
    rgba(30, 144, 255, 0.3) 80%, 
    rgba(0, 191, 255, 0.2) 100%
  );
  backdrop-filter: blur(1px);
  z-index: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  text-align: center;
}

.hero-scroll-indicator a {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-scroll-indicator i {
  font-size: 24px;
  margin-bottom: 5px;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
  font-size: 2.6rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(255, 255, 255, 0.2);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
  font-weight: 500;
}

.hero-logo {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  max-width: 350px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.5));
  transition: transform 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.hero-logo img:hover {
  transform: scale(1.1);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-buttons {
  justify-content: center;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-15px) translateX(-50%);
  }
  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

/* サークル概要 */
.about {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #01A0E9, #0089c6);
}

/* about-containerのデフォルトスタイル (PC) */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* about-contentとabout-image-galleryのデフォルトの順序 */
.about-content {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-image-gallery {
  order: 2;
  position: relative;
  height: 800px;
  perspective: 1000px;
  margin-left: 30px;
}

/* サークル概要のテキスト部分のスタイル向上 */
.about-text.compact {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 100%;
}

.about-header {
  background-color: #f9f9f9;
  border-radius: 15px;
  padding: 18px;
  margin-bottom: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #01A0E9;
}

/* About header image under the header text */
.about-header-image {
  margin: 16px 0 0;
  text-align: center;
}
.about-header-image img {
  max-width: 70%;
  width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
  .about-header-image img {
    max-width: 90%;
    border-radius: 10px;
  }
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-info-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
  border-top: 3px solid #01A0E9;
}

.about-info-card h3 {
  text-align: center;
}

.about-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
  background-color: rgba(1, 160, 233, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.info-icon i {
  color: #01A0E9;
  font-size: 22px;
}

.about-info-card h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
}

.about-info-card p {
  font-size: 14px;
  margin-bottom: 8px;
}

.about-info-card .mini-text {
  font-size: 13px;
  color: #666;
}

.quote-block.mini {
  background-color: rgba(1, 160, 233, 0.1);
  border-radius: 8px;
  padding: 10px;
  margin: 5px 0;
}

.quote-block.mini p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #01A0E9;
  font-style: italic;
  text-align: center;
}

.mini-bar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5px;
  font-size: 13px;
}

.mini-bar span {
  padding: 3px 10px;
  border-radius: 50px;
  background: linear-gradient(to right, rgba(1, 160, 233, 0.2), rgba(1, 160, 233, 0.1));
  font-weight: 500;
}

.mini-bar span:nth-child(2) {
  background: linear-gradient(to right, rgba(1, 160, 233, 0.3), rgba(1, 160, 233, 0.2));
}

.mini-bar span:nth-child(3) {
  background: linear-gradient(to right, rgba(1, 160, 233, 0.4), rgba(1, 160, 233, 0.3));
}

.about-text h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
  position: relative;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
}

.about-text h3 i {
  color: #01A0E9;
  margin-right: 10px;
  font-size: 18px;
}

.about-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #01A0E9;
}

.about-text p {
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 14px;
}

/* Override: center align the about section heading */
.about-text h3 {
  display: block;
  text-align: center;
}

.about-text h3::after {
  left: 50%;
  transform: translateX(-50%);
}

/* 重なり合う画像ギャラリー - 間隔を広げて80%以上見えるように */
.gallery-image {
  position: absolute;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
  width: 80%;
  height: 250px;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease;
}

.gallery-image.image-1 {
  top: 0;
  left: 0;
  z-index: 3;
  transform: rotate(-1deg);
}

.gallery-image.image-2 {
  top: 270px;
  left: 50px;
  z-index: 2;
  transform: rotate(1deg);
}

.gallery-image.image-3 {
  top: 540px;
  left: 0;
  z-index: 1;
  transform: rotate(-1deg);
}

.about-image-gallery:hover .gallery-image.image-1 {
  transform: rotate(-2deg) translateY(-10px);
}

.about-image-gallery:hover .gallery-image.image-2 {
  transform: rotate(2deg) translateY(-10px);
}

.about-image-gallery:hover .gallery-image.image-3 {
  transform: rotate(-2deg) translateY(-10px);
}

.gallery-overlay {
  position: absolute;
  bottom: 30px;
  left: 15%;
  right: 15%;
  background: rgba(1, 160, 233, 0.8);
  color: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 4;
  transform: translateY(0);
  transition: all 0.5s ease;
}

.about-image-gallery:hover .gallery-overlay {
  transform: translateY(-10px);
  background: rgba(1, 160, 233, 0.9);
}

/* イベント情報 */
.events {
  background-color: #f9f9f9;
  position: relative;
}

.events-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
  align-items: stretch;
}

.event-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  width: 100%; /* 幅を100%に設定 */
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.event-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #01A0E9;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.event-image {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-top: 66.67%; /* 2:3 aspect ratio */
  border-radius: 8px 8px 0 0;
}

.event-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #333;
  position: relative;
  padding-bottom: 12px;
}

.event-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #01A0E9;
}

.event-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.event-details {
  list-style: none;
  margin-bottom: 25px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
}

.event-details li {
  margin-bottom: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.event-details li:last-child {
  margin-bottom: 0;
}

.event-details li i {
  color: #01A0E9;
  margin-right: 10px;
  min-width: 20px;
  text-align: center;
}

.event-btn {
  margin-top: auto;
  align-self: stretch;
}

.events-cta {
  text-align: center;
  padding: 30px;
  background: linear-gradient(to right, rgba(1, 160, 233, 0.1), rgba(1, 160, 233, 0.2));
  border-radius: 20px;
}

.events-cta p {
  margin-bottom: 20px;
  font-size: 18px;
  color: #555;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
  .events-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .about-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .about-image-gallery {
    height: 750px;
  }
  
  .gallery-image {
    width: 85%;
    height: 220px;
  }
  
  .gallery-image.image-2 {
    top: 250px;
  }
  
  .gallery-image.image-3 {
    top: 500px;
  }
  
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
  
  .stat-item {
    padding: 15px 10px;
  }
  
  .stat-number {
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .events-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* 992px以下ではabout-image-galleryをabout-contentの前に表示 */
  .about-content {
    order: 2;
  }
  
  .about-image-gallery {
    order: 1;
    height: 850px;
    margin-bottom: 20px;
    margin-left: 0;
  }
  
  .gallery-image {
    width: 90%;
  }
  
  .gallery-image.image-2 {
    top: 280px;
    left: 40px;
  }
  
  .gallery-image.image-3 {
    top: 560px;
    left: 0;
  }
  
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-logo img {
    max-width: 250px;
  }
  
  /* タブレット用のヒーロー画像調整 */
  .about-hero-image {
    margin-top: 35px;
  }
  
  .hero-image-container img {
    height: 400px;
  }
  
  .overlay-content h3 {
    font-size: 1.8rem;
  }
  
  .overlay-content p {
    font-size: 1rem;
  }
  
  .overlay-features {
    gap: 20px;
  }
  
  .event-image {
    padding-top: 62.5%; /* 5:8 aspect ratio */
  }
  
  .event-content {
    padding: 20px;
  }
  
  .event-content h3 {
    font-size: 20px;
  }
  
  .event-content p {
    font-size: 14px;
  }
  
  .event-details li {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .events-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .about-info-card {
    padding: 12px;
  }
  
  .gallery-image {
    width: 85%;
    height: 180px;
  }
  
  .gallery-image.image-1 {
    top: 0;
    left: 0;
  }
  
  .gallery-image.image-2 {
    top: 200px;
    left: 15%;
  }
  
  .gallery-image.image-3 {
    top: 400px;
    left: 0;
  }
  
  .about-image-gallery {
    height: 600px;
    margin-bottom: 30px;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 0;
  }
  
  .stat-item {
    padding: 15px 10px;
  }
  
  .stat-icon {
    font-size: 24px;
    margin-bottom: 6px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .stat-label {
    font-size: 13px;
  }
  
  .events-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .event-card {
    max-width: 100%;
  }
  
  .event-content {
    padding: 15px;
  }
  
  .event-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  
  .event-details {
    grid-template-columns: 1fr;
  }
  
  .event-image {
    padding-top: 60%; /* 3:5 aspect ratio */
  }
  
  .hero-logo {
    margin-top: 25px;
    margin-bottom: 65px;
  }
  
  .hero-logo img {
    max-width: 200px;
  }
  
  .hero-scroll-indicator {
    bottom: 30px;
  }
  
  .testimonial-image {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .events-container {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 25px;
    padding: 0 15px;
  }
  
  .event-card {
    border-radius: 10px;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .about-image-gallery {
    height: 450px;
  }
  
  .gallery-image {
    width: 70%;
    height: 130px;
  }
  
  .gallery-image.image-1 {
    top: 0;
    left: 0;
  }
  
  .gallery-image.image-2 {
    top: 150px;
    left: 25%;
  }
  
  .gallery-image.image-3 {
    top: 300px;
    left: 0;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-icon {
    width: 45px;
    height: 45px;
  }
  
  .stat-number {
    font-size: 2.2rem;
  }
  
  .event-image {
    padding-top: 56.25%; /* 16:9 aspect ratio */
  }
  
  .event-content h3 {
    font-size: 17px;
  }
  
  .event-content p {
    font-size: 14px;
  }
  
  .event-details li {
    font-size: 13px;
  }
  
  .hero-logo {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  
  .hero-logo img {
    max-width: 150px;
  }
  
  .hero-scroll-indicator {
    bottom: 20px;
  }
  
  .testimonial-image {
    height: 200px;
  }
}

/* ハイライト部分 */
.highlight {
  color: #01A0E9;
  font-weight: 600;
  position: relative;
  padding: 0 3px;
}

.highlight::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 6px;
  background-color: rgba(1, 160, 233, 0.1);
  bottom: 0;
  left: 0;
  z-index: -1;
  border-radius: 3px;
}

/* 引用ブロック */
.quote-block {
  background-color: var(--color-light-background);
  padding: 30px;
  border-left: 5px solid var(--color-primary);
  margin: 20px 0;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.quote-block p {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--color-text-dark);
  position: relative;
  z-index: 2;
}

.quote-block i {
  color: rgba(1, 160, 233, 0.5);
  font-size: 18px;
}

.quote-block i.fa-quote-left {
  position: absolute;
  left: 10px;
  top: 10px;
}

.quote-block i.fa-quote-right {
  position: absolute;
  right: 10px;
  bottom: 10px;
}

/* 統計情報表示 */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stat-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stat-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  font-size: 30px;
  color: #01A0E9;
  margin-bottom: 8px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.stat-number span {
  font-size: 20px;
  color: #01A0E9;
}

.stat-label {
  font-size: 14px;
  color: #777;
}

/* 優勝者の声セクション */
.champions {
  background-color: #fff;
  position: relative;
}

/* カルーセル全体のコンテナ */
.testimonials-carousel {
  position: relative;
  /* overflow: hidden; */
}

.testimonials-carousel .carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 9999; /* Increased z-index */
  font-size: 1.5em;
  border-radius: 50%;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.testimonials-carousel .carousel-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.testimonials-carousel .prev-btn {
  left: 10px; /* 左端からの位置 */
}

.testimonials-carousel .next-btn {
  right: 10px; /* 右端からの位置 */
}

.testimonials-carousel .carousel-button[style*="opacity: 0.5"] {
  cursor: not-allowed;
}

.testimonials-scroll-container {
  overflow: visible;
  width: 100%;
  position: relative;
}

/* カスタムスクロールバーのスタイルを再度追加 */
.testimonials-scroll-container::-webkit-scrollbar {
  width: 8px; /* スクロールバーの幅 */
  height: 8px; /* スクロールバーの高さ */
}

.testimonials-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1; /* スクロールバーの背景 */
  border-radius: 10px;
}

.testimonials-scroll-container::-webkit-scrollbar-thumb {
  background: #007bff; /* スクロールバーのつまみ */
  border-radius: 10px;
  transition: background 0.3s ease;
}

.testimonials-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #0056b3; /* ホバー時の色 */
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 10px; /* 左右の余白を適度に */
  width: 100%;
  box-sizing: border-box;
}

/* カードサイズをグリッドにフィットさせる（固定幅指定を上書き） */
.testimonials-container .testimonial-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: initial !important;
}

@media (max-width: 992px) {
  .testimonials-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
}

/* ホバー時にアニメーションを一時停止 */
.testimonials-container:hover {
  animation-play-state: paused;
}

/* カルーセルボタン削除済み */

/* 重複定義削除 */

@keyframes scroll-testimonials {
  0%, 27.77% {
    transform: translateX(0); /* カード1-2表示 */
  }
  33.33%, 61.11% {
    transform: translateX(-33.33%); /* カード3-4表示 */
  }
  66.66%, 94.44% {
    transform: translateX(-66.66%); /* カード5-6表示 */
  }
  100% {
    transform: translateX(0); /* 最初に戻る */
  }
}

/* モバイル用アニメーション（1つずつ表示） */
@keyframes scroll-testimonials-mobile {
  0%, 14.28% {
    transform: translateX(0); /* カード1表示 */
  }
  16.66%, 30.94% {
    transform: translateX(calc(-16.66% - 3.33px)); /* カード2表示 */
  }
  33.33%, 47.61% {
    transform: translateX(calc(-33.33% - 6.66px)); /* カード3表示 */
  }
  50%, 64.28% {
    transform: translateX(calc(-50% - 10px)); /* カード4表示 */
  }
  66.66%, 80.94% {
    transform: translateX(calc(-66.66% - 13.33px)); /* カード5表示 */
  }
  83.33%, 97.61% {
    transform: translateX(calc(-83.33% - 16.66px)); /* カード6表示 */
  }
  100% {
    transform: translateX(0); /* 最初に戻る */
  }
}

/* スクロールバー設定削除（スクロール無効化のため不要） */

.testimonial-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  flex: 0 0 330px;
  max-width: 330px;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  height: auto;
  border: 1px solid #eee;
  margin-bottom: 15px;
}

.scroll-controls {
  position: absolute;
  top: 85%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 5px;
  z-index: 5;
}

.scroll-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #fff;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #01A0E9;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}

.scroll-btn:hover {
  background-color: #01A0E9;
  color: #fff;
  transform: scale(1.1);
}

.prev-btn {
  margin-right: auto;
}

.next-btn {
  margin-left: auto;
}

.testimonial-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-image img {
  transform: scale(1.05);
}

.testimonial-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(135deg, #01A0E9, #0089c6);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover .testimonial-badge {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  padding-bottom: 12px;
}

.testimonial-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #01A0E9;
}

.testimonial-quote {
  position: relative;
  background-color: rgba(1, 160, 233, 0.05);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
}

.testimonial-quote p {
  font-style: italic;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.testimonial-quote i {
  color: rgba(1, 160, 233, 0.3);
  font-size: 20px;
  position: absolute;
}

.testimonial-quote i.fa-quote-left {
  top: 10px;
  left: 10px;
}

.testimonial-quote i.fa-quote-right {
  bottom: 10px;
  right: 10px;
}

.testimonial-info {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  margin-top: auto;
}

.testimonial-info p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #666;
}

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

.testimonial-info p strong {
  color: #333;
  margin-right: 5px;
}

.testimonials-note {
  text-align: center;
  font-size: 14px;
  color: #666;
  font-style: italic;
}

/* お問い合わせ & CTA セクション修正 */
.contact-cta-container.full-width {
  max-width: 1000px;
  margin: 0 auto;
}

.cta-feature {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

.cta-feature:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 28px;
  color: #01A0E9;
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}

.feature-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cta-header {
  margin-bottom: 30px;
}

/* フッターセクション修正 */
.footer-social {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: #01A0E9;
  transform: translateY(-5px);
}

/* カラフルなSNSアイコン用のスタイル */
.footer-social a.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.footer-social a.instagram i {
  font-size: 22px;
  position: relative;
  z-index: 2;
}

.footer-social a.instagram::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #f09433 30%, #e6683c 50%, #dc2743 70%, #cc2366 90%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-social a.youtube {
  background-color: #FF0000;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.footer-social a.youtube i {
  font-size: 20px;
  position: relative;
  z-index: 2;
}

.footer-social a.youtube::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #FF0000, #FF3333);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-social a.instagram:hover,
.footer-social a.youtube:hover {
  transform: translateY(-5px) scale(1.15);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.footer-social a.instagram:hover::before,
.footer-social a.youtube:hover::before {
  opacity: 1;
}

.footer-social a.instagram:hover i,
.footer-social a.youtube:hover i {
  animation: pulse 0.5s;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.footer-profile h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-profile h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #01A0E9;
}

.footer-profile-content {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  margin-top: 15px;
}

.footer-profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 15px;
}

.footer-profile-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #01A0E9;
}

.footer-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-profile-info h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 5px;
}

.footer-title-badge {
  background-color: rgba(1, 160, 233, 0.2);
  color: #01A0E9;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
}

.footer-profile-bio {
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-profile-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.footer-stat-item {
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.footer-stat-item i {
  color: #01A0E9;
  margin-right: 8px;
}

.footer-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.footer-profile-tags span {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.footer-profile-tags span:hover {
  background-color: rgba(1, 160, 233, 0.2);
  color: #fff;
}

.footer-profile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(1, 160, 233, 0.1);
  color: #01A0E9;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-profile-link i {
  margin-right: 8px;
}

.footer-profile-link:hover {
  background-color: #01A0E9;
  color: #fff;
}

.footer-bottom {
  background-color: #111;
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  color: #bbb;
  font-size: 14px;
}

/* レスポンシブ対応の追加 */
@media (max-width: 992px) {
  
  .testimonial-image {
    height: 200px;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-profile {
    grid-column: span 2;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  
  .testimonial-content {
    padding: 20px;
  }
  
  .testimonial-quote {
    padding: 20px;
  }
  
  .cta-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-profile {
    grid-column: auto;
  }
  
  .testimonial-image {
    height: 220px;
  }
}

@media (max-width: 576px) {
  
  .testimonial-image {
    height: 200px;
  }
  
  .testimonial-badge {
    font-size: 11px;
    padding: 4px, 10px;
  }
  
  .testimonial-content h3 {
    font-size: 20px;
  }
  
  .testimonial-quote p {
    font-size: 14px;
  }
  
  .footer-profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-profile-stats {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

/* CTAセクション */
.cta-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  color: #333;
  padding-top: 60px;
  padding-bottom: 60px;
}

.cta-main {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
}

.cta-main h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  color: #333;
}

.cta-main h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 80px;
  height: 3px;
  background-color: #01A0E9;
}

.cta-main h2 span {
  color: #01A0E9;
  font-weight: 700;
}

.cta-main p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #666;
}

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

.cta-box {
  background-color: #f9f9f9;
  border-radius: 15px;
  padding: 25px 20px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cta-box:hover {
  transform: translateY(-10px);
  background-color: rgba(1, 160, 233, 0.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(1, 160, 233, 0.2);
}

.cta-box-icon {
  font-size: 30px;
  color: #01A0E9;
  background-color: rgba(1, 160, 233, 0.1);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.cta-box:hover .cta-box-icon {
  background-color: rgba(1, 160, 233, 0.2);
  transform: scale(1.1);
}

.cta-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #333;
  font-weight: 600;
}

.cta-box p {
  font-size: 15px;
  color: #666;
  margin-bottom: 0;
  line-height: 1.5;
}

.cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.btn-lg {
  padding: 14px 35px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(1, 160, 233, 0.3);
}

.btn-lg:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(1, 160, 233, 0.4);
}

.cta-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #666;
  background-color: #f9f9f9;
  padding: 10px 20px;
  border-radius: 10px;
}

.cta-contact i {
  color: #01A0E9;
  font-size: 20px;
}

.cta-contact p {
  margin: 0;
  font-size: 15px;
}

.cta-contact a {
  color: #01A0E9;
  text-decoration: underline;
  transition: all 0.3s ease;
  font-weight: 600;
}

.cta-contact a:hover {
  color: #0089c6;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .cta-main {
    padding: 25px 20px;
  }
  
  .cta-main h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .cta-main p {
    font-size: 16px;
    margin-bottom: 25px;
  }
  
  .cta-box-icon {
    width: 65px;
    height: 65px;
    font-size: 28px;
  }
  
  .btn-lg {
    padding: 12px 30px;
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .cta-boxes {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .cta-box {
    padding: 20px 15px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .cta-main h2 {
    font-size: 28px;
  }
  
  .cta-main p {
    font-size: 15px;
    line-height: 1.6;
  }
  
  .cta-contact {
    flex-direction: row;
    align-items: center;
    text-align: left;
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 576px) {
  .cta-main {
    padding: 20px 15px;
  }
  
  .cta-main h2 {
    font-size: 24px;
    padding-bottom: 10px;
  }
  
  .cta-main h2:after {
    width: 60px;
    height: 2px;
  }
  
  .cta-main p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .cta-box-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .cta-box h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .cta-box p {
    font-size: 14px;
  }
  
  .btn-lg {
    padding: 12px 25px;
    font-size: 16px;
    width: 100%;
  }
  
  .cta-contact {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 12px;
  }
  
  .cta-contact p {
    font-size: 14px;
  }
}

/* モダンナビゲーション */
/* 既存のヘッダースタイルを上書きする新しいスタイル */
/* header要素のスタイルは#headerに統合済み */

#header.sticky {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* 重複削除 - 既存の#header .header-innerと#header .logoに統合済み */

.logo span {
  color: var(--dark);
  font-weight: 500;
}

.logo-icon {
  margin-right: 10px;
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.logo:hover .logo-icon {
  transform: scale(1.05); /* 回転ではなく少し拡大するエフェクトに変更 */
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

.nav-menu li {
  margin: 0;
  position: relative;
}

.nav-menu li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  padding: 10px 15px;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.3px;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-50%);
  border-radius: 10px;
}

.nav-menu li a:hover {
  color: var(--primary);
  background-color: rgba(1, 160, 233, 0.05);
}

.nav-menu li a:hover::after {
  width: 40%;
  opacity: 1;
}

.header-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 5px 15px rgba(1, 160, 233, 0.25);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-btn::before {
  content: "\f073";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
}

.header-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(1, 160, 233, 0.4);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.hamburger {
  display: none; /* デスクトップでは非表示 */
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background-color: rgba(1, 160, 233, 0.08);
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  position: relative;
  z-index: 1100;
  /* タッチデバイス対応 */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.hamburger:hover {
  background-color: rgba(1, 160, 233, 0.12);
  transform: scale(1.05);
}

.hamburger:active {
  background-color: rgba(1, 160, 233, 0.15);
  transform: scale(0.98);
}

.hamburger.active {
  background-color: rgba(1, 160, 233, 0.2);
  transform: scale(0.95);
}

.hamburger.active i {
  transform: rotate(90deg);
}

/* メニュー背景 */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999; /* nav-menuより1つ下 */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ===================================
   モバイル専用ハンバーガーメニュー
   =================================== */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999; /* 最前面に表示されるように調整 */
  opacity: 0; /* 初期状態は非表示 */
  visibility: hidden; /* 初期状態は非表示 */
  transition: all 0.3s ease;
  pointer-events: none; /* 初期状態はクリック不可 */
}

.mobile-menu.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all !important;
}

.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: -100%; /* 初期状態は画面外 */
  width: 320px;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
  right: 0 !important;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 20px;
  background: var(--primary);
  color: white;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
}

.mobile-menu-logo .logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-logo .logo-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.mobile-menu-logo span span {
  color: #ffd700;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.mobile-menu-nav {
  padding: 20px 0;
}

.mobile-menu-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-nav li {
  margin: 0;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.mobile-menu-nav a:hover {
  background-color: rgba(1, 160, 233, 0.08);
  border-left-color: var(--primary);
  color: var(--primary);
  transform: translateX(5px);
}

.mobile-menu-nav a.active {
  background-color: rgba(1, 160, 233, 0.12);
  border-left-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}

.mobile-menu-nav a i {
  width: 20px;
  text-align: center;
  opacity: 0.7;
}

.mobile-menu-nav a.cta-link {
  margin: 10px 15px;
  background-color: #4CAF50;
  color: white;
  border-radius: 12px;
  border-left: 4px solid transparent;
}

.mobile-menu-nav a.cta-link:hover {
  background-color: #a5d6a7;
  color: #1b5e20 !important;
  transform: translateX(0) scale(1.02);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.mobile-menu-nav a.cta-link i {
  opacity: 1;
}

/* モバイルメニューのレスポンシブ対応 */
@media (max-width: 480px) {
  .mobile-menu-content {
    width: 100%;
    right: -100%;
  }
  
  .mobile-menu.active .mobile-menu-content {
    right: 0;
  }
}

/* メニューオープン時のbodyスタイル */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* デバッグ用のスタイルは削除済み */

/* レスポンシブ対応 - メニューを1段に収める */
@media (max-width: 1200px) {
  .nav-menu li a {
    font-size: 12px;
    padding: 5px 8px;
  }
  
  .header-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  .nav-menu li a {
    font-size: 11px;
    padding: 4px 6px;
  }
  
  #header .nav-menu {
    gap: 3px; /* 間隔を狭める */
  }
}

@media (max-width: 992px) {
  .nav-menu li a {
    font-size: 10px;
    padding: 3px 5px;
  }
  
  #header .nav-menu {
    gap: 2px; /* さらに間隔を狭める */
  }
}

@media (max-width: 992px) {
  .hamburger,
  #header .hamburger {
    display: flex !important; /* タブレット・モバイルサイズで表示 */
    z-index: 1100;
    pointer-events: auto !important;
    position: relative !important; /* 絶対位置指定を解除 */
    margin-left: 20px !important; /* ロゴとの間隔を調整 */
  }
  
  .header-btn.d-none.d-lg-block {
    display: none !important;
  }
  
  /* デスクトップナビゲーションメニューを非表示 */
  #header .nav-menu,
  .nav-menu {
    display: none !important; /* 992px以下ではデスクトップメニューを非表示 */
  }

}

@media (max-width: 576px) {
  .logo {
    font-size: 24px;
  }
  
  .logo-icon {
    width: 50px;
    height: 50px;
    margin-right: 8px;
    background: transparent;
  }
  
  .hamburger,
  #header .hamburger {
    width: 40px;
    height: 40px;
    font-size: 22px;
    margin-left: 15px !important; /* ロゴとの間隔を調整 */
  }
  
  .nav-menu {
    width: 280px;
    top: 70px;
  }
  
  .header-inner {
    padding: 12px 0;
  }
  
  .mobile-menu-content {
    width: 100% !important; /* 小画面では全幅表示 */
  }
}

/* Active state for navigation menu items */
.nav-menu li a.active {
  color: var(--primary);
  font-weight: 600;
  background-color: rgba(1, 160, 233, 0.08);
}

.nav-menu li a.active::after {
  width: 50%;
  opacity: 1;
}

@media (max-width: 992px) {
  .nav-menu li a.active {
    background-color: rgba(1, 160, 233, 0.12);
    padding-left: 20px;
  }
  
  .nav-menu li a.active::before {
    opacity: 1;
    transform: translateX(0);
  }
}

.footer-links h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
  padding-bottom: 15px;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.tournaments-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.tournament-card {
  background: linear-gradient(145deg, #3a4a5c, #4a5c6e);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.tournament-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #01A0E9, #00c6ff);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tournament-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tournament-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.tournament-card:hover::before {
  opacity: 1;
}

.tournament-card:hover::after {
  opacity: 1;
}

.tournament-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: 600;
  position: relative;
  padding-bottom: 12px;
}

.tournament-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #01A0E9, #00c6ff);
}

.tournament-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
  line-height: 1.6;
}

.tournament-details {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.tournament-details li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.tournament-details li:last-child {
  margin-bottom: 0;
}

.tournament-details li i {
  color: #01A0E9;
  margin-right: 12px;
  font-size: 1rem;
  background: rgba(1, 160, 233, 0.12);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tournament-card:hover .tournament-details li i {
  background: rgba(1, 160, 233, 0.2);
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .tournaments-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 567px) {
  .tournaments-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tournament-card {
    padding: 25px;
  }
  
  .tournament-card h3 {
    font-size: 1.3rem;
  }
  
  .tournament-details {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .events-container {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  
  .event-card {
    max-width: 90%;
  }
  
  .event-image {
    padding-top: 56.25%; /* 16:9 aspect ratio */
  }
  
  .event-content {
    padding: 15px;
  }
  
  .event-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  
  .event-content p {
    font-size: 13px;
    margin-bottom: 15px;
  }
  
  .event-details {
    padding: 12px;
  }
  
  .event-details li {
    font-size: 12px;
    margin-bottom: 8px;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  /* 577px～992pxの範囲では再びPC表示と同じ順序に戻す */
  .about-content {
    order: 1;
  }
  
  .about-image-gallery {
    order: 2;
    height: 600px;
  }
  
  .gallery-image.image-1 {
    top: 0;
    left: 0;
  }
  
  .gallery-image.image-2 {
    top: 200px;
    left: 40px;
  }
  
  .gallery-image.image-3 {
    top: 400px;
    left: 0;
  }
}

@media (min-width: 577px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  .events-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .event-image {
    padding-top: 58%; /* Slightly shorter aspect ratio */
  }
  
  .event-card {
    margin-bottom: 5px;
  }
}

/* 576px以下の画面サイズ用 */
@media (max-width: 576px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 15px 10px 0;
  }
  
  .stat-item {
    padding: 12px 8px;
  }
  
  .stat-icon {
    font-size: 20px;
    margin-bottom: 5px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .stat-label {
    font-size: 12px;
  }
}

/* 576px以上768px未満の範囲に特化したスタイル */
@media (min-width: 576px) and (max-width: 768px) {
  .gallery-image {
    width: 90%;
    height: 200px;
  }
  
  .gallery-image.image-1 {
    top: 0;
    left: 0;
  }
  
  .gallery-image.image-2 {
    top: 220px;
    left: 10%;
  }
  
  .gallery-image.image-3 {
    top: 440px;
    left: 0;
  }
  
  .about-image-gallery {
    height: 660px;
  }
}

/* =====================================
   10. StrengthsFinder Specific Styles
   ===================================== */

/* 比較セクション */
.strengths-features {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-content {
  max-width: 1000px;
  margin: 0 auto;
}

.feature-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 60px;
}

.comparison-item {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.comparison-item.negative {
  border-left: 4px solid #e74c3c;
}

.comparison-item.positive {
  border-left: 4px solid #27ae60;
}

.comparison-icon {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.comparison-item.negative .comparison-icon {
  color: #e74c3c;
}

.comparison-item.positive .comparison-icon {
  color: #27ae60;
}

.comparison-arrow {
  font-size: 2em;
  color: #ff6b35;
  text-align: center;
}

.comparison-item h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.comparison-item p {
  font-weight: 600;
  margin-bottom: 20px;
}

.comparison-item ul {
  list-style: none;
  padding: 0;
}

.comparison-item ul li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.comparison-item ul li:last-child {
  border-bottom: none;
}

/* 特徴グリッド */
/* removed: .feature-benefits */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 1px solid #e9ecef;
}

.benefit-item i {
  font-size: 2.5em;
  color: #ff6b35;
  margin-bottom: 15px;
}

.benefit-item h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.benefit-item p {
  font-size: 0.9em;
  color: #6c757d;
  line-height: 1.5;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .feature-comparison {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .comparison-arrow {
    transform: rotate(90deg);
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .comparison-item {
    padding: 20px;
  }
}

/* =====================================
   11. Interview Process Styles
   ===================================== */

/* 事前準備セクション */
.prerequisite-section {
  margin-bottom: 60px;
}

.prerequisite-card {
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  border: 1px solid #e2ecff;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 5px 20px rgba(0, 67, 156, 0.08);
}

.prerequisite-icon { display: none; }

.prerequisite-content h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3em;
  text-align: center;
}

.prerequisite-content p {
  color: #4a5568;
  line-height: 1.7;
  margin: 15px;
}

.prerequisite-content a {
  color: #01A0E9;
  text-decoration: underline;
  font-weight: 600;
}

/* 縦方向の流れ表示 */
.flow-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin: 14px 0 0;
  font-weight: 600;
  color: #2c3e50;
}
.flow-vertical .arrow {
  color: #8AA1C1;
  font-size: 20px;
}

.flow-vertical .flow-item {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2ecff;
  box-shadow: 0 6px 18px rgba(0, 67, 156, 0.06);
  border-radius: 999px;
  padding: 10px 18px 10px 42px;
  min-width: 260px;
  text-align: center;
}

.flow-vertical .flow-item::before {
  content: counter(step-num);
  counter-increment: step-num;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #01A0E9;
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(1,160,233,0.25);
}

.flow-vertical {
  counter-reset: step-num;
}

.promotion-code-info {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.promotion-code-info i {
  color: #d68910;
  font-size: 1.2em;
  margin-top: 2px;
  flex-shrink: 0;
}

.promotion-code-info p {
  margin: 0;
  color: #7d6608;
}

/* プロセスステップ */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-left: 4px solid #ff6b35;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.step-number {
  background: linear-gradient(135deg, #ff6b35, #ff8c69);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.step-content h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3em;
}

.step-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #6c757d;
  border-bottom: 1px solid #f8f9fa;
}

.step-details li:last-child {
  border-bottom: none;
}

.step-details li i {
  color: #ff6b35;
  width: 20px;
  text-align: center;
}

.step-action {
  margin-top: 20px;
}

/* 日程変更セクション */
.schedule-change {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.change-info-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

.change-icon {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.change-content h3 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1.4em;
}

.change-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.change-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(39, 174, 96, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  color: #27ae60;
  font-weight: 500;
  font-size: 0.9em;
}

/* step-content のリストを左寄せに */
.step-content ul {
  list-style: disc;
  padding-left: 1.2em;
  margin: 10px 0 0;
  text-align: left;
}

.step-content li {
  display: list-item;
  gap: 0;
  justify-content: flex-start;
  text-align: left;
}

/* remove leading icons in step list */
.step-content li i {
  display: none;
}

.feature-item i {
  font-size: 0.9em;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .prerequisite-card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  
  .prerequisite-icon {
    align-self: center;
    width: 60px;
    height: 60px;
    font-size: 2em;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
    padding: 25px;
    gap: 20px;
  }
  
  .step-number {
    align-self: center;
    width: 50px;
    height: 50px;
    font-size: 1.3em;
  }
  
  .change-info-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  
  .change-icon {
    align-self: center;
    width: 70px;
    height: 70px;
    font-size: 1.8em;
  }
  
  .change-features {
    justify-content: center;
  }
  
  .promotion-code-info {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* PC表示では change-features を3列グリッドに */
@media (min-width: 769px) {
  .change-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .change-features .feature-item {
    width: 100%; /* 各カラム内で同じ幅に */
    justify-content: center;
  }
}

/* =====================================
   12. Test Guide Styles
   ===================================== */

/* 重要な注意事項 */
.important-notice {
  margin-bottom: 60px;
}

.notice-card {
  background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
  border: 1px solid #e17055;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 5px 20px rgba(225, 112, 85, 0.2);
}

.notice-icon {
  font-size: 2.5em;
  color: #e17055;
  background: rgba(255, 255, 255, 0.7);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notice-content h3 {
  color: #d63031;
  margin-bottom: 15px;
  font-size: 1.3em;
}

.notice-content p {
  color: #2d3436;
  line-height: 1.6;
  margin: 0;
}

/* テストステップ */
.test-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.step-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-left: 4px solid #ff6b35;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.step-card .step-number {
  background: linear-gradient(135deg, #ff6b35, #ff8c69);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.step-card .step-content {
  flex: 1;
}

.step-card .step-content h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.step-card .step-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-card .step-details ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.step-card .step-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: #6c757d;
  font-size: 0.9em;
}

.step-card .step-details li i {
  color: #ff6b35;
  width: 16px;
  text-align: center;
}

/* サポートセクション */
.support-section {
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  border-top: 1px solid #e2ecff;
  border-bottom: 1px solid #e2ecff;
}

/* test-guide に馴染むカード風レイアウト */
.support-section .container {
  max-width: 800px;
}

.support-section p {
  margin: 0;
  color: #4a5568;
  text-align: center;
  font-weight: 500;
}

.support-section .support-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 43, 102, 0.08);
  padding: 24px;
  border: 1px solid #e6eefc;
}

@media (max-width: 768px) {
  .support-section .container {
    max-width: 100%;
  }
}

.support-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto;
}

.support-icon {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.support-content h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.support-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* プロモーションコードセクション */
.promotion-code {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.promotion-info {
  max-width: 800px;
  margin: 0 auto;
}

.promotion-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.promotion-icon {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.promotion-content h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.promotion-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 25px;
}

.promotion-benefits {
  margin-bottom: 25px;
}

.promotion-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 0;
}

.promotion-benefits .benefit-item i {
  color: #27ae60;
  font-size: 1.1em;
}

.promotion-benefits .benefit-item span {
  color: #2c3e50;
  font-weight: 500;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .notice-card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  
  .notice-icon {
    align-self: center;
    width: 60px;
    height: 60px;
    font-size: 2em;
  }
  
  .test-steps {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .step-card {
    padding: 25px;
  }
  
  .step-card .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.2em;
  }
  
  .support-card,
  .promotion-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  
  .support-icon,
  .promotion-icon {
    align-self: center;
    width: 70px;
    height: 70px;
    font-size: 1.8em;
  }
}

/* =====================================
   13. Client Testimonials Styles
   ===================================== */

/* 体験談カード */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%; /* モバイルファーストで100% */
  flex-shrink: 0; /* 縮小を防ぐ */
  box-sizing: border-box; /* パディングとボーダーを含めた計算 */
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* ヘッダー部分 */
.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f8f9fa;
}

.client-avatar {
  flex-shrink: 0;
}

.client-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff6b35;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.2);
}

.client-info h3 {
  color: #2c3e50;
  margin: 0 0 8px 0;
  font-size: 1.3em;
  font-weight: 600;
}

.client-role {
  color: #6c757d;
  font-size: 0.9em;
  margin: 0 0 15px 0;
  font-weight: 500;
}

/* 強みタグ */
.client-strengths {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.strength-tag {
  background: linear-gradient(135deg, #ff6b35, #ff8c69);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8em;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* コンテンツ部分 */
.testimonial-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  position: relative;
  margin-bottom: 25px;
  flex: 1;
}

.testimonial-quote .fas.fa-quote-left {
  position: absolute;
  top: -10px;
  left: -5px;
  font-size: 1.5em;
  color: #ff6b35;
  opacity: 0.7;
}

.testimonial-quote .fas.fa-quote-right {
  position: absolute;
  bottom: -10px;
  right: -5px;
  font-size: 1.5em;
  color: #ff6b35;
  opacity: 0.7;
}

.testimonial-quote p {
  color: #2c3e50;
  line-height: 1.7;
  font-size: 1em;
  padding: 0 15px;
  margin: 0;
  font-style: italic;
}

/* インパクト部分 */
.testimonial-impact {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-top: auto;
}

.testimonial-impact h4 {
  color: #2c3e50;
  margin: 0 0 15px 0;
  font-size: 1.1em;
  font-weight: 600;
}

.testimonial-impact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.testimonial-impact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #2c3e50;
  font-size: 0.9em;
}

.testimonial-impact li i {
  color: #27ae60;
  font-size: 1.1em;
  width: 16px;
  text-align: center;
}

/* 統計情報 */
.testimonial-stats {
  margin: 40px 0;
  padding: 30px 0;
  background: transparent;
  border-radius: 20px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 650px;
  margin: 0 auto;
}

/* testimonials 用にデスクトップでの3列を強制（モバイルは既存の1列を維持） */
@media (min-width: 769px) {
  .testimonial-stats .stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* レポートサンプル */
.report-samples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.report-sample {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
}

.report-sample img {
  width: 100%;
  height: auto;
  display: block;
}

.report-sample .caption {
  padding: 10px 12px;
  font-size: 0.75em;
  color: #2c3e50;
}

@media (max-width: 768px) {
  .report-samples {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.stat-item {
  text-align: center;
  color: white;
}

/* testimonial-stats は背景色を削除したため読みやすい文字色に戻す */
.testimonial-stats .stat-item {
  color: #2c3e50;
}

.testimonial-stats .stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 auto 8px;
}

.testimonial-stats .stat-icon i {
  font-size: 18px;
  color: #01A0E9; /* about-stats と同色 */
}

.stat-number {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #ffeaa7, #fab1a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.stat-label {
  font-size: 0.95em;
  font-weight: 500;
  opacity: 0.9;
}

/* CTA セクション */
.testimonial-cta {
  margin-top: 50px;
  padding: 50px 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.cta-text {
  text-align: center;
}

.cta-content h3 {
  color: #2c3e50;
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: 600;
}

.cta-content p {
  color: #6c757d;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 0;
}

.cta-action {
  text-align: center;
}

.cta-content .btn {
  display: inline-block;
  transition: all 0.3s ease;
  min-width: 250px;
}

.cta-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(1, 160, 233, 0.3);
}

/* コンテナー調整 - gridレイアウトからflexレイアウトに変更済み */

/* デスクトップ用の追加スタイル */
@media (min-width: 769px) {
  .testimonial-card {
    width: 450px; /* 固定幅で複数表示を確実に */
    min-width: 450px; /* 最小幅を設定 */
    max-width: 450px; /* 最大幅を設定 */
    flex-shrink: 0; /* 縮小を防ぐ */
  }
  
  
  .testimonials-scroll-container {
    overflow: hidden; /* スクロールを完全に無効化 */
    width: 100%; /* 親コンテナの幅に合わせる */
    position: relative;
  }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .testimonial-card {
    width: 320px; /* モバイル用固定幅 */
    min-width: 320px; /* モバイル用最小幅 */
    max-width: 320px; /* モバイル用最大幅 */
    padding: 25px;
    flex-shrink: 0;
  }
  
  
  /* carousel-btn削除済み */
}
  
  .testimonial-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .client-avatar img {
    width: 70px;
    height: 70px;
  }
  
  .testimonial-card {
    padding: 25px;
  }
  
  .strength-tag {
    font-size: 0.75em;
    padding: 3px 10px;
  }
  
  .testimonial-quote .fas.fa-quote-left,
  .testimonial-quote .fas.fa-quote-right {
    font-size: 1.3em;
  }
  
  .testimonial-quote p {
    padding: 0 10px;
    font-size: 0.95em;
  }
  
  
  .stats-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .stat-number {
    font-size: 1.5em;
  }
  
  .stat-label {
    font-size: 0.8em;
  }
  
  .testimonial-stats .stat-icon {
    width: 36px;
    height: 36px;
  }
  
  .testimonial-stats .stat-icon i {
    font-size: 16px;
  }
  
  .cta-content h3 {
    font-size: 1.6em;
  }
  
  .cta-content p {
    font-size: 1em;
  }
  
  .testimonial-cta {
    padding: 40px 20px;
    margin-top: 30px;
  }
  
  .cta-content {
    max-width: 100%;
    gap: 25px;
  }
  
  .cta-content .btn {
    width: 100%;
    max-width: 300px;
    min-width: auto;
  }

/* =====================================
   14. Coach Profile Styles
   ===================================== */

/* コーチ紹介セクション */
.coach-introduction {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86));
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.12);
  backdrop-filter: blur(6px);
  position: relative;
}

.coach-introduction::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px; /* gradient border thickness */
  background: linear-gradient(135deg, #00B4D8, #6C63FF, #FF6B6B);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
}

/* Coach profile: place the logo to the right of the heading with a tasteful overlap */
.coach-profile .coach-introduction {
  position: relative;
  display: grid;
  grid-template-columns: auto auto; /* photo | heading */
  align-items: center;
  justify-content: center; /* center two columns as a group */
  column-gap: 32px;
}

/* Coach story uses the same card style as coach-introduction */
.coach-story {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin-bottom: 60px;
  position: relative;
}

/* Apply the same gradient border style as used for profile elements */
.coach-story::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px; /* gradient border thickness */
  background: linear-gradient(135deg, #00B4D8, #6C63FF, #FF6B6B);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask-composite: exclude;
  pointer-events: none;
}

.coach-photo {
  position: relative;
  flex-shrink: 0;
  padding: 0; /* remove card padding */
  border-radius: 0; /* remove card corner */
  background: transparent; /* remove card background */
  box-shadow: none; /* remove card shadow */
}

/* Shrink and reposition photo to the right of the heading */
.coach-profile .coach-photo {
  position: static; /* participate in grid layout */
  padding: 0;
  border-radius: 0;
  justify-self: center; /* center inside the grid column */
}

.coach-photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ff6b35;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Coach profile uses a logo image: keep aspect ratio and remove circular framing */
.coach-profile .coach-photo::before { content: none; }

.coach-profile .coach-photo img {
  width: 100%;
  height: auto;
  max-width: 260px; /* enlarge logo a bit */
  object-fit: contain;
  border-radius: 0; /* pure image look for logos */
  border: 0;
  display: block;
  margin: 0 auto; /* center inside its block */
  box-shadow: 0 22px 40px rgba(2, 8, 23, 0.18); /* floating feel */
}

.coach-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6b35, #ff8c69);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

.coach-badge i {
  font-size: 1.1em;
}

.coach-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 追加: コーチ紹介見出しと説明のスタイル */
.coach-heading .coach-org {
  font-size: 0.95em;
  color: #111827;
  margin: 0;
}

.coach-heading .coach-credential {
  font-size: 0.95em;
  color: #111827;
  margin: 2px 0 0 0;
}

.coach-heading {
  position: relative;
  padding-bottom: 14px;
  text-align: center;
}

/* Reserve space to the right for the floating logo and create slight overlap */
.coach-profile .coach-heading {
  padding-right: 0;
  min-height: unset;
}

/* Place heading next to photo and make the rest span full width */
.coach-profile .coach-content {
  display: contents; /* allow children to be grid items of the parent */
}
.coach-profile .coach-heading {
  grid-column: 1 / -1; /* single column layout */
  grid-row: auto;
}
.coach-profile .coach-photo { display: none; }
.coach-profile .coach-description,
.coach-profile .coach-clients,
.coach-profile .coach-invite {
  grid-column: 1 / -1; /* span both columns under the first row */
}

/* Inline org + name on one line */
.coach-heading .coach-title-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.coach-heading .coach-subrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.coach-badge-inline {
  height: 2.2em; /* align with text height roughly equal to coach-name line height */
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}
.coach-heading .coach-title-row .coach-name {
  margin: 0; /* override top margin when inline */
}

/* .coach-heading::after removed per request */

.coach-heading .coach-name {
  font-size: 2.2em;
  margin: 10px 0 0 0;
  color: #111827;
}

.coach-heading .coach-credential {
  display: block;
  padding: 0;
  background: transparent;
  color: #111827;
  border: 0;
  border-radius: 0;
}

.coach-description p {
  line-height: 1.9;
}

.coach-invite h4 {
  color: #2c3e50;
  margin: 25px 0 15px 0;
  font-size: 1.3em;
  font-weight: 600;
}

.coach-invite p {
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1em;
}

@media (max-width: 992px) {
  .coach-profile .coach-introduction {
    display: block;
  }
  .coach-profile .coach-content {
    display: block;
  }
  .coach-profile .coach-photo {
    margin: 0 auto 16px;
  }
}

.coach-greeting h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.6em;
  font-weight: 600;
}

.coach-greeting p,
.coach-clients p {
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1em;
}

.coach-clients h4 {
  color: #2c3e50;
  margin: 25px 0 15px 0;
  font-size: 1.3em;
  font-weight: 600;
}

/* コーチの強み */
.coach-strengths {
  margin-bottom: 60px;
}

.coach-strengths h3 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  font-weight: 600;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.strength-card {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.strength-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.strength-icon {
  background: linear-gradient(135deg, #ff6b35, #ff8c69);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2em;
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.strength-card h4 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3em;
  font-weight: 600;
}

.strength-card p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.95em;
}

/* コーチストーリー */
.coach-story {
  margin-bottom: 60px;
}

.coach-story h3 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  font-weight: 600;
}

.story-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.story-text {
  flex: 2;
}

.story-text p {
  color: #6c757d;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 1em;
}

.impact-quote {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 15px;
  margin: 30px 0;
  position: relative;
  text-align: center;
}

.impact-quote .fas.fa-quote-left {
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 1.5em;
  opacity: 0.7;
}

.impact-quote .fas.fa-quote-right {
  position: absolute;
  bottom: 15px;
  right: 20px;
  font-size: 1.5em;
  opacity: 0.7;
}

.impact-quote p {
  color: white;
  margin: 0;
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.6;
  padding: 0 30px;
}

.story-visual {
  flex: 1;
}

.transformation-chart {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  border: 1px solid #e9ecef;
}

.before-after {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.before,
.after {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.before h5,
.after h5 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: 600;
}

.before ul,
.after ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.before li,
.after li {
  color: #6c757d;
  margin-bottom: 8px;
  font-size: 0.9em;
}

.before {
  border-left: 4px solid #e74c3c;
}

.after {
  border-left: 4px solid #27ae60;
}

.arrow {
  text-align: center;
  color: #ff6b35;
  font-size: 1.5em;
  margin: 10px 0;
}

.arrow i {
  transition: transform 0.3s ease;
}

/* コーチメッセージ */
.coach-message {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  padding: 50px;
}

.coach-message h3 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  font-weight: 600;
}

.message-content > p {
  color: #6c757d;
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
}

.target-audience {
  margin-bottom: 40px;
}

.target-audience h4 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.4em;
  font-weight: 600;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.audience-tag {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9em;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.audience-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.final-message {
  text-align: center;
}

.final-message > p {
  color: #6c757d;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.coach-philosophy {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.coach-philosophy h4 {
  color: #ff6b35;
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.coach-philosophy p {
  color: #6c757d;
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
}

.cta-section {
  margin-top: 30px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .coach-introduction {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 30px;
  }
  .coach-story {
    padding: 30px;
  }
  
  .coach-photo img {
    width: 150px;
    height: 150px;
  }

  .coach-profile .coach-photo {
    padding: 16px;
  }
  .coach-profile .coach-photo img {
    max-width: 420px;
  }
  .coach-heading .coach-name {
    font-size: 2em;
  }

  /* Mobile/tablet: stack elements and remove floating behavior */
  .coach-profile .coach-introduction {
    position: static;
  }
  .coach-profile .coach-heading {
    padding-right: 0;
    min-height: unset;
  }
  .coach-profile .coach-photo {
    position: static;
    transform: none;
    margin: 8px auto 0;
  }
  .coach-profile .coach-photo img {
    max-width: 70%;
  }
  /* Maintain responsive scaling for the logo on small screens */
  .coach-profile .coach-photo img {
    width: 100%;
    height: auto;
    max-width: 360px;
  }
  
  .coach-badge {
    position: static;
    transform: none;
    margin-top: 15px;
    align-self: center;
  }
  
  .coach-greeting h3 {
    font-size: 1.4em;
  }
  
  .coach-strengths h3,
  .coach-story h3,
  .coach-message h3 {
    font-size: 1.6em;
  }
  
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .strength-card {
    padding: 25px;
  }
  
  .strength-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8em;
  }
  
  .story-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .story-visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .transformation-chart {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .before-after {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  

  
  .before,
  .after {
    width: 100%;
    max-width: 300px;
  }
  
  .coach-message {
    padding: 30px;
  }
  
  .audience-tags {
    flex-direction: column;
    align-items: center;
  }
  
  .audience-tag {
    text-align: center;
    max-width: 300px;
  }
  
  .impact-quote {
    padding: 25px;
  }
  
  .impact-quote p {
    font-size: 1em;
    padding: 0 20px;
  }
}

/* =====================================
   15. Email Contact Guide Styles
   ===================================== */

/* メール問い合わせガイド */
.email-contact-guide {
  max-width: 900px;
  margin: 0 auto;
}

.guide-header {
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  border-radius: 20px;
}

.guide-icon {
  background: rgba(255, 255, 255, 0.2);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5em;
  color: white;
}

.guide-header h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 2em;
  font-weight: 600;
}

.guide-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1em;
  line-height: 1.6;
  margin: 0;
}

/* 必要項目 */
.contact-requirements {
  margin-bottom: 50px;
}

.contact-requirements h4 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6em;
  font-weight: 600;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.requirement-item {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.requirement-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.requirement-item.required {
  border-left: 4px solid #e74c3c;
}

.requirement-item.required .requirement-icon {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.requirement-icon {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  flex-shrink: 0;
}

.requirement-content h5 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1.1em;
  font-weight: 600;
}

.requirement-content p {
  color: #6c757d;
  font-size: 0.9em;
  line-height: 1.5;
  margin: 0;
}

/* メール設定 */
.email-instructions {
  margin-bottom: 50px;
}

.email-instructions h4 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.4em;
  font-weight: 600;
}

.instruction-card {
  background: #fff;
  border: 1px solid #ffc107;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 5px 20px rgba(255, 193, 7, 0.2);
}

.instruction-icon {
  background: linear-gradient(135deg, #ffc107, #ff8f00);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  flex-shrink: 0;
}

.instruction-content h5 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: 600;
}

.instruction-content p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
  font-size: 1em;
}

/* よくあるお問い合わせ */
.common-inquiries {
  margin-bottom: 50px;
}

.common-inquiries h4 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6em;
  font-weight: 600;
}

.inquiry-examples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.inquiry-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.3s ease;
}

.inquiry-item:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}

.inquiry-icon {
  background: linear-gradient(135deg, #17a2b8, #138496);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  flex-shrink: 0;
}

.inquiry-content h5 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1em;
  font-weight: 600;
}

.inquiry-content p {
  color: #6c757d;
  font-size: 0.9em;
  line-height: 1.4;
  margin: 0;
}

/* お問い合わせアクション */
.contact-action {
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  padding: 40px;
}

.contact-action h4 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.8em;
  font-weight: 600;
}

.contact-action > p {
  color: #6c757d;
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-action .btn {
  margin-bottom: 15px;
}

.contact-note {
  color: #6c757d;
  font-size: 0.9em;
  margin: 0;
  font-style: italic;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .guide-header {
    padding: 30px;
  }
  
  .guide-icon {
    width: 70px;
    height: 70px;
    font-size: 2em;
  }
  
  .guide-header h3 {
    font-size: 1.6em;
  }
  
  .guide-header p {
    font-size: 1em;
  }
  
  .requirements-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .requirement-item {
    padding: 20px;
  }
  
  .requirement-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1em;
  }
  
  .instruction-card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }
  
  .instruction-icon {
    align-self: center;
    width: 55px;
    height: 55px;
    font-size: 1.3em;
  }
  
  .inquiry-examples {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .inquiry-item {
    padding: 18px;
  }
  
  .inquiry-icon {
    width: 40px;
    height: 40px;
    font-size: 1em;
  }
  
  .contact-action {
    padding: 30px;
  }
  
  .contact-action h4 {
    font-size: 1.5em;
  }
  
  .contact-action > p {
    font-size: 1em;
  }
}

/* FAQ アコーディオン スタイル */
.faq-section {
  margin-bottom: 60px;
}

.faq-section h3 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.faq-section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
  transition: all 0.3s ease;
  border-bottom: 1px solid #e0e0e0;
  border-left: 4px solid var(--primary);
}

.faq-question:hover {
  background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
  border-left-color: var(--primary-dark);
}

.faq-question h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.5;
  flex: 1;
  padding-right: 20px;
}

.faq-question i {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s ease 0.1s,
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  padding: 0 30px;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 30px 25px 30px;
  opacity: 1;
}

.faq-answer p {
  margin: 15px 0 0 0;
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

/* お問い合わせフォームセクション */
.contact-form-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 50px 30px;
  border-radius: 20px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-section h3 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 15px;
  text-align: center;
  position: relative;
}

.contact-form-section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
}

.contact-form-section > p {
  text-align: center;
  color: var(--text);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.google-form-container {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  max-width: 100%;
  width: 100%;
}

.google-form-container iframe {
  border-radius: 10px;
  border: none;
  width: 100% !important;
  max-width: 100%;
  min-height: 900px;
}

.form-note {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.form-note p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.form-note a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.form-note a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.form-note i {
  color: var(--primary);
  margin-right: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .faq-section h3 {
    font-size: 1.6rem;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-question h4 {
    font-size: 1rem;
    padding-right: 15px;
  }
  
  .faq-answer {
    padding: 0 20px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 20px 20px 20px;
  }
  
  .faq-answer p {
    font-size: 0.95rem;
    margin: 12px 0 0 0;
  }
  
  .contact-form-section {
    padding: 30px 20px;
    margin-top: 30px;
  }
  
  .contact-form-section h3 {
    font-size: 1.6rem;
  }
  
  .contact-form-section > p {
    font-size: 1rem;
  }
  
  .google-form-container {
    padding: 15px;
    max-width: 100%;
    width: 100%;
  }
  
  .google-form-container iframe {
    min-height: 500px;
    height: auto;
    width: 100% !important;
    max-width: 100%;
  }
  
  .form-note {
    padding: 15px;
  }
}

/* より小さなスマホ画面用 */
@media (max-width: 480px) {
  .google-form-container {
    padding: 10px;
    margin: 0;
  }
  
  .google-form-container iframe {
    min-height: 600px;
    width: 100% !important;
  }
  
  .contact-form-section {
    padding: 20px 10px;
  }
  
  .form-note p {
    font-size: 0.9rem;
  }
}

/* 料金プランセクション */
.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background-color: #ffffff; /* 白を基調に */
  border-radius: 12px; /* 角を丸く */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* 控えめな影 */
  padding: 30px;
  transition: all 0.3s ease; /* ホバー時のアニメーション */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none; /* リンクの下線を削除 */
  color: inherit; /* テキストの色を親から継承 */
}

.pricing-card:hover {
  transform: translateY(-5px); /* 少し浮き上がる効果 */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); /* ホバー時に影を強調 */
}

.pricing-card .badge {
  background-color: #e0f2f1; /* 落ち着いたグリーン系のバッジ色 */
  color: #26a69a; /* バッジの文字色 */
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.pricing-card .badge.highlight {
  background-color: #ffe0b2; /* ハイライトバッジは暖色系 */
  color: #ff8a65;
}

.pricing-card h3 {
  font-size: 22px;
  color: #333; /* タイトルの色を調整 */
  margin-bottom: 15px;
  font-weight: 600;
}

.pricing-card .price {
  font-size: 28px; /* 料金のサイズを控えめに */
  color: #26a69a; /* 料金の色をご指定のグリーンに */
  font-weight: 500;
  margin-top: 15px;
  margin-bottom: 20px;
}

.pricing-card .price span {
  font-size: 18px; /* 料金単位の色もグリーン調に */
  color: #4db6ac; /* 料金単位の色を少し明るいグリーンに */
}

.pricing-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1; /* 内容が長い場合に柔軟に対応 */
}

.pricing-card .features ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.pricing-card .features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: #444;
}

.pricing-card .features li i {
  color: #26a69a; /* チェックアイコンの色をグリーン系に */
  margin-right: 10px;
  font-size: 18px;
}

.pricing-card .btn-primary {
  display: none; /* ボタンは非表示 */
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .pricing-card {
    padding: 25px;
  }

  .pricing-card h3 {
    font-size: 20px;
  }

  .pricing-card .price {
    font-size: 24px;
  }

  .pricing-card .price span {
    font-size: 16px;
  }

  .pricing-card p {
    font-size: 15px;
  }

  .pricing-card .features li {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 20px;
  }

  .pricing-card h3 {
    font-size: 18px;
  }
}

/* ハイライトされたメニュー項目 */
.highlight-menu-item a { background: transparent; color: inherit !important; padding: 0; border-radius: 0; transition: none; }
.highlight-menu-item a:hover,
.highlight-menu-item a.active { background: transparent; color: var(--primary) !important; }

/* モバイルメニューのハイライト */
.highlight-mobile-menu-item { background: transparent; color: inherit !important; border-radius: 0; padding: 0; margin: 0; display: inline; text-align: inherit; transition: none; }
.highlight-mobile-menu-item:hover { background: transparent; color: var(--primary) !important; }

.pricing-card .badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* 各バッジ間の間隔 */
  margin-bottom: 20px;
}

.pricing-card .sub-badge {
  background-color: #e0f2f1; /* 寒色系（グリーン系）の基本色 */
  color: #26a69a;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card .sub-badge-highlight {
  background-color: #ffe0b2; /* 暖色系（オレンジ系）のハイライト色 */
  color: #ff8a65;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-card .sub-badge-monitor {
  background-color: #ef5350; /* 赤系のモニター価格色 */
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Service Sections - New Design */
.service-section {
  margin-bottom: 60px;
  padding: 40px 0;
  border-bottom: 1px solid #e9ecef;
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-header {
  text-align: center;
  margin-bottom: 40px;
}

.service-header h3 {
  font-size: 2em;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.service-header h3 i {
  color: #01A0E9;
  font-size: 0.9em;
}

.service-header p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Updated Service Cards */
.service-section .pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  cursor: pointer;
}

.service-section .pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  text-decoration: none;
  color: inherit;
  border-color: #01A0E9;
}

.service-section .pricing-card .price {
  font-size: 2.5em;
  font-weight: 700;
  color: #01A0E9;
  margin-bottom: 15px;
  text-align: center;
}

.service-section .pricing-card .price span {
  font-size: 0.4em;
  color: #666;
  font-weight: 400;
}

.service-section .pricing-card h4 {
  font-size: 1.3em;
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.4;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.feature-tag {
  background: #f8f9fa;
  color: #495057;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  text-align: center;
  border: 1px solid #e9ecef;
}

.feature-tag.monitor {
  background: #fff3cd;
  color: #856404;
  border-color: #ffeaa7;
}

.feature-tag.note {
  background: #e8f4fd;
  color: #0c5460;
  border-color: #bee5eb;
  font-size: 0.85em;
}

.monitor-card {
  border-color: #ffeaa7;
}

.pair-card {
  border-color: #01A0E9;
}

/* Pair card width constraints for better readability on wider screens */
@media (min-width: 768px) {
  .service-section .pair-card {
    max-width: 640px;
    width: 100%;
    justify-self: center;
  }
}

@media (min-width: 992px) {
  .service-section .pair-card {
    max-width: 720px;
  }
}

/* Card external link indicator */
.service-section .pricing-card::after {
  content: '\f35d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 20px;
  color: #01A0E9;
  font-size: 16px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.service-section .pricing-card:hover::after {
  opacity: 1;
  transform: translateX(3px);
}

/* Card action text */
.service-section .pricing-card .card-action {
  text-align: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  color: #01A0E9;
  font-weight: 600;
  font-size: 14px;
}

.service-section .pricing-card .card-action i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-section .pricing-card:hover .card-action i {
  transform: translateX(3px);
}

/* Service Notes */
.service-notes {
  margin-top: 60px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
  text-align: center;
}

.note-text {
  font-size: 0.95em;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.inline-link {
  color: #01A0E9;
  text-decoration: underline;
}

.inline-link:hover {
  color: #0056b3;
}

.contact-link-container {
  margin-top: 20px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #01A0E9;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-link:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Responsive Design for Service Sections */
@media (max-width: 768px) {
  .service-section {
    padding: 30px 0;
    margin-bottom: 40px;
  }
  
  .service-header h3 {
    font-size: 1.6em;
    flex-direction: column;
    gap: 8px;
  }
  
  .service-header p {
    font-size: 1em;
  }
  
  .service-section .pricing-card {
    padding: 25px;
  }
  
  .service-section .pricing-card .price {
    font-size: 2em;
  }
  
  .service-section .pricing-card h4 {
    font-size: 1.1em;
  }
  
  .service-notes {
    padding: 20px;
  }
}

.client-testimonials {
  position: relative;
}

/* Simple Carousel Navigation */
.carousel-navigation {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 120px;
}

.carousel-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.carousel-btn:active {
  transform: translateY(0);
}

.carousel-btn:disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  transform: none;
  opacity: 0.6;
}

.carousel-btn:disabled:hover {
  background: #ccc;
  transform: none;
  box-shadow: none;
}