@charset "UTF-8";

/*contact
----------------------------------------*/
.contact {
	padding: 8.5rem 0 15rem;
}
.contact h1 {
	text-align: center;
	font-size: 3.4rem;
	font-weight: 500;
	color: #6A9383;
	margin-bottom: 3.5rem;
}
.contact_inner {
	max-width: 87.4rem;
	margin: 0 auto;
}
.contact_flow {
	max-width: 65rem;
	margin: 0 auto 4.4rem;
	display: flex;
	justify-content: space-between;
}
.contact_flow li {
	width: 18rem;
	min-height: 4.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #E8EAEA;
	text-align: center;
	font-size: 1.4rem;
	color: #6A9383;
	font-weight: 500;
	line-height: 1.3;
	padding: .8rem 1rem;
}
.contact_flow li:not(:first-child)::before {
	content: '';
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	background: #6A9383;
	border-radius: 50%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: -3.5rem;
	margin: auto 0;
}
.contact_flow li:not(:first-child)::after {
	content: '';
	display: block;
	width: .3rem;
	height: .3rem;
	border-top: .1rem solid #fff;
	border-right: .1rem solid #fff;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	bottom: 0;
	left: -3rem;
	margin: auto 0;
}
.contact:has(.mw_wp_form_input) .contact_flow li:nth-child(1),
.contact:has(.mw_wp_form_confirm) .contact_flow li:nth-child(2),
.contact:has(.mw_wp_form_complete) .contact_flow li:nth-child(3),
.contact_flow li.current {
	background: #6A9383;
	color: #fff;
}
.contact:has(.mw_wp_form_confirm) .conf_hide {
	display: none;
}
.contact_txt {
	font-size: 1.4rem;
	letter-spacing: .05em;
	font-weight: 500;
}
.contact_required::before {
	content: '＊';
	display: inline-block;
	color: #D40000;
	margin-right: 1rem;
}
.contact dl {
	display: flex;
	flex-wrap: wrap;
	gap: 3.4rem 0;
	margin-top: 4.4rem;
}
.contact dl dt {
	width: 22.4rem;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: .05em;
	padding: 1rem 0 1rem 2.5rem;
	line-height: 1.4286;
}
.contact:has(.mw_wp_form_confirm) dd {
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 1.4286;
	padding: 1rem 0;
}
.contact dl dt.contact_required::before {
	position: absolute;
	top: 1rem;
	left: 0;
}
.contact dl dt:nth-last-of-type(1) {
	padding-top: 0;
}
.contact dl dt:nth-last-of-type(1)::before {
	top: 0;
	padding-top: 0;
}
.contact dl dd {
	width: calc(100% - 22.4rem);
}
.contact dl dd.contact_name {
	width: 25rem;
}
.contact dl dd.contact_name + dt {
	width: 11.8rem;
	margin-left: 3.2rem;
}
.contact dl dd.contact_name + dt ~ dt {
	width: 22.4rem;
	margin-left: 0;
}
.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
	appearance: none;
	width: 100%;
	height: 4rem;
	border: .1rem solid #C9C7C7;
	padding: 1rem;
	font-family: inherit;
	letter-spacing: .05em;
	font-size: 1.3rem;
}
.contact textarea {
	height: 15.9rem;
	font-size: 1.4rem;
	resize: none;
}
.contact ::placeholder {
	color: #C9C7C7;
}
.contact_policy {
	height: 19rem;
	overflow: hidden;
	overflow-y: auto;
	background: #fff;
	border: .1rem solid #C9C7C7;
	margin-top: 3.5rem;
	padding: 2rem 3rem;
	font-size: 1.3rem;
	letter-spacing: .1em;
	line-height: 1.8462;
	margin-bottom: 4.9rem;
}
.contact_policy ul li {
	padding-left: 2.1rem;
}
.contact_policy ul li::before {
	content: '';
	display: block;
	width: .3rem;
	height: .3rem;
	border-radius: 50%;
	position: absolute;
	left: .9rem;
	top: 1.1rem;
	background: #333;
}
.contact_policy ol {
	counter-reset: ol-num;
}
.contact_policy ol li {
	padding-left: 2.1rem;
}
.contact_policy ol li::before {
	content: counter(ol-num, decimal) '. ';
	counter-increment: ol-num;
	position: absolute;
	top: 0;
	left: .8rem;
}
.contact_policy a {
	text-decoration: underline;
}
.contact_agree {
	text-align: center;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: .1em;
}
.contact_agree input[type="checkbox"] {
	appearance: none;
	width: 2.1rem;
	height: 2.1rem;
	border: .1rem solid #C9C7C7;
	border-radius: 0;
	background: #fff;
	vertical-align: -.6rem;
	margin-right: 1.9rem;
}
.contact_agree input[type="checkbox"]:checked::before {
	content: '';
	display: block;
	width: 1rem;
	height: .5rem;
	border-left: .2rem solid #6A9383;
	border-bottom: .2rem solid #6A9383;
	transform: rotate(-45deg);
	position: absolute;
	left: .4rem;
	top: .5rem;
}
.contact_btn {
	display: flex;
	justify-content: center;
	margin-top: 5rem;
	gap: 1rem;
}
.contact_btn .btn {
	appearance: none;
	border-radius: 0;
	letter-spacing: 0;
}
.contact_btn .btn.back::before {
	right: auto;
	left: 1rem;
}
.contact_btn .btn.back::after {
	transform: rotate(-135deg);
	right: auto;
	left: 1.6rem;
}
@media only screen and (max-width: 768px) {
	.contact {
		padding: 3.5rem 0 15rem;
	}
	.contact_inner {
		margin: 0 2.5rem;
	}
	.contact_flow li {
		width: 9.5rem;
		line-height: 1;
		padding-top: .2rem;
	}
	.contact_flow li:not(:first-child)::before {
		width: 1.3rem;
		height: 1.3rem;
		left: -2rem;
	}
	.contact_flow li:not(:first-child)::after {
		left: -1.6rem;
	}
	.contact dl {
		gap: .45rem 0;
		margin-top: .9rem;
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
	.contact dl dt {
		width: auto;
	}
	.contact dl dt:nth-last-of-type(1) {
		padding-top: 1rem;
	}
	.contact dl dt:nth-last-of-type(1)::before {
		top: 1rem;
	}
	.contact dl dd {
		width: auto;
	}
	.contact dl dd.contact_name {
		width: auto;
	}
	.contact dl dd.contact_name + dt {
		width: auto;
		margin-left: 0;
	}
	.contact dl dd.contact_name + dt ~ dt {
		width: auto;
	}
	.contact textarea {
		height: 18rem;
		line-height: 1.4286;
	}
	.contact_policy {
		margin-top: 4.4rem;
		padding: 1.8rem 1.9rem;
	}
	.contact_policy a {
		word-break: break-all;
	}
	.contact_btn .btn {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(1, 1fr);
	}
}
