.grid { display: grid; }
.flex { display: flex; }
/* base
---------------------------------------------*/
.warranty-usp {
  padding-bottom: 0;
}
.warranty-usp .container {
  max-width: calc(100vw * 800 / 1280);
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
@media screen and (min-width: 1281px){
  .warranty-usp .container {
    width: 800px;
  }
}
@media screen and (max-width: 768px){
  .warranty-usp .container {
    max-width: 375px;
    padding-left: 20px;
    padding-right: 20px;
  }
}
/* 状態 junk
---------------------------------------------*/
.junk {
  background-color: #fff;
  padding-bottom: calc(100vw * 50 / 1280);
  @media (min-width: 1281px) {
    padding-bottom: 50px;
  }
  @media (max-width: 768px) {
    padding-bottom: 30px;
  }
}
.junk::after {
  content: '';
  position: absolute;
  bottom: calc(100vw * -98 / 1280);
  left: 0;
  width: 0;
  height: 0;
  border-left: 50vw solid transparent;
  border-right: 50vw solid transparent;
  border-top: calc(100vw * 100 / 1280) solid #fff;
  z-index: 2;
}
@media screen and (min-width: 1281px){
  .junk::after {
    bottom: -100px;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
    border-top: 100px solid #fff;
  }
}
@media screen and (max-width: 768px){
  .junk::after {
    bottom: -50px;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
    border-top: 50px solid #fff;
  }
}

/* junk-about
---------------------------------------------*/
.junkabout-title img {
  margin-inline: auto;
}
.junkabout-box {
  margin-top: calc(100vw * 30 / 1280);
  @media (min-width: 1281px) {
    margin-top: 30px;
  }
  @media (max-width: 768px) {
    margin-top: 30px;
  }
}
/* end junk-about
---------------------------------------------*/

/* junk-content
---------------------------------------------*/
.junk-lead {
  background-color: #006AAF;
  width: 100%;
  border-radius: calc(100vw * 10 / 1280) calc(100vw * 10 / 1280) 0 0;
  margin-top: calc(100vw * 50 / 1280);
  padding: calc(100vw * 25 / 1280) 0;
  color: #fff;
  text-align: center;
  p {
    font-size: clamp( 1px, calc(100vw * 30 / 1280), 30px );
    letter-spacing: 3px;
    word-wrap: break-word;
  }
  @media (min-width: 1281px){
    border-radius: 10px 10px 0 0;
    margin-top: 50px;
    padding: 25px 0;
    p {
      font-size: 30px;
    }
  }
  @media (max-width: 768px){
    border-radius: 10px 10px 0 0;
    margin-top: 30px;
    padding: 15px 0;
    p {
      font-size: 16px;
      letter-spacing: 1.6px;
    }
  }
}
.junk-lead::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #006AAF;
}
@media only screen and (max-width: 768px){
  .junk-lead::after {
    bottom: -13px;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    border-top: 10px solid #006AAF;
  }
}
.junk-wrap {
  flex-direction: column;
  border: 2px solid #006AAF;
  margin-inline: auto;
  gap: calc(100vw * 30 / 1280);
  padding: calc(100vw * 45 / 1280) calc(100vw * 30 / 1280) calc(100vw * 30 / 1280);
  border-radius: 0 0 calc(100vw * 10 / 1280) calc(100vw * 10 / 1280);
  @media (min-width: 1281px) {
    gap: 30px;
    padding: 45px 30px 30px;
    border-radius: 0 0 10px 10px;
  }
  @media (max-width: 768px) {
    gap: 40px;
    padding: 30px 20px;
    border-radius: 0 0 10px 10px;
    border: 3px solid #006AAF;
  }
}
.junk-title {
  font-size: clamp( 1px, calc(100vw * 25 / 1280), 25px );
  text-align: center;
  line-height: 38px;
  border-radius: 5px;
  background: #FFE99C;
  margin-bottom: calc(100vw * 30 / 1280);
  padding: calc(100vw * 5 / 1280) 0;
  @media (min-width: 1281px) {
    font-size: 25px;
    margin-bottom: 30px;
    padding: 5px 0;
  }
  @media (max-width: 768px) {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 20px;
    padding: 5px;
  }
}
.junk-subtitle {
  font-feature-settings: "palt";
  width: 100%;
  max-width: calc(100vw * 525 / 1280);
  margin-bottom: calc(100vw * 20 / 1280);
  margin-inline: auto;
  color: #DE310B;
  font-size: clamp( 1px, calc(100vw * 25 / 1280), 25px );
  text-align: center;
  letter-spacing: calc(100vw * 2.5 / 1280);
  @media (min-width: 1281px) {
    max-width: 525px;
    margin-bottom: 20px;
    font-size: 25px;
    letter-spacing: 2.5px;
  }
  @media (max-width: 768px) {
    max-width: 100%;
    font-size: 20px;
    letter-spacing: 2px;
    position: relative;
    text-align: center;
  }
}
.junk-subtitle p::before,
.junk-subtitle p::after {
  background-color: #3C2509; /* 線色 */
  border-radius: 2px; /* 線幅の半分 */
  content: "";
  display: inline-block;
  height: calc(100vw * 25 / 1280); /* 線の長さ */
  vertical-align: middle;
  margin-bottom: 0px;
  width: 2px; /* 線幅 */
}
.junk-subtitle p::before {
  margin-right: calc(100vw * 15 / 1280); /* 線右の余白 */
  transform: rotate(-20deg);
}
.junk-subtitle p::after {
  margin-left: calc(100vw * 10 / 1280); /* 線右の余白 */
  transform: rotate(20deg);
}
@media only screen and (min-width: 1281px){
  .junk-subtitle p::before,
  .junk-subtitle p::after {
    height: 25px;
  }
  .junk-subtitle p::before {
    margin-right: 15px;
  }
  .junk-subtitle p::after {
    margin-left: 10px;
  }
}
@media only screen and (max-width: 768px){
  .junk-subtitle p::before,
  .junk-subtitle p::after {
    height: 25px;
    position: absolute;
    bottom: 3px;
  }
  .junk-subtitle p::before {
    left: 35px;
  }
  .junk-subtitle p::after {
    right: 35px;
  }
}
@media only screen and (max-width: 374px){
  .junk-subtitle p::before {
    left: calc(100vw * 30 / 375);
  }
  .junk-subtitle p::after {
    right: calc(100vw * 30 / 375);
  }
}
.junk-subtitle small {
  color: #333;
  font-size: clamp( 1px, calc(100vw * 20 / 1280), 20px );
  letter-spacing: 2px;
  @media (min-width: 1281px) {
    font-size: 20px;
  }
  @media (max-width: 768px) {
    font-size: 16px;
    letter-spacing: 1.6px;
  }
}
.junk-list {
  margin-top: calc(100vw * 20 / 1280);
  justify-content: center;
  gap: calc(100vw * 30 / 1280) calc(100vw * 20 / 1280);
  @media (min-width: 1281px) {
    grid-template-columns: repeat(4, 169px);
    gap: 30px 20px;
  }
  @media (max-width: 768px) {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px 15px;
  }
  @media (max-width: 374px) {
    gap: calc(100vw * 25 / 375) calc(100vw * 10 / 375);
  }

}
.stamp .junk-list {
  flex-wrap: wrap;
  margin-inline: 0 auto;
}
.stamp .junk-list-item {
  flex: 0 1 calc(100vw * 168 / 1280);
}
.postcard .junk-list {
  grid-template-columns: repeat(4, 1fr);
}
@media only screen and (min-width: 1281px){
  .stamp .junk-list-item {
    flex: 0 1 168px;
  }
}
@media only screen and (max-width: 768px){
  .junk-list-item,
  .stamp .junk-list-item {
    flex: 0 0 137px;
  }
}
@media only screen and (max-width: 374px){
  .junk-list-item,
  .stamp .junk-list-item {
    flex: 0 0 calc(100vw * 137 / 375);
  }
}
.junk-item-image img {
  width: 100%;
  margin: auto;
  border-radius: 5px;
}
.junk-item-desc {
  margin-top: calc(100vw * 10 / 1280);
  font-size: clamp( 1px, calc(100vw * 16 / 1280), 16px );
  text-align: center;
  font-feature-settings: "palt";
  @media (min-width: 1281px) {
    margin-top: 10px;
    font-size: 16px;
  }
  @media (max-width: 768px) {
    margin-top: 10px;
    font-size: 16px;
    letter-spacing: 1.6px;
  }
  @media (max-width: 374px) {
    font-size: calc(100vw * 16 / 375);
    letter-spacing: calc(100vw * 1.6 / 375);
  }
}
.junk .attention {
  margin-top: calc(100vw * 20 / 1280);
  p {
    font-size: clamp( 1px, calc(100vw * 13 / 1280), 13px );
    font-weight: 300;
    padding-left: 1em;
    text-indent: -1em;
    letter-spacing: 0.65px;
  }
  @media (min-width: 1281px) {
    margin-top: 20px;
  }
  @media (max-width: 768px) {
    margin-top: 20px;
    p {
      font-size: 13px;
    }
  }
}
/* end junk-content
---------------------------------------------*/

