/* ============================================================
   business.css — 企業講習ページ専用スタイル
   既存スタイルはすべて維持。新規コンポーネントを末尾に追加。
   ============================================================ */

/* ===== トップバー（講習ページ用） ===== */
.top-bar {
  background: #dc3545;
  color: white;
  padding: 12px 0;
  font-size: 13px;
  text-align: center;
}
.top-bar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar__phone {
  font-weight: bold;
  font-size: 16px;
}

/* ===== ヒーロー（既存のまま） ===== */
.hero {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.7), rgba(196, 30, 58, 0.7)),
              url('../images/ttl_kigyou.jpg') center top / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.hero__content h1 {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 15px;
  letter-spacing: 4px;
}
.hero__content p {
  font-size: 18px;
  font-weight: 300;
}

/* タブナビ */
.tab-nav__list {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* グリッド */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* インフォボックス */
.info-box {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ea 100%);
  border-radius: 15px;
  padding: 30px;
  border-left: 5px solid #dc3545;
}
.info-box__title {
  font-size: 24px;
  font-weight: 700;
  color: #dc3545;
  margin-bottom: 10px;
}
.info-box__text {
  font-size: 15px;
  color: #666;
  line-height: 1.9;
}

/* アラートボックス */
.alert-box {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-radius: 15px;
  padding: 25px 30px;
  border-left: 5px solid #ffc107;
  margin-bottom: 30px;
  font-size: 16px;
  font-weight: 600;
  color: #856404;
}

/* リスト */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 18px 0 18px 40px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
  line-height: 1.8;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 10px; height: 10px;
  background: #dc3545;
  border-radius: 50%;
}

