@charset "utf-8";
@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);

/*** custom checkboxes ***/

input[type=checkbox],input[type=radio] { display:none; } /* to hide the checkbox itself */
input[type=checkbox] + label:before,input[type=radio] + label:before {
  font-family: FontAwesome;
  display: inline-block;
  width: 1.5em;
}
label{
  margin: 0 2em 0 0;
}

input[type=checkbox] + label:before,input[type=radio] + label:before  { content: "\f096"; } /* unchecked icon */
input[type=checkbox] + label:before,input[type=radio] + label:before { letter-spacing: 10px; } /* space between checkbox and label */

input[type=checkbox]:checked + label:before,input[type=radio]:checked + label:before  { content: "\f046"; } /* checked icon */
input[type=checkbox]:checked + label:before,input[type=radio]:checked + label:before { letter-spacing: 5px; } /* allow space for check mark */



  .contact_wrap h3{
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 2em;
  text-align: center;
  }
  .required{
  color: #D54C4C;
  }
  span.required:before{
    content: "";
    margin-left: 0.5em;
    font-weight: 700;
  }

  input[type='submit'], input[type='button']{
    margin: 0 auto;
    color: #FFF;
    background: #163144;
    display: block;
    font-family: "Noto Serif JP", serif;
    text-align: center;
    border:none;
    cursor: pointer;
  }
  input[type='submit']:hover,input[type='button']:hover {
    background: #23587F;
    transition: 1s;
  }
  input[type='file']{
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

.birthday{
  width: 4em!important;
}
.zip{
  width: 8em!important;
}

.button_wrap{
  text-align: center;
}

@media screen and (max-width: 759.9px) {
  .contact_wrap h3{
    font-size:4.7vw;
    width: 100%;
  }
  
  .form_table table{
    width: 100%;
  }
  .form_table table th{
    width: 100%;
    padding: 20px 0 0 0;
    text-align: left;
    display: block;
    box-sizing: border-box;
  }
  .form_table table td{
     width: 100%;
   padding: 10px 0 0 0;
    text-align: left;
    display: block;
    box-sizing: border-box;
  }
  .form_table table td ul{
    display: flex;
    flex-wrap: wrap;
  }
  .form_table table td ul li{
    width: 100%;
  }

  
  input[type='text']{
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  textarea{
    width: 100%;
    height: 20em;
    padding: 10px;
    box-sizing: border-box;
 }
  
  input[type='submit'],input[type='button']{
    max-width: 62.5vw;
    width: 100%;
    height: 12.5vw;
    border-radius: 6.25vw;
    line-height: 12.5vw;
    margin: 12.5vw 0;

  }

  
  
 }


@media screen and (min-width: 760px) {
  .contact_wrap h3{
    font-size: 32px;
    font-size:min(2.66vw,32px);
  }

  .form_table table{
    width: 100%;
  }
  .form_table table th{
    width: 8em;
    padding: 20px 25px 20px 0;
    text-align: left;
  }
  .form_table table td{
    padding: 20px 25px;
  }
  .form_table table td ul{
    display: flex;
    flex-wrap: wrap;
  }
  .form_table table td ul li{
    width: 50%;
  line-height: 1.5em;
    margin: 0.5em 0;
  }
.form_table table td ul li span {
  margin: 0 1em;
  display: block;
}
  
  input[type='text']{
    width: 100%;
    padding: 10px;
  }
  textarea{
    width: 100%;
    height: 300px;
    padding: 10px;
  }
  
  input[type='submit'],input[type='button']{
    max-width: 300px;
    width: 100%;
    height: 60px;
    border-radius: 30px;
    line-height: 60px;
    display: inline-block;
    margin: 0 20px;
  }

  

}




