/* Main Styles */

/* Variables */
:root {
  --color-primary: #ff5a1f;
  --color-primary-light: #fdba8c;
  --color-primary-dark: #b43403;
  --color-secondary: #f59e0b;
  --color-secondary-light: #fcd34d;
  --color-secondary-dark: #b45309;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-orange-50: #fff8f1;
  --color-orange-100: #feecdc;
  --color-orange-200: #fcd9bd;
  --color-orange-300: #fdba8c;
  --color-orange-400: #ff8a4c;
  --color-orange-500: #ff5a1f;
  --color-orange-600: #d03801;
  --color-orange-700: #b43403;
  --color-orange-800: #8a2c0d;
  --color-orange-900: #771d1d;
  --color-amber-50: #fffbeb;
  --color-amber-100: #fef3c7;
  --color-amber-200: #fde68a;
  --color-amber-300: #fcd34d;
  --color-amber-400: #fbbf24;
  --color-amber-500: #f59e0b;
  --color-amber-600: #d97706;
  --color-amber-700: #b45309;
  --color-amber-800: #92400e;
  --color-amber-900: #78350f;
  --color-gold-500: #f59e0b;
  --color-gold-600: #d97706;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius-sm: 0.125rem;
  --border-radius: 0.25rem;
  --border-radius-md: 0.375rem;
  --border-radius-lg: 0.5rem;
  --border-radius-xl: 0.75rem;
  --border-radius-2xl: 1rem;
  --border-radius-3xl: 1.5rem;
  --border-radius-full: 9999px;
}

/* Base Styles */
html {
  font-size: 16px;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
  color: var(--color-gray-800);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

a {
  color: var(--color-orange-600);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-orange-700);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* アクセントカラーのユーティリティクラス */
.accent {
  color: var(--color-orange-500);
}

.emphasis {
  font-weight: 500;
}

/* Layout */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.section-inner {
  max-width: 64rem;
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--color-orange-100);
  background: linear-gradient(to right, var(--color-white), var(--color-orange-50), var(--color-white));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(4px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem; /* 0.75rem 0から変更して左右に余白を追加 */
}

.header-logo-wrapper {
  display: flex;
  align-items: center;
  padding-left: 0.5rem; /* 左側に余白を追加 */
}

.header-logo-link {
  display: block;
  text-decoration: none;
}

.header-logo {
  height: auto;
  max-width: 100%;
}

.header-text {
  display: flex;
  flex-direction: column;
  margin-left: 0.75rem;
}

.header-text-top {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-600);
}

.header-text-bottom {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-orange-600);
}

.header-nav {
  display: none;
}

@media (min-width: 768px) {
  .header-nav {
    display: block;
  }
}

.header-menu {
  display: flex;
  gap: 1.5rem;
}

.header-menu li {
  position: relative;
}

.header-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
  transition: color 0.2s;
}

.header-menu a:hover {
  color: var(--color-orange-600);
}

/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - 14em); /* 7emから14emに変更してさらに短く */
  max-height: 600px; /* 680pxからさらに80px短く */
  min-height: 300px; /* 380pxからさらに80px短く */
}

.hero-image-container {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25); /* 0.4から0.25に透明度を下げる */
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-text-container {
  max-width: 36rem;
  padding: 1.5rem;
}

.hero-title {
  margin-bottom: 1.25rem; /* 1.75remから短くして空間を節約 */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-title-line {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem; /* 0.75remから短くして空間を節約 */
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title-line {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .hero-title-line {
    font-size: 2.25rem;
  }
}

.hero-title-accent {
  color: var(--color-orange-100);
}

.hero-description {
  margin-bottom: 1.5rem; /* 2.25remから短くして空間を節約 */
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-white);
  max-width: 32rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-features {
  margin-bottom: 1.5rem; /* 2remから短くして空間を節約 */
  display: flex;
  flex-direction: column;
  gap: 0.15rem; /* 0.2remから短くして空間を節約 */
}

.hero-feature {
  display: flex;
  align-items: center;
  height: 1.5rem; /* 1.75remから短くして空間を節約 */
}

.hero-feature-icon {
  margin-right: 0.5rem;
  height: 1.25rem;
  width: 1.25rem;
  color: var(--color-orange-200);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: translateY(-0.6em); /* アイコンを0.6文字分上にずらす */
}

.hero-feature-text {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2; /* 行の高さを調整して文字が中央に来るようにする */
}

@media (min-width: 768px) {
  .hero-text-container {
    padding: 1.5rem; /* 2remから短くして空間を節約 */
  }

  .hero-feature {
    height: 1.75rem; /* 2remから短くして空間を節約 */
  }

  .hero-feature-icon {
    height: 1.5rem;
    width: 1.5rem;
  }

  .hero-feature-text {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .hero-text-container {
    padding: 2rem; /* 2.5remから短くして空間を節約 */
  }
}

/* Problems Section */
.problems-section {
  background-color: var(--color-white);
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .problems-section {
    padding: 7rem 0;
  }
}

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

.section-title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-500);
}

.problems-container {
  margin-bottom: 3.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.problems-list {
  background-color: var(--color-orange-50);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-orange-100);
}

.problem-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.problem-checkbox {
  margin-right: 1rem;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  border: 2px solid var(--color-orange-300);
  border-radius: var(--border-radius-md);
  transition: border-color 0.2s;
  position: relative;
}

.problem-checkbox::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 0.75rem;
  width: 0.75rem;
  background-color: var(--color-orange-400);
  opacity: 0;
  transition: opacity 0.2s;
}

.problem-item:hover .problem-checkbox {
  border-color: var(--color-orange-500);
}

.problem-text {
  font-size: 1rem;
  color: var(--color-gray-700);
}

.problem-conclusion {
  margin-top: 2rem;
  text-align: center;
}

.problem-conclusion p {
  font-weight: 500;
  color: var(--color-orange-700);
}

.problem-conclusion span {
  font-weight: 700;
}

