/* ============================================================
   文系アカデミア - Main Stylesheet (v3 mobile-first)
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --navy:        #1a2e4a;
  --navy-dark:   #122038;
  --navy-light:  #223a5e;
  --green:       #1d4d3a;
  --green-mid:   #2a6150;
  --green-light: #e8f4f0;
  --accent:      #d4a843;
  --accent-hover:#c09030;
  --accent-light:#fdf3dc;
  --blue:        #2563a8;
  --blue-light:  #e8f0fb;
  --line-green:  #06c755;
  --line-hover:  #05a847;
  --gray-50:     #f7f8fa;
  --gray-100:    #eef0f4;
  --gray-200:    #dde1e9;
  --gray-400:    #9aa3b2;
  --gray-600:    #5a6476;
  --gray-800:    #2d3748;
  --white:       #ffffff;

  --font-sans:   'Noto Sans JP', sans-serif;
  --font-serif:  'Noto Serif JP', serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.07);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.13);

  --transition:  0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  /* 横スクロール防止 */
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  /* モバイルで十分な左右余白 */
  padding: 0 20px;
}

/* ---------- Section ---------- */
/* モバイルファースト：小さい値から設定 */
.section { padding: 56px 0; }
.bg-light { background: var(--gray-50); }

.section-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--green-mid);
  background: var(--green-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 10px;
}
.section-desc {
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  text-align: center;
  /* モバイルでテキストが折り返せるよう nowrap を外す */
  white-space: normal;
  word-break: keep-all;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
/* モバイルでは lg も少し小さめ */
.btn-lg { font-size: 0.97rem; padding: 15px 28px; }
.btn-block { width: 100%; }

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

.btn-outline  { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-ghost    { background: rgba(255,255,255,.18); color: var(--white); border-color: rgba(255,255,255,.9); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.30); border-color: var(--white); }

.btn-white    { background: var(--white); color: var(--navy-dark); border-color: var(--white); }
.btn-white:hover { background: var(--gray-100); }

.btn-line     { background: var(--line-green); color: var(--white); border-color: var(--line-green); }
.btn-line:hover { background: var(--line-hover); border-color: var(--line-hover); }

.btn-line-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-line-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,46,74,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.04em;
  flex-shrink: 0;
}
.logo:hover { opacity: .85; }

/* デスクトップナビはデフォルト非表示（モバイルファースト） */
.site-nav {
  display: none;
}
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav ul li a {
  color: rgba(255,255,255,.85);
  font-size: 0.82rem; font-weight: 500;
  padding: 6px 10px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.site-nav ul li a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--navy-dark) !important;
  font-weight: 700 !important;
  padding: 7px 14px !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* ハンバーガーボタン：モバイルで常に表示 */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  /* タップしやすい最低44pxのヒットエリア */
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイル用ドロワーナビ */
.site-nav.open {
  display: block;
  position: absolute; top: 60px; left: 0; right: 0;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 8px 0 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.site-nav.open ul { flex-direction: column; gap: 0; }
.site-nav.open ul li a {
  display: block;
  padding: 13px 24px;
  border-radius: 0;
  font-size: 0.93rem;
  /* タップしやすい高さ確保 */
  min-height: 44px;
  display: flex; align-items: center;
}
.site-nav.open .nav-cta {
  margin: 8px 16px 0;
  border-radius: var(--radius-sm) !important;
  justify-content: center;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  /* モバイル：ヘッダー60px + 余白 */
  padding: 100px 0 72px;
  overflow: hidden;
  background: var(--navy-dark);
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-image: url('/static/hero-student.jpg');
  background-size: cover;
  /* モバイルで上半身が見えるよう調整 */
  background-position: center 20%;
  background-repeat: no-repeat; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(18,32,56,.88) 0%,
    rgba(26,46,74,.80) 50%,
    rgba(29,77,58,.60) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.92);
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 5px 16px; border-radius: 100px; margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-serif);
  /* モバイルファースト：1.7rem から開始 */
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 0.88rem;
  line-height: 1.9;
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-cta .btn {
  width: 100%;
  max-width: 320px;
}

