@charset "utf-8";

/*--------------------------------------------------
**************************************************
  グローバルナビ（768px〜1159px）

  事業が4つになりナビが7項目になったため、1159px以下では
  横並びナビが2行に折り返してしまう。折り返す手前の幅から
  スマホと同じハンバーガーメニューに切り替える。

  ※読み込み条件は content-meta.php の media 属性で指定
    （screen and (min-width:768px) and (max-width:1159px)）
**************************************************
--------------------------------------------------*/

/* PC用の横並びナビを隠す */
#gnavi {
	display: none;
}

/*--------------------------------------------------
  ハンバーガーボタン
  ロゴ画像の高さが48pxなので、その中央に配置する
--------------------------------------------------*/
.h_spmenu_btn {
	position: absolute;
	display: block;
	right: 3%;
	top: 10px;
	width: 30px;
	height: 28px;
	border-top: 13px solid transparent;
	border-bottom: 13px solid transparent;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	cursor: pointer;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.h_spmenu_btn .center_line {
	display: block;
	height: 2px;
	background: #fff;
	opacity: 1;
	transition: all 0.3s;
}
.h_spmenu_btn:before {
	content: '';
	position: absolute;
	width: 30px;
	height: 2px;
	background: #FFF;
	top: -13px;
	right: 0;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.h_spmenu_btn:after {
	content: '';
	position: absolute;
	width: 30px;
	height: 2px;
	background: #FFF;
	bottom: -13px;
	right: 0;
	-moz-transition: all 0.3s;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.h_spmenu_btn.active .center_line {
	opacity: 0;
}
.h_spmenu_btn.active:before {
	-moz-transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
	top: 0;
	right: 0;
}
.h_spmenu_btn.active:after {
	-moz-transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
	bottom: 0;
	right: 0;
}

/*--------------------------------------------------
  開閉するナビ本体
  display は jQuery の slideToggle が制御するため、
  ここでは指定しない（style.css 側の display:none が初期値）
--------------------------------------------------*/
#gnavi_sp {
	width: 100%;
	position: absolute;
	z-index: 9999;
	top: 48px;
}
#gnavi_sp li {
	width: 100%;
	border-top: 1px solid rgba(255,255,255,0.6);
}
#gnavi_sp li a {
	color: #fff;
	padding: 12px 2%;
	display: block;
	background: rgba(40,120,200,0.9);
	position: relative;
}
#gnavi_sp li a:hover {
	background: rgba(40,120,200,1);
	text-decoration: none;
}
#gnavi_sp > li:first-child {
	border-top: none;
}
#gnavi_sp li a:after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	right: 4%;
	width: 6px;
	height: 6px;
	margin: -4px 0 0 0;
	border-top: solid 1px #FFF;
	border-right: solid 1px #FFF;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
#gnavi_sp li.menu_links {
	color: #fff;
	padding: 12px 2%;
	display: block;
	background: rgba(40,120,200,0.9);
	position: relative;
	cursor: pointer;
}
#gnavi_sp .sub_menu li {
	border-top: 1px dashed rgba(255,255,255,0.4);
}
#gnavi_sp li.menu_links span {
	background-image: url("imgs/common/sp_menu_open.png");
	background-position: 100% 50%;
	background-repeat: no-repeat;
	background-size: 18px 18px;
	display: block;
}
#gnavi_sp li.menu_links span.select {
	background-image: url("imgs/common/sp_menu_close.png");
}
.sub_menu {
	display: none;
}
#gnavi_sp ul ul li a:before {
	content: "-";
	margin-right: 5px;
}
