.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.c-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 24px;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  line-height: 0;
}
@media (min-width: 768px) {
  .c-required {
    font-size: 12px;
  }
}

.head-txt {
  font-size: 13px;
  font-weight: 500;
  line-height: 2.15;
  text-align: center;
}
@media (min-width: 768px) {
  .head-txt {
    font-size: 16px;
    font-weight: 400;
  }
}
.head-txt .c-required {
  margin: 0 5px;
}

.form-contents {
  margin: 40px 0 0;
}
@media (min-width: 768px) {
  .form-contents {
    margin: 55px 0 0;
  }
}

.form {
  padding: 35px 20px;
  border-radius: 15px;
  background: #fff;
}
@media (min-width: 768px) {
  .form {
    padding: 90px 80px 80px;
    border-radius: 60px;
  }
}
.form__part {
  padding: 0 0 20px;
  border-bottom: 1px solid #dddddd;
}
@media (min-width: 768px) {
  .form__part {
    display: flex;
    align-items: baseline;
    gap: 0 25px;
    padding: 0 5px 25px;
  }
}
.form__part + .form__part {
  margin: 20px 0 0;
}
@media (min-width: 768px) {
  .form__part + .form__part {
    margin: 22.5px 0 0;
  }
}
.form__head {
  position: relative;
  display: block;
  width: 100%;
  height: 24px;
}
@media (min-width: 768px) {
  .form__head {
    width: 250px;
  }
}
.form__head .c-required {
  position: absolute;
  top: 0;
  right: 0;
}
.form__head .txt {
  font-size: 15px;
  font-weight: 500;
}
@media (min-width: 768px) {
  .form__head .txt {
    font-size: 16px;
  }
}
.form__body {
  margin: 10px 0 0;
}
@media (min-width: 768px) {
  .form__body {
    flex: 1;
    margin: 0;
  }
}
.form__layout-side {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
@media (min-width: 768px) {
  .form__layout-side {
    gap: 10px 40px;
  }
}
.form__layout-side .form__input {
  flex: 1;
}
.form__layout-side .form__input + .form__input {
  margin: 0;
}
.form__input, .form__textarea {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border-radius: 5px;
  background: #f1f4f5;
  font-size: 13px;
}
@media (min-width: 768px) {
  .form__input, .form__textarea {
    height: 60px;
    padding: 0 25px;
    border-radius: 10px;
    font-size: 16px;
  }
}
.form__input::placeholder, .form__textarea::placeholder {
  color: rgba(79, 77, 77, 0.6);
}
.form__input--error, .form__textarea--error {
  border: 1px solid #dc3232;
  background: #fde5e8;
}
.form * + .form__input {
  margin: 10px 0 0;
}
.form__textarea {
  height: 150px;
  margin: 15px 0 0;
  padding: 10px 15px;
  resize: none;
}
@media (min-width: 768px) {
  .form__textarea {
    height: 220px;
    margin: 30px 0 0;
    padding: 15px 25px;
  }
}
.form__label {
  position: relative;
  height: 20px;
  padding: 0 0 0 30px;
  font-size: 13px;
  line-height: 1;
}
@media (min-width: 768px) {
  .form__label {
    font-size: 16px;
  }
}
.form__label input:checked + .form__radio-icon,
.form__label input:checked + .form__checkbox-icon {
  border-color: var(--color-primary);
}
.form__label input:checked + .form__radio-icon::before,
.form__label input:checked + .form__checkbox-icon::before {
  display: block;
}
.form__radio-icon, .form__checkbox-icon {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid #4f4d4d;
}
.form__radio-icon::before, .form__checkbox-icon::before {
  display: none;
  content: "";
}
.form__radio-icon {
  border-radius: 50%;
}
.form__radio-icon::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
}
.form__checkbox-icon {
  border-radius: 2px;
}
.form__checkbox-icon::before {
  width: 13px;
  height: 9.5px;
  background: url("/assets/images/pages/common/icon_check.svg") no-repeat center/contain;
}
.form__txt {
  margin: -5px 0 10px;
  font-size: 13px;
}
@media (min-width: 768px) {
  .form__txt {
    font-size: 16px;
    margin: -5px 0 15px;
  }
}
.form__caution {
  font-size: 12px;
}
@media (min-width: 768px) {
  .form__caution {
    margin: 15px 0 0;
    font-size: 15px;
  }
}
.form__error-txt {
  margin: 10px 0 0;
  color: #dc3232;
  font-size: 13px;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .form__error-txt {
    font-size: 16px;
  }
}
.form__privacypolicy {
  margin: 20px -20px 0;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
}
@media (min-width: 768px) {
  .form__privacypolicy {
    margin: 55px 0 0;
    font-size: 16px;
  }
}
.form__privacypolicy a {
  text-decoration: underline;
}
.form__privacypolicy a::after {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin: 0 5px 0 0;
  background: url("/assets/images/pages/common/icon_blank.svg") no-repeat center/contain;
}
@media (min-width: 768px) {
  .form__privacypolicy a:hover {
    text-decoration: none;
  }
}
.form__submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px 0;
  margin: 15px 0 0;
}
@media (min-width: 768px) {
  .form__submit {
    gap: 0 40px;
    flex-direction: row-reverse;
    justify-content: center;
    margin: 40px 0 0;
  }
}
.form__confirm-txt {
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .form__confirm-txt {
    font-size: 16px;
    padding: 0 0 0 20px;
  }
}
.form__confirm-txt + .form__confirm-txt {
  margin: 25px 0 0;
}
@media (min-width: 768px) {
  .form__confirm-txt + .form__confirm-txt {
    margin: 30px 0 0;
  }
}
.form__complete-txt {
  font-size: 13px;
  line-height: 2.3;
  text-align: center;
}
@media (min-width: 768px) {
  .form__complete-txt {
    font-size: 16px;
  }
}
.form__complete-caution {
  margin: 25px 0 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
@media (min-width: 768px) {
  .form__complete-caution {
    margin: 40px 0 0;
    font-size: 13px;
  }
}
.form--complete {
  padding: 40px 20px;
}
@media (min-width: 768px) {
  .form--complete {
    padding: 80px 80px 60px;
  }
}
.form--complete .form__submit {
  margin: 20px 0 0;
}
@media (min-width: 768px) {
  .form--complete .form__submit {
    margin: 60px 0 0;
  }
}

.is-hidden {
  display: none !important;
}