@charset "utf-8";

/* -------------------------------------------------
	#main-visual
------------------------------------------------- */

#main-visual {
	margin-bottom: 60px;
}
#main-visual img {
	width: 100%;
}

#main-visual .slick-dots {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: center;
}
#main-visual .slick-dots li {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: solid 2px #fff;
	background: #fff;
	overflow: hidden;
}
#main-visual .slick-dots li.slick-active {
	background: #0d6fb8;
}
#main-visual .slick-dots li + li {
	margin-left: 20px;
}
#main-visual .slick-dots li button {
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

#main-visual .slick-arrow {
	width: 20px;
	height: 30px;
	position: absolute;
	top: 50%;
	z-index: 40;
	overflow: hidden;
	color: transparent;
	border: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	transform: translateY(-50%);
}
#main-visual .slick-arrow.slick-prev {
	left: 36px;
	background: url(../img/arrow_04.png) no-repeat 0 0 / contain;
}
#main-visual .slick-arrow.slick-next {
	right: 36px;
	background: url(../img/arrow_03.png) no-repeat 0 0 / contain;
}

@media screen and (max-width:767px) {
	#main-visual {
		margin-bottom: 10vw;
	}
	#main-visual .slick-dots {
		bottom: 3vw;
	}
	#main-visual .slick-dots li {
		width: calc(16 * 0.2vw);
		height: calc(16 * 0.2vw);
		border-width: 1px;
	}
	#main-visual .slick-dots li + li {
		margin-left: 4vw;
	}

	#main-visual .slick-arrow {
		width: calc(20 * 0.2vw);
		height: calc(30 * 0.2vw);
	}
	#main-visual .slick-arrow.slick-prev {
		left: 3vw;
	}
	#main-visual .slick-arrow.slick-next {
		right: 3vw;
	}
}

/* -------------------------------------------------
	#news
------------------------------------------------- */

#news {
		margin-top: 40px;
	}

#news ul li .wrap {
	padding: 15px 10px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	border-bottom: solid 1px #bccfda;
}
#news ul li .wrap .date {
	width: 110px;
}
#news ul li .wrap .cate a {
	width: 100px;
	margin-right: 16px;
	height: 22px;
	font-size: 14px;
	line-height: 1;
	border: solid 1px #cfdde5;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	transition: background 0.2s ease-out;
}
#news ul li .wrap .title {
	width: 100%;
	margin-top: 0.5em;
	line-height: 1.4;
}

@media print, screen and (min-width:768px) {
	#news ul li .cate a:hover {
		background: #e8f5fe;
	}
	#news ul li .title a:hover {
		text-decoration: underline;
	}
}

@media screen and (max-width:767px) {
	#news ul li .wrap {
		min-height: 0;
		padding: 2vw 0;
		align-items: center;
	}
	#news ul li .wrap .date {
		width: 22vw;
	}
	#news ul li .wrap .cate a {
		width: auto;
		margin-right: 0;
		height: auto;
		padding: 1vw 2vw;
		font-size: 3.2vw;
	}
}

/* -------------------------------------------------
	#study
------------------------------------------------- */


@media print, screen and (min-width:768px) {	
	#study .wrap{
		padding: 15px 10px;
	}
	
	#study h3{
		margin-top: 40px;
    	font-weight: 700;
    	line-height: 1;
    	color: #0d6fb8;
		}
	
	.reserve-study {
		margin-top: 20px;
		text-align: left;
	}
	
	.reserve-study a {
		width: 240px;
		height: 40px;
		padding: 0 29px 0 29px;
		border-radius: 50px;
		display: inline-flex;
		align-items: center;
		border: solid 1px #0d6fb8;
		color: #0d6fb8;
		background: url(../img/arrow_01.png) no-repeat 200px center / 8px auto;
		font-size: 14px;
		line-height: 1;
		transition: background 0.2s ease-out;
	}
	
	.reserve-study a:hover {
		background-color: #e8f5fe;
	}
	
}

@media screen and (max-width:767px) {
	#study {
		margin-top: 10vw;
	}
	
	#study .wrap{
		padding: 2vw 0;
	}
	
	#study h3{
		font-size: 3.2vw;
		margin-top: 2em;
    	font-weight: 700;
    	line-height: 1;
    	color: #0d6fb8;
		}
	
	.reserve-study {
		margin-top: 4vw;
		text-align: center;
	}
	.reserve-study a {
		width: 45vw;
		height: 7vw;
		padding: 0 3vw 0 3vw;
		border-radius: 3.5vw;
		display: inline-flex;
		align-items: center;
		border: solid 1px #0d6fb8;
		color: #0d6fb8;
		background: url(../img/arrow_01.png) no-repeat 40vw center / 2vw auto;
		font-size: 3.2vw;
		line-height: 1;
    	transition: background 0.2s ease-out;
	}
	
}







/* -------------------------------------------------
	#crowded
------------------------------------------------- */

@media print, screen and (min-width:768px) {
	#crowded {
		margin-top: 40px;
	}
	#crowded .col2 {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
	}
	#crowded iframe {
		width: 49%;
		height: 250px;
	}
}

@media screen and (max-width:767px) {
	#crowded {
		margin-top: 10vw;
	}
	#crowded iframe {
		width: 100%;
		height: 250px;
	}
}

/* -------------------------------------------------
	#menu
------------------------------------------------- */

#menu ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
#menu ul li {
	width: calc(260 / 840 * 100%);
	margin-right: calc(29 / 840 * 100%);
	margin-bottom: 30px;
}
#menu ul li.wrap{
	border: solid 1px #0d6fb8;
	position: relative;
    height: 90px;
	transition: background 0.2s ease-out;
}
#menu ul li:nth-child(3n) {
	margin-right: 0;
}
#menu ul li.wrap a{
	display: block;
    text-align: center;
	position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
