/* ====================================
   NEWS DETAIL PAGE
   ==================================== */

:root {
    --news-cream: #fff7e8;
    --news-peach: #fbe5d7;
    --news-yellow: #ffe8b5;
    --news-orange: #ffcc80;
    --news-brown: #7b4a2b;
    --news-green: #7ca66a;
    --news-blue: #77a9c9;
    --news-ink: #332820;
}

body {
    background: #ffffff;
    color: var(--news-ink);
    font-family: "Noto Sans JP", sans-serif;
}

.news-detail-page {
    padding: 0 clamp(10px, 2.2vw, 28px) 86px;
    overflow: hidden;
}

.news-detail-container {
    max-width: 1280px;
    margin: 0 auto;
}

.news-breadcrumb {
    padding-top: 30px;
    margin-bottom: 0;
}

.news-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    color: #76685f;
    font-size: 0.86rem;
    list-style: none;
}

.news-breadcrumb__list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-breadcrumb__list li:not(:last-child)::after {
    content: ">";
    color: #b07d52;
    font-weight: 800;
}

.news-breadcrumb a {
    color: var(--news-brown);
    font-weight: 700;
    text-decoration: none;
}

.news-breadcrumb a:hover {
    text-decoration: underline;
}

.news-article {
    position: relative;
    overflow: visible;
    background: transparent;
}

.news-article::before {
    display: none;
}

.news-article__hero {
    display: grid;
    gap: 28px;
    margin: 22px calc(50% - 50vw) 0;
    padding: 46px max(clamp(10px, 2.2vw, 28px), calc((100vw - 1280px) / 2 + 28px));
    background: var(--news-peach);
}

.news-article__header {
    position: relative;
    z-index: 1;
    display: block;
    max-height: none;
}

.news-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #755b49;
    font-size: 0.92rem;
    font-weight: 800;
}

.news-category,
.news-date-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.45em 1.18em;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(123, 74, 43, 0.12);
}

.news-category {
    background: #ffffff;
    color: var(--news-brown);
}

.news-date-badge {
    background: #ffffff;
    color: #6f7750;
}

.news-article__title {
    max-width: none;
    margin: 0;
    color: var(--news-brown);
    font-size: clamp(2rem, 4.1vw, 3.3rem);
    font-weight: 900;
    line-height: 1.28;
    letter-spacing: 0;
}

.news-title-accent {
    display: inline-block;
    margin-top: 0.18em;
    color: #d26b3f;
}

.news-article__lead {
    margin-top: 18px;
    color: #4b4038;
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    font-weight: 600;
    line-height: 2;
}

@media (min-width: 860px) {
    .news-article__title {
        white-space: nowrap;
    }

    .news-article__title--long {
        white-space: normal;
    }
}

.news-main-visual {
    position: relative;
    z-index: 1;
    margin: 0;
}

.news-main-visual::before {
    display: none;
}

.news-main-visual img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(67, 42, 25, 0.12);
}

.news-main-visual--poster img {
    width: min(100%, 560px);
    max-height: 760px;
    margin: 0 auto;
    aspect-ratio: auto;
}

.news-article__body {
    display: block;
    padding: 0;
}

.news-wave {
    height: clamp(58px, 7vw, 108px);
    margin: 0 calc(50% - 50vw);
    overflow: hidden;
    line-height: 0;
}

.news-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.news-wave--peach-to-white {
    background: var(--news-peach);
    color: #ffffff;
}

.news-wave--white-to-peach {
    background: #ffffff;
    color: var(--news-peach);
}

.news-photo-section {
    margin: 0 calc(50% - 50vw);
    padding: 44px max(clamp(10px, 2.2vw, 28px), calc((100vw - 1280px) / 2 + 28px));
    background: #ffffff;
}

.news-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.news-photo-slot {
    margin: 0;
    min-height: 180px;
    overflow: hidden;
    border-radius: 20px;
}

.news-photo-slot img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.news-story {
    display: grid;
    gap: 0;
}

.news-content-block {
    position: relative;
    margin: 0 calc(50% - 50vw);
    padding: 48px max(clamp(10px, 2.2vw, 28px), calc((100vw - 1280px) / 2 + 28px));
}

.news-content-block--white {
    background: #ffffff;
}

.news-content-block--peach {
    background: var(--news-peach);
}

.news-content-block h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--news-brown);
    font-size: clamp(1.25rem, 2.4vw, 1.58rem);
    font-weight: 900;
    line-height: 1.45;
}

