.contact-inner {
  padding: 0 30px;
}

.form {
  margin-bottom: 40px;
}

input,
option {
  border: 1px solid #CECECE;
  height: 33px;
  width: 132px;
  padding: 0 10px;
  box-sizing: border-box;
}


textarea {
  height: 240px;
  border: 1px solid #CECECE;
  padding: 10px;
  box-sizing: border-box;
  width: 100%;
}

.birth_inner {
  display: flex;
}

.mw_wp_form .error {
  font-size: 10px;
}

#last_name,
#first_name {
  width: 135px;
}

#last_name {
  margin-right: 24px;
}

.last_name, .first_name {
  display: flex;
  flex-direction: column;
}

.mandatory {
  display: inline;
  font-size: 10px;
  color: #FF8888;
  text-align: center;
}

.bold {
  font-weight: 700;
  line-height: 2.0;
  font-size: 16px;
}

.name {
  display: flex;
}




.birthday {
  display: flex;
  flex-direction: column;
}

.birthday_title {
  margin-top: 4px;
}

input[name="birth_year"]::placeholder {
  padding-left: 0;
  font-size: 16px;
  line-height: 32px;
  font-family: "Noto sans jp", sans-serif;
  color: #B2B2B2;
}

input[name="birth_month"]::placeholder, input[name="birth_day"]::placeholder {
  font-size: 16px;
  line-height: 2.0;
  font-family: "Noto sans jp", sans-serif;
  color: #B2B2B2;
  text-align: center;
}

.birthday_inner p {
  display: flex;
  align-items: center;
}

input[name="birth_year"] {
  width: 100px;
  margin-right: 3px;
  padding: 0 10px;
  height: 33px;
}


input[name="birth_month"] {
  width: 35px;
  margin-right: 3px;
  padding: 0 8px;
  height: 33px;
}

input[name="birth_day"] {
  width: 35px;
  margin-right: 3px;
  padding: 0 8px;
  height: 33px;
}

.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 20px;
}

.year,
.month,
.day {
  font-size: 16px;
  margin-right: 17px;
  line-height: 2.0;
}



.submit_btn {
  position: relative;
  margin: 0 auto;
  width: 250px;
}

.submit_btn input {
  background-color: transparent;
  border: 2px solid #000;
  border-radius: 30px;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  height: 55px;
  letter-spacing: 0.1em;
  line-height: 51px;
  position: relative;
  text-align: center;
  transition: color 0.3s linear, background-color 0.3s linear;
  width: 250px;
  cursor: pointer;
}

.submit_btn::after {
  background: transparent no-repeat center center/contain;
  background-image: url(../img/common/arrow.svg);
  content: "";
  display: block;
  height: 14px;
  position: absolute;
  right: 17px;
  top: 20px;
  transition: background-image 0.3s linear;
  width: 8px;
}

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

.submit_btn:hover::after {
  background-image: url(../img/common/arrow_w.svg);
}

.gender_item {
  display: none;
  margin-top: 4px;
}

.gender_item>span {
  font-weight: 400;
}

.gender_item+span {
  cursor: pointer;
  display: inline-block;
  padding: 0 0 0 2em;
  position: relative;
  margin-top: 4px;
}

.gender_item+span::before {
  -webkit-transform: translateY(-50%);
  background: #fff;
  border: 1px solid rgba(206, 206, 206, 1);
  border-radius: 50%;
  content: "";
  display: block;
  height: 23px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 23px;
}

.gender_item+span::after {
  -webkit-transform: translateY(-50%);
  background: #000;
  border-radius: 50%;
  content: "";
  height: 11px;
  left: 5px;
  opacity: 0;
  padding: 2px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease 0s;
  width: 11px;
}

.gender_item:checked+span::after {
  opacity: 1;
}

.male_btn {
  margin-right: 20px;
}

.contact-form__text {
  font-weight: 700;
  font-size: 16px;
}

.policy_message {
  width: 100%;
  height: 260px;
  overflow: scroll;
  letter-spacing: 0.1em;
}

