.form_container{
  font-family:"kozuka-gothic-pro",sans-serif;
  font-size: 1.8rem;
  max-width: 700px;
  width: 100%;
  margin: 48px auto;
}


form dl{
  margin-bottom: 40px;
}
@media screen and (max-width:767px){
  form dl{
    margin-bottom: 24px;
  }
}
/* wordpressではfirst-childが効かない */
form dl:first-of-type{
  /* border-top: 1px solid #807F7F; */
}
@media screen and (max-width:767px){
  form dl:first-of-type{
    border: none;
  }
}
form dl dt{
  width: 100%;
  margin-bottom: 8px;
}
@media screen and (max-width:767px){
  form dl dt{
    width: 100%;
    font-size: 1.3rem;
    margin-bottom: 4px;
  }
}


form dl dd{
  width: 100%;
  /* padding: 25px; */
}
@media screen and (max-width:767px){
  form dl dd{
    width: 100%;
    padding: 0;
  }
}


input[type="text"],
input[type="email"],
input[type="tel"],
input[type="checkbox"],
input[type="submit"],
textarea{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

}
select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  color:#434343;
  box-shadow: 0 3px 6px #E8E1E1;

}
input[type="text"],
input[type="email"],
input[type="tel"]{
  max-width: 700px;
  width: 100%;
  height: 65px;
  font-size: 100%;
  outline: none;
  border: none;
  color:#434343;
  padding-left: 15px;
  background: #FFFFFF;
  box-shadow: 0 3px 6px #E8E1E1;
}
@media screen and (max-width:767px){
  input[type="text"],
  input[type="email"],
  input[type="tel"]{
    width: 100%;
    height: 40px;
  }
}
textarea{
  max-width: 700px;
  width: 100%;
  font-size: 100%;
  height: 180px;
  padding:15px;
  outline: none;
  border: none;
  box-shadow: 0 3px 6px #E8E1E1;
}
@media screen and (max-width:767px){
  textarea{
    width: 100%;
    height: 80px;
  }
}



/*---------------------------------

    contactform7での設定関連

-----------------------------------*/

/* wordpressでinput要素などの中央配置する場合に設定する場所 */
.wpcf7-form-control-wrap {
  display: block;
  height: 100%;
}
/*問い合わせフォームの上部に表示される */
/* エラーメッセージの非表示設定 */
.screen-reader-response{
  display: none;
}
/*メールフォームrecaptcha中央配置*/
.wpcf7-recaptcha > div {
  margin: 32px auto;
}

/* 「入力内容に問題があります」の設定 */
.wpcf7-response-output{
  font-size: 2.0rem;
  margin-bottom: 40px;
  text-align: center;
}

/* エラーメッセージの非表示 */
span.wpcf7-not-valid-tip{
  display: none !important;
}

/* 必須項目欄が未入力時に背景色を変更 */
.wpcf7 .wpcf7-not-valid {
  background: pink;
  border-radius: 0;
}

/* 承諾ボタンカスタマイズ */
.wpcf7-acceptance{
  text-align: center;
  display: block;
}

.wpcf7-acceptance  .wpcf7-list-item-label:before {
  content: '';
  border: 1px solid #454545;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
  border-radius:0;
}

.wpcf7-acceptance  .wpcf7-list-item-label:after{
  content: '';
  display: none;
  width: 23px;
  height: 23px;
  background: transparent;
  background-image: url(../image/check.png);
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  top:0;
  left:1px;
}
@media screen and (max-width:650px){
  .wpcf7-acceptance  .wpcf7-list-item-label:after{
    top:-5px;
  }

}

input[type="checkbox"]:checked+ .wpcf7-acceptance  .wpcf7-list-item-label:after{
  display: inline-block;
}

/*-----------------------------

お問い合わせ項目

-------------------------------*/


.select_profession_wrapper{
  max-width: 700px;
  width: 100%;
  height: 65px;
  position: relative;
}
@media screen and (max-width:767px){
  .select_profession_wrapper{
    width: 100%;
    height: 40px;
  }

}
.select_profession_wrapper .profession{
  font-size: 100%;
  width: 100%;
  /* height: 100%; */

  height: 65px;
  padding-left: 15px;
}
@media screen and (max-width:767px){
  .select_profession_wrapper .profession{
    font-size: 70%;
    height: 40px
  }

}
.select_profession_wrapper::after{
 content:"";
 border: 18px solid #DCDCDC;
 border-bottom: 8px solid transparent;
 border-right: 8px solid transparent;
 border-left: 8px solid transparent;
 position: absolute;
 right: 10px;
 top:40%;
 pointer-events: none;
 z-index: 2;
}
@media screen and (max-width:767px){
  .select_profession_wrapper::after{
   content:"";
   border: 14px solid #DCDCDC;
   border-bottom: 8px solid transparent;
   border-right: 8px solid transparent;
   border-left: 8px solid transparent;
   position: absolute;
   right: 10px;
   top:40%;
   pointer-events: none;
   z-index: 2;
  }

}