.news-content-block p {
    margin: 0 0 1em;
    color: #3d352f;
    font-size: 1rem;
    font-weight: 500;
    line-height: 2;
}

.news-content-block p:last-child {
    margin-bottom: 0;
}

.news-report-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-report-list--stacked {
    grid-template-columns: 1fr;
}

.news-report-list li {
    min-height: 126px;
    border-left: 4px solid var(--news-orange);
    padding: 18px 16px;
    color: #4d4036;
    font-weight: 800;
    line-height: 1.75;
}

.news-report-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.8em;
    height: 34px;
    padding: 0 0.9em;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--news-brown);
    font-size: 0.78rem;
    font-weight: 900;
}

.news-report-list--stacked li {
    min-height: 0;
    border-left: 0;
    padding: 18px 0;
    font-size: 1rem;
    line-height: 1.9;
}

.news-report-list--stacked span {
    display: block;
    justify-content: flex-start;
    width: fit-content;
    height: auto;
    min-width: 0;
    margin: 0 0 0.25em;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: clamp(1.08rem, 1.8vw, 1.25rem);
    line-height: 1.35;
}

.news-side-panel {
    margin: 0 calc(50% - 50vw);
    padding: 46px max(clamp(10px, 2.2vw, 28px), calc((100vw - 1280px) / 2 + 28px));
    background: #ffffff;
}

.news-side-panel__title {
    margin: 0 0 14px;
    color: var(--news-brown);
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.news-side-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-side-list li {
    border-top: 1px solid rgba(123, 74, 43, 0.18);
    padding: 13px 14px;
}

.news-side-list span {
    display: block;
    margin-bottom: 4px;
    color: #986842;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.news-side-list strong {
    color: #3d352f;
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-side-list--stacked {
    grid-template-columns: 1fr;
}

.news-side-list--stacked li {
    padding: 18px 0;
}

.news-side-list--stacked span {
    margin-bottom: 0.25em;
    color: var(--news-brown);
    font-size: clamp(1.08rem, 1.8vw, 1.25rem);
    line-height: 1.35;
    letter-spacing: 0;
}

.news-side-list--stacked strong {
    font-size: 1rem;
    line-height: 1.9;
}

.news-side-list--stacked a {
    color: var(--news-brown);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.news-document-section {
    margin: 0 calc(50% - 50vw);
    padding: 48px max(clamp(10px, 2.2vw, 28px), calc((100vw - 1280px) / 2 + 28px));
    background: #ffffff;
}

.news-document-section h2 {
    margin: 0 0 20px;
    color: var(--news-brown);
    font-size: clamp(1.25rem, 2.4vw, 1.58rem);
    font-weight: 900;
    line-height: 1.45;
}

.news-document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.news-document-card {
    margin: 0;
}

.news-document-card img {
    display: block;
    width: 100%;
    max-height: 680px;
    object-fit: contain;
}

.news-document-card figcaption {
    margin-top: 12px;
}

.news-document-card a {
    color: var(--news-brown);
    font-weight: 900;
}

.news-article__footer {
    padding: 0 40px 44px;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.9em 2.3em;
    border-radius: 999px;
    border: 2px solid var(--news-brown);
    background: #ffffff;
    color: var(--news-brown);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(123, 74, 43, 0.2);
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.news-back-link::before {
    content: "<";
    margin-right: 0.7em;
}

.news-back-link:hover {
    background: var(--news-peach);
    box-shadow: 0 18px 32px rgba(123, 74, 43, 0.24);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .news-side-list,
    .news-document-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .news-detail-page {
        padding: 0 10px 64px;
    }

    .news-article {
        border-radius: 0;
    }

    .news-article::before {
        display: none;
    }

    .news-article__hero,
    .news-article__body,
    .news-article__footer {
        padding-left: 0;
        padding-right: 0;
    }

    .news-article__hero {
        gap: 24px;
        padding-top: 34px;
        padding-bottom: 34px;
    }

    .news-main-visual {
        transform: none;
    }

    .news-main-visual::before {
        display: none;
    }

    .news-main-visual img {
        border-radius: 20px;
    }

    .news-report-list {
        grid-template-columns: 1fr;
    }

    .news-photo-grid {
        grid-template-columns: 1fr;
    }

    .news-photo-slot {
        min-height: 210px;
    }

    .news-content-block {
        padding-top: 34px;
        padding-bottom: 34px;
    }
}

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