@charset "utf-8";

/* ============================================================
   お問い合わせタブ
============================================================ */
.list_tab {
	max-width: 800px;
	padding: 50px 0;
}
.list_tab h3 {
	font-size: 27px;
	line-height: 1.3;
	letter-spacing: 1px;
	font-weight: 600;
	color: #298e5b;
	text-align: center;
	margin-bottom: 40px;
}
.list_tab ul {
	justify-content: space-between;
}
.list_tab ul li {
	align-items: stretch;
	width: calc((100% - 6%) / 2);
}
.list_tab ul li a {
	display: block;
	width: 100%;
	min-height: 170px;
	border: 3px solid #298e5b;
	border-radius: 10px;
	padding: 20px;
	color: #298e5b;
	background: #dfefe7;
	transition: .3s;
	justify-content: center;
	align-items: center;
}
.list_tab ul li a h4 {
	display: block;
	width: 100%;
	border-radius: 10px;
	padding: 0 0 15px;
	text-align: center;
	font-size: 17px;
	line-height: 1.2;
	letter-spacing: 0.12em;
	font-weight: 600;
}
.list_tab ul li a p {
	display: block;
	width: 100%;
	border-radius: 10px;
	padding: 0;
	text-align: left;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.12em;
	font-weight: 600;
}
.list_tab ul li a:hover,
.list_tab ul li.curr a {
	background: #298e5b;
	color: #FFF;
	transition: .3s;
}
/* タブのpadding調整（style.cssより） */
.list_tab ul li a {
	padding: 15px 20px;
}

/* ============================================================
   ステップフロー
============================================================ */
.flow_area {
	width: 94%;
	max-width: 1000px;
	margin: 0 auto 40px;
}
.flow_area p {
	font-size: 14px;
	line-height: 1.4;
	text-align: center;
	margin: 30px 0;
}
.flow {
	width: 100%;
	display: flex;
	justify-content: space-between;
}
.flow li {
	color: #333;
	font-size: 14px;
	width: calc(100% / 3);
	background: #eee;
	line-height: 50px;
	text-align: center;
	position: relative;
}
.flow li:not(:first-child):not(:last-child) {
	padding: 0 0 0 10px;
}
.flow li::before,
.flow li::after {
	content: "";
	width: 0;
	height: 0;
	display: block;
	position: absolute;
}
.flow li::before {
	border: solid 32px transparent;
	border-right: solid 13px transparent;
	border-left: solid 13px #FFF;
	top: -7px;
	left: 0;
	z-index: 1;
}
.flow li::after {
	border: solid 25px transparent;
	border-left: solid 10px #EDEDED;
	border-right: solid 10px transparent;
	top: 0;
	right: -20px;
	z-index: 2;
}
.flow li:first-child::before,
.flow li:last-child::after {
	content: none;
}
.flow li.current {
	color: #FFF;
	background: #298e5b;
}
.flow li.current::after {
	border-left: solid 10px #298e5b;
}

/* ============================================================
   フォームエリア
============================================================ */
.form_area {
	width: 94%;
	max-width: 1000px;
	margin: 0 auto;
}

