/* ============================================
   カラーパレット（CSS カスタムプロパティ）
   ※ 学習ポイント: :root に変数を定義すると全体で使い回せる
     使い方: color: var(--primary);
   ============================================ */
:root {
  --primary: #2B8BAB;          /* プライマリカラー（サポーター、ボタンなど） */
  --primary-fg: #FFFFFF;       /* プライマリテキストカラー */
  --accent: hsl(25, 90%, 55%); /* アクセントカラー（星、アイコンなど） */
  --bg: #F8FAFB;               /* 背景色 */
  --fg: #1D2630;               /* テキストカラー */
  --muted: #67737E;            /* サブテキストカラー */
  --card: #FFFFFF;             /* カード背景色 */
  --border: #DCE2E5;           /* ボーダーカラー */
  --section-alt: hsl(200, 25%, 96%);
  --section-tint: hsl(195, 50%, 95%);
  --wave-primary: #2B8BAB;     /* ウェーブカラー */
  --wave-alt: hsl(200, 25%, 96%);
  --wave-base: #F8FAFB;
  --wave-tint: hsl(195, 50%, 95%);
  --footer-bg: hsl(200, 20%, 96%);
}

/* ============================================
   基本設定
   ============================================ */
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* ============================================
   ヘッダー
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 251, 0.7);
  backdrop-filter: blur(8px);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: #2B8BAB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon img {
  width: 20px;
  height: 20px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: #1D2630;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #1D2630;
  text-decoration: none;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  display: flex;
  height: 36px;
  padding: 0 12px;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #1D2630;
  cursor: pointer;
}

