@charset "utf-8";
/* お問い合わせ */
/* ------------------------------------------------------- */
.contact-box {
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}

.h3-contact {
  font-size: 200%;
}

#tel-contact {
  border: 3px #0081cc solid;
  border-left: none;
  border-right: none;
  margin-left: auto;
  margin-right: auto;
}

#tel-contact dl {
  display: table;
  margin: 0;
  width: 100%;
}

#tel-contact dt,
#tel-contact dd {
  display: table-cell;
  vertical-align: middle;
}

#tel-contact dt {
  font-size: 200%;
  font-weight: bold;
  line-height: 120%;
  padding: .75em 0 .75em .25em;
  text-align: right;
  width: 54%;
}

#tel-contact dt img {
  display: inline-block;
  margin-right: .75em;
  vertical-align: top;
}

#tel-contact dt a {
  color: #222;
  letter-spacing: .15em;
}

#tel-contact dd {
  padding: .75em .25em .75em 2em;
  text-align: left;
}

#line-contact {
  border: 3px #22ac38 solid;
  border-left: none;
  border-right: none;
  margin-left: auto;
  margin-right: auto;
}

#line-contact dl {
  display: table;
  margin: 0;
  width: 100%;
}

#line-contact dt,
#line-contact dd {
  display: table-cell;
  padding: 1em;
  vertical-align: middle;
}

#line-contact dt {
  text-align: right;
  width: 28%;
}

#line-contact dd {
  text-align: left;
}





#contact-form {
  width:100%;
}

#contact-form-inner {
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
}

#contact-form dl {
  border-collapse: collapse;
  border-spacing: 0;
  border-bottom: 20px solid #fff;
  display: table;
  margin: 0;
  width: 100%;
}

#contact-form dt {
  background: #0081cc;
  color: #fff;
  font-size: 100%;
  font-weight: bold;
  padding: 5px 1em;
  text-align: right;
  width: 14em;
  vertical-align: top;
}


#contact-form dd {
  /*border-left: 2px #962423 solid;*/
  padding: 0 1em;
  vertical-align: middle;
  word-wrap: break-word;
}

#contact-form dt,
#contact-form dd {
  font-weight: normal;
  display: table-cell;
  
  position: relative;
}

#contact-form dt .essential {
  color: #e60012;
  font-size: 100%;
  font-weight: bold;
}

#contact-form dd label {
  display: inline-block;
  font-weight: normal;
  margin: 0 1em 0 0;
}

#contact-form dt .alert {
}

#contact_submit {
  font-size: 0;
  margin-top: 10px;
  text-align: center;
}
input[type="text"], input[type="tel"], input[type="email"], textarea, input[type="password"] , #contact-form select{
    -moz-appearance: none;
    background-color: #dfeaf8;
    border: none;
    border-radius: 0;
    font-size: 14px;
    max-width: 98%;
    padding: 8px;
    transition: all 0.3s ease 0s;
    width: 100%;
}

:placeholder-shown {
  color: #999;
}
::-webkit-input-placeholder {
  color: #999;
}
:-moz-placeholder {
  color: #999;
}
::-moz-placeholder {
  color: #999;
}
:-ms-input-placeholder {
  color: #999;
}

#contact-form dd textarea {
    height: 150px;
}
#contact-form select{
  width:auto;
}

#contact-form input[type="text"].short{
  max-width:7em;
}

#contact-form input[type="text"].half{
  max-width:50%;
}

#contact-form input[type="submit"],
#contact-form input[type="button"] {
  background: #0081cc;
  border: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  left: 0;
  line-height:100%;
  margin: 0;
  overflow: visible;
  padding: 15px 3em;
  position: relative;
  text-decoration: none;
  top: 0;
  vertical-align: middle;
  width: auto;
  -webkit-appearance:none;
}

#contact-form input[type="submit"] {
  /*max-width: 380px;
  width: 50%;*/
}

#contact-form input[type="button"] {
  font-size: 100%;
  padding: 10px 1em;
}

#contact-form input[type="submit"]:hover,
#contact-form input[type="button"]:hover {
  opacity:0.8;
  filter:alpha(opacity=80);
}

#contact-form input[type="radio"] {
  line-height: 150%;
  vertical-align: middle;
}

#contact-form label {
  /*line-height: 150%;*/
  margin: 0;
}

.message{
  border : 3px #eb6877 solid;
  color: #eb6877;
  padding: 1em;
  margin: 0 0 1em;
}


/* ------------------------------------------------------- */
@media (max-width: 960px){
	#tel-contact dl {
	  display: block;
	}
	
	#tel-contact dt,
	#tel-contact dd {
	  display: block;
	  text-align: center;
	  width: 100%;
	}
	
	#tel-contact dt {
	  padding: .5em 0;
	}

	#tel-contact dd {
	  padding: 0 0 .5em;
	}
	


}



@media (max-width: 780px){
	
	#contact-form {
	  margin:0 auto 15px;
	  width:100%;
	}
	
	#contact-form dl {
	  display: block;
	  width: 100%;
	}
	
	#contact-form dt {
	  font-size: 110%;
	  font-weight: bold;
	  padding: 10px .5em;
	  text-align: left;
	}
	
	#contact-form dd {
	  padding: 10px .5em;
	}
	
	#contact-form dt, #contact-form dd {
	  display: block;
	  margin: 0;
	  width: 100%;
	  vertical-align: top;
	}
	
	#contact-form dd select {
	  font-size: 16px;
	}
	#contact-form dd input[type="text"], input[type="tel"], input[type="email"], #contact-form dd textarea, #contact-form dd input[type="password"]{
	  font-size: 16px;
	}
	#contact-form dd input[type="text"].short{  }
	
	#contact-form dd input[type="text"].half{
	  max-width: 100%;
	}
	
	#contact-form input[type="button"] {
	  vertical-align: top;
	}
	
	input[type="submit"] {
	  font-size: 14px;
	  padding: 10px 2em;
	}

}

@media (max-width: 640px){
	.h3-contact {
	  font-size: 130%;
	}
	
	#tel-contact dt img {
	  max-height: 22px;
	  vertical-align: baseline;
	}
	
	#contact-form dl {
	  border-width: 10px;
	}

	#contact-form dd select {
	  font-size: 14px;
	}
	#contact-form dd input[type="text"], input[type="tel"], input[type="email"], #contact-form dd textarea, #contact-form dd input[type="password"]{
	  font-size: 14px;
	}
	
	#contact-form input[type="submit"] {
	  font-size: 14px;
	}
	
	#contact_submit {
	  margin-top: 0;
	}

}
/* ------------------------------------------------------- */
