@charset "UTF-8";

/* header
--------------------------------*/
header{
	position: relative;
	border-bottom: 1px solid #EDEDED;
}
header .wrap{
	height: 40px;
}
header .logo{
	width: 108px;
}
header .ttl{
	color: #5EA0EB;
	font-size: 1.6rem;
	font-weight: bold;
	margin-left: 8px;
}
header .btn{
	margin-left: auto;
	margin-right: 5px;
}
header .btn a{
	font-size: .9rem;
	line-height: 1.2;
	padding: 3px 5px 2px;
	color: #fff;
	display: block;
	background: #5EA0EB;
	border-radius: 5px;
}

/* footer
--------------------------------*/
footer{
	margin-top: 0;
}

/* 共通
--------------------------------*/
main{
	padding-top: 0;
}
select,
input[type="text"],
input[type="email"],
.select_dmy,
textarea{
	border: 1px solid #CFCFCF;
}

/* contact
--------------------------------*/
#contact{
	background: #F5F5F5;
}
#contact .note{
	font-size: .9rem;
	line-height: 1.4;
	color: #E21A00;
	padding-left: 65px;
}
#contact .req{
	font-size: .9rem;
	line-height: 1.4;
	color: #E21A00;
}
#contact dl{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
}
#contact dl dt,
#contact dl dd{
	font-size: 1.2rem;
	line-height: 1.5;
	font-weight: bold;
	margin-top: 10px;
}
#contact dl dt{
	width: 80px;
	padding: 3px 5px 0 0;
	text-align: right;
	display: flex;
	align-items: baseline;
	justify-content: flex-end;
}
#contact dl dd{
	width: calc(100% - 80px);
}
#contact dl dd select,
#contact dl dd input[type="text"],
#contact dl dd input[type="email"]{
	font-size: 1.4rem;
}
#contact dl dd select.error,
#contact dl dd input[type="text"].error,
#contact dl dd input[type="email"].error,
#contact dl dd textarea.error{
	background: #FFE5E5;
}
#contact dl dd .selectbtn input+span{
	border: 0!important;
	color: #ACACAC;
}
#contact dl dd .selectbtn input.error+span{
	background: #FFE5E5;
}
#contact dl dd .flex{
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
}
#contact dl dd .flex .small{
	margin: 0 3px;
	display: inline-block;
	line-height: 1.2;
}
#contact dl dd select{
	padding: 0 10px;
}
#contact dl dd .width1{
	width: 65px;
}
#contact dl dd .width2{
	width: 50px;
}
#contact dl dd .width3{
	width: 110px;
}
#contact dl dd .selectbtn:nth-child(odd){
	margin-right: 10px;
}
#contact .errortxt{
	font-size: 1.2rem;
	line-height: 1.5;
	color: #E21A00;
	font-weight: bold;
	margin-top: 5px;
}
#contact .agree{
	text-align: center;
	font-size: 1.1rem;
	line-height: 1.2;
	margin-top: 25px;
}
#contact .submit{
	font-size: 1.1rem;
	font-weight: normal;
	height: auto;
	display: block;
	line-height: 1.5;
	width: 87%;
	padding: 12px 0;
	border-radius: 10px;
	margin: 15px auto 30px;
}
#contact .submit strong{
	font-size: 2.2rem;
	line-height: 1.2;
	font-weight: bold;
	display: block;
	margin-bottom: 5px;
}

/* thanks
--------------------------------*/
#thanks .ttltype7{
	padding-bottom: 10px;
	margin-top: 45px;
}
#thanks .txt{
	font-size: 1.2rem;
	margin-top: 20px;
}
#thanks .btn{
	margin-top: 30px;
}
@media screen and (min-width: 769px) {
	#thanks{
		min-height: calc(600px - 201px);
	}
}
@media screen and (max-width: 768px) {
	#thanks{
		min-height: calc(89vh - 201px);
	}
}