@charset "utf-8";
/* CSS Document */

/*ヘッダーバー
---------------------------------------------*/
#menu-box #header{
	padding-left: 10px;
	padding-right: 10px;
	height: 49px;
	}
	#menu-box #header #header_logo{
		margin-top: 13px;
	}
	#header h1 img{
		width:240px;
		margin-bottom:10px;
	}
.inner{
	height: 50px;
	background-color: #bda571;
	position:relative;
}


/*ハンバーガーメニュー
---------------------------------------------*/
#menu{
	display: none;
	background-color: #F8F8F5;
}
#menu li{
	box-sizing: border-box;
}
#menu #g_menu01 a{
	display: block;
	position: relative;
	text-decoration: none;
	color: #333;	
	padding-top: 18px;
	padding-bottom: 18px;
	padding-left: 50px;
	background-size: 30px;
	background-color: #f8f8f8;
	background-position: 10px center;
	background-repeat: no-repeat;
	border-bottom: 1px solid #ddd;
	}
	#menu li a::after{
		display: block;
		position: absolute;
		right: 5px;
		top: 50%;
		content: url(../images/greenlink_icon.png);
		margin-top: -12px;	
	}


/*ハンバーガーボタン
---------------------------------------------*/
#toggle {
	display: none;
    position: absolute;
    right: 8px;
    top: 0px;
    width: 22px;
    height: 28px;
    margin-top: 8px;
    padding-left: 5px;
    padding-right: 5px;    
    padding-top: 4px;
	border: 1px solid #fff;
	z-index: 101;
	cursor: pointer;
}
#toggle div {
    position: relative;
}
#toggle span {
    display: block;
    position: absolute;
	width: 100%;
    height: 3px;   
    background: #fff;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#toggle span:nth-child(1) { top: 0; }
#toggle span:nth-child(2) { top: 10px; }
#toggle span:nth-child(3) { top: 20px; }
#toggle { display: block; }


/* ハンバーガーボタン・切り替えアニメーション
---------------------------------------------*/
.open #toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
}
.open #toggle span:nth-child(2) {
    width: 0;
    left: 50%;
}
.open #toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
}
.contents{
	margin-left: 10px;
	margin-right: 10px;
	padding-bottom: 40px;
	position: relative;
}


/*スクロールすると下から出てくるメニュー
---------------------------------------------*/
#bottom_nav_bg{
	position: fixed;
	width:100%;
	bottom: 0px;
	left:0px;
	border-top: 1px solid #ddd;
	z-index:500;	
}
#bottom_nav{
	-js-display: flex;/*IE8でもdisplay: flexが使えるようＪＳ用に追加する命令 */
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	background-color: #FFF;
}
#bottom_nav li{
	-webkit-flex-grow:1; /* Safari */
	flex-grow:1;
	padding: 10px 0 0;
	}
	#bottom_nav li:first-child {
	}
	#bottom_nav li:nth-child(2){
		display: block;	
		border-left: solid 1px #eee;
	}
	#bottom_nav li:nth-child(3){
		border-left: solid 1px #eee;
	}
	
#bottom_nav li img{
	max-width:70px;
}

#bottom_nav li a{
	display: block;
	padding-left: 10px;
	text-decoration: none;
	color: #fff;
	text-align: center;
	font-size:0.9em;
}

#bottom_nav li span {
    display: block;
    padding-top: 20px;
	padding-bottom: 20px;
}


/*★効果
---------------------------------------------*/
/*フェードイン
---------------------------------------------*/
.inviewfadeIn_Leave{
	opacity: 0;
    transition: 3s;/*変化時間*/
}
 
.fadeIn {
	opacity: 1.0;
}


/*フェードインしながら上へスライド
---------------------------------------------*/
.inviewfadeInUp {
	opacity: 0;
    transform: translate(0, 30px);
    -webkit-transform: translate(0, 30px);
    transition: 1s;
}

.fadeInUp {
	opacity: 1.0;
    transform: translate(0, 0);
    -webkit-transform: translate(0, 0);
}


