@charset "utf-8";
/* ▼▼▼　2023.12.02 追加 */

#announcements {
    width: 940px;
    margin: 0 auto;
    padding: 0;
}
#announcements > h2 {
    height: 100px;
    line-height: 100px;
}
#announcements > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#announcements > ul > li {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
}
#announcements > ul > li > article {
    padding: 35px;
    background-color: #d2ddf0;
    color: #231815;
    text-align: left;
    border-radius: 1rem;
}
#announcements > ul > li > article > .article-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    height: 40px;
    line-height: 40px;
}
#announcements > ul > li > article > .article-header > .post-date {
    min-width: 9rem;
    height: 40px;
    padding: 0 0.5rem;
    white-space: nowrap;
    background-color: white;
    border-radius: 0.3rem 0 0 0.3rem;
}
#announcements > ul > li > article > .article-header > .post-title {
    height: 40px;
    padding: 0 0.5rem;
    background-color: #a2bbe1;
    color: white;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-radius: 0 0.3rem 0.3rem 0;
}
#announcements > ul > li > article > .post-content {
    color: #231815;
    padding: 1rem 0 0;
    text-align: justify;
}
#announcements > .twitter {
    margin: 5rem 0;
}
#announcements > .twitter > a {
    text-decoration: none;
    color: #939393;
}
/* ▲▲▲　2023.12.02 追加 */

/* 1240以上 */

@media (min-width: 1240px) {
    .content {
        height: 480px;
        max-width: 1040px;
        position: relative;
        margin: auto 100px auto;
    }
    .description {
        height: 180px;
        text-align: center;
        padding: 25px 20px 0px;
        z-index: 40;
        position: relative;
        line-height: 2;
    }
    .img-animal {
        position: absolute;
        bottom: 0px;
        left: 0px;
        right: 0px;
        z-index: 20;
    }
    .time {
        padding-top: 20px;
        height: 100px;
        line-height: 2;
    }
    .info {
        font-size: 26px;
        font-weight: bold;
        height: 100px;
        text-align: center;
        line-height: 100px;
    }
}

@media (min-width: 1201px) and (max-width: 1239px) {
    .content {
        height: 480px;
        position: relative;
    }
}
@media (min-width: 1001px) and (max-width: 1200px) {
    .content {
        height: 450px;
        position: relative;
    }
}
@media (min-width: 801px) and (max-width: 1000px) {
    .content {
        height: 420px;
        position: relative;
    }
}

@media (min-width: 601px) and (max-width: 800px) {
    .content {
        height: 390px;
        position: relative;
    }
}

@media (max-width: 600px) {
    .content {
        height: 360px;
        position: relative;
    }
}

/* 1239以下 */

@media (max-width: 1239px) {
    /* ▼▼▼　2023.12.02 追加 */
    #announcements {
        width: 85vw;
        max-width: 940px;
    }
    #announcements > ul > li > article > .article-header {
        height: auto;
        flex-direction: column;
    }
    #announcements > ul > li > article > .article-header > .post-date {
        border-radius: 0.3rem 0.3rem 0 0;
    }
    #announcements > ul > li > article > .article-header > .post-title {
        height: auto;
        padding: 0.5rem;
        background-color: #a2bbe1;
        color: white;
        overflow: auto;
        white-space: normal;
        line-height: 24px;
        border-radius: 0 0 0.3rem 0.3rem;
    }
    /* ▲▲▲　2023.12.02 追加 */
    .description {
        height: 180px;
        text-align: center;
        padding: 25px 20px 0px;
        z-index: 40;
        position: relative;
        line-height: 2;
    }
    .img-animal {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        z-index: 20;
    }
    .time {
        padding-top: 20px;
        height: 100px;
        line-height: 2;
    }
    .info {
        font-weight: bold;
        height: 100px;
        text-align: center;
        line-height: 100px;
        background: #d2ebea;
    }
    #twitter {
        background: #d2ebea;
    }
    #tweetTitle {
        height: 50px;
    }
    .twitter-follow-button {
        vertical-align: middle;
    }
}
