
.cus-summernote {
    color: black;
    /*font-size: 18px;*/
    font-size: 14px;
    line-height: 1.6 !important;
    font-family: 'メイリオ',Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','Osaka','ＭＳ Ｐゴシック',Verdana,Arial,sans-serif;
}
.cus-summernote ol,
.cus-summernote ul {
    padding-inline-start: 40px;
}

.cus-summernote img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: scale-down;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.img_popover {
    /*width: auto !important;*/
    /*height: auto !important;*/
    /*display: block;*/
    width: 100% !important;
    object-fit: scale-down;
}

.cus-summernote blockquote {
    border-color: #0088cc !important;
}
.cus-summernote table {
    max-width: 100%;
}
.cus-summernote table tr:nth-of-type(even) {
    background-color: rgba(0,0,0,0.05);
}

.cus-summernote table tr:first-child{
    font-weight: 600;
    border-bottom-width: 2px;
}

.cus-summernote table tr:first-child td{
    font-weight: 600;
    border-bottom-width: 3px;
}

.cus-summernote .table td,
.cus-summernote .table th {
    border-color: rgba(0, 0, 0, 0.5) !important;
}

.cus-summernote b {
    font-weight: 600 !important;
}

.cus-summernote blockquote b {
    font-size: 18px;
}

.cus-summernote a {
    color: #0088CC;
    text-decoration: none;
    background-color: transparent;
}

.cus-summernote p {
    margin: 0 0 10px;
    color: black;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

.cus-summernote blockquote p {
    margin-bottom: 0px;
}

.cus-summernote h1,
.cus-summernote h2,
.cus-summernote h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

.cus-summernote h1 {
    font-size: 36px;
}
.cus-summernote h2 {
    font-size: 30px;
}
.cus-summernote h3 {
    font-size: 24px;
}

.cus-summernote h4,
.cus-summernote h5,
.cus-summernote h6 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 500;
}

.cus-summernote h4 {
    font-size: 18px;
}

.cus-summernote h5 {
    font-size: 14px;
}

.cus-summernote h6 {
    font-size: 12px;
}

.cus-summernote span {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 18px;
    line-height: 1.6;
}

.cus-summernote .note-toolbar span {
    font-size: 12px;
    line-height: 1.5;
}

.cus-summernote img {
    cursor: pointer;
}


/*******************/

.cus-summernote .chat-list {
    margin: 0 auto;
    padding: 15px;
    /*max-width: 640px;*/
    /*background: #fff;*/
    /*border: 1px solid #a1a1a1;*/
}

.cus-summernote .chat-list li {
    list-style: none;
    margin-top: 15px;
}

.cus-summernote .chat-list li .chat-img {
    display: inline-block;
    width: 45px;
    min-height: 45px;
    vertical-align: top;
    float: left;
}
.cus-summernote .chat-list li.reverse .chat-img {
    float: right;
}
.cus-summernote .chat-list li .chat-img img {
    width: 45px;
    height:45px;
    border-radius: 100%;
    border: none !important;
    pointer-events: none !important;
}

.cus-summernote .chat-list li .chat-content {
    width: calc(100% - 140px);
    display: inline-block;
    padding-left: 15px;
}
@media (max-width: 767px) {
    .cus-summernote .chat-list li .chat-content{
        width: calc(100% - 50px);
    }
    .cus-summernote table {
        width: 100% !important;
    }
}

.cus-summernote .chat-list li .chat-content h5 {
    color: #99abb4;
}

.cus-summernote .chat-list li .chat-content .box {
    display: inline-block;
    margin-bottom: 10px;
    color: #263238;
    background-color: #e8fdeb;
    border-radius: 4px;
    padding: 10px;
}

.cus-summernote .chat-list li .chat-time {
    display: inline-block;
    text-align: right;
    width: 80px;
    font-size: 13px;
    color: #99abb4;
}

.cus-summernote .chat-list li.odd .chat-content {
    text-align: right;
    width: calc(100% - 90px);
}

.cus-summernote .chat-list li.odd .box {
    clear: both;
}

.cus-summernote .chat-list li.odd + .odd {
    margin-top: 0px;
}

.cus-summernote .chat-list li.reverse {
    text-align: right;
}

.cus-summernote .chat-list li.reverse .chat-time {
    text-align: left;
}

.cus-summernote .chat-list li.reverse .chat-content {
    padding-left: 0px;
    padding-right: 15px;
}


.cus-summernote .post-tag {
    margin: 20px auto;
    /*max-width: 640px;*/
    background: #EBF4F9;
    border: 1px solid #41B1E5;
    position: relative;
    min-height: 150px;
    padding: 10px;
}

.cus-summernote .post-tag .tag-title {
    position: absolute;
    top: -12px;
    font-size: 1rem;
    line-height: 2rem;
    display :inline-block;
    padding: 0.1rem 0.5rem;
    background-color: #FC9705;
    color: #fff;
    font-weight: bold;
    left: 20px;
}
.cus-summernote .post-tag .tag-title:before {
    content : "\f0c1  ";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.cus-summernote .post-tag .tag-body {
    margin: 1.5rem 10px 1rem;
    padding: 10px;
    width: calc(100% - 160px);
    font-size: 0.9rem;
    line-height: 1.5rem;

}
.cus-summernote .post-tag .tag-body p {
    font-size: 0.9rem;
    line-height: 1.6rem;
}
.cus-summernote .post-tag .tag-body .tag-photo-wrap {
    position: absolute;
    margin-left: 10px;
    width: 150px;
    height: 150px;
    top: 0;
    right: 0;
}
.cus-summernote .post-tag .tag-body .tag-photo-wrap img{
    max-width: 100%;
    max-height: 100%;
    border: none !important;
    pointer-events: none !important;
}
.cus-summernote .post-tag .tag-body:after {
    display: table;
    content: ' ';
    clear: both;
}
.cus-summernote .post-tag .tag-footer {

}

.cus-summernote .post-tag .tag-footer a.tag-link {
    background-color: #0598EB;
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.3rem;
    padding: 0.1rem 0.5rem;
    border-radius: 10px;
}

.cus-summernote .post-tag .tag-footer a.tag-link span {
    font-size: 0.8rem;
    line-height: 1.3rem;
}
.cus-summernote .post-tag .tag-footer a.tag-link span:after {
    content: "  \f0a9";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

@media (max-width: 767px) {
    .cus-summernote .post-tag .tag-title {
        top: -10px;
        font-size: 0.9rem;
        line-height: 1.8rem;
        display :inline-block;
        padding: 0.1rem 0.3rem;
        left: 10px;
    }
    .cus-summernote .post-tag .tag-body .tag-photo-wrap {
        width: 100px;
        height: 100px;
        top: 0;
        right: 0;
    }
    .cus-summernote .post-tag {
        min-height: 100px;
    }

    .cus-summernote .post-tag .tag-body {
        width: calc(100% - 110px);
        padding: 0;
        font-size: 0.85rem;
    }
    .cus-summernote .post-tag .tag-body p {
        font-size: 0.85rem;
        line-height: 1.6rem;
    }
}

.cus-summernote mark {
    background-image: linear-gradient(transparent 60%, #cce0f3 50%);
    background-color: transparent;
}
.cus-summernote .mark {
    background-image: linear-gradient(transparent 60%, #cce0f3 50%);
    background-color: transparent;
}
.cus-summernote:not(.noprotect) {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
.cus-summernote .bloc-action-btns {
    display: none !important;
}