.btn-signup {
  display: flex;
  height: 36px;
  padding: 0 24px;
  justify-content: center;
  align-items: center;
  background: #2B8BAB;
  border: none;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #FFFFFF;
  cursor: pointer;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   タイポグラフィ
   見出し20px、本文18px、文字間隔5%
   ============================================ */
.spec-heading { 
  font-size: 20px; 
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.05em;
  color: #1D2630;
}

.spec-body { 
  font-size: 18px; 
  font-weight: 400;
  line-height: 29.25px;
  letter-spacing: 0.05em;
  color: #67737E;
}

/* ============================================
   ヒーローセクション
   文字間・行間を広げて視認性向上
   ============================================ */
.hero-title-enhanced {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
}

.hero-description-enhanced {
  letter-spacing: 0.05em;     /* 文字間隔5% */
  line-height: 1.8;           /* 行間を広げる */
  text-align: center;
}

/* ============================================
   ボタンスタイル 
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 9999px;
  font-weight: 600;
  gap: 8px;
}

.btn-enhanced {
  height: 56px;
  padding: 17px 42px 18px 42px;
  font-size: 18px;
}

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

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 2px solid #DCE2E5;
  font-weight: 500;
}

.btn-full-width {
  width: 100%;
  max-width: 343px;
}

.btn-white {
  background: white;
  color: var(--fg);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid hsla(0, 0%, 100%, 0.5);
}

/* ============================================
   共通レイアウトクラス
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 16px;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
}

.section {
  position: relative;
}

.section-title-wrapper {
  max-width: 1000px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.05em;
  color: #1D2630;
}

.section-title-small {
  font-size: 30px;
}

.section-description {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 29.25px;
  letter-spacing: 0.05em;
  color: #67737E;
  text-align: center;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-center {
  align-items: center;
  justify-content: center;
}

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

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

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

.gap-32 {
  gap: 32px;
}

.gap-48 {
  gap: 48px;
}

.gap-56 {
  gap: 56px;
}

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

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-12 {
  margin-bottom: 12px;
}

.mb-20 {
  margin-bottom: 20px;
}

.w-full {
  width: 100%;
}

.max-w-343 {
  max-width: 343px;
}

.max-w-520 {
  max-width: 520px;
}

.max-w-1000 {
  max-width: 1000px;
}

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

.p-16 {
  padding: 0 16px;
}

.p-24 {
  padding: 24px;
}

.p-32 {
  padding: 32px;
}

/* ============================================
   ヒーローセクションのクラス
   ============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-decoration-circle {
  position: absolute;
  border-radius: 9999px;
}

.hero-decoration-1 { width: 120px; height: 120px; background: rgba(43, 139, 171, 0.10); top: 8%;  right: 6%; }
.hero-decoration-2 { width: 100px; height: 100px; background: rgba(152, 205, 187, 0.15); bottom: 12%; left: 5%; }
.hero-decoration-3 { width: 80px;  height: 80px;  background: rgba(244, 123, 37, 0.10);  top: 55%;  right: 22%; }
.hero-decoration-4 { width: 14px;  height: 14px;  background: rgba(43, 139, 171, 0.25);  top: 18%;  left: 8%; }
.hero-decoration-5 { width: 10px;  height: 10px;  background: rgba(244, 123, 37, 0.20);  bottom: 20%; right: 10%; }
.hero-decoration-6 { width: 12px;  height: 12px;  background: rgba(152, 205, 187, 0.30); top: 70%;  left: 30%; }

.hero-container-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 16px 0;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 369px;
  padding: 0 16px;
}

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

.hero-text-wrapper {
  width: 100%;
  max-width: 1000px;
}

.hero-title {
  color: var(--fg);
}

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

.hero-description {
  margin-top: 24px;
  color: var(--muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.stat-value {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: var(--border);
}

/* ============================================
   カードスタイル
   ============================================ */
.card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.card-transparent {
  background: rgba(255, 255, 255, 0.80);
  border-radius: 16px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
}

.card-max-343 {
  width: 100%;
  max-width: 343px;
  margin: 0 auto;
}

/* ============================================
   お悩みセクションのクラス
   ============================================ */
.concerns-section {
  background: var(--section-alt);
  position: relative;
  overflow: hidden;
}

.concerns-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.concerns-decoration-circle {
  position: absolute;
  border-radius: 9999px;
}

.concerns-decoration-1 { width: 100px; height: 100px; background: rgba(43, 139, 171, 0.10); top: 10%; left: 8%; }
.concerns-decoration-2 { width: 90px; height: 90px; background: rgba(152, 205, 187, 0.15); bottom: 15%; right: 10%; }
.concerns-decoration-3 { width: 70px; height: 70px; background: rgba(244, 123, 37, 0.10); top: 50%; right: 20%; }
.concerns-decoration-4 { width: 12px; height: 12px; background: rgba(43, 139, 171, 0.25); top: 20%; right: 5%; }
.concerns-decoration-5 { width: 10px; height: 10px; background: rgba(244, 123, 37, 0.20); bottom: 25%; left: 15%; }
.concerns-decoration-6 { width: 14px; height: 14px; background: rgba(43, 139, 171, 0.30); top: 60%; left: 25%; }
.concerns-decoration-7 { width: 12px; height: 12px; background: rgba(244, 123, 37, 0.25);  top: 35%; right: 12%; }
.concerns-decoration-8 { width: 10px; height: 10px; background: rgba(152, 205, 187, 0.35); bottom: 40%; left: 45%; }

.pc-only { display: none; }

.concerns-section > .container {
  position: relative;
  z-index: 1;
}

.concern-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.concern-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.concern-icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 14px;
  background: hsla(25, 90%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.concern-icon svg {
  width: 36px;
  height: 36px;
}

.concern-image-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 1200px;
}

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

/* ============================================
   特徴セクションのクラス
   ============================================ */
.features-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.features-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.features-decoration-circle {
  position: absolute;
  border-radius: 9999px;
}

.features-decoration-1 { width: 110px; height: 110px; background: rgba(43, 139, 171, 0.10);  top: 8%;   right: 5%; }
.features-decoration-2 { width: 90px;  height: 90px;  background: rgba(152, 205, 187, 0.15); bottom: 10%; left: 6%; }
.features-decoration-3 { width: 70px;  height: 70px;  background: rgba(244, 123, 37, 0.10);  top: 50%;  right: 18%; }
.features-decoration-4 { width: 12px;  height: 12px;  background: rgba(43, 139, 171, 0.25);  top: 22%;  left: 10%; }
.features-decoration-5 { width: 10px;  height: 10px;  background: rgba(244, 123, 37, 0.20);  bottom: 28%; right: 8%; }
.features-decoration-6 { width: 14px;  height: 14px;  background: rgba(152, 205, 187, 0.30); top: 65%;  left: 25%; }

.feature-card {
  width: 100%;
  max-width: 343px;
  display: flex;
  flex-direction: column;
}

.feature-link {
  margin-top: auto;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-primary {
  background: hsla(195, 60%, 42%, 0.1);
}

.feature-icon-green {
  background: hsla(160, 35%, 70%, 0.2);
}

.feature-icon-orange {
  background: hsla(25, 90%, 55%, 0.1);
}

.feature-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.05em;
  color: #1D2630;
  margin-bottom: 12px;
}

.feature-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
}

