/* 共通表示切替 */
.spOnly {
  display: block;
}
.pcOnly {
  display: none;
}

@media screen and (min-width: 768px) {
  .spOnly {
    display: none;
  }
  .pcOnly {
    display: block;
  }
}

/* KV */
.kvimg {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  overflow: hidden;
  object-fit: cover;
}
.kvimg img {
  display: block;
  height: auto;
  object-fit: cover;
}

/* コンテンツ全体 */
.contentarea {
  max-width: 1104px;
  margin: 0 auto 20px;
  padding: 0 40px 20px;
}



@media screen and (max-width: 768px) {
  .contentarea {
    padding: 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .contentarea {
    padding: 0 10px;
  }
}

/* ボタンエリア */
.image-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  max-width: 1024px;
  margin: 0 auto;
  padding: 40px 0;
  width: 87.9%;
}
.image-container a {
  position: relative;
  display: block;
  text-align: center;
}
.image-container a.disabled {
  pointer-events: none;
  cursor: default;
}
.img-button {
  width: 100%;
  height: auto;
  display: block;
}
.caption {
  position: absolute;
  top: -3px;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
  font-size: 18px;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}
.image-container a::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 8px solid #fff;
}

.image-container a.disabled::after {
  display: none;
}

@media only screen and (max-width: 900px) {
  .caption {
    font-size: 14px;
  }
}

@media only screen and (max-width: 768px) {
  .image-container {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 9px;
    padding: 20px 0;
  }
  .caption {
    font-size: clamp(14px, 2.86vw, 22px);
  }
  .image-container a::after {
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #fff;
  }
}

@media only screen and (max-width: 480px) {
  .caption {
    font-size: 11px;
  }
  .image-container a::after {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #fff;
  }
}

/* コンテンツ枠 */
.cparea {
  padding: 40px 60px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #fff;
  margin-bottom: 15px;
}
.cparea {
  position: relative;
}
#playback {
  border: 4px solid #eb6d5e;
}
#freegacha {
  border: 4px solid #ff0000;
}
#linecoupon {
  border: 4px solid #07b53b;
}
#fiveyearcp {
  border: 4px solid #f4d062;
}
#shipping {
  border: 4px solid #22a9a7;
}
#ambassador {
  border: 4px solid #dc2a63;
}
#comingsoon {
  border: 4px solid #9c9a9a;
}
h2 {
  position:relative;;
}
h2:before {
   content: none;
   display: inline-block;
   position: absolute;
   top: -18%;
   left: -3%;
   background: url(../img/5thaniv_logo.svg) center top / 100% auto no-repeat;
   width: 8.5%;
   height: 80px;
 }
}
#comingsoon h2::before {
  content:none;
}
.cparea .text {
  margin: 0 auto;
  width: 100%;
  padding: 30px 0;
  font-size: 23px;
  font-weight: bold;
  display: flex;
  justify-content: center;
}
.text p {
  display: inline-block;
  max-width: 100%;
  width: auto;
  word-break: break-word;
  text-align: left;
}

.cparea img.lineup_img.pcOnly {
  width: 72.7%;
  margin: 0 auto;
}
.nextbtn {
  width: 47%;
  margin: 0 auto;
}

.planListArea {
  padding: 0;
}

.planList.single ul li:last-child {
  margin: 0 auto 0 auto;
}

.planList ul {
  margin-top: 0;
}

@media only screen and (max-width: 768px) {
  .cparea {
    padding: 40px 37px;
  }
  .cparea .text {
    padding: 20px 0;
    font-size: 23px;
  }
  .nextbtn {
    width: 89%;
  }
  h2:before {
   top: -18%;
   left: -3%;
   background: url(../img/5thaniv_logo.svg) center top / 100% auto no-repeat;
   width: 10.5%;
   height: 80px;
 }
}

@media only screen and (max-width: 600px) {
  .cparea .text {
    font-size: 20px;
  }
}

@media only screen and (max-width: 480px) {
  .cparea {
    padding: 20px 17px;
  }
  .cparea .text {
    font-size: clamp(12.5px, 2.92vw, 14px);
  }
  h2:before {
   top: -24%;
   left: -4%;
   background: url(../img/5thaniv_logo.svg) center top / 100% auto no-repeat;
   width: 12.5%;
   height: 80px;
 }
}

