#navbar-a.navbar-transparent.nav li a:hover,
#navbar-a.navbar-transparent.nav li a:active {
    color: #666;
}

#navbar-a.navbar-transparent {
    background-color: transparent;
    border: none;
}

#navbar-a.navbar-transparent a.nav-link {
    color: white;
    font-weight: 600;
}

#navbar-a.navbar-transparent a.dropdown-item {
    color: white;
    font-weight: 600;
}

#navbar-a.navbar-transparent li.dropdown ul.dropdown-menu {
    /* background-color: rgba(251, 244, 236, 0.6); */
    background-color: transparent;
    box-shadow: none;
    border-top: none;
}

.navbar-colored {
    background-color: rgb(251, 244, 236);
    /* お好みの色を設定 */
    transition: background-color 0.5s ease;
}


#top-img {
    width: 100%;
    height: 100vh;
    background-color: rgb(251, 244, 236);

    position: relative;
    margin-bottom: 100px;

    background-image: url('https://sit-archi.com/wp-content/uploads/2024/05/sit_main-01.png');
    background-position: center;
    background-size: cover;
}

#top-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    /* 黒のオーバーレイ (50%の不透明度) */

    z-index: 1;
    /* コンテンツよりも後ろに配置 */
}



#top-img .top-scripts {
    width: 90%;
    position: relative;
    z-index: 2;
    /* オーバーレイよりも前に配置 */
    left: 10%;
    bottom: calc(-100% + 550px);
    color: white;
}

.top-scripts h2 {
    font-size: 70px;
    letter-spacing: .2em;
    margin-bottom: 100px;
}

.top-scripts h1 {
    font-size: 50px;
    letter-spacing: .05em;
    margin-bottom: 20px;
}

.top-scripts h3 {
    font-size: 23px;
    letter-spacing: .1em;
}

.scroll {
    color: white;
    position: absolute;
    z-index: 2;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1em;
}

.main-message {
    margin-bottom: 100px;
    text-align: center;
}

.main-message h2 {
    font-size: 30px;
    letter-spacing: .25em;
    line-height: 2em;
    margin-bottom: 50px;
}

.main-message p {
    width: 70%;
    margin: auto;
    margin-bottom: 30px;
    font-size: 13px;
    letter-spacing: .25em;
    line-height: 2.5em;
}

h2.content-title {
    font-size: 30px;
    margin-bottom: 40px;
    letter-spacing: .1em;
}


.news-container {
    justify-content: space-between;
}

.news {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
}

.news .news-img {
    width: 100px;
    height: 100px;
    background-position: center;
    background-size: cover;
}

.news .tag {

    width: 70px;
    height: 15px;
    margin-right: 20px;
    text-align: center;
    color: white;
    font-size: 10px;
}

.tag_graduate-ring {
    background-color: rgb(95, 161, 227);
}

.tag_general {
    background-color: rgb(76, 76, 76);
}

.tag_board {
    background-color: rgb(94, 196, 116);
}

.tag_exchange {
    background-color: rgb(95, 104, 227);
}

.tag_others {
    background-color: rgb(128, 95, 227);
}

.tag_information {
    background-color: rgb(248, 166, 58);
}

.tag-newpost {
    background-color: rgb(221, 95, 95);
    height: 15px;
    width: 30px;
    margin-right: 10px;
    font-size: 10px;
    color: white;
    padding: auto;
    text-align: center;
    
    display: none;
}

.news .tag-newpost.display {
    display: block;
}

.news .news-outline-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.news .flex {
    display: flex;
    align-items: center;
}

.news p.post-date {
    font-size: 15px;
    margin: 0;
}



.news h3.news-title {
    font-size: 20px;
    letter-spacing: .1em;
}

.news p.news-script {
    font-size: 13px;
    /* letter-spacing: .1em; */
}

@media(min-width:768px) {
    .md-br::before {
        content: '\A';
        white-space: pre;
    }
}

@media(max-width:992px

    /* >=lg */
) {
    #top-img {
        background-image: url('https://sit-archi.com/wp-content/uploads/2024/05/sit_main-02.png');
    }

    .top-scripts h2 {
        font-size: 90px;
    }

    .top-scripts h1 {
        font-size: 40px;
    }

    .top-scripts h3 {
        font-size: 20px;
    }
}

@media(max-width:768px

    /* >=md */
) {
    #top-img {
        background-image: url('https://sit-archi.com/wp-content/uploads/2024/05/sit_main-02.jpg');
    }

    #top-img .top-scripts {
        left: 5%;
    }

    .top-scripts h2 {
        font-size: 35px;
    }

    .top-scripts h1 {
        font-size: 40px;
    }

    .top-scripts h3 {
        font-size: 15px;
    }

    .none-br::before {
        content: "\A";
        /* 改行を追加 */
        white-space: pre-line;
        /* 改行を有効にする */
    }

    .main-message h2 {
        font-size: 25px;
        letter-spacing: .15em;
    }

    .main-message p {
        width: 90%;
        font-size: 12px;
        letter-spacing: .1em;
    }

    .news-container {
        justify-content: center;
        margin: auto;
    }
}

@media(min-width:768px) {
    #top-img::before {
        background: linear-gradient(0deg, transparent, rgba(0, 0, 0, 0.48));
    }
}