@charset "utf-8";

/* FV
------------------------------------------*/
#resident_fv {
  height: calc(100vh - 50px);
  width: 100vw;
  background-image: url("../img/resident/work_fv.png");
  background-size: cover;
  background-position: center;
  padding: 10vh 5vw;
  text-align: center;
  color: white;
  margin-bottom: 6rem;
}

#resident_fv h2 {
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
}

#resident_fv h3 {
  font-size: 1rem;
  margin-bottom: 15vh;
  margin-top: 0;
  letter-spacing: 5px;
}

#resident_fv .fv_message {
  font-size: 4rem;
  margin-bottom: 3rem;
  color: white;
  font-weight: bold;
  word-break: keep-all;
  white-space: nowrap;
}

#resident_fv .fv_description {
  font-size: 1.5rem;
  color: white;
  letter-spacing: 8px;
  word-break: keep-all;
}

@media only screen and (max-width: 1048px) {
  #resident_fv h3 {
    margin-bottom: 12vh;
  }
  #resident_fv .fv_message {
    font-size: 3rem;
    margin-bottom: 2rem;
  }
  #resident_fv .fv_description {
    font-size: 1.5rem;
  }
}

@media only screen and (max-width: 768px) {
  #resident_fv h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  #resident_fv .fv_message {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  #resident_fv .fv_description {
    font-size: 1rem;
  }
}

/* 検索
------------------------------------------*/
#search {
  width: var(--main-width);
  max-width: var(--main-max-width);
  margin: 0 auto;
  margin-bottom: 6rem;
}

#search form {
  position: relative;
}

#search .input_row {
  display: flex;
  margin-bottom: 1.5rem;
  position: relative;
}

/* エリア */
#search .input_row .area_select_wrapper {
  position: relative;
  width: 25%;
  padding-right: 0.5rem;
}

#search .input_row .area_select_wrapper::after {
  position: absolute;
  top: 10px;
  left: 13px;
  color: var(--main-black);
  content: "エリア";
  font-size: 0.75rem;
}

#search .input_row .area_select_wrapper .area_select {
  width: 100%;
  height: 100%;
  border: 3px solid var(--main-black);
  border-radius: 0.5rem;
  padding: 2rem 0.5rem 0.5rem;
  position: relative;
  font-size: 1.125rem;
  font-weight: bold;
}

/* キーワード */
#search .input_row .keyword_input_wrapper {
  position: relative;
  width: 50%;
  padding-right: 0.5rem;
}

#search .input_row .keyword_input_wrapper::after {
  position: absolute;
  top: 10px;
  left: 13px;
  color: var(--main-black);
  content: "キーワード";
  font-size: 0.75rem;
}

#search .input_row .keyword_input_wrapper .keyword_input {
  width: 100%;
  border: 3px solid var(--main-black);
  border-radius: 0.5rem;
  padding: 2rem 0.5rem 0.5rem;
  position: relative;
  font-size: 1.125rem;
  font-weight: bold;
  height: 78px;
}

/* 現在募集中 */
#search .open_input_wrapper {
  position: absolute;
  top: 0;
  right: 180px;
  height: 78px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 200px;
  border: 3px solid var(--main-black);
  border-radius: 0.5rem;
  padding: 0 0.5rem;
  font-size: 1.125rem;
  font-weight: bold;
}

#search .open_input_wrapper .waku {
  display: block;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--main-black);
  border-radius: 0.25rem;
  cursor: pointer;
}

#search .open_input_wrapper .waku img,
#search .open_input_wrapper .waku input[type="checkbox"] {
  display: none;
}

#search .open_input_wrapper .waku input[type="checkbox"]:checked + img {
  display: block;
  width: 28px;
  top: 5px;
  position: relative;
}

/* 検索ボタン */
#search .input_row .button_wrapper {
  width: 186px;
  margin-left: 216px;
}

#search .input_row .button_wrapper button {
  width: 100%;
  height: 100%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5rem;
  background-color: var(--main-black);
  cursor: pointer;
}

#search .input_row .button_wrapper button span {
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  display: block;
  margin-left: 0.5rem;
}

/* チェックボックス */
#search .tags_container {
  margin-bottom: 1.5rem;
  border: 3px solid var(--main-black);
  padding: 1rem;
  border-radius: 0.5rem;
}

#search .tags_container .text {
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

#search .tags_container .tag input[type="checkbox"] {
  display: none;
}

#search .tags_container .tag {
  display: inline-block;
  margin: 0 0.5rem 1.25rem 0;
}

#search .tags_container .tag.over {
  display: none;
}

#search .tags_container .tag span {
  position: relative;
  vertical-align: sub;
  display: inline-block;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: bold;
  padding-left: 2.75rem;
  margin-right: 2rem;
}