/* スライダー調整 */
.productslider {
  padding-top: 40px;
  width: 72.7%;
  margin: 0 auto;
  position: relative;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
  background-image: url("../img/arrow_prev.png");
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  background-image: url("../img/arrow_next.png");
}
.swiper-button-next .swiper-slide {
  width: calc(100% / 3);
  flex-shrink: 0;
  text-align: center;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media only screen and (max-width: 480px) {
  .swiper-container {
    padding: 0 0 20px;
  }

  .swiper-slide {
    width: calc(100% / 2);
  }
  .swiper-slide img {
    height: auto;
  }
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 20;
}

.swiper-button-prev {
  left: -80px;
}

.swiper-button-next {
  right: -80px;
}

@media only screen and (max-width: 480px) {
  .swiper-button-prev {
    left: -42px;
  }
  .swiper-button-next {
    right: -39px;
  }
  .swiper-button-prev,
  .swiper-button-next {
    position: absolute;
    top: 60%;
  }
}

/* LINE友達追加 */
.down-arrow {
  display: flex;
  justify-content: center;
  margin: -50px 0 -10px;
  font-family: "FontAwesome";
  font-size: 70px;
  color: #595757;
}

.down-arrow::after {
  content: "\f0d7";
}

.lineqr {
  margin: 40px auto 0;
  width: 61%;
  border: 4px solid #e37751;
  border-radius: 20px;
  overflow: hidden;
  padding: 19px 30px 19px 40px;
  display: flex;
  align-items: center;
  gap: 35px;
}
.lineqr img {
  max-width: 110px;
  height: auto;
  flex-shrink: 0;
}
.lineqr p {
  margin: 0;
  line-height: 1.4;
  font-size: 19px;
}

.postageTxt {
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .lineqr {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  .lineqr img {
    margin-bottom: 0;
  }
  .lineqr p {
    font-size: 22px;
  }
}
@media screen and (max-width: 480px) {
  .down-arrow {
    margin: -32px 0 -10px;
    font-size: 40px;
  }
  .lineqr {
    margin: 20px auto 0;
    border: 2px solid #e37751;
  }
}

/* 案件一覧調整 */
.pAreaInner {
  padding: 40px 80px 0;
}
@media screen and (max-width: 768px) {
  .pAreaInner {
    padding: 25px 10px 0;
  }
}

/* 5周年記念クーポン */
.couponinfo {
  position: relative;
  margin: 0 auto;
  width: 79.3%;
  border: 4px solid #ef9a23;
  padding: 70px 46.5px 40px;
  background-color: #fff;
}
.couponinfo img {
  position: absolute;
  top: 0;
  width: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.couponinfo_text p {
  font-size: 17px;
  margin-bottom: 15px;
}
strong {
  font-weight: bold;
  font-size: 19px;
}

.cparea .text.coupon {
  padding: 30px 0 50px;
}

.specialsetsumei {
  padding-left: 0px;
}

@media screen and (max-width: 768px) {
  .couponinfo {
    width: 100%;
    padding: 32.5px 30px;
  }
  .couponinfo_text p {
    font-size: 19px;
  }
  .cparea .text.coupon {
    padding: 20px 0 30px;
  }
  strong {
    font-size: 21px;
  }
}

@media screen and (max-width: 480px) {
  .couponinfo_text p {
    font-size: 11px;
    margin-bottom: 11px;
  }
  strong {
    font-size: 13px;
  }
}

/* 送料キャンペーン */
.shippingcp_banner2,
.notice {
  display: block;
  width: 70%;
  margin: 0 auto;
}
.notice {
  padding: 40px 0 0;
  font-size: 17px;
}
@media screen and (max-width: 768px) {
  .shippingcp_banner2,
  .notice {
    width: 100%;
    font-size: 17px;
  }
}

@media screen and (max-width: 768px) {
  .notice {
    font-size: 1em;
  }
}

/* YouTube埋め込み */
.youtube-container {
  position: relative;
  width: 70%;
  padding-bottom: 39.4%;
  height: 0;
  margin: 0 auto;
}
.youtube-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .youtube-container {
    width: 100%;
    padding-bottom: 56.25%;
  }
}
