@charset "utf-8";

/* Contents
 * ****************************
 *
 * 1: general style
 * 2: body
 * 3: container
 * 4: header
 * 5: content
 * 6: navi
 * 7: footer
 *
 * ****************************
 */


/*
======= 1: general style =======
*/
* {
	margin: 0;
	padding: 0;
	font-style: normal;
	outline: none;
}

html {
	width: 100%;
	height: 100%;
	font-size: 10px;
}

/*
======= 2: body =======
*/
body {
	color: #333;
	min-width: 1080px;
	height: 100%;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ","Meiryo",Verdana,Arial,Helvetica,sans-serif,"ＭＳ Ｐゴシック", "MS PGothic","Osaka－等幅";
	font-size: 1.4rem;
	line-height: 1.6;
	letter-spacing: -0.05rem;
	background: #CCC;
}


/*
======= 3: container =======
*/
#container {
	max-width: 1080px;
	margin: 0 auto;
	padding-bottom: 66px;
	background: #FFF;
}
#container h2 {
	font-size: 21px;
}
#pageIndex #container {
	padding-bottom: 0;
}
.innerContent {
	width: 880px;
	margin: 0 auto;/*0 auto 60px*/
	margin-bottom: 0px;
}
#pageServices.pageServices .innerContent,
#pageCompany.pageCompany .innerContent,
#pageAbout.pageAbout .innerContent,
#pageContact.pageContact .innerContent,{
	margin: 0 auto 60px;
}

/*
======= 4: header =======
*/
header {
	width: 1080px;
	height: 130px;
	margin: 0 auto;
	position: relative;
	background: #FFF;
}
.header_bg:before {
	content:'';
	position: absolute;
	top: 0;
	left: 0%;
	display: block;
	width: 100%;
	min-height: 40px;
	background: #66a9da;
}
#logo {
	position: absolute;
	top: 52px;
	left: 39px;
	z-index: 9999;
}


/*
======= 5: content =======
*/

/*
======= 6: navi =======
*/
/* [nav] ----------*/
nav > ul {
	position: absolute;
	top: 72px;
	width: 1080px;
    display: -webkit-flex;
	display: -ms-flexbox;
    display: flex;
	-ms-flex-pack: end;
	justify-content: flex-end;
	box-sizing: border-box;
}
nav > ul > li {
	margin: 0 20px 0 20px;
	padding-bottom: 12px;/*6*/
}
nav ul li > a {
	position: relative;
	padding: 0 10px 24px 8px;
	color: #333;
	text-align: center;
	display: inline-block;
}

/* [subNav / thirdNav] ----------*/
.subNav,
.thirdNav {
	opacity: 0;
	top: 100%;
	right: 0;
	height: 0;
	visibility: hidden;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
	transition-delay: .3s;
	position: absolute;
	padding: 0 30px;
	width: 1020px;
	background: #F2F2F2;
    display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	justify-content: flex-end;
	z-index: 999;
}
li.gnServices:hover > .subNav {
	height: 40px;
	visibility: visible;
	opacity: 1;
	transition-delay: 0;
}
.subNav > a,
.thirdNav > a {
	opacity: 0;
	visibility: hidden;
	-webkit-transition: all .2s ease;
	transition: all .2s ease;
	transition-delay: 0;
}
li.gnServices:hover > .subNav > a {
	visibility: visible;
	opacity: 1;
	transition-delay: .5s;
}
.subNav li,
.thirdNav li {
	padding: 9px 0;
}
.subNav > li > a,
.thirdNav > li > a {
	display: flex;
	padding: 0;
	color: #333 !important;
	border-bottom: none !important;
}
.subNav > li:not(:first-child),
.thirdNav > li:not(:first-child) {
	margin-left: 50px;
}
/* thirdNav */
.thirdNav {
	top: 40px;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
	background: #FFF;
	z-index: 1000;
	transition-delay: 0;
}
.lnServices:hover > .thirdNav {
	height: 40px;
	visibility: visible;
	opacity: 1;
}
.lnServices:hover > .thirdNav > a {
	visibility: visible;
	opacity: 1;
	transition-delay: .5s;
}

/* [hNav] ----------*/
#hNav {
	position: absolute;
	right: 39px;
	top: 7px;
}
#hNav li {
	color: #FFF;
	float: left;
	margin-left: 10px;
}
#hNav li:last-child {
	margin: 3px 0 0 30px;
}
/* [fNav] ----------*/
#fNav {
}
#fNav li {
	float: left;
	margin: 0 30px 0 0;
}
#fNav li:last-child {
	margin: 0;
	padding-left: 30px;
	border-left: 1px solid #FFF;
}
/**/
#hNav li a,
#fNav li a {
	color: #FFF;
}

/* [navigation a:hover] ----------*/
nav ul > li > a:hover,
nav ul > li:hover > a,
#pageIndex li.gnIndex > a,
#pageCompany li.gnCompany > a,
#pageAbout li.gnAbout > a,
#pageServices li.gnServices > a,
#pageContact li.gnContact > a {
	color: #00882f;
}
/*nav > ul > li > a:hover:before,
nav > ul > li:hover > a:before,*/
#pageIndex li.gnIndex > a:before,
#pageCompany li.gnCompany > a:before,
#pageAbout li.gnAbout > a:before,
#pageServices li.gnServices > a:before,
#pageContact li.gnContact > a:before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -6px;/*線の上下位置*/
	display: inline-block;
	width: 100px;/*線の長さ*/
	height: 6px;/*線の太さ*/
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);/*位置調整*/
	background-color: #00882f;

}
.subNav li  a:hover,
#pageServices.pageServices .subNav > li.lnServices > a {
	color: #00882f !important;
}


/* [breadcrumbs] ----------*/
#breadcrumbs {
	margin: 10px 0 35px 39px;
	color: #666;
	font-size: 1.3rem;
}
#breadcrumbs li {
	display: inline-block;
	letter-spacing: normal;
}
#breadcrumbs li + li:before {
	content: "＞";
	display: inline-block;
	padding: 0 0.5rem;
}
#breadcrumbs li a {
	color: inherit;
	position: relative;
	display: inline-block;
	line-height: 1.5;
}

/* [btnPagetop] ----------*/
#btnPagetop {
	float: right;
	margin-bottom: 45px;
}

/*
======= 7: footer =======
*/
footer {
	width: 1002px;
	margin: 0 auto;
	padding: 20px 39px 0;
	background: #66a9da;
	color: #FFF;
}
.fContents {
	float: left;
}
.fContents:nth-child(2) {
	float: right;
}
.fContents small {
	float: right;
	margin: 20px 0 5px;
}