#search .tags_container .tag span::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 28px;
  height: 28px;
  border: 2px solid var(--main-black);
  border-radius: 0.25rem;
}

#search .tags_container .tag input[type="checkbox"]:checked + span::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  background-image: url("../img/icons/check.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 28px;
  height: 32px;
}

#open_concept_btn {
  border: none;
  display: block;
  border-radius: 5rem;
  background-color: var(--main-black);
  padding: 1.25rem 0;
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  margin: 0 auto 1rem;
  width: 350px;
}

#search button[type="submit"] {
  display: none;
  align-items: center;
  justify-content: center;
  width: 350px;
  background-color: var(--main-black);
  padding: 1rem 0;
  border: none;
  border-radius: 5rem;
  cursor: pointer;
  margin: 0 auto 1rem;
}

#search button[type="submit"] span {
  color: #fff;
  font-size: 1.25rem;
  font-weight: bold;
  display: block;
  margin-left: 0.5rem;
}

@media only screen and (max-width: 1280px) {
  #search .input_row {
    flex-wrap: wrap;
  }

  #search .input_row .button_wrapper {
    display: none;
  }

  #search button[type="submit"] {
    display: flex;
  }

  #search .open_input_wrapper {
    width: 200px;
    right: 0;
  }

  #search .input_row .area_select_wrapper {
    width: 200px;
  }

  #search .input_row .keyword_input_wrapper {
    width: calc(100% - 400px);
  }
}

@media only screen and (max-width: 700px) {
  #search .input_row .area_select_wrapper {
    width: 150px;
  }

  #search .input_row .keyword_input_wrapper {
    width: calc(100% - 350px);
  }
}

@media only screen and (max-width: 640px) {
  #search .input_row .area_select_wrapper,
  #search .input_row .keyword_input_wrapper {
    height: 80px;
    width: 100%;
    margin-bottom: 1rem;
  }

  #search .open_input_wrapper {
    position: relative;
    border: none;
    padding: 0;
    width: 100%;
    justify-content: center;
  }

  #search .open_input_wrapper .waku {
    margin-left: 0.5rem;
  }

  #search {
    margin-bottom: 13rem;
  }

  #search .input_row .keyword_input_wrapper .keyword_input {
    height: 100%;
  }

  #search .input_row {
    margin-bottom: 1rem;
  }

  #open_concept_btn {
    width: 100%;
    font-size: 1rem;
  }

  #search button[type="submit"] {
    width: 100%;
  }

  #search button[type="submit"] span {
    font-size: 1rem;
  }
}

/* トップ
------------------------------------------*/

#top {
  margin-top: 5.5rem;
  border-bottom: none;
}

/* 一覧
------------------------------------------*/
#index .item_container {
  justify-content: center;
}

#index .item_container .item {
  text-align: center;
  position: relative;
  min-width: 270px;
  margin: 0 1rem 4rem;
  width: calc(33.333% - 2rem);
}

#index .item_container .item h3 {
  margin-bottom: 0.5rem;
}

#index .item_container .item .area {
  width: fit-content;
  position: relative;
  margin: 0 auto;
  padding-left: 20px;
}

#index .item_container .item .img {
  width: 270px;
  height: 270px;
  margin: 0 auto;
}

#index .item_container .item .area::before {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  background-image: url(../img/icons/place.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
}

#index .item_container .item .label {
  position: absolute;
  top: -1rem;
  left: calc((100% - 270px) / 2 - 1rem);
  z-index: 10;
  padding: 0.375rem 1.25rem;
  border-radius: 0.5rem;
  color: var(--main-white);
  font-weight: bold;
}

#index .item_container .item .label.open {
  background-color: var(--main-green);
}

#index .item_container .item .label.full {
  background-color: var(--main-red);
}

@media only screen and (max-width: 768px) {
  #index .item_container {
    justify-content: space-evenly;
  }
  #index .item_container .item {
    min-width: 240px;
  }
  #index .item_container .item .img {
    width: 240px;
    height: 240px;
  }
  #index .item_container .item .label {
    left: calc((100% - 240px) / 2 - 1rem);
  }
}

@media only screen and (max-width: 640px) {
  #index .item_container .item {
    width: 100%;
  }

  #index .item_container .item .img {
    width: 300px;
    height: 300px;
  }

  #index .item_container .item .label {
    left: calc((100% - 300px) / 2 - 1rem);
  }
}

@media only screen and (max-width: 425px) {
  #index .item_container .item .img {
    width: 220px;
    height: 220px;
  }

  #index .item_container .item .label {
    left: calc((100% - 220px) / 2 - 1rem);
  }
}
