@charset "UTF-8";
/* ==========================================================================
   ヘッダー
   ========================================================================== */

:root {
	--header-height: 70px;
}

.header {
	margin : 0px;
	padding : 0px;
	width: 100%;
	position: sticky;
	z-index: 3;
	top: 0;
	height: var(--header-height);
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	color: #0000ff;
	font-size: var(--large-font-size);
	background: #ffffff;
	border-bottom: 1px solid var(--primary-border-color);
}

/*----------------------------------*/
/* ロゴ                             */
/*----------------------------------*/

.l-header_logo {
	margin-right: auto;
	display: inline-block;
	min-width: 180px;
}

/*----------------------------------*/
/* ヘッダーナビ                     */
/*----------------------------------*/

.l-header_navi {
	margin-right: auto;
	display: inline-block;
}

/* メインメニュー ------------------*/

#main_menu {
	margin: 0px;
	padding: 0px;
	height: 100%;
}

.main-menu {
	margin: 0px;
	padding: 0px;
	display: flex;
	justify-content: space-between;
	height: 100%;
}

.main-menu > li {
	display: inline-block;
	width: 240px;
	text-align: center;
}

.main-menu a, .main-menu label {
	margin: auto 0px ;
	padding: 1em;
	display: block;
	text-decoration: none;
	color: var(--primary-color);
}

.main-menu > li:hover {
	background: var(--hover-background);
	border-bottom: 5px solid var(--hover-color);
}

.main-menu > li.is_current {
	border-bottom: 5px solid #0000ff;
}

/* サブメニュー --------------------*/

.sub-menu {
	position: absolute;
	top: var(--header-height);
	transition: .2s ease;
	visibility: hidden;
	opacity: 0;
	z-index:998;
}

.main-menu > li:hover > .sub-menu {
	visibility: visible;
	opacity: 1;
}

.sub-menu > li {
	padding-left: 10px;
	width: 400px;
	text-align: left;
	box-sizing: border-box;
	background: var(--primar-background);
	border: 1px solid #dedede;
}

.sub-menu > li:hover {
	background: var(--second-hover-background);
}

.sub-menu > li.is_current {
	color: var(--current-color);
	background: var(--primar-background);
}

.sub-menu > li > a {
	width: 100%;
}

/* レスポンシブ対応 ----------------*/

@media screen and (max-width: 1620px) {
	.main-menu > li {
		width: 160px;
	}
	.sub-menu > li {
		width: 220px;
	}
}


/*----------------------------------*/
/* ログイン情報                     */
/*----------------------------------*/

.l-header_login {
	margin-left: auto;
	display: inline-block;
	min-width: 240px;
}

.l-header_login_user {
	padding: 5px 5px 0px 5px;
}

.l-header_login_logout {
	padding: 5px 5px 0px 5px;
}

.l-header_login_logout  a {
	/* background: url(../img/logout.png) no-repeat; */
	/* padding: 0 0 0 30px; */
	padding: 0;
}


/*----------------------------------*/
/* 操作(子画面用)                   */
/*----------------------------------*/

.l-header_operation {
	margin: auto 0px auto auto;
	display: flex;
	height: 100%;
	align-items: center;
	white-space: nowrap;
}

/*----------------------------------*/
/* ハンガーメニュー                 */
/*----------------------------------*/

.l-hamburger_menu {
	/* 上 | 右 | 下 | 左 */
	margin: 30px 10px 10px auto;
	display: none;
	align-items: center;
	width: 32px;
	height: 100%;
	cursor: pointer;
	z-index: 10;
}

.l-hamburger_menu .line {
	display: block;
	width: 100%;
	height: 4px;
	border-radius:10px;
	background-color: #0000ff;
	position: relative;
	transition: all 0.5s;
}

.l-hamburger_menu .line::before,
.l-hamburger_menu .line::after {
	content: '';
	display: block;
	width: 100%;
	height: 4px;
	border-radius: 4px;
	background-color: #0000ff;
	position: absolute;
	transition: all 0.5s;
}

.l-hamburger_menu .line::before{
	/* 上の線 */
	transform: translateY(-12px);
}

.l-hamburger_menu .line::after{
	/* 下の線 */
	transform: translateY(12px);
}

.l-hamburger_menu.open .line {
	background-color: transparent;
}

.l-hamburger_menu.open .line::before{
	/* 上の線を傾ける */
	transform: rotate(45deg);
}

.l-hamburger_menu.open .line::after{
	/* 下の線を傾ける */
	transform: rotate(-45deg);
}

/*----------------------------------*/
/* サイドナビ                       */
/*----------------------------------*/

.l-side_navi {
	/* 上 | 右 | 下 | 左 */
	margin: 0;
	padding:70px 20px;
	display: none;
	flex-direction: column;
	position: fixed;
	right: -150%;
	width: 80%;
	max-width: 400px;
	min-width: 300px;
	min-height: 100vh;
	background-color: #f9fcff;
	border: var(--primary-border);
	color: #efefef;
	transition: .5s;
}

.l-side_navi.open {
	position: absolute;
	right: 0;
}

.l-side_navi .login_user {
	padding: 0px 20px;
	display: flex;
	align-items: center;
	height: 50px;
	background: var(--encircle-background);
	color:  var(--encircle-color);
}

.l-side_navi .login_user label {
	margin: auto 0px;
}

/* メインメニュー ------------------*/

.l-side_navi .side_main_menu > li {
	padding: 0px 20px;
	width: 100%;
	line-height: 50px;
	color: var(--primary-color);
	border-bottom: var(--primary-border);
	white-space: nowrap;
}

.l-side_navi .side_main_menu a, .l-side_navi .side_main_menu label {
	display: inline-block;
	padding: 0px;
	width: 150px;
	text-decoration: none;
	color: var(--primary-color);
}

@media screen and (max-width: 1220px) {
	/* メニューのリンクのクリック範囲を広くする */
	.l-side_navi .side_main_menu a {
		width: 100%;
	}

	/* メニューの「▼」のクリック範囲を広くする */
	.l-side_navi .side_main_menu label.check_label {
		width: 100%;
		margin-left: -150px;
		padding-left: 150px;
	}
}

.l-side_navi .side_main_menu input[type="checkbox"] {
	display: none;
}

.l-side_navi .side_main_menu .check_label > span {
	display: inline-block;
}

/* サブメニュー --------------------*/

.l-side_navi .side_sub_menu {
	max-height: 0;
	overflow-y: hidden;
	visibility: hidden;
	display: flex;
	flex-direction: column;
}

.l-side_navi .side_main_menu input[type="checkbox"]:checked ~ .side_sub_menu {
	max-height: inherit;
	overflow-y: visible;
	visibility: visible;
	opacity: 1;
}

.l-side_navi .side_sub_menu > li {
	padding: 0px 20px;
	border-top: var(--primary-border);
	white-space: nowrap;
}

.l-side_navi .logout {
	display: flex;
	justify-content: center;
	align-items: center;
}

/*==================================*/
/* レスポンシブ対応                 */
/*==================================*/
@media screen and (max-width: 1220px) {
	.l-header_navi {
		display: none;
	}
	.l-header_login {
		display: none;
	}
	.l-hamburger_menu {
		margin-left: auto;
		display: inline-block;
	}
	.l-side_navi {
		display: flex;
	}
}

.header {
	zoom: 1;
}

