﻿@charset "UTF-8";

.top-news{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4C4F51;
    margin: 0 auto 180px;
    font-family: "Noto Sans JP";
}

.top-news-title{
    font-family: "Roboto";
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.news-sub-title{
    display: block;
    width: 238px;
    border-bottom: 1px solid #4C4F51;
    font-size: 16px;
    padding: 8px 0 14px;
    margin-bottom: 40px;
    line-height: 1;
}

.top-news-list{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-news-item{
    max-width: 941px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: left;
    margin: 0 auto;
    padding: 24px 44px 24px 40px;
}

.top-news-date{
    width: 20%;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
}

.top-news-content{
    width: 75%;
    font-size: 16px;
    font-family: Noto Sans JP;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.05em;
    font-weight: 400;
}


.news-page-btn{
    margin: 40px auto 0;
    text-align: center;
    transition: opacity 0.15s ease;
    cursor: pointer;
}

.news-page-btn:hover{
    opacity: 0.5;
}

.news-btn-text{
    font-size: 20px;
    font-weight: 400;
    font-family: Noto Sans JP;
    color: #4C4F51;
    position: relative;
    padding-right: 30px;
}

.news-btn-text::before{
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    height: 11px;
    border-top: 1px solid #4C4F51;
    transform: translateY(-50%) rotate(45deg);
}

.news-btn-text::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    width: 12px;
    height: 13px;
    border-bottom: 1px solid #4C4F51;
    transform: translateY(-50%) rotate(-45deg);
}

@media (max-width: 767px){
    .top-news{
        padding: 0 20px 0;
        margin: 0 auto 96px;
    }

    .top-news-title{
        font-size: 20px;
    }

    .news-sub-title{
        font-size: 14px;
        width: 132px;
        padding-bottom: 9px;
    }
    
    .top-news-list{
        gap: 24px;
    }

    .top-news-item{
        max-width: 700px;
        min-width: 320px;
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 12px;
    }

    .top-news-date{
        width: 80%;
        margin-bottom: 8px;
        font-size: 12px;
        line-height: 1;
    }

    .top-news-content{
        width: 100%;
        font-size: 12px;
    }

    .news-btn-text{
        font-size: 12px;
        padding-right: 14px;
    }

    .news-btn-text::before{
        right: 0;
        width: 6px;
        height: 5px;
    }

    .news-btn-text::after{
        right: 1px;
        width: 6px;
        height: 7px;
    }

    .news-page-btn{
        width: 100%;
        margin: 40px auto 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}