/*****グローバルメニュー****/
#menu{
	width: 100%;
	margin: 10px auto;/*７*/
	background: #fff;
	opacity:0.98; /* 55％不透明度(＝45％透過) */
	max-width:1200px;
}
#menu-inner{
	width: 98%;/*１*/
	height: inherit;/*２*/
	margin: auto;
	background: #fff;/*８*/
	background-color: #717171;
	float: right;
	max-width:1200px;
}
#menu-btn{display: none;}
#menu-content{
    padding-left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    list-style-type: none;
	max-width:1200px;
}
#menu-content > li{
    position: relative;
    float: left;
    height: 100%;
    text-align: center;
}
#menu-content > li > a{
	position: relative;
	display: block;
	height: 100%;
	padding-left: 15px;/*３*/
	padding-right: 15px;/*３*/
	line-height: 40px;/*２*/
	background: #444;/*９*/
	color: #fff;/*10*/
	font-size: 70%;
	text-decoration: none;
	z-index: 2;
}
#menu-content > li > a:hover{
	color: #fff;
	text-shadow: -1px -1px 1px #FFF;
}
#menu-content > li > a > .blogicon-chevron-down{margin-right: 5px;}
/*２階層目*/
#menu-content > li > ul.second-content{
    visibility: hidden;
    position: absolute;
    top: 0;
    margin: 0;
    padding-left: 0;
    list-style-type: none;
    z-index: -1;
}
#menu-content > li:hover > ul.second-content{
    visibility: visible;
    top: 40px;/*2*/
    z-index: 1;
    transition: all .3s;
}
#menu-content > li > ul.second-content > li{
    text-align: center;
    width: 200px;/*４*/
    height: 40px;/*５*/
}
#menu-content > li > ul.second-content > li > a{
    display: block;
    line-height: 40px;/*５*/
    background: #444;/*13*/
    color: #fff;/*14*/
    font-size: 70%;
    text-decoration: none;
}
#menu-content > li > ul.second-content > li > a:hover{
    background: #555;/*15*/
    color: #fff;/*16*/
}



/******PCメイン*******/
#site-box {    }


#a-box {
	width: 98%;
	height: auto;
	float: inherit;
	max-width: 1200px;
	margin: auto;
  }


#pcb-box {
	float: left;
	width: 48%;
	height: auto;
	background: 50%;
	margin-left: 5px;
	max-width: 600px;
 }


#pcc-box {
	float: right;
	width: 48%;
	height: auto;
	max-width: 600px;
 }


#d-box {  	width: 98%;
	height: auto;
	float: inherit;
	max-width: 1200px;
	margin: auto;  }
	
	#e-box {
	width: 48%;
	height: auto;
	float: left;
	max-width: 600px;
	margin: auto;
}
	#pcce-box {
	float: right;
	width: 48%;
	height: auto;
	max-width: 600px;
 }

#center {
	width: 95%;
	left: inherit;
	    }

#spb-box {
	display:none;
	}
	
#spc-box {
	display:none;
	}	

/******PCメインここまで*******/


/*******トグルメニュ*********/
@media screen and (max-width:960px){/*19*/
#menu-inner{
    width: 98%;
    height: auto;
}
#btn-content{text-align: right;}/*20*/
#menu-btn{
    display: inline-block;
    padding: 8px 15px;
    margin: 5px;
    cursor: pointer;
    background: #555;/*17*/
    color: #fff;/*18*/
    font-size: 70%;
}
#menu-content{
    display: none;
    width: 100%;
}
#menu-content > li{
    width: 100%;
    height: 40px;/*６*/
    float: none;
}
#menu-content > li > a{
    width: 100%;
    line-height: 40px;/*６*/
    padding: 0;
    text-decoration: none;
}
/*２階層目*/
#menu-content > li:hover > ul.second-content{display: none;}
#menu-content > li > a > .blogicon-chevron-down{display: none;}



	/******スマホメイン*******/
	
	#spsite-box {    }


#spa-box { 	
　　float: inherit;
	width: 100%;
	height: auto;
  }   

#pcb-box {
	display:none;
	}
#a-box {
	display:none;
	}
	
	#sp-a-box{
	　　float: inherit;
	width: 98%;
	height: auto;
	margin: auto;
	float: right;
}
	
#pcc-box {
	display:none;
		}	

#spb-box {
	display: inline-block;
	width: 98%;
	height: auto;
	margin:auto;
 }


#spc-box {
	display: inline-block;
	width: 98%;
	height: auto;
	margin:auto }


#spd-box {
	width: 98%;
	height: auto;
	float: inherit;
	margin: auto;
}

#spcenter {
	width: 95%;
	    }
		






		/******スマホメインここまで*******/

}


/******フォント設定*******/


#h1 {
	size: auto;
	margin-bottom: 0;
	color: #333;
		font-size: 12px;
	    }
		
		
#h2 {
	size: auto;
	font-size: 1.2em;
	margin-bottom: 0;
	color: #333;
	font-style: normal;
	font-weight: bold;
	background-color: #E1FFF0;
	border-right: c;
	border-left-color: #39F;
	border-left-width: 6px;
	padding-left: 6px;
	border-left-style: solid;
	    }
		
		
		#h4 {
	border-left-width: 6px;
	border-left-style: solid;
	border-bottom-color: #6C6;
	border-left-color: #6C6;
	padding-left: 6px;
	border-bottom-width: 1px;
	font-weight: bold;
	background-color: #FFF;
	width: 100%;
	border-bottom-style: solid;
	color: #333;
}

#h5{
	background-color:#F7FFFF

		/******フォント設定ここまで*******/



/******ヘッダー固定*******/

/* html,bodyタグの設定 */
html, body{
    margin: 0;         /* 余白の削除 */
    padding: 0;        /* 余白の削除 */
    width:100%;
    height:100%;
	color: #F7FFFF;
	color: #333;
	background-color: #F7FFFF;
	padding: 6px;
	


}

/* ヘッダーの固定 */
.header-fixed
{
	top: 50px;                   /* 位置(上0px) */
	left: 0px;                  /* 位置(右0px) */
	width: 98%;                /* 横幅100%　*/
	height: auto;              /* 縦幅140px */
	background: linear-gradient(-135deg,  #ff69b4,#ffffe0);
	opacity: 0.65;
	;
	margin: auto;
	 position: fixed;            /* ヘッダーの固定 */
	   margin-top: -50px;
	
	;
	
}
 
 
.header-bk {
	padding: 10px 0 20px;       /* 上10px、下20pxをあける */
	height: 100%;              /* 縦の高さ110px */
	width: 100%;                /* 横の幅を100% */
	
	
}
 
 
.header {
	height: 100%;              /* 縦の表示領域はheader-bkと同じ */
	width: 98%;              /* 横の幅970px */
	margin: auto;              /* 中央揃え */
}

.header.fixed .fixbar {
  position: fixed;
  margin-top: -50px;
}

$(function() {
  $(window).on('scroll', function() {
    if ($(this).scrollTop() > 50) {
      $('.header-fixed').addClass('fixed');
    } else {
      $('.header-fixed').removeClass('fixed');
    }
  });
});

/******ヘッダー固定ここまで*******/
