@charset "utf-8";

/* common
-----------------------------------------------------------------*/
/* map */
#Main .map{
	background: url(../img/bg_map.jpg) no-repeat 50% 0;
	background-size: 100% auto;
	position: relative;
	height: 760px;
}
#Main .map li{
	position: absolute;
}
#Main .balloon{
	height: 100%;
	position: relative;
	width: 100%;
}
#Main .balloon li{
	-webkit-animation: balloons 1s linear .5s infinite alternate;
	animation: balloons 1s linear .5s infinite alternate;
	background: url(../img/bg_balloon.png) no-repeat 50% 0;
	background-size: 100% auto;
	cursor: pointer;
	font-size: 125%;
	min-height: 124px;
	min-width: 106px;
	padding-top: 38px;
	position: absolute;
	text-align: center;
	text-indent: -2px;
	-webkit-transition: -webkit-transform .1s linear;
	transition: transform .1s linear;
	z-index: 5000;
}
#Main .balloon li:hover{
	-webkit-animation: none;
	animation: none;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}
#Main .balloon li a{
	color: #00a7ea !important;
	display: block;
	text-decoration: none !important;
}
#Main .balloon li:nth-of-type(1){
	left: 6%;
	top: 10%;
}
#Main .balloon li:nth-of-type(2){
	left: 16%;
	top: 48%;
}
#Main .balloon li:nth-of-type(3){
	left: 44%;
	top: 28%;
}
#Main .balloon li:nth-of-type(4){
	left: 70%;
	top: 24%;
}
#Main .balloon li:nth-of-type(5){
	left: 68%;
	top: 66%;
}
#Main .active-images{
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
#Main .active-images li{
	position: absolute;
}
#Main .active-images li:nth-of-type(1){
	left: 24%;
	top: 58%;
	-webkit-animation: active-image1 3s ease .5s infinite alternate;
	animation: active-image1 3s ease .5s infinite alternate;
}
#Main .active-images li:nth-of-type(2){
	left: 68%;
	top: 38%;
}
#Main .active-images li:nth-of-type(2) .a01{
	-webkit-animation: active-image2 2.5s linear .5s infinite alternate;
	animation: active-image2 2.5s linear .5s infinite alternate;
}
#Main .active-images li:nth-of-type(2) .a02{
	-webkit-animation: active-image3 2s linear .3s infinite alternate;
	animation: active-image3 2s linear .3s infinite alternate;
	left: 100%;
	position: absolute;
	top: 50%;
}
@-webkit-keyframes balloons{
	0%{-webkit-transform: translateY(2px)}
	100%{-webkit-transform: translateY(-3px)}
}
@-webkit-keyframes active-image1{
	0%{-webkit-transform: rotate(-2deg) translateX(-15px)}
	100%{-webkit-transform: rotate(10deg) translateX(10px)}
}
@-webkit-keyframes active-image2{
	0%{-webkit-transform: rotate(-10deg)}
	100%{-webkit-transform: rotate(15deg)}
}
@-webkit-keyframes active-image3{
	0%{-webkit-transform: rotate(-2deg)}
	100%{-webkit-transform: rotate(40deg)}
}
@keyframes balloons{
	0%{transform: translateY(2px)}
	100%{transform: translateY(-3px)}
}
@keyframes active-image1{
	0%{transform: rotate(-2deg) translateX(-15px)}
	100%{transform: rotate(10deg) translateX(10px)}
}
@keyframes active-image2{
	0%{transform: rotate(-10deg)}
	100%{transform: rotate(15deg)}
}
@keyframes active-image3{
	0%{transform: rotate(-2deg)}
	100%{transform: rotate(40deg)}
}

/* lead */
#Main .lead{
	margin-top: 60px;
	text-align: center;
}
#Main .lead h2{
	color: #00a7ea;
	font-size: 250%;
	font-weight: bold;
	letter-spacing: 6px;
}
#Main .lead p{
	margin-top: 25px;
}
#Main .youtubebox{
	color: #FF9300;
	margin: 1.5em auto;
}
#Main .youtubebox span{
	font-size: 125%;
	font-weight: bold;
	letter-spacing: 3px;
}
#Main .youtubebox a{
	display: inline-block;
	padding: 1em 2em;
	color: #FF9300;
	text-decoration: none;
	border: 1px solid #FF9300;
	transition: 0.3s;
}	
#Main .youtubebox a:hover{
	background-color: #00a7ea;
	border: 1px solid #00a7ea;
	color: #FFF;
}
#Main .youtubebox img{
	vertical-align: middle;
	margin-right: 0.2em;
	padding: 0 0 3px;
	margin-bottom: 0;
	height: 1em;
}

