@charset "UTF-8";

.c-heading{
  display: grid;
  gap: 0.6rem;
}

.c-heading--en{
  font-family: var(--font-theme-en);
  font-size: 1.2rem;
  font-weight: var(--fw-theme-book);
  letter-spacing: 0.1em;
  line-height: 1.4167;
  text-transform: uppercase;
  color: var(--color-theme-text-sub-02);
}

.c-heading--ja{
  font-family: var(--font-theme-ja);
  font-size: 2.4rem;
  font-weight: var(--fw-theme-m);
  letter-spacing: 0.1em;
  line-height: 1.45;
  color: var(--color-theme-text-default);
}

@media (min-width: 768px) {
  .c-heading{
    gap: 0.7rem;
  }

  .c-heading--en{
    font-size: 1.4rem;
    line-height: 1.4286;
  }

  .c-heading--ja{
    font-size: 3.6rem;
  }
}

.swiper-navigation{
  padding: 0;
  position: absolute;
  width: 1rem;
  z-index: 5;
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.swiper-navigation svg{
  width: 100%;
  height: auto;
  display: block;
}

.swiper-pagination{
  margin-top: 1.5rem;
  position: static;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.swiper-pagination-bullet{
  margin: 0!important;
  width: 2rem;
  height: 100%;
  aspect-ratio: 1;
  opacity: 1;
  position: relative;
  background-color: transparent;
}

.swiper-pagination-bullet::before{
  content: '';
  width: 0.4rem;
  height: auto;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--color-theme-text-default);
}

.swiper-pagination-bullet-active::after{
  content: '';
  width: 2rem;
  height: auto;
  aspect-ratio: 1;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border-radius: 50%;
  border: 1px solid var(--color-theme-border-01);
}

@media (min-width: 768px) {
  .swiper-navigation{
    width: 1.5rem;
  }

  .swiper-pagination{
    margin-top: 2.5rem;
    gap: 1rem;
  }

  .swiper-pagination-bullet{
    width: 2.4rem;
  }

  .swiper-pagination-bullet-active::after{
    width: 2.4rem;
  }
}

.l-container:has(.history-product){
  padding-inline: 0;
}

.l-container:has(.history-product) .m-productRecommend-wrap__title{
  padding-inline: 1.6rem;
}

.history-product__container{
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  overflow: auto;
}

.history-product__list{
  padding: 0 1.6rem;
  display: flex;
  gap: 1.5rem;
  width: fit-content;
}

.history-product__item{
  width: 19.8rem;
  color: var(--color-theme-text-default);
}

.history-product__item .c-product__title-name{
  margin-top: 1.2rem;
  font-size: 1.3rem;
  font-weight: var(--fw-l);
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.history-product__item .c-product__price{
  margin-top: 0.7rem;
  color: var(--color-theme-text-default);
}

.history-product__item .product__price--item[data-price="discount"] + .product__price--item[data-price="proper"] {
  color: var(--color-theme-text-sub-01);
}

.c-product__icon--list,
.c-productUser-head__status .c-productUser-sIcon,
.history-product__item .c-product-sIcon{
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.3rem;
}

.history-product__item .product__price--item{
  display: flex;
  align-items: baseline;
  position: relative;
  width: fit-content;
}

.history-product__item .product__price--item[data-price="discount"]{
  color: var(--color-theme-emphasis);
}

.history-product__item .product__price--item[data-price="discount"] + .product__price--item[data-price="proper"]::before{
  content: "";
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-theme-text-default);
}

.history-product__item .product__price--discountrate{
  padding: 0.2rem 0.27rem 0.1rem;
  margin-top: 0.2rem;
  margin-right: 0.5rem;
  display: block;
  font-size: 1.1rem;
  font-weight: var(--fw-book);
  letter-spacing: 0.03em;
  line-height: 1;
  align-self: start;
  background-color: var(--color-theme-emphasis);
  color: var(--color-white);
}

.history-product__item .product__price--numeric{
  font-size: 1.9rem;
  font-weight: var(--fw-book);
  letter-spacing: 0.03em;
  line-height: 1.1053;
}

.history-product__item .product__price--suffix{
  margin-left: 0.5em;
  font-size: 1.2rem;
  font-weight: var(--fw-book);
  letter-spacing: 0.02em;
  line-height: 1.75;
}

@media (min-width: 768px){
  .l-container:has(.history-product) .m-productRecommend-wrap__title{
    padding-inline: 0;
  }
  
  .history-product__list{
    padding-inline: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3.5rem;
  }

  .history-product__item{
    width: 100%;
  }

  .history-product__item:nth-of-type(n+6){
    display: none;
  }

}

.to-top{
  padding: 0;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 4.5rem;
  height: auto;
  aspect-ratio: 1;
  z-index: 7;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--color-white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 0 1rem rgb(0 0 0 / 0.1);
  cursor: pointer;
}

.to-top .to-top__icon{
  margin: auto;
  display: block;
  width: 3rem;
}

@media (min-width: 768px){
  .to-top{
    width: 6rem;
    right: 3rem;
    bottom: 3rem;
  }
}
/* マイページ cアイコン調整用 */
.c-productUser-head__status {
  position: static;
}
.c-productUser-head__delete {
  right: 1rem;
  bottom: auto;
  top: 1rem;
}