/* news.html専用のデザイン。mainと同じような区切りに */

body {
    font-family: 'M PLUS Rounded 1c', 'Segoe UI', 'Meiryo', sans-serif;
    font-size: 16px;
    color: #eaffee;
    background: transparent;
    margin: 0;
    padding: 0 0 12px 0;
}

section {
    background: none; /* 背景色を消す */
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 24px 0;
    margin-bottom: 0;
    border: none;
    position: relative;
}

h3 {
    font-size: 1.1em;
    margin: 32px 0 10px 0;
    color: #eaffee;
    border-left: 5px solid #7ecb8f;
    background: rgba(164,224,139,0.08);
    border-radius: 8px;
    padding: 0.3em 0.7em;
    display: flex;
    align-items: center;
    gap: 8px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 16px;
}

li:last-child {
    margin-bottom: 0;
}

a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #eaffee;
    text-decoration: none;
    transition: color 0.2s;
    border-radius: 6px;
    padding: 4px 2px;
}

a:hover {
    color: #fff7b2;
    background: rgba(164, 224, 139, 0.10);
}

.thumb-16x9 {
    width: 88px;
    aspect-ratio: 16/9;
    background: #222;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px #0006;
}
.thumb-16x9 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

span {
    font-size: 1em;
    color: #eaffee;
    word-break: break-all;
}

/* 区切り線をsection間に追加 */
.latest, .recommend {
    border-bottom: 2px solid #7ecb8f;
    padding-bottom: 18px;
    margin-bottom: 0;
}
.recommend {
    border-bottom: none;
}

/* レスポンシブ対応 */
@media screen and (max-width: 600px) {
    h3 {
        font-size: 1em;
        padding: 0.3em 0.3em;
    }
    .thumb-16x9 {
        width: 38vw;
        min-width: 80px;
        max-width: 100vw;
    }
    a {
        gap: 8px;
    }
}