/*------------------------

         ラジオボタン

------------------------------*/

/* 初期段階のチェックボックスを消す */
input[type="radio"] {
  display: none;
}
.radio_postion{
  padding-top: 8px;
}
.wpcf7-form-control.wpcf7-radio {
  /* display: flex; */
  /* flex-wrap: wrap; */

  height: 50px;
  align-items: center;
}

input[type="radio"]:checked+ .wpcf7-list-item-label:after{
  display: inline-block;
}


/* ---------------------

   チェックボックス

-------------------------------*/
/* チェックボックスとラベルのセットを表示・設定 */


.wpcf7-form-control.wpcf7-checkbox {
  /* display: flex; */
  /* flex-wrap: wrap; */

  /* height: 50px; */
  align-items: center;
}
span.wpcf7-list-item {
  position: relative;

  display: block;
  margin: 0 25px 0 0 !important;
}


/* 初期段階のチェックボックスを消す */
input[type="checkbox"] {
  display: none;
}
/* チェックボックスの疑似要素 */
.wpcf7-list-item-label{
  font-size: 1.8rem;
  margin-bottom: 16px;
  color:#434343;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  position: relative;
}
@media screen and (max-width:767px){
  .wpcf7-list-item-label{
    font-size: 1.3rem;
  }

}


/* ラジオボタン 外側 */
.wpcf7-list-item-label:before {
  content: '';
  background: #FFFFFF;
  box-shadow: 0 3px 6px #E8E1E1;
  /* border: 1px solid #e2e2e2; */
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 5px;
  vertical-align: middle;
  border-radius: 50%;
}

/*--------------------------------

leftの数値
外側 width/2 - 内側 width/2 で産出

----------------------------*/

/* ラジオボタン内側 */
.wpcf7-list-item-label:after {
  content: '';
  display: inline-block;
  display: none;
  width: 14px;
  height: 14px;
  background: #343232;
  vertical-align: middle;
  border-radius: 50%;
  position: absolute;
  left:7px;
}

@media screen and (max-width:767px){
  /* ラジオボタン 外側 */
  .wpcf7-list-item-label:before {
    width: 20px;
    height: 20px;
  }
  /* ラジオボタン内側 */
  .wpcf7-list-item-label:after {
    width: 10px;
    height: 10px;
    left:5px;
  }

}


input[type="checkbox"]:checked+ .wpcf7-list-item-label:after{
  display: inline-block;
}


/* 提出ボタン */

input[type="submit"]{
  display: block;
  margin: 64px auto 0;
  font-size: 1.6rem;
  color: #FFFFFF;
  transition:  all 0.6s;
  max-width: 337px;
  width: 100%;
  background: #343232;
  border: none;
  padding: 22px 0;
  outline: none;
  border-radius: 30px;
  box-shadow: 0 3px 6px #00000029;
  cursor: pointer;
}
input[type="submit"]:hover{
  opacity: 0.5;
}
@media screen and (max-width:767px){
  input[type="submit"]{
    margin: 48px auto 0;
    font-size: 1.6rem;
    padding: 8px 15px;
  }
}
@media screen and (max-width:600px){
  input[type="submit"]{
    margin: 24px auto 0;
    font-size: 1.3rem;
    padding: 8px 15px;
  }
}


.form_txt_box{
    font-family:"kozuka-gothic-pro",sans-serif;
    font-size: 1.6rem;
    line-height: 2;
}
.form_txt_box_tit{
  margin-bottom: 1.2em;

}
.form_txt_box_sample{
  margin-bottom: 32px;
}
.form_txt_box_sample:last-child{
  margin-bottom: 2em;
}
@media screen and (max-width:767px){
  .form_txt_box{
      font-size: 1.3rem;
      line-height: 1.7;
  }
}

.privacy{
  font-family: 'YuGothic','Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
  overflow-y: scroll;
  width: 80%;
  font-size: 15px;
  margin: auto;
  color:#454545;
  padding: 25px;
  background: #FFFFFF;
  max-height: 200px;
  border: #707070 solid 1px;
}

@media screen and (max-width:650px){
  .privacy{
    width: 100%;
  }
}
.privacy_tit{
  letter-spacing: 0.01em;
  margin-bottom: 15px;
}
.privacy_sen{
  line-height: 1.3;
}
