@charset "UTF-8";

.single-product-page {
  color: #292d32;
  background: #fff;
}

.product-heading__inner,
.product-colors__inner,
.product-content__inner {
  width: min(calc(100% - 6rem), 124rem);
  margin-right: auto;
  margin-left: auto;
}

.product-heading {
  padding: clamp(7rem, 9vw, 12rem) 0 clamp(3.5rem, 5vw, 6rem);
}

.product-heading__logo {
  display: grid;
  width: min(74vw, 62rem);
  min-height: 12rem;
  margin: 0 auto;
  place-items: center;
}

.product-heading__logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 24rem;
  object-fit: contain;
}

.product-heading__title {
  margin: 0;
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: 1.25;
  text-align: center;
}

.product-colors-outer{
  /*overflow: hidden;*/
  max-width: 1750px;
  /* Reserve the slider's negative gutters and external arrow buttons. */
  width: calc(100% - 12rem);
  margin: 0 auto;
}

.product-colors {
  padding: 2rem 0 clamp(8rem, 10vw, 13rem);
}

.product-colors h2 {
  margin: 0 0 clamp(3rem, 4vw, 5rem);
  font-family: "Source Han Sans JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(2.6rem, 3vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
}

.product-colors__slider {
  margin: 0 -1.2rem;
}

.product-colors__slider:not(.slick-initialized) {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-colors__slider:not(.slick-initialized) > :nth-child(n + 5) {
  display: none;
}

.product-colors__slider .slick-track {
  display: flex;
}

.product-colors__slider .slick-slide {
  height: auto;
  padding: 0 1.2rem;
}

.product-color-card {
  height: 100%;
  margin: 0;
  text-align: center;
}

.product-color-card__image {
  display: grid;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
  place-items: center;
}

.product-color-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  /*transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);*/
}

/*.product-color-card:hover .product-color-card__image img {
  transform: scale(1.035);
}*/

.product-color-card figcaption,
.product-colors__notice {
  min-height: 3.6rem;
  margin-top: 1.2rem;
  color: #737980;
  font-size: clamp(1.1rem, 1.1vw, 1.4rem);
  line-height: 1.6;
  text-align: center;
}

.product-colors .slick-prev,
.product-colors .slick-next {
  z-index: 3;
  width: 4.8rem;
  height: 4.8rem;
  color: #0b56a0;
  box-shadow: rgba(12, 36, 61, 0.09) 0px 0.4rem 1.4rem;
  background: rgb(255, 255, 255);
  border-width: 0.1rem;
  border-style: solid;
  border-color: rgb(227, 233, 239);
  border-image: none;
  border-radius: 0.8rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-colors .slick-prev {
  left: -4.8rem;
}

.product-colors .slick-next {
  right: -4.8rem;
}

/*.product-colors .slick-prev::before,
.product-colors .slick-next::before {
  display: block;
  width: 1rem;
  height: 1rem;
  content: "";
  border-top: 0.2rem solid currentColor;
  border-right: 0.2rem solid currentColor;
  opacity: 1;
}*/

.product-colors .slick-prev::before {
    content: "‹";
}

.product-colors  .slick-next::before {
    content: "›";
}

.product-colors  .slick-prev::before, 
.product-colors  .slick-next::before {
    color: #0b56a0;
    font-family: Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    opacity: 1;
}

.product-colors .slick-disabled {
  opacity: 0.25;
  pointer-events: none;
}

.product-colors .slick-dots {
  bottom: -4.5rem;
}

.product-colors .slick-dots li button::before {
  color: #87909a;
  font-size: 0.9rem;
}

.product-colors .slick-dots li.slick-active button::before {
  color: #20252a;
}

.product-content {
  padding: 0 0 clamp(10rem, 12vw, 16rem);
}

.product-content__inner {
  max-width: 1200px;
}

.product-content__inner > *:first-child {
  margin-top: 0;
}

.product-content__inner img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.product-content__inner h2 {
  margin: clamp(6rem, 8vw, 10rem) 0 3rem;
  font-size: clamp(2.6rem, 3vw, 4rem);
  line-height: 1.4;
  text-align: center;
}

.product-content__inner p,
.product-content__inner li {
  font-size: clamp(1.4rem, 1.4vw, 1.7rem);
  line-height: 2;
}

.product-content__inner table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  white-space: nowrap;
}

/* ACFブロック：OPTION */
.product-option-block,
.product-image-tabs {
  position: relative;
  left: 50%;
  width: min(calc(100vw - 6rem), 124rem);
  margin: clamp(7rem, 9vw, 12rem) 0;
  transform: translateX(-50%);
}

.product-option-block > h2 {
  margin: 0 0 clamp(3rem, 4vw, 5rem);
  font-family: "Source Han Sans JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: clamp(2.6rem, 3vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
}

