@charset "utf-8";

/**********************************************/
/****共通スタイル********************************/
/**********************************************/

*{
	padding:0;
	margin:0;
	font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
	color:#333;

}
.entry-header{display:none;}
/*js カスタム*/
.scrolldown4 span{
	color:#666;
	
}
.scrolldown4:after {
	background: #666;
	
} 

.scrolldown4:before {
	background: #666;

}

/*menu*/
/*========= 途中からハンバーガーメニューに変化するのためのCSS ===============*/

/*========= ボタンのためのCSS ===============*/

/*ボタン全体の形状*/

/*==ヘッダーの形状*/
#header{
	/*height: 150px;
	width:100%;*/

}



/*==ヘッダーのテキストナビゲーションの形状*/
#g-navi ul{
	list-style: none;
}

#g-navi ul li a{
	display: block;
	text-decoration: none;
	color: #666;
	padding:5px;
	    z-index: 60;
    position: relative;
	line-height: 2.5em;
}

#g-navi ul li.current a,
#g-navi ul li a:hover{
	color:#fff;	
}

/*.doneクラスがついたヘッダーのテキストナビゲーションの形状*/


/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/

#header.dnone.panelactive .company_logo {
	display:block;
	width:100%;
}

#header.dnone.panelactive #g-navi{
	opacity: 1;/*不透明に*/
	z-index:999;/*最前面に*/
	background:#eee;
}

#header.dnone.panelactive #g-navi ul{
	display:block;/*flexの横並びをblockにして縦並びに*/
}
#header.dnone.panelactive #g-navi ul li {
	display:block!important;
	
}

/*リストの形状*/

#header.dnone.panelactive #g-navi li a{

}

/*TOP                           */

#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	/*background:#0066a5;*/
	background:#333;
	border-radius: 5px;
	width: 60px;
	height: 50px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(10px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

/*========= レイアウトのためのCSS ===============*/

h1{
	font-size:1.2rem;
}

h2{
	font-size:1.2rem;
	text-align: center;
	margin: 0 0 30px 0;
}

p{
	margin-top:20px;	
}

small{
	background:#333;
	color:#fff;
	display: block;
	text-align: center;
	padding:20px;
}



section{
	padding:10px 30px;
}

section:nth-child(2n){
	background:#f3f3f3;	
}

#footer{
	position: relative;
	z-index: 2;
}


/*スクロール*/
/*スクロールダウン全体の場所*/
.scrolldown4{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	bottom:1%;
	left:5%;
    /*矢印の動き1秒かけて永遠にループ*/
	animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }

/*Scrollテキストの描写*/
.scrolldown4 span{
    /*描画位置*/
	position: absolute;
	left:-20px;
	bottom:10px;
    /*テキストの形状*/
	color: #FFF;
	font-size: 0.7rem;
	letter-spacing: 0.05em;
	/*縦書き設定*/
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: -6px;
    /*矢印の形状*/
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(-31deg);
}

.scrolldown4:after{
	content:"";
    /*描画位置*/
	position: absolute;
	bottom:0;
	right:0;
    /*矢印の形状*/
	width:1px;
	height: 50px;
	background:#666;
}

/*========= レイアウトのためのCSS ===============*/


#header{
	
	position: relative;
} 

#header:before{
	content: '';
	position:fixed;
	top:0;
	left:0;
	z-index:-1;
	width:100%;
	/*背景画像設定*/

	background-size:cover;
}

#container{
	position: relative;
	z-index:1;
	background:#eee;
	text-align: center;
}



@media screen and (max-width:768px){

    #header,
    #header:before{
	/*height: 100vh;   
					z-index:10;*/
    }
    
}