@charset "utf-8";
/*ランキング内クーポン枠*/
.sale-model .coupon-value{
  border: none;
}
.sale-model .coupon-code__inner{
  width: 100%;
}
.sale-model .coupon-code__detail{
  font-size: 13px;
  font-weight: 700;
}

/*ランキング枠*/
.p-ranking{
  padding: 90px 0;
  overflow: hidden; /*swiper-containerでoverflow:visibleを使っている事による横スクロール発生を抑制*/
  background: #e5f6fc;
}
.p-ranking section+section{
  margin-top: 45px;
}
@media screen and (max-width:767px){
  .p-ranking{
    padding: 45px 0;
  }
}
.p-ranking-list{
  width: 100%;
  margin: 0 auto;
  overflow: visible;　/*既定のコンテンツ枠からはみ出るのを許可*/
}
.p-ranking-list__card{
  height: auto;
  padding: 1.7rem 0.5rem 0.5rem 0.5rem;
  border: 1px solid #a3a3a3;
  background: #fff;
  display: grid;
  gap: 0.5rem;
  position: relative;
}
.p-ranking-list__card > *,.p-ranking-list__card-default > *,.p-ranking-list__card-customize > *{
  min-width: 0;
}
.p-ranking-list__card-label{
  border: 1px solid #e43344;
  color: #e43344;
  font-size: 0.8rem;
  padding: 0.2rem 0.4rem;
  display: inline-block;
  position: absolute;
  left: -1px;
  top: -1px;
  border-radius: 0 0 0.4rem 0;
  background: #fff;
}
.p-ranking-list ul li.p-ranking-list__card::after {
  content: "";
  width: 48px;
  height: 40px;
  display: block;
  position: absolute;
  right: 1rem;
  top: 0.5rem;
}
.p-ranking-list ul li:nth-child(1).p-ranking-list__card::after {
  background: url(../images/icon-rank-1.webp) no-repeat 50% 50% / cover;
}
.p-ranking-list ul li:nth-child(2).p-ranking-list__card::after {
  background: url(../images/icon-rank-2.webp) no-repeat 50% 50% / cover;
}
.p-ranking-list ul li:nth-child(3).p-ranking-list__card::after {
  background: url(../images/icon-rank-3.webp) no-repeat 50% 50% / cover;
}
.p-ranking-list ul li:nth-child(4).p-ranking-list__card::after {
  background: url(../images/icon-rank-4.webp) no-repeat 50% 50% / cover;
}
.p-ranking-list__card-img{
  width: 50%;
  margin: 0 auto;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-ranking-list__card-img img{
  width: 100%;
}
.p-ranking-list__card-default{
  display: grid;
  gap: 0.5rem;
}
.p-ranking-list__card-text--bold{
  height: calc(2em * 1.25);
  line-height: 1.25;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 700;
}
.p-ranking-list__card-text--review{
  font-size: 0.8rem;
}
.p-ranking-list__card-text--price{
  color: #e43344;
  font-size: 0.8rem;
  font-weight: 700;
}
.p-ranking-list__card-text--price *[data-key="amttaxnounit"]{
  font-size: 1.6rem;
}
.p-ranking-list__card-spec{
  font-size: 0.8rem;
}
.p-ranking-list__card-spec li{
  display: inline;
}
.p-ranking-list__card-spec li+li::before{
  content: "/";
}
.p-ranking-list__card .sale-model .coupon-wrapper{
  margin: 0;
  flex-direction: row;
}
.p-ranking-list__card .sale-model .coupon-value,.p-ranking-list__card .sale-model .coupon-code{
  width: 50%;
}
.p-ranking-list__card .c-button{
  width: 100%;
  height:44px;
}
.p-ranking-list__card-customize{
  padding: 0.5rem;
  display: grid;
  gap: 0.5rem;
  background: #fff4e1;
}
.p-ranking-list__card-customize .p-ranking-list__card-text--bold{
 height: auto;
}
.p-ranking-list__card-customize-price-wrapper{
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  justify-content: space-between;
}
.p-ranking-list__card-customize .c-link--blue-info{
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  cursor: pointer;
}
.p-ranking-list__card-customize .c-link--blue-info::after{
  width: 0.8em;
  height: 0.8em;
  content: url(../images/ico_info.svg);
}
.p-ranking-list__button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(98, 98, 98, 0.5);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1;
  backdrop-filter: blur(5px);
}
.p-ranking-list__button::after {
  content: '';
  width: 30%;
  height: 30%;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-12.5%, 12.5%);
}
.p-ranking-list__button.swiper-button-disabled{
  background: rgba(220, 220, 220, 0.5);
}
.p-ranking-list__button--prev {
  left: -80px;
}
.p-ranking-list__button--prev::after{
  transform: rotate(-135deg);
}
.p-ranking-list__button--next {
  right: -80px;
  transform: rotate(45deg);
}
@media screen and (max-width:767px){
  .p-ranking-list__card .sale-model .coupon-value__detail{
    font-size: 1.2rem;
  }
  .p-ranking-list__card .sale-model .coupon-code__text{
    font-size:0.6rem;
  }
  .p-ranking-list__card .sale-model .coupon-code__button{
    font-size: 0.6rem;
  }
  .p-ranking-list__card-customize-price-wrapper .c-link--blue{
    font-size: 0.6rem;
  }
}

