@charset "utf-8";
/*
==================================================
top.css
==================================================
サイト名: JA新潟市
--------------------------------------------------*/

/*
	Media Queries Breakpoints
	lg 1200
	md 992
	sm 768
	xs 480

*/

.full-width {
	text-align: center;
}
.full-width h2 {
	margin-top: 0;
	margin-bottom: 25px;
	color: #ffffff;
	}

/*
--------------------------------------------------
[ヘッダ]
==================================================*/


#hero {
	position: relative;
	text-align: center;
	margin-top: 50px;
	padding: 40px 20px 30px;
	background-color: #def0fc;	
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 1;
}
#hero h1 {
	position: relative;
	margin: 0;
	}
#hero .container {
	position: relative;
	}
#hero a {
	position: absolute;
	right: 20px;
	bottom: -8px;
	}


@media (max-width: 767px) {
	#hero {
		margin-top: 35px;
		padding-bottom: 20px;
	}
	
	#hero a {
		right: -10px;
		bottom: -15px;
		z-index: 10;
		}
		#hero a img {
			height: 90px;
			width: 90px;
		}
}
	
/*
--------------------------------------------------
[carousel]
==================================================*/

/*
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-stage {
	max-height: 270px;
	}
*/

#top-carousel {
	position: relative;
	padding-top: 25px;
	color: #ffffff;
	background: transparent url(../images/top/bg-carousel.jpg) center bottom no-repeat;
	background-size: cover;
}

.owl-carousel .item img {
	max-width: 702px;
	max-height: 270px;
	margin: 0 auto;
}

.owl-dots {
	padding: 25px;
	}
	.owl-nav .owl-prev,
	.owl-nav .owl-next,
	.owl-dots .owl-dot {
		display: inline-block;
		width: 27px;
		height: 27px;
		background-color: rgba(255, 255, 255, 0.50);
		border-radius: 50%;
		margin: 0 10px;
		}
	.owl-nav .owl-prev,
	.owl-nav .owl-next {
		position: absolute;
		top: 50%;
		margin-top: -55px;
		width: 55px;
		height: 55px;
		overflow: hidden;
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 45px 45px;
	  font-size: 0;
	  text-indent: 200%;
		}
	.owl-nav .owl-prev {
		left: 20px;
		background-image: url(../images/top/bg-owl-prev.png);
		}
	.owl-nav .owl-next {
		right: 20px;
		background-image: url(../images/top/bg-owl-next.png);
		}
	.owl-dots .owl-dot span {
		display: inline-block;
		margin-top: 4px;
		width: 19px;
		height: 19px;
		background-color: rgba(90, 182, 235, 1);
		border-radius: 50%;
		transition: all .3s;
		}
	.owl-nav .owl-prev:hover,
	.owl-nav .owl-next:hover,
	.owl-dots .owl-dot:hover {
		background-color: rgba(255, 255, 255, .8);
		transition: all .3s;
	}
	.owl-dots .active span {
		background-color: rgba(255, 255, 255, 1);
		}

@media (max-width: 767px) {

	.owl-dots .owl-dot {
		width: 14px;
		height: 14px;
		}
	.owl-dots .owl-dot span {
		margin-top: 0;
		margin-bottom: 5px;
		width: 10px;
		height: 10px;
		}

	.owl-carousel {
/* 		height: 220px; */
	}
}

.fb-plugin {
	text-align: center;
}

/*
--------------------------------------------------
[旬]
==================================================*/

#season img {
	margin-left: 1em;
	vertical-align: middole;
	-webkit-animation: animation 3.8s linear infinite both;
	animation: animation 3.8s linear infinite both;
	background-color: transparent;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
}
@-webkit-keyframes animation {
	0%, 10%, 20% {
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
		-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
		animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
	}
	5% {
		-webkit-transform: translate3d(0, -20px, 0);
		transform: translate3d(0, -20px, 0);
		-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
		animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
	}
	15% {
		-webkit-transform: translate3d(0, -18px, 0);
		transform: translate3d(0, -18px, 0);
		-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
		animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
	}
}
@keyframes animation {
	0%, 10%, 20% {
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
		-webkit-animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
		animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
	}
	5% {
		-webkit-transform: translate3d(0, -20px, 0);
		transform: translate3d(0, -20px, 0);
		-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
		animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
	}
	15% {
		-webkit-transform: translate3d(0, -18px, 0);
		transform: translate3d(0, -18px, 0);
		-webkit-animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
		animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
	}
}

#season:hover {
    -webkit-transform: rotateY(360deg);
    transform: rotateY(360deg);
    transition: .5s all;
}


/*
--------------------------------------------------
[Facebook]
==================================================*/

.fb-plugin {
	margin-bottom: 25px;
}

/*
--------------------------------------------------
[Banner]
==================================================*/


#top-banner {
	padding-top: 25px;
}

#top-banner a img {
	border: 1px solid #eee;
	width: 100%;
	margin-bottom: 25px;
	}

	#top-banner a:hover img {
		border-color: #5bb6eb;
		transition: all .3s;
	}
	
#top-banner .banner-center {
	margin-left: auto;
	margin-right: auto;
	float: none;
}

@media (max-width: 767px) {
	#top-banner a img {
		margin-bottom: 15px;
		}

}

.banner-covid19 {
	padding: 20px;
	text-align: center;
	background-color: #fa2f00;
	color: white;
	font-size: 24px;
	font-family: "Lucida Grande", "segoe UI", "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", Meiryo, Arial, sans-serif;
	transition: background-color 0.3s linear;
}
.banner-covid19:hover {
	background-color: #5ab6eb;
}
.banner-covid19 a {
	display: block;
	border: 4px dotted white;
	padding: 20px;
	color: white;
	text-decoration: none;
}