/* 特徴カード */
.feature-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
  transition: all 0.3s;
  border: 2px solid #f0f0f0;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(220, 53, 69, 0.15);
  border-color: #dc3545;
}
.feature-card__image {
  width: 100%; height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.feature-card__title { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 15px; }
.feature-card__text  { font-size: 15px; line-height: 1.8; color: #666; }

/* カリキュラムテーブル（既存） */
.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.curriculum-table th,
.curriculum-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
.curriculum-table th {
  background: linear-gradient(135deg, #dc3545 0%, #c41e3a 100%);
  color: white;
  font-weight: 700;
  font-size: 15px;
}
.curriculum-table td { font-size: 15px; color: #444; }
.curriculum-table tr:last-child td { border-bottom: none; }
.curriculum-table tr:hover td { background: #fff5f5; }

/* 体験型テーブル（ダーク） */
.curriculum-table--dark th {
  background: linear-gradient(135deg, #1a2c5b 0%, #0f1e3e 100%);
}
.curriculum-table--dark tr:hover td { background: #f0f4ff; }

/* フォームバッジ */
.format-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin: 2px 1px;
  white-space: nowrap;
}
.format-badge--lecture { background: #e3f2fd; color: #0d47a1; }
.format-badge--group   { background: #e8f5e9; color: #1b5e20; }
.format-badge--car     { background: #fbe9e7; color: #8d2400; }
.format-badge--person  { background: #ede7f6; color: #4527a0; }
.format-badge--dialog  { background: #fff8e1; color: #7a5900; }

/* フロー画像 */
.flow-image {
  width: 100%; max-width: 900px;
  margin: 30px auto; display: block;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* 価格表示（既存） */
.price-highlight {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ea 100%);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  margin: 30px 0;
  border: 2px solid #dc3545;
}
.price-highlight--compact { padding: 24px 20px; margin: 0; }
.price-highlight__label   { font-size: 18px; color: #666; margin-bottom: 15px; }
.price-highlight__amount  {
  font-size: 48px; font-weight: 900; color: #dc3545;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Meiryo", sans-serif;
}
.price-highlight__detail  { font-size: 14px; color: #999; margin-top: 10px; }

/* ダーク価格 */
.price-highlight--dark {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
  border-color: #1a2c5b;
}
.price-highlight--dark .price-highlight__amount { color: #1a2c5b; }

/* ボタン */
.btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: white;
  color: #dc3545;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  border: 2px solid #dc3545;
  margin: 10px;
}
.btn-secondary:hover {
  background: #dc3545; color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* 定義リスト */
.definition-list { margin-top: 30px; }
.definition-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 4px solid #dc3545;
}
.definition-item__content {
  display: flex; flex-direction: column; gap: 15px;
}
@media (min-width: 768px) {
  .definition-item__content {
    flex-direction: row; align-items: flex-start; gap: 30px;
  }
}
.definition-item__term {
  font-size: 18px; font-weight: 700; color: #dc3545;
  margin-bottom: 12px; display: flex; align-items: center;
}
.definition-item__term::before { content: "■"; margin-right: 10px; font-size: 20px; }
.definition-item__description  { font-size: 15px; line-height: 1.9; color: #444; }
.definition-item__image {
  width: 100%; max-width: 300px; height: auto;
  border-radius: 10px; margin: 0;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  display: block; flex-shrink: 0;
}
@media (min-width: 768px) {
  .definition-item__image { width: 200px; max-width: 200px; }
}
.definition-item__text-content { flex: 1; }


/* ============================================================
   ▼ 以下、新規追加コンポーネント
   ============================================================ */

/* ---------- セクションプランバッジ ---------- */
.section-plan-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.section-plan-badge--red  { background: #dc3545; color: #fff; }
.section-plan-badge--dark { background: #1a2c5b; color: #fff; }

/* ---------- プラングリッド ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 767px) {
  .plan-grid { grid-template-columns: 1fr; }
}

/* カード */
.plan-card {
  border-radius: 15px;
  border: 2px solid #f0f0f0;
  background: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 15px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.plan-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.plan-card--new { border-color: #1a2c5b; }

/* カードヘッダー */
.plan-card__header { padding: 22px 24px 18px; }
.plan-card__header--red  { background: linear-gradient(135deg, #dc3545 0%, #c41e3a 100%); }
.plan-card__header--dark { background: linear-gradient(135deg, #1a2c5b 0%, #0f1e3e 100%); }

.plan-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.plan-card__badge--new {
  background: #c8a84b;
  color: #1a2c5b;
}

.plan-card__title { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 5px; }
.plan-card__desc  { font-size: 13px; color: rgba(255,255,255,0.75); }

/* カードボディ */
.plan-card__body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* メタ情報 */
.plan-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.plan-meta-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px 14px;
}
.plan-meta-item__label { font-size: 11px; color: #888; margin-bottom: 3px; }
.plan-meta-item__value { font-size: 16px; font-weight: 700; color: #1a1a1a; }

/* 料金ボックス（カード内） */
.plan-price-box {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ea 100%);
  border-radius: 10px;
  padding: 16px 18px;
  text-align: center;
  border: 1px solid rgba(220,53,69,0.2);
}
.plan-price-box--dark {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
  border-color: rgba(26,44,91,0.2);
}
.plan-price-box__label  { font-size: 12px; color: #888; margin-bottom: 4px; }
.plan-price-box__amount {
  font-size: 30px; font-weight: 900; color: #dc3545;
  line-height: 1.1;
}
.plan-price-box--dark .plan-price-box__amount { color: #1a2c5b; }
.plan-price-box__unit   { font-size: 14px; font-weight: 400; color: #888; }
.plan-price-box__note   { font-size: 12px; color: #888; margin-top: 4px; }

/* 特徴リスト */
.plan-feature-list { list-style: none; padding: 0; margin: 0; flex: 1; }
.plan-feature-list li {
  font-size: 14px;
  color: #444;
  padding: 7px 0 7px 24px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  line-height: 1.5;
}
.plan-feature-list li:last-child { border-bottom: none; }
.plan-feature-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: #dc3545; font-weight: 700;
}
.plan-card--new .plan-feature-list li::before { color: #1a2c5b; }

/* ▼ PDFボタン（カード内・目立つデザイン） */
.plan-pdf-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.25s;
  margin-top: 4px;
}
.plan-pdf-btn--red {
  background: #dc3545;
  color: #fff;
  box-shadow: 0 4px 14px rgba(220,53,69,0.35);
}
.plan-pdf-btn--red:hover {
  background: #c41e3a;
  box-shadow: 0 6px 20px rgba(220,53,69,0.45);
  transform: translateY(-2px);
  color: #fff;
}
.plan-pdf-btn--dark {
  background: #1a2c5b;
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,44,91,0.3);
}
.plan-pdf-btn--dark:hover {
  background: #0f1e3e;
  box-shadow: 0 6px 20px rgba(26,44,91,0.4);
  transform: translateY(-2px);
  color: #fff;
}
.plan-pdf-btn__icon { font-size: 24px; flex-shrink: 0; }
.plan-pdf-btn__text { flex: 1; display: flex; flex-direction: column; }
.plan-pdf-btn__label { font-size: 15px; font-weight: 700; }
.plan-pdf-btn__sub   { font-size: 12px; font-weight: 400; opacity: 0.82; margin-top: 1px; }
.plan-pdf-btn__arrow { font-size: 20px; font-weight: 700; flex-shrink: 0; opacity: 0.7; }

/* ---------- 料金2列 ---------- */
.price-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 600px) {
  .price-two-col { grid-template-columns: 1fr; }
}
.price-two-col__item {
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid #dc3545;
}
.price-two-col__item--dark { border-color: #1a2c5b; }

.price-two-col__plan {
  background: #dc3545;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  letter-spacing: 0.04em;
}
.price-two-col__plan--light { background: #1a2c5b; }

/* ---------- 申込書ダウンロード ---------- */
.apply-download {
  margin-top: 32px;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid #dc3545;
  box-shadow: 0 4px 20px rgba(220,53,69,0.12);
}
.apply-download__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ea 100%);
  flex-wrap: wrap;
}
.apply-download__left {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.apply-download__icon { font-size: 40px; flex-shrink: 0; line-height: 1; }
.apply-download__text { flex: 1; }
.apply-download__title {
  font-size: 20px;
  font-weight: 900;
  color: #dc3545;
  margin-bottom: 6px;
}
.apply-download__desc {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}
.apply-download__fax {
  font-size: 13px;
  color: #888;
  margin-top: 6px;
}
.apply-download__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: #dc3545;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 5px 18px rgba(220,53,69,0.4);
  transition: all 0.25s;
  flex-shrink: 0;
}
.apply-download__btn:hover {
  background: #c41e3a;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(220,53,69,0.5);
  color: #fff;
}
.apply-download__btn-sub {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 3px;
}

/* ---------- 体験型：ダーク版 definition-item ---------- */
.definition-item--dark {
  background: #f0f4ff;
  border-left-color: #1a2c5b;
}
.definition-item__term--dark {
  color: #1a2c5b;
}
.definition-item__term--dark::before {
  color: #1a2c5b;
}
.definition-item__description strong {
  color: #1a2c5b;
}

/* OD式：画像プレースホルダー（実画像がない場合の代替） */
.od-image-placeholder {
  background: linear-gradient(135deg, #e8eeff 0%, #d0daff 100%);
  border: 2px solid #1a2c5b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  min-height: 130px;
  flex-shrink: 0;
}
.od-image-placeholder__inner {
  text-align: center;
  padding: 16px;
}
.od-image-placeholder__title {
  font-size: 14px;
  font-weight: 900;
  color: #1a2c5b;
  margin-bottom: 6px;
}
.od-image-placeholder__sub {
  font-size: 10px;
  color: #5566aa;
  line-height: 1.6;
}

/* ============================================================
   レスポンシブ（既存 + 追加）
   ============================================================ */
@media (max-width: 1024px) {
  .tab-nav__list { gap: 15px; }
  .tab-nav__item { padding: 16px 20px; font-size: 14px; min-height: 55px; }
}

@media (max-width: 767px) {
  .top-bar__inner { flex-direction: column; gap: 8px; font-size: 11px; }
  .top-bar__phone { font-size: 18px; }

  .hero { height: 300px; }
  .hero__content h1 { font-size: 36px; letter-spacing: 2px; }
  .hero__content p  { font-size: 14px; }

  .tab-nav__list { grid-template-columns: 1fr !important; gap: 12px; }
  .tab-nav__item { padding: 18px 15px; font-size: 15px; border-radius: 8px; min-height: auto; }

  .info-box { padding: 25px 20px; }
  .info-box__title { font-size: 20px; }

  .curriculum-table { font-size: 13px; }
  .curriculum-table th,
  .curriculum-table td { padding: 15px 12px; }

  .price-highlight { padding: 30px 20px; }
  .price-highlight__amount { font-size: 36px; }

  .definition-item { padding: 20px; }
  .definition-item__term { font-size: 16px; }

  .plan-card__title { font-size: 18px; }
  .plan-pdf-btn { padding: 14px 16px; gap: 10px; }
  .plan-pdf-btn__label { font-size: 14px; }

  .apply-download__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .apply-download__btn   { width: 100%; text-align: center; padding: 16px 24px; }

  .od-image-placeholder {
    width: 100%;
    min-height: 90px;
  }
}
