@charset "UTF-8";

/* ===============================================
	news-item
=============================================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #D3D3D3;
    transition: background-color 0.3s ease;
    scroll-margin-top: 100px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item__meta {
    flex-shrink: 0;
    width: 120px;
}
.news-item__date {
    font-size: 1.4rem;
    color: var(--color-gray-dark);
    font-family: 'Oswald', sans-serif;
    line-height: 1;
    margin: 0;
}
.news-item__content {
    flex: 1;
    min-width: 0;
}
.news-item__title {
    font-size: clamp(1.6rem, 1.8vw, 1.8rem);
    font-weight: bold;
    line-height: 1.5;
    color: var(--color-black);
    margin: 0 0 0.8rem 0;
    letter-spacing: 0.02em;
}
.news-item__content p {
    font-size: 1em;
    line-height: 1.8;
    color: var(--color-black);
    margin: 0;
}
.news-item__content p + p {
    margin-top: .5em;
}
.news-item__entry {
    margin-top: 1.5rem;
}
.news-item__entry-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}
.news-item__entry-link picture {
    display: block;
}
.news-item__entry-link picture img {
    display: block;
    width: auto;
    height: auto;
    max-width: 195px;
}
.news-item__detail-link {
    display: inline;
    color: var(--color-primary);
    text-decoration: underline;
    font-size: 1em;
    transition: color 0.3s ease;
}
.news-item__content p .news-item__detail-link[target="_blank"]::after,
.news-item__detail-link[target="_blank"]::after {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.3em;
    background-image: url("/common/img/outlink-black.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: .8em;
    vertical-align: middle;
    opacity: 1;
}

@media (hover: hover) {
    .news-item__detail-link:hover {
        color: var(--color-primary);
    }
}
@media (min-width: 768px) {
    .news-item {
        padding: 2em 3%;
        gap: 3rem;
    }
    .news-item__meta {
        width: 140px;
    }
    .news-item__date {
        font-size: 1em;
        padding-top: .5em;
    }
    .news-item__title {
        font-size: 1.3em;
        margin-bottom: .8em;
    }
    .news-item__content p {
        font-size: 1.05em;
        line-height: 1.9;
    }
    .news-item__entry-link {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .news-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
        scroll-margin-top: 80px;
    }
    .news-item__meta {
        width: 100%;
    }
    .news-item__entry-link {
        flex-direction: column;
        align-items: flex-start;
    }
}