:root{
	--GROUPLIST_HEIGHT: 50px;
	--SIDEMENU_WIDTH: 200px;

	--GROUP_BAR_HEIGHT: 26px;

	--CHATINPUT_HEIGHT: 32px;

	--DIALOG_BG_COLOR: rgba(0, 0, 0, 0.5);
}

body{
	background-color: rgb(229, 255, 246);
}

.DIALOG_BG{
	position: fixed;
	top: 0px;
	left: 0px;

	width: 100vw;
	height: 100vh;

	background-color: var(--DIALOG_BG_COLOR);
}

.HEADER{
	position: fixed;
	top: 0px;
	left: 0px;

	width: 100vw;
	height: var(--GROUPLIST_HEIGHT);

	display: flex;

	border-bottom: solid 1px;
}

.SIDEMENU{
	position: fixed;
	top: var(--GROUPLIST_HEIGHT);
	left: 0px;

	width: var(--SIDEMENU_WIDTH);
	height: 100vh;

	border-right: solid 1px;
}

.SIDEMENU > .GROUP_ROOM > .GROUP_TOOLBAR{
	display: flex;
	flex-direction: row;

	height: var(--GROUP_BAR_HEIGHT);
}

.SIDEMENU > .GROUP_ROOM > .GROUP_TOOLBAR > span{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;

	width: calc(var(--SIDEMENU_WIDTH) - 18px - 1px);
}

.SIDEMENU > .GROUP_ROOM > .GROUP_TOOLBAR > button{
	width: 18px;

	padding: 0px;
}

.GROUP_MENU_BG{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100vw;
	height: 100vh;

	background-color: transparent;

	z-index: 1;
}

.GROUP_MENU{
	position: fixed;
	top: calc(var(--GROUPLIST_HEIGHT) + var(--GROUP_BAR_HEIGHT));

	width: var(--SIDEMENU_WIDTH);
	height: fit-content;

	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;

	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(1px);

	z-index: 2;
}

.GROUP_MENU > button{
	width: 100%;

	background-color: transparent;
}

.CONTENTS{
	position: fixed;
	top: var(--GROUPLIST_HEIGHT);
	left: var(--SIDEMENU_WIDTH);

	width: calc(100vw - var(--SIDEMENU_WIDTH));
	height: calc(100vh - var(--GROUPLIST_HEIGHT));
}

.WELCOME{
	position: fixed;
	top: 0px;
	left: 0px;

	width: 100vw;
	height: 100vh;

	z-index: 10;

	background-color: white;
}

.CONTENTS > .DISPLAY{
	padding: 10px;
}

.CONTENTS > .DISPLAY, .CONTENTS > .CHATROOM{
	position: absolute;
	top: 0px;
	left: 0px;

	width: calc(100vw - var(--SIDEMENU_WIDTH));
	height: calc(100vh - var(--GROUPLIST_HEIGHT));
}

.PGPMENU, .SETTING_DIALOG{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	width: 50vw;
	height: 50vh;

	padding: 20px;
}

.PGPMENU > div, .SETTING_DIALOG > div{
	background-color: white;

	width: 100%;
	height: 100%;

	padding: 10px;

	overflow: auto;
}

.CREATE_DM_LIST{
	width: 100%;
}

.CREATE_DM_LIST > div > img{
	width: 45px;
	height: 45px;
}

.CREATE_DM_LIST > div > span{
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/*------------------------------------------------プロフ*/
.USER_PROFILE > .NAME > img{
	width: 64px;
	height: 64px;

	vertical-align: middle;
}

.USER_PROFILE > .DESC{
	margin: 5px;
	padding: 5px;

	background-color: rgb(235, 235, 235);
}