.rec-customize-wrap {
  background: #fff;
  padding: clamp(20px, 0.795rem + 1.52vw, 30px);
}

.rec-customize-wrap .p-ranking-list__title p {
  color: #004da1;
  font-size: 28px;
  font-style: italic;
  font-weight: bold;
  letter-spacing: 1.68px;
  text-align: center;
}

.rec-customize-wrap .p-ranking-list__title {
  margin-bottom: clamp(20px, 0.795rem + 1.52vw, 30px);
}

.rec-customize-wrap .c-headline__h2 {
  color: #004da1;
}

.rec-customize-layout {
  display: flex;
  gap: 30px;
  justify-content: space-evenly;
}

.rec-customize-inr {
  width: calc((100% - 90px)/4);
}

.rec-customize-h3 {
  background: #e43344;
  text-align: center;
  color: #fff;
  font-size: clamp(16px, 0.909rem + 0.3vw, 18px);
  font-weight: bold;
  padding: 10px 4px;
}

.rec-customize-img {
  width: 50%;
  margin-inline: auto;
}

.rec-customize-img img {
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  .modaal-inner-wrapper:has(.rec-customize-wrap) {
    padding-inline: 15px;
  }

  .modaal-container:has(.rec-customize-wrap) {
    width: fit-content;
  }

  .modaal-content-container:has(.rec-customize-wrap) {
    padding: 0;
  }

  .rec-customize-wrap {
    padding: 0;
    margin-top: 0;
  }

  .rec-customize-wrap .p-ranking-list__title p {
    text-align: left;
    font-size: 4.4vw;
  }

  .rec-customize-layout {
    flex-wrap: wrap;
    gap: 20px;
  }

  .rec-customize-inr {
    width: calc((100% - 20px)/2);k
  }

  .rec-customize-h3 {
    font-size: 3vw;
  }

  .rec-customize-img {
    width: 70%;
  }

  .rec-customize-inr p {
    font-size: 3vw;
    text-align: left;
  }
}

.p-customize-details{
  background: #fff;
  padding: 2rem;
}
.p-customize-details .c-headline__h2{
  margin-bottom: 2rem;
}
.p-customize-details .c-headline__h3{
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: #e43344;
  text-align: center;
  color: #fff;
  font-size: 1rem;
}
.modaal-content-container .p-customize-details{
  padding: 0;
}
.modaal-content-container{
  padding: 1rem;
}

@media screen and (max-width:767px){
  .p-customize-details .c-headline__h3{
    font-size: 0.8rem;
  }
}