/* 企業研修ページ専用スタイル */

/* ===== トップバー（講習ページ用） ===== */
.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;
}

/* タブナビ（講習ページは4列） */
.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: 30px;
  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;
}

/* フロー画像 */
.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__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;
}

/* セカンダリボタン */
.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;
}

/* タブレット対応 (768px - 1024px) */
@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;
  }

  .check-list li {
    font-size: 15px;
    padding: 15px 0 15px 35px;
  }
  
  .check-list li::before {
    width: 8px;
    height: 8px;
    top: 19px;
  }

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

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

  .feature-card {
    padding: 25px 20px;
  }

  .feature-card__image {
    height: 180px;
  }

  .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;
  }
}