@charset "UTF-8";
/*============内容============*/

/*============背景============*/

.mv {
  background-image: url(../image/contactmv.png);
}

/*============フォーム============*/

.contact {
  text-align: center;
  margin-top: 10px;
  padding-bottom: 8%;
}

.contact_information {
  border: 1px solid #333;
  padding: 4% 5.5% 5.5%;
  margin-top: 4.7%;
}

.contact_information_text {
  line-height: 2;
}

.contact_text h1 {
  font-size: 66px;
  letter-spacing: 10px;
}

.contact_text h2 {
  line-height: 3;
  font-size: 20px;
}

.form {
  margin-top: 4.7%;
}
.error {
  color: red;
  text-align: left;
}

.data_item {
  border-top: 1px solid #ccc;
  display: flex;
}

.data_title {
  align-items: center;
  display: flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: space-between;
  min-width: 245px;
  padding: 3.4% 14px 3.4% 0;
  width: 25%;
}

.data_contents {
  border-left: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 16px;
  padding: 2.3%;
  width: 75%;
}
.name_contents {
  display: flex;
  flex-direction: column;
}
.required_text {
  background-color: #ffeeee;
}
.form_text {
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  padding: 2.8% 10px;
  width: 100%;
}

.name_text {
  max-width: 500px;
}

.radio_wrap {
  align-items: center;
  display: flex;
}

.radio_item {
  margin-bottom: 15px;
}

.required {
  color: #ff0000;
  font-size: 13px;
}

.any {
  color: #1bc3d7;
  font-size: 13px;
}

.privacy {
  border-top: 1px solid;
  text-align: left;
}
.privacy_text {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
}
.privacy_text_wrap {
  background-color: #f5f5f5;
  font-size: 14px;
  max-height: 210px;
  margin-top: 5%;
  overflow-y: scroll;
  padding: 3% 4%;
  line-height: 2;
}

.submit_btn:hover {
  opacity: 75%;
  transition: 0.3s;
}

.submit_btn {
  font-family: 'Noto Serif JP', serif;
  background-color: #000;
  border: 1px solid;
  border-radius: 40px;
  color: #fff;
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  max-width: 400px;
  margin: 5% auto 0;
  padding: 30px 0;
  text-align: center;
  width: 95%;
  cursor: pointer;
}

.checkbox_wrap {
  display: flex;
  padding-top: 10px;
}

.checkbox_wrap p {
  padding-left: 5px;
}

.checkbox_wrap p a {
  color: #0ba1d8;
}

/* 確認ページ */
.confirm .data_item {
  align-items: center;
}
.confirm .data_contents {
  text-align: left;
}
.confirm .btn_wrap {
  align-items: center;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  width: 100%;
}
.back_btn {
  background-color: #fff;
  color: #000;
  display: block;
  max-width: 400px;
  width: 50%;
}

.back_btn:hover {
  background-color: #000;
  color: #fff;
}

.complete_wrap {
  padding: 10% 15px;
  text-align: center;
}

.complete_wrap .contact_title {
  font-size: 40px;
  font-weight: bold;
}

.complete_wrap .contact_text {
  font-size: 24px;
  line-height: 2;
  margin-top: 3%;
}
/*============767px以下============*/
@media screen and (max-width: 768px) {
  .mv {
    background-image: url(../image/contactmv.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 30px;
  }
  .data_item {
    display: block;
  }
  .data_title {
    align-items: center;
    justify-content: flex-start;
    padding: 3.4% 0 0;
    width: 100%;
  }
  .required,
  .any {
    padding-left: 20px;
  }
  .data_contents {
    padding: 2.3% 0;
    width: 100%;
    border-left: none;
  }
  .privacy_text {
    text-align: left;
    border: none;
  }
  .name_text {
    max-width: inherit;
  }
  .submit_btn {
    font-size: 15px;
    max-width: 300px;
    margin-top: 10%;
  }
  .contact_information_text {
    font-size: 14px;
  }
  .contact_text h1 {
    font-size: 25px;
  }
  .contact_text h2 {
    font-size: 14px;
  }

  .complete_wrap .contact_title {
    font-size: 32px;
  }

  .complete_wrap .contact_text {
    font-size: 18px;
    margin-top: 4%;
  }
}
/*============479px以下============*/
@media screen and (max-width: 480px) {
  .contact {
    padding-bottom: 16%;
  }
  .contact_information {
    padding: 20px;
  }
  .contact_information_text {
    text-align: left;
    font-size: 12px;
  }
  .data_item {
    margin: 20px 0;
  }
  .data_title {
    font-size: 12px;
  }
  .checkbox_wrap p {
    font-size: 15px;
  }

  .submit_btn {
    padding: 20px 0;
    width: 45%;
  }

  .back_btn {
    width: 45%;
  }

  .complete_wrap .contact_title {
    font-size: 24px;
  }

  .complete_wrap .contact_text {
    font-size: 14px;
    margin-top: 4%;
  }
}
