@charset "UTF-8";
/*
  対応車種ページ専用（inc/head.php が page id = vehicle のときだけ読む）
*/

/* ==========================================================
   タイヤ交換が可能な機種・車両：写真＋名前を 3・3・2 で並べる
   ========================================================== */
.veh-list-sec {
  padding: 60px 0 60px;
}
.veh-list {
  max-width: 840px;
  margin: 44px auto 0;
  font-size: 0;        /* inline-block の隙間を消す */
  text-align: center;  /* 最後の段（2 つ）を中央に */
}
/* 3 列：gap は IE11 非対応なので左右 margin 23px で間隔 46px */
.veh-item {
  display: inline-block;
  width: calc(33.333% - 46px);
  margin: 0 23px 40px;
  vertical-align: top;
}
.veh-item img {
  display: block;
  width: 100%;
  height: auto;
}
.veh-title {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
/* 補足（大口径の車名）：小さく、名前の下に。幅が足りなければ写真より少し外まで使う */
.veh-note {
  display: block;
  margin: 2px -40px 0;
  white-space: nowrap; /* PC はデザインどおり 1 行 */
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ==========================================================
   サービスの流れについて：写真 3 つ（左上に緑の番号、間に緑の矢印）
   ========================================================== */
.veh-steps-sec {
  padding: 0 0 100px;
}
.veh-steps {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 50px;
}
.veh-step {
  position: relative;
  width: 233px;
  margin: 0 36px; /* 写真どうしの間 72px */
  text-align: center;
}
/* 矢印（2 つ目まで）：次の写真との間の中央、写真の高さの中央に */
.veh-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 55px;
  right: -44px; /* 72 ÷ 2 ＋ 矢印の幅 17 ÷ 2 */
  width: 17px;
  height: 37px;
  background: url(../images/common/arrow.png) no-repeat center / contain;
}
.veh-step-img {
  position: relative;
}
.veh-step-img img {
  display: block;
  width: 100%;
  height: auto;
}
/* 番号：写真の左上を三角に切り抜いた所（元画像で一辺 96px、PC の表示で約 48px）に置く。三角に収まるよう少し外へ出す */
.veh-step-num {
  position: absolute;
  top: -12px;
  left: -14px;
  color: #239615;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
}
.veh-step-text {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .veh-list-sec {
    padding: 40px 0 56px;
  }
  .veh-list {
    margin-top: 28px;
  }
  /* SP は 2 列 */
  .veh-item {
    width: calc(50% - 12px);
    margin: 0 6px 28px;
  }
  .veh-title {
    margin-top: 8px;
    font-size: 13px;
  }
  .veh-note {
    margin: 2px 0 0;
    font-size: 10px;
    white-space: normal;
  }
  /* サービスの流れ：縦に並べ、矢印は下向きに */
  .veh-steps-sec {
    padding-bottom: 60px;
  }
  .veh-steps {
    display: block;
    margin-top: 36px;
  }
  .veh-step {
    width: auto;
    max-width: 300px;
    margin: 0 auto 70px;
  }
  .veh-step:last-child {
    margin-bottom: 0;
  }
  .veh-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -54px;
    left: 50%;
    margin-left: -8px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  .veh-step-text {
    margin-top: 10px;
    font-size: 14px;
  }
}
