/**
 * News Detail Page Styles
 * ニュース詳細ページのスタイル
 */

/* ========================================
   ニュース詳細コンテナ
   ======================================== */

.news-detail {
    max-width: 90%;
    margin: 0 auto;
    background: rgba(247, 249, 251, 0.95);
    padding: 60px;
    color: #202023;
}

/* タイトルエリア */
.news-detail-title-area {
    margin-bottom: 40px;
}

/* 画像・本文エリア */
.news-detail-content-area {
    /* 必要に応じてmarginで横幅調整可能 */
    padding: 0 10%;
}

@media (max-width: 767px) {
    .news-detail {
        padding: 30px 20px;
    }
    
    .news-detail-title-area {
        margin-bottom: 30px;
    }
    
    .news-detail-content-area {
        padding: 0 !important;
    }
}

/* ========================================
   ニュース詳細ヘッダー
   ======================================== */

.news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(32, 32, 35, 0.1);
}

.news-detail-date {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(32, 32, 35, 0.6);
    margin-bottom: 16px;
}

.news-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #202023;
    margin: 0;
}

@media (max-width: 767px) {
    .news-detail-header {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .news-detail-date {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .news-detail-title {
        font-size: 1.8rem;
    }
}

/* ========================================
   ニュース詳細サムネイル
   ======================================== */

.news-detail-thumbnail {
    margin-bottom: 40px;
    overflow: hidden;
}

.news-detail-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .news-detail-thumbnail {
        margin-bottom: 30px;
    }
}

/* ========================================
   ニュース詳細本文
   ======================================== */

.news-detail-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #202023;
    margin-bottom: 60px;
}

.news-detail-body p {
    margin-bottom: 1.5em;
}

.news-detail-body p:last-child {
    margin-bottom: 0;
}

.news-detail-body h1,
.news-detail-body h2,
.news-detail-body h3 {
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
    color: #202023;
}

.news-detail-body h1 {
    font-size: 2rem;
}

.news-detail-body h2 {
    font-size: 1.6rem;
}

.news-detail-body h3 {
    font-size: 1.3rem;
}

.news-detail-body ul,
.news-detail-body ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.news-detail-body li {
    margin-bottom: 0.5em;
}

.news-detail-body a {
    color: #0066cc;
    text-decoration: underline;
}

.news-detail-body a:hover {
    color: #0052a3;
}

.news-detail-body strong {
    font-weight: 700;
}

.news-detail-body em {
    font-style: italic;
}

@media (max-width: 767px) {
    .news-detail-body {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 40px;
    }
    
    .news-detail-body h1 {
        font-size: 1.6rem;
    }
    
    .news-detail-body h2 {
        font-size: 1.4rem;
    }
    
    .news-detail-body h3 {
        font-size: 1.2rem;
    }
}

/* ========================================
   ニュース詳細フッター
   ======================================== */

.news-detail-footer {
    padding-top: 40px;
    border-top: 2px solid rgba(32, 32, 35, 0.1);
}

.news-detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #202023;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.news-detail-back-link:hover {
    gap: 16px;
    color: rgba(32, 32, 35, 0.7);
}

.news-detail-back-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.news-detail-back-link:hover .news-detail-back-arrow {
    transform: translateX(-4px);
}

@media (max-width: 767px) {
    .news-detail-footer {
        padding-top: 30px;
    }
    
    .news-detail-back-link {
        font-size: 1rem;
    }
    
    .news-detail-back-arrow {
        font-size: 1.2rem;
    }
}

/* ========================================
   ページタイトル（NEWS / 詳細）
   ======================================== */

.news-detail-page-title {
    display: flex;
    align-items: baseline;
    gap: 20px; /* NEWS と 詳細 の間隔 */
    margin-bottom: 40px;
    padding-left: 60px; /* 左側の余白 */
}

.news-detail-main-title {
    font-size: 3rem;
    font-weight: 900;
    color: #f7f9fb; /* 白文字 */
    letter-spacing: 0.2em;
    margin: 0;
}

.news-detail-subtitle-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f7f9fb; /* 白文字 */
    letter-spacing: 0.1em;
    margin: 0;
}

@media (max-width: 767px) {
    .news-detail-page-title {
        margin-bottom: 30px;
        padding-left: 20px;
        gap: 12px;
    }
    
    .news-detail-main-title {
        font-size: 2rem;
    }
    
    .news-detail-subtitle-text {
        font-size: 1.2rem;
    }
}
