.searchbox {
  width: 98%;
  margin: 10px auto;
  border: solid 2px var(--theme-bg-color);
  border-radius: 8px;
  background: #fff;
}
  .search_head {
    padding: 0.2em 1em 0.2em;
    background: var(--theme-bg-color);
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
  }
    .search_head img {
      height: 80%;
      margin-right: 10px;
    }
  .search_body {
    border-collapse: initial;
    width: 100%;
  }
    .search_body th {
      width: 22%;
      height: 36px;
      background: #ebeff1;
      font-size: 12px;
    }
      .search_body td nobr {
        display: inline-block;
        width: 48%;
        margin-bottom: 3px;
        font-size: 1.2rem;
      }
        .search_body td.wide nobr {
          width: 98%;
        }
      .search_body input[type=radio],
      .search_body input[type=checkbox] {
        position: relative;
        margin-right: 0;
      }
      .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: solid 2px #ccc;
        border-radius: 50%;
      }
      .search_body input[type=radio]::after {
        left: -6px;
        width: 9px;
        height: 9px;
        border: solid 6px var(--theme-bg-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(--theme-bg-color);
        background-image: url(/images/checkbox.png);
        background-size: 100% 100%;
        border: solid 2px var(--theme-bg-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(--theme-bg-color);
        border: 1px solid var(--theme-bg-color);
        border-right: none;
        border-left: none;
        padding: 5px;
        position: relative;
        margin: 3px;
        cursor: pointer;
      }
      #checkbox-toggle--wrapper{
        position: relative;
      }
      .checkbox-icon--before{
        position: absolute;
        top: 4px;
        left: 90%;
        color: var(--theme-bg-color);
        font-size: 18px;
        font-weight: bold;
      }
      .checkbox-icon--after{
        position: absolute;
        top: 1px;
        left: 90%;
        color: var(--theme-bg-color);
        font-size: 23px;
        font-weight: bold;
      }
      .search_body .search_feature {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        width: 98%;
        margin: 5px auto;
      }
      .search_body .search_feature nobr{
          display: flex;
          align-items: center;
          width: 100%;
          height: 3em;
          padding-left: 1.2em;
          background: #ebeff1;
          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: flex-start;
    height: 75px;
    background: url(/images/search/search_bg.png);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
    .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: 30px 15px;
    }
  .search_button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 40px;
    margin-top: 20px;
    background: var(--theme-bg-color);
    box-shadow: 0 2px 4px #333;
    border-radius: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
  }

  @media screen and (min-width: 768px) {
  .search_body td nobr {
    width: 24%;
    font-size: 1.4rem;
  }
    .search_body td.wide nobr {
      width: 38%;
    }
    .search_body td.radio nobr:nth-child(2) {
      width: 66%;
      font-size: 1.4rem;
    }
  .search_toggleoption,
  .search_button {
    width: 400px;
  }
  .search_body .search_feature {
    grid-template-columns: repeat(3, 1fr);
  }
}
