@charset "UTF-8";
.contact input {
  width: 100%;
}
.contact input[type=radio] {
  width: auto;
}
.contact textarea {
  resize: none;
  width: 100%;
  height: 100px;
}
.contact__item {
  font-size: 14px;
  margin-top: 20px;
}
@media screen and (min-width: 500px) {
  .contact__item {
    font-size: 18px;
  }
}
@media screen and (min-width: 780px) {
  .contact__item {
    font-size: 24px;
  }
}
.contact__item-left {
  font-weight: 600;
  width: 100%;
}
.contact__item-left .icon {
  font-size: 11px;
  font-weight: 300;
  color: #ffffff;
  background-color: #ff0000;
  border-radius: 2px;
  padding: 2px 5px;
  text-align: center;
}
@media screen and (min-width: 500px) {
  .contact__item-left .icon {
    font-size: 13px;
  }
}
@media screen and (min-width: 780px) {
  .contact__item-left .icon {
    margin: -4px 0 0 0;
    padding: 3px 7px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 5px;
    line-height: 1;
    font-size: 18px;
  }
}
.contact__item-right {
  border: 1px solid #707070;
  padding: 10px;
  margin-top: 10px;
  width: 100%;
}
.contact__item .msg-err {
  color: #ff0000;
}
.contact__item-mid {
  font-weight: 600;
}
.contact__item-mid label input {
  margin-right: 10px;
}
.contact__item-mid .contact__item-right {
  padding: 5px;
  border: none;
}
.contact__item-mid .contact__item-radio {
  margin-left: 20px;
}
.contact__privacy {
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 0 20px 20px;
  margin-top: 20px;
  background-color: #e0e0e0;
  height: 150px;
}
@media screen and (min-width: 500px) {
  .contact__privacy {
    height: 190px;
  }
}
@media screen and (min-width: 780px) {
  .contact__privacy {
    height: 205px;
  }
}
.contact__privacy-ttl {
  font-size: 14px;
  font-weight: 600;
  padding-top: 20px;
}
@media screen and (min-width: 500px) {
  .contact__privacy-ttl {
    font-size: 18px;
  }
}
@media screen and (min-width: 780px) {
  .contact__privacy-ttl {
    font-size: 20px;
  }
}
.contact__privacy-txt {
  font-size: 14px;
  line-height: 1.5;
  padding-top: 5px;
}
@media screen and (min-width: 500px) {
  .contact__privacy-txt {
    font-size: 18px;
    padding-top: 10px;
  }
}
@media screen and (min-width: 780px) {
  .contact__privacy-txt {
    font-size: 20px;
  }
}
.contact__btn {
  width: 100%;
  margin-top: 40px;
}
@media screen and (min-width: 780px) {
  .contact__btn {
    margin: 40px auto 0;
    max-width: 716px;
    font-size: 32px;
    border-radius: 10px;
  }
}
.contact input[type=checkbox] {
  display: none;
}
.contact input[type=checkbox]:checked + .contact__checkbox::after {
  opacity: 1;
}
.contact input[type=checkbox]:checked + .contact__checkbox-err::after {
  opacity: 1;
}
.contact__checkbox {
  font-size: 14px;
  font-weight: 600;
  padding-left: 30px;
  margin-top: 20px;
  position: relative;
  cursor: pointer;
}
@media screen and (min-width: 500px) {
  .contact__checkbox {
    font-size: 18px;
  }
}
@media screen and (min-width: 780px) {
  .contact__checkbox {
    font-size: 20px;
  }
}
.contact__checkbox-wrap {
  margin: 20px auto;
  width: 100%;
  text-align: center;
}
.contact__checkbox::before {
  position: absolute;
  content: "";
  top: 16%;
  width: 18px; /* チェックボックスの幅 */
  height: 18px; /* チェックボックスの高さ */
  left: 5px;
  border: 1px solid #cdd3de; /* チェックボックスの枠 */
  border-radius: 2px;
  margin-top: -3px;
}
@media screen and (min-width: 780px) {
  .contact__checkbox::before {
    top: 7%;
    width: 25px;
    height: 25px;
    left: -3px;
  }
}
.contact__checkbox::after {
  background-image: url();
  position: absolute;
  content: "";
  width: 8px;
  height: 13px;
  top: 7px;
  left: 10px;
  border-right: 2px solid #ff0000;
  border-bottom: 2px solid #ff0000;
  content: "";
  margin-top: -8px;
  opacity: 0;
  transform: rotate(45deg);
}
@media screen and (min-width: 500px) {
  .contact__checkbox::after {
    top: 8px;
  }
}
@media screen and (min-width: 780px) {
  .contact__checkbox::after {
    width: 11px;
    height: 19px;
    top: 6px;
    left: 4px;
  }
}
.contact__checkbox-err {
  font-size: 14px;
  font-weight: 600;
  padding-left: 30px;
  margin-top: 20px;
  position: relative;
  cursor: pointer;
}
@media screen and (min-width: 500px) {
  .contact__checkbox-err {
    font-size: 18px;
  }
}
@media screen and (min-width: 780px) {
  .contact__checkbox-err {
    font-size: 20px;
  }
}
.contact__checkbox-err-wrap {
  margin: 20px auto;
  width: 100%;
  text-align: center;
}
.contact__checkbox-err::before {
  position: absolute;
  content: "";
  top: 16%;
  width: 18px; /* チェックボックスの幅 */
  height: 18px; /* チェックボックスの高さ */
  left: 5px;
  border: 1px solid #ff0000; /* チェックボックスの枠 */
  border-radius: 2px;
  margin-top: -3px;
}
@media screen and (min-width: 780px) {
  .contact__checkbox-err::before {
    top: 7%;
    width: 25px;
    height: 25px;
    left: -3px;
  }
}
.contact__checkbox-err::after {
  background-image: url();
  position: absolute;
  content: "";
  width: 8px;
  height: 13px;
  top: 7px;
  left: 10px;
  border-right: 2px solid #ff0000;
  border-bottom: 2px solid #ff0000;
  content: "";
  margin-top: -8px;
  opacity: 0;
  transform: rotate(45deg);
}
@media screen and (min-width: 500px) {
  .contact__checkbox-err::after {
    top: 8px;
  }
}
@media screen and (min-width: 780px) {
  .contact__checkbox-err::after {
    width: 11px;
    height: 19px;
    top: 6px;
    left: 4px;
  }
}

.confirm__btn-wrap {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 60px;
}
.confirm__btn-item1 {
  width: 40%;
  text-align: center;
}
.confirm__btn-item1 button {
  width: 100%;
}
.confirm__btn-item2 {
  width: 40%;
  text-align: center;
}
.confirm__btn-item2 button {
  width: 100%;
}

.complete__txt {
  font-size: 12px;
  line-height: 1.5;
  padding-top: 15px;
}
@media screen and (min-width: 400px) {
  .complete__txt {
    font-size: 15px;
    padding-top: 20px;
  }
}
@media screen and (min-width: 500px) {
  .complete__txt {
    font-size: 17px;
    padding-top: 20px;
  }
}
@media screen and (min-width: 780px) {
  .complete__txt {
    padding-top: 40px;
  }
}
.complete__btn {
  width: 80%;
  margin: 20px auto 0;
}
@media screen and (min-width: 500px) {
  .complete__btn {
    margin: 40px auto 0;
  }
}