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


/*------------------------基本設定-----------------------*/

* {
margin:0;
}

img{
width: 100%;
height: auto;
}

a{
text-decoration:none;
}

/*ページ全体の設定*/

html {
	max-width: 1020px;
	margin: auto;
}

body {
	 font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
	color:#432;
	
}

/*index全体の設定*/

body {
    display: grid;
	grid-template-columns: 20px auto 20px auto 20px auto 20px;
	grid-template-rows:
	              [top]  30px
				  [header gnav] 40px
				  [main] auto
				  [footer] 140px;	
				  grid-row-gap:40px;
				  row-gap:40px;
}



/*-------------トップボタン---------------*/



#content{
    position: relative;
}
 
#topBtn {
    /*-----必須-----*/
    position: fixed;
    bottom: 140px;
    right: 10px;
     
    /*-----装飾-----*/
    width: 60px;
    height: 60px;
    background-image:url(../images/btn.png);
    background-repeat: no-repeat;
  
}

#topBtn:hover {
    cursor:pointer;
    filter: alpha(opacity=60);       
    -ms-filter: "alpha(opacity=60)"; 
    -moz-opacity:0.6;                
    -khtml-opacity: 0.6;            
    opacity:0.6;
    zoom:1;
}




/*パーツの配置*/

body > *{
	grid-column: 2 / -2;
}
	

/*英語版*/

english{
	grid-row: top;
	justify-self: flex-end;
	align-self: center;
	}

english a{
	color:#ffffff;
	text-decoration:none;
	font-size:0.875em;
}
english a:hover {
	color:#eeeeee;
}




/*英語の背景バー*/
body::before{
	content: "";
	background:#0064dc;
	grid-column: 1 / -1;
	grid-row: top;
	z-index:-1;
}




/*ロゴ*/

.logo{
	grid-row:header;
	align-self:center;
	margin-top:-60px;
}

.logo img{
	width:290px;
	height:auto;
}
.logo a:hover {
	color:#ffa000;
}


/*グローバルナビゲーション*/


.g-nav{
	grid-row: gnav;
	justify-self: flex-end;
	align-self:center;
	margin-top:-55px;
}


.g-nav li:not(:last-child)::after {
	content: 0.5px;
	content: '|';
	color: #aaa;
	padding: 0 10px;
}



.g-nav ul{
	list-style: none;
	display:grid;
	grid-auto-flow: column;

	
}

.g-nav li{
	font-weight:500;
}
	

.g-nav a{
	color:#666666;
	text-decoration:none;
}

.g-nav a:hover {
	color:#ffb400;
	z-index:1;
}

.p-gnav{
		visibility:hidden;
	}



/*--------  工事中  ---------*/



.main{
	grid-row:main;
	display:grid;
	grid-template-columns:1fr;
	grid-column:1 / -1;
	margin-top:-20px;
	margin-bottom:-40px;

}
.main img{
	max-width:1020px;

}




/*-----フッター-----*/

/*背景色*/
body::after{
	content: "";
	background:#0064dc;
	grid-column: 1 / -1;
	grid-row: footer;
	z-index:-1;
}
	
.foot-wrap {
	grid-column:2 / -2;
	grid-row:footer;
	text-align:center;
	justify-self:center;
	align-self: end;
}


.foot-wrap img{
	grid-row:footer;
	width:311px;
	height:auto;
	margin-bottom:20px;
}


.f-nav a{
	text-decoration:none;
	color:#FFF;
}

.f-nav a:hover {
	color:#ffa000;
}

.f-nav ul{
	grid-row:4;
	list-style: none;
	display:grid;
	grid-auto-flow: column;
	
}

.f-nav li{
	padding-right:15px;
	margin-bottom:20px;
}

.foot-wrap p{
	grid-row:7;
	color:#FFF;
	font-size:0.75em;
	margin-bottom:12px;
}






/*-----------------レスポンシブ設定(800px)------------*/

@media (max-width:768px){
	
	body{
		grid-template-rows:
				  [top]  30px
				  [header] 70px
				  [gnav] 20px
				  [main] auto
				  [footer] 130px;	
				  grid-row-gap:10px;
				  row-gap:10px;
}




/*-------  logo  -------*/

.logo {
		justify-self:center;
		align-self:start;
		margin-top:1px;
	}


/*------- グローバルメニュー -------*/

.g-nav{
		justify-self:center;
		align-self:center;
		margin-bottom:8px;
	}


.main{
	margin-bottom:0;
}
	





/*-------- フッター --------*/

.foot-wrap {
	padding-top:20px;
	

}	


}




/*-------------レスポンシブ設定(600px)---------------------*/

@media (max-width:600px){
	
body {
    display: grid;	grid-template-rows:
	              [top]  40px
				  [header] 60px
				  [gnav] 20px
				  [main] auto
				  [footer] 280px;	
				  grid-row-gap:10px;
				  row-gap:10px;
}



.pagetop {
    bottom: 295px;
}




/*------- ヘッダー：ロゴ ------------*/
.logo{
	margin-top:-4px;
}

.logo img{
	max-width:235px;
}


/*----------グローバルメニュー---------------*/

.g-nav{
	grid-column:1 / -1;
	margin-bottom:8px;
}

.g-nav li{
	line-height:1.5;
	padding-top:5px;
	padding-bottom:5px;
}

.g-nav li:not(:last-child)::after {
	padding: 0 8px;
}





/*----------- フッター -----------*/


.foot-wrap img{
	width:235px;
	margin-bottom:10px;
}

.f-nav ul{
	grid-auto-flow: row;
}

.f-nav li{
	margin-bottom:8px;
}

.copy{
	margin:12px;
}

}


/*-------------レスポンシブ設定(490px)---------------------*/

@media (max-width:490px){
	




}

/*-------------レスポンシブ設定(430px)---------------------*/

@media (max-width:430px){
	
	
	
/*----------グローバルメニュー---------------*/


.g-nav li{
	font-size:0.875em;
	line-height:2;

}

.g-nav li:not(:last-child)::after {
	padding: 0 3px;
}

	
	
	
	

/*-------------フッター----------------*/


.foot-wrap{
		grid-column:1 / -1;
}

.foot-wrap p{
	font-size:0.7em;

}


.f-nav li{
	font-size:0.9375em;
}

}





