
/*PC用とスマホ用あり　下の方*/

/*ヘッダとメニュー周り*/

.inner:after {
	content: "";
	clear: both;
	display: block;
}

/* header */
#top-head {
	position: fixed;/*header固定*/
	justify-content: space-between;
	height: 90px;
	top: 0;
	left: 0;
	width: 100%;
    background: #f4f5f5;
	box-shadow: 0px 4px 6px 0px rgba(0,0,0,0.2);
	padding: 25px 3% 0 3%;
	z-index: 9;
}

#top-head h1 {
	width: 350px;
}

#top-head h1 img{
	width: 100%;
	height: auto;
}

#top-head .inner {
	/*position: relative;*/
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

#global-nav {
	
	margin-left: calc(100% - 350px - 635px);
}

#global-nav ul{
	
	display: flex;
	justify-content: space-between;
    text-transform: uppercase;
    width: 635px;
}

#global-nav ul li {
	width: 130px;
	position: relative;
	text-align: center; 
}


#global-nav li aside {
	height: 15px;
	width: auto;
	display: block;
	
	
}
#global-nav li aside img {
	height: 100%;
	width: auto;	
}

#global-nav li a{
	display: block;
	color: #333;
	font-size: 0.875rem;
	
}

#global-nav li a p {
	margin-top: 5px;
}

#global-nav .tel-box {
	width: 215px;
	margin: 0 0 0 30px;
	line-height: 1.4;
}

#global-nav .tel-box a {
	display: block;
	margin-top: 0;
}

/* Safari */
_::-webkit-full-page-media, _:future, :root #global-nav .tel-box a {
   
	margin-left: -5px;
}


#global-nav .tel-box p {
	font-size: 0.65rem;
	text-align: left;
	white-space: nowrap;
	line-height: 1.7;
}



	
/*#global-nav li a:before{
	width: 0;
  height: 0;
  content: "";
  background-color: transparent;
  border-radius: 50%;
  transition: 0.3s;
}*/


/* Btn Hover */
#global-nav ul li:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	bottom: -20px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}

#global-nav ul li:hover:after {
	background: #d0151c;
	bottom: -23px;
	color: #d0151c;
}


/*電話番号にhoverしてもアンダーラインが出ないように*/
#global-nav ul li:last-child:after {
	display: none;
}




/* Fixed */
#top-head.fixed {
	position: fixed;

}


/* Toggle Button */
#nav-toggle {
	display: none;
	position: absolute;
	right: 12px;
	top: 14px;
	width: 34px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #666;
	left: 0;
	-webkit-transition: .55s ease-in-out;
	-moz-transition: .55s ease-in-out;
	transition: .55s ease-in-out;
}
#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}





/*////////////////////スマホ//////////////////////*/
/*////////////////////スマホ//////////////////////*/
/*////////////////////スマホ//////////////////////*/

@media screen and (max-width: 768px) {
	
	
	
	#main-visual {
		height: 300px;
	}


	#top-head,
	.inner {
		width: 100%;
		padding: 0;
	}
	#top-head,
	#top-head.fixed{
		top: 0;
		position: fixed;
		margin-top: 0;
		z-index: 9;
	}
	
	#top-head {
		height: 70px;
	}

	#top-head h1 {
	width: 70%;
		max-width: 300px;
		position: relative;
		z-index: -5;
}


	#mobile-head {
	
		width: 100%;
		height: 56px;
		z-index: 999;
		position: relative;
		padding:13px 0 0 30px;
	}
	
	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -1000px;
		margin-left: 0;
		background: rgba(255,255,255, 0.95);
		width: 100%;
		text-align: center;
		padding: 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}
	#global-nav ul {
		display: block;
	width: auto;
		padding: 50px 0 0 0;
		font-size: 11px;
		list-style: none;
		
		
	}
	#global-nav ul li {
		margin-bottom: 30px;
		text-align: center;
		width: auto;
	
	}
	
		
	
	/*#global-nav ul li a{
		display:block; 	
		text-decoration: none;
		margin: 10px 0;
	}*/
	
	#global-nav ul li a:hover {
	background:rgba(208,21,28,0.1);
	transition: 0.3s;	
	
}

	#global-nav ul li:after  {
		display: none;
	}
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a {
		width: 100%;
		display: block;
		color: #333;
		padding: 10px 0 5px 0;
		text-decoration: none;
	}
	#nav-toggle {
		display: block;
		top:23px;
	}
	
	

#global-nav .tel-box p {
	font-size: 0.65rem;
	
}
	
#global-nav li aside {
	height: 24px;
	width: auto;
	display: block;
}

#global-nav li a{
	
	font-size: 1rem;
	margin-top: 5px;
	
}	
	
#global-nav .tel-box {
	width: 300px;
	margin: 0 auto 0 auto;
	border-top: 1px solid #ccc;
	padding-top: 30px;
}	
#global-nav .tel-box p {
	font-size: 0.8rem;
	
}	
	
	
	
	
	/* #nav-toggle 切り替えアニメーション */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(315deg);
		-moz-transform: rotate(315deg);
		transform: rotate(315deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-315deg);
		-moz-transform: rotate(-315deg);
		transform: rotate(-315deg);
	}
	
	
	/* #global-nav スライドアニメーション */
	.open #global-nav {
		position: absolute;
		height: 100vh;
		top:70px;
		
	}
	


}
