/* menu */
header{
	display: flex;
	width: 100%;
	align-items: stretch;
	justify-content: center;
	height: 5.55rem;
	color: #fff;
	position: fixed;
	z-index: 2;
	transition: all 0.3s;
}

header > nav{
	display: table;
	width: 100%;
	z-index: 1;
}
header > nav > div{
	display: flex;
	width: 100%;
	flex-direction: row;
	column-gap: 2rem;
	align-items: stretch;
	justify-content: space-between;
	z-index: 2;
}

header > nav .usr-logo{
	display: flex;
	align-items: center;
}

header > nav .usr-logo .d2{
	display: none;
}

header > nav > div > ul.usr-menu{
	display: flex;
	flex-direction: row;
	column-gap: 1rem;
	align-items: center;
	justify-content: space-evenly;
	width: 100%;
	max-width: 800px;
}

header > nav > div > ul.usr-menu > li{
	align-items: center;
	justify-content: center;
	display: flex;
	flex:1 1 0;
	position: relative;
	height: 100%;
}

header > nav > div > ul.usr-menu > li > a{
	font-weight: 700;
}

header > nav > div > ul.usr-menu > li:hover:after{
	content:"";
	display: block;
	bottom:0;
	width: 100%;
	height: 2px;
	background-color: #0B58BD;
	position: absolute;
}



header > nav > div > ul.usr-menu > li > ul{
	display: flex;
	height: 0;
	overflow: hidden;
	position: absolute;
	top:5.55rem;
	font-weight: 500;
	font-size: 0.9rem;
	line-height: 1.3em;
	text-align: center;
	flex-direction: column;
	row-gap: 1rem;
	padding-top:2rem;

}

header > nav > div > ul.usr-menu > li > ul > li:hover{
	color: #0B58BD;
}


header .menu-over{
	display: block;
	width: 100%;
	position: absolute;
	left: 0;
	top:0;
	background-color: #fff;
	height: 0;
	transition: height 0.2s linear;
}


header.on{
	color: #333;
	background-color: #fff;	
}

header.scroll{
	color: #333;
	background-color: #fff;	
	border-bottom: 1px solid #ccc;
	z-index: 1000;
}

header.on .menu-over{
	height: 17rem;
	
}

header.on > nav{
	/*border-bottom:1px solid #ccc;*/
	-webkit-box-shadow:0px 1px 1px #ccc;
	 -moz-box-shadow:0px 1px 1px #ccc;
	 box-shadow:0px 1px 1px #ccc;

}

header.on > nav .usr-logo .d2{
	display: block;
}

header.on > nav .usr-logo .d1{
	display: none;
}

header.scroll > nav .usr-logo .d2{
	display: block;
}

header.scroll > nav .usr-logo .d1{
	display: none;
}

header.on > nav > div > ul.usr-menu > li > ul{
	height: 15rem;
	z-index: 2;
	transition: height 0.1s linear;
	transition-delay: 0.2s;
}

header > nav .usr-right{
	display: flex;
	align-items: center;
}

header > nav .usr-right a{
	background: #0B58BD;
	border-radius: 1.1rem;
	background-color: #0B58BD;
	color: #fff;
	font-weight: 600;
	text-align: center;
	padding: 0.5rem 3rem;
}

