
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3;
}
.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    background-color: white;
    border-radius: 30px;
}
button.popup-close {
    background: url(../images/modal_close.png);
    background-repeat: no-repeat;
    display: block;
    width: 26px;
    height: 26px;
    font-weight: normal;
    line-height: 1;
    color: #FFF;
    text-shadow: none;
    filter: none;
    opacity: 1;
    position: absolute;
    top: -33px;
    right: 1px;
    box-shadow: none;
    border: none;
}
.tab-content {
    display: none;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}
.tab-content.active {
    display: block;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}
.header-text {
    background-color: #d34545;
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}
.menu-text {
    padding: 0px;
    border-bottom: 1px solid #DDD;
}
.content-detail {
    height: 50vh;
    overflow-y: scroll;
}
.header-text h3 {
    margin: 0;
    color: #fff;
    padding: 10px 20px!important;
    margin-bottom: 0!important;
}
ul.carmodelAnchorList {
    padding: 5px 10px;
    margin: 5px 0 4px;
}
.nihon-car-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
}
.world-car-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px;
}
ul.modal-block-list {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
    -webkit-box-lines: multiple;
    -moz-box-lines: multiple;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /* -webkit-box-pack: justify; */
    -moz-box-pack: justify;
    -webkit-flex-pack: justify;
    -moz-flex-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}
ul.modal-text-list {
    padding: 0;
}
.link-car-item h4 {
    font-size: 16px;
    font-weight: bold;
    padding: 0 0 5px;
    margin: 28px 0 20px!important;
    border-bottom: 1px solid #DDD;
}
ul.modal-text-list li a {
    background: url(../images/icon_negobtn.png) no-repeat;
    background-position: 5px 13px;
    color: #313233;
    display: inline-block;
    width: 90%;
    position: relative;
    padding: 5px 0 8px 23px;
    font-weight: 600;
}
ul.modal-text-list li a:hover {
    background: url(../images/icon_negobtn.png) no-repeat, #d34545;
    background-position: 5px 13px;
    cursor: pointer;
}
.popup h3 {
  border: none!important;
}
.vehicles-content {
    height: 50vh;
    overflow-y: scroll;
    margin: 0;
    padding: 30px 20px 20px;
}
.vehicles-content h4 {
    font-size: 16px;
    font-weight: bold;
    padding: 0 0 10px;
    margin: 28px 0 20px;
    border-bottom: 1px solid #DDD;
}
.vehicles-content ul li a {
    background: url(../images/icon_negobtn.png) no-repeat;
    background-position: 5px 13px;
    color: #313233;
    display: inline-block;
    width: 90%;
    position: relative;
    padding: 8px 0 8px 23px;
}
.content-tab h3 {
    background-color: #d34545;
    margin: 0;
    color: #fff;
    padding: 20px!important;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
}
.content-tab-year ul {
    height: 46vh;
    overflow-y: scroll;
    margin: 0;
    padding: 30px 20px 20px;
}
.content-tab-year ul li {
  position: relative;
}
.content-tab-year ul li a:hover {
    background-color: #d34545;
}
div#yearPopup p {
    padding: 10px 20px;
    border-bottom: 1px solid #dcdcdc;
    margin: 0;
    font-size: 14px;
    color: #898989;
}
.content-tab-year ul li::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 60%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(../images/icon_negobtn.png) no-repeat;
}
.content-tab-year ul li a {
    color: #313233;
    display: inline-block;
    width: 90%;
    position: relative;
    padding: 8px 0 8px 23px;
}
.titl-text-plus {
    padding: 10px 20px;
    border-bottom: 1px solid #dcdcdc;
}
.titl-text-plus p {
    margin: 0;
    font-size: 14px;
    color: #898989;
}
span#numberkl-item {
    font-size: 14px;
    width: 100px;
    display: block;
    border-left: 2px solid #919191;
    padding-left: 7px;
    font-weight: 600;
    color: #555555;
  }
