@charset "utf-8";
/* CSS Document */
/*ヘッダー*/
header{
	background-color: rgba(81,189,255,0.80);
	padding: 2.5vh 0;
	position: relative;
	border-bottom: none;
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	transform: translate(0, 0);
	left: 0;
	z-index: 2;
	width: 100%;
}
header #top_header{
	height: 18vh;
	padding: 1vh 0;
	text-align: center;
	position: relative;
}
header #top_header h1{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
header #top_header h1 img{
	height: 15vh;
	width: auto;
}
main{
	padding: 0;
}
/*メインメニュー*/
#main_menu{
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	padding: 30px 0;
	background-color: rgba(255,255,255,0.80);
	box-sizing: border-box;
	position: static;
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	transform: translate(0, 0);
	border-top: none;
}
#main_menu .swiper-wrapper{
	padding-left: 100vw;
	opacity: 0;
}
/*NEWS*/
#news{
	background-color: rgba(250,171,179,0.80);
	overflow: hidden;
	height: 20px;
	padding: 10px;
	position: relative;
	z-index: 9;
}
#news .swiper-slide{
	overflow: hidden;
}
#news .swiper-slide .date,#news .swiper-slide .news_title{
	display: block;
	float: left;
	line-height: 1;
	vertical-align: top;
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
	color: #fff;
}
@media all and (-ms-high-contrast: none) {
	#news .swiper-slide .date,#news .swiper-slide .news_title{
		line-height: 1.5;
	}
}
#news .swiper-slide .date{
	font-size: 12px;
	width: 28%;
	padding: 3px 1%;
}
#news .swiper-slide .news_title{
	font-size: 14px;
	height: 16px;
	width: 68%;
	padding: 2px 1%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
}
/*ご挨拶*/
#intro{
	height: 30vh;
	position: relative;
}
#intro #intro_bt{
	position: absolute;
	width: 100%;
	padding-top: 30px;
	max-width: 300px;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	cursor: pointer;
}
#intro #intro_bt:hover{
	opacity: 0.7;
	transition: all 0.3s;
}
#intro .overflow{
	position: fixed;
	width: 80%;
	min-height: 100%;
	padding: 10%;
	top: 0;
	left: 0;
	z-index: 9999;
	display: none;
	opacity: 0;
	pointer-events: auto;
}
#intro .overflow::after{
	content: "";
	background-color: rgba(255,255,255,0.90);
	z-index: -1;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
#intro h2{
	text-align: center;
}
#intro h2 img{
	width: 200px;
	max-width: 100%;
	height: auto;
}
#intro #intro_wrap{
	max-width: 600px;
	max-height: 400px;
	margin: 20px auto;
	overflow:auto;
	-webkit-overflow-scrolling: touch;
	padding: 10px 10px 0;
	border: 2px solid #51BDFF;
	box-sizing: border-box;
	background-color: rgba(255,255,255,0.90);
	color: #4d4d4d;
}
#intro #intro_wrap::-webkit-scrollbar{ 
    width: 2px;
}
#intro #intro_wrap::-webkit-scrollbar-thumb{ 
    background: #faabb3;
}
#intro #intro_wrap::-webkit-scrollbar-track-piece{
    background: #8BDDFF;
}
#intro #intro_wrap::-webkit-scrollbar-track-piece:start{
    background: #8BDDFF;
}
#intro #intro_wrap::-webkit-scrollbar-track-piece:end{
    background: #fff;
}
#intro #intro_wrap figure{
	margin-bottom: 30px;
	text-align: center;
}
#intro #intro_wrap p{
	font-size: 14px;
}
#intro #intro_wrap #intro_txt{
	margin-bottom: 20px;
	color: #4d4d4d;
}
#intro #intro_wrap #footer_box{
	background-color: #faabb3;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
	padding: 10px;
	line-height: 2;
	margin-bottom: 10px;
}
#intro #intro_wrap #footer_box p{
	font-size: 13px;
}
#intro .close{
	text-align: center;
	position: static;
}
#intro .close img{
	width: 40px;
}
@media screen and (min-width: 700px){
#news .swiper-slide{
	width: 80%;
	margin: 0 auto;
}
#intro{
	height: 45vh;
	min-height: 400px;
	position: relative;
}
#intro #intro_wrap{
	max-width: 600px;
	max-height: 650px;
	margin: 30px auto;
	overflow: auto;
}
}
@media screen and (max-width: 700px){
	header #top_header h1 img{
		height: 12vh;
		width: auto;
		max-width: 350px;
	}
	#intro #intro_bt{
		max-width: 200px;
	}
}
/*IEのみ*/
@media all and (-ms-high-contrast: none) {
	#intro #intro_bt:hover{
		opacity: 0.7;
		transition: none;
	}
}
/*横向き*/
@media screen and (orientation: landscape){
#intro .close{
	text-align: center;
	position: absolute;
	top: 5%;
	left: 5%;
}
#intro .overflow{
	position: fixed;
	width: 70%;
	min-height: 90%;
	padding: 5% 15%;
	top: 0;
	left: 0;
	z-index: 9999;
	display: none;
	opacity: 0;
}
@media screen and (max-height: 700px){
#intro #intro_wrap{
	max-height: 250px;
	margin: 30px auto;
	overflow: auto;
}
#main_menu{
	padding: 30px 10%;
}
}
@media screen and (min-height: 700px){
#intro #intro_wrap{
	max-height: 600px;
	margin: 30px auto;
	overflow: auto;
}
}
}
@media screen and (max-width: 400px) and (max-height: 700px){
	#intro h2 img{
		width: 150px;
	}
	#intro #intro_wrap{
		max-height: 350px;
	}
}
@media screen and (max-width: 320px){
	#intro #intro_bt{
		max-width: 150px;
	}
}