@charset "UTF-8";
.contact main .inner {
	max-width: 640px;
}
.contact .heading {
	margin-bottom: 80px;
}
.contact .heading03 h2 span {
	padding: 0 80px 35px;
	background-image: url(../img/greeting/bg-greeting_ttl.png);
	background-position: 70% center;
}
.contact .inner p {
	line-height: 1.8;
}
.contact .inner .must {
	color: #e60012;
}
.contact .inner form > p:nth-of-type(1) {
	margin-top: 40px;
	margin-bottom: 40px;
}
.contact .inner form > p:nth-of-type(2) {
	margin-top: 40px;
	margin-bottom: 40px;
}
.contact .inner form > p:nth-of-type(3) {
	margin: 40px auto 0;
}
.contact .inner form dl {
	width: 100%;
	display: flex;
	gap: 40px;
	padding: 0;
}
.contact .inner form dl:nth-of-type(n + 2) {
	margin-top: 40px;
}
.contact .inner form dl dt {
	display: block;
	text-align: left;
	width: 180px;
	color: #707f89;
	flex-shrink: 0;
}

.contact .inner form dl dt .wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
}
.contact .inner form dl dd {
	display: block;
	width: calc(100% - 180px);
	text-align: left;
}
.contact .inner form span.error {
	text-align: center;
}

.wpcf7 input[type="radio"] {
	display: none;
}
.wpcf7-list-item label {
	cursor: pointer;
}
dl .wpcf7-list-item-label::before {
	content: "";
	position: relative;
	display: inline-block;
	width: 30px;
	height: 30px;
	border: 1px solid #cdd6dd;
	border-radius: 50%;
	margin-right: 10px;
}
.wpcf7 input[type="radio"]:checked + .wpcf7-list-item-label::after {
	content: "";
	width: 18px;
	height: 18px;
	position: absolute;
	top: 6px;
	left: 6px;
	background: #477a9e;
	border-radius: 50%;
}
.contact .your-radio .wpcf7-list-item {
	display: block;
}
.contact .your-radio .wpcf7-list-item ~ .wpcf7-list-item {
	margin-top: 10px;
}
.contact .your-radio .wpcf7-list-item-label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 5px;
}
.contact .inner form input[type="text"],
.contact .inner form input[type="tel"],
.contact .inner form input[type="email"],
.contact .inner form input[type="password"],
.contact .inner form input[type="date"],
.contact .inner form input[type="number"] {
	border: 1px #dbdbdb solid;
	background: #fff;
	font-size: 16px;
	letter-spacing: 1px;
	width: 100%;
	height: 50px;
	padding: 10px;
}
.contact .inner form input[type="file"] {
	font-size: 16px;
}
.contact .inner form select {
	border: 1px #dbdbdb solid;
	background: #fff;
	color: #000;
	font-size: 16px;
	letter-spacing: 1px;
	width: 100%;
	height: 70px;
	padding: 10px;
	-webkit-appearance: none;
}
.contact .inner form textarea {
	border: 1px #dbdbdb solid;
	background: #fff;
	font-size: 16px;
	letter-spacing: 1px;
	width: 100%;
	padding: 10px;
}

.contact .inner form input[type="text"].input_number {
	text-align: right;
	width: 5.4em;
}