.checkSmsPut {
    text-align: center;
 }
 .checkSmsPut p {
    margin: 0!important;
    padding: 0!important;
}
div#SMScheckCode p {
    font-size: 12px;
}

.content-check-detail ul {
    margin-left: 3em;
    width: 100%;
    padding: 20px 0;
}
.box-content {
    display: flex;
}



@media (min-width: 1200px) {
    .content-fix-cus {
        height: 600px;
    }
}
@media (min-width: 768px) {
  .popup-content {
      width: 1020px;
  }
  .header-text h3 {
      font-size: 18px;
      font-weight: 600;
  }
  ul.carmodelAnchorList li {
      font-size: 16px !important;
      display: inline-block !important;
      vertical-align: top !important;
      width: calc(95% / 11) !important;
      text-align: center !important;
  }
  ul.carmodelAnchorList li span {
      width: 100%;
      display: inline-block;
      color: #C0C0C0;
      font-weight: bold;
      position: relative;
      box-sizing: border-box;
  }
  ul.carmodelAnchorList li span a {
      width: 100%;
      display: inline-block;
      color: #333;
      border-bottom: 3px solid #FFF;
      text-decoration: none !important;
  }
  .logo-car-item {
      display: inline-flex;
      justify-content: center;
      width: 100%;
      border-bottom: 1px solid #e5e5e5;
  }
  .nihon-car-item {
      width: 49%;
      padding: 0 20px;
      float: left;
      border-right: 1px solid #DDD;
  }
  ul.modal-block-list li {
      vertical-align: top;
      flex: 1 1 33%;
      text-align: center;
      margin: 0px 0px 10px;
      list-style-type: none;
  }
  ul.modal-block-list li a {
      width: 100%;
      display: inline-block;
      padding: 7px 8px;
      vertical-align: top;
      font-size: 14px;
      color: #313233;
      line-height: 18px;
      text-align: center;
  }
  .world-car-item {
      width: 49%;
      padding: 0 16px;
      float: left;
  }
  .link-item-one {
      padding: 10px 40px 10px 40px;
  }
  .link-item-two {
      padding: 10px 40px 10px 40px;
  }
  .link-item-three {
      padding: 10px 40px 10px 40px;
  }
  .link-item-four {
      padding: 10px 40px 10px 40px;
  }
  .link-item-five {
      padding: 10px 40px 10px 40px;
  }
  .link-item-six {
      padding: 10px 40px 10px 40px;
  }
  .link-item-seven {
      padding: 10px 40px 10px 40px;
  }
  .link-item-eight {
      padding: 10px 40px 10px 40px;
  }
  .link-item-nine {
      padding: 10px 40px 10px 40px;
  }
  ul.modal-text-list li {
      list-style-type: none;
      display: inline-block;
      width: 25%;
      vertical-align: top;
      font-size: 14px;
      margin: 0px 0px 4px;
  }
  .sp-ct{
    display: none;
  }
  .content-tab ul li {
      list-style-type: none;
      display: inline-block;
      width: 25%;
      vertical-align: top;
      font-size: 14px;
      margin: 0px 0px 4px;
      cursor: pointer;
  }
  .content-tab-year h3 {
      font-size: 18px;
      font-weight: 600;
  }
  ul.car-kilomet-item-list {
      display: grid;
      grid-gap: 12px;
      justify-items: center;
      padding-block: 24px;
      width: 100%;
      padding: 40px 30px;
      grid-template-columns: repeat(5, 1fr);
  }
  ul.car-kilomet-item-list li {
    text-align: left;
    cursor: pointer;
    margin: 5px 0;
    width: 100%;
    transition: 0.3s;
    list-style-type: none;
  }
  
  .content-check-detail li {
      width: 100%;
      display: inline-flex;
      align-items: center;
      margin: 10px 0;
  }
  .content-check-detail li .title-check {
      width: 14%;
  }
  dl.input-group dd {
    width: 72%;
    border: none;
  }
  dl.input-group dt {
      width: 28%;
      border: none;
  }
  dl.input-group {
      display: flex;
  }
  ul.carmodelAnchorList li span:after {
    content: '';
    position: absolute;
    right: 0;
    display: inline-block;
    width: 1px;
    height: 28px;
    background-color: #CCC;
  }
  button.showCheckContent {
    padding: 0px 20px;
    border-radius: 28px;
    background-color: #d34545;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 2px auto;
    font-size: 26px;
    width: 80%;
    border: none;
    height: auto;
    display: block;
  }
  div#SMScheckCode {
    margin: 16px 14px 22px;
    text-align: center;
    /*border-top: 2px solid #d34545;*/
    padding: 10px 0 0;
    transition: 3s;
  }
  input#authCodeInput {
    width: 50%;
    margin: 5px auto 10px;
    border-radius: 28px;
    background-color: #fcfcfc;
    height: 36px;
  }
  .checkSmsPut p {
    font-size: 12px;
 }
 .img-sp-cus {
  display: none;
 }
 .top_form input.wpcf7-submit {
  font-size: 28px!important;
  margin: 6px auto!important;
 }
 .top_form {
  padding: 0.3% 0.5%!important;
 }
 #slide-sp {
  display: none;
 }
  .content-check-detail li {
      width: 100%;
      display: inline-flex;
      align-items: center;
      margin: 10px 0;
  }