/* ============================================
   3ステップセクションのクラス
   ============================================ */
.steps-section {
  background: #ECF5F9;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.step-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  line-height: 48px;
  color: #2B8BAB;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.05em;
  color: #1D2630;
}

.step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ============================================
   利用者の声セクションのクラス
   ============================================ */
.testimonials-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.testimonials-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.testimonials-decoration-circle {
  position: absolute;
  border-radius: 9999px;
}

.testimonials-decoration-1 { width: 14px; height: 14px; background: rgba(43, 139, 171, 0.25); top: 10%; right: 8%; }
.testimonials-decoration-2 { width: 12px; height: 12px; background: rgba(152, 205, 187, 0.30); bottom: 15%; left: 10%; }
.testimonials-decoration-3 { width: 10px; height: 10px; background: rgba(244, 123, 37, 0.20); top: 50%; right: 20%; }
.testimonials-decoration-4 { width: 12px; height: 12px; background: rgba(43, 139, 171, 0.20); top: 20%; left: 5%; }
.testimonials-decoration-5 { width: 10px; height: 10px; background: rgba(244, 123, 37, 0.25); bottom: 25%; right: 5%; }
.testimonials-decoration-6 { width: 14px; height: 14px; background: rgba(43, 139, 171, 0.25); top: 70%; left: 15%; }

.testimonial-item {
  display: flex;
  align-items: center;
  gap: 56px;
  width: 100%;
  max-width: 343px;
}


.testimonial-avatar-outside {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar-inside {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: auto;
  display: none; /* デフォルトは非表示（PC版でのみ非表示） */
}

.testimonial-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start; /* 左寄せ */
  position: relative;
  z-index: 1;
}

.testimonial-card {
  flex: 1;
}

.testimonial-text {
  color: var(--fg);
  line-height: 1.8;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-top: 12px;
}

.star {
  color: #F47B25;
  font-size: 16px;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

.testimonial-location {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================
   CTAセクションのクラス
   ============================================ */
.cta-section {
  background: #2B8BAB;
  position: relative;
  margin-top: -2px;
  overflow: hidden;
}

.cta-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-decoration-1 {
  position: absolute;
  left: 5%;
  top: 10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, 0.08);
}

.cta-decoration-2 {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: hsla(0, 0%, 100%, 0.06);
}

.cta-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 16px;
  text-align: center;
  z-index: 2;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  color: #FFFFFF;
}