/* Before After Section */
.before-after-section {
  margin-bottom: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.swipe-instruction {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  text-align: center; /* 中央揃えを追加 */
}

.testimonials-slider-container {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  width: 100%; /* 幅を明示的に設定 */
  padding: 0.5rem 0; /* 上下にパディングを追加 */
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  height: 2rem;
  width: 2rem;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-full);
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.slider-arrow:hover {
  background-color: var(--color-white);
}

.slider-arrow-left {
  left: 0;
}

@media (min-width: 768px) {
  .slider-arrow-left {
    left: 0.5rem;
  }
}

.slider-arrow-right {
  right: 0;
}

@media (min-width: 768px) {
  .slider-arrow-right {
    right: 0.5rem;
  }
}

.slider-arrow svg {
  color: var(--color-orange-500);
}

.testimonials-slider {
  display: flex;
  overflow-x: auto;
  padding-bottom: 2rem;
  padding-left: 0.5rem; /* 左側のパディングを追加 */
  padding-right: 0.5rem; /* 右側のパディングを追加 */
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 1rem;
  -webkit-overflow-scrolling: touch; /* iOSでのスムーズなスクロールを有効化 */
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 280px;
  max-width: 85vw;
  flex-shrink: 0;
  scroll-snap-align: center;
  padding: 1rem;
  height: auto; /* 100%からautoに変更 */
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
  transition: all 0.3s;
}

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

@media (min-width: 640px) {
  .testimonial-card {
    min-width: 320px;
  }
}

@media (min-width: 768px) {
  .testimonial-card {
    min-width: 360px;
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    min-width: 400px;
  }
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.testimonial-client {
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-period {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.testimonial-images {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.testimonial-image-container {
  position: relative;
  width: 50%;
}

.testimonial-image-label {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  z-index: 10;
  padding: 0.125rem 0.375rem;
  border-radius: var(--border-radius);
  font-size: 0.625rem;
  color: var(--color-white);
}

.before-label {
  background-color: rgba(0, 0, 0, 0.6);
}

.after-label {
  background-color: var(--color-orange-500);
}

.testimonial-image-wrapper {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-orange-200);
}

.testimonial-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-results {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.testimonial-result-container {
  text-align: center;
}

.testimonial-result-label {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

.testimonial-result-value {
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-result-detail {
  font-size: 0.625rem;
  color: var(--color-gray-500);
}

.testimonial-result-arrow {
  color: var(--color-orange-500);
}

.testimonial-achievement {
  margin-top: 0.5rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.testimonial-achievement span {
  display: inline-block;
  border-radius: var(--border-radius-full);
  background-color: var(--color-orange-100);
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-orange-700);
}

.testimonial-achievement-detail {
  font-size: 0.625rem;
  margin-left: 0.25rem;
}

.testimonial-comment {
  padding: 0.75rem;
  background-color: var(--color-orange-50);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-orange-100);
  height: 7.5rem;
  overflow-y: auto;
}

.testimonial-comment p {
  font-size: 0.75rem;
  color: var(--color-gray-700);
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.25rem;
}

.slider-dot {
  width: 2rem;
  height: 0.25rem;
  border-radius: var(--border-radius-full);
  background-color: var(--color-orange-200);
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.slider-dot.active {
  background-color: var(--color-orange-400);
}

/* Rebound Science Section */
.rebound-science-section {
  margin-bottom: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.section-description {
  color: var(--color-gray-700);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.rebound-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-orange-100);
}

.rebound-card-header {
  padding: 1.5rem;
  background: linear-gradient(to right, var(--color-orange-100), var(--color-amber-100), var(--color-orange-50));
  text-align: center; /* ヘッダーのテキストを中央揃えに */
}

.rebound-card-icon-wrapper {
  display: flex; /* inline-flexからflexに変更 */
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  margin-left: auto; /* 左右中央揃えのために追加 */
  margin-right: auto; /* 左右中央揃えのために追加 */
  border-radius: var(--border-radius-full);
  background: linear-gradient(to right, var(--color-orange-400), var(--color-amber-500));
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.rebound-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--color-orange-600), var(--color-amber-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center; /* タイトルを中央揃えに */
}

.rebound-card-content {
  padding: 1.5rem 2rem;
}

.rebound-principle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rebound-principle-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  border-radius: var(--border-radius-full);
  background: linear-gradient(to right, var(--color-orange-50), var(--color-amber-50));
  border: 1px solid var(--color-orange-100);
  box-shadow: var(--shadow-sm);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--color-orange-500), var(--color-amber-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: box-shadow 0.3s;
}

.rebound-principle:hover .rebound-principle-number {
  box-shadow: var(--shadow-md);
}

.rebound-principle-content {
  flex: 1;
}

.rebound-principle-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-orange-600);
  margin-bottom: 0.5rem;
}

.rebound-principle-description {
  color: var(--color-gray-700);
  line-height: 1.5;
}

.rebound-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-orange-100), transparent);
  margin: 2rem 0;
}

.rebound-card-footer {
  padding: 1.5rem 2rem;
  background: linear-gradient(to right, var(--color-amber-50), var(--color-orange-50));
  border-top: 1px solid var(--color-orange-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .rebound-card-footer {
    flex-direction: row;
  }
}

.rebound-card-footer-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--border-radius-full);
  background: linear-gradient(to right, var(--color-orange-200), var(--color-amber-300));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.rebound-card-footer-icon svg {
  height: 1.5rem;
  width: 1.5rem;
  color: var(--color-white);
}

.rebound-card-footer-text {
  font-weight: 500;
  color: var(--color-gray-700);
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 768px) {
  .rebound-card-footer-text {
    text-align: left;
  }
}

.rebound-card-footer-text .emphasis {
  font-weight: 700;
  color: var(--color-orange-600);
  margin-left: 0.25rem;
}

/* Comparison Section */
.comparison-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.comparison-title {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--color-orange-600), var(--color-amber-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
  text-align: center;
}

.comparison-table-container {
  position: relative;
  overflow-x: auto;
  margin: 0 -1rem;
  padding: 0 1rem;
  scroll-snap-type: x mandatory; /* スワイプ機能を追加 */
  scrollbar-width: none; /* Firefox用のスクロールバー非表示 */
  -ms-overflow-style: none; /* IE/Edge用のスクロールバー非表示 */
}

.comparison-table-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari用のスクロールバー非表示 */
}