.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0;
  z-index: 2;
}
.hero-wave svg { width: 100%; height: 48px; }

/* ============================================================
   WORRIES
   ============================================================ */
/* モバイル：1列 */
.worries-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
/* 4枚グリッドもモバイルは1列 */
.worries-grid--4 { grid-template-columns: 1fr; }

.worry-card {
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-left: 4px solid transparent;
}
.worry-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

/* カードごとにアクセントカラー（左ボーダーに変更してモバイルで見やすく） */
.worry-card--1 { background: #eef3fb; border-left-color: var(--blue); }
.worry-card--2 { background: var(--green-light); border-left-color: var(--green-mid); }
.worry-card--3 { background: var(--accent-light); border-left-color: var(--accent); }
.worry-card--4 { background: #f0eef8; border-left-color: #6c5fc7; }

.worry-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}
.worry-card--1 .worry-icon { color: var(--blue); }
.worry-card--2 .worry-icon { color: var(--green-mid); }
.worry-card--3 .worry-icon { color: var(--accent-hover); }
.worry-card--4 .worry-icon { color: #6c5fc7; }

.worry-card p { font-size: 0.9rem; color: var(--gray-800); line-height: 1.65; }
.worry-card strong { color: var(--navy); }

.worries-resolve {
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white); border-radius: var(--radius-md);
  padding: 18px 20px; font-weight: 700; font-size: 0.97rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
}

/* ============================================================
   STRENGTHS
   ============================================================ */
.strengths { background: var(--white); }

/* モバイル：縦積み */
.strength-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
/* reverseもモバイルは同じ縦積み */
.strength-row--reverse { flex-direction: column; }

.strength-row-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
  width: 100%;
}
.strength-row-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.strength-row-img:hover img { transform: scale(1.04); }

.strength-row-num {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.15em; margin-bottom: 10px;
}
.accent-navy { color: var(--navy); }
.accent-green { color: var(--green-mid); }

.strength-row-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 700;
  color: var(--navy); line-height: 1.5; margin-bottom: 12px;
}
.strength-row-body p {
  font-size: 0.88rem; color: var(--gray-600);
  line-height: 1.9; margin-bottom: 16px;
}
.strength-row-points { display: flex; flex-direction: column; gap: 8px; }
.strength-row-points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.86rem; font-weight: 500; color: var(--gray-800);
  line-height: 1.5;
}
.strength-row-points li i { color: var(--green-mid); font-size: 0.9rem; flex-shrink: 0; margin-top: 3px; }

/* 強み03 バナー */
.strength-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--green) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.strength-banner-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--accent);
  flex-shrink: 0;
}
.strength-banner-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 700; margin-bottom: 8px;
}
.strength-banner-body p { font-size: 0.86rem; color: rgba(255,255,255,.85); line-height: 1.8; }
.strength-banner-tags {
  display: flex; flex-direction: row;
  flex-wrap: wrap; justify-content: center;
  gap: 8px;
}
.strength-banner-tags span {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: 0.82rem; font-weight: 700;
  padding: 6px 18px; border-radius: 100px;
  letter-spacing: 0.06em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
  /* モバイルでは縦に余裕を持たせる */
  aspect-ratio: 16/9;
}
.service-visual img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 40%;
}
.service-visual-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(18,32,56,.78));
  padding: 20px 20px;
}
.service-visual-overlay p {
  color: var(--white); font-weight: 700; font-size: 0.88rem;
  display: flex; align-items: center; gap: 8px;
}

/* モバイル：1列 */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.service-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--navy); }

.service-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1rem;
}
.si-navy { background: var(--navy); }
.si-blue { background: var(--blue); }
.si-green { background: var(--green-mid); }
.si-line { background: var(--line-green); }

.service-text h4 { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.4; }
.service-text p { font-size: 0.82rem; color: var(--gray-600); line-height: 1.7; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--white); }

