@charset "utf-8";

header {
	position: fixed;
	width: 100%;
	height: 100px;
	border-top: 2px solid #013076;
	border-bottom: 1px solid #ccc;
	background: #fff;
	z-index: 200;
	-o-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
header.h-animation {height: 70px;}

.inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 1200px;
	height: 100%;
	margin: 0 auto;
}

.headerNav {
	margin-left: auto;
}

.hLogo img {
	width: 150px;
	height: 49px;
	margin: 10px 0 0;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
header.h-animation .hLogo img {
	width: 122px;
	height: 40px;
}

#navi {
	display: flex;
	z-index: 100;
}
#navi ul {
	display: flex;
}

#navi li a {
	color: #333;
	margin: 15px 15px 0px;
	letter-spacing: 2px;
	display: inline-block;
	padding-bottom: 10px;
	font-weight: normal;
}

#navi li a:hover {
	color:#255aaa;
}

#nav_toggle{
	display: none;
}

.headerTell {
	margin: 0 0 0 20px;
	padding: 0 0 0 30px;
	border-left: 1px solid #333;
}
.headerTell a {
	color: #333;
}
.tellNumber {
	margin: 0 0 10px 0
	font-size: 1.5em;
	font-weight: bold;
}
.tellNumberBtn:before {
	font-family: 'Font Awesome 5 Free';
	content: "\f095";
	font-weight: 900;
	padding: 0 5px 0 0;
}
.tellTime {
	font-size: 0.8em;
}

@media(min-width: 768px){
	a[href^="tel:"]{
		pointer-events: none;
	}
}
/*---------------------------------------------------------
#navi li a {
	color: #333;
	margin: 10px 15px 0px;
	letter-spacing: 2px;
	display: inline-block;
	position: relative;
	padding-bottom: 10px;
}

#navi li a:after {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 1px;
	background: #255aaa;
	content: "";
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	transition: all .3s;
}
#navi li a:hover {
	color:#255aaa;
}

#navi li a:hover:after {
	left: 0;
	width: 100%;
}
---------------------------------------------------------*/


/*スマホ・タブレット用の設定*/
@media screen and (max-width:960px){
	header {
		height: 70px;
	}
	.inner {
		width: 90%;
	}
	.hLogo img {
		width: 122px;
		height: 40px;
	}
	
	/*メニュー部分*/
	#navi {
		display: none;
		position: absolute;
		overflow: auto;
		top: 65px;
		width: 100%;
		height: 100vh;
		background: rgba(255,255,255,1.0);
		left: 0;
	}
	#navi ul {
		display: block;
		width: 90%;
		top: 0px;
		right: 0px;
		bottom: 0px;
		left: 0px;
		margin: auto;
		-webkit-overflow-scrolling: touch;
	}
	#navi ul li {
		padding: 15px 0;
	}
	#navi ul li:last-child{
		margin-bottom: 30px;
		padding-bottom: 30px;
	}
	.headerTell {
		margin: 0 0 50px 0;
		padding: 0 0 50px 0;
		border: 0px;
		text-align:center;
	}
	.tellNumber a {
		color:#fff;
	}
	.tellNumberBtn {
		width: 80%;
		display: block; 
		color:#fff;
		margin: 0px auto 10px;
		padding: 1em 0;
		border-radius: 50px;
		background: #013076;
		transition: 1s;
	}
	.tellNumberBtn:hover {
		background: #336abb;
	}
	
	/*開閉ボタン*/
	#nav_toggle {
		display: block;
		width: 40px;
		height: 40px;
		position: relative;
		top: 5px;
		z-index: 100;
		cursor: pointer;
	}
	#nav_toggle div {
		position: relative;
	}
	
	#nav_toggle div:after {
		content: "";
		position: absolute;
		top: -15px;
		left: -10px;
		width: 60px;
		height: 50px;
		opacity: 0.5;
	}/*タップエリア拡大*/
	
	#nav_toggle span {
		display: block;
		height: 3px;
		background: #000;
		position:absolute;
		width: 100%;
		left: 0;
		-webkit-transition: 0.3s ease-in-out;
		-moz-transition: 0.3s ease-in-out;
		transition: 0.3s ease-in-out;	
	}
	#nav_toggle span:nth-child(1){
		top:0px;
	}
	#nav_toggle span:nth-child(2){
		top:12px;
	}
	#nav_toggle span:nth-child(3){
		top:24px;
	}
	
	/*開閉ボタンopen時*/
		.open #nav_toggle span:nth-child(1) {
			top: 12px;
			-webkit-transform: rotate(135deg);
			-moz-transform: rotate(135deg);
			transform: rotate(135deg);
		}
		.open #nav_toggle span:nth-child(2) {
			width: 0;
			left: 50%;
		}
		.open #nav_toggle span:nth-child(3) {
			top: 12px;
			-webkit-transform: rotate(-135deg);
			-moz-transform: rotate(-135deg);
			transform: rotate(-135deg);
		}
}

