@charset "UTF-8";


.contact_sec .container {
  max-width: 1000px;
  width: 94%;
  margin: auto;
}
.contact_sec .container .first_text {
  line-height: calc(28 / 16);
}

.contact_sec .container .privacy_section {
  width: 100%;
  height: 240px;
  overflow: scroll;
  padding: 4% 3.6%;
  margin-top: 6.2%;
  border: 1px solid #C9C9C9;
}
.contact_sec .container .privacy_section .head_container {
  margin-bottom: 5%;
}
.contact_sec .container .privacy_section .content_head {
  background-color: #F4F4F4;
  color: #0A6ADD;
  padding: 16px 30px;
  margin: 0 0 2.4%;
}
.contact_sec .container .privacy_section .content_wrapper {
  margin-bottom: 4%;
}
.contact_sec .container .privacy_section .last_sec {
  margin-top: 8%;
  text-align: right;
  line-height: 1.5;
}
.contact_sec .container .privacy_section .last_sec .enactment {
  margin-bottom: 20px;
}


.form_agree {
  margin: 10% auto 4%;
  width: fit-content;
  cursor: pointer;
}
.form_agree a {
  text-decoration: underline;
  margin-right: -0.25rem;
}
.form_agree span {
  cursor: pointer;
  white-space: nowrap;
  margin-left: 1rem;
}
.form_agree label {
  display: flex;
  align-items: center;
}
.form_agree input[type=checkbox] {
  padding-left: 22px;
  display: block;
  padding: 0;
}

form .radio_wrapper {
  display: flex;
  align-items: center;
}
form .radio_wrapper .radio_label {
  display: flex;
  align-items: center;
  margin-right: 3%;
  cursor: pointer;
}
form .radio_wrapper .radio_label:last-child {
  margin-right: 0;
}
form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  padding-left: 30px; /*label手前にチェックボックス用の余白を開ける*/
  vertical-align: middle;
  position: relative;
  width: 1rem;
  height: 1rem;
}
form input[type=checkbox]::before,
form input[type=checkbox]::after,
form input[type=radio]::before,
form input[type=radio]::after {
  content: "";
  display: block;
  position: absolute;
}
form input[type=checkbox]::before,
form input[type=radio]::before {
  background-color: #fff;
  border-radius: 0%;
  border: 1px solid #333;
  width: 1rem;
  height: 1rem;
  transform: translateY(-45%);
  top: 50%;
  left: -5px;
}
form input[type=checkbox]::after,
form input[type=radio]::after {
  border-bottom: 2px solid #333;
  border-left: 2px solid #333;
  opacity: 0;
  height: 0.25rem;
  width: 0.5rem;
  transform: translate(0, -50%) rotate(-45deg);
  left: -1px;
  top: 0.5rem;
}
form input[type=checkbox]:checked::after,
form input[type=radio]:checked::after {
  opacity: 1; /*チェック後表示*/
}
form .element_box {
  font-size: 1rem;
}

.submit_btn_wrapper {
  cursor: pointer;
}
.submit_btn_wrapper .submit_btn {
  transition: all 0.3s;
}
.submit_btn_wrapper.disabled {
  cursor: not-allowed;
}
.submit_btn_wrapper.disabled .submit_btn {
  background-color: #ccc;
  cursor: not-allowed;
}
.submit_btn_wrapper.disabled:hover .submit_btn {
  background-color: #ccc;
  opacity: 1;
}

@media (width <= 768px) {
  .f18 {
    font-size: 2.0833333333vw;
  }
}
@media (width <= 480px) {
  .f18 {
    font-size: 4vw;
  }
}

@media (max-width: 480px) {
  form .radio_wrapper {
    display: block;
  }
  form .radio_wrapper .radio_label:nth-child(n+2) {
    margin-top: 3%;
  }
  .contact_sec .container .privacy_section .head_container {
    margin-bottom: 35px;
  }
  .contact_sec .container .privacy_section .content_wrapper {
    margin-bottom: 40px;
  }
  .contact_sec .container .privacy_section .content_head {
    background-color: #F4F4F4;
    color: #0A6ADD;
    padding: 10px 10px;
    margin: 0 0 14px;
  }
}
