@charset "UTF-8";

/* contact ----------------------------------- */
.contact {
	display: grid;
	grid-template-areas: 'TEXT TEXT' 'TEL FORM';
	grid-template-rows: auto 1fr;
	grid-template-columns: 30% 70%;
	max-width: 1500px;
	margin: 0 auto;
	padding-top: 100px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	row-gap: 80px;
}

@media screen and (max-width: 1200px) {
	.contact {
		display: block;
		padding-top: 40px;
	}
}

.contact__text {
	grid-area: TEXT;
	font-size: 1.6rem;
	line-height: 2;
}

@media screen and (max-width: 768px) {
	.contact__text {
		font-size: 1.4rem;
	}
}

.contact-tel {
	grid-area: TEL;
}

@media screen and (max-width: 1200px) {
	.contact-tel::before,
	.contact-tel::after {
		display: block;
		width: 100%;
		height: 1px;
		margin: 40px 0;
		background-color: rgba(0, 0, 0, 0.1);
		content: '';
	}
}

.contact-tel-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.contact-tel-list dt,
.contact-tel-list dd {
	margin-bottom: 5px;
	line-height: 1.6;
}

.contact-tel-list dt {
	flex-basis: 80px;
	font-size: 1.3rem;
}

.contact-tel-list dd {
	flex-basis: calc(100% - 120px);
	color: rgb(0, 0, 0);
	font-size: 1.6rem;
	line-height: 1.6;
}

.contact-tel p {
	margin-top: 20px;
	color: rgba(0, 0, 0, 0.5);
	font-size: 1.2rem;
	line-height: 2;
}

@media screen and (max-width: 768px) {
	.contact-tel p {
		font-size: 1.1rem;
	}
}

.contact-tel-time {
	display: grid;
	flex-wrap: wrap;
	grid-template-columns: auto 1fr;
	color: rgba(0, 0, 0, 0.5);
	font-size: 1.2rem;
	line-height: 2;
	-moz-column-gap: 20px;
	column-gap: 20px;
}

@media screen and (max-width: 768px) {
	.contact-tel-time {
		font-size: 1.1rem;
	}
}

.contact-tel-time + p {
	margin-top: 0;
	color: rgba(0, 0, 0, 0.5);
	font-size: 1.2rem;
	line-height: 2;
}

@media screen and (max-width: 768px) {
	.contact-tel-time + p {
		font-size: 1.1rem;
	}
}

.contact-form {
	grid-area: FORM;
}

.contact-form-list dt {
	margin-bottom: 10px;
	color: rgb(0, 0, 0);
	font-size: 1.2rem;
	line-height: 1.6;
}

.contact-form-list dt label {
	display: block;
	cursor: pointer;
}

.contact-form-list dt label.required::after {
	display: inline-block;
	margin-left: 10px;
	color: rgb(255, 0, 0);
	font-size: 1rem;
	content: '※';
}

.contact-form-list dd {
	margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
	.contact-form-list dd {
		margin-bottom: 20px;
	}
}

.contact-form-list .wpcf7-not-valid-tip {
	margin-top: 10px;
	font-size: 1.2rem;
}

.contact-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

@media screen and (max-width: 768px) {
	.contact-foot {
		flex-direction: column;
		align-items: center;
	}
}

.contact-btn {
	display: flex;
	justify-content: space-between;
}

@media screen and (max-width: 768px) {
	.contact-btn {
		justify-content: center;
		margin-top: 40px;
	}
}

.form-textbox,
.form-textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0 20px;
	font-size: 1.6rem;
	line-height: 1.8;
	background-color: rgba(0, 0, 0, 0.05);
	border: 1px solid rgba(0, 0, 0, 0);
	border-radius: 5px;
	transition: all 250ms ease;
}

@media screen and (max-width: 768px) {
	.form-textbox,
	.form-textarea {
		padding: 0 10px;
	}
}

@media (hover: hover) {
	.form-textbox:hover,
	.form-textarea:hover {
		background-color: rgba(0, 0, 0, 0.1);
	}
}

