@charset "utf-8";
/*======================================
ナビゲーション用
========================================*/
/*--------------------
ヘッダー メインナビ
--------------------*/
.header_inner #main_nav_btn{}
#main_nav_btn .menu_btn{
	display: block;
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
	color: #fff;
	padding: 0.75em;
	background-color: #858585;
}
.menu_btn .menu_hmb{
	display: block;
	height: 2em;
	margin: 0 auto 4px auto;
	position: relative;
}

/*ハンバーガーメニューバー一式*/
.menu_btn_def .menu_hmb::before,
.menu_btn_def .menu_hmb::after,
.menu_btn_open .menu_hmb::before,
.menu_btn_open .menu_hmb::after,
.menu_btn_close .menu_hmb::before,
.menu_btn_close .menu_hmb::after{
	content: '';
 display: block;
 width: 100%;
 height: 2px;
 background-color: #fff;
	position: absolute;
	left: 0;
}

/*メニューボタン初期表示*/
#main_nav_btn .menu_btn_def{}
.menu_btn_def .menu_hmb{
	background-image: linear-gradient(to bottom, transparent 0,transparent calc(50% - 1px),#fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px), transparent 100%);
}
.menu_btn_def .menu_hmb::before{
	top: 0;
}
.menu_btn_def .menu_hmb::after{
	bottom: 0;
}

/*メニューリスト開く*/
#main_nav_btn .menu_btn_open{}
.menu_btn_open .menu_hmb{
	background-image: none;
}
.menu_btn_open .menu_hmb::before{
	top: 0;
	animation-name: open_hmb_top;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
}
.menu_btn_open .menu_hmb::after{
	bottom: 0;
	animation-name: open_hmb_bottom;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
}

/*メニューリスト閉じる*/
#main_nav_btn .menu_btn_close{}
.menu_btn_close .menu_hmb{
	background-image: linear-gradient(to bottom, transparent 0,transparent calc(50% - 1px),#fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px), transparent 100%);
}
.menu_btn_close .menu_hmb::before{
	top: 0;
	animation-name: close_hmb_top;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
}
.menu_btn_close .menu_hmb::after{
	bottom: 0;
	animation-name: close_hmb_bottom;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
}


/***ハンバーガーメニューアニメーション設定***/
@keyframes close_hmb_top{
	0%{
		transform: translateY(11px) rotateZ(-45deg);
	}
	50%{
		transform: translateY(11px) rotateZ(0);
	}
	100%{
		transform: translateY(0) rotateZ(0);
	}
}
@keyframes open_hmb_top{
	0%{
		transform: translateY(0) rotateZ(0);
	}
	50%{
		transform: translateY(11px) rotateZ(0);
	}
	100%{
		transform: translateY(11px) rotateZ(-45deg);
	}
}
@keyframes close_hmb_bottom{
	0%{
		transform: translateY(-11px) rotateZ(45deg);
	}
	50%{
		transform: translateY(-11px) rotateZ(0);
	}
	100%{
		transform: translateY(0) rotateZ(0);
	}
}
@keyframes open_hmb_bottom{
	0%{
		transform: translateY(0) rotateZ(0);
	}
	50%{
		transform: translateY(-11px) rotateZ(0);
	}
	100%{
		transform: translateY(-11px) rotateZ(45deg);
	}
}

/***メインナビリスト***/
#main_menu{
	display: none;
	opacity: 0;
	font-size: clamp(1.4rem,1.33vw,1.6rem);
	width: 100%;
	max-width: 1200px;
	padding: 1em;
	position: absolute;
	top: 100%;
	right: 0;
	background-color: rgba(0,0,0,0.85);
	z-index: 1100;
	transition: opacity 0.5s;
}
#main_menu .main_menu_box{}
/*開いた時のクラス*/
#main_menu.panel_open{
	opacity: 1;
}

