﻿@charset "UTF-8";

.p-homeSection{
    padding: 0;
}

.top-news-important{
    padding: 16px 0 0;
    color: #4C4F51;
    margin-bottom: 120px;
}

.news-important-item{
    width: 100%;
    border-bottom: 1px solid #4C4F51;
    padding-bottom: 10px;
}

.news-important-text{
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    font-size: 16px;
    font-family: "Noto Sans JP";
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.15s ease;
    padding: 0 20px;
}

.news-important-text:hover{
    opacity: 0.5;
}



@media (max-width: 767px){
    .top-news-important{
        padding: 4px 20px;
        background-color: #F5F5F5;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 60px;
    }

    .news-important-item{
        max-width: 700px;
        min-width: 320px;
        border: none;
        padding-bottom: 0;
    }


    .news-important-text{
        width: 100%;
        font-size: 12px;
        max-height: 20px;
        transition: opacity 0.15s ease;
        cursor: pointer;
    }
    
    .news-important-text:hover{
        opacity: 0.5;
    }

    .news-important-text::after{
        content: none;
    }
}