@media screen and (max-width: 1600px) {
	.area-max{
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}


@media screen and (max-width: 740px) {

	header > div.pc{
		display:none;
	}

	header{
		height: 4.5rem;
	}

	header > div.mo{
		display:table;
		padding:1rem  0.5rem;
		height:6rem;
	}

	header .usr-logo .d1{
		display: block;
	}

	header .usr-logo .d2{
		display: none;
	}

	header.scroll .usr-logo .d1{
		display: none;
	}

	header.scroll .usr-logo .d2{
		display: block;
	}


	header > div.mo .area-menu-sub.order-1{
		display: table-cell;
		width:70%;
		vertical-align: middle;
		padding-top: 0.4rem;
	}

	header > div.mo .area-menu-sub.order-1 img{
		height:2.2rem;
		padding-left: 1rem;
	}

	header > div.mo .area-menu-sub.order-2{
		display: table-cell;
		width:30%;
		text-align: right;
		vertical-align: middle;
	}

	header > div.mo .area-menu-sub.order-2 span{
		font-size: 2.5rem;
		line-height: 100%;
		vertical-align: middle;
	}
		
	html.open .menu-mobile { 
		right:0 !important;
		overflow-y: auto;
		transition: all 0.8s;
		box-shadow: -16px -7px 40px -24px rgba(255,255,255,1);
		/*-webkit-overflow-scrolling: touch;*/
	}
		
	.menu-mobile { 
		z-index: 10000; 
		transition: all 0.8s;
		overflow:hidden;
		height:100%;
		position:fixed;
		background-color:#fff;
		width:80%;
		max-width:100%;
		top:0;
		right:-100vw;
		display:block;
	}
		
	.menu-mobile .header{
		display:table;
		width:100%;
		color:#333;
		padding: 1.5rem 0;
		border-bottom: 1px solid #ccc;
		height:5rem;
	}

	.menu-mobile .header .area-basic{
		display: table;
	}
		
	.menu-mobile .header .area-menu-sub.order-1{
		display:table-cell;
		width:80%;
		padding-left:1rem;
		font-size: 1.5rem;
		vertical-align: middle;
	}

	.menu-mobile .header .area-menu-sub.order-1 img{
		max-width: 60%;
	}

	.menu-mobile .header .area-menu-sub.order-1 .first:after{
		content: "";
		display: inline-block;
		width: 1.5rem;
		height: 1rem;
		border-right: 2px solid #ccc;
	}

	.menu-mobile .header .area-menu-sub.order-1 .second{
		padding-left: 1rem;
	}
		
	.menu-mobile .header .area-menu-sub.order-2{
		display:table-cell;
		width:20%;
		padding-left:0.5rem;
		padding-right: 0rem;
		vertical-align: top;
    	padding-top: 1.3rem;
	}

	.menu-mobile .header .area-menu-sub.order-2 .menu-mobile-close-cl{
		display: block;
		width: 100%;
		position: relative;
	}
	.menu-mobile .header .area-menu-sub.order-2 .menu-mobile-close-cl:after{
		font-family: 'Material';
		content: '\e5cd';
		font-size: 2rem;
		position: absolute;
		top:-0.5rem;
		right:0;
		line-height: 20%;
		opacity: 0.5;
	}

	.menu-mobile nav{

	}

	.menu-mobile nav > ul{
		display:table;
		width: 100%;
	}

	.menu-mobile nav > ul > li{
		display:block;
		width: 100%;
		font-size: 1.5rem;
		padding: 1.5rem 1rem;
		border-bottom: 1px solid #ccc;
		padding-left: 2rem;

	}

	.menu-mobile nav > ul >li > a{
		display:block;
		width: 100%;
		position: relative;
	}

	.menu-mobile nav > ul >li > a:after{
		content:"";
		font-family: 'Material';
		content: '\e5cf';
		font-size: 2rem;
		position: absolute;
		top:0.5rem;
		right:0;
		line-height: 20%;
	}

	.menu-mobile nav > ul > li > ul{
		font-size: 1.2rem;
		opacity: 0.7;
		margin-top: 1rem;
		display: none;
	}

	.menu-mobile nav > ul > li > ul >li{
		padding-top:1rem; 
		padding-bottom:1rem;
	}

	.menu-mobile .cus-qna{
		background: #0B58BD;
		border-radius: 0.5rem;
		background-color: #0B58BD;
		color: #fff;
		font-weight: 600;
		text-align: center;
		padding: 1rem 0rem;
		margin-top: 2rem;
		width: 80%;
		display: block;
		font-size: 1.2rem;
		margin-left: auto;
		margin-right: auto;
	}

	.menu-mobile .cus-tel{
		font-weight: 700;
		text-align: left;
		padding: 1rem 0rem;
		margin-top: 1rem;
		width: 100%;
		display: block;
		color: #0B58BD;
		font-size: 1.5rem;
		padding-left: 2rem;
	}

	.menu-mobile .cus-tel dfn{
		display: block;
		margin-bottom: 1rem;
		font-style: normal;
		font-weight: 500;
		color: #333;
	}

}
