@charset "utf-8";

/* 
INDIVIDUAL STYLING
=======================  */

/* #form */
#form .content-wrap_outerFrame {
  padding: 55px 0 0;
}
@media only screen and (max-width: 667px) {
  #form .content-wrap_outerFrame {
    padding: 80px 0 0;
  }
}

#form h1.main-ttl {
  font-size: var(--base-fs_2h);
  font-weight: 700;
  text-align:left;
  line-height: 1.2;
  color: var(--base_color1);
  margin-bottom: var(--mb30);
}
#form h1.main-ttl span {
  display: block;
  font-size: 30%;
  color: var(--base_color3);
}
#form p.read {
  margin-bottom: var(--mb30);
}

#form form {
  max-width: 1100px;
  margin: 0 auto;
}
.form_block label {
  font-weight: 600;
  line-height: 1.0;
  display:flex;
  align-items: center;
  margin-bottom: 5px;
}
.form_block label span {
  padding: 5px;
  font-size: 60%;
  font-weight: normal;
  color: var(--base_color2);
  background: var(--base_color6);
  margin-left: 5px;
  border-radius: 5px;
}
.basic_data .form_block input.form_fileld,
.basic_data .form_block select {
  display: inline-block;
  width: 100%;
  height: 40px;
  padding: 9px 10px;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.0;
  color: var(--base_color1);
  background-color: var(--base_color2);
  border: 1px solid var(--base_color4);
  border-radius: 5px;
}
.basic_data .form_block select:invalid {
  color:var(--base_color5);
}
.custom-select-container {
  position: relative;
}
.custom-select-container svg {
  position: relative;
  position: absolute;
  top: 55%;
  right: 8px; /* 矢印の右側の余白 */
  transform: translateY(-50%);
  pointer-events: none; /* 矢印がマウスイベントをキャプチャしないようにする */
  width: 25px;
}

/* 面談希望日 */
.form_blockWrap.date_data {
  display: none;
}
.date_data .form_header {
  margin-bottom:1rem;
}
.date_data .form_header h3 {
  font-weight: 600;
  margin-bottom: 5px;
}
.date_data .form_header ul.notice {
  font-size: 0.750rem;
}