.cta-description {
  font-size: 18px;
  font-weight: 400;
  line-height: 29.25px;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-top: 20px;
  opacity: 0.85;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
  max-width: 343px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FAQセクションのクラス
   ============================================ */
.faq-section {
  background: #F8FAFB;
  position: relative;
  overflow: hidden;
}

.faq-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.faq-decoration-circle {
  position: absolute;
  border-radius: 50%;
}

/* 装飾1 12×12 rgba(244,123,37,0.25) top:127/375 left:1123/1440 */
.faq-decoration-1 { width: 12px; height: 12px; background: rgba(244, 123, 37, 0.25); top: 33.87%; left: 77.99%; }
/* 装飾2 8×8 rgba(244,123,37,0.30) top:432/375 left:1000/1440 */
.faq-decoration-2 { width: 8px; height: 8px; background: rgba(244, 123, 37, 0.30); top: 115.2%; left: 69.44%; }
/* 装飾3 14×14 rgba(244,123,37,0.20) top:330/375 left:1325/1440 */
.faq-decoration-3 { width: 14px; height: 14px; background: rgba(244, 123, 37, 0.20); top: 88%; left: 92.01%; }
/* 装飾4-18: 8-16px */
.faq-decoration-4 { width: 10px; height: 10px; background: rgba(43, 139, 171, 0.25); top: 8%; left: 12%; }
.faq-decoration-5 { width: 12px; height: 12px; background: rgba(244, 123, 37, 0.20); top: 18%; right: 18%; }
.faq-decoration-6 { width: 8px; height: 8px; background: rgba(43, 139, 171, 0.30); bottom: 22%; left: 25%; }
.faq-decoration-7 { width: 14px; height: 14px; background: rgba(244, 123, 37, 0.25); bottom: 12%; right: 22%; }
.faq-decoration-8 { width: 10px; height: 10px; background: rgba(43, 139, 171, 0.20); top: 45%; left: 8%; }
.faq-decoration-9 { width: 12px; height: 12px; background: rgba(244, 123, 37, 0.30); top: 55%; right: 35%; }
.faq-decoration-10 { width: 8px; height: 8px; background: rgba(43, 139, 171, 0.35); bottom: 45%; left: 45%; }
.faq-decoration-11 { width: 16px; height: 16px; background: rgba(244, 123, 37, 0.20); top: 65%; left: 15%; }
.faq-decoration-12 { width: 10px; height: 10px; background: rgba(43, 139, 171, 0.25); top: 25%; left: 55%; }
.faq-decoration-13 { width: 8px; height: 8px; background: rgba(244, 123, 37, 0.25); top: 72%; right: 8%; }
.faq-decoration-14 { width: 12px; height: 12px; background: rgba(43, 139, 171, 0.20); bottom: 8%; left: 65%; }
.faq-decoration-15 { width: 10px; height: 10px; background: rgba(244, 123, 37, 0.30); top: 38%; right: 55%; }
.faq-decoration-16 { width: 8px; height: 8px; background: rgba(43, 139, 171, 0.30); bottom: 35%; right: 15%; }
.faq-decoration-17 { width: 14px; height: 14px; background: rgba(244, 123, 37, 0.20); top: 5%; left: 35%; }
.faq-decoration-18 { width: 10px; height: 10px; background: rgba(43, 139, 171, 0.25); bottom: 55%; right: 45%; }

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 16px;
  position: relative;
  z-index: 1;
}

.faq-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 343px;
  margin: 0 auto;
}

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

.faq-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.05em;
  color: #1D2630;
}

.faq-description {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 29.25px;
  letter-spacing: 0.05em;
  color: #67737E;
}

.faq-contact-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.faq-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 36px;
  background: transparent;
  border: 2px solid #DCE2E5;
  border-radius: 9999px;
  color: var(--fg);
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  min-width: 180px;
}

.faq-item {
  border-bottom: 1px solid hsla(200, 15%, 88%, 0.5);
  padding: 20px 0;
}

.faq-question {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 右側に「▼」アイコンを表示 */
.faq-question::after {
  content: '▼';
  font-size: 14px;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 16px;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* 開いたときに180度回転して「▲」に */
details[open] > .faq-question::after {
  transform: rotate(180deg);
}

/* ============================================
   フッタークラス
   ============================================ */
.footer {
  background: #F3F5F7;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 16px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
}

.footer-brand-section {
  flex: 1;
  min-width: 280px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-logo {
  width: 32px;
  height: 32px;
  background: #2B8BAB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-brand-logo img {
  width: 18px;
  height: 18px;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #263340;
}

.footer-description {
  margin-top: 16px;
  max-width: 400px;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #73808C;
}

.footer-email-form {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  max-width: 500px;
}

.footer-email-input {
  height: 52px;
  border-radius: 9999px;
  border: 1px solid hsl(200, 15%, 85%);
  background: white;
  padding: 0 28px;
  font-size: 16px;
  color: hsl(210, 25%, 20%);
  outline: none;
  flex: 1;
  max-width: 350px;
}

.footer-submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 0 36px;
  height: 52px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  min-width: 120px;
  max-width: 150px;
}

.footer-links-section {
  display: flex;
  flex-direction: column;
}

.footer-section-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #263340;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #73808C;
  text-decoration: none;
}

.footer-link-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid hsl(200, 15%, 88%);
}

.footer-bottom-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px;
  gap: 16px;
}

