@charset "UTF-8";
@import url(cmn.css);
@import url(base.css);

/*-----------cmn---------------*/

section h2{
	text-align: center;
}

.pagenav2{
	font-size: 1.5rem;
	text-align: center;
	display: table;
	table-layout: fixed;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.3;
}
body>.pagenav2{
	margin-bottom: 0;
	border-bottom: none;
}
.pagenav2 li{
	display: table-cell;
	padding: 15px 0 50px;
}
.pagenav2 li a{
	display: block;
	padding: 0 20px;
	border-right: 1px dotted #ccc;
}
.pagenav2 li:nth-of-type(1) a{
	border-left: 1px dotted #ccc;
}
.pagenav2 li a:hover{
	opacity: 0.7;
}
.pagenav2 span{
	display: block;
	margin: 0 auto 5px;
}
.pagenav2 li img{
	display: block;
	max-width: 100%;
	margin: 0 auto;
}

@media screen and (max-width: 800px){
	.pagenav2 li a{
		padding: 0 8px;
		letter-spacing: 0;
	}
}

/*----------------*/

#s1{
	position: relative;
	margin-bottom: 80px;
	overflow: hidden;
}
#s1:after{
	content: "";
	z-index: -1;
	background: #F5F1F1;
	display: block;
	width: 79vw;
	height: calc(100% - 300px);
	position: absolute;
	top: 220px;
	left: 10vw;
}
#s1 .w{
	text-align: center;
}
.about #s1 p{
	line-height: 2.2;
}
#s1 h3:before{
	display: none;
}
#s1 h3:last-child{
	margin-bottom: 0;
}

@media screen and (max-width: 1000px){
	#s1 p{
		text-align: justify;
	}
}
@media screen and (max-width: 880px){
	#s1{
		margin-bottom: 60px;
		padding-bottom: 0;
	}
	#s1:after{
		display: none !important;
	}
}

.history #s1{
	margin-bottom: 50px;
	padding-bottom: 0;
}
.history #s1:after{
	display: none;
}
.history #s1 .w{
	overflow: hidden;
}
.history #s1 h3{
	font-size: 3.4rem;
	letter-spacing: 5px;
	padding: 50px 0 0 0;
	margin: 0 auto 30px;
	border-top: 1px solid #dfdfdf;
}
.history .masonryWrap{
	padding-bottom: 1px;
}
.hisw{
	position: relative;
}
.hisw:after{
	content: "";
	display: block;
	width: 4px;
	height: 100%;
	position: absolute;
	top: 0;
	left: calc(50% - 2px);
	z-index: -1;
	background: #f5f1f1;
}
.his{
	position: relative;
	width: 100%;
}
.his article{
	width: calc(50% - 42px);
	clear: none;
	text-align: left;
	border: 1px solid #d4d4d4;
	padding: 10px 15px;
	margin: 0 20px;
	box-sizing: border-box;
}
.his article:nth-of-type(n+2){
	margin-top: 30px;
}
.his article:before{
	content: "";
	display: block;
	background: #A4070A;
	height: 8px;
	width: 8px;
	border-radius: 20px;
	position: absolute;
}
.his article.masonryR:before{
	top: 11px;
	left: -24px;
}
.his article.masonryL:before{
	top: 11px;
	right: -26px;
}
.his article:after{
	content: "";
	display: block;
	background: #fff;
	height: 10px;
	width: 10px;
	border-left: 1px solid #d4d4d4;
	border-bottom: 1px solid #d4d4d4;
	position: absolute;
}
.his article.masonryR:after{
	transform: rotate(45deg);
	top: 10px;
	left: -6px;
}
.his article.masonryL:after{
	transform: rotate(-135deg);
	top: 10px;
	right: -6px;
}
.his article h4{
	font-size: 1.40rem;
	font-weight: bold;
	margin-bottom: 3px;
	letter-spacing: 1px;
}
.his article p{
	overflow: hidden;
	letter-spacing: 0;
	line-height: 1.5;
}
.his article p img{
	float: right;
	clear: right;
	margin-left: 10px;
	max-width: 40%;
}
.his article p img:nth-last-of-type(n+2){
	margin-bottom: 10px;
}
.hisclear{
	width: 100%;
	max-width: 300px;
	text-align: center;
	padding: 3px;
	box-sizing: border-box;
	background: #ead8d8;
	margin: 0 auto;
	margin: 20px auto;
}
@media screen and (max-width: 570px){
	.hisw:after{
		left: 9px;
	}
	.his article{
		width: calc(100% - 30px);
		box-sizing: border-box;
		display: block;
		margin: 0 0 0 30px;
	}
	.his article:before{
		top: 11px !important;
		left: -24px !important;
	}
	.his article:after{
		transform: rotate(45deg) !important;
		top: 10px !important;
		left: -6px !important;
	}
	.hisclear{
		max-width: none;
	}
}


/*----------------*/

.about #s2 article{
	max-width: 900px;
	margin: 0 auto 60px;
}
.about #s2 dl:nth-of-type(1){
	border-top: 1px solid #d4d4d4;
}
.about #s2 dl{
	display: table;
	table-layout: fixed;
	width: 100%;
	border-bottom: 1px solid #d4d4d4;
}
.about #s2 dl>*{
	display: table-cell;
	vertical-align: middle;
	padding: 10px 10px;
}
.about #s2 dt{
	width: 180px;
	background: #F5F1F1;
}
.about #s2 .pcnone2 img{
	display: block;
	max-width: 500px;
	margin: 0 auto;
	width: 100%;
}

