.hero {
  height: 570px;
  width: 100%;
  margin-top: 50px;
  position: relative;
  background: radial-gradient(circle, #ffffff, #aacfdd);
}

.hero .car,
.hero .lady {
  position: absolute;
}

.hero .car.pc {
  left: -2%;
  width: 68%;
  top: 72px;
}

.hero .lady.pc {
  right: -36px;
  width: 47%;
  top: 11.4rem;
  z-index: 3;
}

.hero .lady.pc.tik_image {
  right: -191px;
  z-index: 10;
  top: 48px;
}

.car.pc.tik_image {
  width: 100%;
  top: 110px;
  z-index: 9;
}

/* フォーム */
.wpcf7-form {
  width: 390px;
  right: 0;
  position: absolute;
  background-color: #fff;
  padding: 66px 20px 0 20px;
  height: 100%;
  z-index: 9998;
}

.wpcf7-form.tiktok-form {
  width: 100%;
  background-color: #fff;
  padding: 80px 20px 100px 20px;
  position: static;
}

.wpcf7-form.tiktok-form .wpcf7-submit {
  width: 45%;
  padding: 1.2%;
}

.wpcf7-form.tiktok-form button.showCheckContent {
  width: 45%;
}

.wpcf7-form.tiktok-form .form_head {
  margin-top: 30px;
  margin-bottom: 30px;
}

.form-inner {
  max-width: 750px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

.wpcf7-form-control-wrap {
  position: relative;
  margin: 7px 0;
  display: block;
}

.wpcf7-form-control-wrap input {
  background: #f5f5f5;
  border: none;
  padding: 5px 10px;
  width: 100%;
  font-size: 17px;
}

.wpcf7-form-control-wrap select {
  font: inherit;
  background: #f5f5f5;
  border: none;
  color: #777;
  padding: 10px;
  width: 100%;
  font-size: 17px;
}

.wpcf7-submit {
  background: #d30d30;
  border: none;
  width: 80%;
  border-radius: 20px;
  padding: 3%;
  margin: 21px auto -21px auto;
  display: block;
  color: #fff;
}

.form_head {
  text-align: center;
}

.form_head p {
  text-align: center;
  font-weight: bold;
  position: relative;
  display: inline-block;
  width: 46%;
  font-size: 1.6rem;
  background: linear-gradient(transparent 50%, #ffee00 50%);
}

.form_head p::before {
  position: absolute;
  top: -151%;
  left: -37%;
  transform: scale(0.5);
  content: url(../img/20min.svg);
}

.tiktok-form .form_head p::before {
  top: -175%;
}

.tiktok-form .form_head.hero .lady.pc {
  text-align: center;
  margin-bottom: 23px;
}

/* 誰でも車が買える */
.head {
  text-align: center;
}

h2 {
  position: relative;
  display: inline-flex;
}

/* .swiper-wrapper{
    overflow: hidden;
} */
.swiper-comment {
  width: 100%;
  /* 横幅を100%に */
  height: 100%;
  /* 高さを必要に応じて指定 */
}

.swiper-slide-works {
  background-color: #eef2f5;
  padding: 10px 20px;
}

.swiper-slide {
  text-align: center;
  /* コンテンツを中央揃え */
  font-size: 18px;
  background: #fff;
  /* 背景色を設定 */
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #007aff;
  opacity: 0.5;
  border-radius: 50%;
  transition: opacity 0.3s;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* ナビゲーションボタンのスタイル */
.swiper-button-next,
.swiper-button-prev {
  color: #007aff;
  width: 27px;
  height: 27px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #005bb5;
}

.swiper-reason__text {
  background-color: #00adeb;
  color: #fff;
  font-size: clamp(12px, 1vw, 20px);

  text-align: center;
  border-radius: 10px;
  padding: 10px;
  display: block;
  margin: 0 auto;
}

.swiper-user__status {
  text-align: center;
  font-size: clamp(12px, 1vw, 16px);

  background-color: #fff;
  box-shadow: 3px 3px 3px #333;
  margin: 10px 0;
  padding: 10px 0;
}

.swiper-car__name {
  font-size: clamp(12px, 1vw, 18px);
  text-align: center;
}

.swiper-month__price {
  color: #d30d30;
  text-align: center;
  font-size: 1.5rem;
}

.swiper-month__price span {
  color: #d30d30;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 400;
}

.about_img1 {
  width: 48%;
}

.feature__boxs div {
  width: 30%;
  border: 1px solid #d30d30;
  border-radius: 10px;
  background-color: #fff;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 1%;
  align-items: center;
}

.to_cta {
  display: block;
  margin: 0 auto;
}

.to_cta button {
  color: #fff;
  text-align: center;
  padding: 17px;
  border: none;
  width: 300px;
  background: linear-gradient(to bottom, #000000 0%, #666666 100%);
  display: block;
  margin: 33px auto 0 auto;
  font-size: 30px;
  cursor: pointer;
}

.to_cta.column button {
  padding: 10px 50px;
  width: auto;
  margin: 33px auto 0 auto;
  font-size: 20px;
}

#feature {
  background-color: #fff;
  background-image: url(../img/feature_bg.svg);
  background-position: center 18%;
}

.recomend__boxs div {
  width: 28%;
  border-radius: 10px;
  background-color: #fff;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  margin: 2%;
  align-items: center;
  box-shadow: 3px 3px 3px #333;
}

#voice {
  background-color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

#voice::after {
  position: absolute;
  content: url(../img/voice_bg.svg);
  bottom: 66px;
  right: -3%;
  z-index: -1;
}

.voice_boxs dl {
  background-color: #f3f7fd;
  padding: 10px;
  width: 31%;
  margin: 1%;
  font-size: 14px;
}

.voice_boxs dt {
  margin: 10px 0;
}

.voice_boxs dt span {
  background-color: #d30d30;
  color: #fff;
  text-align: center;
  padding: 3px;
  margin-right: 5px;
}

#flow,
#faq {
  background-color: #fff;
}

#faq dl {
  margin-top: 30px;
}

/* よくある質問 */
#faq dt {
  background-color: #eef2f5;
  position: relative;
  font-weight: bold;
  padding: 10px;
  padding-left: 50px;
}

