@charset "UTF-8";

/* ==========================================================================
   Base
   ========================================================================== */
body.news-page {
    background-color: #f4f4f4;
    color: #1a1a1a;
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    width: 100vw; height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    
    transform: none !important;
    filter: none !important;
    perspective: none !important;
}

/* Contact Overlay Positioning */
body.news-page .overlay-section {
    position: fixed !important;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 2500;
}

#news-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; pointer-events: none;
}

/* ==========================================================================
   PC Layout (Split View)
   ========================================================================== */
.split-container {
    display: grid;
    grid-template-columns: 45% 55%;
    width: 100%;
    min-height: 100vh;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 左カラム: リスト --- */
.list-column {
    padding: 160px 60px 100px;
    box-sizing: border-box;
    background: #f4f4f4;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: none; -ms-overflow-style: none;
}
.list-column::-webkit-scrollbar { display: none; }

.news-main-title {
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 900; line-height: 0.9; letter-spacing: -0.03em;
    color: #1a1a1a; margin: 0 0 80px 0;
}

.news-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
}

.news-item-link {
    display: block;
    padding: 30px 0;
    border-top: 1px solid #ccc;
    cursor: pointer;
    text-decoration: none;
    color: #1a1a1a;
    opacity: 0.4;
    transition: all 0.3s ease;
    position: relative;
}
.news-item-link:last-child { border-bottom: 1px solid #ccc; }

.news-item-link:hover, .news-item-link.active {
    opacity: 1; border-color: #1a1a1a;
}
.news-item-link.active { transform: translateX(10px); }

.news-item-link::after {
    content: '→'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-size: 24px; font-weight: 300; opacity: 0; transition: all 0.3s ease;
}
.news-item-link:hover::after { opacity: 1; right: -20px; }

/* ★修正: 右側のスタイル(.detail-date)に合わせる */
.news-date {
    display: block; 
    font-family: monospace; 
    font-size: 14px; /* 13px -> 14px */
    color: #888;     /* #666 -> #888 */
    margin-bottom: 8px;
    font-weight: normal;
}

.news-title {
    font-size: 24px; font-weight: 700; line-height: 1.4; margin: 0;
}

.news-footer { margin-top: 100px; font-size: 11px; color: #aaa; }


/* --- 右カラム: プレビュー (詳細) --- */
.preview-column {
    background: #fff;
    height: 100vh;
    overflow-y: auto;
    position: relative;
    padding: 160px 80px 100px;
    box-sizing: border-box;
}

/* プレビュー内の記事スタイル */
.article-meta {
    margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 30px;
}
.detail-date {
    font-family: monospace; font-size: 14px; color: #888; display: block; margin-bottom: 15px;
}
.detail-title {
    font-size: 40px; font-weight: 800; line-height: 1.2; margin: 0;
}
.article-content {
    font-size: 16px; line-height: 2.2; color: #333; text-align: justify;
    font-feature-settings: "palt"; margin-bottom: 60px;
}
.article-content p { margin-bottom: 2em; }
.article-content h3 {
    font-size: 22px; margin: 60px 0 30px; padding-bottom: 10px;
    border-bottom: 2px solid #1a1a1a;
}
.article-main-image {
    width: 100%; height: auto; display: block; margin: 0 0 50px 0; border-radius: 2px;
}
.caption {
    font-size: 13px; color: #888; text-align: center; margin-top: -40px; margin-bottom: 50px; display: block;
}
.link-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 35px; background: #1a1a1a; color: #fff;
    font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-decoration: none;
    transition: all 0.3s;
}
.link-btn:hover { background: #444; transform: translateY(-2px); }

.sp-back-area { display: none; margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; }
.back-btn { font-family: monospace; font-size: 12px; color: #1a1a1a; text-decoration: none; font-weight: 700; }


/* ==========================================================================
   Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .split-container { display: block; height: auto; min-height: auto; }
    
    /* --- リスト画面 (SP) --- */
    .list-column {
        width: 100%; height: auto;
        padding: 120px 20px 60px;
        overflow: visible;
        background: #f4f4f4;
    }
    
    body.sp-detail-mode .list-column { display: none; }

    .news-main-title { font-size: 60px; margin-bottom: 40px; }
    
    .news-item-link {
        opacity: 1;
        padding: 25px 0;
        transform: none !important;
    }
    .news-item-link:hover { opacity: 1; padding-left: 0; background: none; }
    .news-item-link::after { display: none; }
    
    .news-title { font-size: 18px; }
    
    
    /* --- 詳細画面 (SP) --- */
    .preview-column {
        width: 100%; height: auto;
        padding: 120px 20px 100px;
        background: #fff;
        display: none;
        overflow: visible;
    }
    
    body.sp-detail-mode .preview-column { display: block; }
    
    .detail-title { font-size: 24px; }
    .article-content { font-size: 15px; }
    
    .sp-back-area { display: block; }
}