/* 初心運転者講習ページ専用スタイル */

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

/* インフォボックス */
.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;
}

/* 警告ボックス */
.warning-box {
  background: linear-gradient(135deg, #ffe5e5 0%, #ffd6d6 100%);
  border-radius: 15px;
  padding: 30px;
  border-left: 5px solid #dc3545;
  margin: 30px 0;
}

.warning-box__title {
  font-size: 20px;
  font-weight: 700;
  color: #dc3545;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.warning-box__text {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
}

/* リスト */
.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%;
}

/* 番号付きリスト */
.number-list {
  list-style: none;
  padding: 0;
  counter-reset: item;
}

.number-list li {
  padding: 20px 0 20px 50px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
  line-height: 1.9;
  counter-increment: item;
}

.number-list li:last-child {
  border-bottom: none;
}

.number-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 18px;
  width: 35px;
  height: 35px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

/* テーブル */
.info-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);
}

.info-table th,
.info-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

.info-table th {
  background: #f8f9fa;
  color: #333;
  font-weight: 700;
  font-size: 15px;
  width: 30%;
}

.info-table td {
  font-size: 15px;
  color: #444;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:hover td,
.info-table tr:hover th {
  background: #fff5f5;
}

/* 価格表示 */
.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;
}

/* タブレット対応 (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,
  .number-list li {
    font-size: 15px;
    padding: 15px 0 15px 35px;
  }
  
  .check-list li::before {
    width: 8px;
    height: 8px;
    top: 19px;
  }

  .number-list li::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
    top: 15px;
  }

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

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

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

  .warning-box__title {
    font-size: 18px;
  }

  .info-table {
    font-size: 13px;
  }

  .info-table th,
  .info-table td {
    padding: 15px 12px;
  }

  .price-highlight {
    padding: 30px 20px;
  }

  .price-highlight__amount {
    font-size: 36px;
  }
}