/* 買取保証 warranty
---------------------------------------------*/
.warranty {
  background-color: #FFDC84;
  padding-top: calc(100vw * 180 / 1280);
  padding-bottom: calc(100vw * 75 / 1280);
}
/* PC */
@media only screen and (min-width: 1281px){
  .warranty {
    padding-top: 180px;
    padding-bottom: 75px;
  }
}
@media only screen and (max-width: 768px){
  .warranty {
    padding-top: 90px;
    padding-bottom: 140px;
  }
}
/* warranty-about
---------------------------------------------*/
.warrantyabout-title img {
  margin-inline: auto;
}
.warrantyabout-box {
  margin-top: calc(100vw * 60 / 1280);
  @media (min-width: 1281px) {
    margin-top: 60px;
  }
  @media (max-width: 768px) {
    margin-top: 30px;
  }
}
/* end warranty-about
---------------------------------------------*/

/* warranty-content
---------------------------------------------*/
.warranty-lead {
  background-color: #ED4700;
  border-radius: 10px 10px 0 0;
  padding: calc(100vw * 25 / 1280);
  margin-top: calc(100vw * 20 / 1280);
  img {
    height: calc(100vw * 55 / 1280);
    margin-inline: auto;
  }
  @media (min-width: 1281px) {
    padding: 25px;
    margin-top: 20px;
    img {
      height: 55px;
    }
  }
  @media (max-width: 768px) {
    padding: 20px;
    margin-top: 20px;
    img {
      height: 32px;
    }
  }
}
.warranty-wrap {
  background-color: #fff;
  border: 3px solid #ED4700;
  margin-inline: auto;
  border-radius: 0 0 calc(100vw * 10 / 1280) calc(100vw * 10 / 1280);
  padding: calc(100vw * 20 / 1280) calc(100vw * 30 / 1280) calc(100vw * 30 / 1280);
  @media (min-width: 1281px) {
    border-radius: 0 0 10px 10px;
    padding: 20px 30px 30px;
  }
  @media (max-width: 768px) {
    border-radius: 0 0 10px 10px;
    padding: 20px;
  }
}
.fukidashi.nanto{
  width: calc(100vw * (740 / 1280));
  margin: auto;
  @media (min-width: 1281px) {
    width: 740px;
  }
  @media (max-width: 768px) {
    width: 100%;
  }
}
.warranty-list {
  grid-template-columns: repeat(5, 1fr);
  justify-content: center;
  margin-inline: auto;
  margin-top: calc(100vw * 20 / 1280);
  gap: calc(100vw * 30 / 1280) calc(100vw * 20 / 1280);
  @media (min-width: 1281px) {
    margin-top: 20px;
    gap: 30px 20px;
  }
  @media (max-width: 768px) {
    margin-top: 20px;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  @media (max-width: 374px) {
    gap: calc(100vw * 15 / 375);
  }
}
.warranty-item-image img {
  width: 100%;
  margin: auto;
  border-radius: 5px;
}
.warranty-item-desc {
  margin-top: calc(100vw * 10 / 1280);
  font-size: clamp( 1px, calc(100vw * 16 / 1280), 16px );
  text-align: center;
  font-feature-settings: "palt";
  @media (min-width: 1281px) {
    margin-top: 10px;
    font-size: 16px;
  }
  @media (max-width: 768px) {
    margin-top: 10px;
    font-size: 16px;
    letter-spacing: 1.6px;
  }
}
.warranty-target-desc {
  background-color: #FFECEC;
  color: #DE310B;
  border-radius: 5px;
  font-size: clamp( 1px, calc(100vw * 16 / 1280), 16px );
  font-weight: 600;
  text-align: center;
  padding: calc(100vw * 10 / 1280) 0;
  margin-top: 6px;
  @media (min-width: 1281px) {
    font-size: 16px;
    letter-spacing: 1.6px;
    padding: 10px 0;
  }
  @media (max-width: 768px) {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 1.3px;
    padding: 15px 20px;
  }

}
.warranty .attention {
  margin-top: 10px;
  p {
    font-size: clamp( 1px, calc(100vw * 13 / 1280), 13px );
    padding-left: 1em;
    text-indent: -1em;
    font-weight: 300;
    line-height: calc(100vw * 22 / 1280);
    @media (min-width: 1281px) {
      font-size: 13px;
      line-height: 22px;
    }
    @media (max-width: 768px) {
      font-size: 13px;
      line-height: 22px;
    }
  }
}
/* end warranty-content
---------------------------------------------*/
.warranty .consult-text {
  margin-top: calc(100vw * 30 / 1280);
  span,small {
    text-align: center;
    font-size: clamp( 1px, calc(100vw * 20 / 1280), 20px );
    font-weight: 600;
    letter-spacing: 2px;
  }
  span {
    display: block;
  }
  small.textcolor {
    color: #ED4700;
  }
  p {
    margin-top: 5px;;
    text-align: center;
    font-size: clamp( 1px, calc(100vw * 30 / 1280), 30px );
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 3px;    
  }
  @media (min-width: 1281px) {
    margin-top: 30px;
    span,small {
      font-size: 20px;
    }
    p {
      font-size: 30px;
    }
  }
  @media (max-width: 768px) {
    margin-top: 30px;
    span,small {
      font-size: 13px;
      letter-spacing: 0.156px;
    }
    p {
      font-size: 20px;
      letter-spacing: 0.04px;
    }
  }
}

/* USP直下のpadding調整の背景色
---------------------------------------------*/
.warranty-usp + div.ptop30 {
  background-color: #FFDC84;
}