/* 高齢者講習ページ専用スタイル */

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

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

/* 料金テーブル */
.price-table {
  margin-top: 30px;
}

.price-item {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe8ea 100%);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.price-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(220, 53, 69, 0.15);
}

.price-item__info {
  flex: 1;
}

.price-item__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.price-item__detail {
  font-size: 14px;
  color: #666;
}

.price-item__amount {
  text-align: right;
  white-space: nowrap;
  margin-left: 20px;
}

.price-item__time {
  font-size: 18px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
}

.price-item__price {
  font-size: 36px;
  font-weight: 900;
  color: #dc3545;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Meiryo", sans-serif;
}

.price-note {
  font-size: 13px;
  color: #999;
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

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

  .price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .price-item__amount {
    text-align: left;
    margin-left: 0;
  }

  .price-item__time {
    font-size: 16px;
  }

  .price-item__price {
    font-size: 32px;
  }

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