@charset "UTF-8";
/*index.html*/

html,
body {
	margin: 0;
	height: 100%;
}

section {
	width: 90%;
	padding-top: 80px;
	padding-bottom: 50px;
}

section > h2 {
	margin-bottom: 50px;
	font-size: 1.5em;
	font-weight: normal;
	text-align: center;
}

/*crossfadeするメインビジュアル*/

.image-crossfader {
	overflow: hidden;
	position: relative;
	height: 100%;
}

.image-crossfader-inner {
	background-size: cover;
	background-position: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0;
	transform: scale(1);
	transition: opacity 3.5s cubic-bezier(0.455, 0.03, 0.515, 0.955),
	transform 3.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.image-crossfader-inner.is-visible {
	z-index: 1;
	opacity: 1;
	transform: scale(1.02);
}

.image-crossfader-inner:nth-child(1) {
	background-image: url(../img/visualimage_01.jpg);
}

.image-crossfader-inner:nth-child(2) {
	background-image: url(../img/visualimage_02.jpg);
}

.image-crossfader-inner:nth-child(3) {
	background-image: url(../img/visualimage_03.jpg);
}

.image-crossfader-inner:nth-child(4) {
	background-image: url(../img/visualimage_04.jpg);
}



/*メインビジュアルの中のキャッチコピー*/

#catch {
	z-index: 2;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background-color: rgba(0, 0, 0, 0.45);
	color: #fff;
	padding: 3em;
	width: 45vw;
	min-width: 45vw;
}

#catch p {
	color: #fff;
}


#catch p {
	font-size: 1.125em;
	line-height: 180%;
	text-align: center;
	padding-top: 1em;
}

#silhouette {
	z-index: 2;
	width: 100%;
	position: absolute;
	bottom: 0;
}

/*会長ご挨拶*/

#greeting .inner {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
}

#greeting .text {
	width: 70%;
	text-indent: 1em;
}

#rule a {
	text-indent: 0;
	display: inline-block;
	box-sizing: border-box;
	border: 2px #abb017 solid;
	background-color: #abb017;
	color: #fff;
	padding: 0.8em 1em;
	margin-top: 2em;
}
#rule a:hover {
	background-color: #fff;
	color: #abb017;
}

#greeting .photo {
	width: 30%;
	text-align: center;
}

#greeting .photo img {
	width: 80%;
	height: auto;
}

#greeting .flleft p {
	text-align: center;
	padding-top: 1em;
}

/*大宮通りとは*/

#omiyast img {
	width: 78%;
	margin: 0 auto;
	padding: 1%;
}

/*世界遺産の平城宮跡*/

#heijopalacesite {
	background-image: url(../img/index_backgroundimage.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}



/*------------------------------------------------------
------------------------スマホ表示------------------------
-------------------------------------------------------*/

@media screen and (max-width:1450px) {
	#catch {
		min-width: 45vw;
	}
	#catch img {
		display: block;
		width: 90%;
	}
	#catch p {
		text-align: left;
	}
	#catch p br {
		display: none;
	}

}

@media screen and (max-width:1150px) {
	#catch p {
		font-size: 1em;

	}
}

@media screen and (max-width:850px) {
	section {
		padding-top: 50px;
		padding-bottom: 30px;
	}
	section > h2 {
		margin-bottom: 30px;
	}
	#catch {
		padding: 1.5em;
		min-width: 65vw;
	}
	#catch p {
		font-size: 0.9em;

	}

	#silhouette {
		display: none;
	}

	#greeting .inner {
		flex-direction: column;
	}

	#greeting .text,
	#greeting .photo {
		width: 100%;
	}

	#greeting .photo img {
		padding-top: 30px;
		width: 50%;
	}

}
