/* ==========================================
   Reset & Base
========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  background: #fff;
  padding-bottom: 60px;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { max-width: 100%; display: block; }

/* ==========================================
   ★ カラー設定（ここを変えると全体に反映）
========================================== */
:root {
  --red: #e83747;      /* メインカラー（赤） */
  --red-dark: #c0272e; /* ホバー時の赤 */
  --red-light: #f8d7da;
  --green: #00b900;    /* LINEボタン */
  --dark: #232323;     /* ダーク背景（上部バー・固定バー） */
  --dark2: #191919;
  --gray: #f5f5f5;
  --border: #e0e0e0;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ==========================================
   ① ダーク上部バー
========================================== */
.top-dark-bar {
  background: var(--dark);
  color: #ccc;
  font-size: 11px;
  text-align: center;
  padding: 6px 20px;
  letter-spacing: 0.03em;
}

/* ==========================================
   ② ヘッダー
========================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 52px;
  height: 52px;
  background: var(--red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-cross {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.logo-text {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}
.logo-text small { font-size: 10px; font-weight: 400; color: #888; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 0; }
.site-nav ul li a {
  display: block;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: #444;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav ul li a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* ==========================================
   ③ 赤プロモバー
========================================== */
.promo-bar {
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 500;
}
.promo-bar__btn {
  background: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 18px;
  border-radius: 3px;
  white-space: nowrap;
}

/* ==========================================
   ④ ヒーロー
========================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: #222;
}
.hero__slides { position: relative; }
.hero__slide { display: none; position: relative; }
.hero__slide--active { display: block; }
.hero__slide img { width: 100%; height: auto; display: block; max-height: 600px; object-fit: cover; }
.hero__overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__badge {
  background: rgba(255,255,255,0.92);
  border: 2px solid #ccc;
  border-radius: 6px;
  padding: 8px 14px;
  text-align: center;
  font-size: 11px;
  color: #333;
  line-height: 1.3;
}
.hero__badge strong { display: block; font-size: 15px; font-weight: 900; color: var(--red); }
.hero__badge-x { font-size: 18px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.hero__prev, .hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  width: 36px;
  height: 60px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__prev { left: 0; }
.hero__next { right: 0; }

/* ==========================================
   ⑤ 完全個別指導 画像セクション
========================================== */
.individ-section {
  background: #e8595a;
  text-align: center;
  padding: 0;
}
.individ-section img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==========================================
   ⑥ お悩みセクション（実画像）
========================================== */
.worries-section {
  background: #fff;
  padding: 0;
}
.worries-section__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px;
}
.worries-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   ⑦ POINTセクション（実画像）
========================================== */
.point-section {
  padding: 0;
  background: #fff;
}
.point-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}
.point-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   ⑧ ピンクバナー
========================================== */
.pink-banner {
  background: #fce8ec;
  text-align: center;
  padding: 28px 24px;
}
.pink-banner p { font-size: 13px; color: #666; }
.pink-banner__strong {
  font-size: 20px !important;
  font-weight: 700;
  color: var(--red) !important;
  margin-top: 6px;
}

/* ==========================================
   共通セクション見出し
========================================== */
.section-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: #333;
  margin-bottom: 8px;
}
.section-heading__line {
  width: 40px;
  height: 3px;
  background: var(--red);
  margin: 8px auto 24px;
}
.section-subheading-lined {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}
.section-subheading-lined__line {
  flex: 1;
  height: 1px;
  background: #ccc;
  max-width: 200px;
}
.section-subheading-lined__text {
  font-size: 16px;
  font-weight: 700;
  color: #555;
  text-align: center;
  white-space: nowrap;
}
.section-subheading-lined__text--red {
  color: var(--red);
  font-size: 26px;
}
.section-desc {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 40px;
}