.comparison-table {
  min-width: 100%;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 1rem;
  scroll-snap-align: center; /* スワイプ時の位置合わせを追加 */
}

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

.comparison-header-cell {
  padding: 1rem;
  font-weight: 500;
}

.comparison-header-item {
  background: linear-gradient(to right, var(--color-orange-50), var(--color-orange-100));
  border-top-left-radius: var(--border-radius-lg);
  border-bottom: 1px solid var(--color-orange-200);
}

.comparison-header-general {
  background-color: var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-200);
}

.comparison-header-k2 {
  background: linear-gradient(to right, var(--color-orange-100), var(--color-amber-100));
  border-top-right-radius: var(--border-radius-lg);
  border-bottom: 1px solid var(--color-orange-200);
  color: var(--color-orange-700);
}

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

.comparison-cell {
  padding: 1rem;
  border-bottom: 1px solid var(--color-orange-100);
}

.comparison-item {
  background-color: var(--color-orange-50);
  font-weight: 500;
  color: var(--color-gray-700);
}

.comparison-general {
  background-color: var(--color-white);
  color: var(--color-gray-600);
}

.comparison-k2 {
  background-color: var(--color-orange-50);
  font-weight: 500;
  color: var(--color-orange-600);
}

.comparison-row:last-child .comparison-item {
  border-bottom-left-radius: var(--border-radius-lg);
}

.comparison-row:last-child .comparison-k2 {
  border-bottom-right-radius: var(--border-radius-lg);
}

.comparison-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.25rem;
}

.comparison-dot {
  width: 2rem;
  height: 0.25rem;
  border-radius: var(--border-radius-full);
  background-color: var(--color-orange-200);
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.comparison-dot.active {
  background-color: var(--color-orange-400);
}

/* Why Now Section - 新しいスタイル */
.why-now-section {
  background-color: var(--color-white);
  padding: 4rem 0;
  margin-top: -2rem; /* 上のセクションとの間隔を調整 */
}

.why-now-card {
  margin-top: 2rem;
  background: linear-gradient(to right, var(--color-orange-50), var(--color-amber-50));
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-orange-100);
}

.why-now-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .why-now-card-content {
    flex-direction: row;
    padding: 2rem;
  }
}

.why-now-card-image-container {
  width: 100%;
  height: 250px;
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .why-now-card-image-container {
    width: 33.333%;
    height: auto;
  }
}

.why-now-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 90, 31, 0.1), rgba(245, 158, 11, 0.1));
  z-index: 1;
}

.why-now-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-now-card-text {
  flex: 1;
}

.why-now-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-orange-600);
  margin-bottom: 1rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .why-now-card-title {
    font-size: 1.5rem;
  }
}

.why-now-card-description {
  color: var(--color-gray-700);
  margin-bottom: 1.5rem;
}

.why-now-card-description p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.why-now-card-description p:last-child {
  margin-bottom: 0;
}

.why-now-card-conclusion {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  border: 1px solid var(--color-orange-100);
  font-weight: 500;
  color: var(--color-orange-600);
}

/* Access Section */
.access-section {
  padding: 4rem 0;
  background-color: var(--color-white);
}

.map-container {
  height: 500px;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
  margin-bottom: 2rem;
}

/* 施設スライダーのスタイル強化 */
.facility-slider-container {
  margin-top: 2rem;
  padding: 0.5rem 0;
  position: relative;
  overflow: hidden;
}

.facility-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 0.5rem 0.5rem 1.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.facility-slider::-webkit-scrollbar {
  display: none;
}

.facility-slide {
  position: relative;
  min-width: 300px;
  max-width: 85vw;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}

.facility-slide:hover {
  transform: translateY(-5px);
}

.facility-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius-xl);
  transition: transform 0.5s ease;
}

.facility-slide:hover .facility-image {
  transform: scale(1.05);
}

.facility-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: var(--color-white);
  padding: 1rem;
  border-bottom-left-radius: var(--border-radius-xl);
  border-bottom-right-radius: var(--border-radius-xl);
}

@media (min-width: 768px) {
  .facility-slide {
    min-width: 350px;
  }

  .facility-image {
    height: 350px;
  }
}

@media (min-width: 1024px) {
  .facility-slide {
    min-width: 400px;
  }

  .facility-image {
    height: 400px;
  }
}

/* Footer */
.footer {
  background-color: var(--color-gray-100);
  padding: 3.5rem 0;
  color: var(--color-gray-700);
}

.footer-logo {
  height: auto;
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.footer-company {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 500;
}

.footer-info {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
}

.footer-info-icon {
  margin-right: 0.75rem;
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  color: var(--color-orange-500);
}

.footer-info-title {
  font-weight: 500;
  color: var(--color-gray-700);
}

.footer-info-text {
  color: var(--color-gray-700);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 2rem;
}

.footer-menu a {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  transition: color 0.2s;
}

.footer-menu a:hover {
  color: var(--color-orange-600);
}

.footer-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* Sticky Footer */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-orange-100);
  box-shadow: var(--shadow-lg);
}

.sticky-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

@media (min-width: 768px) {
  .sticky-footer-content {
    flex-direction: row;
    padding: 0.75rem 1rem;
  }
}

.sticky-footer-info {
  flex: 1;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .sticky-footer-info {
    width: auto;
    text-align: left;
  }
}

.sticky-footer-badge {
  display: inline-block;
  background-color: var(--color-orange-100);
  color: var(--color-orange-600);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: var(--border-radius-full);
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .sticky-footer-badge {
    margin-bottom: 0;
    margin-right: 0.75rem;
  }
}

.sticky-footer-offer {
  font-weight: 700;
  color: var(--color-gray-800);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .sticky-footer-offer {
    font-size: 1rem;
    display: inline-block;
  }
}

.sticky-footer-price-old {
  text-decoration: line-through;
  color: var(--color-gray-500);
  margin-right: 0.25rem;
}

.sticky-footer-price-new {
  color: var(--color-orange-600);
}

