@charset "UTF-8";
body.is-product-modal-open {
  position: fixed;
  right: 0;
  left: 0;
  overflow: hidden;
}

/* 画像上のボタン（画像一覧・お気に入り）
-------------------------- */
.product-img-btn {
  position: absolute;
  bottom: 55px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #202121;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}
.product-img-btn svg {
  width: 30px;
  height: 30px;
}
.product-img-btn span {
  font-size: 8px;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0;
}

.product-img-btn--gallery {
  left: 10px;
}
.product-img-btn--gallery svg {
  fill: none;
  stroke: #888;
  stroke-width: 1;
}

.product-img-btn--fav {
  right: 10px;
  border-radius: 50%;
}
.product-img-btn--fav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.product-img-btn--fav.is-registered svg {
  fill: currentColor;
}

@media (max-width: 768px) {
  .fs-c-productCarouselMainImage__expandButton {
    display: none;
  }
}
/* NO.8 カラー別・サイズ別の在庫
-------------------------- */
.product-stock {
  display: grid;
  grid-template-rows: 1fr;
  padding: 0 15px;
  margin: -10px 0 15px;
  font-size: 11px;
  font-size: 1.1rem;
  transition: grid-template-rows 0.6s ease, margin 0.6s ease;
}
.product-stock:not(.has-current):not(.is-all) {
  grid-template-rows: 0fr;
  margin-top: 0;
  margin-bottom: 0;
}

.product-stock__inner {
  display: grid;
  min-height: 0;
  overflow: hidden;
}

.product-stock__item {
  grid-area: 1/1;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.product-stock__item.is-current {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.6s ease;
}
.is-all .product-stock__item {
  grid-area: auto;
  visibility: visible;
  opacity: 1;
}
.is-all .product-stock__item + .product-stock__item .product-stock__row {
  border-top: none;
}

.product-stock__row {
  display: flex;
  align-items: center;
  /* padding: 6px 0; */
  /* border-bottom: 1px solid $pd-line; */
}
.product-stock__row:first-child {
  /* border-top: 1px solid $pd-line; */
}

.product-stock__color {
  flex: 0 0 auto;
  padding-right: 15px;
  word-break: break-all;
}

.product-stock__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-stock__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 44px;
  padding: 3px 8px;
  line-height: 1.4;
  background: #f5f5f5;
  border-radius: 2px;
}
.product-stock__chip.is-out {
  color: #aaa;
}

/* サムネイル列：サイズ・選択中（slick が li に slick-active を付ける）
-------------------------- */
@media (max-width: 768px) {
  .fs-c-productCarouselMainImage__thumbnailList::after {
    flex: 0 0 10px;
    content: "";
  }
  .fs-c-productCarouselMainImage__thumbnailList li {
    flex-basis: 72px;
    margin-right: 8px;
    opacity: 0.75;
    transition: opacity 0.3s ease;
  }
  .fs-c-productCarouselMainImage__thumbnailList li:last-of-type {
    margin-right: 0;
  }
  .fs-c-productCarouselMainImage__thumbnailList li.slick-active {
    opacity: 1;
  }
}
/* サムネイル列のスクロールバー（JS で生成）
-------------------------- */
@media (max-width: 768px) {
  .fs-c-productCarouselMainImage__thumbnailList {
    scrollbar-width: none;
    margin-bottom: 20px;
  }
  .fs-c-productCarouselMainImage__thumbnailList::-webkit-scrollbar {
    display: none;
  }
}
.product-thumb-bar {
  position: relative;
  height: 3px;
  margin: -20px 10px 30px;
  background: #ddd;
  border-radius: 3px;
}
.product-thumb-bar.is-hidden {
  display: none;
}

.product-thumb-bar__thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #202121;
  border-radius: 3px;
  touch-action: none;
}
.product-thumb-bar__thumb::before {
  position: absolute;
  top: -12px;
  right: 0;
  bottom: -12px;
  left: 0;
  content: "";
}

/* モーダル共通
-------------------------- */
.product-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.product-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.product-modal__overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
}

.product-modal__panel {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: calc(100% - 30px);
  max-height: calc(100% - 60px);
  padding: 50px 5px 0;
  background: #fff;
  transform: translate(-50%, -50%);
}

.product-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 7px;
  color: #202121;
  background: none;
  border: none;
  cursor: pointer;
}
.product-modal__close svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.product-modal__title {
  position: absolute;
  top: 16px;
  left: 0;
  width: 100%;
  font-weight: bold;
  text-align: center;
  font-size: 15px;
  font-size: 1.5rem;
}

.product-modal__body {
  padding: 0 10px 15px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color-scheme: light;
  background: #fff;
  scrollbar-color: rgba(0, 0, 0, 0.35) transparent;
}

/* NO.9 画像一覧
-------------------------- */
.product-gallery__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.product-gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  aspect-ratio: 3/4;
}
.product-gallery__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* NO.9 拡大表示
-------------------------- */
.product-zoom {
  background: #fff;
}
.product-zoom .product-modal__close {
  top: 10px;
  right: 10px;
}

.product-zoom__track {
  position: absolute;
  top: 56px;
  right: 0;
  bottom: 56px;
  left: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.product-zoom__track::-webkit-scrollbar {
  display: none;
}

.product-zoom__slide {
  display: flex;
  flex: 0 0 100%;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.product-zoom__slide img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.product-zoom__nav {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ddd;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}
.product-zoom__nav::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  content: "";
  border-top: 1.5px solid #202121;
  border-right: 1.5px solid #202121;
}

.product-zoom__nav--prev {
  left: 10px;
}
.product-zoom__nav--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.product-zoom__nav--next {
  right: 10px;
}
.product-zoom__nav--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.product-zoom__counter {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
  font-size: 1.2rem;
}

/* NO.10 お気に入り登録
-------------------------- */
.product-fav__item {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}
.product-fav__item:first-child {
  padding-top: 0;
}
.product-fav__item:last-child {
  border-bottom: none;
}

.product-fav__image {
  flex: 0 0 64px;
  margin-right: 12px;
}
.product-fav__image img {
  width: 100%;
}

.product-fav__info {
  flex: 1;
  min-width: 0;
}

.product-fav__color {
  margin-bottom: 8px;
  font-size: 13px;
  font-size: 1.3rem;
}

.product-fav__size {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-fav__size + .product-fav__size {
  margin-top: 8px;
}

.product-fav__stock {
  white-space: nowrap;
  font-size: 12px;
  font-size: 1.2rem;
  color: #888;
}
.product-fav__stock.is-in, .product-fav__stock.is-few, .product-fav__stock.is-reserve {
  color: #202121;
}
.product-fav__stock.is-out {
  color: #aaa;
}

.product-fav__btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: auto;
  padding: 9px 12px;
  white-space: nowrap;
  color: #202121;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 2px;
  cursor: pointer;
  font-size: 12px;
  font-size: 1.2rem;
}
.product-fav__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.product-fav__btn.is-registered {
  color: #fff;
  background: #202121;
  border-color: #202121;
}
.product-fav__btn.is-registered svg {
  fill: currentColor;
}

/* PC では使わない
-------------------------- */
@media (min-width: 769px) {
  .product-img-btn,
  .product-stock,
  .product-thumb-bar,
  .product-modal {
    display: none !important;
  }
}/*# sourceMappingURL=fs_product_sp.css.map */