/* ==========================================
   ⑨ 強みカード
========================================== */
.strength-section { padding: 60px 0; background: #fff; }

.strength-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.strength-cards--row2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.strength-card {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.strength-card__img { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #f0f0f0; }
.strength-card__img svg { width: 100%; height: 100%; }
.strength-card h4.strength-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  padding: 14px 16px 6px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 10px;
}
.strength-card__text {
  font-size: 12px;
  color: #666;
  padding: 0 16px 16px;
  line-height: 1.7;
}
.strength-more { text-align: right; margin-top: 32px; }

.btn-more {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 4px;
  transition: background 0.2s;
}
.btn-more:hover { background: var(--red-dark); }
.btn-more--right { display: block; width: fit-content; margin-left: auto; }

/* ==========================================
   ⑩ 電話・LINE CTAバー（実画像）
========================================== */
.cta-bar {
  display: flex;
}
.cta-bar__phone,
.cta-bar__line {
  flex: 1;
  display: block;
  text-decoration: none;
}
.cta-bar__phone img,
.cta-bar__line img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   ⑪ 最短ルート（実画像）
========================================== */
.steps-section { padding: 40px 0; background: #fff; }
.steps-img { width: 100%; max-width: 1100px; height: auto; display: block; margin: 0 auto; }

/* ==========================================
   ⑫ 寄り添いセクション（削除 - 画像で代替）
========================================== */
.support-section { display: none; }

/* ==========================================
   ⑬ 合格者の声
========================================== */
.voices-section { padding: 60px 0; background: #fff; }
.voices-layout { display: flex; gap: 40px; align-items: flex-start; }
.voices-heading-col { flex: 0 0 180px; }
.voices-section__title {
  font-size: 30px;
  font-weight: 900;
  color: #333;
  writing-mode: horizontal-tb;
}
.voices-section__line {
  width: 60px;
  height: 2px;
  background: var(--red);
  margin-top: 12px;
}
.voices-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice-card { display: flex; flex-direction: column; }
.voice-card__img { width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 6px; margin-bottom: 12px; }
.voice-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.voice-card__catch { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 4px; line-height: 1.4; }
.voice-card__school { font-size: 11px; color: #888; margin-bottom: 6px; line-height: 1.5; }
.voice-card__text { font-size: 12px; color: #555; line-height: 1.7; margin-bottom: 6px; }
.voice-card__more { font-size: 12px; color: var(--red); font-weight: 700; }

/* ==========================================
   ⑭ 講師陣
========================================== */
.teachers-section { padding: 60px 0; background: #fff; }
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.teacher-card__img { width: 100%; overflow: hidden; border-radius: 4px; margin-bottom: 12px; }
.teacher-card__img img { width: 100%; height: auto; display: block; }
.teacher-card__name a {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
}
.teacher-card__info { font-size: 12px; color: #555; line-height: 1.7; }

/* ==========================================
   ⑮ 校舎一覧
========================================== */
.access-section { padding: 60px 0; background: #fff; }
.access-layout { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 32px; }
.access-heading-col { flex: 0 0 180px; }
.access-section__title {
  font-size: 30px;
  font-weight: 900;
  color: #333;
}
.access-section__line {
  width: 60px;
  height: 2px;
  background: var(--red);
  margin-top: 12px;
}
.access-text-col { flex: 1; }
.access-locations {
  font-size: 12px;
  color: #555;
  line-height: 2;
}
.access-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.access-photo { border-radius: 6px; overflow: hidden; }
.access-photo img { width: 100%; height: 280px; object-fit: cover; display: block; }
.access-footer { padding-top: 20px; }
.access-footer p {
  font-size: 15px;
  color: #333;
  margin-bottom: 6px;
  font-weight: 500;
}
.access-footer .btn-more { margin-top: 16px; }

/* ==========================================
   ⑯ コース・料金
========================================== */
.course-section { padding: 60px 0; background: #fff; }
.pricing-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.pricing-table { border: 1px solid var(--border); border-radius: 6px; padding: 24px; }
.pricing-table__title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}
.pricing-table__line {
  height: 2px;
  background: var(--red);
  width: 60px;
  margin-bottom: 20px;
}
.pricing-table table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.pricing-table table tr td {
  padding: 10px 12px;
  font-size: 13px;
  color: #444;
  border-bottom: 1px solid #eee;
}
.pricing-table table tr:first-child td { border-top: 1px solid #eee; }
.pricing-table table tr td:first-child { color: #555; }
.pricing-table table tr td:last-child { text-align: right; font-weight: 600; }
.pricing-note { font-size: 12px; color: #777; margin-bottom: 6px; line-height: 1.7; }
.pricing-note--title { font-weight: 700; color: #555; margin-top: 10px; }

/* ==========================================
   ⑰ 無料相談CTA
========================================== */
.consult-section { background: #fff; }
.consult-section__inner {
  display: flex;
  align-items: stretch;
  min-height: 400px;
}
.consult-section__text {
  flex: 1;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.consult-section__title {
  font-size: 26px;
  font-weight: 900;
  color: #333;
  margin-bottom: 8px;
}
.consult-section__line {
  width: 60px;
  height: 2px;
  background: var(--red);
  margin-bottom: 24px;
}
.consult-list { display: flex; flex-direction: column; gap: 14px; }
.consult-list li {
  font-size: 15px;
  color: #333;
  padding-left: 20px;
  position: relative;
}
.consult-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333;
}
.consult-section__img {
  flex: 0 0 55%;
  overflow: hidden;
}
.consult-section__img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 380px; }

/* ==========================================
   ⑱ フッターナビバー
========================================== */
.footer-nav-bar {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
}
.footer-nav-bar ul {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.footer-nav-bar ul li a {
  font-size: 12px;
  color: #555;
  padding: 4px 14px;
  border-right: 1px solid #ddd;
  display: block;
}
.footer-nav-bar ul li:last-child a { border-right: none; }
.footer-nav-bar ul li a:hover { color: var(--red); }

/* ==========================================
   ⑲ フッター3カラム
========================================== */
.site-footer { background: #fff; padding: 50px 24px 24px; }
.footer-inner {
  max-width: 1140px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer-col__title {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}
.footer-col--info p { font-size: 12px; color: #555; line-height: 1.8; margin-bottom: 2px; }
.footer-col--info p strong { color: #333; font-weight: 700; }
.footer-menu { display: flex; flex-direction: column; gap: 2px; }
.footer-menu li a {
  font-size: 13px;
  color: var(--red);
  padding: 3px 0;
  display: block;
}
.footer-menu li a:hover { text-decoration: underline; }
.footer-news { display: flex; flex-direction: column; gap: 0; }
.footer-news li {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}
.footer-news li a { font-size: 12px; color: #555; line-height: 1.6; }
.footer-news li a:hover { color: var(--red); }
.footer-copy {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  color: #aaa;
  padding-top: 24px;
  border-top: 1px solid #eee;
}

/* ==========================================
   ⑳ 固定LINEバー
========================================== */
.fixed-line-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark2);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 20px 10px;
  z-index: 300;
  text-decoration: none;
  text-align: center;
}
.fixed-line-bar__sub {
  font-size: 11px;
  color: #ccc;
  margin-bottom: 2px;
}
.fixed-line-bar__main {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 10px;
}
.fixed-line-bar__logo {
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fixed-line-bar__icon { width: 28px; height: 28px; object-fit: contain; }

/* ==========================================
   Responsive
========================================== */
@media (max-width: 960px) {
  .hero__inner { flex-direction: column; }
  .hero__text-area { flex: none; padding: 36px 24px; }
  .hero__img { min-height: 260px; }
  .strength-cards { grid-template-columns: repeat(2, 1fr); }
  .strength-cards--row2 { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .voices-layout { flex-direction: column; }
  .voices-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-tables { grid-template-columns: 1fr; }
  .consult-section__inner { flex-direction: column-reverse; }
  .consult-section__img { flex: none; min-height: 300px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-col--news { grid-column: 1 / -1; }
  .cta-bar { flex-direction: column; height: auto; }
  .cta-bar__phone, .cta-bar__line { height: 70px; }
  .site-nav { display: none; }
  .worries-section__content { flex-direction: column; }
  .point-section__inner { flex-direction: column; }
  .access-layout { flex-direction: column; }
  .access-photos { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .strength-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .voices-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .individ-section__title { font-size: 26px; }
  .hero__catch { font-size: 18px; }
  .worries-list li { font-size: 16px; }
  .cta-bar__phone-num { font-size: 24px; }
}

/* ==========================================
   下層ページ共通
========================================== */

/* ページヒーロー（タイトルバー） */
.page-hero {
  background: var(--red);
  padding: 28px 0 24px;
}
.page-hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-hero__title {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* パンくず */
.breadcrumb {
  background: #f5f5f5;
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
}
.breadcrumb ul {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 0;
  align-items: center;
  font-size: 12px;
  color: #888;
}
.breadcrumb ul li + li::before { content: " ／ "; padding: 0 4px; }
.breadcrumb ul li a { color: var(--red); }
.breadcrumb ul li a:hover { text-decoration: underline; }

/* 下層ページコンテナ */
.page-container {
  max-width: 1140px;
  margin: 48px auto 60px;
  padding: 0 24px;
}

/* ★ feature-item: 画像＋テキストを左右交互に */
.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.feature-item:last-of-type { border-bottom: none; }
.feature-item--reverse { direction: rtl; }
.feature-item--reverse > * { direction: ltr; }
.feature-item__img img {
  width: 100%;
  border-radius: 4px;
  display: block;
}
.feature-item__text h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.5;
  border-left: 4px solid var(--red);
  padding-left: 14px;
}
.feature-item__text p {
  color: #555;
  line-height: 1.9;
  font-size: 13.5px;
}

/* コンテンツセクション内 見出し */
.content-section { margin-bottom: 64px; }
.content-section__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red);
}
.content-section__sub {
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}

/* 3カラムカード */
.section-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

/* 2カラムカード */
.section-cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 24px;
}

/* カード共通 */
.s-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.s-card__img img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.s-card__body { padding: 18px; }
.s-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.45;
}
.s-card__title small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--red);
  margin-bottom: 4px;
}
.s-card__text { font-size: 12.5px; color: #555; line-height: 1.75; }

/* ★ 講師詳細カード */
.teacher-detail-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
}
.teacher-detail-card__img img {
  width: 100%;
  border-radius: 6px;
}
.teacher-detail-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red-light);
}
.teacher-detail-card__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 12.5px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.teacher-detail-card__meta dt {
  font-weight: 700;
  color: #555;
  white-space: nowrap;
}
.teacher-detail-card__meta dd { color: #333; }
.teacher-detail-card__section-title {
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
  margin: 16px 0 8px;
  display: inline-block;
}
.teacher-detail-card__text {
  font-size: 12.5px;
  color: #555;
  line-height: 1.85;
}

/* 合格者の声（詳細） */
.voice-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: flex-start;
}
.voice-detail-card__img img {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}
.voice-detail-card__catch {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.voice-detail-card__school {
  font-size: 12px;
  color: var(--red);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.voice-detail-card__text {
  font-size: 13px;
  color: #555;
  line-height: 1.9;
}

/* コース・料金タブ */
.course-tabs {
  display: flex;
  gap: 0;
  border-bottom: 3px solid var(--red);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.course-tab {
  padding: 10px 20px;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-bottom: none;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  color: #555;
}
.course-tab.active, .course-tab:hover {
  background: var(--red);
  color: #fff;
}
.course-panel { display: none; }
.course-panel.active { display: block; }

/* カリキュラムグリッド */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.curriculum-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}
.curriculum-item__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.curriculum-item__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 8px;
}
.curriculum-item__text {
  font-size: 11.5px;
  color: #777;
  line-height: 1.65;
}

/* お問い合わせフォーム */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  max-width: 700px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-row label .required {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
  background: #fafafa;
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}
.form-row textarea { height: 140px; resize: vertical; }
.form-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 12.5px;
  color: #555;
}
.form-privacy input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.form-submit {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 16px 48px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  letter-spacing: 0.05em;
}
.form-submit:hover { background: var(--red-dark); }

/* 試験情報テーブル */
.exam-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
  font-size: 13.5px;
}
.exam-table th, .exam-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  vertical-align: top;
  text-align: left;
}
.exam-table th {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  width: 160px;
}
.exam-table tr:nth-child(even) td { background: #fafafa; }

/* 校舎一覧ページ */
.access-campus-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.access-campus-item {
  background: #f9f9f9;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
}
.access-campus-item span {
  display: block;
  font-size: 10px;
  color: var(--red);
  margin-top: 2px;
}

/* 下層ページ レスポンシブ */
@media (max-width: 900px) {
  .feature-item { grid-template-columns: 1fr; gap: 24px; }
  .feature-item--reverse { direction: ltr; }
  .teacher-detail-card { grid-template-columns: 1fr; }
  .teacher-detail-card__img { max-width: 220px; }
  .section-cards-3 { grid-template-columns: 1fr 1fr; }
  .curriculum-grid { grid-template-columns: 1fr 1fr; }
  .access-campus-list { grid-template-columns: repeat(3, 1fr); }
  .voice-detail-card { grid-template-columns: 1fr; }
  .voice-detail-card__img { max-width: 100px; }
}
@media (max-width: 600px) {
  .section-cards-3 { grid-template-columns: 1fr; }
  .section-cards-2 { grid-template-columns: 1fr; }
  .curriculum-grid { grid-template-columns: 1fr; }
  .access-campus-list { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 24px 16px; }
  .course-tab { font-size: 11px; padding: 8px 12px; }
  .page-hero__title { font-size: 1.3rem; }
}