.sticky-footer-buttons {
  display: flex;
  width: 100%;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .sticky-footer-buttons {
    width: auto;
    gap: 0.75rem;
  }
}

.sticky-footer-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  border-radius: var(--border-radius);
  color: var(--color-white);
  transition: background-color 0.2s;
  text-decoration: none;
}

@media (min-width: 768px) {
  .sticky-footer-button {
    flex: none;
    height: 3rem;
    padding: 0 1.5rem;
    font-size: 1rem;
  }
}

.sticky-footer-button-icon {
  margin-right: 0.375rem;
  height: 1rem;
  width: 1rem;
}

/* ボタンスタイル */
.sticky-footer-button.phone-button {
  background-color: var(--color-orange-500);
}

.sticky-footer-button.phone-button:hover {
  background-color: var(--color-orange-600);
}

.sticky-footer-button.line-button {
  background-color: #06c755;
}

.sticky-footer-button.line-button:hover {
  background-color: #05a748;
}

/* Utility Classes */
.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:hidden {
    display: none;
  }
}

/* WordPress Core Styles */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.wp-caption img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption-text {
  margin: 0.8075rem 0;
  font-size: 0.875rem;
  font-style: italic;
  text-align: center;
}

.gallery {
  margin-bottom: 1.5rem;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Tailwind-like Utility Classes */
.bg-white {
  background-color: var(--color-white);
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-4xl {
  max-width: 56rem;
}

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

.mb-10 {
  margin-bottom: 2.5rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-bold {
  font-weight: 700;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.text-slate-700 {
  color: var(--color-gray-700);
}

.max-w-2xl {
  max-width: 42rem;
}

.rounded-xl {
  border-radius: var(--border-radius-xl);
}

.overflow-hidden {
  overflow: hidden;
}

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

.border {
  border-width: 1px;
}

.border-orange-100 {
  border-color: var(--color-orange-100);
}

.h-\[500px\] {
  height: 500px;
}

.mb-12 {
  margin-bottom: 3rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-slate-800 {
  color: var(--color-gray-800);
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

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

.h-5 {
  height: 1.25rem;
}

.w-5 {
  width: 1.25rem;
}

.text-orange-500 {
  color: var(--color-orange-500);
}

.mr-2 {
  margin-right: 0.5rem;
}

.relative {
  position: relative;
}

.left-0 {
  left: 0;
}

.top-1\/2 {
  top: 50%;
}

.z-10 {
  z-index: 10;
}

.h-8 {
  height: 2rem;
}

.w-8 {
  width: 2rem;
}

.-translate-y-1\/2 {
  transform: translateY(-50%);
}

.rounded-full {
  border-radius: 9999px;
}

.bg-white\/90 {
  background-color: rgba(255, 255, 255, 0.9);
}

.transition-all {
  transition-property: all;
}

.hover\:bg-white:hover {
  background-color: var(--color-white);
}

.focus\:outline-none:focus {
  outline: none;
}

.min-w-\[300px\] {
  min-width: 300px;
}

.max-w-\[85vw\] {
  max-width: 85vw;
}

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

.snap-center {
  scroll-snap-align: center;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.h-\[300px\] {
  height: 300px;
}

.object-cover {
  object-fit: cover;
}

.absolute {
  position: absolute;
}

.bottom-0 {
  bottom: 0;
}

.right-0 {
  right: 0;
}

.bg-black\/50 {
  background-color: rgba(0, 0, 0, 0.5);
}

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

.p-3 {
  padding: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-medium {
  font-weight: 500;
}

.mt-4 {
  margin-top: 1rem;
}

.gap-2 {
  gap: 0.5rem;
}

.w-6 {
  width: 1.5rem;
}

.h-1 {
  height: 0.25rem;
}

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

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

.transition-colors {
  transition-property: color, background-color, border-color;
}

.duration-300 {
  transition-duration: 300ms;
}

@media (min-width: 768px) {
  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
  }

  .md\:left-2 {
    left: 0.5rem;
  }

  .md\:right-2 {
    right: 0.5rem;
  }

  .md\:px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .lg\:text-4xl {
    font-size: 2.25rem;
  }
}

/* Comparison Table Styles */
.comparison-table-container {
  position: relative;
  overflow-x: auto;
  margin: 0 -1rem;
  padding: 0 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.comparison-table-container::-webkit-scrollbar {
  display: none;
}

.comparison-table {
  min-width: 100%;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 1rem;
  scroll-snap-align: center;
}

/* コストパフォーマンス比較表のスタイル */
.cost-comparison-table {
  min-width: 700px;
}

.cost-comparison-table .comparison-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cost-comparison-table .comparison-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cost-comparison-table .comparison-header-cell,
.cost-comparison-table .comparison-cell {
  padding: 1rem 1.25rem; /* セルの余白を増やす */
  font-size: 0.875rem;
  line-height: 1.5;
}

.cost-comparison-table .comparison-header-item {
  background: linear-gradient(to right, var(--color-orange-50), var(--color-orange-100));
  border-top-left-radius: var(--border-radius-lg);
  border-bottom: 1px solid var(--color-orange-200);
  font-weight: 500;
}

.cost-comparison-table .comparison-header-k2 {
  background: linear-gradient(to right, var(--color-orange-300), var(--color-amber-300));
  border-bottom: 1px solid var(--color-orange-200);
  color: var(--color-white);
  font-weight: 700;
}

.cost-comparison-table .comparison-header-general {
  background-color: var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-200);
  font-weight: 500;
}

.cost-comparison-table .comparison-header-general:last-child {
  border-top-right-radius: var(--border-radius-lg);
}

.cost-comparison-table .comparison-item {
  background-color: var(--color-orange-50);
  font-weight: 500;
  color: var(--color-gray-700);
  border-bottom: 1px solid var(--color-orange-100);
}

.cost-comparison-table .comparison-k2 {
  background-color: var(--color-orange-50);
  font-weight: 500;
  color: var(--color-orange-600);
  border-bottom: 1px solid var(--color-orange-100);
}

.cost-comparison-table .comparison-general {
  background-color: var(--color-white);
  color: var(--color-gray-600);
  border-bottom: 1px solid var(--color-gray-100);
}

/* スワイプ機能のためのスタイル */
@media (max-width: 768px) {
  .cost-comparison-table {
    min-width: 600px;
  }

  .cost-comparison-table .comparison-header-cell,
  .cost-comparison-table .comparison-cell {
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
  }
}

/* Features Section */
.features-section {
  background-color: var(--color-gray-50);
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .features-section {
    padding: 7rem 0;
  }
}

.feature-card {
  margin-bottom: 2rem;
  background-color: var(--color-white);
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-orange-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 10px 25px -5px rgba(255, 90, 31, 0.1);
}

.feature-card-header {
  padding: 1.5rem;
  background: linear-gradient(to right, var(--color-orange-100), var(--color-amber-100), var(--color-orange-50));
  text-align: center;
  border-bottom: 1px solid var(--color-orange-100);
}

.feature-card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: var(--border-radius-full);
  background: linear-gradient(to right, var(--color-orange-500), var(--color-amber-600));
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.feature-card-icon {
  width: 2rem;
  height: 2rem;
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin-bottom: 0;
  line-height: 1.4;
}

.feature-card-content {
  padding: 1.5rem;
}

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-point {
  display: flex;
  align-items: flex-start;
}

.feature-point-bullet {
  margin-right: 0.75rem;
  margin-top: 0.375rem;
  height: 0.75rem;
  width: 0.75rem;
  flex-shrink: 0;
  border-radius: var(--border-radius-full);
  background: linear-gradient(to right, var(--color-orange-400), var(--color-amber-500));
  box-shadow: var(--shadow-sm);
}

.feature-point-text {
  color: var(--color-gray-700);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.comparison-table-wrapper {
  margin-top: 1.5rem;
}

/* コストパフォーマンス比較表のスタイル調整 */
.cost-comparison-table {
  min-width: 700px;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cost-comparison-table .comparison-header-cell {
  padding: 1.25rem;
  font-weight: 600;
  text-align: center;
}

.cost-comparison-table .comparison-cell {
  padding: 1.25rem;
  text-align: center;
  line-height: 1.5;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.slider-dot {
  width: 2.5rem;
  height: 0.375rem;
  border-radius: var(--border-radius-full);
  background-color: var(--color-orange-200);
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.slider-dot.active {
  background-color: var(--color-orange-500);
}

@media (max-width: 768px) {
  .feature-card-title {
    font-size: 1.125rem;
  }

  .feature-point-text {
    font-size: 0.9375rem;
  }

  .cost-comparison-table .comparison-header-cell,
  .cost-comparison-table .comparison-cell {
    padding: 1rem;
    font-size: 0.875rem;
  }
}

/* コース案内セクション */
.courses-section {
  background-color: var(--color-white);
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .courses-section {
    padding: 7rem 0;
  }
}

/* コースセクションのスライダーコンテナ */
.courses-slider-container {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  padding-bottom: 1rem;
}

/* コースセクションのスライダー */
.courses-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.25rem; /* カード間の間隔を調整 */
  padding: 0.5rem 0.5rem 2rem; /* 上下のパディングを調整 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.courses-slider::-webkit-scrollbar {
  display: none;
}

/* コースカードのスタイル */
.course-card {
  position: relative;
  min-width: 280px; /* カードの最小幅 */
  max-width: 320px; /* カードの最大幅を設定 */
  width: 100%; /* 幅を100%に設定 */
  flex-shrink: 0;
  scroll-snap-align: center;
  background-color: var(--color-white);
  border-radius: 0.75rem; /* 角丸を調整 */
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1); /* 影を調整 */
  border: 1px solid #f0f0f0; /* 境界線を薄く */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

/* カードホバー時の効果 */
.course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 推奨コースのスタイル */
.course-card-recommended {
  border: 1px solid var(--color-orange-300);
  box-shadow: 0 4px 12px rgba(208, 56, 1, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* コースカードのヘッダー */
.course-card-header {
  padding: 1rem 1.25rem; /* パディングを調整 */
  background: linear-gradient(135deg, var(--color-orange-50), var(--color-amber-50)); /* グラデーションを調整 */
  text-align: center;
  border-bottom: 1px solid #f0f0f0; /* 境界線を薄く */
}

/* コースのタイトル */
.course-card-title {
  font-size: 1.25rem; /* フォントサイズを調整 */
  font-weight: 700;
  color: var(--color-gray-800);
  margin-bottom: 0.25rem; /* マージンを調整 */
  line-height: 1.3;
}

/* コースのサブタイトル */
.course-card-subtitle {
  font-size: 0.875rem; /* フォントサイズを調整 */
  color: var(--color-gray-600);
  font-weight: 500;
}

/* コースカードのコンテンツ部分 */
.course-card-content {
  padding: 1rem; /* パディングを調整 */
  flex-grow: 1; /* 残りのスペースを埋める */
  display: flex;
  flex-direction: column;
}

/* コースオプションのコンテナ */
.course-options {
  margin-bottom: 1rem; /* マージンを調整 */
}

/* 個々のコースオプション */
.course-option {
  background-color: var(--color-gray-50); /* 背景色を調整 */
  border-radius: 0.5rem; /* 角丸を調整 */
  padding: 0.75rem; /* パディングを調整 */
  margin-bottom: 0.75rem; /* マージンを調整 */
  border: 1px solid #f0f0f0; /* 境界線を薄く */
}

.course-option:last-child {
  margin-bottom: 0;
}

/* コースオプションのタイトル */
.course-option-title {
  font-size: 1rem; /* フォントサイズを調整 */
  font-weight: 700;
  color: var(--color-orange-600);
  margin-bottom: 0.25rem; /* マージンを調整 */
  text-align: center;
}

/* コースオプションの区切り線 */
.course-option-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-orange-100), transparent);
  margin: 0.5rem 0; /* マージンを調整 */
}

/* コースの価格表示 */
.course-card-price {
  font-size: 1.125rem; /* フォントサイズを調整 */
  font-weight: 700;
  color: var(--color-orange-600);
  text-align: center;
  margin-bottom: 0.5rem; /* マージンを調整 */
}

/* コースの詳細情報 */
.course-card-details {
  display: flex;
  justify-content: space-around;
  margin-bottom: 0.75rem; /* マージンを調整 */
}

.course-card-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem; /* ギャップを調整 */
}

.course-card-detail-icon {
  color: var(--color-orange-500);
  height: 1rem; /* サイズを調整 */
  width: 1rem; /* サイズを調整 */
}

/* コースの特徴部分 */
.course-card-features {
  margin-top: auto; /* 下部に配置 */
  padding-top: 0.75rem; /* 上部のパディングを追加 */
  border-top: 1px solid #f0f0f0; /* 上部の境界線 */
}

/* 「こんな方におすすめ」のタイトル */
.course-card-features-title {
  font-size: 0.875rem; /* フォントサイズを調整 */
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 0.5rem; /* マージンを調整 */
  text-align: center;
}

/* 特徴リスト */
.course-card-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 特徴リストの各項目 */
.course-card-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.375rem; /* ギャップを調整 */
  margin-bottom: 0.375rem; /* マージンを調整 */
  font-size: 0.75rem; /* フォントサイズを調整 */
  color: var(--color-gray-700);
}

.course-card-feature:last-child {
  margin-bottom: 0;
}

.course-card-feature-icon {
  color: var(--color-orange-500);
  flex-shrink: 0;
  margin-top: 0.125rem; /* マージンを調整 */
  height: 0.875rem; /* サイズを調整 */
  width: 0.875rem; /* サイズを調整 */
}

/* 人気No.1バッジ */
.course-card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-amber-500));
  color: var(--color-white);
  font-size: 0.625rem; /* フォントサイズを調整 */
  font-weight: 700;
  padding: 0.25rem 0.5rem; /* パディングを調整 */
  border-radius: var(--border-radius-full);
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影を調整 */
}

/* お支払い方法のスタイル */
.payment-method-description {
  text-align: center;
  color: var(--color-gray-700);
  font-size: 0.875rem; /* フォントサイズを調整 */
  margin: 0.5rem 0;
}

.payment-method-example {
  text-align: center;
  color: var(--color-gray-600);
  font-size: 0.75rem; /* フォントサイズを調整 */
  font-style: italic;
  margin-top: 0.5rem;
}

.payment-cards {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem; /* マージンを調整 */
}

.payment-card-icon {
  color: var(--color-orange-500);
}

/* スライダーの矢印ナビゲーション */
.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.slider-arrow:hover {
  background-color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow-left {
  left: 0.5rem;
}

.slider-arrow-right {
  right: 0.5rem;
}

.slider-arrow svg {
  color: var(--color-orange-500);
  height: 1.25rem;
  width: 1.25rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .course-card {
    min-width: 260px; /* モバイルでの最小幅 */
    max-width: 85vw; /* モバイルでの最大幅 */
  }

  .course-card-title {
    font-size: 1.125rem; /* モバイルでのフォントサイズ */
  }

  .course-option-title {
    font-size: 0.9375rem; /* モバイルでのフォントサイズ */
  }

  .course-card-price {
    font-size: 1rem; /* モバイルでのフォントサイズ */
  }
}

/* Trainers Section */
.trainers-section {
  background-color: var(--color-white);
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .trainers-section {
    padding: 7rem 0;
  }
}

.trainers-slider-container {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  padding-bottom: 1rem;
}

.trainers-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 0.5rem 0.5rem 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.trainers-slider::-webkit-scrollbar {
  display: none;
}

.trainer-card {
  min-width: 280px;
  max-width: 90vw;
  width: 100%;
  flex-shrink: 0;
  scroll-snap-align: center;
  background-color: var(--color-white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: auto; /* 高さを自動調整に変更 */
}

.trainer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.05);
}

.trainer-card-image-wrapper {
  width: 100%;
  height: 0; /* 高さを0に設定 */
  padding-bottom: 133%; /* アスペクト比3:4（4/3 = 1.33）を維持 */
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-orange-100);
}

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

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

/* 画像オーバーレイとグラデーション */
.trainer-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0) 60%);
  z-index: 1;
}

/* 画像内の情報表示 */
.trainer-card-image-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem; /* 追加：右側にも余白を設定 */
  z-index: 2;
  color: var(--color-white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.trainer-card-image-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.trainer-card-image-position {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.trainer-card-image-achievement {
  font-size: 0.75rem;
  font-weight: 400;
  background-color: var(--color-orange-500);
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

.trainer-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* 要素間の間隔 */
}

.trainer-card-awards {
  margin-bottom: 0; /* 調整 */
}

.trainer-card-awards-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-orange-100);
  padding-bottom: 0.5rem;
}

.trainer-card-awards-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trainer-card-awards-list li {
  font-size: 0.75rem;
  color: var(--color-gray-600);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}

.trainer-card-awards-list li:before {
  /* 追加：リストアイテムの前にマーカーを表示 */
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-orange-200);
  border-radius: 50%;
  transform: translateY(-50%);
}

