/*----------------------------------------
	contact
----------------------------------------*/

.contact{
	width: 100%;
	line-height: 1.8;
	box-sizing: border-box;
	color: #41210f;
}
.contact label,.contact label span{
	color: #41210f;
}

.contact th,
.contact td{
	text-align: left;
	box-sizing: border-box;
	font-size: var(--text16);
	padding: 20px 3.5%;
}
@media screen and (max-width: 599px) {
	.contact th,
	.contact td{
		padding: 5px 3.5%;
	}
}
.contact th{
	display: flex;
}
.contact td p{
	line-height: 1.2;
}
/* .kind label{
	box-sizing: border-box;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left:45px !important;
}
.kind label:before{
	left: 2px !important;
}
.kind.check input[type="checkbox"]:checked + label:after {
	left: 8px !important;
} */
.check.kind{
	display: grid;
	grid-template-columns: repeat(2,1fr);
}
@media screen and (min-width: 600px) {
	.check.kind{
		gap: 0.5em;
	}
}
.address_box{
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 10px;
}
.contact .address_box td{
	padding: 20px 0;
}
@media screen and (max-width: 599px) {
	.address_box{
		grid-template-columns: 1fr;
	}
	.contact .address_box td{
		padding: 0px 0;
	}
	.contact .address_box td:nth-of-type(odd){
		margin-top: 30px;
	}
	.contact .address_box td:last-of-type{
		margin-bottom: 30px;
	}
	
}

.hissu:after,
.nini:after{
	display: inline-block;
	padding: 5px 5px;
	line-height: 1;
	margin-left: 10px;
	font-size: 1.6rem;
	height: fit-content;
	font-weight: normal;
	color: #fff;
}
.hissu:after{
	content: "必須";
	background: #ac1b03;
}
.nini:after{
	content: "任意";
	background: #b0b1b7;
}


/*error*/
td .error{
	color: #e60012;
	padding-top: 10px;
}
.privacy .error{
	display: inline-block;
	margin-top: 10px;
	color: #e60012;
	padding: 5px 14px;
	background: #ffcdd3;
}
td.error{
	background:#ffcdd3;
	padding: 8px;
		display: block;
		margin-bottom: 15px;
}


@media screen and (max-width: 769px){

	.privacy .hissu:after,
	th.hissu:after,
	th.nini:after{
		padding: 3px 6px;
		font-size: 1.2rem;
		vertical-align: 1px;
		margin-left: 6px;
	}
	.kind label{
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.privacy{
		font-size: 1.4rem !important;
	}

}/*END*/

/*----------------------------------------
	フォーム
----------------------------------------*/

select,
textarea,
input[type="tel"],
input[type="email"],
input[type="text"]{
	padding: 12px 10px;
	border: none;
	background: #fff;
	box-sizing: border-box;
	font-family:'游ゴシック体', 'Yu Gothic', YuGothic,'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ ゴシック',sans-serif;
	-webkit-appearance: none;
	border: 1px solid #959595;
}
select:focus{ outline:none; }
textarea:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="text"]:focus{
	outline:none;
	border: 1px solid #1a5fa7;
}
select{
	width: 300px;
}

.form1{ width: 120px; }
.form2{ width: 250px; }
.form300{ width: 300px; }
.form3{ width: 500px; }
.form_all{ width: 100%; }
:focus{ outline: none; }
.form_date{
	width: 300px;
	display: block;
}
@media screen and (max-width: 599px){

	select,
	textarea,
	input[type="tel"],
	input[type="email"],
	input[type="text"]{
		font-size: 1.6rem;
	}
	select:focus{ outline:none; }
	textarea:focus,
	input[type="tel"]:focus,
	input[type="email"]:focus,
	input[type="text"]:focus{
		border: 1px solid #867b5b;
	}
	.form1{ width: 150px; }
	.form2{ width: 100%; }
	/*.form_date,*/.form300,.form3{ width: 100%; }

}/*END*/

.privacy .form_link2{
	color: #000;
	border-bottom: #000 1px solid;
}
/*----------------------------------------
	radio checkbox
----------------------------------------*/

.radio input[type="radio"],
.check input[type="checkbox"]{
	position: absolute;
	height: 1px;
	width: 1px;
	clip: rect(0, 0, 0, 0);
}
.radio label,
.check label{
	position: relative;
	cursor: pointer;
	line-height: 2;
	display: flex;
	align-items: center;
	column-gap: 0.5em;
}
.privacy.check label{
	justify-content: center;
	width: fit-content;
	margin-inline: auto;
}
.check.kind label{
	width: 100%;
	box-sizing: border-box;
}
.contact td.error{
	padding: 20px 20px 20px 20px;
}

.radio label:before,
.check label:before{
	content: "";
	width: 20px;
	height: 20px;
	background: #fff;
	border:1px solid #aaa;
	border-radius: 50%;
}
.check label:before{ border-radius: 0; }
.radio input[type="radio"]:checked + label:after{
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	translate: calc((20px - 14px) / 2) -50%;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #1a5fa7;
}
.check input[type="checkbox"]:checked + label:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	translate: calc((20px - 15px) / 2) -70%;
	box-sizing: border-box;
	display: block;
	width: 16px;
	height: 10px;
	border-left: 4px solid #1a5fa7;
	border-bottom: 4px solid #1a5fa7;
}
.check input[type="checkbox"]:checked + label:before{
	background: #fff;
}
.radio input[type="radio"]:focus + label:before,
.check input[type="checkbox"]:focus + label:before{
	border-color: #1a5fa7;
	box-shadow: 0 0 5px #1a5fa7;
}

.form_layout{
	display: grid;
	grid-template-columns: 1fr 2fr;
}
@media screen and (max-width: 599px) {
	.form_layout{
		grid-template-columns: 1fr;
		margin-bottom: 1.5em;
	}
}

/*----------------------------------------
    datepicker
----------------------------------------*/

#ui-datepicker-div{
    max-width: 100%;
    width: 350px;
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button, html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active{
    padding: 15px;
}
.ui-datepicker .ui-datepicker-header{
    padding: 8px 0;
}

.addition_text,
label[for="kind8"],
label[for="kind9"] {
	grid-column: 1/3;
}

.form_none{
	display: none;
}