/************************************
** お問い合わせフォームの入力
************************************/
/*ContactFormカスタマイズ*/
.contact-text {
	text-align: center;
	width: 90%;
	margin: 5% auto 0 auto;
}
.contact-tel {
	display: flex;
	justify-content: center;
  	align-items: center;
}
/* # =================================================================
   # Forms
   # ================================================================= */
input[type=text],
input[type=email],
input[type=tel],
textarea {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #C4C4C4;
  border-radius: 5px;
  outline: none;
}
textarea {
  resize: vertical;
}

input {
  border-radius: 0;
}

/* Apply cursor pointer to button elements */
button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  cursor: pointer;
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

[type="number"] {
  width: auto; /* Firefox 36+ */
}

[type="search"] {
  -webkit-appearance: textfield; /* Safari 8+ */
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; /* Safari 8 */
}

textarea {
  overflow: auto; /* Internet Explorer 11+ */
  resize: vertical; /* Specify textarea resizability */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold; /* Restore the font weight unset by the previous rule. */
}

button {
  overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: 0;
  padding: 0;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type="button"], /* Prevent a WebKit bug where (2) destroys native `audio` and `video`controls in Android 4 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* Remove the default button styling in all browsers */


/* Style select like a standard input */
select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor; /* Internet Explorer 11+ */
}

legend {
  border: 0; /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit; /* Correct the color inheritance from `fieldset` elements in IE */
  display: table; /* Correct the text wrapping in Edge and IE */
  max-width: 100%; /* Correct the text wrapping in Edge and IE */
  white-space: normal; /* Correct the text wrapping in Edge and IE */
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS and Safari */
  font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
}

[type="search"] {
  -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px; /* Correct the outline style in Safari */
}


.contactTell {
	text-align: center;
	font-size: 1.8em;
	font-weight: bold;
	color: #116066;
	display: flex;
	justify-content: center;

	height: 100px;
	vertical-align: middle;
	padding-top: 50px;
	padding-bottom: 50px;
}
.contactTell a {
	color: #116066;
	text-decoration: none;
}
.contactTell img {
	width:28px;
	padding: 5px 10px 0 0;
	margin: 0;
	line-height: 0;
}
.contactTell .tellText {
	padding-right: 40px;
}
.textS {
	font-size: 1rem;
	font-weight: 400;
	color: #333;
}

.form-wrapper {
	max-width: 700px;
	width: 90%;
	margin: 5% auto;
}
.form-box {
  width: 100%;
}
.form-box dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
.form-box dt, .form-box dd {
  padding-bottom: 30px;
}
.form-box dt {
	font-size: 1rem;
  font-weight: 500;
  text-align: left;
}
.form-box dt.message {
  padding-top: 10px;
  vertical-align: top;
}
.form-box dd {
  width: 60%;
}

.required {
	font-size: 0.9rem;
	color: #fff;
	display: inline-block;
	background-color: #ddc537;
	padding: 5px;
	border-radius: 5px;
	margin: 0 10px 0 0;
}
.optional {
	font-size: 0.9rem;
	color: #fff;
	display: inline-block;
	background-color: #bdbdbd;
	padding: 5px;
	border-radius: 5px;
	margin: 0 10px 0 0;
}

.btn-wrapper {
  text-align: center;
	min-width: 220px;
  padding: 10px;
	margin: 30px auto 0 15%;
}

.btn-submit {
  display: inline-block;
  min-width: 220px;
  padding: 10px;
	margin: 0 auto 0 50%;
  background-image: linear-gradient(to right, #116066 0%, #116066 50%, #ddc537 50%, #ddc537 100%);
  background-size: 200%;
  background-position-x: 0;
  border: 1px solid #116066;
  border-radius: 5px;
  color: #FFFFFF;
  text-align: center;
  transition: 0.3s ease-in;
}
.btn-submit:hover {
  background-position-x: 100%;
  color: #116066;
}

.recaptcha-text {
	max-width: 1000px;
	width: 90%;
	margin: 5% auto;
	text-align: center;
}

/* タイトル列 */
@media screen and (min-width: 1000px){

}

/* レスポンシブ */
@media screen and (max-width: 1000px){

.contactTell {
	text-align: center;
	font-size: 1.4em;
	font-weight: bold;
	color: #116066;
	display: block;
	justify-content: center;
	align-items: center;
	height: 100px;
	vertical-align: middle;
	padding-top: 5%;
	padding-bottom: 50px;
}
.contactTell a {
	color: #116066;
	text-decoration: none;
}
.contactTell img {
	width:14px;
	padding: 10px 10px 0 0;
	margin: 0;
	line-height: 0;
}
.contactTell .tellText {
	padding:2% 0 3% 0;
}
.w90 {
	width: 90%;
	margin: 0 auto ;
}

.contact-text {
	margin: 5% auto 0 auto;
}
	
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#116066;/* グリーン*/
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
	padding: 20px 7%;
	border-radius: 10px;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}
/*ContactFormカスタマイズ*/

@media screen and (max-width: 768px){
.form-box {
    display: block;
  }
.form-box dl {
	display: block;
	margin: 5% 0;
}
  .form-box dt, .form-box dd {
    display: block;
    width: 100%;
  }
  .form-box dt {
    padding-bottom: 0.3em;
  }
  .form-box dt.message {
    padding-top: 0;
  }
  .form-box dd {
    padding-bottom: 1em;
  }
	
}