/* =Reset default browser CSS.
Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
	border: 0;
	/*font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;*/
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

:focus {
	outline: 0;
}

ol,
ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "";
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

a img {
	max-width: 100%;
	height: auto;
	border: 0;
}

/* a:hover img{animation:fadeIn 1s ease 0s 1 normal;} */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

address,
caption,
cite,
code,
dfn,
var,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 0;
	margin-top: 0;
}

body,
ul,
ol {
	margin: 0;
	padding: 0;
}

li {
	margin-bottom: 0;
}

p {
	margin: 0;
}

table {
	border: none;
	margin: 0;
}

th,
td {
	border: none;
}

ul {
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

h1,
h2,
h3,
h4,
h5 {
	font-size: initial;
	font-weight: normal;
	line-height: normal;
}

#contact_form {
	background-color: #ffffff;
	color: #333333;
}

#contact_form .l_wrapper {
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	position: relative;
	padding-bottom: 0px;
}

/* Header Section
*****************************************************/
header.page-header {
	background-color: #fff;
}


/* Banner Section
*****************************************************/
.banner {
	/* background: url(../images/ban-bg.png) no-repeat center top; */
	margin-bottom: 30px;
	text-align: center;
}

.ban_con {
	padding-top: 0px;
}

.page_ttl {
	font-size: 48px;
	font-weight: normal;
	position: relative;
	margin-bottom: 10px;
}

.ban_box {
	background: repeating-linear-gradient(-45deg,
			#009933,
			#009933 8px,
			#fff 8px,
			#fff 16px);
	padding: 16px;
	margin-bottom: 25px;
}

.ban_box_txt {
	background: #fff;
	padding: 28px 20px 30px;
	font-weight: 700;
	font-size: 21px;
}

.ban_lower_txt {
	font-size: 15px;
	font-weight: 500;
}

.submit_sec .btn_ty {
	background: url(./../images/btn_ty.png) no-repeat;
	background-size: contain;
	border: 0;
	width: 100%;
	max-width: 423px;
	height: 82px;
	display: block;
	cursor: pointer;
	margin-top: 0px;
}

/* Form Section
*****************************************************/

.contact_form {
	padding-bottom: 20px;
}

.sub {
	margin-left: 0px !important;
}


.contact_form textarea {
	line-height: 1.8;
	resize: none;
	height: 120px;
	overflow: auto;
	font-family: inherit;
	font-size: inherit;
}

.contact_form .checkbox {
	display: inline-block;
	width: auto;
	transform: scale(1.5) translate(3px, -3px);
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 7px solid transparent;
	border-radius: 0;
	background-color: transparent;
}

.contact_form input[type="checkbox"].checkbox:checked {
	content: '';
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: inline-block;
	clip-path: polygon(64% 29%, 83% 16%, 67% 40%, 53% 61%, 40% 88%, 27% 71%, 11% 53%, 37% 64%, 51% 44%);
	background: #ED1C24;
	border: 7px solid transparent;
}

/* The container */
.checkbox_sec {
	display: block;
	position: relative;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	text-align: center;
}

.mw_wp_form .checkbox_sec .error {
	display: inline-block;
}

.mw_wp_form .error {
	text-indent: -1000vw;
	font-size: 21px !important;
	color: #ED1C24 !important;
}

.mw_wp_form .error::after {
	display: inline-block;
	position: absolute;
	left: 40px;
	text-indent: 0;
	content: '必須項目になります';
}

.mw_wp_form .confirmemail .error::after {
	content: '入力内容に誤りがあります';
}

.mw_wp_form .checkbox_sec .error {
	margin-top: 20px;
}

.mw_wp_form .checkbox_sec .error::after {
	display: block;
	position: unset;
	margin-top: -20px;
}

.mw_wp_form_confirm .confirmemail {
	display: none !important;
}

.contact_form .checkbox_sec label {
	color: #333;
	font-weight: bold;
	font-size: 24px;
}

.mwform-checkbox-field-text::before {
	content: '';
	width: 21px;
	height: 21px;
	background: #fff;
	display: inline-block;
	margin-left: -21px;
	margin-right: 10px;
}


.contact_form input.submit {
	background: url(/../wp-content/themes/health-vein/images/reservation/btn-web-akabane.png) no-repeat center top / contain;
	width: 423px;
	max-width: 100%;
	height: 82px;
	/*margin: 0 auto;*/
	cursor: pointer;
	text-indent: -9999px;
	overflow: hidden;
	border: none;
	margin: 0 auto;
}

.contact_form input.submit[name=submitConfirm] {
	background-image: url(/../wp-content/themes/health-vein/images/reservation/btn-web-akabane.png);
}

.contact_form input.submit[name=submitBack] {
	background-image: url(/../wp-content/themes/health-vein/images/reservation/btn-web-akabane.png);
}

.contact_form .error,
#err {
	display: block;
	font-size: 21px;
	line-height: 1;
	font-weight: bold;
	color: #ED1C24;
	margin: 15px 0 26px;
	position: relative;
	padding-left: 36px;
}

