/*
Theme Name: cure_tcd082-child
Version: 1.6
Template: cure_tcd082
*/

/* =======================================================
* contact-confirm
* ======================================================= */
.contents h3 {
	padding-top: 18.1%;
}

input[type="submit"],
input[type="button"],
input[type="reset"] {
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}

input {
	font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", "Yu Gothic Medium", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体" !important;
}

form {
	max-width: 876px;
	padding-top: 7.5%;
	margin: 0 auto;
}

form p,
#form-privacy {
	display: flex;
	align-items: center;
	padding: 15px 0;
}

form p span:first-of-type {
	width: 190px;
}

.required::after {
	content: " ＊";
	color: #CE5901;
}

input, select, textarea {
	flex: 1;
	border: 1px solid #514F4F;
	padding: 15px 33px;
}

input.reset-button,
input.btn-submit,
input.btn-back {
	padding: 0;
}

form p:last-of-type {
	display: flex;
	justify-content: center;
}

#form-privacy {
	padding-bottom: 8%;
}

#form-privacy p {
	padding: 0;
}

#form-privacy + p {
	display: none;
}

form p:last-of-type input,
.cb_contents .link_button a {
	width: 220px;
	height: 48px;
	color: #FFF;
	cursor: pointer;
	flex: none;
	margin: 0 9.2%;
}

.btn-submit,
.cb_contents .link_button a {
	background: #958A82;
	border: 1px solid #958A82;
}

.btn-back {
	background: #707070;
	border: 1px solid #707070;
}

.reset-button {
	display: none;
}

/* =======================================================
* max-width: 1251px
* ======================================================= */
@media screen and (max-width: 1251px) {
	.contents h3 {
		padding-top: 24.6% !important;
	}

	form p {
		display: block;
		font-size: 15px;
		padding: 14px 0;
	}

	form p span:first-of-type {
		width: 100%;
		display: block;
		font-size: 12px;
		padding-bottom: 6px;
	}

	input, select, textarea {
		width: 100%;
		font-weight: normal !important;
		padding: 20px 25px;
	}

	#form-privacy p {
		font-size: 15px;
		text-align: left;
	}

	form p:last-of-type {
		display: block;
		font-size: 13px;
		text-align: center;
	}

	form p:last-of-type input {
		padding: 0;
	}

	form p:last-of-type .btn-submit  {
		margin-top: 7.2%;
	}

}

/* =======================================================
* max-width: 440px
* ======================================================= */
@media screen and (max-width: 440px) {
	form p:last-of-type input,
	.cb_contents .link_button a  {
		height: 40px;
	}
	
	.mw_wp_form.mw_wp_form_confirm input {
		font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", "Yu Gothic Medium", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体" !important;
		font-weight: normal !important;
	}

}