@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: #444444;text-decoration: none; }
a:visited {color: #444444;}
a:hover {color: #444444; opacity:.7;transition: all .3s ease-out;}

/* 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;
}

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 2px #4187c7;
	border-bottom: solid 1px #efefef;
	z-index: 99;
	background-color: #ffffff;
}
header h1{
	position: relative;
	margin: 5px 0;
}
header h1 a{
	display: block;
	width: 70%;
	height: 50px !important;
	background-image: url("../img/common/logo01.svg");
	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.tel, nav ul li.mbr{text-align: center;border-bottom: none;padding-left:0 !important;padding: 10px 0 0 0;}
nav ul li.tel img, nav ul li.mbr 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: #4187c7;
	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-color: #4187c7;
	padding: 5% 0;
	margin: 0 auto;
	font-size: .14rem;
	color: #ffffff;
	text-align: left;
}
footer a{color: #ffffff;}
footer p.companyname{
	position: relative;
	margin: auto;
	display: block;
	width: 96%;
	height: 30px !important;
	padding-bottom: 3%;
	background-image: url("../img/common/logo.svg");
	background-repeat: no-repeat;
	background-size: auto 70%;
	background-position: 10% 0;
	border-bottom: solid 1px #ffffff;
}
footer p.copyright{
	width: 96%;
	font-size: .12rem;
	text-align: center;
	margin: 2em auto 0 auto;
	padding-top: 1.5em !important;
	border-top: dotted 1px #ffffff;
}
footer ul{
	position: relative;
	margin: 1% auto;
	width: 96%;
}
footer ul li{
	position: relative;
	padding: 2px 0 2px 1em;
}
footer ul li a{ color: #ffffff !important;}
footer ul li ul li{padding: 2px 0 2px 1.4em;}
footer .footerBanner{
	position: relative;
	margin: 6% auto;
	text-align: center;
	width: 70%;
}

/* パンくず */
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;
}

/* ----- 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;}
	
	/* 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: 54.5px;}
	
	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.tel img{ width: 325px;}
	ul#nav01 li.mbr img{ width: 90px;}

	/* 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 20px;
		line-height: 40px;
		border-bottom: none;
		border-left: solid 1px #b3b3b3;
		font-size: .16rem;
	}
	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(65,135,199,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#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;}
	footer .footerNav{
		position: relative;
		display: inline-block;
		width: 550px;
		text-align: left;
	}
	footer ul.menu{margin: 20px 0 0 20px;width: 250px; display: inline-block; vertical-align: top;}
	footer .footerBanner{
		position: relative;
		display: inline-block;
		width: 470px;
		margin: 0 auto;
		vertical-align: top;
	}
	footer .footerBanner img{width: 240px; margin-bottom: 10px;}
	
	/* パンくず */
	ul.navigation{margin: 0 0 80px 20px;}
}