@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;
	
}


mgr-20{
	margin-right:20px;
}



/*index全体の設定*/

body {
    display: grid;
	grid-template-columns: 20px 1fr 20px;
	grid-template-rows:
	              [top]  30px
				  [header gnav] 40px
				  [main] auto
				  [bread] auto
				  [text] auto
				  [form] auto
				  [tel] auto
				  [footer] 100px;
				  grid-row-gap:30px;
				  row-gap:30px;
}




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



/* 上に戻るボタン */
.pagetop {
	display: none;
	position: fixed;
	bottom: 100px;
	right: 0px;
	font-size: 1.5rem;
	width: 3.3rem;
	height: 3.3rem;
	line-height: 3.3rem;
	border-radius: 3.3rem;
	text-align: center;
	cursor: pointer;
}


.pagetop: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:-37px;
}

.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:-37px;
}


.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-column:1 / -1;
	  grid-row: main;
      width: 100%;
	  margin-top:-53px;
    }




/*---------パンくずリスト----------*/

.bread{
	grid-row: bread;
	align-self:center;
	margin-top:-20px;
}

.bread ul{
    display:grid;
	grid-auto-flow: column;
	justify-content: start;
	align-self:center;
	margin:0;
	padding:0;
	list-style: none;
}



/*------テキスト-----*/

.text{
	grid-row:text;
	grid-column: 2 / -2;
	margin-top:-10px;


}


.text h5{
	font-size:1em;
	font-weight:600;
	margin:15px 0 9px 0;
	line-height:1.5;
}

.text p{
	line-height:1.5;
}


/*お問い合わせフォーム*/

.container{
	grid-column: 2 / -2;
	grid-row:form;
	max-width:980px;
	border:solid 1px #000;
	margin-top:10px;
	margin-bottom:10px;
	padding:10px 40px 20px 40px;
	justify-content:center;
}


.container h1{
	font-size:1.875em;
	line-height:2.5;
	color:#ffffff;
	background:#0064dc;
	margin-bottom:35px;
	font-weight:900;
	text-align:center;
}


/*
textarea{
	width:150%;
}
*/


.form-group{
	margin-bottom:20px;
}

.col-sm-3{
	font-weight:600;
	font-size:1.25em;
}



input{
	padding:10px 0 10px 0 ;
}

.btn{
	font-size:1.125em;
	font-weight:600;
	background:#0064dc;
	color:#fff;
	border:none;
	width:160px;
	margin-top:10px;
}


.form-control{
	width:100%;
}

.gazou img{
	width:160px;
	height:40px;
}

.gazou input{
	width:300px;
	height:40px;
}


.text-right{
	margin:40px 0 -8px 0;
}

.normal{
	font-size:1.125em;
}


.c-red{
	color:#F06;
}


/*-------tel--------*/
tel{
	grid-column: 2 / -2;
	grid-row:tel;
	text-align:center;
	border-bottom:solid 3px #0064dc;
	border-top:solid 3px #0064dc;
	margin-top:40px;
	margin-bottom:100px;
}

tel h1{
	font-size:1.5em;
	margin-top:30px;
	margin-bottom:2px;
	line-height:1.8;
}

tel h2{
	font-size:3.2em;
	font-weight:800;
	color:#0064dc;
}

tel img{
	width:50px;
	height:50px;
	margin-top:5px;
}


tel p{
	line-height:1.8em;
	font-size:1.125em;
	margin-top:10px;
	margin-bottom:30px;
}





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



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


.foot-wrap img{
	width:311px;
	height:auto;
	margin-bottom:40px;
}


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

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



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

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

.foot-wrap p{
	color:#FFF;
	font-size:0.75em;
}


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

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




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

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


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

.g-nav{
		justify-self:center;
		align-self:center;
		margin-top:4px;
	}



/*------メインイメージ----------*/

.main{

	 margin-top:-6px;
    }


/*---------パンくずリスト----------*/

.bread{
	margin-top:-8px;
	margin-bottom:10px;
}


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

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

}	


}




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

@media (max-width:600px){
	
body {
    display: grid;	grid-template-rows:
	              [top]  30px
				  [header] 30px
				  [gnav] 30px
				  [main] auto
				  [bread] auto
				  [text] auto
				  [form] auto
				  [tel] auto
				  [footer] 280px;	
				  grid-row-gap:10px;
				  row-gap:10px;
}



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


/* 上に戻るボタン */
.pagetop {
	width: 2.9rem;
	height: 2.9rem;
	line-height: 2.9rem;
	border-radius: 2.9rem;
	text-align: center;
}


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

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

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

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


/*-------------メインイメージ---------------*/

.main{
	margin-bottom:5px;

}



/*---------パンくずリスト----------*/

.bread{
	margin-bottom:15px;
}

/*-------- tel ---------*/

tel h1{
	font-size:1.3em;
	margin-top:15px;
}

tel h2{
	font-size:2.6em;
}

tel img{
	width:40px;
	height:40px;
}


tel p{
	font-size:1.125em;
}





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


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

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

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

.copy{
	margin-top:20px;
}

}



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

@media (max-width:490px){
	

}

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

@media (max-width:430px){
	
	
	
/*------- ヘッダー：ロゴ ------------*/

.logo img{
	max-width:235px;
}
	
	
	
	
	
/*----------グローバルメニュー---------------*/


.g-nav{
	margin-top:1px;
}

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

}

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


/*-------------メインイメージ---------------*/

.main{
    margin-top:-12px;
}



/*お問い合わせフォーム*/

.container{

	padding:10px 8px 20px 8px;
	justify-content:center;
}

.container h1{
	font-size:1.5em;
	line-height:2;
	color:#ffffff;
	background:#0064dc;
	margin-bottom:35px;
	font-weight:700;
	text-align:center;
}
	

	
/*---------パンくずリスト----------*/

.bread li{
	font-size:0.875em;

}	





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


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

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

}


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

}



