@charset "UTF-8";

/* ==========================================================================
   新着情報ページ専用スタイル (main-content-news.css)
   パターン5：和モダン 完全統合版（画面を最大横切るシンプルバー版）
   ========================================================================== */

/* ==========================================================================
   0. 共通コンポーネント (Hero / Animation / Anchor)
   ========================================================================== */

body {
    background: #fdfcf8;
}

.lower-hero {
    width: 100%;
    padding: 100px 0 60px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    text-align: center;
}
@media (max-width: 960px) {
    .lower-hero {
        padding: 80px 0 40px;
    }
}

.section-title-area .section-title {
    margin-bottom: 10px;
    color: #333333;
    font-size: 3rem;
    letter-spacing: 0.1em;
}
@media (max-width: 960px) {
    .section-title-area .section-title {
        font-size: 2.2rem;
    }
}

.section-title-area .section-subtitle {
    color: #c5a059;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
}

/* 【劇的改善：ワンテンポ遅れる波を解消する極上和モダンアニメーション】
   初期変位を極小（5px）にして即時性を上げ、最高峰の滑らかなイージングへ変更。
*/
.reveal {
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
    backface-visibility: hidden; /* ブラウザのチラつきと描画遅延を防止 */
}

body.js-enabled .reveal {
    transform: translateY(5px); /* 15px〜20pxの大きな移動を廃止し、もたつきをカット */
    opacity: 0;
}

body.js-enabled .reveal.active {
    transform: translateY(0);
    opacity: 1;
}

.news-meta[id] {
    scroll-margin-top: 180px !important;
    position: relative;
}

.news-meta[id]::before {
    content: "";
    display: block;
    height: 180px;
    margin-top: -180px;
    visibility: hidden;
    pointer-events: none;
}

.news-item:has(:target),
.news-item:target {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}


/* ==========================================================================
   1. レイアウト基盤
   ========================================================================== */

#main-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 100px;
}

#main-content * {
    box-sizing: border-box;
}

.section-padding-concept { 
    width: 100%;
    max-width: 1000px;
    margin: 60px auto 30px;
    padding: 0 20px; 
}
@media (max-width: 768px) {
    .section-padding-concept { 
        margin: 40px auto 20px;
        padding: 0 16px; 
    }
}

.main-facility-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1e1c1a;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
}
@media (max-width: 768px) {
    .main-facility-title { 
        font-size: 1.8rem; 
    }
}

.main-facility-title span {
    display: block;
    font-size: 1.2rem;
    color: #c5a059;
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 0.1em;
}


/* ==========================================================================
   2. NEWSコンセプトボックス
   ========================================================================== */

.room-concept-box.facility-concept-box {
    background: #b51027;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 60px 0;
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: center;
}

@media (max-width: 768px) {
    .room-concept-box.facility-concept-box {
        padding: 45px 0;
        margin-top: 30px;
        margin-bottom: 40px;
    }
}

.room-concept-box.facility-concept-box .section-title-area::before {
    content: "NEWS";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14rem;
    font-family: 'Times New Roman', serif;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    z-index: 0;
    letter-spacing: 0.05em;
}

.room-concept-box.facility-concept-box .section-title {
    color: #ffffff !important;
    position: relative;
    z-index: 2;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .room-concept-box.facility-concept-box .section-title {
        font-size: 1.8rem;
        padding: 0 16px;
    }
}

.room-concept-box.facility-concept-box .section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: #ffe08a;
    margin: 15px auto 0;
}

.room-concept-box.facility-concept-box .concept-lead {
    color: #ffffff !important;
    line-height: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .room-concept-box.facility-concept-box .concept-lead {
        font-size: 1.3rem;
        line-height: 1.8;
        padding: 0 24px;
    }
}


/* ==========================================================================
   3. 最新情報アーカイブ（パターン5：和モダン）
   ========================================================================== */

.news-archive {
    padding: 0 20px;
}
@media (max-width: 768px) {
    .news-archive {
        padding: 0 16px;
    }
}

/* --- 記事カード（和紙風） --- */
.news-item {
    background: #ffffff;
    border: 1px solid #e8e2d8;
    padding: 40px 35px; /* 上下の無駄な広がりを抑え、スマートな比率に */
    margin-bottom: 70px; /* バーが入るスペースを綺麗に確保 */
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    border-radius: 4px;
    position: relative;
}

