@charset "utf-8";

/* =========================
   お知らせ単体ページ
   ========================= */

.news-single-wrap {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 60px 6.6%;
}

.news-single-main {
    flex: 1;
    min-width: 0;
}

.news-single {
    background: #fff;
}

/* ---------- ヘッダー ---------- */

.news-single-header {
    padding-bottom: 32px;
    border-bottom: 1px solid #E4EDF5;
    margin-bottom: 40px;
}

.news-single-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 400;
}

.news-single-term {
    display: inline-block;
    padding: 4px 14px;
    background: #E1F6FF;
    border: 1px solid #175899;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.4;
}

.news-single-title {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

/* ---------- 本文 ---------- */

.news-single-content {
    font-size: 16px;
    line-height: 2;
}

.news-single-content p {
    margin: 0 0 1.8em;
}

.news-single-content h2 {
    margin: 56px 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E4EDF5;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
}

.news-single-content h3 {
    margin: 40px 0 18px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

.news-single-content ul,
.news-single-content ol {
    margin: 0 0 2em;
    padding-left: 1.5em;
}

.news-single-content li {
    margin-bottom: 0.8em;
}

.news-single-content img {
    max-width: 100%;
    height: auto;
    margin: 24px 0;
}



/* =========================
   お知らせ一覧へボタン
   ========================= */

.news-single-btn {
    margin-top: 48px;
    text-align: center;
}

.news-back-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 14px 48px;
    background: #D5B37C;
    border: 2px solid #D5B37C;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.news-back-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.news-back-btn:hover {
    background: #fff;
    color: #D5B37C;
    opacity: 1;
}

/* =========================
   サイドバー
   ========================= */

.news-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-section {
    padding: 24px;
    border: 1px solid #E4EDF5;
    background: #fff;
}

.sidebar-title {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E4EDF5;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

.sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-list li {
    padding: 14px 0;
    border-bottom: 1px solid #E4EDF5;
}

.sidebar-list li:first-child {
    padding-top: 0;
}

.sidebar-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-list a {
    display: block;
    font-size: 14px;
    line-height: 1.7;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sidebar-list a:hover {
    opacity: 0.7;
}

/* =========================
   タブレット
   ========================= */

@media screen and (max-width: 1024px) {
    .news-single-wrap {
        gap: 40px;
    }

    .news-sidebar {
        width: 240px;
    }

    .related-news-grid {
        gap: 20px;
    }
}

/* =========================
   スマホ
   ========================= */

@media screen and (max-width: 768px) {
    .news-single-wrap {
        display: block;
        padding: 30px 7.2%;
    }

    .news-single-header {
        padding-bottom: 24px;
        margin-bottom: 32px;
    }

    .news-single-meta {
        display: block;
        font-size: 15px;
    }

    .news-single-term {
        margin-top: 10px;
    }

    .news-single-title {
        font-size: 24px;
        line-height: 1.7;
    }

    .news-single-content {
        font-size: 15px;
        line-height: 1.9;
    }

    .news-single-content h2 {
        margin: 40px 0 18px;
        font-size: 21px;
    }

    .news-single-content h3 {
        margin: 32px 0 14px;
        font-size: 18px;
    }

    .related-news {
        margin-top: 56px;
        padding-top: 36px;
    }

    .related-news-heading {
        margin-bottom: 24px;
        font-size: 21px;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .related-news-item {
        padding: 20px;
    }

    .news-single-btn {
        margin-top: 40px;
    }

    .news-back-btn {
        width: 100%;
        min-width: initial;
        padding: 14px 44px;
        font-size: 15px;
    }

    .news-back-btn::after {
        right: 22px;
    }

    .news-sidebar {
        width: 100%;
        margin-top: 56px;
    }
}