﻿@charset "utf-8";

/* ★Media Queries指定★ (naviGタブレット用)共有設定*/
/*==========================================================================================================*/
@media screen and (min-width: 1040px) {
.fixed {
    position: fixed;
    top:0;
    width: 100%;
    z-index: 10000;
}	
	
#naviG.fixed{
	background:rgba(255,255,255,0.8);
	padding-top:6px;
	box-shadow:0 0 6px rgba(0,0,0,0.5);
	}
}

/************************************************************************************************************/
/* その他背景色共有設定 */
/************************************************************************************************************/
.article h3 a::before{background:#3661a9;}

.fontq:before{background:#3661a9;color:#fff}
.fonta:before{background:#8aa5d3;color:#fff}
.acordion dt::before{color:#3661a9;}
.acordion dt.active::before{color:#8aa5d3;}
.boxbg03 #naviLt{border-color:#3661a9;}

/* naviGの指定 */
/************************************************************************************************************/
#naviG {overflow: hidden;
	width:100%;
	padding:0;
	padding-top:4px;
	background:#3661a9;
}

#naviG.fixed,.boxr05{background:#3661a9;}
#local [class^="local_sub"]::before,.etlink4::before,.etlink5::before,.etlink6::before,.etlink7::after{color:#3661a9;}

.etlinkbox{
	background:#5b80be;
	border-bottom:1px solid #5b80be;
	padding:4px 4px 0 4px;
	border-radius:6px 6px 0 0;
	}

#naviG ul {
	width:1040px;
	list-style-type: none;
	clear: both;
	text-align: center;
	margin:0 auto;
	padding-left: 4px;
	}

#naviG ul li {
	width:calc(100%/6 - 4px);
	float: left;
	display: block;
	vertical-align: middle;
	margin:0px 0 4px 0;
	margin-right:4px;
	transform: translateZ(0);
	backface-visibility: hidden;
	position: relative;
	transition-duration: 0.3s;
	height: auto;
}

#naviG ul li:nth-child(6n+1){margin-right:0px;}
#naviG ul li:nth-child(1){display:none;}

#naviG ul li a {
	display: block;
	padding: 8px 0;
	font-family:"noto sans japanese";
	font-size: 10px;
	line-height: 1.3;
	text-decoration: none;
	border:none;
	font-weight:normal;
	text-shadow: 1px 1px 1px rgba(0,0,0, 0.2);
}

#naviG ul li a:first-line{font-size:13px;font-weight:bold;}

#naviG ul li a:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #333;
	border-radius: 2px;
	transform: scale(0);
	transition-property: transform;
	transition-duration: 0.3s;
	transition-timing-function: ease-out;
	-webkit-backface-visibility:hidden;
	backface-visibility:hidden;
}

#naviG ul li a:after {
	display:block;
	font-size: 10px;
	font-weight:400;
}

#naviG ul li a,#naviG ul li a:visited{color: #fff;}
#naviG ul li a:hover,#naviG ul li a:focus,#naviG ul li a:active{
	color: #fff;
	text-shadow: -1px -1px 1px rgba(0,0,0, 0.3);
}

#naviG ul li a:hover:before,#naviG ul li a:focus:before,#naviG ul li a:active:before{
	transform: scale(1);
}

#naviG ul li a.active{background: #333333;color:#fff;border-radius: 2px;}

/* ★Media Queries指定★ (naviG用)共有設定*/
/*==========================================================================================================*/
@media screen and (min-width: 841px) and (max-width: 1080px) {
#naviG ul {width:calc(100% - 42px);padding-left: 3px;}
#naviG ul li {width:calc(100%/6 - 4px);}
#naviG ul li:nth-child(6n+1){margin-right:0px;}
#naviG ul li a {width:100%;}
}

@media screen and (min-width: 481px) and (max-width: 840px) {
#naviG ul {width:calc(100% - 47px);padding-left: 0px;}
#naviG ul li {width:calc(100%/3 - 3px);}
#naviG ul li:nth-child(3n+1){margin-right:0px;}
#naviG ul li a {width:100%;}
}

@media screen and (min-width: 376px) and (max-width: 480px) {
#naviG ul {width:calc(100% - 24px);padding-left: 0px;}
#naviG ul li {width:calc(100%/3 - 3px);}
#naviG ul li:nth-child(3n+1){margin-right:0px;}
#naviG ul li a {width:100%;}
}

@media screen and (max-width: 375px) {
#naviG ul {width:calc(100% - 24px);padding-left: 0px;}
#naviG ul li {width:calc(100%/2 - 2px);}
#naviG ul li:nth-child(2n+1){margin-right:0px;}
#naviG ul li a {width:100%;}
}

/************************************************************************************************************/
/* スマホ用グローバルメニュー開閉 */
/************************************************************************************************************/
.naver {margin: 0;}
.naver,
.naver *,
.naver *:before,
.naver *:after { box-sizing: border-box;}

.naver-handle {
	width: calc(100% - 24px);
	color: #222;
	cursor: pointer;
	display: none;
	font-size: 12px;
	margin:4px 12px 8px 12px;
	padding:16px 16px;
	position: relative;
	border-radius:2px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background: #fff;
	background: -moz-linear-gradient(top,  #fff 0%, #f6f6f6 47%, #ededed 100%);
	background: -webkit-linear-gradient(top,  #fff 0%,#f6f6f6 47%,#ededed 100%);
	background: linear-gradient(to bottom,  #fff 0%,#f6f6f6 47%,#ededed 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#ededed',GradientType=0 );
	text-shadow: 1px 1px 1px #fff; 
}

.naver-handle:after {
	height: 15px;
	width: 15px;
	position: absolute;
	top: 0;
	bottom: 0;
	content: "\f0c9";
	font-size: 22px;
	color: #bbb;
	display: block;
	line-height: 15px;
	margin: auto 0;
	font-family: FontAwesome;
}
.naver.open .naver-handle:after {
	width: 15px;
	height: 15px;
	background: transparent;
	border: none;
	box-shadow: none;
	color: #bbb;
	content: "\f00d";
	font-size: 22px;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
	font-family: FontAwesome;
}
.naver-wrapper {
	border: none;
	height: auto;
	margin: 0;
	padding: 0;
	transition: all 0.3s ease 0s;
	animation: 3s ease 0s normal none 1 running 
}
.naver-container:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	line-height: 0;
	visibility: hidden;
}
.naver.enabled .naver-handle {display: block;}
.naver.enabled .naver-wrapper {height: 0;overflow: hidden;}