@charset "utf-8";

/* contac */
.contact .category_tit {
    color: #ffffff;
    padding: 60px 0 0;
    font-size: 40px;
}

.contact .content_wrap {
    background-image: url(../../images/contact/bg_tit.png);
    height: 195px;
    background-repeat: initial;
    background-position: initial;
}

.contact section form{
	margin: 3em 0 0 0;
}

.contact section form table tr{
	margin-bottom: 1em;
	width:100%;
}

.contact section form table tr th{
	padding: 1em 0;
	width: 350px;
}

.contact section form table tr td.input_check{
	padding: 1em 0;
	width: 60px;
}

.contact section form table tr td.input_form{
	padding: 1em 0;
	width: 780px;
}


.contact section form table tr th .th-border{
	font-size: 18px;
	color: #71aba0;
	padding-left: 1em;
	border-left: 6px solid #71aba0;
}

.contact section form table tr th .th-border{
	font-size: 20px;
	color: #71aba0;
	padding-left: 1em;
	border-left: 6px solid #71aba0;
}

.contact section form table tr th .enable{
	margin-left: 1em;
	background: #e54167;
	padding: 0 0.25em;
	border-radius: 5px;
	color: #FFFFFF;
	font-size: 14px;
}

.contact section form table tr th .disable{
	margin-left: 1em;
	background: #3159c6;
	padding: 0 0.25em;
	border-radius: 5px;
	color: #FFFFFF;
	font-size: 14px;
}

.contact section form table tr td input[type="text"] {
    padding: 1em 2em;
    width: 100%;
    border: 1px solid #dadada;
    border-radius: 10px;
    box-sizing: border-box;
}

.contact section form table tr td textarea{
  width: 100%;
  height: 300px;
  padding: 0 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 4px;
  resize: none;
  vertical-align: top;
}

/*** custom checkboxes ***/
.contact section form table tr td textarea{
  width: 100%;
  height: 300px;
  padding: 0 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 4px;
  resize: none;
  vertical-align: top;
    box-sizing: border-box;
}

.contact section form table tr td.privacy_check{
  width: 100%;
  padding: 0 0 3em 0;
  text-align: center;
}

input[type=checkbox] { display:none; } /* to hide the checkbox itself */
input[type=checkbox] + label:before {
  font-family: FontAwesome;
  display: inline-block;
  color:#4c4c4c;
  font-size:20px;
  vertical-align: middle;
}

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

input[type=checkbox]:checked + label:before { content: "\f046"; color: #71aba0; } /* checked icon */
input[type=checkbox]:checked + label:before { letter-spacing: 10px; } /* allow space for check mark */

.contact section form table tr td.btn{
    width:100%;
    text-align: center;
}

.contact section form table tr td.btn input[type="button"]{
    display: inline-block;
    margin: 0 auto 50px;
    padding: 17px 0 15px;
    width: 270px;
    color: #fff;
    font-size: 23px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    box-shadow: 0 6px #D2D2D2;
    border-radius: 10px;
    border: none;
    background: #4AADA1 url(../images/icon/ico01.png) no-repeat 93% center;
    background-size: 10% auto;
    cursor: pointer;
}

.contact section form table tr td.btn input[type="button"]:hover {
    opacity: 0.6;
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
}

.question {
  font-size: 16px;
  letter-spacing: 0.33;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 2.99;
}


@media only screen and (max-width: 768px){
  .contact .service_mv {
      height: 30.866vw;
      background-size: 100% auto;
  }
  .contact .service_mv .category_tit {
      padding: 7.888vw 0 0 5vw;
      width: 100%;
      font-size: 8.333vw;
      box-sizing: border-box;
      min-height: 100px;
  }

  .contact .content_wrap{
        height: 100%;
  }

  .contact section{
        width: 92%;
    margin: 0 auto;
  }

  .contact section form{
    width:100%;
  }

  .contact section form table tr{
    display: block;
  }

  .contact section form table tr td.input_form,
  .contact section form table tr td.privacy_check,
  .contact section form table tr td.btn   {
    width: 100%;
    display: block;
  }

  .contact section form table tr td.privacy_check{
    font-size:3.4vw;
  }

  .contact section form table tr td input[type="text"]{
    width: 90%;
    padding: 1.2vw 4.6vw;
    line-height: 2.5em;
  }

  .contact section form table tr td textarea{
    width: 90%;
  }

  .contact section #inquiry_info{
    width: 100%;
    font-size:3.4vw;
  }

  .contact section .text{
    font-size:3.4vw;
  }
  input[type=checkbox]:checked + label:after {
    width: 9px;
    height: 4px;
    left: 2px;
    top: 3px;
  }
  .privacy_check input[type=checkbox]:checked + label:after {
    top: 0;
  }

}