@charset "utf-8";

/*
 * NEWSページ用の追加スタイル
 * サーバーではこのファイルを css/news-layout.css に置いてください。
 * 既存の css/style.css を読み込んだ後に適用します。
 */

.news-article:first-of-type {
    border-top: 0;
}

.news-article-body:last-child,
.news-article-body p:last-child {
    margin-bottom: 0;
}


.news-article-body {
    text-align: justify;
}

.news-info dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.news-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    color: inherit;
    transition: opacity 0.3s ease;
}

.news-map-link:hover,
.news-map-link:focus-visible {
    opacity: 0.7;
}

.news-map-link:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 5px;
}

.news-map-link span {
    font-family: sans-serif;
    font-size: 0.8em;
}

.news-instagram {
    margin-top: 90px;
}

@media (max-width: 768px) {
    .news-article-header {
        margin-bottom: 40px;
    }

    .news-article-header time {
        margin-bottom: 18px;
    }

    .news-article-body {
        text-align: left;
    }

    .news-article-body p {
        font-size: 1rem;
    }

    .news-info dd {
        font-size: 1rem;
    }

    .news-instagram {
        margin-top: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .news-map-link {
        transition: none;
    }
}