.footer-copyright {
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: #73808C;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-link {
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  color: #73808C;
  text-decoration: none;
}

/* ============================================
   ウェーブSVG
   ============================================ */
.wave {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -2px;
}

/* ============================================
   モバイルメニューパネル
   ============================================ */
.mobile-menu-panel-content {
  padding: 24px;
}

.mobile-close-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 32px;
}

.mobile-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-link {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #1D2630;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid #DCE2E5;
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.mobile-btn {
  display: flex;
  height: 48px;
  padding: 0 24px;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}

.mobile-btn-login {
  background: transparent;
  border: 2px solid #DCE2E5;
  color: #1D2630;
}

.mobile-btn-signup {
  background: #2B8BAB;
  border: none;
  color: #FFFFFF;
}

/* ============================================
   セクション共通クラス
   ============================================ */
.cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.cards-grid {
  flex: 1;
  min-width: 320px;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-with-image {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}

.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 343px;
  margin: 0 auto;
}

/* ============================================
   モバイルメニュー
   SP版でのナビゲーション表示
   ============================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

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

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: #FFFFFF;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-panel.active {
  right: 0;
}

/* ============================================
   レスポンシブデザイン - タブレット版（768px〜1023px）
   ヘッダーの崩れ対応
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  .header-container {
    padding: 12px 24px;
  }
  .header-nav {
    gap: 16px;
  }
  .brand-name {
    font-size: 16px;
  }
  .nav-link {
    font-size: 13px;
  }
}

/* ============================================
   レスポンシブデザイン - モバイル版（〜767px）
   ※ 学習ポイント: このファイルはデスクトップファーストで書かれている
     → 通常のスタイル（上部に書いたもの）がPC用
     → @media (max-width: 767px) 内でSP用に上書きする
     ※ モバイルファーストの場合は逆（通常=SP、@media (min-width: 768px) でPC上書き）
   ============================================ */
@media (max-width: 767px) {
  .header-nav,
  .auth-buttons {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .header-container {
    padding: 12px 16px;
  }
  .brand-name {
    font-size: 18px;
  }
  
  /* ============================================
     SP版: ロゴとハンバーガーメニュー
     - タッチ操作を考慮して48px×48px以上に
     ============================================ */
  .logo-icon {
    width: 48px;
    height: 48px;
  }
  
  .logo-icon img {
    width: 24px;
    height: 24px;
  }
  
  .mobile-menu-btn {
    width: 48px;
    height: 48px;
    padding: 12px;
  }
}

/* ============================================
   レスポンシブデザイン - デスクトップ版（768px〜）
   ============================================ */
@media (min-width: 768px) {
  /* PC版のみ表示する装飾 */
  .pc-only {
    display: block;
  }

  /* ハンバーガーメニューを非表示 */
  .mobile-menu-btn {
    display: none;
  }
  
  /* ヒーローセクション - PC版レイアウト */
  .hero-title-enhanced {
    font-size: clamp(36px, 5vw, 60px);
    text-align: left;
  }
  .hero-description-enhanced {
    text-align: left;
    margin-left: 0;
    padding-left: 0;
  }
  .hero-container {
    flex-direction: row;
  }
  .hero-buttons {
    justify-content: flex-start;
    flex-direction: row;
    padding-left: 0;
  }
  .hero-stats {
    justify-content: flex-start;
  }
  
  /* ============================================
     PC版: card-max-343 の幅制限を解除
     ============================================ */
  .card-max-343 {
    max-width: 100%;
  }

  /* ============================================
     PC版: .cards-wrapper を横並びに（特徴セクション）
     flex-direction: unset でベーススタイルの column をリセット → row（横並び）に戻す
     ============================================ */
  .cards-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: unset; /* デフォルトの flex-direction をリセットして横並びに */
    gap: 32px;
    align-items: center;
  }
  .feature-card {
    flex: 1;
    max-width: none;
  }

  /* ============================================
     PC版: .steps-wrapper を横並びに（3ステップセクション）
     同様に flex-direction: unset でリセット
     ============================================ */
  .steps-wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: unset; /* デフォルトの flex-direction をリセットして横並びに */
    gap: 32px;
    max-width: 1000px;
  }
  .step-card {
    flex: 1;
  }

  /* ============================================
     PC版: FAQ・CTAレイアウト
     ============================================ */
  .faq-inner {
    max-width: 900px;
  }
  .cta-buttons {
    flex-direction: row;
    max-width: 600px;
  }
  .cta-title br {
    display: none;
  }

  /* ============================================
     PC版: 利用者の声セクション
     - 画像とテキストを横並び
     - すべて左寄せ
     - 順序: 星→名前/場所→コメント
     ============================================ */
  .testimonials-container {
    max-width: 1000px;
    align-items: flex-start;
  }
  .testimonial-item {
    flex-direction: row;
    max-width: 100%;
    align-items: flex-start;
  }
  .testimonial-avatar-outside {
    display: block;
    width: 150px;
    height: 150px;
    margin: 0;
    flex-shrink: 0;
  }
  .testimonial-avatar-inside {
    display: none;
  }
  .testimonial-card {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .testimonial-card .testimonial-stars {
    order: 1;
    margin-top: 0;
  }
  .testimonial-card .testimonial-meta {
    order: 2;
    margin-top: 8px;
  }
  .testimonial-card .testimonial-text {
    order: 3;
    margin-top: 12px;
  }
}

/* ============================================
   SP版: 利用者の声セクション
   - アバターを上部に大きく表示、テキストを下に縦並び
   ============================================ */
@media (max-width: 767px) {
  /* SP版: テキストを上、画像を下に */
  .hero-text-wrapper {
    order: -1;
  }
  .hero-image-wrapper {
    order: 1;
  }
  .testimonials-container {
    align-items: center;
  }
  
  .testimonial-item {
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 343px;
  }
  
  /* SP版: アバターを上部に大きく表示 */
  .testimonial-avatar-outside {
    display: block;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    flex-shrink: 0;
    box-shadow: none;
  }
  
  /* SP版: カード内のアバターは非表示 */
  .testimonial-avatar-inside {
    display: none;
  }
  
  /* SP版: カードをflex columnにして順序を制御 */
  .testimonial-card {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  /* SP版: 星を先頭に */
  .testimonial-stars {
    order: 1;
    margin-top: 0;
  }
  
  /* SP版: 場所・名前を星の次に（縦並び） */
  .testimonial-meta {
    order: 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-top: 8px;
  }
  
  /* SP版: 場所を名前より上に */
  .testimonial-location {
    order: 1;
  }
  
  .testimonial-name {
    order: 2;
  }
  
  /* SP版: コメントを最後に */
  .testimonial-text {
    order: 3;
    margin-top: 12px;
  }
  
  /* ============================================
     SP版: フッター
     - 全体を中央寄せ
     - ロゴ48px、ボタン56px
     - メールアドレス欄角丸8px、幅100%
     ============================================ */
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }
  
  footer .footer-brand {
    justify-content: center;
  }
  
  footer .footer-brand-logo {
    width: 64px;
    height: 64px;
  }
  
  footer .footer-brand-logo img {
    width: 36px;
    height: 36px;
  }
  
  footer .footer-email-form {
    flex-direction: column;
    max-width: 100%;
  }
  
  footer .footer-email-input {
    border-radius: 9999px;
    height: 52px;
    flex: none; /* ベースの flex: 1 を無効化して height: 52px を有効にする */
    padding: 0 20px;
    max-width: 100%;
    font-size: 16px;
  }
  
  footer .footer-submit-btn {
    height: 52px;
    font-size: 18px;
    font-weight: 700;
    min-width: 140px;
    width: 100%;
    max-width: 100%;
    border-radius: 9999px;
  }
  
  footer .footer-links {
    align-items: center;
  }
  
  /* ============================================
     SP版: FAQセクション
     - タイトル中央寄せ、ボタン幅広げる
     ============================================ */
  .faq-header {
    text-align: center;
  }
  
  .faq-contact-btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* ============================================
     SP版: 3ステップセクション
     - タイトル・説明文を左揃え
     ============================================ */
  #steps .section-description {
    text-align: center;
  }

  #steps .spec-body {
    text-align: left;
  }

  /* ============================================
     SP版: お悩みセクション
     ============================================ */
  .concerns-section .section-title-wrapper {
    margin-bottom: 32px;
  }
}