#faq dt::before {
  position: absolute;
  left: 2%;
  top: 21%;
  content: "Q.";
}

#faq dd {
  font-weight: bold;
  padding: 10px;
  padding-left: 50px;
  position: relative;
}

#faq dd::before {
  position: absolute;
  left: 2%;
  top: 21%;
  content: "A.";
  color: #d30d30;
}

.head img {
  width: 51%;
  display: block;
  margin: 0 auto;
}

.shop_img img {
  width: 30%;
}

.is-tiktok .form_head p {
  width: 47%;
}

.is-tiktok .form_head p::before {
  left: 10%;
}

.sub_headdd {
  font-size: 2rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .sub_headdd {
    font-size: 1.3rem;
  }

  #slider {
    overflow: hidden;
  }

  .header__menu {
    display: none;
  }

  .hero {
    height: auto;
    margin-top: 35px;
  }

  .inner {
    padding: 0 10px;
  }

  h2 {
    font-size: 1.2rem;
    display: block;
  }

  #about .-flex.f-wrap img {
    width: 28%;
  }

  .f1-5 {
    font-size: 1rem;
  }

  .about_img1 {
    width: 100%;
  }

  .feature__boxs div {
    font-size: 0.7rem;
  }

  .recomend__boxs div {
    font-size: 0.7rem;
  }

  .recomend__boxs div {
    padding: 12px 3px;
  }

  h2::after {
    bottom: -24px;
    left: -21%;
    transform: scale(0.5);
  }

  .wpcf7-form {
    width: 100%;
    position: static;
    padding-bottom: 30px;
  }

  .swiper-container {
    width: 100%;
  }

  .swiper-slide {
    padding: 25px;
    width: auto;
    /* これにより、slidesPerViewの設定が適用されやすくなります */
  }

  #slider {
    padding: 50px 20px;
  }

  .past_works {
    margin-top: 23px;
  }

  .head img {
    width: 80%;
    display: block;
    margin: 0 auto;
  }

  .feature__boxs div {
    padding: 10px 7px;
  }

  .swiper-user__status {
    margin: 10px auto 30px auto;
    padding: 5px 14px;
    font-size: 16px;
    width: 90%;
  }

  .swiper-reason__text {
    font-size: 20px;
  }

  #voice {
    padding: 50px 10px;
  }

  #about {
    padding-top: 0px;
  }

  .swiper-comment .swiper-slide {
    box-shadow: 3px 5px 7px #999;
  }

  .shop_img img {
    width: 100%;
  }

  .form_head p::before {
    top: -166%;
    left: -34%;
    transform: scale(0.7);
  }

  .is-tiktok .form_head p {
    width: 100%;
  }

  .is-tiktok .form_head p::before {
    left: 10%;
  }
}

