@charset "utf-8";

img{
	-webkit-backface-visibility: hidden;
	backface-visibility:hidden;
}

html , body{
	width:100%;
	height:100%;
	font-family: 'Hiragino Sans','ヒラギノ角ゴシック','メイリオ', Meiryo,YuGothic,'Yu Gothic','ＭＳ Ｐゴシック','MS PGothic','Avenir','Helvetica Neue','Helvetica','Arial',sans-serif;
	-webkit-font-smoothing: antialiased;
}

html{position: relative;overflow-y: scroll;font-size: 625%;}
body{
	position: relative;
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	color: #000000;
	text-align: center;
	font-size: .16em; line-height: 1.625em;
	font-feature-settings: "halt" 1;
}

section{
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 0 0 8% 0;
}
#wrap{position: relative;width: 100%; margin:0 auto; padding: 0;}

#totop {
	width: 12%;
	position: fixed;
	bottom: 0;
	right: 1%;
	display:none;
	z-index:10;
}

.contents-inner{
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 90%;
}

#main-contents{
	position: relative;
	margin: 60px auto 0 auto;
}

.clearfix:after {
	content: "."; 
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
.clearfix {min-height: 1px;}
* html .clearfix {
	height: 1px;
	/*ﾂ･*//*/
	height: auto;
	overflow: hidden;
	/**/
}

.both{clear:both;}

a:link {color: #4187c7;text-decoration: none; }
a:visited {color: #4187c7;}
a:hover {color: #4187c7; opacity:.7;transition: all .3s ease-out;}
.flexbox{
	position: relative;
	margin: 0 auto;
	display:-webkit-box;
	display:-webkit-flex;
	display:-ms-flexbox;
	display:flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.flexbetween{justify-content: space-between;}
.flexaround{justify-content: space-around;}
.flexcenter{justify-content:center;}
.flexend{justify-content:flex-end;}
.flexstart{justify-content:flex-start;}
.flexaligncenter{align-items: center;}
.flexalignstart{align-items: flex-start;}
.flexalignend{align-items: flex-end;}
.flexstretch{align-content: stretch;}
.flexbox .box{
	position: relative;
    margin: 0;
    width: 100%
}


/* chrome opera */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
	img {
		image-rendering: -webkit-optimize-contrast;
	}
}
/* safari*/
::-webkit-full-page-media, :future, :root img{
	image-rendering:auto;
}

/* indexボタン用 */
a.btn{
	position: relative;
	margin: 4% auto;
	padding: .2em;
	width: 60%;
	border: solid 3px #e2df41;
	background-color: #ffffff;
	/*background-image: linear-gradient(to right, rgba(255,255,255,0) 50%, rgba(226,223,65,1) 50%) !important;*/
	background-position: 0 0;
	background-size: 200% auto;
	transition: all 0.16s ease-out;
	display: block;
	color: #434343;
}

.nodisp{
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	height: 0;
}
.right{
	text-align: right;
}
.left{
	text-align: left;
}
img{max-width: 100%;height: auto;}

.sp{ display: block; }
.pc{ display: none; }

/* header */
header{
	position: fixed;
	top:0;
	left: 0;
	display: block;
	width: 100%;
	height: 60px;
	border-top: solid 5px #759458;
	border-bottom: solid 1px #efefef;
	z-index: 99;
	background-color: #ffffff;
}
header h1{
	position: relative;
	margin: 5px 0;
}
header h1 a{
	display: block;
	width: 40%;
	height: 50px !important;
	background-image: url("../img/common/logo.png");
	background-repeat: no-repeat;
	background-size: 98% auto;
	background-position: 100% 50%;
}
/* navigation */
nav{
	position: fixed;
	margin: 0 0 0 calc( 100% + 20px );
	height: 100vh;
	width: calc( 100% + 20px );
	z-index: 9;
	transition: all .3s ease-out;
	overflow-y: auto;
}
nav ul{
	position: relative;
	margin: auto;
	width: 100%;
	text-align: left;
}
nav ul li{
	position: relative;
	margin: 0;
	padding: 10px 0;
	width: 100%;
	border-bottom: solid 1px #a0a0a0;
}
nav ul li:last-child{border-bottom: none;}
nav ul li a, nav ul li p{ color: #000000 !important; display: inline-block; padding-left:4%; width: 74%;}
nav ul li.contact, nav ul li.tel{text-align: center;border-bottom: none;padding-left:0 !important;padding: 10px 0 0 0;}
nav ul li.contact img, nav ul li.tel img{ width: 90%;}
nav ul li ul {
  position: fixed;
  z-index: 12;
  top: 148px;
  left: 0;
  display: none;
  height:0;
  width: 100%;
  opacity:0;
  padding: 0;
  background-color: #ffffff;
}
span.menuArrow {text-align: center;margin-left: 10%;}
span.menuArrow img {
  position: relative;
  display: inline-block;
  width: 4%;
}
.closeSub{ display: none !important;}
.openSub {
	position: relative !important;
	top:auto !important;
	width:100% !important;
	height:auto !important;
	display:block !important;
	overflow: visible;
	opacity: 1 !important;
	margin-bottom: 1em;
}
.openSub li {border-top: none !important; padding-left: 2em;}
.openSub li a{font-size: .13rem !important;}


.spMenu{
	margin: 0 auto 0 0;
	background-color: #ffffff;
}
.menu-trigger:hover{ cursor: pointer; }
.menu-trigger,
.menu-trigger span {
	display: inline-block;
	transition: all .2s;
	box-sizing: border-box;
}
.menu-trigger {
	position: absolute;
	top:20px;
	right: 10px;
	width: 30px;
	height: 22px;
}
.menu-trigger span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #759458;
	border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {top: 0;}
.menu-trigger span:nth-of-type(2) {top: 10px;}
.menu-trigger span:nth-of-type(3) {bottom: 0;}
.menu-trigger.active span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2) {opacity: 0;}
.menu-trigger.active span:nth-of-type(3) {
	-webkit-transform: translateY(-10px) rotate(45deg);
	transform: translateY(-10px) rotate(45deg);
}

/* footer */
footer{
	position: relative;
	background-image:url("../img/common/footer_background.jpg");
	padding: 5% 0 0 0;
	margin: 0 auto;
	font-size: .14rem;
	color: #000000;
	text-align: left;
	box-shadow:0px 12px 16px -10px rgba(0,0,0,0.3) inset;
}

footer p.companyname{
	position: relative;
	margin: auto;
	display: block;
	width: 96%;
	height: 30px !important;
	padding-bottom: 3%;
	background-image: url("../img/common/logo.png");
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: 5% 0;
	border-bottom: solid 1px #759458;
}
footer p.copyright{
	width: 100%;
	font-size: .12rem;
	text-align: center;
	margin: 2em auto 0 auto;
	padding-top: 1.5em !important;
	border-top: dotted 1px #759458;
}
footer ul{
	position: relative;
	margin: 1% auto;
	width: 96%;
}
footer ul li{
	position: relative;
	padding: 2px 0 2px 4em;
}
footer ul li a{ color: #759458 !important;}
footer ul li ul li{padding: 2px 0 2px 1.4em;}
footer .address{
	padding-left: 10%;
}

/* パンくず */
ul.navigation{
	position: relative;
	margin: 4% 0;
	width: auto;
	text-align: left;
}
ul.navigation li{
	position: relative;
	width: auto;
	margin: 0;
	display: inline-block;
	font-size: .12rem;
	color: #9fbfdf;
}
ul.navigation li a, ul.navigation li span{color: #acacac;}
ul.navigation li a:after, ul.navigation li span:after{
	position: relative;
	content: ' ＞';
	color: #acacac;
}
/* access */
.access{
	position: relative;
	margin: 0 auto;
	padding: 8% 0;
}
.access h2{
	position: relative;
	margin: 4% auto;
	width: 100%;
	height:0;
	padding-top: 18%;
	background-image: url("../img/common/access.png");
	background-size: 50% auto;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.access ul{
	position: relative;
	margin: 0 auto;
}
.access .ttl{
	font-weight: bold;
	border-bottom: 1px solid #000000;
	margin-top: 10px;
}
.access ul li p {
	padding: 0 10px 0 10px;
	text-align: left;
}
.access ul li{
	position: relative;
	margin: 10% auto;
	padding: 0 2%;
}
.access .tel {
	font-size: .24rem;
	font-weight: bold;
	margin: 2% auto;
}
/* NEWS */
iframe#parentframe { 
	width: 100%;
	background-color: #f2f2cc;
}
.newsList {
	position:relative;
	margin: 0 auto;
	width: 100%;
	background-color: #f2f2cc;
	
}
.newsList li{
	position:relative;
	display:-webkit-box;
    display:-webkit-flex;
    display:-ms-flexbox;
    display:flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	border-bottom: dotted 1px #d9d9d9;
	padding: .5em 0; 
	text-align: left;
	margin: 0 auto 10px auto;
	padding-bottom: 5px;
}

.newsList li:last-child{
	border-bottom: none;
}
.newsList li span{
	position: relative;
	display:block;
	margin:0;
	width:calc(100% - 12em);
}
.newsList li a{ 
	position: relative;
	display:block;
	margin:0;
	width:calc(100% - 12em);
}

.newsall{
	position: relative;
	display: block;
	width: calc(100% - 30px);
	max-width: 1050px;
	margin: 0 auto 0 0;
	text-align: right;
}
.newsall a{
	color: #759458;
	padding-right: 30px;
	background-image: url("../img/common/arrow.png");
	background-repeat: no-repeat;
	background-position: 100% 50%;
	background-size: auto 5px;
}
.cat{
	width: 5em !important;
	display: block;
	color: #fff !important;
	font-size: .12rem;
	text-align: center;
	font-weight: 500;
	border-radius: 5px;
}
/* category */
/* 
cat01 == お知らせ
cat02 == イベント
cat03 == 採用
cat04 == その他
*/
.cat01{background-color:#f29544;}
.cat02{background-color:#b5789a;}
.cat03{background-color:#658ff2;}
.cat04{background-color:#77a841;}

.new {
	color: #ff0000;
	font-weight: bold;
}
/* ----- フェードイン ----- */
.fadein {
    opacity : 0;
    transform : translate(0, 50px);
    transition : all 300ms;
}
.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}
/* ----- pc ----- */
@media screen and (min-width: 641px) {
	.sp{ display: none; }
	.pc{ display: block; }
	
	body{font-size: .14em; line-height: 1.5em;}
	
	#wrap{min-width:1024px;}
	
	#totop {
		width: 50px;
		height:50px;
		bottom: 10px;
		right: 10px;
	}
	#totop img:hover{cursor: pointer;opacity: .6;transition: all .3s ease-out;}
	
	.contents-inner{width: 990px !important;}
	#main-contents{margin: 0 auto;}
	section{padding: 0;}
	.flexbox .box{width: 50%;}
	/* indexボタン用 */
	a.btn{
		margin: 20px auto;
		width: 200px;
		font-weight: bold;
		font-size: .18rem;
		margin: 30px 0 30px 70px;
	}
	a.btn:hover{
		cursor: pointer;
		background-position: -100% 0;
		opacity: 1;
	}
	
	/* header */
	header{
		position: relative;
		top:auto;
		left: auto;
		height: auto;
		border-bottom: none;
		vertical-align: top;
		min-width: 1024px;
	}
	.header{
		position: relative;
		margin: 0 auto 20px auto;
		width: 1024px;
		display: block;
		padding: 0;
		text-align: left;

	}
	header h1{
		margin: 20px 0 0 0;
		display: inline-block;
		vertical-align: top;
		padding: 0;
	}
	header h1 a{background-size: contain; background-position: 0 0; width: 437px; height: 98px;}
	
	ul#nav01{
		position: relative;
		margin: 20px auto 0 0;
		width: calc( 100% - 442px );
		display: inline-block;
		text-align: right;

	}
	ul#nav01 li{ display: inline-block;}
	ul#nav01 li.contact img{ width: 140px;vertical-align:bottom;margin-left: 20px;}
	ul#nav01 li.tel img{ width: 160px;vertical-align:baseline;}

	/* navigation */
	nav{
		position: relative;
		margin: 10px auto 10px auto;
		height: auto;
		width: 1024px;
		display: block;
		overflow-y: hidden;
	}
	/*nav ul{
		width: auto;
		height: auto;
		display:-webkit-box;
		display:-webkit-flex;
		display:-ms-flexbox;
		display:flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		justify-content: space-around;
		text-align: center;
	}
	nav ul li{
		width: auto;
		padding: 0 32px;
		line-height: 40px;
		border-bottom: none;
		border-left: solid 1px #b3b3b3;
		font-size: .16rem;
	}*/
	nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  box-sizing: border-box; /* ← これもあると安全 */
  overflow-x: hidden;     /* ← スクロールバー防止 */
}

/* nav ul li を均等割り（7分割） */
nav ul li {
  flex: 1 1 0;
  text-align: center;
  line-height: 40px;
  font-size: .16rem;
  padding: 0;
  border-left: 1px solid #b3b3b3;
  box-sizing: border-box; /* ← 必須！！ */
  min-width: 0;            /* ← 折り返さず中身を収めるため */
	border-bottom: none;
}

/* 最初の li の border-left は不要なら外す */
nav ul li:first-child {
  border-left: none;
}
	
	nav ul{border-right: solid 1px #b3b3b3;}
	nav ul li:not(.home) a, nav ul li p{
		position: relative;
		display: inline;
		width:auto;
		height: auto;
		padding: .5em 1.5em;
		background-image: linear-gradient(to right, rgba(255,255,255,0) 50%, rgba(117,148,88,1) 50%);
		background-position: 0 0;
		background-size: 200% auto;
		transition: all 0.16s ease-out;
	}
	nav ul li:not(.home) a:hover{opacity: 1;}
	
	/*nav ul li.home a{
		position: relative;
		display: block;
		width: 32px;
		height: auto;
		background-image: url("../img/common/home.svg");
		background-size: 32px 27px;
		background-repeat: no-repeat;
		background-position: 50%;
	}*/
	nav ul li.home a {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url("../img/common/home.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  margin: 0 auto; /* ← これがポイント！中央寄せ */
}
	nav ul#nav02 li:not(.home):hover > a, nav ul#nav02 li:not(.home):hover > p, nav ul#nav02 li a.hover, nav ul#nav02 li p.hover{
		cursor: pointer;
		background-position: -100% 0;
		color: #ffffff !important;
	}
	
	span.menuArrow { display: none; }
	nav ul li ul{
		top:auto;
		left: auto;
		background-color: #4187c7;
		padding: 10px 0;
		border-right: none;
	}
	nav ul li ul li {
		position:relative;
		display: block;
		padding: 10px;
		margin: 0;
		border-left: none;
		text-align: left;
	}
	nav ul li:hover > ul {
		width:auto;
		height:auto;
		display:block;
		overflow: visible;
		opacity: 1;
	}
	nav ul li ul li:last-of-type {margin: 0;}
	nav ul li ul li a{
		padding: 0 10px;
		color: #ffffff !important;
		background-image: linear-gradient(to right, rgba(255,255,255,0) 50%, rgba(12,75,132,1) 50%) !important;
		background-position: 0 0;
		background-size: 200% auto;
		transition: all 0.16s ease-out;
	}
	
	
	/* footer */
	footer{padding: 40px 0 20px 0;
		text-align: center;
		vertical-align: top;
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 100% auto;
	}
	footer .footerNav{
		position: relative;
		display: inline-block;
		width: 900px;
		margin: -100px 0 0 0;
		text-align: left;
	}

	footer ul.menu{
		width: auto;
		height: auto;
		display:-webkit-box;
		display:-webkit-flex;
		display:-ms-flexbox;
		display:flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		justify-content: space-around;
		text-align: center;
		margin: 20px 0 40px 0;
		
	}
	.footerNav .menu ul li{
		width: auto;
		padding: 0 20px;
		line-height: 40px;
		border-bottom: none;
		font-size: .16rem;
	}

	
	/* パンくず */
	ul.navigation{margin: 0 0 80px 20px;}
	
	/* access */
	.access{
		padding-top: 0;
	}
	.access .contents-inner{
		margin: -10px auto 0 auto;
		padding-top: 30px;
	}
	.access h2{
	position: relative;
	margin: 4% auto;
	width: 100%;
	height:0;
	padding-top: 18%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
	.access ul li{
		display: inline-block;
		width: 430px;
		vertical-align: top;
		margin-top: 0;
		padding: 0 10px;
		text-align: left;
	}
	.access .ttl{
	margin-top: 30px;
}
	.access p{margin: 0 0 0 30px;
		line-height: 1.750em;
		font-size: .16rem;}
	
	/* NEWS */
	.newsList{
		position: relative;
		margin: 0 auto;
		padding: 50px auto 0 auto;
		width: 600px;
		display: inline-block;
		vertical-align: middle;

	}
	.newsList li{border-bottom: solid 1px #d9d9d9;
		padding: .5em 0 .5em .8em;
		text-align: left;
	}
	.newsList li:last-child{
		border-bottom: none;
	}
	.newsList li span{
		display: inline-block;
		padding-right: 20px;
	}
	.newsList li a{ display: inline-block;
		text-decoration: none;
		color: #4187c7;
	}
	.newsList {
		margin: 0 auto;
		width: 880px;
	}
	.newsList li {padding-bottom: 10px;}
	.newsList li a, .newsList li span{width:calc(100% - 13em);}
	.newsList li .cat{margin-right: 1em;}
	.newsall a{
		padding-right: 50px;
		background-size: auto 8px;
	}
}