.contact_form .error:before,
#err span:before {
	content: "";
	background: url(../images/warn.png) no-repeat center top / contain;
	width: 31px;
	height: 31px;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);

}

#err span:before {
	position: unset;
	transform: translate(-51%, 20%);
	display: inline-block;
}

#err span {
	display: inline-block;
	margin: 0 auto;
}

#err {
	display: none;
	text-align: center;
}

/* shows only if theres error */

.privacy_con {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 40px;
}

.privacy_ttl {
	margin-bottom: 12px;
	font-size: 18px;
	font-weight: bold;
}

.privacy_box {
	background: #fff;
	padding: 25px 40px;
	overflow-y: scroll;
	height: 200px;
	width: 100%;
	scrollbar-width: thin;
}

.privacy_box li {
	padding-left: 40px;
	position: relative;
	margin-bottom: 40px;
	list-style: none;
}

.privacy_box li:last-child {
	margin-bottom: 0;
}

.privacy_box li span {
	position: absolute;
	top: 0;
	left: 0;
}

#contact_form.page-confirm .l_wrapper,
#contact_form.page-contact_thankyou .l_wrapper {
	padding-bottom: 130px;
}

#contact_form.page-confirm .contact_form,
#contact_form.page-contact_thankyou .contact_form {
	margin-top: -130px;
}

.mw_wp_form_confirm .answer-group {
	padding: 50px;
	border: 1px solid #D2D2D2;
	box-sizing: border-box;
	background-color: #fff;
	margin-bottom: 40px;
}

.mw_wp_form_confirm .privacy_con,
.contact_form .mw_wp_form_confirm .required,
.mw_wp_form_confirm .checkbox_sec {
	display: none;
}

.contact_form .mw_wp_form_confirm label {
	border-bottom: 1px solid #999;
	margin-bottom: 20px;
	padding-bottom: 10px;
}

.mw_wp_form_confirm .answer-group>div {
	font-weight: bold;
}

.mw_wp_form_confirm .answer-group>div+div {
	margin-top: 45px;
}

.btn_ty {
	display: none;
}

.page-contact_thankyou .btn_ty {
	background: url(../images/btn_ty.png) no-repeat;
	background-size: contain;
	border: 0;
	width: 100%;
	max-width: 423px;
	height: 82px;
	display: block;
	cursor: pointer;
	margin-top: 120px;
}

@media only screen and (max-width: 744px) {
	#contact_form section {
		padding: 0 0px;
	}

	.banner {
		background-image: url(../images/ban-bg-sp.png);
		background-size: 100% auto;
		background-position: center top 0px;
		margin-bottom: 20px;
	}

	.ban_con {
		padding-top: 30px;
	}

	.page_ttl {
		font-size: 21px;
		padding-bottom: 5px;
		margin-bottom: 0px;
		font-weight: bold;
	}

	.page_ttl:before {
		max-width: 100%;
		border-width: 2px;
	}

	.ban_box {
		padding: 5px;
		background: repeating-linear-gradient(-45deg, #009933, #009933 5px, #fff 5px, #fff 10px);
		margin-bottom: 10px;
	}

	.ban_box_txt {
		font-size: clamp(13px, 4.1vw, 16px);
		padding: 20px 9px;
		text-align: left;
	}

	.ban_lower_txt {
		font-size: 12px;
		text-align: left;
	}

	.mw_wp_form_confirm .submit_sec {
		flex-direction: column-reverse;
		display: flex;
	}

	.mw_wp_form_confirm .answer-group {
		padding: 10px;
		margin-bottom: 30px;
	}

	.mw_wp_form_confirm .answer-group>div+div {
		margin-top: 30px;
	}

	.contact_form input.submit {
		margin: 0 auto;
	}


	.privacy_box {
		font-size: 15px;
		padding: 15px 10px;
	}

	.privacy_box li {
		padding-left: 24px;
		margin-bottom: 27px;
	}

	.page-contact_thankyou .btn_ty {
		margin-top: 0;
	}

	.contact_form .error,
	#err,
	.mw_wp_form .error,
	.mwform-checkbox-field-text {
		font-size: 18px !important;
	}

	.contact_form .error:before,
	#err span:before {
		width: 20px;
		height: 20px;
	}

	.mw_wp_form .error::after {
		left: 30px;
	}

	#contact_form .l_wrapper {
		width: 100%;
		max-width: 1000px;
		margin: 0 auto;
		position: relative;
		padding-bottom: 00px;
	}
}

@media only screen and (max-width: 376px) {
	.submit_sec {
		gap: 10px;
	}
}

.c-form__input.--row2 {
	align-items: center;
}

.radio_btn {
	margin-top: 15px;
}

.radio_btn input[type=radio].radio_btn_item {
	display: none;
}

