/* 普通一種免許ページ専用スタイル */

/* ===== トップバー ===== */
.top-bar {
  background: #dc3545;
  color: white;
  padding: 10px 0;
  font-size: 14px;
  text-align: center;
}

.top-bar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ヒーロー（中型・準中型専用背景） ===== */
.hero {
  position: relative;
  height: 500px;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.7), rgba(196, 30, 58, 0.7)), 
              url('http://www.hyogoken.ac.jp/akashi/images/ttl_tyugata2.jpg') center 30% / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero__content h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.hero__content p {
  font-size: 18px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* タブナビ（8列レイアウト） */
.tab-nav__list {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 15px;
}
.tab-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== キャンペーンバナー ===== */
.campaign-section {
  margin-top: -60px;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
}

.campaign-banner {
  background: linear-gradient(135deg, #dc3545 0%, #c41e3a 100%);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(220, 53, 69, 0.4);
  position: relative;
  overflow: hidden;
}

.campaign-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.campaign-banner__badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: #fff;
  color: #dc3545;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.campaign-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.campaign-banner__title {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.campaign-banner__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 35px;
  font-weight: 500;
}

.campaign-banner__price {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.campaign-banner__price-item {
  background: white;
  border-radius: 15px;
  padding: 30px 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  min-width: 500px;
}

.campaign-banner__price-item .label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #666;
  margin-bottom: 15px;
}

.price-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.price-before {
  font-size: 24px;
  color: #999;
  text-decoration: line-through;
}

.price-arrow {
  font-size: 28px;
  color: #dc3545;
  font-weight: 700;
}

.price-after {
  font-size: 38px;
  color: #dc3545;
  font-weight: 800;
}

.price-discount {
  font-size: 14px;
  color: #666;
  margin-left: 5px;
}

.discount-label {
  display: inline-block;
  background: #28a745;
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
}

.campaign-banner__note {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  margin-top: 20px;
}

/* ===== イントロセクション ===== */
.intro-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.intro-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.intro-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 30px;
  background: linear-gradient(135deg, #dc3545 0%, #c41e3a 100%);
  border-radius: 3px;
}

.intro-description {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 35px;
}

.intro-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.intro-feature {
  display: flex;
  gap: 15px;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  transition: all 0.3s;
}

.intro-feature:hover {
  background: white;
  box-shadow: 0 5px 20px rgba(220, 53, 69, 0.1);
  transform: translateX(5px);
}

.intro-feature__icon {
  font-size: 24px;
  color: #dc3545;
  font-weight: 700;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-feature__text h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.intro-feature__text p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.intro-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 料金表 ===== */
.price-table-wrapper {
  margin-top: 50px;
}

.price-table-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #dc3545;
}

.price-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid #e0e0e0;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
}

.price-table thead {
  background: linear-gradient(135deg, #dc3545 0%, #c41e3a 100%);
  color: white;
}

.price-table th {
  padding: 20px 25px;
  text-align: left;
  font-weight: 700;
  font-size: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  vertical-align: middle;
}

.price-table th:last-child {
  border-right: none;
}

.price-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s;
}

.price-table tbody tr:last-child {
  border-bottom: none;
}

.price-table tbody tr:hover {
  background: #f8f9fa;
}

.price-table td {
  padding: 20px 25px;
  font-size: 15px;
  color: #444;
  vertical-align: middle;
  border-right: 1px solid #f0f0f0;
}

.price-table td:last-child {
  border-right: none;
}

.license-type {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 17px;
}

.small-text {
  font-size: 13px;
  color: #666;
}

.price-cell {
  text-align: center;
}

.price-main {
  font-size: 22px;
  font-weight: 700;
  color: #dc3545;
  margin-bottom: 5px;
}

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

/* その他の費用テーブル */
.price-table--additional tbody tr:first-child td {
  background: #f8f9fa;
  font-weight: 700;
}

.fee-name {
  font-weight: 700;
  color: #dc3545;
  width: 15%;
}