.content-check-detail li .title-check {
    width: 14%;
  }
  .img-sp-cus {
        display: none;
    }
}

@media (max-width: 768px) {
  .img-pc-cus {
    display: none;
  }
  .top_form {
    position: static !important;
    width: 95% !important;
    display: block;
    background: #f4f4f4 !important;
    border-radius: 30px;
    padding: 1% 2%;
    margin: 20px auto;
    border: 2px solid #333;
  }
  .popup-content {
    top: 10px;
    z-index: 99999999;
    width: calc(100% - 30px);
    height: calc(100% - 40px);
    left: 0;
    right: 0;
    margin: 15px;
    transform: none;
  }
  .header-text h3 {
    font-size: 16px;
  }
  .menu-text {
    border: none;
  }
  ul.carmodelAnchorList {
    padding: 0 3px;
    margin: 0;
  }
  ul.carmodelAnchorList li {
    font-size: 13px;
    display: inline-block;
    vertical-align: top;
    width: calc(93% / 6);
    text-align: center;
    margin: 0;
  }
  ul.carmodelAnchorList li span {
    width: 105%;
    height: 100%;
    display: inline-block;
    color: #C0C0C0;
    font-weight: bold;
    position: relative;
    box-sizing: border-box;
    padding: 3px 0;
    background: #EEE;
    border-top: 1px solid #DDD;
    border-right: 1px solid #DDD;
  }
  ul.carmodelAnchorList li span a {
    width: 100%;
    display: inline-block;
    color: #333;
    box-sizing: border-box;
    text-decoration: none !important;
  }
  .content-detail {
    height: 70vh !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: 0 10px 38px 10px;
    position: relative;
    width: 100%;
    z-index: 1;
  }
  .logo-car-item h3 {
    padding-left: 12px;
  }
  ul.modal-block-list {
    font-size: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-wrap: wrap;
  }
  ul.modal-block-list li {
    vertical-align: top;
    font-size: 11px;
    line-height: 14px;
    flex: 0 0 33%;
    padding: 5px;
    margin: 0 0 10px 0;
    border-bottom: 1px dotted #EEE;
    text-align: center;
    list-style-type: none;
  }
  ul.modal-block-list li a {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    color: #313233;
  }
  ul.modal-block-list li a img {
    height: 30px;
    max-width: fit-content;
    width: auto;
  }
  button.popup-close.pc-ct {
    display: none;
  }
  button.popup-close-inari {
    background: url(../images/modal_close_sp.png);
    background-repeat: no-repeat;
    display: block;
    width: 20px;
    height: 20px;
    font-weight: normal;
    line-height: 1;
    color: #FFF;
    text-shadow: none;
    filter: none;
    opacity: 1;
    position: absolute;
    top: 19px;
    right: 15px;
    box-shadow: none;
    border: none;
    z-index: 9999999;
  }
  .nihon-car-item h3 {
    margin: 20px 0!important;
  }
  dl.input-group dd{
    border: none;
  }
  dl.input-group dt{
    border: none;
  }
  .vehicles-content {
    height: 70vh;
    overflow-y: scroll;
    margin: 0;
    padding: 30px 12px 50px 12px;
  }
  .vehicles-content ul {
    padding: 0;
  }
  .vehicles-content ul li {
    list-style-type: none;
    margin-left: 10px;
  }
  .content-tab-year ul {
    height: 70vh;
  }
  .content-tab-year ul li {
    list-style-type: none;
  }
  ul.car-kilomet-item-list {
    overflow: scroll;
    height: 70vh;
    margin-top: 30px;
  }
  ul.car-kilomet-item-list li {
    padding: 7px 5px;
    display: inline-flex;
    width: 48% !important;
    justify-content: center;
  }
  .title-check {
    margin-bottom: 12px;
    text-align: left;
    list-style-type: none;
  }
  .title-check span {
    font-weight: 600;
  }
  label.custom-checkbox {
    margin: 0 4px 10px;
    width: 47%;
  }
  .custom-checkbox .checkmark {
    width: 100% !important;
    padding: 16px 0px !important;
  }
  .content-check-detail ul {
    padding: 0;
  }
  .content-check-detail ul li {
    list-style-type: none;
  }
  div#status-content {
    padding: 30px 10px;
  }
  button.showCheckContent {
    padding: 4px 20px;
    border-radius: 28px;
    background-color: #d34545;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 2px auto;
    font-size: 18px;
    width: 100%;
    border: none;
    height: auto;
    display: block;
  }
  .checkSmsPut {
    padding: 0 10px;
  }
  .checkSmsPut p {
    font-size: 11px;
 }

  div#SMScheckCode {
    padding: 20px 6px 6px;
    text-align: center;
    /*background-color: #fff0be;*/
    margin: 14px 6px 3px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  .top_form input.wpcf7-submit {
    width: 90%!important;
  }
  .top_form-title {
    width: 95%!important;
  }
  #slide-pc {
  display: none;
  }
  .footer-popup {
    padding: 20px;
    border-top: none;
    text-align: left;
  }
  .modal-footer {
    border: none!important;
  }
  .top_form input {
    width: 89%!important;
  }
  .no-scroll {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
  .content-check-detail ul {
    padding: 0;
    margin: 0;
  }
  .top_form .-flex input {
    height: 35px;
    font-size: 15px;
  }
  .top_form input.wpcf7-submit {
    padding: 10px 20px;
  }
}