/* 面談希望日候補 */
.date_data .form_block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.date_data .form_block:last-child {
  margin-bottom: 2rem;
}
.date_data .form_block label {
  font-weight: normal;
  line-height: 1.0;
  display:flex;
  align-items: center;
}
.date_data .form_block label span {
  padding: 5px;
  font-size: 60%;
  color: var(--base_color2);
  background: var(--base_color6);
  margin-left: 5px;
  border-radius: 5px;
}
.date_data .form_block input.form_fileld {
  display: inline-block;
  width: 100%;
  height: 40px;
  padding: 9px 10px;
  margin-right: 20px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.0;
  color: var(--base_color1);
  background-color: var(--base_color2);
  border: 1px solid var(--base_color4);
  border-radius: 5px;
}
.preferred_date {
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.preferred_date label {
  width: 40%;
  font-weight: normal;
}
.preferred_date .date {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.preferred_date .date img {
  width: 100%;
}

/* 面談希望時間候補 */
.preferred_time {
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.date_data .form_block .preferred_time .time {
  width: 85%;
}
.date_data .form_block .preferred_time input.form_fileld {
  margin-right: 0;
}
/* 面談希望時間候補 */

@media screen and (max-width: 768px) {
  .date_data .form_block {
    display: block;
  }
  .preferred_date, 
  .preferred_time {
    width: 100%;
    display: block;
  }
  .preferred_date {
    margin-bottom: 0.75rem;
  }
  .preferred_date .date {
    width: 100%;
  }
  .date_data .form_block label {
    width: 100%;
  }
  .date_data .form_block .preferred_time .time {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .confirmation label {
    display: inline-block;
    line-height: 1.5;
  }
}
/* 面談希望日 */

/* お問い合わせ */
.text-danger {
  color:var(--base_color6);
  margin-top: -.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.0;
}
.confirmation .text-danger {
  margin-top: 1rem;
}

.inquiry_data .form_block textarea {
  width: 100%;
  max-width: 1100px;
  min-height: 200px;
  margin-bottom: 20px;
  padding: 9px 10px;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.0;
  color: var(--base_color1);
  background-color: var(--base_color2);
  border: 1px solid var(--base_color4);
  border-radius: 5px;
}
/* お問い合わせ */

/* チェックボックス */
.confirmation .form_block {
  display: flex;
  justify-content: center;
}
.confirmation .form_block input {
  appearance:revert;
  margin-right:4px;
}
.confirmation .form_block label {
  margin-bottom: 0;
}
.confirmation .form_block label a {
  color: var(--base_color7);
}
/* チェックボックス */

/* ボタン */
.confirmation-btn .form_block {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-top: 2.25rem; */
}
.confirmation-btn .form_block input.correct-btn {
  width: 200px;
  padding: 9px 10px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.0;
  text-align: center;
  color: var(--base_color2);
  background-color: var(--base_color5);
  border-radius: 5px;
  transition: all .5s ease-in-out;
}
/* ボタン */

/* popup */
#form .popup,
#form .popup2 {
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, .5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
#form .popup-content {
  width: 80%;
  height: 90%;
  background:var(--base_color2);
  padding: 2rem 4rem;
  position: relative;
}
.popup-content button#close-01,
.popup-content button#close-02 {
  width: 2rem;
  position: absolute;
  right: 3%;
}
.popup-content button#close-01 svg,
.popup-content button#close-02 svg {
  width: 100%;
}

.popup-content_header {
  text-align: center;
  margin-bottom: 2rem;
}
.popup-content_header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.popup-content_header p {
  font-size: 0.875rem;
  font-weight: normal;
}
.scroll-box {
  height: 70%;
  overflow-y: scroll;
}
.scroll-box::-webkit-scrollbar {
  width: 12px;
}
.scroll-box::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.scroll-box::-webkit-scrollbar-thumb {
    background: #888;
}
.scroll-box::-webkit-scrollbar-thumb:hover {
    background: #555; 
}
.popup-content_detail {
  margin-bottom: 1.5rem;
}
.popup-content_detail .part {
  margin-bottom: 1rem;
}
.popup-content_detail div h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.popup-content_detail div p {
  font-size: 0.875rem;
  font-weight: normal;
}
.popup-content_detail .candidate {
  display: flex;
  margin-bottom: .25rem;
}
.popup-content_detail .candidate div:first-child {
  margin-right: 1rem;
}

#form .show-popup {
  display: flex;
  justify-content: center;
  align-items: center;
}

#close-correct,
#allClose {
  width: 200px;
  margin: 0 5px;
  padding: 9px 10px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.0;
  text-align: center;
  color: var(--base_color2);
  background-color: var(--base_color5);
  border-radius: 5px;
}
#close-completed {
  width: 200px;
  margin: 0 5px;
  padding: 9px 10px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.0;
  text-align: center;
  color: var(--base_color2);
  background-color: var(--base_color3);
  border-radius: 5px;
}

.btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

@media screen and (max-width: 1366px) {
  #form .popup-content {
    width: 95%;
    height: 95%;
    padding: 1rem 2rem;
  }
  .btn-wrap {
    margin-top: 2rem;
  }
}
@media screen and (max-width: 540px) {
  .popup-content_header h1 {
    font-size: 1.5rem;
  }
  .popup-content_header h1 span {
    display: block;
  }
}
@media screen and (max-width: 1024px) and (max-height: 600px) {
  .scroll-box {
    height: 50%;
  }
}
@media screen and (max-width: 540px) and (max-height: 720px) {
  .scroll-box {
    height: 60%;
  }
}
@media screen and (max-width: 375px) {
  .popup-content_header p {
    font-size: 0.7rem;
  }
}
/* popup */

/* #form */
/* 
INDIVIDUAL STYLING
=======================  */