@charset "UTF-8";

header {
	height: 100px;
}
.base ,
.sp-menu {
    display: none;
}
.w-nav {
	backface-visibility: hidden;
}
.nav {
	z-index: 3;
}
.nav .gnav {
    box-sizing: border-box;
	background-color: #fff;
	overflow: hidden;
	border-bottom: 1px solid #e7e9eb;
}
.nav .gnav .container {
	display: block;
}
.nav .gnav span.box01 {
	float: left;
	margin-top: 25px;
}
.nav .gnav span.box02 {
	float: right;
}
.nav .gnav span.rec-b:before {
	content: url(../images/common/icon_external_black.png);
	right: 0;
	position: relative;
}
/*.nav .gnav .box01 .children:hover a {
    background-color: transparent;
}
.nav .gnav .children:hover a {
	background-color: #165ebf;
/*	background-color: #1eb9ee;
}*/
.nav .gnav .children:first-child img {
	transition: ease 0.3s;
	backface-visibility: hidden; 
}
.nav .gnav .box01 .children:first-child:hover {
	background-color: transparent;
}
.nav .gnav .box01 .children:first-child:hover img {
	opacity: 0.8;
	transition: ease 0.3s;
}
.nav .gnav .box01 .children .link {
	padding: 0!important;
}
.nav .gnav .children .link span.rec{
	background: url(../images/common/icon_external_black.png) no-repeat center right;
	padding-right: 16px;
}

.nav .gnav .children {
	display: inline-block;
	vertical-align: top;
}
.nav .gnav .children .link {
	height: 0px;
	display: table;
	padding: 35px 15px;
}
.nav .gnav .children .link:hover {
	opacity:0.8;
}

.nav .gnav .children .link span {
	display: inline-block;
	vertical-align: middle;
	font-size: 1.6rem;
	font-family: 'Poppins', sans-serif;
	letter-spacing: 0.1em;
}
.nav .gnav .children a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.nav .gnav .children.rikunavi {
	width: 160px;
	margin-top: 17px;
	margin-left: 23px;
	text-align: center;
}
.nav .gnav .children.rikunavi .link {
	display: inline-block;
	width: 100%;
	height: auto;
	padding: 10px 0;
	background-color: #0165be;
	color: #fff;
	box-sizing: border-box;
	border-radius: 100px;
}
.nav .gnav .children.rikunavi .link:hover {
	opacity: 0.8;
}
.nav .gnav .children.rikunavi .link span {
	display: block;
	font-weight: 500;
}
/*.nav .gnav .box02 .children a::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 3px;
  background: #1eb9ee;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}
.nav .gnav .box02 .children a:hover::after {
  bottom: 8px;
  opacity: 1;
  visibility: visible;
}*/
.nav .gnav .box02 .children a{
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	position: relative;
	overflow: hidden;
	height: 100px;
}
.nav .gnav .box02 .children a::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1eb9ee;
    height: 4px;
    -webkit-transform: translateY(4px);
    transform: translateY(4px);
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.nav .gnav .box02 .children a:hover::before, .nav .gnav .box02 .children a:focus::before, .nav .gnav .box02 .children a:active::before {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
/* Jquery change */
.nav .gnav .box02 .children a ,
.nav .gnav .children .link ,
.nav .gnav span.box01 {
    transition-duration: 0.3s;
}
.nav.change .gnav .box02 .children a ,
.nav.change .gnav .children .link ,
.nav.change .gnav span.box01 {
    transition-duration: 0.3s;
}
.nav.change .gnav .box02 .children a {
    height: 60px;
}
.nav.change .gnav .children .link {
    padding: 17px 15px;
}
.nav.change .gnav span.box01 {
    margin-top: 13px;
}
.nav.change .gnav .children:first-child img {
    width: 70%;
}


@media screen and (max-width: 1100px) {
	
	header {
		height: 50px;
	}
	.header .container {
		padding: 0!important;
	}
	.base {
		display: block;
		width: 100%;
		border-bottom: 1px solid #e7e9eb;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 1001;
	}
	.base h1 {
		display: none;
	}
	
	.sp-menu {
		display: block;
		height: 50px;
		padding: 0 20px;
		box-sizing: border-box;
		background-color: #fff;
	}
	.sp-menu h1 {
		display: inline-block;
		width: 90px;
		position: relative;
		top: 8px;
	}
	.sp-menu .sp-btn {
		position: relative;
		right: 0px;
		top: 20px;
		width: 20px;
		height: 20px;
		cursor: pointer;
		float: right;
	}
	.sp-menu .sp-btn span,
	.sp-menu .sp-btn span:before,
	.sp-menu .sp-btn span:after {
		width: 20px;
		height: 2px;
		background-color: #333;
		position: absolute;
		display: inline-block;
		-webkit-transition: 0.3s;
		transition: 0.3s;
	}
	.sp-menu .sp-btn span:before {
		content: "";
		top: 7px;
	}
	.sp-menu .sp-btn span:after {
		content: "";
		top: 14px;
	}
	.sp-menu .sp-btn.close-btn span,
	.sp-menu .sp-btn.close-btn span:before,
	.sp-menu .sp-btn.close-btn span:after {
		-webkit-transition: 0.3s;
		transition: 0.3s;
		background-color: #333;
	}
	.sp-menu .sp-btn.close-btn span {
		transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-webkit-transform: rotate(45deg);
		top: 6px;
	}
	.sp-menu .sp-btn.close-btn span:before {
		right: -100px;
	}
	.sp-menu .sp-btn.close-btn span:after {
		transform: rotate(90deg);
		-moz-transform: rotate(90deg);
		-webkit-transform: rotate(90deg);
		top: 0;
	}
	
	.nav {
		position: fixed;
		transition: 0.3s ease-in-out;
		top: -200%!important;
		width: 100%;
	}
	.nav.m-open {
		height: 100%;
		overflow: scroll;
		top: 50px!important;
	}
	.nav.m-close {
		top: -200%;
	}
	.nav .gnav {
		background-color: #13293d;
		height: auto;
	}
	.nav .gnav .children .link span.rec{
    	background: url(../images/common/icon_external_white.png) no-repeat center right;
	}
	.nav.m-open .gnav {
		height: 740px;
	}	
	.nav .gnav span.box01 {
		display: none;
	}
	.nav .gnav span.box02 {
		float: none;
	}
	.nav .gnav span .children {
		width: 100%;
	}
	.nav .gnav span .children .link {
		height: auto;
		width: 100%;
		color: #fff;
		padding: 20px;
	}
	.nav .gnav span .children:hover a {
		background-color: #1eb9ee;
	}
	.nav .gnav .box02 .children a::before {
		background: none;
	}
	.nav .gnav span .children .link span {
		font-size: 1.4rem;
		font-weight: 500;
	}
	.nav .gnav .children.rikunavi {
		width: 100%;
		margin-top: 0px;
		margin-left: 0;
		text-align: left;
	}
	.nav .gnav .children.rikunavi .link {
		background-color: inherit;
		padding: 20px;
		border-radius: 0;
	}


}

