
#connoba_thread_heading {
    font-size: 22px;
}
#msg_container {
    height: calc(100vh - 90px);
    overflow-y: auto;
}
.connoba_topics {

    position: relative;
    padding: 0;
    margin: 0;
    overflow: auto;
    min-height: 100%;
}
.connoba_topics li {
    border-bottom: solid 1px #c0c0c0;
    display: flex;
    align-items: center;
    /*height: 60px;*/
    min-height: 48px;
    box-sizing: border-box;
    width: 100%;
    transition: all .4s;
    background-position: right 46px center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #ffffff80;
}

.resizing .connoba_topics li {
    transition: none;
}
.connoba_topics.abs li {
    position: absolute;
}
.connoba_topics li.hidden {
    display: none;
}

/*#topics ul.abs li {*/
/*    position: absolute;*/
/*}*/

#topics li span {
    line-height: 120%;
}


#topics li.expand {
    /*animation: expand_topic 4s;*/
    animation:
            exp .4s forwards,
            shrink .4s 4s forwards;
}
#topics li.expand .topic {
    /*animation: expand_topic 4s;*/
    animation:
            exp_topic .4s forwards,
            shrink_topic .4s 4s forwards;
}

span#count {
    margin-left: 10px;
}

.connoba_topics .weight {
    display: none;
}

.connoba_topics .rank {
    #background-color: fuchsia;
    background-color: #c0c0c0;
    width: 26px;
    height: 26px;
    line-height: 26px;
    font-size: 16px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 50%;
    color:#ffffff;
    margin-left: 2px;
    cursor: default;
}
.connoba_topics .rank.char3 {
    font-size: 10px;
}
.connoba_topics .rank.char4 {
    font-size: 8px;
}

.connoba_topics .ttag {
    /*width: 28px;*/
    /*todo: #アイコンを入れる場合。*/
    height: 24px;
}

.connoba_topics .tagged .ttag {
    background: url("img/hashtag_icon_gray.svg") no-repeat left 4px center;
    cursor: pointer;
}

.connoba_topics .topic {
    line-height: 0.9em;
    flex: 1;
    text-align: center;
    /*transition: all .3s;*/
}

.connoba_topics .topic span {
    vertical-align: middle;
}
.connoba_topics .up .topic {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
    z-index: 1;
}
.connoba_topics .down .topic {
    text-shadow: -2px -2px 4px #c0c0c0;
    transform: scale(0.95);
    color: #777;
}

.connoba_topics .filter_on .topic {
    background-image: url("img/hashtag_icon_color.svg");
}

/*.topic span:first-child::before {*/
/*    content: url('img/circle-check.svg');*/
/*}*/

.connoba_topics .heart {
    font-size: 12px;
    /*width: 3em;*/
    text-align: right;
    background-image: url(img/heart_outline.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px;
    padding-left: 17px;
    margin-left: 4px;
    cursor: pointer;
}

.connoba_topics .my_heart .heart {
    background-image: url(img/heart_full.png);
}
.connoba_topics .my_heart.my_heart_half .heart {
    background-image: url(img/heart_half.png);
}

.connoba_topics .heart2 {
    float: right;
    font-size: 10px;
    width: 3em;
    text-align: right;
    background-image: url(img/heart_outline.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 14px;
    padding-top: 12px;
    text-align: center;
}

#wight {
    font-size: 10px;
    margin-top: 31px;
    display: none;
}
.connoba_thread_list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    overflow: auto;
    height: 100%;
    cursor: pointer;
}
.connoba_thread_list li {
    color: #888;
    border-left: solid 8px #aaa;
    background-color: #dddddd;
    transition: background-color 5s; /*durationは quick viewとliveで違うべき。*/
    border-bottom: solid 1px white;
    padding: 6px 4px;
    cursor: pointer;
}
.connoba_thread_list li:first-child {
    border-top: solid 1px white;
}

.connoba_thread_list li.hot {
    background-color: #ffa3a3;
    transition: background-color .2s;
}
.connoba_thread_list li.visited {
    color: black;
    border-left: solid 8px #aaa;
    cursor: pointer;
}
.connoba_thread_list li.selected {
    border-left: solid 8px #800;
}

.connoba_arrow {
    width: 24px;
    height: 24px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
}
#connoba_prev {
    background-image: url("img/caret-left.svg");
}
#connoba_prev.disabled {
    background-image: url("img/caret-left-gray.svg");
}
#connoba_next {
    background-image: url("img/caret-right.svg");
}
#connoba_next.disabled {
    background-image: url("img/caret-right-gray.svg");
}
.connoba_thread_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ddd;
    padding: 4px 8px 4px 46px;
    position: relative;
}

#connoba_thread_heading {
    margin: 0 24px;
    text-align: center;
    font-weight: normal;
}

.drop_down_thread {
    width: 16px;
    margin-right: 4px;
}
#connoba_auto {
    border: solid 1px #aaa;
    border-radius: 6px;
    position: absolute;
    font-size: 12px;
    left: 6px;
    background-image: url("img/caret-left-white.svg"), url("img/caret-right-white.svg");
    background-repeat: no-repeat;
    background-position: left 3px bottom 2px, right 3px bottom 2px;
    background-color: #aaa;
    padding: 2px 2px 14px 2px;
    color: white;
    cursor: pointer;
}

