@charset "utf-8";
/* CSS Document */

/* 全体ラッパー */
.tabs-radio {
  margin-top: 50px;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

/* ラジオボタンを非表示 */
.tabs-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* タブ見出し */
.tab-header {
  display: flex;
  border-radius: 8px 8px 0 0;
}

/* ラベル（タブ）スタイル */
.tab-header label {
  flex: 1;
  /*width: 200px;*/
  text-align: center;
  padding: 12px 0;
  margin-right: 5px;
  background-color: #249be4;
  color: white;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  border-radius: 10px 10px 0 0;
  border: 1px solid #ccc;
  border-bottom: none;
  transition: all 0.3s ease;
  line-height: 1.5;
  position: relative;
  top: 1px;
  z-index: 1;
  margin-bottom: 0;
}

label.car1 {
    background: #208ed2;
    color: #fff;
}
label.car2 {
    background: #00b7d2;
    color: #fff;
}

/* ホバー時 */
.tab-header label.car1:hover {
  background-color: #35aaf3;
}
.tab-header label.car2:hover {
  background-color: #30d5ed;
}

/* アクティブなタブ */
#tab-radio-1:checked ~ .tab-header label[for="tab-radio-1"],
#tab-radio-2:checked ~ .tab-header label[for="tab-radio-2"] {
  /*background-color: white;
  color: black;*/
  border-bottom: 1px solid white;
  z-index: 2;
}

/* タブ内コンテンツ共通 */
.tab-content-radio {
  padding: 20px;
  background-color: white;
  border: 1px solid #ccc;
}

/* コンテンツボックス */
.tab-pane-radio {
  display: none;
  animation: fadeIn 0.5s ease-out;
}

/* ラジオチェックに応じた表示 */
#tab-radio-1:checked ~ .tab-content-radio > #tab-content-1,
#tab-radio-2:checked ~ .tab-content-radio > #tab-content-2 {
  display: block;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 車種名のスタイル */
span.shashu {
  display: block;
  font-size: 0.9em;
  font-weight: 100;
}

/* テキスト本文 */
p.txt_car {
  max-width: 800px;
  margin: 20px auto 30px;
}

/*  詳しくみる  */
p.txt_kuwashiku {
    text-align: center;
    margin: 50px 0 20px;
    font-size: 1.4rem;
    font-weight: 600;
}
p.txt_kuwashiku span.hosoku {
    font-size: 0.7em;
    display: block;
    font-weight: 100;
}
.arrow {
    margin: 0 auto;
    text-align: center;
}