/* =========================================================
    Page: Feature Single Layout Style
    File: assets/css/5_pages/single-feature.css
========================================================= */

:root {
    --sakura-pink: #fdf2f4;
    --sakura-text: #d8768a;
    --wan-orange: #f39800;
    --rank-1: #d4af37;
    --rank-2: #b0b0b0;
    --rank-3: #ad704a;
    --text-main: #333;
    --text-sub: #888;
}

/* --- 1. レイアウト全体 --- */
.single-feature .l-mainContent {
    background-color: #fff;
    padding-bottom: 60px;
}

.single-feature .l-content {
    padding-top: 0 !important;
}

.single-feature .post_content {
    max-width: 100%;
    line-height: 2;
    color: #444;
}

/* --- 2. 記事ヘッダー（ヒーローエリア） --- */
.p-featureSingle__header {
    margin-bottom: 60px;
}

.p-featureSingle__eyecatch {
    width: 100%;
    position: relative;
    border-radius: 4px;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
}

.p-featureSingle__eyecatch .p-articleThumb {
    margin: 0 !important;
}

.p-featureSingle__eyecatch img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.p-featureSingle__title {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800;
    line-height: 1.4;
    margin: 24px 0 16px;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.p-featureSingle__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}

.p-featureSingle__labelGroup {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.p-featureSingle__labelRow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.p-featureSingle__areaDisplay {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--wan-orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.p-featureSingle__areaIcon {
    width: 16px;
    height: 16px;
    background-color: var(--wan-orange);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.p-featureSingle__labelItem {
    padding: 3px 12px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 2px;
    letter-spacing: 0.05em;
}

.p-featureSingle__labelItem.-genre {
    background-color: #f2f2f2;
    color: #666;
}

.p-featureSingle__date {
    font-size: 13px;
    color: #999;
}

/* --- 3. 本文内の見出し上書き --- */
.single-feature .post_content h2::before,
.single-feature .post_content h2::after,
.single-feature .post_content h3::before,
.single-feature .post_content h3::after {
    content: none !important;
    display: none !important;
}

.single-feature .post_content h2 {
    font-weight: 800;
    color: var(--text-main) !important;
    background: none !important;
    border: none !important;
    border-left: 8px solid var(--wan-orange) !important;
    padding: 4px 0 4px 16px !important;
    margin: 60px 0 30px 0 !important;
    line-height: 1.4;
    display: block !important;
}

.single-feature .post_content h3 {
    font-weight: 700;
    color: var(--text-main) !important;
    background: none !important;
    border: none !important;
    border-bottom: 2px solid var(--wan-orange) !important;
    padding: 0 0 10px 0 !important;
    line-height: 1.5;
    display: block !important;
}

/* --- 4. 編集コンポーネント（装飾パーツ） --- */

.p-feature-item {
    margin: 80px 0;
    position: relative;
    padding-top: 20px;
}

.p-feature-item__number {
    font-family: 'Times New Roman', serif;
    font-size: clamp(80px, 12vw, 120px);
    font-weight: 700;
    color: var(--wan-orange);
    line-height: 0.8;
    opacity: 0.08;
    position: absolute;
    top: -10px;
    left: -20px;
    z-index: -1;
    user-select: none;
}

.p-feature-item__title {
    position: relative;
    z-index: 1;
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 800;
    color: var(--text-main) !important;
    margin-bottom: 30px !important;
    padding-bottom: 0 !important;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 15px;
}

.p-feature-item__title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

/* --- 6. ページフッター --- */
.p-featureSingle__footer {
    margin-top: 100px;
    padding: 60px 20px;
    border-top: 1px solid #eee;
}

.p-btn-backArchive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 18px 40px;
    background: #333;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.p-btn-backArchive:hover {
    background: var(--wan-orange);
    transform: scale(1.05);
}

/* --- レスポンシブ (ページレイアウト) --- */
@media screen and (max-width: 768px) {
    .p-featureSingle__header {
        margin-bottom: 40px;
    }
    .p-featureSingle__title {
        font-size: 18px;
    }
    .p-feature-item {
        margin: 60px 0;
    }
    .single-feature .p-featureSingle__eyecatch {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        max-width: none !important;
        margin-top: 0 !important;
        margin-bottom: 24px !important;
        border-radius: 0 !important;
    }
    .single-feature .p-featureSingle__eyecatch img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }
}