.search_top {
  background-color: #f6921d;
}

.search__inner--select {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.search_label {
  display: flex;
  align-items: center;
  font-size: 36px;
  color: white;
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: .1em;
}

.search-icon {
  width: 32px;
  height: auto;
  vertical-align: middle;
  margin-right: 8px;
}
.search__tab__panel_top {
  width: 90%;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0px 5px 10px 0px rgba(82,68,57,.25);
}

.occupation_select_box {
  width: 416px;
  height: 40px;
  padding-left: 12px;
  border-radius: 4px;
}

.prefecture_select_box {
  width: 416px;
  height: 40px;
  padding-left: 12px;
  border-radius: 4px;
}

.checkbox_top {
  width: 410px;
}

.search_top table td {
  padding: 8px 0 8px 32px
}

.cityCheckboxTitle {
  vertical-align: top;
}

.search_top table th {
  width: 120px;
  text-align: right;
}

.search_top table td input[type="text"] {
  width: auto;
  padding: 5px;
  margin: auto;
  border: solid 1px #e3e3e3;
  border-radius: 3px;
}

.search_top table td label {
  vertical-align: top;
  margin: auto auto 10px auto;
  width: 33%;
  display: inline-block;
  cursor: pointer;
  text-indent: -26px;
  padding-left: 26px;
  font-size: 12px;
}

.search_top table td input[type="checkbox"] {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  outline: none;
  position: relative;
  text-align: center;
  cursor: pointer;
  width: 18px;
  height: 15px;
  margin: auto 8px auto auto;
  border: none;
}

.search_top table td input[type="checkbox"]::before {
  display: block;
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: solid 1px #e3e3e3;
  border-radius: 3px;
}

.search_top table td input[type="checkbox"]::after {
  display: block;
  content: "";
  position: absolute;
  left: 6px;
  top: 0px;
  width: 6px;
  height: 12px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  opacity: 0;
}
.search_top table td input[type="checkbox"]:checked::before {
  background-color: #3c80ff;
  border: solid 1px #3c80ff;
}
.search_top table td input[type="checkbox"]:checked::after {
  opacity: 1;
}
.search_top table td .selectbox {
  margin: auto 5px auto auto;
  position: relative;
  display: inline-block;
}

.search_top table td .selectbox::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  position: absolute;
  right: 10px;
  top: 40%;
  border-bottom: solid 2px #e3e3e3;
  border-right: solid 2px #e3e3e3;
  -webkit-transform: rotate(45deg) translateY(-30%);
  transform: rotate(45deg) translateY(-30%);
}
.search_top table td .selectbox select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: auto;
  padding: 5px 2em 5px 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: solid 1px #e3e3e3;
  border-radius: 4px;
}

.search_top .search__btn input[type="submit"] {
  width: 440px;
  height: 64px;
}

@media screen and (max-width: 768px) {
  .search_top {
    background-color: #f6921d;
  }

  .search__inner--select {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .search_label {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: white;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: .1em;
  }

  .search-icon {
    width: 24px;
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
  }
  .search__tab__panel_top {
    width: 90%;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
  }

  .occupation_select_box {
    width: 100%;
    height: 34px;
    padding-left: 12px;
    border-radius: 4px;
  }

  .prefecture_select_box {
    width: 100%;
    height: 34px;
    padding-left: 12px;
    border-radius: 4px;
  }

  .checkbox_top {
    width: 100%;
  }

  .search_top table td {
    padding: 8px 0px;
  }

  .cityCheckboxTitle {
    vertical-align: top;
  }

  .search_top table th {
    width: 120px;
    text-align: left;
  }

  .search_top table td input[type="text"] {
    width: auto;
    padding: 5px;
    margin: auto;
    border: solid 1px #e3e3e3;
    border-radius: 3px;
  }

  .search_top table td label {
    vertical-align: top;
    margin: auto auto 10px auto;
    width: 50%;
    display: inline-block;
    cursor: pointer;
    text-indent: -26px;
    padding-left: 26px;
    font-size: 12px;
  }

  .search_top table td input[type="checkbox"] {
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    outline: none;
    position: relative;
    text-align: center;
    cursor: pointer;
    width: 18px;
    height: 15px;
    margin: auto 8px auto auto;
    border: none;
  }

  .search_top table td input[type="checkbox"]::before {
    display: block;
    position: absolute;
    content: "";
    top: 0px;
    left: 0px;
    width: 18px;
    height: 18px;
    background: #fff;
    border: solid 1px #e3e3e3;
    border-radius: 3px;
  }

  .search_top table td input[type="checkbox"]::after {
    display: block;
    content: "";
    position: absolute;
    left: 6px;
    top: 0px;
    width: 6px;
    height: 12px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    opacity: 0;
  }
  .search_top table td input[type="checkbox"]:checked::before {
    background-color: #3c80ff;
    border: solid 1px #3c80ff;
  }
  .search_top table td input[type="checkbox"]:checked::after {
    opacity: 1;
  }
  .search_top table td .selectbox {
    margin: auto 5px auto auto;
    position: relative;
    display: inline-block;
  }

  .search_top table td .selectbox::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    position: absolute;
    right: 10px;
    top: 40%;
    border-bottom: solid 2px #e3e3e3;
    border-right: solid 2px #e3e3e3;
    -webkit-transform: rotate(45deg) translateY(-30%);
    transform: rotate(45deg) translateY(-30%);
  }
  .search_top table td .selectbox select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: auto;
    padding: 5px 2em 5px 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: solid 1px #e3e3e3;
    border-radius: 4px;
  }

  .search_table tr {
    display: flex;
    flex-direction: column;
  }

  .search_top .search__btn input[type="submit"] {
    width: 100%;
    height: 56px;
  }
}
