@charset "utf-8";

.form{
	width: 60%;
	margin-top: 100px;
}
.form > div:not(:last-child){margin-bottom: 50px;}
.form dt{
	font-size: 20px;
	font-weight: bold;
	margin: 0 0 25px 15px;
}
.form dt span{
	color: #fff;
	background: #af1b14;
	font-size: 14px;
	border-radius: 20px;
	padding: .2em 1em;
	margin-left: .5em;
}
.form dd:not(.checkbox) input, .form div:not(.post-code) input,.form div:not(.open_box) input{width: 100%;}
.form dd:not(.checkbox) input,.form .open_box input{
	background: #f9f5f4;
	padding: 25px 22px;
	border-radius: 15px;
}
.post-code{
	width: 230px;
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}
.post-code p{margin-right: 10px;}
.checkbox ul{
	display: flex;
	flex-wrap: wrap;
}
.checkbox li{margin-right: 40px;}
.checkbox label{
	margin: 0!important;
	font-size: 18px;
	font-weight: bold;
	padding-left: 2em;
}
input[type="radio"] ~ label:before, input[type="checkbox"] ~ label:before{
	width: 25px;
	height: 25px;
	border: 2px solid #af1b14;
	border-radius: 5px;
}
.open_box{margin-top: 25px;}
.open_box > div{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.open_box p{
	font-size: 18px;
	font-weight: bold;
}
.open_box input{width: calc(100% - 130px)!important;}
.form input,.form select,input[type="radio"] ~ label,.form textarea{
	font-family: 'ZenKakuGothicNew-Regular', sans-serif;
	font-size: 18px;
}
.policy_box{
	padding: 55px 25px 55px 45px;
	border-radius: 20px;
}
.policy_box > div{
	overflow-y: scroll;
	height: 400px;
	padding-right: 35px;
}
.policy_box > div::-webkit-scrollbar{width:10px;}
.policy_box > div::-webkit-scrollbar-track{
	background: rgba(237,227,223,.8);
	border-radius: 20px;
}
.policy_box > div::-webkit-scrollbar-thumb{
	background: #af1b14;
	border-radius: 20px;
}
.policy_box dl > div:not(:last-child){margin-bottom: 50px;}
.policy_box p{line-height: 1.7;}
.policy_box h3{
	font-size: 24px;
	text-align: center;
	margin-bottom: 40px;
}
.policy_box dt{
	margin-bottom: 25px;
	font-size: 20px;
}
.policy_box dt span{
	font-family: 'Montserrat-Regular', sans-serif;
	font-size: 24px;
	color: #af1b14;
	margin-right: .5em;
}
.form-btn{padding: 0;}
.form-btn button{
	width: 100%;
	padding: 1.6em 0;
	border: none!important;
	background: transparent!important;
	font-family: 'ZenKakuGothicNew-Regular', sans-serif;
	font-size: 1em;
	cursor: pointer;
	color: #230606!important;
}

/* 初期設定 */
.form input,.form select,.form textarea{
	border: none;
	outline: none;
}
.form input,.form select,.form textarea,.form-btn button{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
input[type="radio"],input[type="checkbox"]  {display: none;}
input[type="radio"] ~ label,input[type="checkbox"] ~ label {
	display: block;
	position: relative;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	letter-spacing: 1px;
}
input[type="radio"] ~ label:last-child,input[type="checkbox"] ~ label:last-child {margin-bottom: 0; }
input[type="radio"] ~ label:before,input[type="checkbox"] ~ label:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transition: all .12s, border-color .08s;
	transition: all .12s, border-color .08s;
}
input[type="radio"]:checked ~ label:before,input[type="checkbox"]:checked ~ label:before{
	width: 10px;
	top: -5px;
	left: 5px;
	border-radius: 0;
	opacity: 1;
	border-top-color: transparent;
	border-left-color: transparent;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
/* 1025px以下から
------------------------------------------------------------*/
@media only screen and (max-width:1025px){
	
	.form{margin-top: 60px;}
	.form > div:not(:last-child){margin-bottom: 35px;}
	.form dt{
		font-size: 16px;
		margin: 0 0 15px 10px;
	}
	.form dt span{font-size: 12px;}
	.form dd:not(.checkbox) input,.form .open_box input{
		padding: 20px 15px;
		border-radius: 10px;
	}
	.post-code{width: 190px;}
	.checkbox li{margin-right: 25px;}
	.checkbox label{font-size: 14px;}
	input[type="radio"] ~ label:before, input[type="checkbox"] ~ label:before{
		width: 18px;
		height: 18px;
		border: 1.5px solid #af1b14;
	}
	.open_box{margin-top: 15px;}
	.open_box p{font-size: 14px;}
	.open_box input{width: calc(100% - 90px)!important;}
	.form input,.form select,input[type="radio"] ~ label,.form textarea{font-size: 14px;}
	.policy_box{
		padding: 40px 15px 40px 30px;
		border-radius: 15px;
	}
	.policy_box > div{
		height: 300px;
		padding-right: 25px;
	}
	.policy_box dl > div:not(:last-child){margin-bottom: 35px;}
	.policy_box h3{
		font-size: 18px;
		margin-bottom: 25px;
	}
	.policy_box dt{
		margin-bottom: 15px;
		font-size: 16px;
	}
	.policy_box dt span{font-size: 18px;}
}

/* 750px以下から
------------------------------------------------------------*/
@media only screen and (max-width:750px){
	
	.form_wrap > div{margin-bottom: 40px;}
	.form{
		margin: 0;
		width: 100%;
	}
	.form dt{margin-left: 0;}
	.checkbox li{width: 100%;}
	.checkbox li:not(:last-child){margin: 0 0 10px;}
	.checkbox li:last-child{margin: 0;}
	.open_box p{margin-bottom: 10px;}
	.open_box input{width: 100%!important;}
	.policy_box{padding: 35px 15px 35px 20px;}
	.policy_box > div{padding-right: 15px;}
}