/* 最後の記事カードだけ下の余白を狭め、ページネーションとの距離を適正化 */
.news-item:last-of-type {
    margin-bottom: 0;
}

/* 【画面を最大幅まで横切るシンプルなバー】
    親要素（コンテナ）の横幅を突き破って、画面の左端から右端まで一直線に横切る極細のバーです。
    ※最後の記事を含む、すべての記事の後ろに表示されるよう修正しました
*/
.news-item::after {
    content: "";
    position: absolute;
    bottom: -36px; /* 記事カードと次の記事カードのちょうど中間に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;  /* 画面幅いっぱい（最大幅）まで横切る */
    height: 1px;   /* すっきりしたシンプルな極細線 */
    background-color: #e8e2d8; /* サイトに馴染む上品な薄いグレーベージュ */
}

/* --- レイアウト --- */
.news-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 35px; /* 文字サイズの縮小に合わせて間隔を美しく調整 */
}

/* --- メタ情報（和風） --- */
.news-meta {
    width: 110px; /* 文字の引き締めに合わせて領域を最適化 */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.news-date {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 1.25rem; /* 1.5rem(24px) ➔ 1.25rem(20px)へ変更し、文字の浮きを解消 */
    color: #b51027;
    font-weight: 700;
    letter-spacing: 0.05em; /* 数字が詰まって見えないように少しだけ文字間を広げると綺麗です */
}

.news-category {
    display: inline-block;
    font-size: 0.85rem; /* 1.05rem ➔ 0.85rem(約13.6px)へ縮小してスマートに */
    font-weight: 700;
    background: #c5a059;
    color: #ffffff;
    padding: 3px 8px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-radius: 2px;
}

/* --- 本文（和風） --- */
.news-body {
    flex: 1;
}

.news-title {
    font-size: 1.45rem; /* 1.85rem(約30px) ➔ 1.45rem(約23px)へ落とし、極上の気品を演出 */
    color: #242220;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
    margin-top: 0;
    letter-spacing: 0.03em;
    border-left: 4px solid #b51027;
    padding-left: 12px;
}

.news-text p {
    margin-bottom: 18px;
    line-height: 1.85; /* 行間に少しゆとりをもたせ、視線誘導を滑らかに */
    font-size: 1.05rem; /* 1.35rem(約22px) ➔ 1.05rem(16.8px)へ。これがPCの最も美しい可読サイズです */
    color: #242220;
    font-weight: 400;
    letter-spacing: 0.03em;
}
.news-text p:last-child {
    margin-bottom: 0;
}

/* --- サブ情報ボックス --- */
.news-sub-info {
    list-style: none;
    padding: 18px 22px;
    background-color: #fcfaf6;
    border: 1px solid #eadecc;
    border-left: 4px solid #b51027;
    margin: 20px 0 0 0;
    margin-bottom: 20px; /* ← これを追加（数値はお好みで調整してください） */
}

.news-sub-info li {
    margin-bottom: 8px;
    color: #242220;
    font-size: 0.95rem; /* 1.25rem ➔ 0.95rem(約15px)へ調整 */
    line-height: 1.6;
}

.news-sub-info li:last-child {
    margin-bottom: 0;
}

.news-sub-info strong {
    color: #1e1c1a;
    font-weight: 700;
}

.news-sub-info .highlight-red {
    color: #e60012;
}

.news-period {
    display: block;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed #c5a059;
    color: #c5a059 !important;
    font-weight: 700;
}

/* --- スタッフコメント（和紙風ボックス） --- */
.news-staff-comments {
    margin: 24px 0 0 0;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #e8e2d8;
    background: #fdfcf9;
    border-left: 5px solid #c5a059;
}

.comment-heading {
    font-size: 1.1rem; /* 1.35rem ➔ 1.1rem(17.6px)へ */
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #242220;
    margin: 0 0 14px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #c5a059;
}

.comment-block {
    margin: 0 0 14px 0;
}
.comment-block:last-child {
    margin-bottom: 0;
}

.staff-name {
    display: block;
    font-size: 1.0rem; /* 1.25rem ➔ 1.0rem(16px)へ */
    font-weight: 700;
    color: #b51027;
    margin-bottom: 4px;
}

.comment-block p {
    font-size: 1.0rem; /* 1.3rem ➔ 1.0rem(16px)へ */
    line-height: 1.7;
    color: #242220;
    margin: 0;
}

/* --- 画像（和風の影） --- */
.news-image {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.news-image img {
    width: calc(33.333% - 8px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e8e2d8;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.news-image img:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.news-image.text-box-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: auto;
}

.news-image.text-box-image.portrait img {
    max-width: 220px;
}


/* ==========================================================================
   5. モーダル
   ========================================================================== */

.image-modal {
    display: none;
    position: fixed;
    z-index: 2147483647;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(30, 28, 26, 0.95);
    cursor: zoom-out;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 92%;
    max-height: 85vh;
    object-fit: contain;
    border: 2px solid #c5a059;
    animation: zoomIn 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* ==========================================================================
   6. ページネーション
   ========================================================================== */

.pagination {
    text-align: center;
    margin: 0 0 50px; /* 上の余白を 30px 〜 50px などの正の数で最終調整 */
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a, 
.pagination .current {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: "Yu Mincho", serif;
    font-weight: 700;
    font-size: 1.4rem;
    border: 1px solid #e0e0e0;
    color: #1e1c1a;
    background: #ffffff;
    transition: all 0.2s ease;
}

.pagination a:hover {
    background: #f8f9fa;
    border-color: #1e1c1a;
}

.pagination .current {
    background: #1e1c1a;
    color: #ffffff;
    border-color: #1e1c1a;
}


/* ==========================================================================
   7. スマホ最適化（テキストサイズ・可読性・余白の調整版）
   ========================================================================== */

@media screen and (max-width: 768px) {

    .news-meta[id] {
        scroll-margin-top: 130px !important;
    }
    .news-meta[id]::before {
        height: 130px;
        margin-top: -130px;
    }

    .news-item {
        padding: 20px 14px;
        margin-bottom: 40px; /* スマホ用余白調整 */
    }

    /* スマホ版でも最後の記事カードだけ下の余白を適正化 */
    .news-item:last-of-type {
        margin-bottom: 15px;
    }

    /* スマホ版でのシンプル最大幅バーの位置・間隔調整（最後の記事にも同様に適用されます） */
    .news-item::after {
        bottom: -21px;
    }

    .news-content-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .news-meta {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid #eadecc;
        padding-bottom: 8px;
    }

    .news-date {
        font-size: 0.95rem;
        letter-spacing: 0.08em;
    }
    
    .news-category {
        font-size: 0.75rem;
        padding: 1px 6px;
        letter-spacing: 0.02em;
    }

    .news-title {
        font-size: 1.15rem;
        margin-top: 4px;
        margin-bottom: 12px;
        padding-left: 8px;
        border-left-width: 3px;
        line-height: 1.5;
    }

    .news-text p {
        font-size: 0.925rem;
        line-height: 1.75;
        margin-bottom: 14px;
        color: #242220;
        font-weight: 400;
        letter-spacing: 0.03em;
        text-align: justify;
    }

    .news-sub-info {
        padding: 12px 14px;
        margin-top: 14px;
        margin-bottom: 14px;
        border-radius: 2px;
    }

    .news-sub-info li {
        font-size: 0.85rem;
        margin-bottom: 6px;
        line-height: 1.45;
        color: #242220;
    }

    .news-sub-info li strong {
        display: inline;
        margin-bottom: 0;
        font-weight: 700;
    }

    .news-staff-comments {
        padding: 14px;
        margin-top: 16px;
    }

    .comment-heading {
        font-size: 0.95rem;
        margin-bottom: 10px;
        color: #242220;
    }

    .staff-name {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }

    .comment-block p {
        font-size: 0.875rem;
        line-height: 1.65;
        color: #242220;
    }

    .news-image {
        margin-top: 14px;
        gap: 8px;
    }

    .news-image img {
        width: calc(50% - 4px);
    }

    .news-image.text-box-image img,
    .news-image.text-box-image.portrait img {
        width: 100%;
        max-width: 100%;
    }
}