@charset "UTF-8";

/* CSS Document */

/*==================================================

add-style
=================================================*/

#contents {
	margin-top: 100px;
}

.message-cul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.message-cul.re {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	-ms-flex-flow: row-reverse nowrap;
	flex-flow: row-reverse nowrap;
	
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.message-cul .txt {
	width: 55%;
}
.message-cul .txt .name {
	margin-top: 8%;
}
.message-cul .txt .name strong {
	font-size: 2.4rem;
	font-weight: normal;
}
.message-cul .photo {
	width: 38%;
	max-width: 380px;
}

.senior-menu {
	width: 100%;
	background-image: url(../../images/gray_bg1.png);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: auto;
	margin-top: 80px;
}
.senior-menu a {
	width: 80%;
	display: block;
	max-width: 362px;
	margin: 0 auto;
}

.story-top {
	width: 100%;
	position: relative;
	background-image: url(../../images/gray_bg_full.png);
	background-position: center top;
	background-repeat: repeat-x;
	background-size: auto;
	padding-top: 70px;
}
.story-top .prologue {
	width: 100%;
	max-width: 1000px;
	position: relative;
	background-color: #2c90bd;
	box-shadow: 0px 10px 10px 0px #CCC;
	margin: 0 auto;
}
.story-top .prologue .tile {
	width: 270px;
	position: relative;
	-webkit-transform: translate(0, -35%); /* Safari用 */
	transform: translate(0, -35%);
	margin: 0 auto;
}
.story-top .prologue .txt {
	width: 100%;
	position: relative;
	color: #FFF;
	text-align: center;
	font-family: 'Noto Serif JP',游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
	margin-top: -3%;
	padding: 0 5% 10%;
}
.story-top .prologue .txt img {
	width: 100%;
	max-width: 740px;
	height: auto;
}
.story-top .prologue .txt h1 {
	font-size: 2rem;
	line-height: 180%;
	text-align: center;
	letter-spacing: 0.3em;
	margin-bottom: 5%;
}
.story-top .prologue .txt p {
	font-size: 1.5rem;
	text-align: center;
	line-height: 200%;
	letter-spacing: 0.2em;
}

.photo-g {
	width: 100%;
	
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.photo-g li {
	width: 24%;
	cursor: pointer;
	margin-top: 80px;
	overflow: hidden;
	
	/* animation */
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.photo-g li img {
	/* animation */
	-webkit-transition: all 1s;
	transition: all 1s;
}
.photo-g li:hover {
	opacity: 0.6;
}
.photo-g li:hover img {
	-webkit-transform: scale(1.2,1.2);
	transform: scale(1.2,1.2);
}

/* modal */

.white-popup {
	width: 95%;
	max-width: 750px;
	position: relative;
	background: #FFF;
	margin: 0 auto;
	padding: 0;
	
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-ms-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

.white-popup img {
	width: 100%;
	max-width: 100%;
	height: auto;
}
.white-popup p {
	text-align: center;
	padding: 3%;
}
.white-popup .mfp-close {
	color: #000;
	background: #FFF;
}

/* cf */
.products-top:after {
	content:" ";
	display:block;
	clear:both;
}

/* img */
.story-top .prologue .tile img,.message-cul .photo img,.senior-menu a img,.photo-g li img {
	width: 100%;
	max-width: 100%;
	height: auto;
}


@media only screen and (min-width:1px) and (max-width: 768px) {
	
	#contents {
		margin-top: 10%;
	}
	.message-cul,.message-cul.re {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;

		-webkit-box-pack: start;
		-ms-flex-pack: start;
		justify-content: flex-start;
	}
	.message-cul .txt {
		width: 100%;
	}
	.message-cul .txt .name {
		margin-top: 6%;
	}
	.message-cul .txt .name strong {
		font-size: 1.8rem;
	}
	.message-cul .photo {
		width: 70%;
		max-width: 380px;
		margin: 0 auto 6%;
	}
	.senior-menu {
		margin-top: 10%;
	}
	.story-top {
		width: 100%;
		padding-top: 10%;
	}
	.story-top .prologue .tile {
		width: 180px;
	}
	.photo-g li {
		width: 24%;
		margin-top: 8%;
	}
}
@media only screen and (min-width:1px) and (max-width: 568px) {
	
	.photo-g li {
		width: 48%;
	}
	
}
@media only screen and (min-width:1px) and (max-width: 480px) {
	
	
	
}