main {
    width: 1100px;
    margin: 3em auto;
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    color: #333;
    padding: 20px;
    max-width: 95%;
    box-sizing: border-box;
}
/** news list **/

/* ニュース項目のリンクスタイル */
.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.news-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-item {
    display: flex;
    align-items: center;
    padding: 25px 0;
    border-bottom: 2px solid #cccccc;
    transition: all 0.2s ease;
    position: relative;
}

.news-item:last-child {
    border-bottom: none;
}

.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    padding: 0 25px;
    margin-bottom: 0;
}

.news-link:hover {
    background-color: #f8f9fa;
}

.news-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    margin-right: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.news-link:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.news-date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.news-category {
    font-size: 12px;
    color: #ffffff;
    background-color: #0066cc;
    padding: 4px 8px;
    border-radius: 50px;
    font-weight: bold;
}

.news-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
    font-weight: bold;
}

.news-arrow {
    flex-shrink: 0;
    margin-left: 20px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.news-link:hover .news-arrow {
    background-color: #0052a3;
    transform: translateX(3px);
}

.news-arrow::after {
    content: "→";
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-image {
        width: 100%;
        height: 170px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .news-arrow {
        align-self: flex-end;
        margin-left: 0;
        margin-top: 10px;
    }

    .news-content {
        width: 100%;
    }
}

/** single **/
.info-container {
    width: 90%;
    margin: 0 auto;
}

.info-container h1 {
    margin: 40px 0 60px 0;
    font-size: 2rem;
}

.info-date {
    display: flex;
    gap: 10px;
}

.info-tag {
    background-color: #e5f2fd;
    width: 120px;
    border-radius: 80px;
    padding: 5px;
}

.info-thumbnail {
    width: 60%;
    margin-top: 1.5em;
}

.date {
    display: flex;
    align-items: center;
}

.info-tag {
    text-align: center;
}

.slide-info {
    display: flex;
    justify-content: center; /* 横方向中央 */
    align-items: center; /* 縦方向中央 */
    margin: 80px 0;
    gap: 30px;
}

.slide-info a {
    font-size: 15px;
    color: #ffffff;
    border-radius: 100px;
    padding: 4px 50px;
    background-color: #0050a4;
}

.post-categories li a {
    color: #333333;
    font-weight: bold;
}

@media (max-width: 767px) {
    .info-container h1 {
        margin: 20px 0;
        font-size: 1.5rem;
    }

    .info-date {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .info-tag {
        width: auto;
        font-size: 14px;
        padding: 4px 12px;
        border-radius: 50px;
    }

    .info-thumbnail {
        width: 100%;
    }

    .slide-info {
        flex-direction: column;
        gap: 15px;
        margin: 40px 0;
    }

    .slide-info a {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 10px 0;
    }
}