.product-option-list {
  display: grid;
  gap: clamp(2.4rem, 3vw, 4rem) clamp(1.2rem, 2vw, 2.4rem);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.product-option-card {
  min-width: 0;
  text-align: center;
}

.product-option-card__image {
  overflow: hidden;
  background: #eef1f4;
  aspect-ratio: 1 / 1;
}

.product-content__inner .product-option-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-option-card:hover .product-option-card__image img {
  transform: scale(1.035);
}

.product-option-card p {
  margin: 1rem 0 0;
  color: #737980;
  font-size: clamp(1.1rem, 1vw, 1.35rem);
  line-height: 1.5;
  text-align: center;
}

/* ACFブロック：横スクロール対応の画像タブ */
.product-image-tabs__nav {
  display: flex;
  align-items: stretch;
  margin: 0 0 2rem;
  /*overflow-x: auto;*/
  border-bottom: 0.1rem solid #cbd1d8;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.product-image-tabs__button {
  position: relative;
  flex: 1 0 auto;
  min-width: 15rem;
  padding: 1.2rem 1.5rem;
  color: #9ba1a8;
  font: inherit;
  font-size: clamp(1.1rem, 1.1vw, 1.4rem);
  line-height: 1.4;
  white-space: nowrap;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 250ms ease;
  font-weight: bold;
}

.product-image-tabs__button::after {
  position: absolute;
  right: 0;
  bottom: -0.1rem;
  left: 0;
  height: 0.3rem;
  content: "";
  background: #20252a;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-image-tabs__button:hover,
.product-image-tabs__button:focus-visible,
.product-image-tabs__button.is-active {
  color: #20252a;
}

.product-image-tabs__button.is-active::after {
  transform: scaleX(1);
}

.product-image-tabs__panel[hidden] {
  display: none;
}

.product-image-tabs__panel.is-tab-entering {
  animation: product-tab-enter 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-image-tabs__scroller {
  max-width: 100%;
  padding-bottom: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  border: 0.1rem solid #d8dde3;
  background: #fff;
  overscroll-behavior-inline: contain;
  scrollbar-color: #aeb5bd #edf0f3;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.product-image-tabs__scroller::-webkit-scrollbar {
  height: 0.8rem;
}

.product-image-tabs__scroller::-webkit-scrollbar-track {
  background: #edf0f3;
}

.product-image-tabs__scroller::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #aeb5bd;
}

.product-content__inner .product-image-tabs__scroller img {
  display: block;
  width: auto;
  min-width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

.product-block-empty {
  padding: 3rem;
  color: #747b83;
  text-align: center;
  border: 0.1rem dashed #b9c0c8;
}

/* Product Icons
------------------------------ */

.product-icons {
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5em;
}

.product-icons__item {
  display: flex;
  height: 3.2rem;
  align-items: center;
  justify-content: center;
}

.product-icons__item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 767px) {

  .product-icons {
    gap: 1em;
  }

  .product-icons__item {
    height: 2.8rem;
  }

}


@keyframes product-tab-enter {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 1320px) {
  .product-colors-outer {
    width: calc(100% - 4.4rem);
  }

  .product-colors .slick-prev {
    left: -1rem;
  }

  .product-colors .slick-next {
    right: -1rem;
  }
}

@media (max-width: 767px) {
  .product-colors-outer {
    width: calc(100% - 3.2rem);
  }

  .product-heading__inner,
  .product-colors__inner,
  .product-content__inner {
    width: min(calc(100% - 3rem), 124rem);
  }

  .product-heading {
    padding: 6rem 0 3rem;
  }

  .product-heading__logo {
    width: min(82vw, 42rem);
    min-height: 8rem;
  }

  .product-colors {
    padding-bottom: 8rem;
  }

  .product-colors__slider {
    margin: 0 -0.6rem;
  }

  .product-colors__slider .slick-slide {
    padding: 0 0.6rem;
  }

  .product-color-card figcaption,
.product-colors__notice {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .product-content {
    padding-bottom: 9rem;
  }

  .product-content__inner h2 {
    text-align: left;
  }

  .product-content__inner p,
  .product-content__inner li {
    line-height: 1.85;
    text-align: left;
  }

  .product-option-block,
  .product-image-tabs {
    width: calc(100vw - 3rem);
    margin: 6rem 0;
  }

  .product-option-list {
    gap: 2.6rem 1.2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-option-card p {
    font-size: 1.1rem;
    text-align: center;
  }

  .product-image-tabs__button {
    min-width: 12rem;
    padding: 1rem 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-color-card__image img,
  .product-option-card__image img {
    transition: none;
  }

  .product-image-tabs__panel.is-tab-entering {
    animation: none;
  }
}

/* The monitor disclaimer uses the same responsive type scale as the color captions. */
.single-product-page .product-colors__notice { min-height:0; margin:2.4rem auto 0; padding:0 1.5rem; text-align:center; }
.single-product-page .product-tpms-note,
.single-product-page .product-tpms-note p { text-align:center; }

/* Keep pagination and the disclaimer in separate rows. */
.single-product-page .product-colors .slick-dots { position:static; margin:2.4rem 0 0; }
/* Match the heading-to-button spacing above the specification links. */
.single-product-page .product-details__spec-link { margin-bottom:30px; }
