.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 700;
  overflow: visible;
}

.modal-content-wrapper {
  position: relative;
  width: 900px;
  max-width: 80%;
}
@media (max-width: 540px) {
  .modal-content-wrapper {
    max-width: 80%;
  }
}

.modal-content {
  padding: 1.2rem 3.5rem 6rem;
  box-sizing: border-box;
  /* border-radius: 1.25rem; */
  position: relative;
  height: 80vh;
  overflow: scroll;
  border: 2px solid #f3f3f3;
  background-size: 80%;
  opacity: 1;
  background-repeat: repeat;
  p {
    /* @media (max-width: 540px) {
      font-size: 1.1rem;
    } */
  }
}
@media (max-width: 540px) {
  .modal-content {
    padding: 1.8rem 1.7rem 4rem;
    max-width: 100%;
    border: 2px solid #eaeaea;
    box-sizing: border-box;
  }
}

.modal-content-inner {
  border-radius: 1.25rem;
  background-color: rgba(0, 0, 0, 0.7);
  max-width: 100%;
}

.close-btn {
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  cursor: pointer;
  font-size: 2rem;
  color: #ffffff;
}
@media (max-width: 540px) {
  .close-btn {
    top: 0.3rem;
  }
}

.modal-slider {
  width: 460px;
  max-width: 80%;
  margin: 2rem auto;
}
@media (max-width: 540px) {
  .modal-slider {
    max-width: 100%;
    margin-bottom: 1rem;
  }
}
.modal-slider img {
  width: 100%;
  box-sizing: border-box;
}

.thumbnail-slider img {
  width: 19%;
  cursor: pointer;

  margin-bottom: 1.3%;
}
@media (max-width: 540px) {
  .thumbnail-slider img {
    width: 23%;
  }
}

.thumbnail-slider img.active {
  box-sizing: border-box;
}
.thumbnail-slider {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1%;
  justify-content: flex-start;
}
@media (max-width: 540px) {
  .thumbnail-slider {
    width: 100%;
    gap: 2%;
  }
}
.thumbnail-slider::after {
  content: "";
  width: 19%;
}
.thumbnail-slider div {
  width: 19%;
}
@media (max-width: 540px) {
  .thumbnail-slider div {
    width: 23%;
  }
}
.thumbnail-slider .slick-track:after,
.thumbnail-slider .slick-track:before {
  display: none !important;
}

/* 矢印は modal(親)基準で絶対配置 */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* modal-content より前 */
  /* background: rgba(255, 255, 255, 0.6);
  background-color: #000000; */
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.7rem;
  border-radius: 50%;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  color: #fff;
}
@media (max-width: 540px) {
  .modal-nav {
    width: 3.1rem;
    height: 3.1rem;
    background-color: initial;
  }
}

.modal-prev {
  left: -4.5rem;
  background-image: url("../images/arrow-prev.svg");
  background-repeat: no-repeat;
  background-size: 2.3rem;
  background-position: 0.8rem center;
}
@media (max-width: 1100px) {
  .modal-prev {
    left: -3.4rem;
  }
}
@media (max-width: 540px) {
  .modal-prev {
    left: -3rem;
  }
}

.modal-next {
  right: -4rem;
  background-image: url("../images/arrow-next.svg");
  background-repeat: no-repeat;
  background-size: 2.3rem;
  background-position: 1rem center;
}
@media (max-width: 1100px) {
  .modal-next {
    right: -3.4rem;
  }
}
@media (max-width: 540px) {
  .modal-next {
    right: -2.3rem;
  }
} /*# sourceMappingURL=style.css.map */

.goods-detail {
  margin-top: 1rem;
  color: #fff;
}
.goods-detail h4 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
  color: #fff;
  /* Safari対策 */
}
@media screen and (max-width: 540px) {
  .goods-detail h4 {
    margin-top: 3rem;
    font-size: 1.4rem;
  }
}
.goods-detail p {
  font-size: 1rem;
  color: #fff;
}
.goods-detail .price {
  margin-top: 2rem;
  font-size: 1.7rem;
  font-weight: bold;
  color: #fff;
  display: inline-block;
}
@media (max-width: 540px) {
  .goods-detail .price {
    margin-bottom: 1.2rem;
  }
}
.goods-detail .size {
  margin-top: 3rem;
}
@media (max-width: 540px) {
  .goods-detail .size {
    margin-top: 1.8rem;
  }
}
.goods-detail h5 {
  font-size: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #fff;
  padding-bottom: 0.2rem;
  letter-spacing: 0.05rem;
}
.goods-detail .price-detail {
  font-size: 0.8rem;
}
.goods-detail .price-detail p {
  margin-top: 0.5rem;
  display: flex;
  align-items: flex-start;
}
.goods-detail .price-detail span {
  font-size: 0.75rem;
  text-align: center;
  background: linear-gradient(
    90deg,
    rgb(0, 104, 150) 0%,
    rgb(0, 104, 150) 100%
  );

  color: white;
  width: 6rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  box-sizing: border-box;
  display: inline-block;
  margin-right: 0.5rem;
}
@media (max-width: 540px) {
  .goods-detail .price-detail span {
    font-size: 0.85rem;
    padding: 0.13rem 0.2rem;
  }
}

.notest-text {
  font-size: 0.9rem;
}
