/* =============================================
   一覧ページ
============================================= */
.section_content--news_list {
    overflow: visible;
}

.section_content--news_list .section_space {
    position: relative;
}

.section_content--news_list .section_space::after {
    content: "";
    position: absolute;
    background: url("/images/news/news_kim_sp01.png") center center / contain no-repeat;
    width: min(27.73vw, 104px);
    height: min(30.67vw, 115px);
    bottom: min(-8vw, -60px);
    left: min(4vw, 15px);
}

/* --- カードリスト --- */
.news_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 15px;
    margin-bottom: 40px;
}

/* --- カード --- */
.news_card {
    display: block;
    text-decoration: none;
    color: var(--main-color);
    transition: opacity 0.3s ease;
}

.news_card-photo {
    width: 100%;
    aspect-ratio: 156 / 110;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 15px;
}

.news_card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news_card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news_card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #573001;
}

.news_card-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border: 1px solid var(--main-color);
    background: rgb(255, 255, 255);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    font-family: var(--text-font);
}

.news_card-category--new {
    background: var(--point-color);
}

.news_card-date {
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    font-family: var(--text-font);
    color: #333333;
}

.news_card-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    font-family: var(--text-font);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

/* ----- 一覧ページ PC ----- */
@media (min-width: 768px) {

    .section_content--news_list {
        padding: 0 20px;
    }

    .section_content--news_list .section_space::before {
        content: "";
        position: absolute;
        background: url("/images/news/news_kim_01.png") center center / contain no-repeat;
        width: 587px;
        height: 617px;
        top: 50px;
        right: calc(100% + -112px);
        pointer-events: none;
        z-index: 2;
    }

    .section_content--news_list .section_space::after {
        content: "";
        position: absolute;
        background: url("/images/news/news_kim_02.png") center center / contain no-repeat;
        width: 587px;
        height: 629px;
        bottom: 290px;
        left: auto;
        right: -490px;
    }


    .section_content--news_list .content_box {
        max-width: 1142px;
        margin: 0 auto;
        position: relative;
    }

    .section_content--news_list .content_box::before {
        content: "";
        position: absolute;
        background: url("/images/news/news_kim_03.png") center center / contain no-repeat;
        width: 587px;
        height: 584px;
        bottom: -210px;
        left: -550px;
    }



    /* --- カードリスト PC --- */
    .news_list {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1.25rem, 0.417rem + 1.74vw, 2.5rem);
        margin-bottom: 60px;
    }

    /* --- カード PC（並び順変更：メタ→写真→タイトル） --- */
    .news_card {
        display: flex;
        flex-direction: column;
    }

    .news_card:hover {
        opacity: .7;
    }

    .news_card-body {
        display: contents;
    }

    .news_card-photo {
        border-radius: 10px;
        margin-bottom: 10px;
        aspect-ratio: 302 / 230;
        order: 2;
    }

    .news_card-meta {
        order: 1;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 10px;
        justify-content: flex-end;
        flex-direction: row-reverse;
    }

    .news_card-title {
        order: 3;
        font-size: clamp(0.875rem, 0.792rem + 0.17vw, 1rem);
        line-height: 1.7;
    }

    .news_card-category {
        font-size: clamp(0.75rem, 0.667rem + 0.17vw, 0.875rem);
        padding: 3px 20px;
    }

    .news_card-date {
        font-size: 14px;
    }
}

/* =============================================
   詳細ページ
============================================= */

.section_content--news_detail .content_box {
    max-width: 700px;
    margin: 0 auto;
}

/* --- メタ情報 --- */
.news_detail-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.news_detail-date {
    font-size: 14px;
    font-family: var(--text-font);
    color: var(--main-color);
}

/* --- タイトル --- */
.news_detail-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--main-color);
    font-family: var(--text-font);
    line-height: 1.5;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--main-color);
}

/* --- 本文 --- */
.news_detail-body {
    margin-bottom: 40px;
}

.news_detail-photo {
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.news_detail-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.news_detail-text {
    font-size: 14px;
    font-family: var(--text-font);
    color: var(--main-color);
    line-height: 1.7;
}

/* --- ボタン --- */
.news_detail-btn {
    text-align: center;
    margin-bottom: 25px;
}

.news_detail-btn .cp_more-btn {
    padding: 14px 35px;
    background: #FFD800;
    max-width: max-content;
    border: 1px solid #573001;
    color: #573001;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--text-font);
    text-decoration: none;
    border-radius: 25px;
    transition: opacity 0.2s;
}

.news_detail-btn .cp_more-btn::after {
    content: none;
}

/* --- ナビゲーション --- */
.news_detail-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.news_detail-nav .news_detail-btn {
    order: -1;
    width: 100%;
    margin-bottom: 0;
}

.news_detail-nav_link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-family: var(--text-font);
    color: var(--main-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.news_detail-nav_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    width: 40px;
    height: 40px;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.news_detail-nav_link:hover .news_detail-nav_arrow {
    background: #FFD800;
}

.news_detail-nav_arrow::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    transform: rotate(45deg);
    margin-left: -2px;
}

.news_detail-nav_link--prev .news_detail-nav_arrow::before {
    transform: rotate(-135deg);
    margin-left: 2px;
}

/* ----- 詳細ページ PC ----- */
@media (min-width: 768px) {

    .section_content--news_detail {
        padding: 0 20px;
    }

    .section_content--news_detail .section_space {
        position: relative;
    }

    /* 装飾 */
    .section_content--news_detail .section_space::before {
        content: "";
        position: absolute;
        background: url("/images/news/news_detail_kim_01.png") center center / contain no-repeat;
        width: 30.573vw;
        height: 31.510vw;
        top: 5.208vw;
        left: -25.917vw;
    }

    .section_content--news_detail .section_space::after {
        content: "";
        position: absolute;
        background: url("/images/news/news_detail_kim_02.png") center center / contain no-repeat;
        width: 30.573vw;
        height: 31.667vw;
        bottom: 2.604vw;
        right: -24.479vw;
    }

    .section_content--news_detail .content_box {
        max-width: 882px;
        position: relative;
    }

    /* メタ情報 */
    .news_detail-meta {
        gap: 20px;
        margin-bottom: 20px;
    }

    .news_detail-date {
        font-size: 16px;
    }

    /* タイトル */
    .news_detail-title {
        font-size: 28px;
        padding-bottom: 30px;
        margin-bottom: 40px;
    }

    /* 本文 */
    .news_detail-body {
        margin-bottom: 100px;
    }

    .news_detail-photo {
        border-radius: 10px;
        margin-bottom: 30px;
    }

    .news_detail-text {
        font-size: 16px;
    }

    /* ボタン */
    .news_detail-nav .news_detail-btn .cp_more-btn {
        width: 260px;
        max-width: 260px;
        font-size: 16px;
        border-radius: 30px;
        transition: background 0.3s ease;
    }

    .news_detail-nav .news_detail-btn .cp_more-btn:hover {
        background: #FFEAD0;
    }

    /* ナビゲーション */
    .news_detail-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    .news_detail-nav .news_detail-btn {
        order: 0;
        width: auto;
    }

    .news_detail-nav_link {
        flex: 1;
        font-size: 16px;
        gap: 10px;
    }

    .news_detail-nav_link--prev {
        justify-content: flex-start;
    }

    .news_detail-nav_link--next {
        justify-content: flex-end;
    }
}