/* モバイル：1列 */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.pricing-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, #f7f9fc 0%, #ffffff 100%);
  /* モバイルで transform: translateY(-8px) は邪魔なのでなし */
}
.pricing-card.featured:hover { transform: translateY(-4px); }

.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: var(--white);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 20px; border-radius: 100px; white-space: nowrap;
}
.pricing-head { margin-bottom: 20px; }
.plan-name { font-size: 0.95rem; font-weight: 700; color: var(--gray-600); margin-bottom: 8px; letter-spacing: 0.04em; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.price-num { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price-unit { font-size: 0.83rem; color: var(--gray-600); font-weight: 500; }

.plan-features { margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.86rem; color: var(--gray-800);
  line-height: 1.5;
}
.plan-features li i { color: var(--green-mid); font-size: 0.85rem; flex-shrink: 0; margin-top: 3px; }
.plan-features li.not-included { color: var(--gray-400); }
.plan-features li.not-included i { color: var(--gray-400); }

.pricing-note {
  text-align: center; font-size: 0.85rem; color: var(--gray-600);
  background: var(--gray-100); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 32px;
  line-height: 1.7;
}
.pricing-note strong { color: var(--navy); }
.pricing-note i { color: var(--navy); margin-right: 6px; }

.section-cta { text-align: center; }
.section-cta p { color: var(--gray-600); font-size: 0.88rem; margin-bottom: 14px; line-height: 1.7; }

/* ============================================================
   FIT
   ============================================================ */
/* モバイル：1列 */
.fit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.fit-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 18px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}
.fit-item:hover { transform: translateX(4px); border-color: var(--navy); }

.fit-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.fit-icon--1 { background: var(--blue-light); color: var(--blue); }
.fit-icon--2 { background: var(--green-light); color: var(--green-mid); }
.fit-icon--3 { background: var(--accent-light); color: var(--accent-hover); }
.fit-icon--4 { background: #f0eef8; color: #6c5fc7; }
.fit-icon--5 { background: #fde8e8; color: #c0392b; }

.fit-item p { font-size: 0.88rem; color: var(--gray-800); line-height: 1.65; }
.fit-item strong { color: var(--navy); }

/* ============================================================
   TRANSFORMATION
   ============================================================ */
.transformation { background: var(--white); }

.transformation-visual {
  position: relative;
  border-radius: var(--radius-md); overflow: hidden;
  margin-bottom: 32px; box-shadow: var(--shadow-md);
  aspect-ratio: 16/9;
}
.transformation-visual img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 35%;
}
.transformation-visual-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(29,77,58,.78));
  padding: 20px 20px;
}
.transformation-visual-overlay p {
  color: var(--white); font-weight: 700; font-size: 0.88rem;
  display: flex; align-items: center; gap: 8px;
  line-height: 1.5;
}
.transformation-visual-overlay i { color: var(--accent); flex-shrink: 0; }

/* モバイル：1列 */
.transformation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.transformation-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}
.transformation-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.ti--1 { border-left-color: var(--blue); }
.ti--2 { border-left-color: var(--green-mid); }
.ti--3 { border-left-color: var(--accent); }
.ti--4 { border-left-color: #6c5fc7; }
.ti--5 { border-left-color: var(--navy); }

.ti--1 .trans-icon { color: var(--blue); }
.ti--2 .trans-icon { color: var(--green-mid); }
.ti--3 .trans-icon { color: var(--accent-hover); }
.ti--4 .trans-icon { color: #6c5fc7; }
.ti--5 .trans-icon { color: var(--navy); }

.trans-icon { font-size: 1.4rem; margin-bottom: 12px; }
.transformation-item h4 {
  font-size: 0.93rem; font-weight: 700; color: var(--navy);
  margin-bottom: 8px; line-height: 1.5;
}
.transformation-item p { font-size: 0.83rem; color: var(--gray-600); line-height: 1.8; }

/* ============================================================
   FLOW
   ============================================================ */
/* モバイル：縦積み */
.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.flow-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: left;
}
.flow-step:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

.step-num {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--green-mid);
  flex-shrink: 0;
}
.step-icon {
  font-size: 1.4rem; color: var(--navy);
  flex-shrink: 0; width: 36px; text-align: center;
}
.flow-step-body { flex: 1; }
.flow-step h4 {
  font-size: 0.88rem; font-weight: 700; color: var(--navy);
  margin-bottom: 4px; line-height: 1.4;
}
.flow-step p { font-size: 0.8rem; color: var(--gray-600); line-height: 1.65; }

