/* ----------- */
/* interview */
/* JSで表示されるモーダルのCSS */
/* ----------- */

.modal_interview_bg {
  background-color: rgba(0, 0, 0, .5);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none;
}

.modal_interview_contents {
  width: 488px;
  border-radius: 10px;
  background-color: #fff;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  max-height: 90vh;
  position: relative;
  padding-top: 60px;
  padding-bottom: 80px;
  overflow: hidden;
}

.modal_interview_title {
  font-size: 20px;
  font-weight: bold;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  position: absolute;
  top: 0;
}

.modal_interview_list {
  max-height: calc(90vh - (60px + 80px));
  overflow-y: auto;
}

.modal_interview_list_title {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  background-color: #000;
  padding: 8px 16px;
}

.modal_interview_list_item {
  border-bottom: 1px solid #E2E3E3;
  position: relative;
}

.modal_interview_list_item:after {
  content: "";
  display: block;
  height: 36px;
  width: 36px;
  background-image: url(/img/icon_arrow_job.svg);
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
}

.modal_interview_list_item:hover {
  transition: all .2s;
  opacity: .6;
}

.modal_interview_list_item_link {
  font-size: 16px;
  font-weight: bold;
  display: block;
  padding: 20px 60px 20px 16px;
}

.modal_interview_close {
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
}

@media screen and (max-width: 768px) {
  .modal_interview_contents {
    width: calc(100% - 40px);
    margin: 0 20px;
    max-height: 80vh;
  }
  .modal_interview_list {
    max-height: calc(80vh - (60px + 80px));
  }
}