@charset "utf-8";

/*==================================
ナビゲーションのためのCSS 、アレンジあり
===================================*/

#g-nav{
	/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
	position: fixed;
	z-index: 999;
	/*ナビのスタート位置と形状*/
	top: 0;
	right: -120%;
	width: 60%;
	height: 100vh;/*ナビの高さ*/
	background: #fff;
	/*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
	/*ナビの数が増えた場合縦スクロール*/
	/* [disabled]position: fixed; */
	z-index: 999;
	width: 100%;
	/* [disabled]height: 100vh; *//*表示する高さ*/
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
	/*ナビゲーション天地中央揃え*/
	position: absolute;
	z-index: 999;
	top: 10%;
	left: 50%;/*ナビゲーションテキストスタート位置★*/
	transform: translateX(-50%); /*ナビゲーション親要素おすと、子要素が下にでるようにする*/
	background-color: #FFFFFF;
	width: 100%;/*ナビゲーションテキスト幅★*/
	cursor: pointer;
}






/*ナビゲーション*/
#g-nav ul ul {
	/*ナビゲーション天地中央揃え*/
	position: static;
	z-index: 999;
	top: 50%;
	left: 70%;
	transform: none;
	background-color: #EDEDED;
	width: 100%;
}

#g-nav li a{
	color: #333333;
	text-decoration: none;
	padding-top: 20px;
	padding-left: 20px;
	padding-bottom: 20px;
	display: block;
	text-transform: none;
	letter-spacing: 0.1em;
	font-weight: bold;
	font-size: 14px;
}
#g-nav li a:hover {
	text-decoration: none;
	background-color: #EDEDED;
	font-weight: bold;
	font-size: 14px;
}
#g-nav li li a{
	padding-left: 30px;
	font-size: 12px;
}
#g-nav li li a:hover {
	font-size: 12px;
	background-color: #D5D5D5;
}



#g-nav li .accordion {
	padding: 10px 0;
	color: #333333;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	display: block;
	padding-top: 20px;
	padding-left: 20px;
	padding-bottom: 20px;
	font-size: 14px;
}


#g-nav .osigotosoudan a{
	position: absolute;
	top: 70%;
	left: 20px;/*ナビゲーションテキストスタート位置*/
	cursor: pointer;
	color: #2B2B2B;
	border-radius: 10px;
	border: 1px solid #2B2B2B;
	width: 200px;
	display: block;
	font-size: 12px;
	font-weight: bold;
	margin: 10px 0;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	text-decoration: none;
	text-align: center;
}

#g-nav .portfolio a{
	position: absolute;
	top: 80%;
	left: 20px;/*ナビゲーションテキストスタート位置*/
	cursor: pointer;
	color: #2B2B2B;
	border-radius: 10px;
	border: 1px solid #2B2B2B;
	width: 200px;
	display: block;
	font-size: 12px;
	font-weight: bold;
	margin: 10px 0;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	text-decoration: none;
	text-align: center;
}




#g-nav .osigotosoudan a:hover,#g-nav .portfolio a:hover {
	background-color: #EDEDED;
	color: #2B2B2B;
}




/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  right: 10px;
  cursor: pointer;
    width: 50px;
    height:50px;
}
  
/*×に変化*/  
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 1px;
  background-color: #666;
    width: 55%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
	top: 15px;
	display: none;
}

.openbtn1 span:nth-of-type(3) {
  top:23px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 55%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
	display: none;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 55%;
}




/*========= プルダウンのためのCSS ===============*/
/*========= 親要素おしたら下に子要素がでる ===============*/
ul .has-child ul {
	display: none;
}



/*2階層目を持つliの矢印の設定*/
/*矢印の形（block要素にしないと回転しない）*/
nav ul li.has-child::after{
	content: '';
	position: absolute;
	right: 30px;/*left:15pxから変更した*/
	top: 22px;/*top:25pxから変更した*/
	width: 10px;
	height: 10px;
	border-top: 2px solid #999;
	border-right: 2px solid #999;
	transform: rotate(135deg);
	display: block;
}	

/*矢印の位置*/
nav ul li.has-child {
	position: relative;
}




/*hoverしたら色がかわる*/
nav ul li.has-child:hover {
	background-color: #EDEDED;
}

/*hoverしたら表示*/
nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}





/*ナビゲーションaタグの形状*/
nav li.has-child ul li a{
  border-bottom:solid 1px #fff;
}
nav li.has-child ul li:last-child a{
  border-bottom:none;
}

/*矢印のアクティブしたときのうごき*/
nav ul li.has-child.active::after {
    transform: rotate(315deg);
	
	
}
.important_memo p {
	color: #E14649;
	font-weight: blod;
	font-size: 10px;
	text-align: left;
}



.imakoko {
	border-radius: 5px;
	background-color: #FFEC00;
	border: 1px solid #FFEC00;
	font-size: 9px;
	padding-top: 3px;
	padding-right: 5px;
	padding-left: 5px;
	padding-bottom: 3px;
	text-align: center;
	color: #2b2b2b;
}
.red_memo {
	color: #E14649;
	font-size: 9px;
	text-align: left;
}
.black_memo {
	color: #2B2B2B;
	font-size: 9px;
	text-align: left;
}