.trainer-card-awards-list li:last-child {
  margin-bottom: 0;
}

.trainer-card-message {
  font-size: 0.875rem;
  color: var(--color-gray-700);
  font-style: italic;
  line-height: 1.6;
  background-color: var(--color-orange-50);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-orange-100);
  margin-top: auto; /* 下部に配置 */
}

.trainer-card-message p {
  margin: 0;
}

@media (min-width: 768px) {
  .trainer-card {
    min-width: 320px;
  }

  .trainer-card-image-wrapper {
    height: 380px; /* タブレット用の高さ */
  }

  .trainer-card-image-name {
    font-size: 1.5rem;
  }

  .trainer-card-image-position {
    font-size: 1rem;
  }

  .trainer-card-image-achievement {
    font-size: 0.875rem;
  }

  .trainer-card-awards-title {
    font-size: 1rem;
  }

  .trainer-card-awards-list li {
    font-size: 0.875rem;
  }

  .trainer-card-message {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .trainer-card {
    min-width: 340px; /* 幅を調整 */
  }

  .trainer-card-image-wrapper {
    height: 400px; /* デスクトップ用の高さ */
  }
}

/* Why Now Section - 拡張スタイル */
.why-now-additional-content {
  margin-top: 3rem;
}

.why-now-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .why-now-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-now-additional-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-now-additional-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.why-now-additional-image-container {
  position: relative;
  width: 100%;
  height: 16rem;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
}

.why-now-additional-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.why-now-additional-item:hover .why-now-additional-image-container img {
  transform: scale(1.05);
}

.why-now-additional-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.why-now-additional-image-container div {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  color: var(--color-white);
  z-index: 2;
}

.why-now-additional-image-container h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.why-now-additional-image-container p {
  font-size: 0.875rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

/* ステップセクション - 再最適化 */
.steps-section {
  background-color: var(--color-gray-50);
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .steps-section {
    padding: 7rem 0;
  }
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

.step-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.step-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--border-radius-full);
  background: linear-gradient(to right, var(--color-orange-500), var(--color-amber-600));
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.step-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin-bottom: 0.75rem;
}

.step-card-description {
  color: var(--color-gray-600);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.step-card-time {
  color: var(--color-orange-500);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

/* LINE登録者限定特典セクション - 更新版 */
.cta-section {
  background-color: var(--color-white);
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 6rem 0;
  }
}

.cta-card {
  background: linear-gradient(135deg, var(--color-orange-50), var(--color-amber-50));
  border-radius: var(--border-radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-orange-100);
  position: relative;
  overflow: hidden;
}

.cta-card-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-card-title {
  font-size: 1.3rem; /* 元のサイズから小さくする */
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #1f2937;
}

@media (min-width: 768px) {
  .cta-card-title {
    font-size: 1.5rem; /* 元のサイズから小さくする */
  }
}

.cta-card-description {
  color: var(--color-gray-700);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 28rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 1.5rem;
  border-radius: var(--border-radius-lg);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
  flex: 1;
  color: var(--color-white);
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button.line-button {
  background-color: #06c755;
}

.cta-button.line-button:hover {
  background-color: #05a748;
}

.cta-button.phone-button {
  background-color: var(--color-orange-500);
}

.cta-button.phone-button:hover {
  background-color: var(--color-orange-600);
}

.cta-button-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

.cta-note {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-orange-600);
  margin-bottom: 2rem;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-orange-200);
}

.cta-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-badge-icon {
  color: var(--color-orange-500);
}

.cta-badge-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-700);
}