@keyframes blinkBorder {

  0%,
  100% {
    border: 2px solid red;
  }

  50% {
    border: 2px solid transparent;
  }
}

.blink-new-new {
  animation: blinkBorder 1s infinite;
}

/*.wpcf7-form .wpcf7-not-valid {
  animation: none !important;
}*/

.btn-form-custom {
  padding-bottom: 20px;
}

.wpcf7-response-output {
  display: none;
}

.wpcf7-form-control-wrap input:focus-visible {
  outline: none;
  border: none;
}

.form-input-hide {
  display: none;
}

/* popup css plus */

/* Popup Background */
.popup-container {
  display: none;
  /* Ẩn mặc định */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Màu nền trong suốt */
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Popup Content */
.popup-content {
  background: #fff;
  padding: 40px 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 460px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  position: relative;
}

.popup-content h2 {
  color: #e74c3c;
  margin-bottom: 10px;
}

.popup-content p {
  color: #333;
  margin-bottom: 0px;
}

.popup-button {
  padding: 8px 35px;
  background: #3498db;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.popup-button:hover {
  background: #2980b9;
}

/* Close Icon */
.popup-close-icon {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  background-color: #e6e6e6;
}

.popup-close-icon:hover {
  color: #e74c3c;
}

.btn-ct-new {
  margin-top: 30px;
}

.wpcf7-contact-form-not-found {
  display: none;
}

.tiktok-header .top_logo {
  width: 230px;
  text-align: center;
  display: block;
  margin: 0 auto;
}

@media (min-width: 468px) {
  .sp-blco {
    display: none;
  }

  .popup-content h2 {
    font-size: 24px;
  }

  .popup-content p {
    font-size: 14px;
  }
}

@media (max-width: 468px) {
  .sp-blco {
    display: block;
  }

  .popup-content h2 {
    font-size: 20px;
  }

  .popup-content p {
    font-size: 13px;
  }

  #column .swiper-button-next,
  #column .swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 40%);
  }

  .swiper-comment.sp-block .swiper-button-next,
  .swiper-comment.sp-block .swiper-button-prev {
    top: var(--swiper-navigation-top-offset, 50%);
  }

  .wpcf7-form.tiktok-form button.showCheckContent,
  .wpcf7-form.tiktok-form .wpcf7-submit {
    width: 100%;
  }
}

/* end */

/* ====== モーダル ====== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.modal__dialog {
  position: relative;
  max-width: 520px;
  width: calc(100% - 32px);
  background: #fff;
  border-radius: 14px;
  padding: 20px 20px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  z-index: 1;
}

.modal__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  background-color: #d30d30;
  color: #fff;
}

.modal__body {
  margin: 0 0 16px;
  line-height: 1.6;
  font-size: 14px;
  text-align: center;
}

.modal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.modal__actions p {
  display: flex;
}

/* ボタン系（最低限） */
.modal__actions .btn {
  appearance: none;
  border: 1px solid #ddd;
  background: #ddd;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  margin-left: 10px;
  cursor: pointer;
}

.modal__actions .btn.btn--primary {
  background: #d30d30;
}

.btn:hover {
  filter: brightness(0.98);
}

.btn--primary {
  background: #d30d30;
  color: #fff !important;
  border-color: #d30d30;
  text-decoration: none;
}

/* ====== 無効化時の確認ボタン ====== */
.showCheckContent[disabled],
.showCheckContent[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* 自己破産チェック説明 */
.bankruptcy-check {
  margin: 0 0 10px;
}

.bankruptcy-check__label {
  font-weight: 600;
  margin-left: 10px;
  font-size: 12px;
}

.bankruptcy-check__note {
  font-size: 12px;
  color: #666;
  margin: 4px 0 0;
}

#isBankrupt {
  margin-right: 10px;
}

.bankruptcy-check {
  margin-top: -24px;
}

.logo-brand-partner {
  padding-top: 210px;
}

@media screen and (max-width: 768px) {

  .logo-brand-partner {
    padding-top: 70px;
  }

}