@charset "utf-8";



/*=== Global Navi ===*/
nav {
	width: 66%;
	background-color: #FFF;
	z-index: 100;
}

nav  ul {
	display:flex;
	flex-wrap:wrap;
	align-items: flex-end;
	width: 100%;
}

nav  ul li {
}

nav ul li a,
nav ul li a:visited {
	text-decoration: none;
	color: #006BBE;
	display: block;
	padding-top: 0.1em;
	transition:all 0.1s;
	padding-bottom: 0.1em;
	border-radius: 2.2vw;
	border: 1px solid #006BBE;
	margin-right: 1.5vw;
	padding-right: 1.2em;
	padding-left: 1.2em;
	font-size: 1.2vw;
	line-height: 120%;
	font-weight: 500;
	text-align: center;
}

nav ul li a:hover {
 opacity: 0.6;
}

nav ul li.this {
	color: #FFF;
	display: block;
	padding-top: 0.1em;
	transition:all 0.1s;
	padding-bottom: 0.1em;
	border-radius: 2.2vw;
	margin-right: 1.5vw;
	padding-right: 1.2em;
	padding-left: 1.2em;
	font-size: 1.2vw;
	line-height: 120%;
	font-weight: 500;
	text-align: center;
	background-color: #016BB8;
}

.spMenu {
	display: none;
}

/* トグル */
.navToggle {
    display: none;
}


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


/*=== Global Navi ===*/
nav {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    background: #fff;
	padding-bottom: 0vw;
    color: #000;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 100%;
	height: 100%;
	margin-left: 0%;
}


nav ul {
	overflow: auto;
	display:block;
	flex-wrap:wrap;
	width: 100%;
	padding-top: 30%;
}

nav ul li {
	text-align: center;
	width: 88%;
	border-bottom-width: 1px;
	border-bottom-style: none;
	border-bottom-color: #999;
	margin-right: auto;
	margin-left: auto;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;
	margin-bottom: 10vw;
}

nav ul li a,
nav ul li a:visited {
	text-decoration: none;
	color: #006BBE;
	display: block;
	padding-top: 0.5em;
	transition:all 0.1s;
	padding-bottom: 0.5em;
	border-radius: 2.2vw;
	border: 1px solid #006BBE;
	font-size: 5vw;
	line-height: 120%;
	font-weight: 500;
	text-align: center;
}


nav ul li a:hover {
 opacity: 1;
}

nav ul li.this {
	text-decoration: none;
	color: #FFF;
	display: block;
	padding-top: 0.5em;
	transition:all 0.1s;
	padding-bottom: 0.5em;
	border-radius: 2.2vw;
	border: 1px solid #006BBE;
	margin-right: 7.6vw;
	font-size: 5vw;
	line-height: 120%;
	font-weight: 500;
	text-align: center;
	width: 88%;/*73.9*/
}

/*非表示*/
.spMenu {
	display: none;
	/*display: flex;*/
	justify-content: center;
}

.spMenu p {
	width: 28%;
}

.spMenu p img {
	vertical-align: bottom;
	height: auto;
	width: 88%;
}

/* このクラスを、jQueryで付与・削除する */
nav.active {
    transform: translateY(0%);
}

/* トグル */
.navToggle {
	display: block;
	position: fixed;    /* bodyに対しての絶対位置指定 */
	right: 16px;
	top: 14px;
	width: 48px;
	height: 54px;
	cursor: pointer;
	z-index: 20;
	text-align: center;
	background-color: #025EA7;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border: 1px solid #FFF;
	margin-top: 0px;
}

.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 34px;
    border-bottom: solid 3px #eee;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 6px; 
}

.menu {
	font-size: 9px;
	font-weight: bold;
}

.navToggle span:nth-child(1) {
    top: 9px;
}
 
.navToggle span:nth-child(2) {
    top: 18px;
}
 
.navToggle span:nth-child(3) {
    top: 27px;
}
 
.navToggle span:nth-child(4) {
    border: none;
    color: #eee;
    font-size: 6px;
    top: 34px;
    width: 40px;
    left: 2px;
	text-align: center;
}

/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}


