@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-10{
	margin-right:10px;
}
.mgr-20{
	margin-right:20px;
}
.mgr-30{
	margin-right:30px;
}

.mgl-20{
	margin-left:20px;
}

.mgl-50{
	margin-left:50px;
}

.mgl-60{
	margin-left:60px;
}

.mgl-70{
	margin-left:70px;
}


.c-gray{
	background-color:#EBEBEB;
}

.c-red{
	color:#F06;
}


/*index全体の設定*/

body {
    display: grid;
	grid-template-columns: 20px 1fr 20px;
	grid-template-rows:
	              [top]  30px
				  [header gnav] 40px
				  [main] auto
				  [comment] auto
				  [bread] 10px
				  [person] auto
				  [snav-title] auto
				  [snav-title-t] auto
				  [snav] auto
				  [recruit] auto
				  [otoiawase] 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:#ffa000;
}




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


/*ロゴ*/

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

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


.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;
	margin-top:-50px;

}

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

.bread{
	grid-row: bread;
	align-self:end;

}

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


/*-----------WELCOM TO TOKYO RUBBER----------*/

person{
	grid-column:1 / -1;
	grid-row:person;
	background:#F4F4F4;
	width:100%;
	height:auto;
	margin-top:-40px;
	}
	

.title1{
    font-size:2.5em;
	font-weight:600;
	line-height:1.2;
	color:#0064dc;
	text-align:center;
	margin-top:40px;
}


.p-text{
	padding:40px 80px 50px 80px;
}

.p-text h4{
	font-size:1.125em;
	font-weight:500;
	line-height:1.6;
}



/*----------------サブメニュー（インタビュータイトル）------------------*/

snav-title{
	grid-row:snav-title;
	display:grid;
	grid-template-rows:45px 55px auto;
}


.s-title1{
	grid-column:1;
	grid-row: 1 / 3;
    font-size:2.5em;
	font-weight:900;
	text-align:center;
	align-self:start;
	z-index:1;
	align-self:center;
}


.s-title2{
    grid-column:1;
	grid-row:2;
	color:#ddd;
	font-family:'Montserrat', sans-serif;
	font-size:3.125em;
	font-weight:900;
	line-height:1;
	text-align:center;
	
}


/*----------------サブメニュー（テキスト）------------------*/

snav-title-t{
	grid-row:snav-title-t;
	margin:0 110px 0 110px;
}

snav-title-t h4{
	font-size:1.125em;
	line-height:1.6;
	margin-top:-25px;
}



/*--------サブメニュー(インタビュー)--------*/

subnav{
	grid-row:snav;
	/*グリッド*/
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	grid-gap:50px 50px;
	gap: 50px 50px;
	margin-top:15px;
}


.nav-photo{
	width:100%;
	margin:0 auto;
	overflow:hidden;
}


.nav-photo img{
	transition:1s all;
	z-index:-1;
}


.nav-photo img:hover{
	transform:scale(1.2,1.2);
	transition:1s all;
	background-color:#FFF;
	opacity:0.7;
}

subnav .text{
	margin-left:15px;
}

subnav h3{
	font-size:1.375em;
	font-weight:600;
	color:#ffffff;
	background:#0064dc;
	width:130px;
	line-height:2;
	text-align:center;
	margin-top:15px;
}

subnav h4{
	font-size:1.125em;
	font-weight:600;
	margin-top:20px;
	line-height:1.5;
}


subnav p{
	font-size:1em;
	margin-top:30px;
	margin-bottom:10px;
}



subnav a{
	color: #000000;
	text-decoration:none;
	background:#fafafa;
}


subnav a:hover {
	color:#999;
}








/*----------------採用情報------------------*/

recruit{
	display:grid;
	grid-row:recruit;
    grid-template-rows:45px 55px auto;
    margin-top:20px;
	
}


.r-title1{
	grid-column:1;
	grid-row: 1 / 3;
    font-size:2.5em;
	font-weight:900;
	text-align:center;
	align-self:start;
	z-index:1;
	align-self:center;
}


.r-title2{
	grid-column:1;
	grid-row:2;
	color:#ddd;
	font-family:'Montserrat', sans-serif;
	font-size:3.125em;
	font-weight:900;
	line-height:1;
	text-align:center;
}