#menu ul li.wrap:hover {
	background-color: #c9edfd;
}
#menu ul li.wrap a img{
	display: block;
	height: 28px;
	margin: 0 auto 5px;
}
#menu ul li.wrap a p{
	color: #0d6fb8;
	font-weight: 500;
	line-height: 1.4;
}
#menu ul li.wrap a p span{
	display: block;
	font-size: 12px;
}

@media screen and (max-width: 767px) {
    #menu ul li {
        margin-bottom: 3vw;
    }
	#menu ul li.wrap a p span{
	font-size: 10px;
	}
}


/* -------------------------------------------------
	#event
------------------------------------------------- */

#event {
	margin-top: 70px;
}
#event ul {
	display: flex;
	flex-wrap: wrap;
}
#event ul li {
	margin-top: 30px;
}
#event ul li .wrap {
	display: block;
	border: solid 1px #cfdde5;
	transition: background 0.2s ease-out;
	position: relative;
}
#event ul li:nth-child(1) a::before,
#event ul li:nth-child(2) a::before {
	width: 71px;
	height: 71px;
	background: url(../img/index/new.png) no-repeat 0 0 / contain;
	display: block;
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	z-index: 10;
}
#event ul li .wrap .pic {
	position: relative;
	overflow: hidden;
	display: block;
}
#event ul li .wrap .pic img.base {
	width: 100%;
	position: relative;
	z-index: 2;
}
#event ul li .wrap .pic img:not(.base) {
	width: 139%;
	max-width: none;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	z-index: 4;
}
#event ul li .wrap .border {
	padding: 18px 7%;
	border-top: none;
}
#event ul li .wrap .border .cate a {
	height: 22px;
	padding: 0 1em;
	font-size: 14px;
	line-height: 1;
	border: solid 1px #cfdde5;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	transition: background 0.2s ease-out;
}
#event ul li .wrap .border .title {
	/*padding-bottom: 0.7em;*/
	margin: 0.3em 0 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	/*border-bottom: solid 1px #cfdde5;*/
}
#event ul li .wrap .border .title a {
	color: #0d6fb8;
}
#event ul li .wrap .border .date {
	font-size: 14px;
	line-height: 1;
}
#event ul li .wrap .border .date strong {
	font-size: 18px;
	vertical-align: baseline;
	font-weight: 400;
}
#event ul li .wrap .border .time,
#event ul li .wrap .border .venue {
	margin-top: 1em;
	font-size: 14px;
	line-height: 1.4;
}
#event ul li .wrap .border .desc {
	margin-top: 1em;
	font-size: 14px;
	line-height: 1.4;
	display: none;
}
#event ul li .wrap .border .label {
	width: 6em;
	display: block;
}

@media print, screen and (min-width:768px) {
	#event ul li {
		width: calc(260 / 840 * 100%);
		margin-right: calc(29 / 840 * 100%);
	}
	#event ul li:nth-child(3n) {
		margin-right: 0;
	}
	#event ul li .wrap .cate a:hover {
		background: #e8f5fe;
	}
	#event ul li .wrap .title a:hover {
		text-decoration: underline;
	}
}

@media screen and (max-width:767px) {
	#event {
		margin-top: 10vw;
	}
	#event ul {
		justify-content: space-between;
	}
	#event ul li {
		width: 49%;
		margin-top: 6vw;
	}
	#event ul li:nth-child(1) a::before,
	#event ul li:nth-child(2) a::before {
		width: 14vw;
		height: 14vw;
	}
	#event ul li .wrap .border {
		padding: 2vw;
	}
	#event ul li .wrap .border .cate a {
		height: 6.4vw;
		padding: 0 1em;
		font-size: 3.2vw;
	}
	#event ul li .wrap .border .title {
		margin: 0.8em 0 0.8em;
		font-size: 3.2vw;
	}
	#event ul li .wrap .border .date {
		font-size: 3.2vw;
	}
	#event ul li .wrap .border .date strong {
		font-size: 3.4vw;
	}
	#event ul li .wrap .border .time,
	#event ul li .wrap .border .venue {
		font-size: 3.2vw;
	}
	#event ul li .wrap .border .desc {
		font-size: 3.2vw;
	}
}

/* -------------------------------------------------
	.side
------------------------------------------------- */

.side ul.sns_links{
	margin-bottom: 60px;
    margin-top: 10px;
	}
.side ul.sns_links li a.tw{
	height: 60px;
    padding-left: 47px;
    display: flex;
    align-items: center;
    line-height: 1.3;
    background: url("../img/sns_icon_tw.svg") no-repeat 0px center;
    background-size: 34px;
    border-bottom: solid 1px #bccfda;
    transition: background 0.2s ease-out;
	}
.side ul.sns_links li a.in{
	height: 60px;
    padding-left: 47px;
    display: flex;
    align-items: center;
    line-height: 1.3;
    background: url("../img/sns_icon_in.svg") no-repeat 0px center;
    background-size: 34px;
    border-bottom: solid 1px #bccfda;
    transition: background 0.2s ease-out;
	}

main .side #facility-introduction {
	margin-bottom: 60px;
}

@media screen and (max-width:767px) {
	/*main .side {
		display: flex;
		flex-direction: column-reverse;
	}*/
	
	.side ul.sns_links{
		margin-bottom: 0px;
	}
	
	main .side #facility-introduction {
		margin: 8vw 0;
	}
}