/******************************************************************************
 * 法人系アカウントでのpageクラス
******************************************************************************/
/******************************************************************************
    /organization/dashboard.php
******************************************************************************/
.license-info-summary-container {
    display: flex;
    flex-wrap: wrap;
    row-gap: 16px;
    column-gap: 36px;
}
:where(.license-info-summary-container) .round-label-has-direction {
    width: 240px;
}
:where(.license-info-summary-container) .round-label-from {
    font-weight: bold;
}
.dashboard-facility-login-history {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}
.dashboard-facility-login-history__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    row-gap: 24px;
    column-gap: 24px;
}
.dashboard-facility-login-history__item__label {
    width: 240px;
    padding-left: 24px;
    padding-right: 24px;
    text-align: left;
}
.dashboard-facility-login-history__status {
    display: flex;
    align-items: center;
    column-gap: 24px;
}
.page-sub-title-container--has-mark-icon-list  {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mark-icon-list {
    display: flex;
    align-items: center;
    column-gap: 36px;
}
.mark-icon-list__item {
    display: flex;
    align-items: center;
    column-gap: 12px;
}
:where(.mark-icon-list) .mark-icon {
    width: 18px;
    height: 18px;
}
:where(.mark-icon-list) .mark-icon-text {
    font-size: 14px;
    font-weight: bold;
}
.dashboard-facility-login-history__latest_login_date__label::after {
	content: '：';
}
@media screen and (max-width: 960px) {
	.dashboard-facility-login-history__latest_login_date__label {
		display: block;
		font-size: 10px;
		line-height: 1em;
	}
    .dashboard-facility-login-history__latest_login_date__label::after {
		content: '';
	}
	:where(.dashboard-facility-login-history__status) .mark-icon-text {
		display: none;
	}
}

/******************************************************************************
    /organization/facility/
******************************************************************************/
.facility-list-symbol__box {
    display: flex;
}
.facility-list-symbol {
    font-size: 44px;
}
/******************************************************************************
    /organization/campaign/assign.php
******************************************************************************/
.assigned_count_box {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 1em;
}
.current_assigned_label {
	font-size: 12px;
}
.current_assigned_count {
    width: 5em;
    padding-right: 20px;
    text-align: right;
}
.thin-input {
    width: 5em;
    min-width: auto;
    padding-left: 8px;
    padding-right: 8px;
    line-height: 2em;
    text-align: right;
}
.card-item__inner-separator {
	width: 100%;
	height: 1px;
	border: none;
	background-color: #CCCCCC;
}
.footprint_campaing_assigned_list__button {
    margin-top: 8px;
}

/******************************************************************************
    /organization/messages/facilities.php
******************************************************************************/
input.datalist-target-input::-webkit-calendar-picker-indicator {
    display: none !important;
}
.page-nav-list .icon-message {
	font-size: 32px;
}
.section-container--message-container {
	container-type: inline-size;
    container-name: message-container;
}
.own-children-message-viewer {
	display: grid;
	grid-template-columns: 240px 1fr;
	min-height: 768px;
	border-radius: 10px;
	border: 1px solid #707070;
	box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.16);
}
.own-children-accounts {
	grid-column: 1;
	padding: 16px 12px;
	border-right: 1px solid #707070;
}
:where(.own-children-accounts) .own-children-accounts__header {
	margin-bottom: 24px;
}
:where(.own-children-accounts) .own-children-accounts__title {
	display: flex;
    align-items: center;
    column-gap: 12px;
	margin: 0 0 8px;
	font-weight: bold;
	font-size: 14px;
}
.friend-list {
	display: grid;
    row-gap: 16px;
	overflow-y: scroll;
	max-height: 100vh;
}
.friend-account-box {
	display: grid;
	align-items: center;
    row-gap: 8px;
	column-gap: 12px;
	grid-template-columns: 40px 1fr;
	width: 100%;
    max-width: 240px;
	padding: 12px;
}
.friend-account-box.friend-account-box--wide {
	max-width: initial;
}
:is(.friend-account-box.active, .friend-account-box:hover) {
	border-radius: 8px;
	background: #f5f5f5;
}
:where(.friend-account-box) .friend-eyecatch {
	grid-row: 1 / 3;
	grid-column: 1;
	width: 32px;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
:where(.friend-account-box) .friend-supplement {
	grid-column: 2;
	line-height: 1.4em;
	font-weight: normal;
	font-size: 6px;
}
:where(.friend-account-box) .friend-name {
	grid-column: 2;
	line-height: 1.4em;
	font-weight: bold;
	font-size: 12px;
}
.message-viewer-area {
	grid-column: 2;
	display: grid;
	grid-template-columns: 240px 1fr;
    grid-template-rows: 64px 1fr;
}
:where(.message-viewer-area) .message-view-area__header {
	grid-column: 1 / 3;
	display: grid;
    align-items: center;
	padding-left: 12px;
	padding-right: 12px;
	border-bottom: 1px solid #707070;
}
:where(.message-viewer-area) .children-friend-list__area {
	grid-column: 1;
	padding: 16px 12px;
	border-right: 1px solid #707070;
}
:where(.children-friend-list__area) .children-friend-list__title {
	margin: 0 auto 12px;
	font-weight: bold;
	font-size: 12px;
}
:where(.message-viewer-area) .message-history-viewer {
	grid-column: 2;
	max-height: 100vh;
}
:where(.message-viewer-area) .message-edit-area {
	display: flex;
	align-items: center;
	column-gap: 16px;
	padding: 12px 24px;
	border-bottom: 1px solid #AAAAAA;
}
:where(.message-viewer-area) .message-edit-element {
	flex: 1;
}
:where(.message-viewer-area) .message-send-button {
	all: unset;
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 12px;
	width: 140px;
	height: 36px;
	border: 2px solid var(--theme--color);
	border-radius: 6px;
	color: #ffffff;
	font-weight: bold;
	font-size: 12px;
	background-color: var(--theme--color);
	cursor: pointer;
	transition: all 0.1s ease-in-out;
}
:where(.message-viewer-area) .message-send-button.icon::before {
	color: #ffffff;
	transition: all 0.1s ease-in-out;
}
:where(.message-viewer-area) .message-send-button:hover {
	background-color: #ffffff;
	color: var(--theme--color);
	opacity: 0.7;
}
:where(.message-viewer-area) .message-send-button.icon:hover::before {
	color: var(--theme--color);
	opacity: 0.7;
}
.chat-messages-list {
	padding: 8px 24px;
	max-height: min(100%, calc(96px * 10));
	overflow-y: scroll;
}
:where(.chat-messages-list) .chat-message-list__item {
    display: flex;
    flex-direction: column;
    align-items: center;
	min-height: 72px;
}
:where(.chat-messages-list) .chat-message-posted_at {
	display: inline-block;
    width: fit-content;
	font-weight: normal;
	font-size: 6px;
}
:where(.chat-messages-list) .chat-message-box {
    padding: 12px 12px;
    margin-right: auto;
	border-radius: 16px;
	line-height: 18px;
    text-align: left;
	font-weight: bold;
	font-size: 12px;
	color: #707070;
	background-color: #f5f5f5;
}
:where(.chat-messages-list) .chat-message-box.chat-message-box--receive {
	margin-left: auto;
	margin-right: initial;
	background-color: #188cf9;
	color: #fff;
}

@container message-container (max-width: 768px) {
	.own-children-message-viewer {
		grid-template-columns: 84px 1fr;
	}
	:where(.own-children-accounts) .own-children-accounts__title {
		justify-content: center;
	}
	:where(.own-children-accounts) .own-children-accounts__title-text {
		display: none;
	}
	:where(.own-children-accounts__header) .datalist-target-input {
		display: none;
	}
	:where(.parent-friend-list) .friend-account-box {
		display: flex;
	}
	:where(.parent-friend-list) :is(.friend-supplement, .friend-name) {
		display: none;
	}

}

/******************************************************************************
    /organization/operators/
******************************************************************************/
.operator-edit-form {
	display: flex;
    flex-direction: column;
    row-gap: 24px;
}
.operator-edit-form__box.operator-edit-form__box--basic {
    display: grid;
    grid-template-columns: repeat(2, calc(50% - 12px));
	row-gap: 16px;
    column-gap: 24px;
}
.operator-edit-form__item.operator-edit-form__item--title {
	display: flex;
	column-gap: 24px;
}
span.operator-edit-form__item__element {
    flex: 1;
}
.operator-list {
	display: flex;
	flex-direction: column;
	row-gap: 24px;
}
.operator-list__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	column-gap: 24px;
}
.operator-list .button-basic.icon::before {
	color: var(--theme-color);
}
.operator-list__item-name {
    column-gap: 36px;
    display: flex;
    align-items: center;
}
:where(.operator-list__item-name) .operator-list__item-name__label {
	width: auto;
	max-width: initial;
}
:where(.operator-list__item-name) .operator-list__item-name__label .round-label-from {
	width: 160px;
}
:where(.operator-list__item-name) .operator-list__item-name__label .round-label-to {
	width: 240px;
	text-align: left;
}
:where(.operator-list__item-name) .operator-list__item-registed_at {
	line-height: 20px;
}
.operator-list__item-button {
	display: flex;
	align-items: center;
	column-gap: 12px;
}
.operator-list__item-button .button-basic {
	min-width: 140px;
    height: 40px;
	border-width: 2px;
	font-size: 14px;
}
.operator-list__item-button .button-basic.icon::before {
	font-size: 14px;
}
@media screen and (max-width: 1024px) {
	.operator-edit-form__box.operator-edit-form__box--basic {
		display: flex;
    	flex-direction: column;
	}
	.operator-list__item {
		flex-direction: column;
		row-gap: 24px;
	}
	.operator-list__item-name {
		width: 100%;
	}
	:where(.operator-list__item-name) .operator-list__item-name__label {
		width: 100%;
	}
	:where(.operator-list__item-name) .operator-list__item-registed_at {
		margin-left: auto;
	}
	.operator-list__item-button {
		width: 100%;
	}
	.operator-list__item-button .button-basic {
		flex: 1;
	}
}