
/* --- タブ切り替え全体のスタイル --- */
.container__inner03 {
  display: block;
  max-width: 96%;
  margin: 30px auto 0
}
.container__inner03.-w1200px {
  width: 1200px
}
@media screen and (max-width:960px) {
  .container__inner03.-w94vw {
    width: 94vw;
  }
}
/* 1. ラジオボタン自体は画面から隠す */
.container__inner03 input[name="tab_switch"] {
  display: none;
}
/* 2. タブボタンの並び（横並び） */
.container__inner03 .tab_labels {
  display: flex;
  justify-content: center;
  margin-bottom: 20px; /* テーブルとの隙間 */
  border-bottom: 2px solid #e0e0e0; /* ベースのアンダーライン */
  width: 100%;
  padding: 0 30px;
}
.container__inner03 .tab_label:last-child {
  margin-right: 0;
}
/* 3. タブボタン単体のデザイン */
.container__inner03 .tab_label {
  flex: 1; /* ← 追加：幅を均等に引き伸ばす */
  text-align: center; /* ← 追加：タブ内の文字を中央に寄せる */
  display: block;
  padding: 12px 10px; /* 左右のパディングを少し削るとスマホで綺麗に収まります */
  font-weight: bold;
  cursor: pointer;
  color: #666666;
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  border-bottom: none;
  margin-right: 5px;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
  font-size: 28px
}
/* 4. マウスホバー時の動き */
.container__inner03 .tab_label:hover {
  background: #eeeeee;
}
/* 5. コンテンツは初期状態で両方とも非表示にする */
.container__inner03 .tab_content_item {
  display: none;
}
.container__inner03 .tab_title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  width: 80%;
  margin: 0 auto;
}
@media screen and (max-width:960px) {
  .container__inner03 .tab_label {
    font-size: 4.2666666667vw;
  }
  .container__inner03 .tab_title {
    font-size: 4.2666666667vw;
    font-weight: bold;
    text-align: center;
  }
}

/* ラジオボタン1がチェックされた時：タブ1のコンテンツを表示し、タブ1のボタンの色を変える */
#tab1:checked ~ .tab_labels .tab_label[for="tab1"] {
  background: #191970; /* オリオンバスのイメージカラー（赤系）に合わせる場合。お好みで変更してください */
  color: #ffffff;
  border-color: #191970;
}
#tab1:checked ~ .tab_contents #tab1-content {
  display: block;
  animation: fadeIn 0.5s ease; /* パッと切り替わる際のスムーズなアニメーション */
}
/* ラジオボタン2がチェックされた時：タブ2のコンテンツを表示し、タブ2のボタンの色を変える */
#tab2:checked ~ .tab_labels .tab_label[for="tab2"] {
  background: #f6a527; /* アクティブ時のボタン色 */
  color: #ffffff;
  border-color: #f6a527;
}
#tab2:checked ~ .tab_contents #tab2-content {
  display: block;
  animation: fadeIn 0.5s ease;
}
/* フェードインのアニメーション定義 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}