@charset "UTF-8";
/*
  タイヤ交換サービスページ専用（inc/head.php が page id = service のときだけ読む）
*/

/* ==========================================================
   出張タイヤ交換の流れ（図）：明るい背景に、白い板にのせた図
   ========================================================== */
.svc-intro {
  padding: 60px 0 90px;
  /* 背景（bg_white）の敷き方は style.css の .bg-white */
}
.svc-intro-figure {
  max-width: 850px;
  margin: 50px auto 0;
  padding: 20px 35px;
  background: #fff;
}
.svc-intro-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================
   安心してお任せいただくために：写真＋説明の 2×2
   ========================================================== */
/* 下の余白 90px のうち 50px は、次の .svc-flow の上に回す（背景 bg_white の切り替わりを見出しの少し上にするため） */
.svc-safe {
  padding: 0 0 40px;
}
.svc-safe-list {
  max-width: 600px;
  margin: 40px auto 0;
  font-size: 0; /* inline-block の隙間を消す */
  text-align: center;
}
/* 2 列：gap は IE11 非対応なので左右 margin 30px で間隔 60px */
.svc-safe-item {
  display: inline-block;
  width: calc(50% - 60px);
  margin: 0 30px 40px;
  vertical-align: top;
}
.svc-safe-item img {
  display: block;
  width: 100%;
  height: auto;
}
.svc-safe-text {
  margin: 14px -30px 0; /* 左右の余白（30px）まで使って、写真より少し広く（最長行 270px が 1 行に入るように） */
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

/* ==========================================================
   お申し込みから作業完了までの流れ：3 つのステップ（間に緑の矢印）
   ========================================================== */
.svc-flow {
  padding: 50px 0 100px; /* ここから背景 bg_white を敷き直す（service/index.php） */
}
.svc-flow-list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 30px;
  padding: 0 20px;
}
.svc-flow-item {
  position: relative;
  width: 270px;
}
/* 矢印（2 つ目まで）：次のステップとの間のまん中、イラストの高さに */
.svc-flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 70px;
  right: -46px; /* 次のステップとの間（75px）の中央：75 ÷ 2 ＋ 矢印の幅 17 ÷ 2 */
  width: 17px;
  height: 37px;
  background: url(../images/common/arrow.png) no-repeat center / contain;
}
.svc-flow-num {
  position: absolute;
  top: 0;
  left: 6px;
  color: #239615;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
}
/* イラスト：大きさがまちまちなので、丸の下端（＝画像の下端）をそろえて中央に置く */
.svc-flow-img {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: end;
  align-items: flex-end;
  height: 161px;
}
.svc-flow-img img {
  display: block;
  max-width: none;
}
.svc-flow-title {
  margin-top: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid #999;
  color: #239615;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
}
.svc-flow-text {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

/* ==========================================================
   土曜・日曜・祝日も対応可能：写真 2 枚＋文章
   ========================================================== */
.svc-holiday {
  padding: 0 0 80px;
}
.svc-holiday-body {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-top: 30px;
}
.svc-holiday-photos {
  font-size: 0;
  white-space: nowrap;
}
.svc-holiday-photos img {
  display: inline-block;
  width: 225px;
  height: auto;
  vertical-align: top;
}
.svc-holiday-photos picture + picture img,
.svc-holiday-photos img + img {
  margin-left: 20px;
}
.svc-holiday-text {
  width: 250px; /* 1 行 16 文字（デザインどおり 4 行） */
  margin-left: 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

/* ==========================================================
   こんなこともできます！：白い板の中に写真＋説明を 3 つ
   ========================================================== */
.svc-more {
  padding: 0 0 100px;
}
.svc-more-panel {
  padding: 44px 40px 50px;
  background: #fff;
  text-align: center;
}
/* 見出し：緑の文字の下半分に黄色の蛍光ペンの線 */
.svc-more-title {
  color: #239615;
}
.svc-more-title span {
  padding: 0 0.3em;
  background: linear-gradient(transparent 62%, #fff566 62%);
}
.svc-more-sub {
  margin-top: 8px;
  color: #239615;
  font-size: 15px;
  font-weight: 700;
}
/* 3 つ：写真の高さをそろえ、横長の 3 つ目だけ幅を広く */
.svc-more-list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-top: 30px;
  text-align: left;
}
.svc-more-item {
  width: 235px;
  margin: 0 18px;
}
.svc-more-item--wide {
  width: 305px; /* img10（607×292）が他と同じ高さ 147px になる幅 */
}
.svc-more-item img {
  display: block;
  width: 100%;
  height: auto;
}
.svc-more-text {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}
/* 横浜ゴムのボタン：緑の枠の角丸、右に緑の三角 */
.svc-more-btn {
  display: block;
  position: relative;
  margin-top: 12px;
  padding: 6px 30px 6px 16px;
  border: 2px solid #239615;
  border-radius: 20px;
  color: #239615;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.svc-more-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  margin-top: -5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #239615;
}
.svc-more-btn:hover {
  background: #239615;
  color: #fff;
}
.svc-more-btn:hover::after {
  border-left-color: #fff;
}

@media (max-width: 767px) {
  .svc-intro {
    padding: 40px 0 56px;
  }
  .svc-intro-figure {
    margin-top: 28px;
    padding: 12px 10px;
  }
  .svc-safe {
    padding-bottom: 26px;
  }
  .svc-safe-list {
    margin-top: 28px;
  }
  .svc-safe-item {
    width: calc(50% - 12px);
    margin: 0 6px 28px;
  }
  .svc-safe-text {
    margin: 8px 0 0;
    font-size: 13px;
  }
  /* SP は改行をやめて幅なりに折り返す（決めた位置の改行だと 1 行に入らず変な折り返しになる） */
  .svc-safe-text br {
    display: none;
  }
  /* 流れ：縦に並べ、矢印は下向きに */
  .svc-flow {
    padding-top: 30px;
    padding-bottom: 60px;
  }
  .svc-flow-list {
    display: block;
    padding: 0;
  }
  .svc-flow-item {
    width: auto;
    max-width: 320px;
    margin: 0 auto 70px;
  }
  .svc-flow-item:last-child {
    margin-bottom: 0;
  }
  .svc-flow-item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -54px;
    left: 50%;
    margin-left: -8px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  /* 土日祝：写真 2 枚を幅いっぱいに並べ、文章はその下 */
  .svc-holiday {
    padding-bottom: 56px;
  }
  .svc-holiday-body {
    display: block;
    margin-top: 24px;
  }
  .svc-holiday-photos img {
    width: calc(50% - 5px);
  }
  .svc-holiday-photos picture + picture img,
  .svc-holiday-photos img + img {
    margin-left: 10px;
  }
  .svc-holiday-text {
    width: auto;
    margin: 16px 0 0;
  }
  /* こんなことも：1 列に */
  .svc-more {
    padding-bottom: 60px;
  }
  .svc-more-panel {
    padding: 32px 20px 36px;
  }
  .svc-more-list {
    display: block;
    margin-top: 24px;
  }
  .svc-more-item,
  .svc-more-item--wide {
    width: auto;
    margin: 0 0 28px;
  }
  .svc-more-item:last-child {
    margin-bottom: 0;
  }
}