.radio_btn label {
	display: inline-block;
}

.radio_btn .radio_btn_item+span {
	padding-left: 30px;
	display: inline-block;
	position: relative;
}

.radio_btn .radio_btn_item+span::after,
.radio_btn .radio_btn_item+span::before {
	border-radius: 50%;
	content: '';
	display: block;
	position: absolute;
}

.radio_btn .radio_btn_item+span::before {
	border: 1px solid #AAAAAA;
	left: 0;
	top: 0;
	height: 18px;
	width: 18px;
}

.radio_btn .radio_btn_item+span::after {
	background: #c78d8d;
	height: 12px;
	left: 4px;
	opacity: 0;
	top: 4px;
	width: 12px;
}

.radio_btn .radio_btn_item:checked+span::after {
	opacity: 1;
}

span.mwform-radio-field-text {
	font-weight: normal;
}

.radio_btn02 {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
}

.radio_btn02 input[type=radio].radio_btn02_item {
	display: none;
}

.radio_btn02 label {
	display: inline-block;
}

.radio_btn02 .radio_btn02_item+span {
	padding-left: 30px;
	display: inline-block;
	position: relative;
}

.radio_btn02 .radio_btn02_item+span::after,
.radio_btn02 .radio_btn02_item+span::before {
	border-radius: 50%;
	content: '';
	display: block;
	position: absolute;
}

.radio_btn02 .radio_btn02_item+span::before {
	border: 1px solid #AAAAAA;
	left: 0;
	top: 0;
	height: 18px;
	width: 18px;
}

.radio_btn02 .radio_btn02_item+span::after {
	background: #c78d8d;
	height: 12px;
	left: 4px;
	opacity: 0;
	top: 4px;
	width: 12px;
}

.radio_btn02 .radio_btn02_item:checked+span::after {
	opacity: 1;
}

span.mwform-radio-field-text {
	font-weight: normal;
}

.radio_btn02 label {
	margin-top: 10px !important;
}

.check_btn {
	margin-top: 0px;
	margin-left: 10px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

@media only screen and (max-width: 744px) {
	.check_btn {
		margin-top: 0px;
		margin-left: 10px;
		display: flex;
		flex-direction: column;
	}
}

span.mwform-checkbox-field.horizontal-item {
	margin-top: 15px;
}

.check_btn input[type=checkbox].check_btn_item {
	display: none;
}

.check_btn label {
	display: block;
}

.check_btn .check_btn_item+span {
	padding-left: 0px;
	display: flex;
	align-items: center;
	position: relative;
	margin-right: 20px;
	padding-top: 2px;
	font-weight: normal;
}

.check_btn .check_btn_item+span::after,
.check_btn .check_btn_item+span::before {
	content: '';
	position: relative;
}

.check_btn .check_btn_item+span::before {
	border: 1px solid #AAAAAA;
	border-radius: 4px;
	left: 0;
	height: 20px;
	width: 20px;
}

.check_btn .check_btn_item+span::after {
	border: none;
	border-right: 3px solid #c78d8d;
	border-bottom: 3px solid #c78d8d;
	height: 12px;
	left: -15px;
	opacity: 0;
	top: 3px;
	transform: rotate(45deg);
	width: 7px;
	position: absolute;
}

.check_btn .check_btn_item:checked+span::after {
	opacity: 1;
}

.mw_wp_form .horizontal-item+.horizontal-item {
	margin-left: 0px;
}


input#rsv-date {
	font-size: 18px;
	font-weight: normal;
	padding: 10px;
	width: 200px;
}

input#rsv-date02 {
	font-size: 18px;
	font-weight: normal;
	padding: 10px;
	width: 200px;
}

/* .datepicker__date span {
		width: 130px;
	} */

.answer-group {
	box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
	padding: 50px 110px;
	border-radius: 20px;
}




.readmore {
	position: relative;
	margin: 3em auto;
	display: block;
	color: #666;
	border: none;
	outline: 0;
	cursor: pointer;
	background: none;
	letter-spacing: 0.1em;
}

.readmore:before {
	content: "";
	width: 50px;
	height: 50px;
	text-align: center;
	border-radius: 50%;
	display: block;
	margin: 0 auto .5em;
	background: url(/../wp-content/themes/health-vein/images/reservation/arrow.png) no-repeat center / 20px #fff;
	transition: .3s;
}

.readmore.on-click:before {
	transform: rotate(180deg);
}

.readmore .open {
	display: block;
}

.readmore.on-click .open {
	display: none;
}

.readmore .close {
	display: none;
}

.readmore.on-click .close {
	display: block;
}

.contact__under {
	width: 1000px;
	margin: 0 auto;
}


.error__date {
	& .wpcf7-not-valid-tip {
		display: none;
	}

	& .error-message {
		color: red;
		display: none; //初期状態は非表示
	}

	&:has(.wpcf7-not-valid-tip) {
		& .error-message {
			display: block;
		}
	}
}