/* news */
#Main .news{
	border-top: 4px solid #00a7ea;
	margin-top: 60px;
}
#Main .news .ttl-box{
	background: url(../img/ico_news.png) no-repeat 90px 110px;
	background-color: #00a7ea;
	background-size: 49px auto;
	float: left;
	padding: 15px 10px;
	width: 135px;
}
#Main .news .btn{
	border: 1px solid #fff;
	box-sizing: border-box;
	color: #fff;
	display: block;
	margin-top: 80px;
	padding: 0 16px;
	text-align: center;
	text-decoration: none;
	-webkit-transition: background-color .2s linear, color .2s linear;
	transition: background-color .2s linear, color .2s linear;
	width: 100%;
}
#Main .news .btn:hover{
	background-color: #fff;
	color: #00a7ea;
}
#Main .news-box{
	box-sizing: border-box;
	overflow: hidden;
	padding-left: 10px;
}
#Main .news-box dt i{
	position: relative;
	top: -2px;
}

/* exam */
#Main .exam{
	background-color: #f2f2f2;
	margin-top: 55px;
	padding: 40px 0 50px;
}
#Main .exam .inside{
	position: relative;
}
#Main .exam .btn{
	border: 1px solid #000;
	color: #000;
	display: inline-block;
	padding: 0 16px;
	position: absolute;
	right: 11px;
	text-align: center;
	text-decoration: none;
	top: 24px;
	-webkit-transition: background-color .2s linear, color .2s linear;
	transition: background-color .2s linear, color .2s linear;
}
#Main .exam .btn:hover{
	background-color: #00a7ea;
	border-color: #00a7ea;
	color: #fff !important;
}
#Main .exam dl:not(:first-child){
	margin-top: 20px;
}
#Main .exam dt{
	background: url(/common/img/bg_arw01.png) no-repeat 100% 50%;
	background-color: #00a7ea;
	background-size: 15px 100%;
	color: #fff;
	display: block;
	float: left;
	padding: 4px 20px 4px 10px;
	width: 11em;
}
#Main .exam dd{
	overflow: hidden;
	padding: 4px 0 4px 15px;
}
#Main .exam dd span{
	display: inline-block;
	margin-right: 20px;
	width: 8em;
}
#Main .exam dd span i{
	display: inline-block;
	text-align: right;
	width: 3em;
}

/* modal */
#Modal{
	background-color: rgba(255, 255, 255, .9);
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 99999;
}
#Modal.activeModal{
	-webkit-animation: modal .5s ease both;
	animation: modal .5s ease both;
	display: block;
}
@-webkit-keyframes modal{
	0% { height: 0; }
	100% { height: 100%; }
}
@keyframes modal{
	0% { height: 0; }
	100% { height: 100%; }
}
#Modal aside{
	border: 4px solid #00a7ea;
	background: #fff;
	border-radius: 16px;
	box-sizing: border-box;
	box-shadow: 4px 4px 8px #888;
	display: none;
	margin: 0 auto;
	overflow: hidden;
	padding: 40px;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 1024px;
}
#Modal aside h3{
	font-size: 125%;
	font-weight: bold;
}
#Modal aside .detail{
	display: table;
	margin-top: 20px;
}
#Modal aside div:not(.nottable) p{
	display: table-cell;
	padding-left: 20px;
	vertical-align: top;
}
#Modal aside .nottable p{
	display: block;
	margin-top: 20px;
	width: 100%;
}
#Modal aside div:not(.nottable) ul{
	display: table-cell;
	width: 40%;
}
#Modal aside .nottable ul{
	margin: -20px 0 0 -20px;
	overflow: hidden;
	width: 100%;
}
#Modal aside .nottable li{
	float: left;
	margin: 20px 0 0 20px;
	max-width: 374px;
}
#Modal aside li img{
	height: auto;
	max-width: 374px;
	width: 100%;
}
#Main .close{
	border: 1px solid #333;
	color: #333;
	display: inline-block;
	padding: 2px 5px;
	position: absolute;
	right: 20px;
	text-decoration: none;
	top: 20px;
	-webkit-transition: background-color .2s linear, color .2s linear;
	transition: background-color .2s linear, color .2s linear;
}
#Main .close:hover{
	background-color: #00a7ea;
	border: 1px solid #00a7ea;
	color: #fff !important;
}