@media screen and (max-width: 630px){
	.about #s2 dl{
		display: block;
		border-bottom: 1px solid #d4d4d4;
	}
	.about #s2 dl>*{
		display: block;
		padding: 10px 5px;
	}
	.about #s2 dt{
		width: auto;
		border-bottom: 1px dotted #d4d4d4;
	}
}

#s2 article .more{
	font-size: 1.3rem;
	margin-bottom: 10px;
}
#s2 article .more a{
	font-size: 1.1rem;
	line-height: 1.5;
	padding: 2px 15px;
	margin-left: 10px;
	position: relative;
	top: -2px;
}
@media screen and (max-width: 650px){
	#s2 article .more a{
		margin-left: 5px;
	}
	#s2 article .more{
		margin-bottom: 5px;
	}
}

#mission{
	width: 100%;
	overflow: hidden;
	margin-bottom: 60px;
}
#mission ul{
	width: 300%;
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
}
#mission li{
	width: calc(100% / 3);
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	flex-grow: 1;
	align-items: center;
}
#mission li:nth-of-type(even){
	flex-direction: row-reverse;
}
#mission li>div{
	flex-grow: 1;
	width: 50%;
}
#mission li>div:nth-of-type(1){
	min-height: 380px;
	height: calc(50vw * 0.4);
}
#mission li>div:nth-of-type(2){
	padding: 0 3%;
	box-sizing: border-box;
}
#mission li:nth-of-type(1)>div:nth-of-type(1){
	background: url(../images/about/mission01.jpg) 50% 50% no-repeat;
	background-size: cover;
}
#mission li:nth-of-type(2)>div:nth-of-type(1){
	background: url(../images/about/mission02.jpg) 50% 50% no-repeat;
	background-size: cover;
}
#mission li:nth-of-type(3)>div:nth-of-type(1){
	background: url(../images/about/mission03.jpg) 50% 50% no-repeat;
	background-size: cover;
}
#mission h3{
	padding: 0;
	text-align: center;
	position: relative;
	height: 80px;
	color: #a4070a;
}
#mission h3 i{
	font-size: 4rem;
	line-height: 3rem;
	position: absolute;
	top: 0;
	left: -11%;
	font-style: normal;
	font-family: "微软雅黑" , Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
	letter-spacing: 5px !important;
}
#mission li:nth-of-type(even) h3 i{
	right: -11%;
	left: auto;
}
#mission h3 span{
	display: block;
	font-size: 1.5rem;
	color: #333;
}
#mission p{
	line-height: 1.7 !important;
	font-family:"微软雅黑" ,  Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
	font-size: 2.2rem;
	padding-bottom: 20px;
}
#mission li:nth-of-type(even) p{
	text-align: right;
}

#mind{
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
}
#mind ul{
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-around;
	width: 100%;
}
#mind li{
	width: 18%;
	display: block;
	box-sizing: border-box;
	padding: 20px 20px 50px;
	background: #a4070a;
	color: #fff;
	position: relative;
	z-index: 1;
}
#mind li *{
	position: relative;
	z-index: 1 !important;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
}
#mind li:after{
	position: absolute;
	bottom: 10px;
	right: 20px;
	font-family:"微软雅黑" ,  Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
	font-size: 10rem;
	line-height: 1;
	color: rgba(255,255,255,0.1);
	z-index: 0;
}
#mind li div{
	width: 90%;
	margin: 0 auto;
}
#mind li h3{
	font-size: 4rem;
	padding: 0;
}
#mind li h3 span{
	display: block;
	font-size: 1.8rem;
}
#mind li p{
	line-height: 1.7 !important;
}

@media screen and (max-width: 600px){
	#mission{
		margin-bottom: 40px;
	}
	#mission ul{
		display: block;
	}
	#mission li{
		display: block;
	}
	#mission li>div{
		width: 100%;
	}
	#mission li>div:nth-of-type(1){
		min-height: 100px;
		height: calc(100vw * 0.2);
		margin-bottom: 20px;
	}
	#mission li>div:nth-of-type(2){
		padding: 0;
	}
	#mission li:nth-of-type(3)>div:nth-of-type(1){
		background: url(../images/about/mission03.jpg) 50% 40% no-repeat;
		background-size: cover;
	}
	#mission h3{
		height: auto;
	}
	#mission h3 i{
		font-size: 3rem;
		line-height: 3rem;
		position: static;
		top: auto;
		left: auto;
	}
	#mission li:nth-of-type(even) h3 i{
		right: auto;
	}
	#mission h3 i:after{
		width: 100px;
		transform: rotate(-45deg) !important;
		position: absolute;
		top: 18px;
		left: calc(50% - 50px);
	}
	#mission p{
		font-size: 1.45rem;
		margin-bottom: 0;
		text-align: center !important;
	}
}
@media screen and (max-width: 1000px){
	#mind ul{
		display: block;
		overflow: hidden;
	}
	#mind li{
		width: 32%;
		display: block;
		float: left;
		margin: 0 0.66666% 10px;
	}
}
@media screen and (max-width: 700px){
	#mind ul{
		display: block;
		overflow: hidden;
	}
	#mind li{
		width: 48%;
		display: block;
		float: left;
		margin: 0 1% 10px;
		padding: 5px 5px 80px;
	}
	#mind li p{
		height: 11rem;
	}
}