@media (min-width: 768px) {
  .cta-card {
    padding: 3rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }

  .cta-badges {
    gap: 2rem;
  }

  .cta-badge-item span {
    font-size: 1rem;
  }
}

/* よくある質問セクション */
.faq-section {
  background-color: var(--color-gray-50);
  padding: 5rem 0;
  position: relative;
}

.faq-container {
  margin-top: 3rem;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to right, var(--color-orange-50), var(--color-amber-50));
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-800);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(to right, var(--color-orange-100), var(--color-amber-100));
}

.faq-question:focus {
  outline: 2px solid var(--color-orange-300);
  outline-offset: -2px;
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-orange-500);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), padding 0.3s ease, opacity 0.3s ease;
  padding: 0 1.5rem;
  opacity: 0;
  background-color: var(--color-white);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 1.5rem;
  border-top: 1px solid var(--color-orange-100);
  opacity: 1;
  transition: max-height 1s ease-in-out, padding 0.3s ease, opacity 0.5s ease;
}

.faq-answer p {
  color: var(--color-gray-700);
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 768px) {
  .faq-question {
    font-size: 1.25rem;
    padding: 1.5rem 2rem;
  }

  .faq-item.active .faq-answer {
    padding: 2rem;
  }
}

/* モバイル最適化 */
@media (max-width: 640px) {
  .faq-question {
    font-size: 1rem;
    padding: 1rem 1.25rem;
  }

  .faq-icon {
    width: 1rem;
    height: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 1.25rem;
  }
}