.custom-checkbox {
    position: relative;
    cursor: pointer;
    margin: 0 10px;
}
.custom-checkbox .checkmark {
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    padding: 24px 0px;
    transition: 0.3s;
    background-color: #c6c5c5;
    width: 220px;
    text-align: center;
    display: block;
    color: #fff;
}
.custom-checkbox input {
    display: none;
}

.wpcf7-not-valid-tip {
  font-size: 0.8em!important;
}

@keyframes blinknew {
  0% {
      box-shadow: 0 0 0 1px #f12, 0 0 0 8px rgba(255, 255, 255, 0), 0 0 0 10px rgba(100, 37, 16, 0);
  }
  100% {
      box-shadow: 0 0 0 1px #f12, 0 0 0 1px #fff, 0 0 0 2px #ff5e28;
  }
}

.blink-new-new {
  animation: blinknew 1s infinite;
}
.top_form input {
  border: 1px solid #ced4da;
  border-radius: 3px;
  padding: 0px 10px;
}

.vehicles-content ul li a:hover {
    background-color: #d34545;
}
ul.car-kilomet-item-list li:hover {
    background-color: #d34545;
}
.custom-checkbox .checkmark:hover {
    background-color: #d34545;
}
.modal-footer {
    padding: .95rem;
}
.remove-header {
    display: none;
}