@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: 230px;
	margin: 0 0 0 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-menu-button .header-menu-label {
	font-size: 13px;
}

/* アカウント */
#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-user-name a {
	color: #FFF;
}

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

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

/* 法人向けヘッダー */
.page-org #header-bar {
	background-color: #673AB7;
	box-shadow: 0 0 5px #BBBBBB;
}

.page-org #header-logo {
	flex: none;
}

.page-org #header-title {
	flex: 1;
	margin: 0 5px;
	font-size: 19px;
	line-height: 1.2em;
}

.page-org #header-menu-area {
	flex: none;
}

.page-org #header-menu li .header-menu-button {
	width: 4em;
}

.page-org #header-menu li .header-menu-button .header-menu-label {
	font-size: 12px;
}

.page-org #header-account-area {
	font-size: 12px;
	line-height: 1.7em;
}

/* 施設向けヘッダー */
.page-room #header-bar {
	background-color: #43A047;
	box-shadow: 0 0 5px #BBBBBB;
}

.page-room #header-logo {
	flex: none;
}

.page-room #header-title {
	flex: 1;
	margin: 0 5px;
	font-size: 19px;
	line-height: 1.2em;
}

.page-room #header-menu-area {
	flex: none;
}

.page-room #header-menu li .header-menu-button {
	width: 4em;
}

.page-room #header-menu li .header-menu-button .header-menu-label {
	font-size: 12px;
}

.page-room #header-account-area {
	font-size: 12px;
	line-height: 1.7em;
}

/* 職員向けヘッダー */
.page-staff #header-bar {
	background-color: #F4511E;
	box-shadow: 0 0 5px #BBBBBB;
}

/* 職員向けアイコン幅 */
.page-staff #header-menu li .header-menu-button {
	width: 5em;
}

/* 新規登録向けヘッダー */
.page-regist #header-bar {
	justify-content: center;
	padding: 30px 0 10px;
	background-color: #F06292;
}

/* 新規登録向けタイトル */
.page-regist #header-title {
	font-size: 28px;
}

/* 保護者向けヘッダー */
.page-user #header-bar {
	background-color: #F06292;
	box-shadow: 0 0 5px #BBBBBB;
}

/* 個別連絡未読メッセージアイコン */
.unread-message-icon {
	position: absolute;
	top: 4px;
	left: 41px;
	padding: 0.25em 0.4em;
	background-color: #EC407A;
	border-radius: 20px;
	color: #FFFFFF;
	font-size: 11px;
	font-weight: bold;
	line-height: 1em;
}

.page-user .unread-message-icon {
	background-color: #43A047;
}

.unread-message-icon:empty {
	display: none;
}

/* 新着メッセージバルーン */
#new-message-baloon {
	display: none;
	width: 15em;
	padding: 5px 10px;
	position: absolute;
	bottom: -35px;
	left: 1em;
	background-color: #E91E63;
	box-shadow: 1px 1px 5px #AAAAAA;
	border-radius: 20px;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
}

/* 通知メッセージ */
.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";
}

/* 1800px以下（施設のみ） */
@media (max-width: 1920px) {
}

/* 1200px以下（保護者のみ） */
@media (max-width: 1200px) {
	.page-user #header-logo {
		flex: 1;
	}

	.page-user #header-title {
		flex: 1;
		padding: 14px 0;
	}

	.page-user #header-menu-area {
		flex: none;
	}
}

/* タブレット以下 */
@media (max-width: 1023px) {
	/* ロゴ */
	#header-logo {
		display: none;
	}

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

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

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

/* スマートフォン版 */
@media (max-width: 767px) {
	/* 新規登録向けヘッダー */
	.page-regist #header-bar {
		padding: 14px 0 4px;
	}

	.page-regist #header-title {
		font-size: 25px;
	}

	/* 通知メッセージ */
	.notification {
		font-size: 16px;
		text-align: left;
	}

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