@charset "UTF-8";

/* ヘッダーバー */
#header-bar {
	display: flex;
	align-items: stretch;
	position: relative;
	z-index: 1;
}

/* ロゴ */
#header-logo {
	flex: 1;
	display: flex;
	align-items: center;
}

#header-logo-img {
	width: 200px;
	margin: 0 0 0px 10px;
}

/* タイトル */
#header-title {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #FFF;
	font-family: "Noto Sans JP", "メイリオ", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 23px;
	font-weight: bold;
	text-align: center;
	line-height: 1em;
}

/* メインメニューエリア */
#header-menu-area {
	flex: 1;
	display: flex;
	justify-content: flex-end;
}

/* メインメニュー */
#header-menu {
	display: flex;
	margin: 0 5px 0 0;
	padding: 0;
}

#header-menu li {
	display: flex;
	position: relative;
	list-style: none;
}

/* 共通ヘッダー設定 */
#header-menu li .header-menu-button {
	display: flex;
	position: relative;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 4.5em;
	padding: 6px 0;
	color: #FFFFFF;
	text-decoration: none;
	line-height: 1em;
	transition: 0.2s;
}

#header-menu li .header-menu-button:hover {
	opacity: 0.7;
	cursor: pointer;
}

#header-menu li .header-menu-button i.fas,
#header-menu li .header-menu-button i.far {
	display: flex;
	align-items: center;
	height: 20px;
	margin: 2px 0 5px 0;
	font-size: 18px;
}

/* 利用者ヘッダー設定 */
#header-menu li .header-user-menu-button {
	display: flex;
	position: relative;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 8em;
	padding: 6px 0;
	color: #FFFFFF;
	text-decoration: none;
	line-height: 1em;
	transition: 0.2s;
}

#header-menu li .header-user-menu-button:hover {
	opacity: 0.7;
	cursor: pointer;
}

#header-menu li .header-user-menu-button i.fas,
#header-menu li .header-user-menu-button i.far {
	display: flex;
	align-items: center;
	height: 20px;
	margin: 2px 0 5px 0;
	font-size: 18px;
}

#header-menu li .header-menu-button .header-menu-label,
#header-menu li .header-user-menu-button .header-menu-label {
	font-size: 13px;
	text-align: center;
}

/* アカウント */
#header-account-area {
	flex: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-end;
	padding: 5px 10px;
	color: #FFF;
	font-size: 13px;
	text-align: right;
}

/* ログアウト */
#header-logout a {
	color: #FFF;
}

/* 管理者向けヘッダー */
.page-admin #header-bar {
	background-color: #00529E;
	box-shadow: 0 0 5px #BBBBBB;
}

/* 利用者向けヘッダー */
.page-user #header-bar {
	background-color: rgb(79, 195, 247);
	box-shadow: 0 0 5px #BBBBBB;
}

/* TMC向けヘッダー */
.page-tmc #header-bar {
	background-color: rgb(26, 35, 126);
	box-shadow: 0 0 5px #BBBBBB;
}

/* 通知メッセージ */
.notification {
	font-family: "Noto Sans JP", "メイリオ", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 17px;
	font-weight: bold;
}

.notification .contents-area {
	display: flex;
	justify-content: center;
	padding: 13px 20px;
}

.notification .notification-list {
	display: inline-block;
	list-style: none;
	margin: 0;
	padding-left: 0;
	word-break: break-all;
	word-break: break-word;
}

/* 通知メッセージ（正常系） */
#info-notification {
	background-color: #e0edc8;
	color: #2E7D32;
}

#info-notification .notification-list-item::before {
	content: "\f058";
	margin-right: 0.3em;
	font-family: "Font Awesome 5 Free";
}

/* 通知メッセージ（エラー系） */
#error-notification {
	background-color: #FCE4EC;
	color: #FF0000;
}

#error-notification .notification-list-item::before {
	content: "\f071";
	margin-right: 0.3em;
	font-family: "Font Awesome 5 Free";
}

/* 1200px以下（利用者のみ） */
@media (max-width: 1200px) {
	
	.page-user #header-title {
		flex: 1;
		font-size: 22px;
		padding: 14px 0px;
	}

}

/* タブレット以下 */
@media (max-width: 1023px) {

	/* ロゴ */
	#header-logo {
		display: none;
	}

	/* タイトル */
	#header-title {
		flex: 1;
		font-size: 22px;
	}

	/* メインメニュー */
	body:not(.page-admin) #header-menu {
		display: none;
	}

	/* メインメニュエリア */
	#header-menu-area {
		flex: none;
	}
}

/* スマートフォン版 */
@media (max-width: 767px) {
	/* 通知メッセージ */
	.notification {
		font-size: 16px;
		text-align: left;
	}

	.notification .contents-area {
		padding: 13px 10px;
	}
}
