/* top news contents */
#top-news {
    width: 100%;
    color: #000000;
    padding: 30px 0;
}
/*タブのスタイル*/
.tab-item {
    height: 50px;
    border-bottom: 3px solid #5ab4bd;
    background-color: #d9d9d9;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color: #565656;
    display: block;
    float: left;
    font-weight: bold;
    transition: all 0.2s ease;
}
.tab-item:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab-item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab-menu {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}
.tab-item {
    font-size: 1rem;
    flex: 1 1 auto;
    text-align: center;
    vertical-align: middle;
    line-height: 2;
    padding: 1em;
    cursor: pointer;
    background: #eee;
    white-space: normal;
    word-break: break-word;
    box-sizing: border-box;
    border-bottom: 2px solid transparent;
}
.tab-item.is-active {
    background: #fff;
    border-bottom: 2px solid #333;
}
.news-wrapper {
    width: 100%;
    border-bottom: 1px solid #000000;
    margin: 30px 0;
    padding: 20px 0;
}
.news-wrapper:last-child {
    border-bottom: none;
}
.tab-content {
    display: none;
    padding: 1em;
    background: #fff;
}
.tab-content.is-active {
    display: block;
    width: 100%;
}
.news-thumbs {
    width: 50%;
    margin: 0 auto;
    padding: 5px;
}
.news-thumbs a div{
    width:100%;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s;
    overflow: hidden;
}
.news-text {
    width: 50%;
    height: 20vh;
    margin-left: 50px;
}
.news-label p{
    width: 200px;
    background: #565656;
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 1rem;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.news-date {
    font-weight: bolder;
    font-size: 1.2rem;
}
.news-content {
    font-size: 1rem;
}
a.news-g-link {
    width: 50%;
    min-width: 300px;
    display: block;
    cursor: pointer;
}
@media (max-width: 1100px) {
    .tab-item {
        border-radius: 30px;
        font-size: 0.8rem;
        border: 1px solid #000000;
        margin: 0 5px 5px 0;
    }
    .tab-item:last-child {
        margin-right: 0;
    }
    .news-thumbs, .news-thumbs a div {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .news-text {
        margin-left: 0;
        width: 100%;
        margin-top: 30px;
        justify-content: center;
        align-items: center;
    }
    a.news-g-link {
        width: 100%;
        min-width: 300px;
    }
}