.form-textbox:focus,
.form-textarea:focus {
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.form-textbox {
	height: 60px;
}

@media screen and (max-width: 768px) {
	.form-textbox {
		height: 50px;
	}
}

.form-textarea {
	padding: 20px;
}

@media screen and (max-width: 768px) {
	.form-textarea {
		padding: 10px;
	}
}

.form-radio .wpcf7-list-item {
	position: relative;
	display: inline-block;
	margin: 5px 0;
	margin-right: 20px;
}

@media screen and (max-width: 576px) {
	.form-radio .wpcf7-list-item {
		display: block;
		margin-right: 0;
	}
}

.form-radio .wpcf7-list-item input {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	opacity: 0;
}

.form-radio .wpcf7-list-item input:checked + .wpcf7-list-item-label::after {
	opacity: 1;
}

.form-radio .wpcf7-list-item .wpcf7-list-item-label {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	padding-left: 25px;
	font-size: 1.5rem;
	line-height: 1.6;
}

.form-radio .wpcf7-list-item .wpcf7-list-item-label::before,
.form-radio .wpcf7-list-item .wpcf7-list-item-label::after {
	position: absolute;
	display: block;
	border-radius: 50%;
	transition: all 250ms ease;
	content: '';
}

.form-radio .wpcf7-list-item .wpcf7-list-item-label::before {
	top: calc(50% - 8px);
	left: 0;
	z-index: 0;
	width: 16px;
	height: 16px;
	background-color: rgba(0, 0, 0, 0.05);
}

.form-radio .wpcf7-list-item .wpcf7-list-item-label::after {
	top: calc(50% - 4px);
	left: 4px;
	z-index: 1;
	width: 8px;
	height: 8px;
	background-color: rgb(0, 0, 0);
	opacity: 0;
}

@media (hover: hover) {
	.form-radio .wpcf7-list-item .wpcf7-list-item-label:hover::before {
		background-color: rgba(0, 0, 0, 0.1);
	}
}

.form-submit.wpcf7-submit,
.form-cancel.wpcf7-submit {
	display: block;
	width: 250px;
	height: 60px;
	font-size: 1.6rem;
	border: 0;
	border-radius: 30px;
	cursor: pointer;
	transition: all 250ms ease;
}

@media screen and (max-width: 768px) {
	.form-submit.wpcf7-submit,
	.form-cancel.wpcf7-submit {
		width: 200px;
		height: 50px;
		font-size: 1.5rem;
	}
}

.form-submit.wpcf7-submit {
	color: rgb(255, 255, 255);
	background-color: rgb(0, 0, 0);
}

@media (hover: hover) {
	.form-submit.wpcf7-submit:hover {
		box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
	}
}

.form-submit.wpcf7-submit:disabled {
	background-color: rgba(0, 0, 0, 0.1);
}

.form-cancel {
	color: rgb(0, 0, 0);
	background-color: rgba(0, 0, 0, 0.2);
}

@media (hover: hover) {
	.form-cancel:hover {
		box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
	}
}

.consent__text {
	margin: 60px 0 20px;
	font-size: 1.4rem;
	line-height: 1.6;
}

@media screen and (max-width: 768px) {
	.consent__text {
		margin: 40px 0;
		text-align: center;
	}
}

.consent__text span {
	display: inline-block;
}

.consent-check {
	position: relative;
}

.consent-check .wpcf7-list-item {
	margin: 0;
}

.consent-check input {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	opacity: 0;
}

.consent-check input:checked + .wpcf7-list-item-label::after {
	opacity: 1;
}

.consent-check .wpcf7-list-item-label {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	padding-left: 25px;
	font-size: 1.5rem;
	line-height: 1.6;
}

.consent-check .wpcf7-list-item-label::before,
.consent-check .wpcf7-list-item-label::after {
	position: absolute;
	display: block;
	transition: all 250ms ease;
	content: '';
}

.consent-check .wpcf7-list-item-label::before {
	top: calc(50% - 8px);
	left: 0;
	z-index: 0;
	width: 16px;
	height: 16px;
	background-color: rgba(0, 0, 0, 0.05);
	border-radius: 3px;
}

.consent-check .wpcf7-list-item-label::after {
	top: calc(50% - 3px);
	left: 4px;
	z-index: 1;
	box-sizing: border-box;
	width: 8px;
	height: 4px;
	border-bottom: 1px solid rgb(0, 0, 0);
	border-left: 1px solid rgb(0, 0, 0);
	transform: rotate3d(0, 0, -1, 45deg);
	transform-origin: center;
	opacity: 0;
}

@media (hover: hover) {
	.consent-check .wpcf7-list-item-label:hover::before {
		background-color: rgba(0, 0, 0, 0.1);
	}
}