/* error */
.error-box{
	padding: 40px 0;
}
.error-box h2{
	color: #00a7ea;
	font-size: 150%;
	font-weight: bold;
}
.error-box p{
	margin-top: 20px;
}
.error-box .btn{
	border: 1px solid #333;
	color: #333;
	display: block;
	margin: 40px auto 0;
	padding: 2px 40px;
	text-decoration: none;
	-webkit-transition: background-color .2s linear, color .2s linear;
	transition: background-color .2s linear, color .2s linear;
	width: 9em;
}
.error-box .btn:hover{
	background-color: #00a7ea;
	border: 1px solid #00a7ea;
	color: #fff !important;
}

/* for tb
-----------------------------------------------------------------*/
@media screen and (max-width: 979px){
	#Main .map{
		background-size: 100% auto;
	}
	#Main .active-images li:nth-of-type(1){
		height: auto;
		width: 14%;
	}
	#Main .active-images li:nth-of-type(1) img{
		height: auto;
		width: 100%;
	}
	#Main .active-images li:nth-of-type(2){
		height: auto;
		width: 12%;
	}
	#Main .active-images li:nth-of-type(2) .a01{
		height: auto;
		width: 100%;
	}
	#Main .active-images li:nth-of-type(2) .a02{
		height: auto;
		width: 50%;
	}
	#Main .lead{
		margin-top: 20px;
	}
	#Modal{
		overflow: scroll;
	}
	#Modal aside{
		height: 80%;
		overflow: scroll;
		padding: 20px !important;
		width: 80%;
	}
	#Modal aside ul{
		display: block !important;
		width: 100% !important;
	}
	#Modal aside p{
		display: block !important;
		margin-top: 20px;
		padding: 0 !important;
		width: 100% !important;
	}
}

/* for tb - sp
-----------------------------------------------------------------*/
@media screen and (max-width: 767px){
	#Main .balloon li{
		background: none;
		background-color: rgba(255, 255, 255, .7);
		border: 2px solid #00a7ea;
		border-radius: 4px;
		font-size: 87%;
		padding: 4px 8px;
		min-height: auto;
		min-width: auto;
	}
	#Main .lead h2{
		font-size: 200%;
		letter-spacing: 4px;
	}
	#Main .lead p{
		margin-top: 20px;
	}
	#Main .youtubebox span{
		font-size: 100%;
		font-weight: bold;
		letter-spacing: 3px;
	}
	#Main .youtubebox a{
		padding: 0.5em 0.1em;
	}	

	#Main .news{
		margin-top: 40px;
	}
	#Main .news .inside{
		border: 2px solid #00a7ea;
	}
	#Main .news .ttl-box{
		background-image: none;
		display: block;
		margin-left: -10px;
		text-align: center;
		width: 100%;
	}
	#Main .news .ttl-box .btn{
		margin-top: 20px;
	}
	#Main .news .ttl-box .btn:hover{
		background-color: transparent !important;
		border: 1px solid #fff !important;
		color: #fff !important;
	}
	#Main .news-box{
		padding-left: 0;
		width: 100%;
	}
	#Main .news-box dt{
		float: none;
		font-weight: bold;
	}
	#Main .news-box dd{
		margin-top: 5px;
		padding-left: 0;
	}
	#Main .exam{
		margin-top: 0;
		padding: 20px 0 40px;
	}
	#Main .exam .btn{
		box-sizing: border-box;
		margin: 10px 0 20px;
		position: relative;
		right: 0;
		top: 0;
		text-align: center;
		width: 100%;
	}
	#Main .exam .btn:hover{
		background-color: transparent !important;
		border: 1px solid #000 !important;
		color: #000 !important;
	}
	#Main .exam dt{
		box-sizing: border-box;
		float: none;
		width: 100%;
	}
	#Main .exam dd{
		padding: 0;
	}
	#Main .exam dd span{
		display: block;
		margin-top: 5px;
	}
	#Main .close{
		border: 1px solid #00a7ea !important;
		color: #00a7ea !important;
		transition: none;
	}
	#Main .close:hover{
		color: #00a7ea !important;
		background-color: #fff !important;
	}
}

/* for sp
-----------------------------------------------------------------*/
@media screen and (max-width: 479px){
	/* xxx */
}