/* アクセスポイントカードのスタイル */
.access-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.access-point-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.access-point-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  border-radius: var(--border-radius-full);
  background: linear-gradient(to right, var(--color-orange-400), var(--color-amber-500));
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.access-point-icon {
  width: 2rem;
  height: 2rem;
}

.access-point-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin-bottom: 1rem;
}

.access-point-description {
  color: var(--color-gray-600);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.access-cta {
  background-color: var(--color-orange-50);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
}

.access-cta-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-gray-700);
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.access-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .access-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* LINE登録者限定特典セクション */
.line-benefits-section {
  background-color: var(--color-white);
  padding: 5rem 0;
  position: relative;
}

@media (min-width: 768px) {
  .line-benefits-section {
    padding: 7rem 0;
  }
}

.line-benefits-card {
  background: linear-gradient(135deg, var(--color-orange-50), var(--color-amber-50));
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-orange-100);
  position: relative;
}

.line-benefits-header {
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
  background: linear-gradient(to right, var(--color-orange-100), var(--color-amber-100), var(--color-orange-50));
  border-bottom: 1px solid var(--color-orange-100);
}

.line-benefits-badge {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-amber-600));
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  z-index: 10;
}

/* タイトルの上部マージンを追加して間隔を作る */
.line-benefits-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin-bottom: 0.5rem;
  margin-top: 1.5rem; /* この行を追加：バッジとタイトルの間隔を一文字分程度確保 */
}

.line-benefits-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  font-weight: 500;
}

.line-benefits-content {
  padding: 2.5rem 2rem;
}

.line-benefits-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.line-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.line-benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.line-benefit-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--border-radius-full);
  background: linear-gradient(to right, var(--color-orange-400), var(--color-amber-500));
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.line-benefit-icon {
  width: 1.75rem;
  height: 1.75rem;
}

.line-benefit-content {
  flex: 1;
}

.line-benefit-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.line-benefit-description {
  color: var(--color-gray-600);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.line-benefit-highlight {
  font-weight: 700;
  color: var(--color-orange-600);
  background-color: var(--color-orange-100);
  padding: 0.125rem 0.375rem;
  border-radius: var(--border-radius);
  white-space: nowrap;
}

.line-benefit-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-orange-100);
  box-shadow: var(--shadow-sm);
}

.line-benefit-price-original {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gray-400);
  text-decoration: line-through;
}