recruit h3{
	width:180px;
	text-align:center;
	font-size:1.125em;
	color:#fff;
	background:#666;
	line-height:2;
	font-weight:500;
	margin-top:40px;
	margin-bottom:10px;
}

recruit h4{
	margin-top:15px;
	margin-bottom:8px;
	font-size:1.0625em;
	font-weight:600;
}


recruit h5{
	margin-top:15px;
	margin-bottom:15px;
	font-size:1.0625em;
	font-weight:600;
}



recruit p{
	line-height:1.5em;
	padding-bottom:5px;
	border-bottom:solid 1px #888;
}


recruit .no-line{
	border-bottom:none;
}




/*----------お問い合わせバナー----------*/



.otoiawase{
	grid-column:1 / -1;
	grid-row:otoiawase;
	max-width:1020px;
	padding:50px 0 50px 0;
	background-image: url(../images/toiawase.jpg);
	background-size:cover;
	background-repeat:no-repeat;
	text-align:center;
	margin-top:50px;
	margin-bottom:60px;
	
}


.toiawase-text{
	display:inline-block;
	background-color: rgba(255,255,255,0.8);
	width:600px;
	height:300px;
	text-align:center;
	vertical-align:middle;
	margin:30px 0 30px 0;

}


.toiawase-text h2{
	font-size:2em;
	font-weight:600;
	color:#0064f0;
	margin-top:6%;
}


.toiawase-text p{
	font-size:1.125em;
	line-height:1.5;
	margin-top:40px;
}


.bottun{
    font-size:1.5em;
    width:260px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
	margin-bottom:20px;
    text-align: center;
    font-weight: 600;
    padding: 15px 15px;
    background-color: #0064f0;
    color: #ffffff;
    border: #0064f0 solid 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* マウスオーバー時 */

.bottun:hover {
    color: #0064f0;
    background-color: #ffffff;
    cursor: pointer;
}






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

/*背景色*/
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;
}







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

