﻿/* ------------------------------------------------------------------------------
 170パーツパック
------------------------------------------------------------------------------ */

/* 共通 */
.p-partspack{
  box-sizing: border-box;
}
.p-partspack *,
.p-partspack-banner,
.p-partspack-banner *{
  box-sizing: border-box;
}
.p-partspack-en{
  margin: 0 0 30px;
  color: #C9D500;
  font-size: clamp(41.25px, 5.625vw, 67.5px);
  line-height: 1.2;
  text-align: center;
}
h1.p-partspack-en{
  margin: 0;
  color: #C9D500;
  font-size: clamp(41.25px, 5.625vw, 67.5px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}
.p-partspack-en:has(+ .p-partspack-sub){
  margin-bottom: 0;
}
.p-partspack-sub{
  margin: 0 0 30px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}
.p-partspack-block{
  margin-top: 56px;
  scroll-margin-top: 16px;
}
#pack,
#option,
#information{
  margin-top: 106px;
}
#information{
  padding-bottom: 50px;
}
.p-partspack h2.title{
  margin: 0 0 20px;
  padding: 0 0 5px;
  border-bottom: 1px solid #cccccc;
  font-size: 20px;
  font-weight: bold;
}
.p-partspack-lead{
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
}
.p-partspack-hero .p-partspack-lead{
  text-align: center;
}
#option .p-partspack-lead{
  text-align: center;
}
.p-partspack-note{
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

/* ファーストビュー */
.p-partspack-hero__photo{
  margin-top: 24px;
}
.p-partspack-hero__photo img{
  display: block;
  width: 100%;
  height: auto;
}

/* 価格 */
.p-partspack-price{
  padding: 24px;
  background: #f7f7f7;
  border: 1px solid #cccccc;
  border-radius: 8px;
}
.p-partspack-price__value{
  margin: 0 0 8px;
  font-size: 50px;
  font-weight: bold;
  line-height: 1.2;
}
.p-partspack-price__tax{
  font-size: 0.35em;
  font-weight: bold;
}
.p-partspack-price__list{
  margin: 0 0 6px;
  font-size: 16px;
}
.p-partspack-price__num{
  font-size: 22px;
  font-weight: bold;
}
.p-partspack-price__diff{
  margin: 0;
  color: #D60000;
  font-size: 18px;
  font-weight: bold;
}
.p-partspack-facts{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.p-partspack-facts__item{
  flex: 1 1 200px;
  margin: 0;
  padding: 32px 16px;
  background: #f7f7f7;
  border-top: 1px solid #cccccc;
}
.p-partspack-facts__label{
  margin: 0 0 6px;
  color: #808080;
  font-size: 13px;
  font-weight: bold;
}
.p-partspack-facts__value{
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

/* ボタン */
.p-partspack-actions{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 50px 0;
}
.p-partspack-btn{
  display: inline-block;
  width: 280px;
  padding: 14px 20px;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 3px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.p-partspack-btn:hover,
.p-partspack-btn:focus{
  background: #000;
  color: #fff;
  border-color: #000;
}

/* カード */
.p-partspack-cards{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.p-partspack-card{
  width: calc((100% - 48px) / 3);
}
.p-partspack-photo,
.p-partspack-slider .swiper{
  background: #f3f3f3;
}
.p-partspack-photo img,
.p-partspack-slider .swiper-slide img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #f3f3f3;
}
.p-partspack-slider{
  position: relative;
}
.p-partspack-slider .swiper-pagination{
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  z-index: 2;
  margin: 0;
  text-align: center;
}
.p-partspack-slider .swiper-pagination-bullet{
  width: 8px;
  height: 8px;
  background: #c8c8c8;
  opacity: 1;
}
.p-partspack-slider .swiper-pagination-bullet-active{
  background: #C9D500;
}
.p-partspack-card__name{
  margin: 12px 0 4px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
}
.p-partspack-card__price{
  margin: 0;
  font-size: 14px;
}
.p-partspack-card__amount{
  font-size: 22px;
  font-weight: bold;
}
.p-partspack-card__note{
  margin: 4px 0 0;
  font-size: 13px;
}

/* 一覧表 */
.p-partspack-table{
  width: 100%;
  border-collapse: collapse;
}
.p-partspack-table th,
.p-partspack-table td{
  padding: 10px 8px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  line-height: 1.5;
}
.p-partspack-table th:last-child,
.p-partspack-table td:last-child{
  text-align: right;
  white-space: nowrap;
}

/* ご案内 */
.p-partspack-info{
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-partspack-info li{
  position: relative;
  margin: 0 0 8px;
  padding-left: 1em;
  line-height: 1.7;
}
.p-partspack-info li::before{
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}
.p-partspack-date{
  margin: 16px 0 0;
  font-size: 14px;
  text-align: right;
}

/* 車両紹介バナー */
.p-partspack-banner{
  position: relative;
  display: block;
  margin: 24px 0 20px;
  padding: 28px 24px;
  background: #000 url("../images/170-partspack/hero.jpg") center 62% / cover no-repeat;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}
.p-partspack-banner::before{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
}
.p-partspack-banner__title,
.p-partspack-banner__lead,
.p-partspack-banner .p-partspack-btn{
  position: relative;
  z-index: 1;
}
.p-partspack-banner__title{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
}
.p-partspack-banner__lead{
  margin: 0 0 16px;
  font-size: 14px;
}
.p-partspack-banner:hover .p-partspack-btn,
.p-partspack-banner:focus .p-partspack-btn{
  background: #000;
  color: #fff;
  border-color: #000;
}

/* ローカルメニューを1行に収める */
@media screen and (min-width: 769px){
  #main-2nd-menu ul{
    white-space: nowrap;
  }
  #main-2nd-menu li a{
    font-size: 12px;
    margin-right: 3px;
    white-space: nowrap;
  }
}

/* SP */
@media screen and (max-width: 768px){
  .p-partspack-price__value{
    font-size: 37.5px;
  }
  .p-partspack-card{
    width: calc((100% - 24px) / 2);
  }
}
@media screen and (max-width: 480px){
  .p-partspack-sub{
    font-size: 14.4px;
  }
  .p-partspack-btn{
    width: 100%;
  }
  .p-partspack-card{
    width: 100%;
  }
}