.flow-arrow { display: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden; background: var(--white);
}

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--white); border: none;
  padding: 16px 18px; text-align: left; cursor: pointer;
  font-family: var(--font-sans); font-size: 0.88rem; font-weight: 700;
  color: var(--navy); line-height: 1.5;
  transition: background var(--transition);
  /* タップしやすい最低44px */
  min-height: 44px;
}
.faq-q:hover { background: var(--gray-50); }
.faq-q[aria-expanded="true"] { background: var(--navy); color: var(--white); }
.faq-q[aria-expanded="true"] .faq-icon { color: var(--white); transform: rotate(180deg); }

.faq-q span { flex: 1; }
.faq-icon { flex-shrink: 0; font-size: 0.82rem; color: var(--gray-400); transition: transform var(--transition); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a.open { max-height: 600px; }
.faq-a p {
  padding: 16px 18px; font-size: 0.85rem;
  color: var(--gray-600); line-height: 1.85;
  border-top: 1px solid var(--gray-200);
}

/* ============================================================
   CONSULT
   ============================================================ */
/* モバイル：縦積み */
.consult-box {
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: var(--shadow-md);
}
.consult-badge {
  display: inline-block;
  background: var(--green-light); color: var(--green);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 14px; border-radius: 100px; margin-bottom: 14px;
}
.consult-detail h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 700; color: var(--navy);
  margin-bottom: 16px; line-height: 1.4;
}
.consult-detail h3 span { font-size: 1rem; color: var(--green-mid); }

.consult-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.consult-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; font-weight: 500; color: var(--gray-800);
  line-height: 1.5;
}
.consult-features li i { color: var(--green-mid); font-size: 0.95rem; flex-shrink: 0; margin-top: 2px; }

.consult-note {
  font-size: 0.83rem; color: var(--gray-600);
  line-height: 1.85; border-top: 1px solid var(--gray-200);
  padding-top: 14px;
}
.consult-note strong { color: var(--navy); }

.consult-cta { display: flex; flex-direction: column; gap: 12px; }
.consult-cta-note { font-size: 0.76rem; color: var(--gray-400); text-align: center; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--green) 100%);
  padding: 64px 0; text-align: center;
}
.final-cta h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 700;
  color: var(--white); line-height: 1.6; margin-bottom: 14px;
}
.final-cta p {
  color: rgba(255,255,255,.82); font-size: 0.88rem;
  line-height: 1.9; margin-bottom: 28px;
}
.final-cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.final-cta-btns .btn { width: 100%; max-width: 320px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-dark); padding: 40px 0 28px; text-align: center; }
.footer-logo {
  font-family: var(--font-serif); font-size: 1.1rem;
  font-weight: 700; color: var(--white); margin-bottom: 18px;
}
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 4px 16px; margin-bottom: 20px;
}
.footer-nav a {
  font-size: 0.8rem; color: rgba(255,255,255,.6);
  transition: color var(--transition);
  padding: 4px 0;
  /* タップしやすく */
  min-height: 36px; display: inline-flex; align-items: center;
}
.footer-nav a:hover { color: var(--white); }
.footer-note { font-size: 0.76rem; color: rgba(255,255,255,.35); margin-bottom: 10px; padding: 0 16px; line-height: 1.7; }
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,.4); }

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — Tablet (min 640px)
   ============================================================ */
