@charset "utf-8";
/* お問い合わせ */
/* ------------------------------------------------------- */
.contact-tel {
  border: 4px #aecdf5 double;
  margin: 0 auto 40px;
  max-width:565px;
  padding: 40px 0;
}

.contact-tel a {
  color: #134990;
  line-height: 100%;
}

.contact-tel dl {
  border-collapse:collapse;
  border-spacing:0;
  display:table;
  margin: 0;
  width:100%;
}

.contact-tel dt {
  border-right: 1px solid #134990;
  font-size:200%;
  line-height: 100%;
  text-align: right;
  width:56%;
}

.contact-tel dd {
  width:44%;
  word-wrap:break-word;
}

.contact-tel dt,
.contact-tel dd {
  display: table-cell;
  padding:5px 30px;
  vertical-align:middle;
}

.contact-tel dt i{
  background: #134990;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  color: #fff;
  font-size: 16px;
  line-height: 18px;
  height: 27px;
  margin-right: .75em;
  padding: 5px;
  text-align: center;
  width: 27px;
  vertical-align: top;
}
#contact_form {
  margin:0 auto 30px;
  max-width: 920px;
  width:100%;
}

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

#contact_form dl:nth-last-of-type(1) {
  border:none;
}

#contact_form dt {
  background-color: #134990;
  color: #fff;
  font-weight: normal;
  padding: 15px 20px;
  width: 30%;
}

#contact_form dd {
  background-color: #eaeaea;
  padding: 10px;
  width: 70%;
  word-wrap: break-word;
}

#contact_form dt,
#contact_form dd {
  display: table-cell;
  vertical-align: top;
}

#contact_submit {
  font-size: 0;
  margin-top: 20px;
  text-align: center;
}
input[type="text"], textarea, input[type="password"] , #contact_form select{
    -moz-appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    max-width: 98%;
    padding: 5px;
    transition: all 0.3s ease 0s;
    width: 100%;
}
#contact_form dd textarea {
    height: 120px;
}
#contact_form select{
  width:auto;
}

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

input[type="submit"],
input[type="button"] {
  background: #e0e0e0;
  background:linear-gradient(180deg,#fcfcfc 0%,#e0e0e0 100%);
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  color: #4a4a4a;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-weight: normal;
  left: 0;
  line-height:100%;
  margin: 0;
  overflow: visible;
  padding: 15px 50px;
  position: relative;
  text-decoration: none;
  top: 0;
  vertical-align: middle;
  width: auto;
  -webkit-appearance:none;
}

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

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


.message{
  border:3px #ff2b2b dotted;
  color:#ff2b2b;
  padding:10px;
  margin-bottom:15px;
}


/* ------------------------------------------------------- */
@media (max-width: 780px){
	.contact-tel {
	  margin-bottom:20px;
	  max-width:100%;
	  padding:10px 5%;
	}
	
	.contact-tel dl {
	  border:0;
	  display: block;
	  width:100%;
	}
	
	.contact-tel dt::after {
	  clear: both;
	  content: "";
	  display: table;
	}
	
	.contact-tel dt {
	  border-bottom: 1px solid #134990;
	  border-right:0;
	  margin-bottom: 10px;
	  padding: 0;
	  text-align:center;
	  width: auto;
	}
	
	.contact-tel dd {
	  text-align:center;
	  width: auto;
	}
	
	.contact-tel dt,
	.contact-tel dd {
	  display: block;
	  margin: 0;
	  padding:10px;
	  vertical-align: top;
	}
	
	#contact_form {
	  margin:0 auto 15px;
	  width:100%;
	}
	#contact_form dl {
	  border:0;
	  display: block;
	  width: 100%;
	}
	#contact_form dt::after {
	  clear: both;
	  content: "";
	  display: table;
	}
	#contact_form dt {
	  padding: 0;
	  text-align: left;
	  width: auto;
	}
	#contact_form dd {
	  
	}
	#contact_form dt, #contact_form dd {
	  border: medium none;
	  border: 0;
	  display: block;
	  margin: 0;
	  padding: 10px;
	  width: 100%;
	  vertical-align: top;
	}
	
	#contact_form dd select {
	  font-size: 16px;
	}
	#contact_form dd input[type="text"], #contact_form dd textarea, #contact_form dd input[type="password"]{
	  font-size: 16px;
	}
	#contact_form dd input[type="text"].short{  }
	#contact_form input[type="button"] {
	  vertical-align: top;
	}
	
	input[type="submit"] {
	  font-size: 14px;
	  padding: 10px 2em;
	}

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