#connoba_auto.on {
    background-color: #a00;
}


#connoba_message_list {
    /*background-color: #ffffff;*/
    list-style-type: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    padding-bottom: 70px;
    box-sizing: border-box;
}

#connoba_message_list li {
    border-bottom: solid 1px #888888;
    display: flex;
    padding: 3px;
    transition: height .3s;
    /*min-height: 48px;    開いた時に一時的に重なるのをなるべく防ぐように入れたけど、prependかどうかで分けたのでいらない*/
    box-sizing: border-box;
    overflow-y: hidden;
}


/*yuzawaで追加*/
#connoba_message_list li.hide {
    display:none;
}

#connoba_message_list .thumb {
    border: solid 1px #a0a0a0;
    margin-right: 8px;
    border-radius: 12px;
    overflow: hidden;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#connoba_message_list .thumb_text {
    background-color: #2aa198;
    color: white;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 24px;
    padding: 5px 0;
    box-sizing: border-box;
}

#connoba_message_list .msg_container {
    flex: 1;
    padding: 3px;
}

#connoba_message_list .message_head {
    display: flex;
    /* justify-content: space-between; */
    font-size: 12px;
}

#connoba_message_list .username {
    flex-basis: 6em;
    word-break: break-all;
}

#connoba_message_list pre {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
#connoba_message_list .tags {
    flex: 1;
}
#connoba_message_list .tags span {
    color: white;
    font-size: 10px;
    background-color: #a0a0a0;
    border-radius: 10px;
    padding: 2px 4px;
    margin: 0 3px;
}
#connoba_message_list .tags span.hit {
    background-color: #4444ff;
}
#connoba_message_list .thumb img {
    /*min-width: 48px;*/
    /*min-height: 48px;*/
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}
#connoba_message_list .joined {
    background-color: #f0f0f0;
    font-size: 14px;
    color: #333;
}
#connoba_message_list .joined .thumb {
    width: 19px;
    height: 19px;
    border-radius: 4px;
}
#connoba_message_list .joined .thumb_text {
    font-size: 12px;
    padding: 0px 0;
}


#connoba_message_list .joined_text {
    flex: 1;
}

.topic_box {
    flex:1;
    position: relative;
}
.topic_box input {
    border-radius: 4px;
    width: 100%;
    padding: 2px 28px 2px 8px;
    font-size: 18px;
    box-sizing: border-box;
    border: solid 1px #888;
}

#topic_send {
    background: url(img/heart_outline.png) no-repeat left 2px center white;
    background-size: 10px;
    padding: 1px 3px 1px 14px;
    border-radius: 4px;
    border: solid 1px #888;
}
#topic_send:disabled {
    background-color: #e0e0e0;
}

#topic_input {
    /*position: relative;*/
    /*flex: 1;*/
    max-width: 512px;
}
#length_remained {
    position: absolute;
    right: 4px;
    bottom: 2px;
    color: gray;
    text-align: right;
    font-size: 12px;
}
#length_remained.error {
    color: red;
    font-weight: bold;
}

.topic_context {
    background-color: white;
    border: solid 1px #c5c5c5;
    box-shadow: 4px 4px 7px #c5c5c5;
    border-radius: 4px;
    font-size: 86%;
    z-index: 2;
}
.topic_context ul {
    margin: 0;
    list-style-type: none;
    padding: 0;
}
.connoba_topics>.topic_context>ul>li {
    cursor: pointer;
    padding: 4px 4px 4px 24px;
    position: initial;
    min-height: 12px;
}
.topic_context li+li {
    border-top: solid 1px #aaa;
}
.topic_context .tc_tag {
    background: url('img/hashtag_icon_color.svg') no-repeat left 3px center;
    background-size: 16px;
}
.topic_context .tc_cancel {
    background: url('img/x.svg') no-repeat left 5px center;
    background-size: 12px;
}
.topic_context .tc_cancel_heart {
    background: url('img/heart_gray.png') no-repeat left 3px center;
    background-size: 16px;
}
.topic_context .tc_disabled {
    /*color: lightgray;*/
    opacity: 0.5;   /* アイコンごと薄く */
    cursor: initial;
}

.topic_more {
    /*visibility: hidden;*/
    display: none;
    box-sizing: border-box;
    background-image: url('img/plus-lg.svg');
    background-position: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: solid 1px #444444;
    margin-right: 8px;
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 5s;
    z-index: 2; /* must be upper to arrow plane */
 }

.link_hot .topic_more {
    background-color: #ff8888;
    transition: background-color 0.2s;
}

.msg_link .topic_more {
    /*visibility: visible;*/
    display: block;
}

li.selected_topic .topic_more {
    border-color: #0000ff;
    border-width: 2px;
}

.topic_write {
    background-image: url('img/pencil-square.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
    background-color: #fff;
    z-index: 2;
}

li.msg_link .topic_write {
    display: none;
}

@media screen and (min-width:767px) {
    .topic_write {
        opacity: 0.2;
    }
    li.selected_topic .topic_write {
        opacity: 1;
    }

    .topic_write:hover {
        opacity: 1;
    }
}