@media (max-width:768px){
	

body {
    display: grid;
	grid-template-columns: 20px 1fr 20px;
	grid-template-rows:
	              [top]  30px
				  [header] 30px
				  [gnav] 30px
				  [main] auto
				  [bread] 50px
				  [person] auto
				  [snav-title] auto
				  [snav-title-t] auto
				  [snav] auto
				  [recruit] auto
				  [otoiawase] auto
				  [footer] 100px;
				  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{
	padding-bottom:10px;
	
}



/*------- WELCOME TO TOKYORUBBER ------*/


person{
	padding-top:30px;
	margin-top:-40px;
	}
	
	
.title1{
    font-size:2em;
	font-weight:700;
	line-height:1.2;
	color:#0064dc;
	text-align:center;
	margin-top:10px;
}


.p-text{
	padding:40px 40px 50px 40px;
}

.p-text h4{
	font-size:1em;
}

/*----------------サブメニュー（テキスト）------------------*/

snav-title-t{  
	margin:0 40px 0px 40px;
}

snav-title-t h4{
	margin-top:-15px;
	font-size:1em;
}



/*------------サブメニュー（インタビュータイトル）------------*/

.s-title1{
    font-size:2em;
}


.s-title2{
	font-size:2.5em;
}


/*--------サブメニュー(インタビュー)--------*/

subnav{
	grid-row:snav;
	/*グリッド*/
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	grid-gap:20px 20px;
	gap: 20px 20px;
	margin-top:15px;
}


/*----------------　採用情報　------------------*/

.r-title1{
    font-size:2em;
}


.r-title2{
	font-size:2.5em;
}


recruit h3{
	margin-top:10px;
}


/*-------お問い合わせバナー--------*/

.toiawase-text{
	width:450px;
	height:250px;
	text-align:center;
	vertical-align:middle;
	margin:20px 0 20px 0;
}

.toiawase-text h2{
	font-size:1.625em;
	font-weight:600;
	color:#0064f0;
	margin-top:6%;
}


.toiawase-text p{
	margin-top:30px;
	font-size:1em;
	line-height:1.5;
}

.bottun{
    font-size:1.25em;
    width:240px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
	margin-bottom:20px;
    text-align: center;
    font-weight: 600;
    padding: 15px 15px;
    background-color: #0064f0;
    color: #ffffff;
    border: #0064f0 solid 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}




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

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


}




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

@media (max-width:600px){
	
body {
    display: grid;
	grid-template-columns: 20px 1fr 20px;
	grid-template-rows:
	              [top]  30px
				  [header] 30px 
				  [gnav] 30px
				  [main] auto
				  [bread] 10px
				  [person] auto
				  [snav-title] auto
				  [snav-title-t] auto
				  [snav] auto
				  [recruit] auto
				  [botton] auto
				  [otoiawase] 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-top:5px;
}

.g-nav li{
	font-size:1em;
	line-height:1.5;
	padding-top:5px;
	padding-bottom:5px;

}

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


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

.main{
	margin-bottom:45px;

}





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

.bread{
	
}
	
/*--------WELCOM TO TOKYO RUBBER--------*/



person{
	padding-top:30px;
	margin-top:-36px;
	}
	
	
.title1{
    font-size:2em;
	font-weight:700;
	line-height:1.2;
	color:#0064dc;
	text-align:center;
	margin-top:10px;
}


.p-text{
	padding:40px 40px 50px 40px;
}



.title1{
    font-size:1.75em;
	margin-top:-8px;
	}
	



/*----------------サブメニュー（テキスト）------------------*/

snav-title-t{  
	margin:0 40px 0px 40px;
}

snav-title-t h4{
	margin-top:-15px;
	font-size:1em;
}


/*----------  サブメニュー  -----------*/



subnav{
	grid-row:snav;
	/*グリッド*/
	display:grid;
	grid-template-columns: 1fr;
	grid-template-rows:1fr 1fr 1fr;
	grid-gap: 30px;
	gap:30px;
	margin-top:20px;
}



/*-----------　採用情報　-----------*/

recruit{
	margin-top:40px;
}

.r-title1{
    font-size:1.75em;
	margin-top:-8px;
	}


.r-title2{
	font-size:2em;
}


recruit p{
	font-size:0.9375em;
}



recruit h5{
	margin-top:20px;
	margin-bottom:40px;
}



/*----------お問い合わせバナー--------*/

.toiawase-text{
	width:400px;
	height:200px;
	text-align:center;
	vertical-align:middle;
	margin:20px 0 10px 0;
}

.toiawase-text h2{
	font-size:1.625em;
	font-weight:600;
	color:#0064f0;
	margin-top:5%;
}


.toiawase-text p{
	margin-top:20px;
	font-size:1em;
	line-height:1.5;
}

.bottun{
    font-size:1.125em;
    width:240px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
	margin-bottom:10px;
    text-align: center;
    font-weight: 600;
    padding: 12px 12px;
 
}





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


.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){
	

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


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

}

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

/*----------------サブメニュー（テキスト）------------------*/

snav-title-t{
	margin:0 0px 0 0px;
}



/*-----------　採用情報　-----------*/

.r-title1{
    font-size:1.6em;
	margin-top:-8px;
	}


.r-title2{
	font-size:1.6em;
}





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

.bread li{
	font-size:0.875em;
}	
	
	
/*------person-------*/	
	
.p-text{
	padding-left:20px;
	padding-right:20px;
}




/*----------お問い合わせバナー--------*/

.toiawase-text{
	width:330px;
	height:170px;
	text-align:center;
	vertical-align:middle;
	margin:20px 0 10px 0;
}

.toiawase-text h2{
	font-size:1.375em;
	font-weight:600;
	color:#0064f0;
	margin-top:5%;
}


.toiawase-text p{
	margin-top:20px;
	font-size:0.9375em;
	line-height:1.5;
}

.bottun{
    font-size:1em;
    width:200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 22px;
	margin-bottom:10px;
    text-align: center;
    font-weight: 600;
    padding: 12px 12px;

}



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


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

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

}


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

}



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

@media (max-width:430px){
	


/*------- ヘッダー：ロゴ ------------*/



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


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

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


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

}

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


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

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

}

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

@media (max-width:375px){
	
	





}

