@charset "UTF-8";

/* ==========================================================================
   Single News Page Styles
   ========================================================================== */

.l-main {
    padding-top: 40px;
    padding-bottom: 80px;
    background-color: var(--color-bg);
}

.p-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header Info ------------------------------------------------------ */
.p-single-header {
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: left;
}

.p-single-meta {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #4a4a4a;
    font-family: var(--font-gothic);
}

.p-single-cat {
    display: inline-block;
    padding: 2px 10px;
    background-color: #141212;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.p-single-title {
    font-family: var(--font-mincho);
    font-size: 20px;
    line-height: 1.6;
    font-weight: 700;
}

@media (min-width: 768px) {
    .p-single-title {
        font-size: 32px;
    }

    .p-single-header {
        margin-top: 100px;
        margin-bottom: 40px;
        text-align: left;
    }

    .p-single-container figure {
        margin: 40px 0;
        width: 100%;
    }

    .p-single-container p {
        font-size: 16px;
        line-height: 2;
        margin-bottom: 2em;
        font-family: var(--font-gothic);
        text-align: justify;
    }
}

/* --- Eyecatch (Strict: figure.single-eyecatch > img) ------------------ */
.single-eyecatch {
    margin: 0 0 60px;
    width: 100%;
}

.single-eyecatch img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Body (Strict: p / figure / img) ---------------------------------- */
.p-single-container p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 2em;
    font-family: var(--font-gothic);
    text-align: justify;
}

.p-single-container figure {
    margin: 20px 0;
    width: 100%;
}

.p-single-container figure img {
    width: 100%;
    height: auto;
    display: block;
}

.p-single-container figcaption {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

/* --- Pagination (Strict: p-singleNav) -------------------------------- */
.p-singleNav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.p-singleNav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #ddd;
    /* Example styling for buttons */
    border-radius: 50%;
    transition: background-color 0.3s;
}

.p-singleNav a:hover {
    background-color: #f0f0f0;
}

.p-singleNav .prev {
    transform: scale(-1, 1);
}

.p-singleNav img {
    width: 20px;
    height: auto;
}

/* Specific alignments if needed, or keeping it centered/spread */
.p-singleNav .list {
    /* List icon specific */
}