/* 全体 */
header {
    position: fixed;
    z-index: 1;
}
.chat {
    position: relative;
    border: 1px solid #dee2e6;
    border-width: 0 1px;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-flex: 1;
    flex: 1 1 auto;
    float: right;
    width: 100%;
    padding-bottom: 6rem;
}
.chat *,
.chat *::before,
.chat *::after {
    box-sizing: border-box;
}
.chat__title {
    padding: 0.5rem 1rem 0.5rem 1rem;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}
.chat__form {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    position: -webkit-fixed;
    position: fixed;
    bottom: 0;
    min-height: 6rem;
    max-height: 16rem;
    width: 100%;
}
.title-items, .form-items {
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.title-items__innner {
    display: flex;
    text-align: center;
}
.title-items__innner.title-items__innner--main {
    width: 50%;
}
.title-items__innner.title-items__innner--main > a {
    margin-bottom: 0;
    font-size: 0.75rem;
    font-weight: bold;
}
.form-items__inner:nth-child(2) {
    padding: 1rem 0;
}
.form-items__inner:not(:last-child) {
    padding-right: 0;
}
.form-group {
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-radius: 20px;
    height: 100%;
}
.form-group__item {
    display: inline-block;
}
.form-group__item--editable {
    width: 100%;
    overflow-y: auto;
    word-break: break-all;
    font-size: 1.5rem;
    align-items: center;
    margin: 10px 0;
    padding: 1rem;
    min-height: 4rem;
    max-height: 14rem;
    line-height: 1.25;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
}
.form-group__item--send {
    height: 6.5rem;
}
.form-group__item--file {
    height: 6.5rem;
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
}
.form-group__item--fileIcon {
    font-size: 2rem!important;
    width: max-content;
    display: inline-block;
    padding: 2rem 1.5rem;
}
/* テキストリンク */
.text-info {
    color: #666f86 !important;
}
a.text-info {
    text-decoration: none !important;
}
a.text-info:hover, a.text-info:focus {
    color: #505769 !important;
}
/* 範囲選択の指定 */
.user-select-text {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}
.send-button {
    font-weight: bold;
    width: max-content;
    display: inline-block;
    padding: 2rem 2rem 2rem 1.5rem;
}
.send-button .fa-paper-plane-o {
    color: #2E6ACE;
}


/* 全体 */
.chat__content {
    padding: 10px;
    background-color: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    display: flex;
    flex-flow: column;
    gap: 10px;
}
/*送信メッセージ*/
.userMypageChatWindow__section {
    display: flex;
    flex-flow: row-reverse nowrap;
    align-items: flex-end;
    gap: 5px;
}
.userMypageChatWindow__section--reverse {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-end;
    gap: 5px;
}
.userMypageChatWindow__section--chatDate {
    display: flex;
    justify-content: center;
}
.userMypageChatWindow__section--unreadLine {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.userMypageChatWindow__section--restartGetMessage {
    display: flex;
    justify-content: flex-end;
}
.userMypageChatWindow__message {
    border-radius: 10px;
    display: inline-block;
    background: #2e6ace;
    padding: 10px;
    color: #fff;
    max-width: calc(100% / 4 * 3);
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}
.userMypageChatWindow__message--reverse {
    background: #e7ecf3;
    color: unset;
}
.userMypageChatWindow__message--image {
    background: #fff;
    padding: 0;
}
.userMypageChatWindow__message a {
    color: unset;
    text-decoration: underline;
}
.userMypageChatWindow__side {
    display: flex;
    align-items: end;
    flex-flow: column;
    margin-right: 3px;
    color: #8692a4;
    font-size: 11px;
    gap: 2px;
}
.userMypageChatWindow__image {
    max-width: 200px;
    border-radius: 10px;
}
.userMypageChatWindow__alreadyRead,
.userMypageChatWindow__time {
    color: unset;
    font-size: unset;
}
/* 削除済みメッセージ */
.userMypageChatWindow__section--delete .userMypageChatWindow__message {
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #b2b7c2;
    font-size: 12px;
    color: #b2b7c2;
}

.userMypageChatDate__item {
    width: 73px;
    height: 22px;
    border-radius: 11px;
    background: #8692a4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
}

/* ロードアイコン */
.load_icon {
    background: url("/images/common/loader.gif") right 15px center no-repeat scroll #fff;
}
/* エラーメッセージ */
.errorMesssageSideItem__message {
    color: #f44336;
    font-size: 11px;
}
/* 未読メッセージの印 */
.unreadLine__line {
    border-bottom: 1px solid #b2b7c2;
    flex: 1;
}
.unreadLine__text {
    color: #b2b7c2;
    font-size: 12px;
}
/* チャット再読み込み */
.restartLoadMessageText__anchor {
    text-decoration: none;
    font-size: 13px;
    color: #1745a3;
}
.restartLoadMessageText__icon {
    margin-right: 5px;
}

.display-none {
    display: none;!important;
}