.line-benefit-price-arrow {
  color: var(--color-gray-500);
  font-size: 1.125rem;
}

.line-benefit-price-special {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-orange-600);
}

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

.line-benefits-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #06c755;
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-decoration: none;
  margin-bottom: 1rem;
}

.line-benefits-button:hover {
  background-color: #05a748;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
}

.line-benefits-button-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
}

.line-benefits-note {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  font-weight: 500;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .line-benefits-header {
    padding: 2rem 1.5rem 1.5rem;
  }

  .line-benefits-badge {
    top: 0.75rem; /* モバイル表示時のバッジ位置を調整 */
    font-size: 0.75rem;
    padding: 0.375rem 1.25rem;
  }

  /* モバイル表示時の調整 */
  .line-benefits-title {
    font-size: 1.5rem;
    margin-top: 1.25rem; /* モバイル表示時の間隔も調整 */
  }

  .line-benefits-subtitle {
    font-size: 1rem;
  }

  .line-benefits-content {
    padding: 2rem 1.5rem;
  }

  .line-benefit-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem;
  }

  .line-benefit-title {
    font-size: 1rem;
  }

  .line-benefit-description {
    font-size: 0.9375rem;
  }

  .line-benefit-price {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .line-benefit-price-original {
    font-size: 1rem;
  }

  .line-benefit-price-arrow {
    font-size: 1rem;
  }

  .line-benefit-price-special {
    font-size: 1.25rem;
  }
}

/* .cta-card-title のフォントサイズを小さくする */
.cta-card-title {
  font-size: 1.3rem; /* 元のサイズから小さくする */
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #1f2937;
}

/* レスポンシブ対応も調整 */
@media (min-width: 768px) {
  .cta-card-title {
    font-size: 1.5rem; /* 元のサイズから小さくする */
  }
}

/* スライダーのCSSを修正して、モバイル表示を改善します */

.testimonials-slider-container {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  width: 100%; /* 幅を明示的に設定 */
  padding: 0.5rem 0; /* 上下にパディングを追加 */
}

.testimonials-slider {
  display: flex;
  overflow-x: auto;
  padding-bottom: 2rem;
  padding-left: 0.5rem; /* 左側のパディングを追加 */
  padding-right: 0.5rem; /* 右側のパディングを追加 */
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 1rem;
  -webkit-overflow-scrolling: touch; /* iOSでのスムーズなスクロールを有効化 */
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 280px;
  max-width: 85vw;
  flex-shrink: 0;
  scroll-snap-align: center;
  padding: 1rem;
  height: auto; /* 100%からautoに変更 */
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  background-color: var(--color-white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
  transition: all 0.3s;
}

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

/* モバイル表示の最適化 */
@media (max-width: 768px) {
  .testimonials-slider-container {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: auto;
  }

  .testimonial-card {
    min-width: 260px; /* モバイルでは少し小さく */
    padding: 0.75rem; /* パディングも少し小さく */
  }

  .testimonial-images {
    gap: 0.25rem; /* 画像間の隙間を小さく */
  }

  .testimonial-image-wrapper {
    aspect-ratio: 2 / 3;
  }

  .testimonial-comment {
    height: 6rem; /* モバイルでは少し小さく */
  }
}

/* 画像表示の最適化 */
.testimonial-image-wrapper {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-orange-200);
}

.testimonial-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 既存のCTAボタンスタイルを修正 */
.cta-button-icon {
  margin-right: 0.375rem;
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
}

/* 本文下部に余白を追加して固定フッターと重ならないようにする */
main {
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  main {
    padding-bottom: 4rem;
  }
}

/* ガイド表紙画像のスタイル */
.guide-cover-image {
  display: inline-block;
  vertical-align: middle;
  margin-right: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  transition: transform 0.3s ease;
  max-height: 120px;
  width: auto;
}

.guide-cover-image:hover {
  transform: scale(1.05);
}

.guide-title-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.line-benefit-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  flex: 1;
  min-width: 200px;
}

@media (max-width: 768px) {
  .guide-cover-image {
    max-width: 80px;
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .guide-title-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .line-benefit-title {
    margin-top: 0.5rem;
  }
}

/* ガイド表紙画像のスタイル - 中央揃え最適化 */
.guide-cover-image {
  display: block;
  margin: 0 auto 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  transition: transform 0.3s ease;
  max-height: 150px;
  width: auto;
}

.guide-cover-image:hover {
  transform: scale(1.05);
}

.guide-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 15px;
  width: 100%;
}

.line-benefit-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  text-align: center;
}

.line-benefit-description {
  text-align: center;
  margin-bottom: 1rem;
}

/* LINE特典アイテムのレイアウト調整 */
.line-benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.line-benefit-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line-benefit-icon-wrapper {
  margin-bottom: 0.5rem;
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
  .guide-cover-image {
    max-height: 180px;
    margin-bottom: 20px;
  }

  .line-benefit-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  .guide-cover-image {
    max-height: 130px;
  }

  .line-benefit-item {
    padding: 1.25rem;
  }
}

/* Tailwind-like Utility Classes */
.text-orange-500 {
  color: var(--color-orange-500);
}

.text-orange-600 {
  color: var(--color-orange-600);
}

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

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

.border-orange-100 {
  border-color: var(--color-orange-100);
}

.hover\:bg-orange-600:hover {
  background-color: var(--color-orange-600);
}

.facility-slider-container .slider-dot {
  width: 6rem;
  height: 0.25rem;
  border-radius: var(--border-radius-full);
  background-color: var(--color-orange-200);
  transition: background-color 0.3s;
}

.facility-slider-container .slider-dot.active {
  background-color: var(--color-orange-400);
}

.facility-slider-container .slider-arrow svg {
  color: var(--color-orange-500);
}

.why-now-additional-image-container {
  position: relative;
  width: 100%;
  height: 16rem;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-orange-100);
}

.h-5.w-5.text-orange-500.mr-2 {
  color: var(--color-orange-500);
}

.border-orange-100 {
  border-color: var(--color-orange-100);
}

.text-orange-600 {
  color: var(--color-orange-600);
}
