@media screen and (max-width: 1699px) and (min-width: 1455px) {
  .hero .lady.pc {
    right: 6%;
  }
    .hero .lady.pc.tik_image {
    right:-20%;
  }

  .hero {
    margin-top: 60px;
  }
}

@media screen and (max-width: 1454px) and (min-width: 1200px) {
  .hero .lady.pc {
    right: 15%;
  }
     .hero .lady.pc.tik_image {
  right:-11%;
  }
  .hero .car.pc {
    left: -16%;
  }

  .hero {
    margin-top: 60px;
  }
}

@media screen and (max-width: 768px) {

  html{
    scroll-padding-top: 24px;
  }
  .column {
    flex-direction: column;
  }
  .sp-block {
    display: block;
  }

  .sp-none {
    display: none;
  }
  .sp-none-flex {
    display: none;
  }
  .left__side,
  aside {
    width: 100%;
  }
  aside {
    margin-top: 10px;
  }
  .author-box {
    flex-direction: column;
  }
  .author-avatar {
    width: 100%;
  }
  .author-details {
    width: 100%;
  }
  .author-avatar img {
    width: 50%;
    display: block;
    margin: 0 auto;
  }
  .menu-icon {
    position: absolute;
    right: 16px;
    top: 24px;
    cursor: pointer;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
  }

  .menu-icon div {
    width: 100%;
    height: 3px;
    background-color: #000;
    transition: transform 0.3s, opacity 0.3s;
  }

  .menu-icon.open div:nth-child(1) {
    transform: rotate(45deg) translate(8px, 7px);
    background-color: #fff;
  }

  .menu-icon.open div:nth-child(2) {
    opacity: 0;
  }

  .menu-icon.open div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #fff;
  }

  nav.inner {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* background-color: rgba(0, 0, 0, 0.9); */
    z-index: 1;
    transition: 0.3s ease-in-out;
  }

  nav a {
    color: #000;
    text-decoration: none;
    font-size: 0.8rem;
    margin: 10px;
  }

  .nav-active {
    display: flex;
  }

  .area-section {
    background-color: #454545;
    padding: 0 10px;
  }
  .details-summary {
    position: relative;
    display: block;
    padding: 20px;
    color: #fff;
    border-bottom: 2px solid #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    padding-left: 51px;
  }
  .details-summary:hover {
    cursor: pointer;
  }
  .details-summary .btn {
    position: absolute;
    top: 37%;
    left: 2%;
    width: 18px;
    height: 18px;
    transform-origin: center center;
    transition-duration: 0.2s;
  }
  .details-summary .btn:before,
  .details-summary .btn:after {
    content: "";
    background-color: #fff;
    border-radius: 10px;
    width: 18px;
    height: 4px;
    position: absolute;
    top: 7px;
    left: 0;
    transform-origin: center center;
  }
  .details-summary .btn:before {
    width: 4px;
    height: 18px;
    top: 0;
    left: 7px;
  }
  .details-summary.is-active .btn {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
  .details-summary.is-active .btn:before {
    content: none;
  }
  .details-summary::-webkit-details-marker {
    display: none;
  }
  .details-content {
    padding: 20px 0;
    display: none;
  }
  .details-content p {
    margin: 0 0 20px;
    color: #fff;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid #fff;
    line-height: 3;
  }
  .details-content p:last-of-type {
    margin: 0 0 0;
  }
  .footer__links ul {
    padding: 0px;
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    justify-content: left;
    background-color: #000;
  }
  .footer__links ul li {
    margin: 0;
    text-align: center;
    padding: 10px;
    justify-content: left;
    width: 50%;
    font-size: 11px;

    border: 0.1px solid #ffff;
  }
  .footer__links li a {
    color: #fff;
  }
  .footer__links ul li:last-child {
    border-right: 1px solid #fff;
    width: 100%;
  }
  .footer__links {
    padding: 0;
  }
  footer{
    padding-bottom: 100px;
    font-size: 10px;
  }
  .main {
    margin: 20px 0; 
  }

  .area-section h4 {
    background: linear-gradient(45deg, #d4102e, #ff7b00);
    color: white;
    padding: 10px;
    margin-bottom: 7px;
    display: inline-block;
    font-size: 18px;
    margin-top: 20px;
  }
  .company__wrap {
    width: 90%;
  }
  .company__list {
    width: 100%;
    margin-left: 0;
  }
  .company__list dt,
  .company__list dd {
    height: auto;
    padding-bottom: 10px;
    font-size: 14px;
  }
  .company__wrap .f1-5 {
    font-size: 1rem;
  }
  .mt150 {
    margin-top: 40px;
  }
  .f3-5 {
    font-size: 2rem;
  }
  .commpany__white_bg {
    padding: 20px 17px;
  }
  .commpany__white_bg p{
    font-size: 14px;
  }
  .commpany__white_bg .f3-5 {
    font-size: 1.5rem;
  }

  #wrap {
    padding: 100px 10px 100px 10px;
  }
  .document-area h2,  .document-area h3 {
    font-size: 1.3rem;
  }
.document-area.anti h3{
    font-size: 1.1rem;
  }
  
  .document-area h3{
    margin-top: 40px;
    margin-bottom: 0;
  }
  .contact-container-cus li {
    flex-direction: column;
  }
  .contact-container-cus li div:first-child {
    width: 100%;
    justify-content: left;
  }
  .contact-container-cus .two textarea {
    width: 100%;
  }
  .contact-detail
    input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    margin: 10px auto;
    padding: 7px 0px;
  }
  .contact-container-cus li div:last-child {
    width: 100%;
  }
  .btn-container .btn-submit-news span input {
    margin: 0 auto;
    margin-top: 30px;
    display: block;
  }

  /* ハンバーガーメニュー */
  #overlay {
    display: block;
  }
  @keyframes bugfix {
    from {
      padding: 0;
    }
    to {
      padding: 0;
    }
  }
  @-webkit-keyframes bugfix {
    from {
      padding: 0;
    }
    to {
      padding: 0;
    }
  }
  #overlay-button {
    position: absolute;
    right: 1em;
    top: 0.5em;
    padding: 26px 11px;
    z-index: 999999999;
    cursor: pointer;
    user-select: none;
  }
  #overlay-button span {
    height: 4px;
    width: 35px;
    border-radius: 2px;
    background-color: #000;
    z-index: 999999999;
    position: relative;
    display: block;
    transition: all 0.2s ease-in-out;
  }
  #overlay-button span:before {
    top: -10px;
    visibility: visible;
  }
  #overlay-button span:after {
    top: 10px;
  }
  #overlay-button span:before,
  #overlay-button span:after {
    height: 4px;
    width: 35px;
    border-radius: 2px;
    background-color: #000;
    position: absolute;
    content: "";
    transition: all 0.2s ease-in-out;
  }
  #overlay-button:hover span,
  #overlay-button:hover span:before,
  #overlay-button:hover span:after {
    background: #000;
  }

  input[type="checkbox"] {
    display: none;
  }
  .bankruptcy-check__label input[type="checkbox"]{
    display: inline;
  }

  input[type="checkbox"]:checked ~ #overlay {
    visibility: visible;
  }

  input[type="checkbox"]:checked ~ #overlay-button:hover span,
  input[type="checkbox"]:checked ~ #overlay-button span {
    background: transparent;
  }
  input[type="checkbox"]:checked ~ #overlay-button span:before {
    transform: rotate(45deg) translate(7px, 7px);
  }
  input[type="checkbox"]:checked ~ #overlay-button span:after {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  #overlay {
    height: 100vh;
    width: 100vw;
    margin-top: 11px;
    background: #f3f7fd;
    z-index: 999999999;
    visibility: hidden;
    position: fixed;
    right: 0;
  }

  #overlay ul {
    display: flex;
    padding-top: 50px;
    justify-content: normal;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 100vh;
    padding-left: 0;
    list-style-type: none;
  }
  #overlay ul li {
    padding: 1em;
  }
  #overlay ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1.5em;
  }
  #overlay ul li a:hover {
    color: #000 !important;
  }

  /* #recomend h2{
    padding-top: 50px;
  } */
   .swiper-comment .swiper-button-next,.swiper-comment .swiper-button-prev{
    top: var(--swiper-navigation-top-offset, 58%);
   }

  input[type="checkbox"]:checked ~ #overlay ul li a:active {
    visibility: none;
  }
  button.showCheckContent {
    padding: 5px 0px;
    border-radius: 28px;
    background-color: #d34545;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 2px auto;
    font-size: 22px;
    width: 100%;
    border: none;
    height: auto;
    display: block;
  }
  div#SMScheckCode {
    margin: 20px 0px 0;
    text-align: center;
    border-top: 2px solid #d34545;
    padding: 10px 0 0;
    transition: 3s;
  }
  div#SMScheckCode p {
    font-size: 10px;
  }
  input#authCodeInput {
    width: 90%;
    margin: 5px auto 10px;
    border-radius: 28px;
    background-color: #fcfcfc;
    height: 36px;
    font-size: 18px;
    border: 1px solid #b1b1b1;
    padding: 0 10px;
  }
  .main-btn-text .wpcf7-submit {
    background: #d30d30;
    border: none;
    width: 100%;
    border-radius: 27px;
    padding: 2.5%;
    margin: 0px auto -21px auto;
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
  }
  #zipcodeField {
    width: 50%;
  }
  .footer__cta {
    position: fixed;
    bottom: -100px; /* 初期位置で非表示 */
    left: 0;
    right: 0;
    z-index: 999;
    background: #434343;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    transition: bottom 0.3s ease; /* ふわっと動くアニメーション */
    padding: 10px;
    text-align: center;
    opacity: 0;
    pointer-events: none; /* 非表示時はクリックを無効にする */
  }

  .footer__cta.visible {
    bottom: 0; /* 表示状態 */
    opacity: 1;
    pointer-events: auto; /* クリック可能にする */
  }
  .wpcf7-form-control-wrap select {
    border-radius: 3px;
    padding: 0px 10px;
    color: #777;
    height: 42px;
  }
  #voice .swiper-comment {
    margin-top: 30px;
  }
  .wpcf7-form {
    padding-top: 50px;
  }
  .swiper-month__price {
    font-size: 2.5rem;
  }
  .about__txt1.f1-5 {
    font-size: 14px;
  }
   .swiper-comment .swiper-slide{
    background-color: #f3f7fd;
    padding: 10px;
    width: 100%;
    margin: 1%;
    height: 243px;
    font-size: 14px;
  }
  .swiper-comment .swiper-slide span{
    background-color: #d30d30;
    color: #fff;
    text-align: center;
    padding: 3px;
    margin-right: 5px;
  }
  .swiper-comment .swiper-slide dd{
    margin-top: 10px;
  }
  #faq dt,#faq dd{
    font-size: 14px;
  }
  .breadcrumbs{
    padding-left: 0;
    /* padding-top: 99px; */
  }
  .breadcrumbs.single{
     padding: 99px 10px 0 10px;
     color: #000;
  }
  .contact-container-cus li div{
    padding: 0;
  }
  .contact-container-cus input,.contact-container-cus textarea{
    width: 100%;
  }
  .sp_medal{
    position: absolute;
    z-index: 9;
    width: 25%;
    bottom: -14%;
  }
  .first_catch .swiper-button-next,.first_catch .swiper-button-prev{
    top: var(--swiper-navigation-top-offset,50%);
  }
  .sp-block .swiper-button-next, .sp-block .swiper-button-prev{
    top: var(--swiper-navigation-top-offset,33%);
  }
  .swiper-horizontal{
    position: relative;
  }
}
@media (min-width: 768px) {
  button.showCheckContent {
    padding: 5px 0px;
    border-radius: 28px;
    background-color: #d30d30;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 2px auto;
    font-size: 22px;
    width: 100%;
    border: none;
    height: auto;
    display: block;
  }
  div#SMScheckCode {
    margin: 20px 0px 0;
    text-align: center;
    border-top: 2px solid #d30d30;
    padding: 10px 0 0;
    transition: 3s;
  }
  div#SMScheckCode p {
    font-size: 10px;
  }
  input#authCodeInput {
    width: 70%;
    margin: 5px auto 10px;
    border-radius: 28px;
    background-color: #fcfcfc;
    height: 36px;
    font-size: 11px;
    border: 1px solid #b1b1b1;
    padding: 0 10px;
  }
  .main-btn-text .wpcf7-submit {
    background: #d30d30;
    border: none;
    width: 100%;
    border-radius: 27px;
    padding: 2.5%;
    margin: 0px auto -21px auto;
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
  }
  br.sp-daje {
    display: none;
  }

}
.smssentnotok p {
  display: inline-flex;
  margin: 0 0 0;
}
button.checkCodeTwosc {
  border: none;
  padding: 2px 16px 4px;
  font-size: 11px;
  background-color: #00adeb;
  color: #ffffff;
  font-weight: 600;
  border-radius: 4px;
  margin: 0 5px;
}
p#text-error-aucode {
  margin-bottom: 6px;
  color: #d30d30;
  margin-top: -6px;
}