.contact .inner form input[type="text"].zip {
	width: 30%;
	margin-right: 10px;
}
.contact .inner form select.prefecture {
	width: 30%;
	margin-right: 10px;
}
@media screen and (max-width: 1024px) {
	.contact .heading {
		margin-bottom: 40px;
	}
	.contact .heading03 h2 span {
		padding: 0 120px 30px;
		background-position: center bottom;
	}
	.contact .c-button {
		margin-top: 40px;
	}
}
@media screen and (max-width: 767px) {
	.contact .heading03 h2 span {
		width: 100%;
		max-width: 300px;
		padding: 0 0 25px;
	}
	.contact .header {
		margin-bottom: 40px;
	}
	.contact .inner form > p:nth-of-type(1) {
		margin-bottom: 30px;
	}
	.contact .inner form > p:nth-of-type(2) {
		text-align: left;
		line-height: 1.8;
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.contact .inner form > p:nth-of-type(3) {
		margin: 20px auto 0;
	}
	.contact .inner form dl:nth-of-type(n + 2) {
		margin-top: 20px;
	}
	.contact .inner form dl {
		display: block;
		width: 100%;
	}
	.contact .inner form dl dt {
		width: 100%;
		margin: 0;
		padding: 0 0 5px;
	}
	.contact .inner form dl dd {
		width: 100%;
		padding: 0;
	}
	dl .wpcf7-list-item-label::before {
		width: 24px;
		height: 24px;
	}
	.wpcf7 input[type="radio"]:checked + .wpcf7-list-item-label::after {
		width: 15px;
		height: 15px;
		top: 5px;
		left: 4.5px;
	}
	.contact .inner form input[type="text"],
	.contact .inner form input[type="tel"],
	.contact .inner form input[type="email"],
	.contact .inner form input[type="password"],
	.contact .inner form input[type="date"],
	.contact .inner form input[type="number"] {
		font-size: 14px;
		height: 50px;
	}
	.contact .inner form input[type="file"] {
		font-size: 14px;
	}
	.contact .inner form select {
		font-size: 14px;
	}
	.contact .inner form textarea {
		font-size: 14px;
	}
	.contact .inner form input[type="text"].input_number {
		width: 3.8em;
	}
	.contact .inner form input[type="text"].zip {
		width: 40%;
	}
	.contact .inner form select.prefecture {
		width: 40%;
	}
}
.contact .inner form .select {
	width: 100%;
	position: relative;
}
.contact .inner form .select::after {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	border-width: 0 2px 2px 0;
	border-color: #727171;
	border-style: solid;
	position: absolute;
	right: 20px;
	top: 15px;
	transform-origin: center;
	transform: rotate(45deg);
}
.contact .inner form input[type="checkbox"] {
	display: none;
}
.contact .inner form .your-concent + .wpcf7-list-item-label {
	margin-left: 15px;
}
.contact .inner form .your-concent + .wpcf7-list-item-label::before,
.contact .inner form .your-concent + .wpcf7-list-item-label::after {
	display: block;
	content: "";
	position: absolute;
	cursor: pointer;
}
.contact .inner form .your-concent + .wpcf7-list-item-label::before {
	background: #fff;
	border: 2px solid #dbdbdb;
	border-radius: 2px;
	width: 20px;
	height: 20px;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.contact .inner form .your-concent + .wpcf7-list-item-label::after {
	border-width: 3px;
	border-color: transparent transparent #000 #000;
	border-style: solid;
	width: 20px;
	height: 10px;
	margin-top: -0.2em;
	top: 40%;
	left: 0;
	transform: translateY(-50%) rotate(-45deg);
	opacity: 0;
}
.contact .inner form input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
	opacity: 1;
}

@media screen and (max-width: 767px) {
}
.contact .inner form .horizontal-item {
	margin-right: 20px;
}
.contact .inner form .horizontal-item + .horizontal-item {
	margin-left: 0;
}
.contact .inner form .privacypolicy {
	box-sizing: border-box;
	background: #fff;
	width: 100%;
	height: 370px;
	padding: 20px 30px;
	overflow-y: auto;
	border: 1px #dbdbdb solid;
}
.contact .inner form .privacypolicy strong {
	display: block;
	font-weight: 700;
	margin-top: 80px;
}

.contact .inner form .privacypolicy p {
	margin-top: 10px;
	text-align: left;
	line-height: 1.8;
}
.wpcf7-spinner {
	position: absolute;
}
@media screen and (max-width: 767px) {
	.contact .inner form .privacypolicy {
		padding: 2vw 4vw;
	}
	.contact .inner form .privacypolicy strong {
		margin-top: 40px;
	}
}
