@charset "utf-8";
:root{
  --gap-p-parts-set-discount: 60px;
}
.p-parts-set-discount .u-pc-width{
  width: 92vw;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
}
.p-parts-set-discount img{
  max-width: 100%;
}
.p-parts-set-discount section+section,.p-parts-set-discount section section+section{
  margin-top: var(--gap-p-parts-set-discount);
}
.p-parts-set-discount section section section+section{
  margin-top: calc(var(--gap-p-parts-set-discount) / 2);
}
.p-parts-set-discount > section:last-child{
  margin-bottom: var(--gap-p-parts-set-discount);
}
.p-parts-set-discount input[type="radio"]{
  display: none;
}
.p-parts-set-discount label{
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  outline: 1px solid #ccc;
  gap: 1rem;
  cursor: pointer;
  position: relative;
}
.p-parts-set-discount label:hover{
  animation: hover-flash 1s forwards;
  opacity: 1;
}
.p-parts-set-discount label.out-of-stock{
  cursor: not-allowed;
  opacity: 0.5;
  filter: grayscale(1);
}
.p-parts-set-discount label.out-of-stock img{
  opacity: 0.25;
}
.p-parts-set-discount label.out-of-stock:hover{
  -webkit-animation-name: none;
  animation-name: none;
}
.p-parts-set-discount label img{
  width: 50%;
  margin: 0 auto;
}
.p-parts-set-discount label p:has(span[data-key="amttaxnounit"]){
  font-weight: 700;
  color: #e43344;
}
.p-parts-set-discount label span[data-key="amttaxnounit"]{
  font-size: 120%;
}
.p-parts-set-discount label p[data-key="stkname"]{
  font-size: 80%;
}
.p-parts-set-discount label:has(input[type="radio"]:checked){
  outline: 3px solid #004da1;
}
.p-parts-set-discount label:has(input[type="radio"]:checked)::after{
  content: "";
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  width: 0.5rem;
  height: 1rem;
  border: solid #004da1;
  border-width: 0 .2rem .2rem 0;
  transform: rotate(45deg);
  animation: bounce 0.5s forwards;
}
@keyframes bounce{
  25%{
    transform:scale(2) rotate(45deg);
  }
  50%{
    transform:scale(0.75) rotate(45deg);
  }
  75%{
    transform:scale(1.5) rotate(45deg);
  }
  100%{
    transform: scale(1) rotate(45deg);
  }
}
.p-parts-set-discount .set{
  border: 3px solid #004da1;
  padding: 1rem;
}
.p-parts-set-discount .c-headline{
  width: calc(100% + 2rem);
  margin: -1rem -1rem 0 -1rem;
  padding: calc(var(--gap-p-parts-set-discount) / 2);
  background: #004da1;
}
.p-parts-set-discount .c-headline__parent{
  position: sticky;
  top: 0;
  z-index: 10;
}
.p-parts-set-discount .c-headline__h2{
  color: #fff;
  margin: 0 auto;
  line-height: 1.25;
}
.p-parts-set-discount .lead{
  position: relative;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #eee;
  border-radius: 3rem;
  font-size: 120%;
  font-weight: 700;
  text-align: center;
}
.p-parts-set-discount .lead::after{
  content: "";
  display: block;
  height: 1rem;
  aspect-ratio: 1/0.866;
  background: #eee;
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}
/*  .p-parts-set-discount .total-price__parent{
  position: sticky;
  bottom: 0;
  z-index: 10;
}*/
.p-parts-set-discount .total-price{
  padding: 1rem;
  background: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.p-parts-set-discount .total-price .c-button[disabled]{
  filter: grayscale(1);
  opacity: 0.25;
  pointer-events: none;
  cursor: not-allowed;
}
.p-parts-set-discount .total-price table tr th,.p-parts-set-discount .total-price table tr td{
  padding: 0.5rem 0;
}
.p-parts-set-discount .total-price table tr th{
  text-align: right;
}
.p-parts-set-discount .total-price table tr th+td{
  padding-left: 0.5rem;
  text-align: left;
}
.p-parts-set-discount .discount-price__wrapper{
  color: #e43344;
  font-size: 140%;
  font-weight: 700;
}
.p-parts-set-discount .saved-price__wrapper{
  color: #e43344;
  font-size: 120%;
  font-weight: 700;
}
@media screen and (max-width:767px){
  .p-parts-set-discount label .c-button{
    justify-content: flex-start;
    padding: 0 1rem;
  }
  .p-parts-set-discount label .c-button::after{
    right: 1rem;
  }
  .p-parts-set-discount .discount-price__wrapper{
    font-size: 120%;
  }
  .p-parts-set-discount .saved-price__wrapper{
    font-size: 110%;
  }
}