/* ============================================================
   1. Base Setup & Deep Space Background
   ============================================================ */
.page-news-single {
    background-color: #000;
    color: #eee;
    line-height: 1.8;
    font-family: "Exo 2", "Orbitron", "Hiragino Kaku Gothic ProN", sans-serif;
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.page-news-single::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(142, 45, 226, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(255, 0, 255, 0.02) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* ============================================================
   2. Header Section (1300px Title & Fixed Left Meta)
   ============================================================ */
.news-single-header {
    padding: 100px 0 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

/* 基準コンテナ：1300pxまでタイトルを広げる */
.title-combined-container {
    position: relative;
    width: 100%;
    max-width: 1300px; 
    margin: 0 auto;
    text-align: center;
    padding: 0 40px;
    box-sizing: border-box;
    /* 縦並びを確定させて線を下部に配置 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* タイトル下部のサイバーライン：コンテナ側に持たせることで消失を回避 */
.title-combined-container::after {
    content: "";
    display: block;
    width: 100%; 
    max-width: 500px;
    height: 1px;
    margin: 40px auto 0; 
    background: linear-gradient(to right, transparent, #8e2de2, #ff00ff, #8e2de2, transparent);
    box-shadow: 0 0 12px rgba(142, 45, 226, 0.8);
    opacity: 0.8;
}

/* バッジ：本文(920px)の左端ラインに固定 */
.news-meta {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 50%;
    transform: translateX(-460px) skewX(-20deg); 
    display: inline-flex;
    align-items: center;
    background: rgba(142, 45, 226, 0.2);
    border: 1px solid rgba(142, 45, 226, 0.5);
    padding: 4px 16px;
    box-shadow: 0 0 15px rgba(142, 45, 226, 0.3);
    white-space: nowrap;
    z-index: 20;
    backdrop-filter: blur(5px);
}

.news-date, .news-label {
    transform: skewX(20deg);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}
.news-date { color: #aaa; margin-right: 12px; }
.news-label { color: #ff00ff; text-shadow: 0 0 10px #ff00ff; }

.news-title {
    font-size: clamp(1.4rem, 4.5vw, 3.8rem); 
    font-weight: 900;
    width: 110%;
    margin: 0;
    text-align: center;
    line-height: 1.0;
    position: relative;
    z-index: 10;

    /* 物理制限：最大2行・三点リーダーを出さず「ぶつ切り」で表示 */
    display: block;
    max-height: 2.6em; 
    overflow: hidden;
    text-overflow: clip; 

    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal; 
    
    /* 装飾：メタリックグラデーション */
    background: linear-gradient(180deg, #ffffff 45%, #bbbbbb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(142, 45, 226, 0.35));
    padding: 0 20px; 
    box-sizing: border-box;
}

/* 旧定義の干渉を防ぐため非表示化 */
.news-title::after {
    display: none !important;
}

/* ============================================================
   3. Content Plate (920px Container)
   ============================================================ */
.news-article {
    max-width: 920px;
    margin: 0 auto 40px; 
    padding: 0 60px 60px; /* アイキャッチが上端に来るよう top は 0 */
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-left: 1px solid rgba(142, 45, 226, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
}

.news-article::before {
    content: "";
    position: absolute;
    top: 0; left: -1px; width: 2px; height: 100%;
    background: linear-gradient(to bottom, #8e2de2, #ff00ff, transparent);
    box-shadow: 0 0 15px rgba(142, 45, 226, 0.5);
}

/* アイキャッチ：枠内に収める */
.news-eyecatch {
    width: 100%;
    margin: 0 0 70px;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    position: relative;
    z-index: 5;
    background: #111;
}

.news-eyecatch img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================================
   4. Body Typography
   ============================================================ */
.news-body { font-size: 1.15rem; color: #ccc; }

.news-body h2 {
    font-size: 1.8rem;
    color: #fff;
    margin: 90px 0 35px;
    padding: 15px 30px;
    background: linear-gradient(90deg, rgba(142, 45, 226, 0.3) 0%, transparent 100%);
    border-left: 5px solid #8e2de2;
    text-shadow: 0 0 10px rgba(142, 45, 226, 0.3);
}

.news-body p { margin-bottom: 35px; }

.news-body strong {
    color: #fff;
    background: linear-gradient(transparent 70%, rgba(142, 45, 226, 0.4) 70%);
}

.news-body ul { list-style: none; padding: 0; margin: 40px 0; }
.news-body li {
    padding-left: 2.5em;
    margin-bottom: 18px;
    position: relative;
}
.news-body li::before {
    content: "▶";
    position: absolute;
    left: 0.8em;
    color: #ff00ff;
    font-size: 0.85em;
    text-shadow: 0 0 10px #ff00ff;
}

/* ============================================================
   5. Footer area
   ============================================================ */
.news-footer {
    text-align: center;
    margin-top: 40px; 
    padding: 30px 0 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-back-list {
    display: inline-block;
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    padding: 12px 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: 0.4s;
    background: rgba(255, 255, 255, 0.02);
    font-family: "Orbitron", sans-serif;
}

.btn-back-list:hover {
    color: #fff;
    background: rgba(142, 45, 226, 0.2);
    border-color: #8e2de2;
    box-shadow: 0 0 20px rgba(142, 45, 226, 0.4);
}

/* ============================================================
   6. Responsive Mobile
   ============================================================ */
@media (max-width: 1100px) {
    .news-title {
        max-height: none; /* スマホでは全表示 */
        padding: 0 20px;
    }
    .news-meta {
        left: 20px;
        transform: translateX(0) skewX(-20deg);
    }
}

@media (max-width: 768px) {
    .news-single-header { padding: 80px 20px 40px; }
    
    .news-meta {
        position: relative; 
        left: 0; bottom: 0;
        margin: 0 auto 15px;
        transform: skewX(-20deg);
        display: flex;
        justify-content: center;
        width: fit-content;
    }

    .news-title {
        font-size: clamp(1.3rem, 6vw, 2.2rem);
    }

    .news-article {
        padding: 0 25px 60px;
        margin: 0 15px 40px;
    }

    .news-eyecatch {
        width: 100%;
        margin: 0 0 40px;
    }

    .title-combined-container::after {
        margin: 25px auto 0;
        max-width: 80%;
    }
}