.searchbox {
  width: 100%;
  margin: 20px auto 0px;
  border: solid 3px var(--main-color);
  border-radius: 14px;
  background: #fff;
}
  .search_head {
    background: var(--main-color);
    padding: 0.2em 1em 0.2em;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }
    .search_head img {
      height: 80%;
      margin-right: 10px;
    }
  .search_body {
    border-collapse: initial;
    width: 100%;
  }
  table.search_body{
    border-collapse: separate;
    /* border-spacing: 0 15px;
    border-spacing: 0 15px; */
    margin: 0px 0;
    margin-left: 1px;
  }
    .search_body th {
      width: 22%;
      height: 36px;
      background: var(--light-pink-color);
      font-size: 12px;
    }
      .search_body td nobr {
        display: inline-block;
        width: 48%;
        margin-bottom: 3px;
        font-size: 1.2rem;
      }
      .search_body td select {
        /* border: 2px solid var(--border-input-color);
        width: 134px; */
        height: 27px;
        margin-left: 5px;
      }
      .search_body input[type=radio],
      .search_body input[type=checkbox] {
        position: relative;
        margin-right: 0;
        border: 2px solid var(--border-checkbox-color);
      }
      .search_body input::before,
      .search_body input::after {
        content: "";
        position: absolute;
        display: block;
        top: -3px;
        transition: opacity 0.3s;
      }
      .search_body input[type=radio]::before {
        left: -6px;
        width: 16px;
        height: 16px;
        background: #fff;
        border: 2px solid var(--border-checkbox-color);
        border-radius: 50%;
      }
      .search_body input[type=radio]::after {
        left: -6px;
        width: 9px;
        height: 9px;
        border: solid 6px var(--main-color);
        border-radius: 50%;
        opacity: 0;
      }
      .search_body input[type=checkbox]::before {
        left: -6px;
        width: 16px;
        height: 16px;
        background: #fff;
        border: solid 2px #ccc;
        border-radius: 3px;
      }
      .search_body input[type=checkbox]::after {
        left: -6px;
        width: 16px;
        height: 16px;
        background: var(--checkbox-active-color);
        background-image: url(/images/checkbox.png);
        background-size: 100% 100%;
        border: solid 2px var(--checkbox-active-color);
        border-radius: 3px;
        opacity: 0;
      }
      .search_body input[type=radio]:checked::after,
      .search_body input[type=checkbox]:checked::after {
        opacity: 1;
      }
      .checkbox-toggle{
        text-align: center;
        color: var(--main-color);
        border: 1px solid var(--main-color);
        border-right: none;
        border-left: none;
        padding: 5px;
        position: relative;
        margin: 3px;
        cursor: pointer;
        font-size: 1.6rem;
        font-weight: bold;
      }
      .search__check{
        padding: 20px 22px;
      }
      #checkbox-toggle--wrapper{
        position: relative;
      }
      .checkbox-icon--before{
        position: absolute;
        top: 5%;
        left: 90%;
        color: var(--main-color);
        font-size: 18px;
        font-weight: bold;
      }
      .checkbox-icon--after{
        position: absolute;
        top: 0%;
        left: 90%;
        color: var(--main-color);
        font-size: 23px;
        font-weight: bold;
      }
      .search_body .search_feature {
        font-size: 1.4rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
        width: 100%;
        padding: 0 5px;
      }
      .search_body .search_feature nobr{
          display: flex;
          align-items: center;
          width: 100%;
          height: 2.75em;
          padding-left: 1.2em;
          background: var(--light-pink-color);
          border-radius: 10px;
        }
          .search_body .search_feature nobr span{
            margin-left: 0.6em;
          }

      .search_toggleoption {
        width: 240px;
        margin: 0 auto;
        padding: 0.2em 0;
        background: #555;
        border-radius: 8px;
        text-align: center;
        color: #fff;
        font-size: 14px;
      }
  .search_footer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    background: url(/images/search/search_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
  }
    .search_footer::before {
      content: "";
      position: absolute;
      top: 0;
      width: 100%;
      height: 15px;
      background: center no-repeat url(/images/search/search_body_arrow.png);
      background-size: 35px 15px;
    }
  .search_button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 40px;
    margin-top: 5px;
    background: var(--main-color);
    box-shadow: 0 2px 4px #333;
    border-radius: 20px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
  }

  @media screen and (min-width: 768px) {
  .search_body td nobr {
    width: 24%;
    font-size: 1.4rem;
  }
    .search_body td.radio nobr:nth-child(2) {
      width: 66%;
      font-size: 1.4rem;
    }
  .search_toggleoption,
  .search_button {
    width: 400px;
    font-size: 18px;
  }
  .search_body .search_feature {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .checkbox-toggle{
    margin: 3px 8px;
  }
  .search__check{
    padding-left: 3px;
    padding-right: 3px;
  }
  .search_footer{
    padding-left: 8px;
    padding-right: 8px;
  }

  .searchbox{
    margin-top: 10px;
    margin-bottom: 5px;
  }
}

/* searchbox_new2 */
.searchbox_new2{
  padding: 2%;
}
.searchbox_new2>div:first-child{
  width: fit-content;
  margin: auto;
  border: 0.4vw solid #001540;
  padding: 1vw 2vw;
  font-size: 4vw;
  color: #001540;
  font-weight: bold;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  box-shadow: 0.3vw 0.3vw 0.3vw 0 gray;
  background-color: #ffffff;
}
.searchbox_new2>div:first-child::before{
  content: "";
  display: block;
  width: 4.5vw;
  height: 4.5vw;
  margin-right: 1vw;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../images/company/magnifying-glass.png);
}
.searchbox_new2>fieldset{
  margin: 2vw 0 0 0;
  padding: 0;
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  justify-content: space-between;
}
.searchbox_new2>fieldset>select{
  border: 1px solid #D9D9D9;
  background-color: white;
  border-radius: 1vw;
  padding: 2.2vw 3vw 2vw 2vw;
  width: 49%;
  font-size: 4vw;
}
.searchbox_new2>button[type="submit"]{
  display: block;
  margin: 1.5vw auto 0;
  background-color: #D30F0F;
  color: #ffffff;
  width: 45%;
  border-radius: 1vw;
  padding: 2.2vw 3vw 2vw 2vw;
  font-weight: bold;
  font-size: 4vw;
}
@media screen and (min-width: 768px) {
  .searchbox_new2{
    padding: 0px;
  }
  .searchbox_new2>div:first-child {
    border-width: 3px;
    padding: 5px 15px;
    font-size: 32px;
    box-shadow: 3px 3px 3px 0 gray;
  }
  .searchbox_new2>div:first-child::before {
    width: 39px;
    height: 39px;
    margin-right: 5px;
  }
  .searchbox_new2>fieldset{
    gap: 10px;
    margin-top: 15px;
  }
  .searchbox_new2>fieldset>select{
    border-radius:5px;
    padding: 10px 8px 8px 8px;
    width: 49%;
    font-size: 18px;
    cursor: pointer;
  }
  .searchbox_new2>button[type="submit"]{
    margin: 15px auto 0;
    width: 30%;
    padding: 10px 8px 8px 8px;
    font-size: 18px;
    border-radius: 5px;
  }
}
/* searchbox_new2 */