@charset "UTF-8";
/*お問い合わせタイトル*/
.page_title_inner {
  background-color: #999;
  width: 100%;
  margin-bottom: 30px;
}
.page_title {
  width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 8px;
}
.page_title h2 {
  margin-left: 10px;
}
/*お問い合わせ注記*/
.contact-note {
  width: 85%;
  margin: 0 auto 20px auto;
}

/*お問い合わせフォーム*/
.contact_form {
  width: 85%;
  margin-right: auto;
  margin-left: auto;
}
.contact_form table {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-bottom-style: solid;
  border-left-style: solid;
  border-bottom-color: #ccc;
  border-left-color: #ccc;
}
.contact_form th {
  width: 30%;
  border-top-width: 1px;
  border-right-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-top-color: #ccc;
  border-right-color: #ccc;
  color: #fff;
  text-align: center;
  font-size: 16px;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#347cd3+0,2a63a9+100 */
  background: #347cd3; /* Old browsers */
  background: -moz-linear-gradient(
    top,
    #347cd3 0%,
    #2a63a9 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #347cd3 0%,
    #2a63a9 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #347cd3 0%,
    #2a63a9 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#347cd3', endColorstr='#2a63a9',GradientType=0 ); /* IE6-9 */
}
.contact_form td {
  padding: 10px;
  background-color: #fff;
  border-top-width: 1px;
  border-right-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-top-color: #ccc;
  border-right-color: #ccc;
  font-size: 16px;
  line-height: 1.5;
}
input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 250px;
  height: 30px;
  font-size: 16px;
}
textarea {
  font-size: 16px;
  width: 80% !important; /* 親要素の幅に追従 */
  max-width: 100% !important; /* リサイズハンドルで親からはみ出さない */
  box-sizing: border-box !important; /* padding・borderを幅に含める */
  min-height: 8em !important;
  resize: vertical !important; /* 横方向のリサイズを禁止(レイアウト崩れ防止) */
}
.contact {
  width: 85%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 0px;
  margin-bottom: 0px;
}
.contact dl {
  line-height: 1.5;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  padding: 20px;
}
.contact dt {
  text-align: center !important;
  margin-bottom: 5px !important;
  font-weight: bold;
  font-size: 18px !important;
  width: 100% !important;
  border: none !important;
}
.contact dd {
  padding: 0 !important;
  font-size: 16px !important;
  margin: 10px auto 0 auto !important;
  line-height: 1.7 !important;
  border-top: none !important;
}

.accept_send {
  width: 85%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 20px;
}
/*#form_button {
	width: 20%;
	height: 40px;
	color: #fff;
	font-weight: bold;
	text-align: center;
	font-size: 16px;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	background-color: #2A63A9;
}*/
#coments_box {
  width: 80%;
}

/*thanksページ*/
.thanks {
  width: 60%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 100px;
  text-align: center;
  border: 1px solid #999;
  padding: 50px;
}

/*errorページ*/
.error {
  width: 85%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 0px;
  margin-bottom: 50px;
  text-align: center;
  border: 1px solid #999;
  padding: 30px 0;
}
.error p {
  font-size: 20px;
  font-weight: bold;
  color: #06c;
  line-height: 1.5;
}
.error ul {
  list-style-type: none;
}
.error li {
  font-size: 16px;
  line-height: 1.5;
  color: #c00;
}

@media (min-width: 600px) and (max-width: 959px) {
  .page_title h2 img {
    width: 15%;
    height: auto;
  }
  .contact {
    width: 90%;
  }
  .contact_form {
    width: 90%;
  }
  .contact_form table {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  .contact_form th {
    width: 100%;
    display: block;
  }
  .contact_form td {
    width: 100%;
    display: block;
    padding: 10px 0;
    font-size: 90%;
    text-align: center;
  }
  #form_button {
    width: 80%;
    height: 40px;
    font-size: 90%;
  }
  .error {
    width: 90%;
  }
}

@media all and (max-width: 599px) {
  .page_title_inner {
    margin-bottom: 15px;
  }
  .page_title {
    margin-top: 45px;
  }
  .page_title h2 {
    margin-left: 10px;
  }
  .page_title h2 img {
    width: 17%;
    height: auto;
  }
  p {
    font-size: 90%;
  }
  .contact {
    width: 99%;
  }
  .contact dl {
    line-height: 1.5;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 20px;
  }
  .contact dt {
    font-size: 100%;
  }
  .contact dd {
    font-size: 90%;
  }
  .contact_form {
    width: 100%;
  }
  .contact_form table {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  .contact_form th {
    width: 100%;
    display: block;
  }
  .contact_form td {
    width: 100%;
    display: block;
    padding: 10px 0;
    font-size: 90%;
    text-align: center;
  }
  input[type="text"],
  input[type="tel"],
  input[type="email"] {
    width: 80%;
    height: 30px;
    font-size: 16px;
  }
  #form_button {
    width: 100%;
    height: 40px;
    font-size: 80%;
    color: #333;
  }
  .thanks {
    width: 100%;
    font-size: 90%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 100px;
    text-align: center;
    border: 1px solid #999;
    padding: 40px 0;
  }
  .error {
    width: 100%;
    font-size: 80%;
  }
}

/*Google reCAPTCHAのバッジ*/
.grecaptcha-badge {
  z-index: 99999 !important;
}
