#contact{
  max-width: 1000px;
  margin: auto;
  padding: 60px 0;
}

#contact p:first-child{
  text-align: center;
  line-height: 1.75em;
  font-size: 15px;
}

#contact address{
  text-align: center;
  margin: 50px 0 50px 0;
}

#contact address a{
  color: #f58491;
  font-size: 42px;
}

#contact address p{
  font-size: 13px;
  line-height: 1.75em;
  margin-top: 10px;
}

#contact h3{
  text-align: center;
  font-size: 22px;
  margin-top: 50px;
  margin-bottom: 15px;
}

#contact table{
  width: 100%;
  max-width: 800px;
  line-height: 1.75em;
  margin: 15px auto;
}

#contact table th,
#contact table td{
  padding: 8px 10px;
  vertical-align: top;
}

#contact table th{
  width: 16em;
  padding-top: 20px;
}

span.must{
  background: #4c4948;
  color: #fff;
  padding: 0px 5px;
  border-radius: 3px;
  font-size: 11px;
  line-height: 20px;
  margin: 4px 5px 0 5px;
  display: inline-block;
}

#contact table th span.must{
  float: right;
}

#contact input[type="text"],
#contact input[type="tel"],
#contact input[type="email"]{
  border: 1px solid #000;
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 20px;
}
#contact input[type="radio"] {
 display: none;
}
.wpcf7 textarea[name="textarea-355"] {
 width: 100%;
 height: 150px !important;
}
/* 20191108 edit */
#contact .wpcf7-form-control-wrap .wpcf7-list-item , #contact .wpcf7-form-control-wrap.sender-gender .wpcf7-list-item,
#contact .wpcf7-form-control-wrap .wpcf7-list-item , #contact .wpcf7-form-control-wrap.model-gender .wpcf7-list-item {
 position: relative;
}
#contact input + .wpcf7-list-item-label:before {
 content: "";
 display: block;
 position: absolute;
 top: 50%;
 left: 10px;
 width: 15px;
 height: 15px;
 border: 1px solid #999;
 border-radius: 50%;
 transform: translateY(-50%);
}
#contact input:checked + .wpcf7-list-item-label:after {
 content: "";
 display: block;
 position: absolute;
 top: 50%;
 left: 13px;
 width: 11px;
 height: 11px;
 background: #f58491;
 border-radius: 50%;
 transform: translateY(-50%);
}
#contact .plan input + .wpcf7-list-item-label:before , #contact .privacypolicy input + .wpcf7-list-item-label:before {
 display: none;
}
#contact .plan input:checked + .wpcf7-list-item-label:after , #contact .privacypolicy input + .wpcf7-list-item-label:after{
 display: none;
}
#contact .plan .wpcf7-checkbox {
 margin-left: -1em;
}
#contact .wpcf7-form-control-wrap.model-gender .wpcf7-radio {
 display: flex;
 justify-content: flex-start;
 -ms-flex-pack: start;
}
#contact .wpcf7-form-control-wrap.model-gender .wpcf7-list-item {
 margin: 0;
}
#contact .wpcf7-form-control-wrap.model-gender .wpcf7-radio .wpcf7-list-item:first-child {
 margin-left: 30px;
}
#contact .wpcf7-form-control-wrap.model-gender .wpcf7-radio .wpcf7-list-item:last-child {
 margin-left: 60px;
}
#contact .model-gender label {
 padding-left: 25px;
}
#contact .model-gender input + .wpcf7-list-item-label:before {
 left: 0;
}
#contact .model-gender input + .wpcf7-list-item-label:after {
 left: 3px;
}
#contact select{
  border: 1px solid #000;
  height: 50px;
  line-height: 50px;
  vertical-align: bottom;
}

#contact .purpose{
  text-align: center;
}

#contact .purpose label{
  display: inline-block;
  padding: 20px 35px;
  border: 1px solid #000;
  width: 240px;
  text-align: left;
  color: #666;
}

#contact .purpose :checked + span{
  font-weight: normal;
} 

#contact .purpose label input{
  margin-left: 0;
}

#contact .wpcf7-field-groups{
  text-align: center;
}

#contact .wpcf7-field-groups button{
  border: 0;
  background: #f2f2f2;
  color: #8c742a;
  min-width: 50px;
  height: 50px;
  padding: 0 10px;
  cursor: pointer;
  font-size: 20px;
  margin: 0 5px;
}

#contact .wpcf7-field-group-add:after{
  content: " 撮影対象者を追加する";
  font-size: 14px;
}

#contact .wpcf7-field-group-remove:after{
  content: " 削除する";
  font-size: 14px;
}

#contact .selectdate select:first-child{
  margin-top: 0;
}

#contact .selectdate select{
}

#contact .wpcf7-radio{
  display: inline-block;
  margin-top: 14px;
}

#contact .wpcf7-checkbox{
  display: inline-block;
  margin-top: 14px;
  margin-bottom: 10px;
}

#contact .privacypolicytext{
  overflow: scroll;
  height: 10em;
  text-align: left;
  background: #f2f2f2;
  padding: 20px;
  max-width: 800px;
  margin: 50px auto 0px auto;
}

#contact .privacypolicytext + div{
  text-align: center;
  margin: 20px 0;
}

#contact .privacypolicytext p{
  text-align: left;
}

#contact .sendbtn{
  text-align: center;
  margin: 40px 0;
}

#contact .sendbtn input{
  background: #333333;
  color: #b1a683;
  line-height: 80px;
  border: 0;
  cursor: pointer;
  display: inline-block;
  width: 200px;
}
#contact .selectdate span.p-anounce {
 display: block;
 font-size: 15px;
}


@media only screen and (max-width: 800px) {
  #contact{
    padding: 30px 15px;
  }
  
  #contact p:first-child{
    font-size: 11px;
    text-align: left;
  }
  
  #contact p:first-child br{
    display: none;
  }
  
  #contact h3{
    font-size: 18px;
  }
  
  #contact address a{
    font-size: 28px;
  }
  
  #contact table th,
  #contact table td{
    display: block;
    padding-left: 0;
    padding-right: 0;
  }
  
  #contact table th{
    width: 100%;
    padding-bottom: 0;
    font-size: 15px;
  }
  
  #contact table th span.must{
    float: none;
  }
  
  #contact .purpose label{
    display: inline-block;
    width: 150px;
  }
  
  #contact select{
    height: 40px;
    line-height: 40px;
  }
  
  #contact .sendbtn input{
    height: 40px;
    line-height: 40px;
  }
  
  
}/*media*/


/* 20191108 add (ラジオボタン) */
.wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label {
  margin-left: 30px;
}













