﻿/* ============================================
    全体
============================================ */

.l-page {
    padding-bottom: 150px;
}

.l-page.lower-layer--news-detail {
    padding-top: 60px;
}

/* ============================================
    MV
============================================ */

.mv {
    background: url("../images/news/mv_sp.jpg") center / cover no-repeat;
}

/* ============================================
   新着情報（News）
============================================ */

/* --- セクション --- */

.section_content--news {
    padding-bottom: 70px;
}

/* --- リスト --- */

.news_list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news_link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #CDCDCD;
    position: relative;
}

.news_link::after {
    content: "";
    position: absolute;
    background: url("../images/common/item_arrow_down_bk.png") center / cover no-repeat;
    width: 10px;
    height: 8px;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(-90deg);
}

.news-item__meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date_text {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    font-family: var(--pinpoint-font);
}

.news_category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    border: 1px solid #CDCDCD;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1;
    white-space: nowrap;
}

.news_bottom_block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 20px;
}

.news_title {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    font-family: var(--main-font);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   新着情報の詳細（News Detail）
============================================ */

/* --- 記事 --- */

.news-detail {
    padding-bottom: 70px;
}

.news-detail_meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 20px;
    margin-bottom: 55px;
}

.news-detail_meta .news_category {
    padding: 8px 15px;
    border: 1px solid #404040;
}

.news-detail_date {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border: 1px solid #2C2C2C;
    white-space: nowrap;
}

.news-detail_title {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-color);
    line-height: calc(34 / 22);
    padding-left: 10px;
    border-left: 6px solid var(--accent-color);
    margin-bottom: 16px;
}

.news-detail_photo--hero {
    margin-bottom: 40px;
}

/* --- 記事本文 --- */

.news-detail_body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-detail_block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-detail_heading {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-color);
    line-height: calc(30 / 20);
    padding-left: 10px;
    border-left: 6px solid var(--accent-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-detail_inner h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-color);
    line-height: calc(30 / 20);
    padding-left: 10px;
    border-left: 6px solid var(--accent-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-detail_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    line-height: calc(28 / 16);
}

.news-detail_inner p {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    line-height: calc(28 / 16);
}

.news-detail_photo img {
    border-radius: 10px;
}

.news-detail_photo-grid {
    display: block;
}

.news-detail_inner tr {
    display: flex;
    flex-wrap: wrap;
}

.news-detail_inner td {
    width: 100% !important;
    margin-top: 20px;
}

.news-detail_inner img {
    border-radius: 10px;
    overflow: hidden;
}

.post-nav_next {
    margin-left: auto;
    margin-right: 0;
}

/* ============================================
    PC
============================================ */

@media (min-width: 768px) {

    /* --- 全体 --- */

    .l-page.lower-layer--news-detail {
        padding-top: 150px;
    }

    .l-page.lower-layer--news-detail .breadcrumb {
        padding-bottom: 80px;
    }

    /* --- MV --- */

    .mv {
        background: url("../images/news/mv.jpg") center / cover no-repeat;
    }

    /* --- 新着情報 --- */

    .section_content--news {
        padding-bottom: 55px;
        padding-inline: 20px;
    }

    .section_content--news .content_box {
        max-width: 775px;
        margin: 0 auto;
    }

    .news_link {
        flex-direction: row;
        gap: 30px;
    }

    .news_link::after {
        transition: right 0.3s ease;
    }

    .news_link:hover::after {
        right: -10px;
    }

    /* --- 詳細 --- */

    .news-detail {
        padding: 0px 20px 80px;
    }

    .news-detail_meta {
        max-width: 1000px;
        margin: 0 auto 80px;
        gap: 15px;
    }

    .news-detail_inner {
        max-width: 880px;
        margin: 0 auto;
    }

    .news-detail_title {
        font-size: 25px;
    }

    .news-detail_photo--hero {
        margin-bottom: 25px;
    }

    .news-detail_text:has(+ .news-detail_photo-grid) {
        margin-bottom: 40px;
    }

    .news-detail_photo-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .news-detail_inner tr td:nth-child(odd) {
        margin-right: 30px;
    }

    .news-detail_inner tr td {
        width: calc(50% - 15px) !important;
    }
}