/*=====================
フォーム
=====================*/
.contact_form_wrap {
  padding-top: 120px;
}
@media screen and (max-width: 640px) {
  .contact_form_wrap {
    padding-top: 50px;
  }
}

.contact_form_wrap .in {
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.contact_form_wrap dl {
  display: flex;
  width: 100%;
}
@media screen and (max-width: 640px) {
  .contact_form_wrap dl {
    flex-wrap: wrap;
  }
}

.contact_form_wrap dt {
  width: 240px;
  text-align: left;
  margin-bottom: 30px;
  font-size: 14px;
}
@media screen and (max-width: 640px) {
  .contact_form_wrap dt {
    width: 100%;
    margin-bottom: 10px;
  }
}

.contact_form_wrap dt span {
  position: relative;
}

.contact_form_wrap dt.required span::after {
  content: '-必須';
  display: inline-block;
  font-weight: 14px;
  color: #D80C18;

}

.contact_form_wrap dd {
  width: calc(100% - 240px);
  margin-bottom: 30px;
}
@media screen and (max-width: 640px) {
  .contact_form_wrap dd {
    width: 100%;
    margin-bottom: 30px;
  }
}

.contact_form_wrap .text input {
  padding: 10px;
  box-sizing: border-box;
  border: 2px solid #969696;
  width: 100%;
}
@media screen and (max-width: 640px) {
  .contact_form_wrap .text input {
    border: 1px solid #969696;
  }
}

.contact_form_wrap .text input.w100 {
  width: 100%;
}

.contact_form_wrap .text textarea {
  width: 100%;
  padding: 10px;
  height: 150px;
  border: 2px solid #969696;
  box-sizing: border-box;
  font-size: 14px;
}
@media screen and (max-width: 640px) {
  .contact_form_wrap .text textarea {
    border: 1px solid #969696;
  }
}

/* フォーム（select） */
.contact_form_wrap .text select {
  width: 100%;
	font-size: 14px;
	padding: 0.06rem;
	border: 2px solid #969696;
	box-sizing: border-box;
  padding: 10px 0;
}
@media screen and (max-width: 640px) {
  .contact_form_wrap .text select {
    border: 1px solid #969696;
    background-color: #FFF;
    padding: 10px;
    box-sizing: border-box;
  }
}

/* 郵便番号 */
.yubin .yubi_wrap  {
  display: flex;
  align-items: center;
}

.yubin .yubi_wrap .box {
  width: 100px;
}

.yubin .text {
  display: flex;
  align-items: center;
}

.yubin .text .code01 {
  width: 30%;
  margin-right: 5px;
}

.yubin .text .code02 {
  width: 50%;
  margin-left 5px;
}

.yubin .yubi_wrap .haifun {
  margin: 0 20px;
}

.yubin .yubi_wrap .box input {
  width: 100%;
}

.yubin .yubi_wrap .btn {
  margin-left: 30px;
}

.yubin .yubi_wrap .btn a {
  font-size: 14px;
  display: inline-block;
  color: #fff;
  border: 1px solid #fff;
  background: #000;
  box-sizing: border-box;
  padding: 10px 20px;
  border-radius: 20px;
}
.yubin .yubi_wrap .btn a:hover {
  color: #000;
  background: #fff;
  border: 1px solid #000;
}

/* プライバシーポリシー */
.kiyaku_wrap {
  background-color: #FFF;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: scroll;
  height: 160px;
  border: 1px solid #666;
  margin-bottom: 20px;
  width: 100%;
}

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

.kiyaku_check label {
  font-size: 12px;
  display: block;
  padding-left: 10px;
}
@media screen and (max-width: 640px) {
  .kiyaku_check label {
    line-height: 1.5;
  }
}

.kiyaku_wrap .kiyaku_text {
  font-size: 12px;
  line-height: 1.5;
}

/* サブミット */
.submit_btn_wrap {
  text-align: center;
  margin-top: 55px;
}

.submit_btn_wrap .submit {
  max-width: 320px;
  width: 100%;
  margin: auto;
  font-size: 14px;
}

.submit_btn_wrap .submit input[type='submit'] {
  max-width: 320px;
  width: 100%;
  color: #fff;
  background: #000;
  border: 1px solid #000;
  padding: 20px 0;
  cursor: pointer;
  transition: all .3s;
}

.submit_btn_wrap .submit input[type='submit']:hover {
  max-width: 320px;
  color: #000;
  background: #fff;
  border: 1px dolid #fff;
}

.screen-reader-response {
  display: none;
}

.wpcf7-not-valid-tip {
  color: #D80C18;
  display: inline-block;
  padding-top: 5px;
  font-size: 12px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  border:3px solid #ffb900;
  padding: 10px;
}