/*
Theme Name: cure_tcd082-child
Version: 1.6
Template: cure_tcd082
*/

/* =======================================================
* contact
* ======================================================= */
.contents h3 {
	padding-top: 18.1%;
}

h4 + p {
	padding: 5.2% 0 7.5%;
}

.main-text {
	text-align: center;
}

.main-text span {
	display: block;
	font-size: 28px;
	letter-spacing: 0.05em;
	padding-top: 4%;
}

.main-text span:last-of-type {
	font-size: 15px;
	padding-top: 11px;
}

.sub-text {
	max-width: 876px;
	margin: 0 auto;
}

.sub-text span {
	color: #CE5901;
}

form {
	max-width: 876px;
	margin: 0 auto;
}

form p {
	display: flex;
	align-items: center;
	padding: 15px 0;
}

form p span:first-of-type {
	width: 190px;
}

.required::after {
	content: " ＊";
	color: #CE5901;
}

input, select, textarea {
	width: 100%;
	flex: 1;
	font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", "Yu Gothic Medium", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体" !important;
	border: 1px solid #514F4F;
	padding: 15px 33px;
}

input.reset-button,
input.btn-submit,
input.btn-back {
	padding: 0;
}

input:focus,
textarea:focus {
	background: #F2F2F2;
}

input:-webkit-autofill {
    box-shadow: 0 0 0 1000px white inset;
}

select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	background: #FFF;
	border-radius: unset;
}

select:invalid {
	color: #000;
}

#form-privacy {
	font-size: 15px;
	letter-spacing: 0.01em;
	text-align: center;
	padding-top: 7.6%;
}

#form-privacy .required,
#form-privacy a {
	color: #CE5901;
}

#form-privacy + p {
	display: block;
	text-align: center;
	padding: 3.2% 0 5%;
}

.privacy-check {
	display: none;
}

.privacy-check + span {
	display: inline-block;
	cursor: pointer;
	font-size: 15px;
	position: relative;
	top: 2px;
	padding: 0 0 0 1.5em;
}

.privacy-check + span::before {
	background: #FFF;
	border: 1px solid #CE5901;
	content: "";
	display: block;
	width: 1em;
	height: 1em;
	position: absolute;
	left: 0;
}

.privacy-check + span::after {
	background: #CE5901;
	content: "";
	display: block;
	width: 1.1em;
	height: 1.1em;
	opacity: 0;
	position: absolute;
	top: 2%;
	left: 0;
	transition: all 0.3s ease 0s;
}

.privacy-check:checked + span::after {
	opacity: 1;
}

form p:last-of-type {
	display: flex;
	justify-content: center;
}

form p:last-of-type input,
.reset-button,
.cb_contents .link_button a {
	width: 220px;
	height: 48px;
	color: #FFF;
	cursor: pointer;
	font-weight: normal !important;
	margin: 0 9.2%;
}

.reset-button {
	background: #707070;
	border: 1px solid #707070;
	color: #FFF;
}

.cb_contents .link_button a {
	flex: none;
}

.btn-submit,
.cb_contents .link_button a {
	background: #958A82;
	border: 1px solid #958A82;
}

.btn-back {
	background: #707070;
	border: 1px solid #707070;
}

form .sp-switch {
	display: none;
}


/* =======================================================
* max-width: 1251px
* ======================================================= */
@media screen and (max-width: 1251px) {
	.contents h3 {
		padding-top: 24.6% !important;
	}

	.main-text {
		letter-spacing: 0.05em;
		padding: 15% 0;
	}

	.main-text span {
		font-size: 20px;
		line-height: 1.25;
		padding-top: 12%;
	}

	.main-text span:last-of-type {
		font-size: 12px;
	}

	form p {
		display: block;
		font-size: 12px;
		padding: 10px 0;
	}

	form p span:first-of-type {
		width: 100%;
		display: block;
		padding-bottom: 5px;
	}

	input, select, textarea {
		width: 100%;
		font-size: 15px;
		padding: 15.5px 25px;
	}

	#form-privacy {
		font-size: 12px;
		line-height: 2.08;
		padding-top: 3%;
		padding-bottom: 22px;
	}

	#form-privacy + p {
		padding-bottom: 22px;
	}

	form p:nth-last-of-type(2) span {
		width: fit-content;
		margin: 0 auto;
	}

	.privacy-check + span {
		font-size: 12px;
	}

	form p:last-of-type {
		display: block;
		font-size: 13px;
		text-align: center;
	}

	form p:last-of-type input,
	.cb_contents .link_button a {
		font-size: 13px;
	}

	form p:last-of-type .reset-button {
		margin: 7.2% auto 0;
	}

	form .pc-switch {
		display: none;
	}
	
	form .sp-switch {
		display: block;
	}
	
}

/* =======================================================
* max-width: 1251px
* ======================================================= */
@media screen and (max-width: 1251px) {
	form p:last-of-type input,
	.cb_contents .link_button a  {
		height: 40px;
	}
	
	.mwform-tel-field input {
		width: 30% !important;
	}

}