﻿@charset "utf-8";

/* メッセージ一覧
---------------------------------------------------------------------------- */
/*新着件数*/
.news-notification-wrap{
    display: flex;
    justify-content: flex-start;
    margin: 0 0 20px -3%;
}
.news-notification-item{
    margin: 0 0 0 3%;
    padding: 20px 20px 20px 20px;
    text-align: center;
    border: 1px solid #CCCCCC;
    background: #FFFFFF;
    border-radius: 5px;
    max-width: 200px;
    width: 25%;
}
.news-notification-item__title{
    margin: 0 0 20px 0;
}
.news-notification-item__number{
    font-size: 3em;
    line-height: 1;
    position: relative;
}
.news-notification-item__number::before{
    content: "";
    display: block;
    margin: -20px 0 0 0;
}
@media screen and (max-width: 1110px) {
    .news-notification-item{
        max-width: none;
        width: 47%;
    }
}
@media screen and (max-width: 900px) {
    .news-notification-item__title{
        font-size: 0.9em;
    }
}

/*検索*/
.message-filter{
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    margin: 0 0 20px 0;
}
.message-filter-item{
    margin: 0 15px 10px 0;
}
.message-filter__title{
    line-height: 1;
    font-size: 0.8em;
    margin: 0 0 5px 0;
}
.message-filter input{
    padding: 10px;
}
.search-btn{
    padding: 22px 0 0 0;
}
@media screen and (max-width: 1350px) {
    .search-btn{
        width: 100%;
    }
    .search-btn .btn-action{
        margin: 0 auto;
    }
}
@media screen and (max-width: 900px) {
    .message-filter{
        flex-direction: column;
    }
}

/*テーブル*/
.table-sort{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0 0 20px 0;
}
.table-sort div{
    margin: 0 0 10px 20px;
}

/*テーブル*/
.message-table{
    width: 100% !important;
    min-width: 1200px !important;/*スクロール*/
    white-space: nowrap;/*スクロール*/
    border-left: 1px solid #CCCCCC;
	font-size: 0.9em;
}
/*
.message-table tr:nth-child(even) {
    background: #f0f0f6;
}
*/
.message-table tr:hover{
    cursor: pointer;
    background: #dadaf7;
}
.message-table th{
	padding: 2px;
    background: #EEEEEE;
    text-align: center;
	border-top: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}
.message-table td{
	padding: 2px;
    text-align: center;
	border-top: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
}
.chip-cell{
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal !important;
}

/*編集アイコン*/
.message-table a.edit{
    display: block;
    margin: -15px 0 0 0;
}
.message-table a.edit:hover{
    opacity: 0.8;
}
/*お気に入りアイコン*/
.message-table a.favorite{
    display: block;
    margin: -12px 0 0 0;
}
.message-table a.favorite img{
    width: 20px;
    height: 20px;
}
.message-table a.favorite:hover{
    opacity: 0.8;
}

/* メッセージ詳細
---------------------------------------------------------------------------- */
.border-content{
    margin: 0 0 40px 0;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 5px;
}
.border-content__title{
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 10px 0;
}

/*メッセージ*/
.message-wrap{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 40px 0 0 0;
}

/*メッセージ：ユーザー*/
.message-wrap-user{
    width: 55%;
    margin: 0 auto 40px 0;
}
.user-message{
    padding: 20px;
    border: #CCCCCC;
    background: #EEEEEE;
    border-radius: 10px;      
}
.user-message-date{
    font-size: 0.8em;
    margin: 0 0 0 10px;
}

/*メッセージ：オーナー*/
.message-wrap-owner{
    width: 55%;
    margin: 0 0 40px auto;
}
.owner-message{
    padding: 20px;
    border: 1px solid #CCCCCC;
    border-radius: 10px;    
}
.owner-message-date{
    text-align: right;
    font-size: 0.8em;
    margin: 0 10px 0 0;
}

.count{
    font-size: 0.8em;
    text-align: right;
}

/*メッセージ投稿*/
.message-text-entry{
    width: 80%;
    margin: 0 auto 0 auto;
}
.message-text-entry .form-textarea{
    width: 100%;
    height: 100px;
    padding: 10px;

}


/* メッセージ
---------------------------------------------------------------------------- */
/*未読*/
.unread td{
    font-weight: bold !important;
    
}
.unread td{
    /*color: #FFFFFF;*/
    background: #e8e8ff;
}
.unread td:first-child img{
    /*filter: brightness(0) invert(1);*/
}


/*メールアイコン*/
.message-table a.mail{
    display: block;
    margin: -12px 0 0 0;
}
.message-table a.mail img{
    width: 20px;
    height: 20px;
}
.message-table a.mail:hover{
    opacity: 0.8;
}
