/* カスタマイズ用CSS */

.--page-news .pgTitle:after {
    background: url(images/ttl-bg_news.png) no-repeat right bottom;
    background-size: contain;
}

.news-item  {
    margin-bottom: 30px;
} 

.news-item .news-new {
    flex: 0 0 72px;
    width: 72px;
    display: inline-block; 
    color: #ffa96f;
    border: 3px solid #ffa96f;
    border-radius: 8px;
    line-height: 1.2;
    text-align: center;
    padding: 3px;
    vertical-align: middle;
    visibility: hidden;
} 

.news-item-new .news-new {
    visibility: visible;
} 

.news-item .news-category {
    flex: 0 0 120px;
    width: 120px;
    display: inline-block; 
    background-color: #888;
    color: #fff;
    border-radius: 5px;
    line-height: 1.2;
    text-align: center;
    padding: 5px;
    vertical-align: middle;
} 

.news-item .news-category-shikirei {
    background-color: #42a9ed;
} 

.news-item .news-category-event {
    background-color: #ff867f;
} 

.news-item .news-category-region {
    background-color: #6fcba7;
} 

.news-item .news-category-announcement {
    background-color: #e9aa00;
} 

.news-item .news-date {
    flex: 0 0 55px;
    vertical-align: middle;
} 

.news-item .news-title a {
    color: #000;
    text-decoration: none;
} 

.news-list-top .news-item .news-title {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
} 

.news-pagination { 
    text-align: center; 
    margin: 100px 0 50px;
}

.news-pagination > * { 
    display: inline-block;
    margin: 0 10px 20px;  
}

.news-pagination > *:not(.dots) {
    background: #ececec;
    border-radius: 10px;
    padding: 10px;
    width: 60px;
    height: 60px;
}

.news-pagination > a.page-numbers {
    color: #606060;
    text-decoration: none;
}

.news-pagination > .page-numbers.current {
    color: #000;
    background: #ffddd6;
}

.news-sidebar .news-sidebar-title {
    background-color: #ff7d82;
    color: #fff;
    padding: 5px 20px;
    border-radius: 5px;
}

.news-sidebar .sidebar-list {
    margin-bottom: 50px;
}

.news-sidebar .sidebar-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-sidebar .sidebar-list li {
    margin: 0;
}

.news-sidebar .sidebar-list a {
    display: block;
    position: relative;
    color: #000;
    text-decoration: none;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
}

.news-sidebar .sidebar-list-date a {
    padding-left: 40px;
}

.news-sidebar .sidebar-list-date > ul > li > a::before {
    content: "";
    display: block;
    position: absolute;
    left: 0.5em;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 20px;
    height: 18px;
    background: #ff7d82;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.news-sidebar .sidebar-list-date > ul > li > a.close::before {
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.news-single .news-header {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.news-single .news-header .news-title {
    color: #ff6155;
    font-size: 122%;
    font-weight: normal;
}

.news-single .news-body {
    margin-bottom: 50px;
}

.news-list-top h4 {
    text-align: center;
    font-size: 120%;
    font-weight: bold;
    margin-bottom: 30px;
}

.news-link {
    text-align: center;
}

.news-link a {
    color: #000;
    text-decoration: none;
}

@media screen and (min-width: 641px) {
    .news-item  {
        display: flex;
        align-items: flex-start;
        gap: 20px;
    }

    .news-item .news-new-sp {
        display: none;
    }

    .news-contents {
        display: flex;
        justify-content: space-between;
        gap: 50px;
    }
    
    .news-contents .news-list {
        flex: 1 1;
    }
    
    .news-contents .news-sidebar {
        flex: 0 0 200px;
    }
}

@media screen and (min-width: 940px) {
    .news-list-top {
        display: flex;
        gap: 50px
    }
    
    .news-list-top .news-column {
        width: calc(50% - 25px);
    }    
}


@media screen and (max-width: 640px) {
    .news-item .news-new-pc {
        display: none;
    }

    .news-item .news-category {
        margin: 0 10px;
    }

    .news-item .news-title {
        margin-top: 10px;
    }

    .news-pagination > *:not(.dots) {
        width: 50px;
        height: 50px;
    }

    .news-contents {
        padding-top: 50px;
    }

    .news-sidebar {
        margin-left: 40px;
    }

    .news-sidebar .news-sidebar-title {
        max-width: 200px;
        margin-bottom: 10px;
    }
}