.address_inner {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent url(../img/common/select-arrow.svg) no-repeat center right 15px/14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  height: 35px;
  width: 100%;
  padding-left: 12px;
  font-size: 16px;
  font-family: "Noto sans jp", sans-serif;
  line-height: 2.0;
  letter-spacing: 0.1em;
}

.address_inner::-ms-expand {
  display: none;
}

.address_inner:focus {
  border: 1px solid rgba(0, 0, 0, 0.32);
  box-shadow: none;
  outline: none;
}


/* 元々のチェックボックス（非表示） */
.policy input[type="checkbox"] {
  display: none;
}

/* チェックボックスの代わりを成すラベル */
.policy input[type="checkbox"]+span {
  /* display: none; */
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 30px;

}

/* ラベルの左に表示させる正方形のボックス□ */
.policy input[type="checkbox"]+span::before {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 25px;
  height: 25px;
  margin-top: -10px;
  left: 0;
  top: 36%;
  border: 1px solid;
  border-color: #CECECE;
  /* 枠の色変更 お好きな色を */
  background-color: #FFF;
  /* 背景の色変更 お好きな色を */
  border-radius: 50%;
}

/* チェックが入った時のレ点 */
.policy input[type="checkbox"]:checked+span::after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 13px;
  height: 8px;

  top: 25%;
  left: 5px;
  transform: rotate(-45deg);
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-color: #585753;
  /* チェックの色変更 お好きな色を */
}

.mwform-checkbox-field-text {
  font-weight: 700;
    line-height: 2.0;
    font-size: 12px;
}



.email_input {
  margin-bottom: 23px;
}

#email,
#email_confirm {
  width: 100%;
}

.policy_text {
  font-size: 12px;
  padding-left: 5px;
}

.policy {
  text-align: center;
}

.policy_message .space {
  margin-bottom: 25px;
}

@media screen and (min-width: 768px) {

  input,
  option {
    border: 1px solid #CECECE;
    height: 58px;
    width: 320px;
  }

  textarea {
    height: 240px;
    border: 1px solid #CECECE;
  }

  #last_name,
  #first_name {
    width: 218px;
  }

  #last_name {
    margin-right: 40px;
  }

  .form {
    margin-bottom: 80px;
  }

  /* #birth_year {
    width: 170px;
    margin-right: 8px;
   
  }

  #birth_month,
  #birth_day {
    width: 68px;
    margin-right: 8px;
    padding-left: 12px;
  } */

  input[name="birth_year"] {
    width: 170px;
    margin-right: 8px;
    padding: 0 10px;
    height: 58px;
  }
  
  
  input[name="birth_month"] {
    width: 68px;
    margin-right: 8px;
    padding: 0 8px;
    height: 58px;
  }
  
  input[name="birth_day"] {
    width: 68px;
    margin-right: 8px;
    padding: 0 8px;
    height: 58px;
  }

  input[name="birth_year"]::placeholder {
    padding-left: 0;
  }

  input[name="birth_month"]::placeholder, input[name="birth_day"]::placeholder {
    padding-left: 0;
    text-align: left;
  }

  .year,
  .month,
  .day {
    font-size: 16px;
    margin-right: 22px;
    line-height: 2.0;
  }

  .birthday_title {
    margin-top: 0;
  }

  .address_inner {
    height: 60px;
    width: 320px;
    padding-left: 12px;
    font-size: 16px;
    font-family: "Noto sans jp", sans-serif;
    line-height: 2.0;
    letter-spacing: 0.1em;
  }

  .email {
    flex-direction: row;
    display: flex;
  }

  .email_input,
  .email_confirm {
    width: 320px;
  }

  .email_input {
    margin-right: 40px;
    margin-bottom: 0;
  }

  .content,
  .policy_message {
    margin-bottom: 40px;
  }

  .male_btn,
  .female_btn {
    font-size: 14px;
  }

  .mw_wp_form .error {
    font-size: 14px;
  }
}

@media screen and (min-width: 1024px) {

  #last_name,
  #first_name {
    width: 318px;
  }

  .policy_message {
    width: 910px;
  }
}