@media (min-width: 640px) {
  .container { padding: 0 28px; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }
  .section-title { font-size: 1.7rem; }

  .header-inner { height: 64px; padding: 0 24px; }
  .logo { font-size: 1.1rem; }

  .hero { padding: 120px 0 88px; min-height: 580px; }
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-wave svg { height: 56px; }
  .hero-cta { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .hero-cta .btn { width: auto; max-width: none; }

  /* worries：2列 */
  .worries-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .worry-card { flex-direction: column; text-align: center; padding: 28px 18px; border-left: none; border-top: 4px solid transparent; }
  .worry-card--1 { border-top-color: var(--blue); }
  .worry-card--2 { border-top-color: var(--green-mid); }
  .worry-card--3 { border-top-color: var(--accent); }
  .worry-card--4 { border-top-color: #6c5fc7; }
  .worry-card:hover { transform: translateY(-5px); }
  .worry-icon { margin-bottom: 12px; width: auto; }

  /* strength：縦積みのまま（画像全幅） */
  .strength-banner { flex-direction: row; text-align: left; padding: 36px 36px; gap: 28px; }
  .strength-banner-tags { flex-direction: column; }

  /* services：2列 */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-visual { aspect-ratio: 21/7; }

  /* pricing：2列（ライト+スタンダード、プレミアム別） */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  /* featuredを3番目に並べるため full widthにしない→そのまま */

  /* fit：2列 */
  .fit-list { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* transformation */
  .transformation-visual { aspect-ratio: 21/7; }
  .transformation-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* flow：横並び（矢印あり） */
  .flow-steps { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .flow-step {
    flex-direction: column; text-align: center; align-items: center;
    flex: 1; min-width: 120px; max-width: 150px;
    padding: 22px 14px;
  }
  .flow-step h4 { font-size: 0.82rem; margin-bottom: 6px; }
  .flow-step p { font-size: 0.75rem; }
  .flow-arrow { display: flex; align-items: center; color: var(--gray-400); font-size: 1rem; align-self: center; }
  .step-icon { width: auto; }

  /* consult：2列 */
  .consult-box { flex-direction: row; gap: 40px; padding: 40px 36px; align-items: flex-start; }

  .final-cta { padding: 80px 0; }
  .final-cta h2 { font-size: 1.75rem; }
  .final-cta p { font-size: 0.93rem; }
  .final-cta-btns { flex-direction: row; justify-content: center; }
  .final-cta-btns .btn { width: auto; max-width: none; }
}

/* ============================================================
   RESPONSIVE — Desktop (min 900px)
   ============================================================ */
@media (min-width: 900px) {
  .container { padding: 0 32px; }

  .section { padding: 88px 0; }
  .section-header { margin-bottom: 56px; }
  .section-title { font-size: clamp(1.6rem, 3vw, 2rem); }

  /* ナビ：デスクトップで横並び表示 */
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav ul { flex-direction: row; }

  .hero { padding: 140px 0 100px; }
  .hero-title { font-size: clamp(2rem, 4vw, 2.8rem); }
  .hero-sub { font-size: 1rem; }
  .hero-wave svg { height: 60px; }

  /* worries：4列 */
  .worries-grid--4 { grid-template-columns: repeat(4, 1fr); }

  /* strength：左右レイアウト */
  .strength-row { flex-direction: row; gap: 56px; align-items: center; margin-bottom: 72px; }
  .strength-row--reverse { flex-direction: row-reverse; }
  .strength-row-img { width: auto; flex: 1; }
  .strength-row-body { flex: 1; }
  .strength-row-body h3 { font-size: 1.5rem; }

  .strength-banner { padding: 40px 48px; gap: 32px; }
  .strength-banner-body h3 { font-size: 1.3rem; }

  /* services：2列（幅広） */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* pricing：3列 */
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .pricing-card.featured { transform: translateY(-8px); }
  .pricing-card.featured:hover { transform: translateY(-12px); }

  /* fit：横並び（auto-fit） */
  .fit-list { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 860px; margin: 0 auto; }

  /* transformation：3列 */
  .transformation-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .flow-step { max-width: 160px; }

  .consult-box { padding: 48px; gap: 48px; }

  .btn-lg { font-size: 1rem; padding: 16px 36px; }
}
