/*----------------------------------------
	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);
}
.contact th{
	padding: 0.5em 1em;
	background-color: #f1f1f1;
	border-radius: 5px;
	display: flex;
}
.contact td{
	padding: 20px 3.5%;
}
.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;
}

.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: 6px 6px;
	line-height: 1;
	margin-left: 10px;
	border-radius: 5px;
	vertical-align: 5px;
	font-size: 1.6rem;
	font-weight: bold;
}
.hissu:after{
	content: "必須";
	display: inline-block;
	background: #ca3e47;
	color: #fff;
}
.nini:after{
	content: "任意";
	display: inline-block;
	background: transparent;
	border: 1px solid currentColor;
	color: #969696;
}


/*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{
	display: inline-block;
	position: relative;
	cursor: pointer;
	margin-left: 10px;
	padding-left: 22px;
	line-height: 2;
	margin-right: 20px;
	margin-bottom: 10px;
}
.check.kind label{
	width: 100%;
	box-sizing: border-box;
}
.contact .naiyo.radio{
	padding: 20px 20px 10px 0;
}
.contact .naiyo.radio.error{
	padding: 20px 20px 10px 20px;
}
.contact td.error{
	padding: 20px 20px 20px 20px;
}
.naiyo.radio label{
	/* width: calc(100% - 50px);
	background-color: #fff; */
	margin-left: 0;
	padding: 10px 0px 10px 50px;
}

.radio label:before,
.check label:before{
	position: absolute;
	content: "";
	top: 50%;
	left: -10px;
	width: 20px;
	height: 20px;
	margin-top: -11px;
	background: #fff;
	border:1px solid #aaa;
	border-radius: 50%;
}
.naiyo.radio label:before{
	left: 15px;
}
.check label:before{ border-radius: 0; }
.radio label,
.check label{
	margin-left: 0\9;
	padding: 11px\9;
}
.radio label:not(:target),
.check label:not(:target){
	margin-left: 10px\9;
	padding: 11px 0 11px 25px\9;
}
.radio label:before,
.check label:before{
	display: none\9;
}
.radio label:not(:target):before,
.check label:not(:target):before{
	display: inline-block\9;
}
.radio input[type="radio"]:checked + label:after{
	position: absolute;
	content: "";
	top: 50%;
	left: -6px;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	border-radius: 50%;
	background: #1a5fa7;
}
.naiyo.radio input[type="radio"]:checked + label:after{
	left: 19px;
	
}
.check input[type="checkbox"]:checked + label:after {
	content: "";
	position: absolute;
	top: 50%;
	box-sizing: border-box;
	display: block;
	left: -7px;
	width: 18px;
	height: 12px;
	margin-top: -8px;
	border-left: 4px solid #1a5fa7;
	border-bottom: 4px solid #1a5fa7;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.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;
}

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

	.radio label,
	.check label{
		display: block;
		margin-bottom: 0;
	}
	.privacy.check label{
		margin-right: 0;
		line-height: 1.8;
		margin-left: 20px;
	}

}/*END*/
@media screen and (max-width: 599px){
	.naiyo.radio label{
		width: calc(98% - 10px);
		padding: 10px 0 10px 30px;
	}
	.naiyo.radio label:before{
		left: 5px;
	}

	.naiyo.radio input[type="radio"]:checked + label:after{
		left: 9px;

	}

}
