@charset "utf-8";

.mainImage{
	position: relative;
	margin: 0 auto;
	width: 100%;
	height:0;
	padding-top: 24.41%;
	background-image: url("../img/school/main.jpg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 0;
}

/* contact */
#contact{
	position: relative;
	margin: 0 auto;
	padding-top: 8%;
	background-image: url("../img/common/bg.jpg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-color: #ffffff;
}
#contact h2{
	position: relative;
	margin: 0 0 4% 0;
	width: 100%;
	height:0;
	padding-top: 10%;
	background-image: url("../img/contact/ttl_contact.svg");
	background-size: auto 80%;
	background-repeat: no-repeat;
	background-position: 0 0;
}
#contact #lead{
	position: relative;
	margin: 8% auto;
	padding: 8px;
	color: #ffffff;
	background-color: #266db6;
}
#contact #lead div{
	position: relative;
	margin: 0 auto;
	padding: 2%;
	border: solid 3px #ffffff;
}
#contact #lead h3{
	position: relative;
	margin: 0 auto;
	font-size: .20rem;
	font-weight: bold;
}
.bnr{
	margin: 0 auto;
	}
/* form */
#form{
	position: relative;
	margin: 0 auto;
	padding-top: 8%;
}
#form h3{
	position: relative;
	margin: 8% auto;
	padding-bottom: 12%;
	font-size: .22rem;
	color: #444344;
	border-bottom: solid 3px #4187c7;
}
#form.confirm, #form.thanks{
	box-shadow: none !important;
}
#form dl{
	position: relative;
	text-align: left;
}
#form dt span{
	position: relative;
	background-color: #de5a24;
	border-radius: 3px;
	color: #ffffff;
	padding: .3em;
}
#form dd{
	position: relative;
	margin: 2% auto 4% auto;
	color: #808080;
}
#form dd span{font-size: .12rem;}
#form p.thanksMSG{
	position: relative;
	margin: 8% auto;
}

input[type="text"],
textarea {
    padding: .8em .2em;
    outline: none;
    border: 1px solid #b9b9b9;
	border-radius: 3px;
	margin: 1% 0;
	width: 90%;
	font-size: .14rem;
}
textarea {
    width: 90%;
	height: 8em;
}
select {
	width: 100%;
    border: none;
	padding-right: 1em;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	font-size: .14rem;
}
.selectBox{
	position: relative;
	border: solid 1px #b9b9b9;
	border-radius: 3px;
	padding: .2em 0;
	width: 90%;
}
.selectBox:before {
    position: absolute;
    display: block;
    content: '';
    width: 0;
    height: 0;
	color: #808080;
    border-left: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #808080;
    top: 50%;
    right: 3%;
    margin-top: -3px;
    pointer-events: none;
}
button, .formbutton{
    position: relative;
	margin:3% auto;
    display: inline-block;
    padding: .6em;
    color: #ffffff;
    background: #a0a0a0;
	border:none;
	border-radius: 3px;
	font-size: .14rem;
}


/* ----- pc ----- */
@media screen and (min-width: 641px) {
	
	/* contact */
	#contact{padding-top: 0;margin: 0 auto 90px auto;background-image: none;}
	#contact .contents-inner{
		margin: 0 auto;
		padding-top: 60px;
		background-image: url("../img/common/bg.jpg");
		background-size: 729px auto;
		background-repeat: no-repeat;
		background-position: 0 0;
		min-height: 458px;
	}
	#contact h2{
		margin: 0 0 30px 20px;
		width:225px;
		padding-top: 42px;
		background-size: contain;
	}
	#contact #lead{margin:55px auto; width: 900px;}
	#contact #lead div{padding: 20px;}
	#contact #lead h3{font-size: .24rem; margin-bottom: 15px;}
.bnr{
	margin: 0 auto 200px auto;
	}
	/* form */
	#form{padding-top: 35px;}
	#form h3{
		margin: -160px auto 60px auto;
		padding-bottom: 20px;
		font-size: .26rem;
		width: 800px;
	}
	#form dl{ width: 600px; margin: auto;}
	#form dt{
		float:left;
		width:220px;
		margin-top: 10px;
		padding: 10px 0;
	}
	#form dt span{padding: .5em;}
	#form dd{
		padding: 15px 0 15px 220px;
		margin-bottom: 30px;
	}
	
	#form.confirm h3{margin: 60px auto;}
	
	#form.thanks{padding-bottom: 120px;width: 900px;}
	#form.thanks h3{ 
		margin: 0 auto 60px auto;
		padding-bottom: 20px;
		font-size: .26rem;
	}

	input[type="text"],
	textarea {width: 380px;}
	textarea {width: 380px;}
	.selectBox{width: 200px;}
	.selectBox:after {
		top: 50%;
		right: 185px;
		margin-top: -3px;
	}
	button, .formbutton{margin:20px auto 90px auto; padding: 20px;}
	button:hover, .formbutton:hover {
		background: #4187c7;
		color: #fff;
		cursor: pointer;
	}
}