/*
Theme Name: brainnet HP original
Description:ブレーンネットHPオリジナルテーマ
Version: 1.0
*/

/****************************
for contact form*/
.contact-form-wrap {
	width: 94%;
	max-width: 900px;
	margin: 0 auto;
}

.p-form__flow {
	display: table;
	width: 100%;
	margin: 0 auto 2em;
	overflow: hidden;
}

.p-form__flow li {
	display: table-cell;
	position: relative;
	padding: 0.5em 0.5em 0.5em 2em;
	background: #ccc;
	color: #fff;
}

.p-form__flow li:last-child {
	padding-right: 1em;
}

.p-form__flow li::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	right: -10px;
	width: 0;
	height: 0;
	border-width: 10px 50px 0 50px;
	border-style: solid;
	border-color: #b8a53c transparent transparent transparent;
}

.p-form__flow li:last-child::before,
.p-form__flow li:last-child::after {
	display: none;
}

.p-form__flow li::before,
.p-form__flow li::after {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	margin: auto;
}

.p-form__flow li::before {
	z-index: 10;
	top: 50%;
	right: -1em;
	margin-top: -40px;
	border-width: 40px 0 40px 1em;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
}

.p-form__flow li::after {
	z-index: 10;
	top: 50%;
	right: -0.9em;
	margin-top: -40px;
	border-width: 40px 0 40px 1em;
	border-style: solid;
	border-color: transparent transparent transparent #ccc;
}

.p-form__flow li.is-current {
	background: #00863a;
	color: #fff;
	font-weight: 700;
}

.p-form__flow li.is-current::after {
	border-color: transparent transparent transparent #00863a;
}

.contact-form-wrap p {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.contact-form-wrap dl {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: space-between;
	width: 100%;
	margin: 0 !important;
	padding: 10px 0 !important;
	text-align: left;
}

@media screen and (max-width: 768px) {
	.contact-form-wrap dl {
		margin: 0 !important;
	}

	.contact-form-wrap dl:last-of-type {
		margin: 0 0 20px !important;
	}
}

.contact-form-wrap dt {
	width: 30%;
	padding: 0.5em 0;
	color: #44576d;
	font-weight: 700;
	text-align: right !important;
}

@media screen and (max-width: 768px) {
	.contact-form-wrap dt {
		width: 100%;
		padding-bottom: 10px;
		text-align: left !important;
	}
}

.contact-form-wrap dt i {
	margin-left: 5px;
	padding: 0.5rem;
	background: #df171f;
	color: #fff;
	font-size: 1.2rem;
	font-style: normal;
	vertical-align: middle;
	white-space: nowrap;
}

.contact-form-wrap dd {
	width: 67%;
}

@media screen and (max-width: 768px) {
	.contact-form-wrap dd {
		width: 100%;
		margin-bottom: 0 !important;
	}
}

.contact-form-wrap dd textarea,
.contact-form-wrap dd input[type="text"],
.contact-form-wrap dd input[type="tel"],
.contact-form-wrap dd input[type="email"] {
	width: 100%;
	padding: 0.5em;
	border: none;
	border-radius: 0;
	background: #f4f4f4;
}

.contact-form-wrap dd select {
	position: relative;
	padding: 10px 40px 10px 10px;
	border: none;
	border-radius: 5px;
	background: #fff url(img/common/arrow-select.svg) no-repeat 95% 50%;
	background-size: 15px auto;
	font-size: 16px;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

@media all and (-ms-high-contrast: none) {
	*::-ms-backdrop,
	.contact-form-wrap dd select {
		background: #fff url(img/common/arrow-select.svg) no-repeat 110% 50%;
		background-size: 30% auto;
	}
}

.contact-form-wrap dd select::-ms-expand {
	display: none;
}

@media screen and (max-width: 768px) {
	.contact-form-wrap .contact-type::after {
		margin-top: -7px;
	}
}

.wpcf7-form-control.wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
}

span.wpcf7-list-item {
	width: 100%;
	margin: 0;
}

.contact-type span.wpcf7-list-item {
	width: 50%;
	margin: 0;
	padding-right: 1em;
}

@media screen and (max-width: 768px) {
	.contact-type span.wpcf7-list-item {
		width: 100%;
		padding-right: 0;
	}
}

span.wpcf7-list-item > label {
	display: flex;
	padding: 0.1em 1em 0.1em 0;
}

.contact-type span.wpcf7-list-item > label {
	display: flex;
	padding: 0.1em 1em 0.1em 0;
}

.acceptance span.wpcf7-list-item > label {
	display: inline-block;
	margin: 0.5em 0;
	padding: 0.5em 0.8em;
	background: #f4f4f4;
}

span.wpcf7-not-valid-tip {
	width: 100%;
	margin-top: 5px;
	padding: 0.5em 0;
	color: #df171f !important;
	font-size: 1.4rem !important;
	font-weight: 600 !important;
}

.screen-reader-response {
	display: none;
}

.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-mail-sent-ng {
	width: 100%;
	margin-top: 5px;
	padding: 10px;
	border: none;
	border-radius: 5px;
	color: #e84855;
	font-size: 1.6rem;
	font-weight: 600;
	text-align: center;
}

form.sent table,
form.sent h2,
form.sent .page_button {
	display: none !important;
}

form .top_button {
	display: none;
}

form.sent .top_button {
	display: block;
	padding: 5%;
	text-align: center;
}

div.wpcf7-response-output {
	margin: 2em 0 1em !important;
	padding: 0;
	border: none;
}

.wpcf7-response-output.wpcf7-mail-sent-ok {
	padding-bottom: 10px;
	border: none;
	font-size: 1.8rem;
	font-weight: 600;
	text-align: center;
}

.btn-area {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 1em;
}

.wpcf7 input[type="submit"] {
	align-self: center;
	width: 90%;
	max-width: 400px;
	margin-top: 1em;
	letter-spacing: 2px;
	-webkit-appearance: none;
}

.wpcf7 input[type="button"] {
	align-self: center;
	width: 80%;
	max-width: 300px;
	height: 100%;
	margin-top: 1em;
	padding: 0.7em;
}

.wpcf7 input[type="submit"][disabled],
.wpcf7 input[type="button"] {
	border: none;
	background: #ccc;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="button"]:hover {
	opacity: 0.8;
}

div.wpcf7 .ajax-loader {
	display: none;
}

div.cf7-cf-turnstile + br {
	display: none;
}
