@charset "utf-8";
/* CSS Document */
/*ヘッダー*/
header{
	padding-top: 5vh;
	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: 18vh;
	width: auto;
}
main{
	padding: 0;
}
/*メインメニュー*/
#main_menu{
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	padding: 30px 0;
	background-color: rgba(255,255,255,0.90);
	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(0,113,189,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;
	color: #fff;
}
#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: 60%;
	max-width: 300px;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	cursor: pointer;
}
#intro .overflow{
	position: fixed;
	width: 80%;
	min-height: 100%;
	padding: 10%;
	background-color: rgba(255,255,255,0.80);
	top: 0;
	left: 0;
	z-index: 9999;
	display: none;
	opacity: 0;
	pointer-events: auto;
}
#intro h2{
	text-align: center;
}
#intro h2 img{
	width: 250px;
	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;
	border: 2px solid #00ABF0;
	box-sizing: border-box;
	background-color: rgba(255,255,255,0.80);
}
#intro #intro_wrap::-webkit-scrollbar{ 
    width: 2px;
}
#intro #intro_wrap::-webkit-scrollbar-thumb{ 
    background: #00ABF0;
}
#intro #intro_wrap::-webkit-scrollbar-track-piece{
    background: #00ABF0;
}
#intro #intro_wrap::-webkit-scrollbar-track-piece:start{
    background: #00ABF0;
}
#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;
	letter-spacing: 2px;
}
#intro #intro_wrap #footer_box{
	background-color: #0071BD;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
	padding: 10px;
	line-height: 2;
}
#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;
	}
}
/*420px以下(iPhone 6/7/8 Plus)
--------------------------------------------------------------------------*/
@media  screen and (max-width: 420px){
	#intro #intro_wrap #intro_txt{
		letter-spacing: 3px;
	}
}
/*400px以下(iPhone X/6/7/8)
--------------------------------------------------------------------------*/
@media  screen and (max-width: 400px){
	#intro #intro_wrap #intro_txt{
		letter-spacing: 2px;
	}
}
/*320px以下(iPhone 5/SE)
--------------------------------------------------------------------------*/
@media  screen and (max-width: 320px){
	#intro #intro_wrap #intro_txt{
		letter-spacing: 1.5px;
	}
	#intro #intro_wrap #footer_box p{
		font-size: 13px;
	}
}
/*横向き*/
@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%;
	background-color: rgba(255,255,255,0.80);
	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;
}
}
}