form dl {
	width: 100%;
	display: flex;
}
form dt {
	width: 25%;
	background: #ebebeb;
}
form dd {
	width: 75%;
}
form dt,
dd {
	padding: 10px 20px;
	vertical-align: top;
}
form dl:not(:last-of-type) dt {
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
}
form dl:not(:last-of-type) dd {
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
form dl:last-of-type dt {
	border: 1px solid #ccc;
}
form dl:last-of-type dd {
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
form dt p,
dt span,
dd p,
dd span {
	margin: 0;
	padding: 0;
	line-height: 1.8;
}
form dt span.required {
	color: #fff;
	background: darkred;
	float: right;
	font-size: 12px;
	padding: 0px 8px;
}
form dd input[type="text"],
form dd input[type="email"],
form dd input[type="tel"] {
	width: 15em;
	margin: 0;
	padding: 5px;
}
form dd input[type="text"].width-S {
	width: 5em;
}
form dd input[type="text"].width-M {
	width: 20em;
}
form dd input[type="text"].width-L,
form dd input[type="email"].width-L,
form dd input[type="tel"].width-L,
dd textarea.width-L {
	width: 30em;
}
form dd input[type="text"].text-R {
	text-align: right;
	margin: 0 5px 0 0;
}
form dd input[type="text"].disabled {
	pointer-events: none;
	background-color: #eee;
}
form dd input[type="checkbox"],
form dd input[type="radio"],
form dd label {
	cursor: pointer;
}
form p.button {
	justify-content: space-between;
	align-items: center;
	margin: 40px auto 60px;
	width: 100%;
	max-width: 660px;
}
form p.button.single {
	justify-content: space-between;
	margin: 40px auto 60px;
	width: 100%;
	max-width: 300px;
}
form p.single button {
	cursor: pointer;
	display: block;
	width: 100%;
	max-width: 300px;
	height: 50px;
	position: relative;
	border: none;
	background: transparent;
}
form p button {
	cursor: pointer;
	display: block;
	width: 48%;
	max-width: 300px;
	height: 50px;
	position: relative;
	border: none;
	background: transparent;
}
form p button.disabled {
	cursor: auto;
	opacity: 1;
}
form p button span {
	display: block;
	top: 0;
	width: 100%;
	max-width: 300px;
	height: 50px;
	line-height: 50px;
	background: #002750;
	position: absolute;
	color: #fff;
}
form p button.mod_btn span {
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 300px;
	line-height: 50px;
	background: #969696;
	position: absolute;
	color: #fff;
}
form .errorMsg,
form .error {
	color: #f07b32;
	line-height: 1.4;
	display: none;
}
form p.button.flex button {
}
.mod_btn {
	background: #969696;
}

/* CF7のsubmitボタンスタイル */
.wpcf7-submit {
	cursor: pointer;
	display: block;
	width: 100%;
	max-width: 300px;
	height: 50px;
	line-height: 50px;
	background: #002750;
	color: #fff;
	border: none;
	margin: 40px auto 60px;
	font-size: 15px;
}
.wpcf7-submit:hover {
	opacity: 0.8;
	transition: 0.3s;
}

/* CF7のバリデーションエラー表示 */
.wpcf7-not-valid-tip {
	color: #f07b32;
	font-size: 13px;
}
.wpcf7-response-output {
	border: 2px solid #f07b32 !important;
	color: #f07b32;
	padding: 10px;
	margin: 10px 0;
}

/* ============================================================
   個人情報エリア
============================================================ */
.privacy_box h4 {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.4;
	padding-bottom: 10px;
}
.privacy_area {
	margin: 30px auto;
	width: 90%;
	max-width: 900px;
}
.privacy_area h4 {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.4;
	padding-bottom: 10px;
}
.privacy_box {
	width: 100%;
	font-feature-settings: "palt";
	letter-spacing: 0.08em;
	max-width: 900px;
	margin: 0 auto 30px;
	padding: 20px;
	border: 1px solid #ddd;
	overflow-y: scroll;
	height: 200px;
	line-height: 1.6;
}
.privacy_box p {
	font-size: 14px;
	line-height: 1.4;
	padding-bottom: 10px;
}
.privacy_box p a {
	color: #59a0cb;
}

/* ============================================================
   確認画面
============================================================ */
.confirm_area {
	width: 94%;
	max-width: 1000px;
	margin: 0 auto;
}
.confirm_area dl {
	width: 100%;
	display: flex;
}
.confirm_area dt {
	width: 25%;
	background: #ebebeb;
	padding: 10px 20px;
}
.confirm_area dd {
	width: 75%;
	padding: 10px 20px;
}
.confirm_area dl:not(:last-of-type) dt {
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
}
.confirm_area dl:not(:last-of-type) dd {
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
.confirm_area dl:last-of-type dt {
	border: 1px solid #ccc;
}
.confirm_area dl:last-of-type dd {
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

/* ============================================================
   完了画面
============================================================ */
.text_area {
	width: 94%;
	max-width: 1000px;
	margin: 60px auto 0;
	text-align: center;
}
.text_area h3 {
	font-size: 24px;
	margin-bottom: 1em;
	line-height: 1.4;
}
.text_area p {
	font-size: 18px;
	margin-bottom: 1em;
	line-height: 1.8;
}
.text_area p.sub_txt {
	font-size: 14px;
	margin-bottom: 1em;
	line-height: 1.8;
}

.contact_area {
	width: 94%;
	max-width: 600px;
	margin: 40px auto 80px;
	padding: 20px 0;
	background: #044a70;
	text-align: center;
}

.contact_tel {
	width: 100%;
	min-height: 1%;
	margin: 0 auto;
	transition: 0.3s;
}
.contact_tel a {
	color: #fff;
}
.contact_tel span.number {
	display: block;
	font-size: 50px;
	margin: 8px auto;
}
.contact_tel:hover {
	opacity: 0.7;
	transition: 0.3s;
}

/* ============================================================
   sp対応
============================================================ */
@media only screen and (max-width: 767px) {

	/* タブ */
	.list_tab ul {
		flex-direction: column;
	}
	.list_tab ul li {
		width: 100%;
	}
	.list_tab ul li:not(:last-child) {
		margin-bottom: 30px;
	}
	.list_tab ul li a {
		min-height: unset;
	}

	/* フロー */
	.flow li {
		font-size: 10px;
	}

	/* フォーム */
	form dl {
		flex-direction: column;
	}
	form dt {
		width: 100%;
	}
	form dd {
		width: 100%;
	}
	form dl:not(:last-of-type) {
		margin-bottom: 30px;
	}
	form dl:not(:last-of-type) dt {
		border-top: 1px solid #ccc;
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
	}
	form dl:not(:last-of-type) dd {
		border-top: 1px solid #ccc;
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
	}
	form dl:last-of-type dt {
		border: unset;
		border-top: 1px solid #ccc;
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
	}
	form dl:last-of-type dd {
		border-top: 1px solid #ccc;
		border-right: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		border-left: 1px solid #ccc;
	}
	form dd input[type="text"],
	form dd input[type="email"],
	form dd input[type="tel"],
	form dd textarea {
		font-size: 120%;
	}
	form dd input[type="text"].width-S {
		width: 30%;
	}
	form dd input[type="text"].width-M {
		width: 50%;
	}
	form dd input[type="text"].width-L,
	form dd input[type="email"].width-L,
	form dd input[type="tel"].width-L,
	dd textarea.width-L {
		width: 100%;
	}
	form dd textarea {
		height: 10em;
	}

	/* 完了画面 */
	.contact_area {
		font-size: 14px;
		line-height: 1.6;
		margin-bottom: 30px;
		padding: 20px 10px;
	}

	/* 確認画面 */
	.confirm_area dl {
		flex-direction: column;
	}
	.confirm_area dt {
		width: 100%;
	}
	.confirm_area dd {
		width: 100%;
	}
	.confirm_area dl:not(:last-of-type) {
		margin-bottom: 30px;
	}
	.confirm_area dl:not(:last-of-type) dt {
		border-top: 1px solid #ccc;
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
	}
	.confirm_area dl:not(:last-of-type) dd {
		border-top: 1px solid #ccc;
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
	}
}

.wpcf7-response-output:empty {
	display: none;
}