.fee-description {
  width: 45%;
}

.fee-unit {
  width: 10%;
  text-align: center;
}

.fee-price {
  width: 15%;
  text-align: center;
  font-weight: 700;
  color: #1a1a1a;
}

/* ===== 入校案内グリッド ===== */
.enrollment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.enrollment-card {
  background: white;
  border-radius: 15px;
  padding: 35px 30px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 2px solid #f0f0f0;
}

.enrollment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(220, 53, 69, 0.15);
  border-color: #dc3545;
}

.enrollment-card--wide {
  grid-column: 1 / -1;
}

.enrollment-card__icon {
  font-size: 40px;
  margin-bottom: 20px;
  display: block;
}

.enrollment-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.enrollment-card__content p {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 15px;
}

.enrollment-card__content strong {
  color: #dc3545;
  font-weight: 700;
}

.note-text {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-top: 15px;
  padding: 15px;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 5px;
}

.important-note {
  font-size: 14px;
  color: #dc3545;
  font-weight: 700;
  margin-top: 15px;
  padding: 12px 15px;
  background: #ffe6e6;
  border-left: 4px solid #dc3545;
  border-radius: 5px;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 15px;
}

.schedule-item:last-child {
  margin-bottom: 0;
}

.schedule-day {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.schedule-time {
  font-size: 18px;
  font-weight: 700;
  color: #dc3545;
}

.document-list {
  list-style: none;
  padding-left: 0;
  counter-reset: document-counter;
}

.document-list li {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 12px;
  padding-left: 35px;
  position: relative;
  counter-increment: document-counter;
}

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

.discount-list,
.payment-list {
  list-style: none;
  padding-left: 0;
}

.discount-list li,
.payment-list li {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.discount-list li::before,
.payment-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #dc3545;
  font-weight: 700;
  font-size: 16px;
}

/* ===== CTAセクション ===== */
.cta-section {
  margin-top: 60px;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.cta-card {
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-card--primary {
  background: linear-gradient(135deg, #dc3545 0%, #c41e3a 100%);
  color: white;
}

.cta-card--secondary {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.cta-card__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.cta-card__description {
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.cta-btn {
  display: inline-block;
  padding: 18px 50px;
  background: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.cta-btn--primary {
  color: #dc3545;
}

.cta-btn--secondary {
  color: #28a745;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ===== FAQ ===== */
.faq-list {
  margin-top: 40px;
}

.faq-item {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.faq-item:hover {
  box-shadow: 0 5px 30px rgba(220, 53, 69, 0.15);
}

.faq-question {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.faq-answer {
  display: flex;
  gap: 15px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.faq-icon {
  flex-shrink: 0;
  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;
}

.faq-question .faq-icon {
  background: #dc3545;
}

.faq-answer .faq-icon {
  background: #28a745;
}

.faq-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}

.faq-question .faq-text {
  font-weight: 700;
  color: #1a1a1a;
}

.faq-more {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 15px;
}

.faq-more p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
}

.btn-link {
  display: inline-block;
  padding: 15px 40px;
  background: #dc3545;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
}

.btn-link:hover {
  background: #c41e3a;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(220, 53, 69, 0.3);
}

/* ===== タブレット対応 (768px - 1024px) ===== */
@media (max-width: 1024px) {
  .tab-nav__list {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .intro-content {
    grid-template-columns: 1fr;
  }

  .intro-image {
    order: -1;
  }

  .campaign-banner {
    padding: 40px 30px;
  }

  .campaign-banner__price-item {
    min-width: auto;
    width: 100%;
  }

  .enrollment-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== スマホ対応 ===== */
@media (max-width: 767px) {
  .hero {
    height: 300px;
  }

  .hero__content h1 {
    font-size: 32px;
  }

  .hero__content p {
    font-size: 15px;
  }

  .tab-nav {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .tab-nav__list {
    grid-template-columns: repeat(2, 1fr) !important;
    display: grid !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 10px !important;
  }

  .tab-nav__list li {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .tab-nav__item {
    font-size: 12px !important;
    padding: 10px 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.4 !important;
  }

  .campaign-section {
    margin-top: -40px;
    margin-bottom: 40px;
  }

  .campaign-banner {
    padding: 30px 20px;
  }

  .campaign-banner__badge {
    position: static;
    display: inline-block;
    margin-bottom: 20px;
  }

  .campaign-banner__title {
    font-size: 26px;
  }

  .campaign-banner__subtitle {
    font-size: 15px;
  }

  .campaign-banner__price-item {
    padding: 25px 20px;
  }

  .price-box {
    flex-direction: column;
    gap: 10px;
  }

  .price-before {
    font-size: 20px;
  }

  .price-arrow {
    font-size: 24px;
  }

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

  .intro-content {
    gap: 30px;
  }

  .intro-title {
    font-size: 24px;
  }

  .intro-description {
    font-size: 14px;
  }

  .price-table-wrapper {
    margin-top: 30px;
  }

  .price-table-title {
    font-size: 20px;
  }

  .price-table {
    overflow-x: auto;
  }

  .price-table table {
    min-width: 600px;
  }

  .price-table th,
  .price-table td {
    padding: 15px;
    font-size: 14px;
  }

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

  .enrollment-card__title {
    font-size: 18px;
  }

  .cta-card {
    padding: 40px 25px;
  }

  .cta-card__title {
    font-size: 24px;
  }

  .cta-card__description {
    font-size: 14px;
  }

  .cta-btn {
    width: 100%;
    padding: 16px 30px;
    font-size: 15px;
  }

  .faq-item {
    padding: 25px 20px;
  }

  .faq-question,
  .faq-answer {
    flex-direction: column;
    gap: 10px;
  }

  .faq-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .faq-text {
    font-size: 14px;
  }
}
/* ===== 固定サイドボタン ===== */
.fixed-buttons {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fixed-btn {
  background: #5cb85c;
  color: #fff;
  padding: 15px 10px;
  width: 100px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px 0 0 8px;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.fixed-btn:hover {
  width: 110px;
  box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.3);
}

.fixed-btn--reservation {
  background: linear-gradient(135deg, #5cb85c 0%, #4cae4c 100%);
}

.fixed-btn--document {
  background: linear-gradient(135deg, #5bc0de 0%, #46b8da 100%);
}

.fixed-btn__icon {
  font-size: 28px;
  display: block;
}

.fixed-btn__text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

/* ===== トップへ戻る ===== */
#totop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #dc3545;
  color: #fff;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 100;
  text-decoration: none;
  font-size: 20px;
}

#totop.show {
  opacity: 1;
  visibility: visible;
}

#totop:hover {
  background: #c82333;
  transform: translateY(-3px);
}

/* スマホ対応での固定ボタン調整 */
@media (max-width: 767px) {
  .fixed-buttons {
    position: fixed;
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    gap: 0;
    z-index: 1000;
  }

  .fixed-btn {
    flex: 1;
    width: auto;
    padding: 12px 10px;
    border-radius: 0;
    gap: 3px;
  }

  .fixed-btn:hover {
    width: auto;
  }

  .fixed-btn__icon {
    font-size: 24px;
  }

  .fixed-btn__text {
    font-size: 11px;
  }

  #totop {
    width: 45px;
    height: 45px;
    line-height: 45px;
    bottom: 70px;
    right: 20px;
    font-size: 18px;
  }
}

/* 技能・学科のセルのフォントサイズ */
.skill-hours {
  font-size: 17px;
  font-weight: 600;
}

/* 料金表の3列目(技能)と4列目(学科)のフォントサイズを大きく */
.price-table tbody td:nth-child(3),
.price-table tbody td:nth-child(4) {
  font-size: 17px;
  font-weight: 600;
}

/* ===== 中型・準中型ページ専用スタイル ===== */

/* ページ内ナビゲーション案内 */
.page-nav-info {
  text-align: center;
  margin-bottom: 20px;
}

.page-nav-info__text {
  font-size: 16px;
  font-weight: 600;
  color: #dc3545;
  margin: 0;
  padding: 12px 20px;
  background: linear-gradient(to bottom, transparent 0%, rgba(220, 53, 69, 0.05) 100%);
  border-radius: 10px 10px 0 0;
}

/* ページ内ナビゲーション */
.page-nav-section {
  margin-bottom: 60px;
}

.page-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
}

.page-nav__item {
  display: block;
  padding: 20px;
  background: linear-gradient(135deg, #dc3545 0%, #c41e3a 100%);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s;
  box-shadow: 0 3px 15px rgba(220, 53, 69, 0.3);
}

.page-nav__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(220, 53, 69, 0.4);
}

/* 別途必要料金のノート */
.additional-fees-note {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 30px;
}

.additional-fees-note h4 {
  font-size: 18px;
  font-weight: 700;
  color: #856404;
  margin-bottom: 15px;
}

.additional-fees-note ul {
  list-style: none;
  padding-left: 0;
}

.additional-fees-note li {
  font-size: 15px;
  line-height: 2;
  color: #856404;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.additional-fees-note li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: #ffc107;
  font-size: 16px;
  font-weight: 700;
}

.additional-fees-note p {
  font-size: 15px;
  line-height: 2;
  color: #856404;
  margin: 0;
}

/* ご用意いただくもの */
.requirements-box {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 35px 30px;
  margin-top: 40px;
  border: 2px solid #e0e0e0;
}

.requirements-box__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.vision-requirements {
  margin-top: 20px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  border-left: 4px solid #dc3545;
}

.vision-requirements p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 10px;
}

.vision-requirements p:last-child {
  margin-bottom: 0;
}

.vision-requirements strong {
  color: #dc3545;
  font-weight: 700;
}

/* セクション間の余白調整 */
.section {
  scroll-margin-top: 100px;
}

/* タブレット対応 */
@media (max-width: 1024px) {
  .page-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ対応 */
@media (max-width: 767px) {
  .page-nav-info__text {
    font-size: 14px;
    padding: 10px 15px;
  }

  .page-nav {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 10px !important;
  }

  .page-nav__item {
    padding: 15px;
    font-size: 15px;
  }

  .additional-fees-note {
    padding: 20px;
  }

  .additional-fees-note h4 {
    font-size: 17px;
  }

  .additional-fees-note li,
  .additional-fees-note p {
    font-size: 14px;
  }

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

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

  .vision-requirements {
    padding: 15px;
  }

  .vision-requirements p {
    font-size: 14px;
  }
}

/* ===== 教育訓練給付金セクション ===== */

/* ハイライトボックス */
.benefit-highlight {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  margin-bottom: 50px;
  box-shadow: 0 8px 30px rgba(40, 167, 69, 0.3);
}

.benefit-highlight__text {
  font-size: 20px;
  line-height: 2;
  margin: 0;
}

.benefit-highlight__rate {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  padding: 0 10px;
}

.benefit-highlight__note {
  font-size: 16px;
  display: block;
  margin-top: 10px;
  opacity: 0.95;
}

/* 給付金セクション */
.benefit-section {
  margin-bottom: 50px;
}

.benefit-section__title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #28a745;
}

/* 受給条件 */
.benefit-condition {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #28a745;
}

.benefit-condition__title {
  font-size: 18px;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 15px;
}

.benefit-condition__text {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 0;
}

.benefit-condition__note {
  font-size: 14px;
  color: #dc3545;
  margin-top: 15px;
  padding: 12px 15px;
  background: #ffe6e6;
  border-radius: 8px;
}

/* 重要アラート */
.important-alert {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 15px;
  padding: 25px 30px;
  margin-top: 30px;
}

.important-alert p {
  font-size: 15px;
  font-weight: 700;
  color: #856404;
  line-height: 2;
  margin: 0;
}

/* 申請フロー */
.benefit-flow {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.benefit-flow__item {
  display: flex;
  gap: 25px;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.benefit-flow__item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 30px rgba(40, 167, 69, 0.15);
}

.benefit-flow__number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.benefit-flow__content {
  flex: 1;
}

.benefit-flow__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.benefit-flow__text {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 0;
}

.benefit-flow__alert {
  font-size: 14px;
  color: #dc3545;
  margin-top: 12px;
  padding: 10px 15px;
  background: #ffe6e6;
  border-radius: 8px;
  border-left: 4px solid #dc3545;
}

/* 日付表示 */
.benefit-date {
  text-align: right;
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* 給付金額のスタイル */
.benefit-amount {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #444;
}

.benefit-amount--highlight {
  color: #28a745;
  font-size: 18px;
  font-weight: 700;
}

/* 給付金の注記 */
.benefit-notes {
  margin-top: 30px;
  padding: 25px 30px;
  background: #f8f9fa;
  border-radius: 15px;
}

.benefit-notes p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin-bottom: 15px;
}

.benefit-notes p:last-child {
  margin-bottom: 0;
}

.benefit-notes__important {
  color: #dc3545;
  font-weight: 600;
  padding: 15px 20px;
  background: #ffe6e6;
  border-radius: 10px;
  border-left: 4px solid #dc3545;
}

/* ページ内ナビを5列対応に */
.page-nav {
  grid-template-columns: repeat(5, 1fr);
}

/* タブレット対応 */
@media (max-width: 1024px) {
  .page-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-highlight__text {
    font-size: 18px;
  }

  .benefit-highlight__rate {
    font-size: 32px;
  }

  .benefit-flow__item {
    flex-direction: column;
    gap: 20px;
  }

  .benefit-flow__number {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }


 .vehicle-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .vehicle-box__image {
    max-width: 100%;
  }
}



/* スマホ対応 */
@media (max-width: 767px) {
  .benefit-highlight {
    padding: 30px 20px;
  }

  .benefit-highlight__text {
    font-size: 16px;
  }

  .benefit-highlight__rate {
    font-size: 28px;
  }

  .benefit-highlight__note {
    font-size: 14px;
  }

  .benefit-section__title {
    font-size: 20px;
  }

  .benefit-condition {
    padding: 20px;
  }

  .benefit-condition__title {
    font-size: 17px;
  }

  .benefit-condition__text {
    font-size: 14px;
  }

  .important-alert {
    padding: 20px;
  }

  .important-alert p {
    font-size: 14px;
  }

  .benefit-flow__item {
    padding: 20px;
  }

  .benefit-flow__number {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .benefit-flow__title {
    font-size: 16px;
  }

  .benefit-flow__text {
    font-size: 14px;
  }

  .benefit-flow__alert {
    font-size: 13px;
  }

  .benefit-amount {
    font-size: 15px;
  }

  .benefit-amount--highlight {
    font-size: 16px;
  }

  .benefit-notes {
    padding: 20px;
  }

  .benefit-notes p {
    font-size: 14px;
  }

  .vehicle-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px;
  }

  .vehicle-box__image {
    max-width: 100%;
    order: -1 !important;
  }

  .vehicle-box__info {
    order: 1;
  }

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

  .vehicle-box__text {
    font-size: 15px;
  }

  .vehicle-box__features li {
    font-size: 15px;
  }
}
/* ===== 使用車両ボックス ===== */
.vehicle-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.vehicle-box__image {
  width: 100%;
  max-width: 500px;
}

.vehicle-box__image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.vehicle-box__info {
  padding: 20px 0;
}

.vehicle-box__title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.vehicle-box__text {
  font-size: 16px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 25px;
}

.vehicle-box__features {
  list-style: none;
  padding-left: 0;
}

.vehicle-box__features li {
  font-size: 16px;
  line-height: 2.2;
  color: #444;
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon {
  color: #dc3545;
  font-size: 20px;
  font-weight: 700;
}