.main_menu_box .menu_ttl{
	font-weight: bold;
	color: #000;
	padding: 0.5em;
	background-color: #efefef;
}
.main_menu_box nav{}
.main_menu_box nav ul{}
.main_menu_box nav ul li{
	border-bottom: dashed 1px #fff;
}
.main_menu_box nav ul li a{
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 1em 1em 1em 0.5em;
	position: relative;
}
.main_menu_box nav ul li a::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
	border-width: 0.25em 0 0.25em 0.35em;
	position: absolute;
	top: 50%;
	right: 0.4em;
	transform: translateY(-50%);
}
.main_menu_box nav ul li a:hover{
	background-color: #3887bb;
}
/*外部サイトリンクの場合*/
.main_menu_box nav ul li a.nav_other{
	padding-left: 1.5em;
}
.main_menu_box nav ul li a.nav_other::before{
	content: '';
	display: block;
	width: 1em;
	height: 1em;
	background-image: url("/cmn/img/nav_othersite.svg");
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

/***end メインナビリスト***/


/*--------------------
グローバルナビ
--------------------*/
.gnav_wrap{
	background:#3887bb;
}

/*****
グローバルナビ ドロップダウン
*****/
.g_nav{
	display: flex;
	color: #fff;
	line-height: 1.2;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	background-color: #3887bb;
}

/***ナビボタン***/
.nav_btn_wrap{
	text-align: center;
}
.gnav_btn{
	font-size: 1.5rem;
	height: 100%;
}
.gnav_btn a{
	display: block;
	text-decoration: none;
	padding: 1em 0.5em;
	color: #fff;
	height: 100%;
}
.gnav_btn a img.nav_icon{
	vertical-align: middle;
	width: 1.5em;
}

.btn_drop{}
.btn_no_drop{}

/*ドロップダウン表示時*/
.gnav_btn_open{
	background-color: #07588e;
	position: relative;
}
.gnav_btn_open::before{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent #fff transparent;
	border-width: 0 1em 1em 1em;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}


/***ドロップダウンメニュー***/
.gnav_down_menu{
	display: none;
	opacity: 0;
	font-size: clamp(1.4rem,1.33vw,1.6rem);
	line-height: 1.4;
	text-align: left;
	width: 300px;
	padding: 0.5em;
	background-color: rgba(255,255,255,0.95);
	box-shadow: 0 3px 2px 2px rgba(0,0,0,0.25);
	z-index: 1000;
	position: absolute;
	top: 100%;
	left: 0;
}
.gnav_down_menu li{
	border-bottom: solid 1px #858585;
}
.gnav_down_menu li:last-of-type{
	border-bottom: none;
}
.gnav_down_menu li a{
	display: block;
	color: #333;
	text-decoration: none;
	padding: 0.5em 0.5em 0.5em 1.2em;
	position: relative;
}
.gnav_down_menu li a::after{
	content: '';
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent transparent #333;
	border-width: 0.25em 0 0.25em 0.35em;
	position: absolute;
	top: 50%;
	left: 0.4em;
	transform: translateY(-50%);
}
.gnav_down_menu li a:hover{
	text-decoration: none;
	background-color: #ccdfeb;
}

/*オープン時のクラス*/
.down_open{
	display: block;
	animation-name: drop_down;
	animation-duration: 0.5s;
	animation-fill-mode: forwards;
}

/***ドロップダウンアニメーション設定***/
@keyframes drop_down{
	0%{
		opacity: 0;
		transform: translateY(-30px);
	}
	100%{
		opacity: 1;
		transform: translateY(0);
	}
}


/* ===========================================
	MediaQueries
=========================================== */
/* スマホ----------------------------- */
@media screen and (max-width: 767px){
	/*--------------------
	ヘッダー メインナビ
	--------------------*/
	#main_menu{}
	#main_menu .main_menu_box{
		margin-bottom: 2em;
	}
	#main_menu .main_menu_box:last-of-type{
		margin-bottom: 0;
	}
	.main_menu_box .menu_ttl{}
	.main_menu_box nav ul li a{}
	
	/*--------------------
	グローバルナビ
	--------------------*/
	/*****
	グローバルナビ ドロップダウン
	*****/
	.g_nav{
		position: relative;
	}
	/***ナビボタン***/
	.nav_btn_wrap{
		width: calc(100% / 5);
	}
	.gnav_btn{
		font-size: clamp(6px,2.7vw,14px);
	}
	.gnav_btn a{}
	.gnav_btn a img.nav_icon{
		display: block;
		text-align: center;
		width: 2em;
		margin: 0 auto 0.5em auto;
	}
	
	.btn_drop{}
	.btn_no_drop{}
	
	/***ドロップダウンメニュー***/
	.gnav_down_menu{
		width: 100vw;
	}
	.gnav_down_menu li a{}
	
}

/* PC----------------------------- */
@media screen and (min-width: 768px){
	/*--------------------
	ヘッダー メインナビ
	--------------------*/
	/***メインナビリスト***/
	#main_menu{
		display: flex;
		justify-content: space-between;
	}
	#main_menu .main_menu_box{
		width: 48%;
	}

	/*--------------------
	グローバルナビ
	--------------------*/
	/*****
	グローバルナビ ドロップダウン
	*****/
	/***ナビボタン***/
	.nav_btn_wrap{
		width: calc(100% / 5);
		position: relative;
	}
	.nav_btn_wrap .min_font{
		font-size: 0.8em;
		line-height: 1;
	}
	
	.gnav_btn a{
		display: flex;
		justify-content: center;
		align-items: center;
		line-height: 1;
	}
	
	.gnav_btn a:hover{
		background-color: #07588e;
		text-decoration: none;
		transition: background 0.5s;
	}
	.gnav_btn a img.nav_icon{
		margin-right: 0.5em;
	}
	
	.btn_drop{}
	.btn_no_drop{}
	.btn_no_drop a::after{
		content: '';
		display: block;
		width: 100%;
		height: 2px;
		background-color: #fff;
		position: absolute;
		bottom: 2px;
		left: 0;
		transform: scaleX(0);
		transition: transform 0s;
	}
	.btn_no_drop a:hover::after{
		transform: scaleX(100%);
		transition: transform 0.5s;
	}
}