.has-main-color {
    color: var(--color-key);
}

.p-single-article {
    width: calc(100% - var(--gutter) * 2);
    max-width: 1140px;
    margin: 3rem auto 6rem auto;
}

.p-single-article .p-single-content a{
    text-decoration: underline;
    color: var(--color-key);
}

.p-single-article .single-flex-area{
    display: flex;
    gap: 8rem;
}

.p-single-article .single-flex-area .signle-thumbnail{
    width: 33%;
}

.p-single-article .single-flex-area .single-meta{
    flex: 1;
}

.p-single-article .entry__image{
    position: relative;
    width: 100%;
    max-width: 370px;
    max-height: 500px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.p-single-article .entry__image::before{
    position: absolute;
    top: 5px;
    left: 25px;
    content: '';
    width: 100%;
    height: 100%;
    max-width: 333px;
    max-height: 443px;
    background-image: url(../img/common/staff-thumb-frame.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 3;
}

.p-single-article .entry__image img{
    width: 90%;
    height: 90%;
    object-fit: cover;
    margin: 1.5rem 0 0 auto;
    border-radius: 20px;
}

.p-single-article .single-meta h1 {
    font-size: min(26px + 8 * (100 * var(--vw) - 400px) / 1200, 36px);
    margin: 0 0 3rem 0;
    padding: 0.5rem 0;
    font-weight: 600;
    color: #2A2323;
}

.p-single-article .p-single-content h2 {
    margin-right: -0.04em;
    margin-top: calc(min(8.1px + 4.65 * (100 * var(--vw) - 400px) / 1200, 12.75px) + var(--lt));
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    color: #2A2323;
    border-left: 9px solid var(--color-key);
    font-size: min(24px + 8 * (100 * var(--vw) - 400px) / 1200, 32px);
    font-weight: bold;
    letter-spacing: .04em;
}

.p-single-article .p-single-content h3 {
    margin-right: -0.04em;
    margin-top: calc(min(8.1px + 4.65 * (100 * var(--vw) - 400px) / 1200, 12.75px) + var(--lt));
    margin-bottom: 1.5rem;
    color: #2A2323;
    border: none;
    font-size: min(22px + 8 * (100 * var(--vw) - 400px) / 1200, 30px);
    font-weight: bold;
    letter-spacing: .04em;
}

.p-single-article .p-single-content h4 {
    margin-right: -0.04em;
    margin-top: calc(min(8.1px + 4.65 * (100 * var(--vw) - 400px) / 1200, 12.75px) + var(--lt));
    margin-bottom: 1.5rem;
    color: #2A2323;
    border: none;
    font-size: min(22px + 8 * (100 * var(--vw) - 400px) / 1200, 28px);
    font-weight: bold;
    letter-spacing: .04em;
}

.p-single-article .p-single-content h5 {
    margin-right: -0.04em;
    margin-top: calc(min(8.1px + 4.65 * (100 * var(--vw) - 400px) / 1200, 12.75px) + var(--lt));
    margin-bottom: 1.5rem;
    color: #2A2323;
    border: none;
    font-size: min(20px + 8 * (100 * var(--vw) - 400px) / 1200, 26px);
    font-weight: bold;
    letter-spacing: .04em;
}

.p-single-article .p-single-content h6 {
    margin-right: -0.04em;
    margin-top: calc(min(8.1px + 4.65 * (100 * var(--vw) - 400px) / 1200, 12.75px) + var(--lt));
    margin-bottom: 1.5rem;
    color: #2A2323;
    border: none;
    font-size: min(18px + 8 * (100 * var(--vw) - 400px) / 1200, 24px);
    letter-spacing: .04em;
}

.p-single-article p,.p-single-article figure{
    margin-bottom: 2rem;
}

.p-single-article .single-meta__info .single-meta__category{
    font-weight: bold;
    font-size: 24px;
    color: #2A2323;
}

.p-single-article .post-info{
    width: 100%;
    margin: 2.5rem auto;
}

.p-single-article .post-info .post-info__item th{
    width: 23%;
    font-weight: bold;
    text-align: left;
    padding: 0.5rem 0;
}

.p-single-article .post-info .post-info__item td{
    text-align: left;
    padding: 0.5rem 0;
}

.p-single-article .staff-comment{
    margin-top: 3rem;
}

.p-single-article .staff-comment h3{
    font-size: 21px;
}

.single-footer-nav{
    margin: 10rem auto;
    padding: 4rem 0;
    border-top: 1px dashed #7A7875;
    border-bottom: 1px dashed #7A7875;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.single-footer-nav__prev a,.single-footer-nav__next a{
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.4s;
}

.single-footer-nav__prev a:hover,.single-footer-nav__next a:hover,.single-footer-nav__prev span,.single-footer-nav__next span{
    color: var(--color-key);
}

.single-footer-nav__prev a::before,.single-footer-nav__prev span::before {
    display: block;
    content: '';
    width: 50px;
    height: 35px;
    background-image: url(../img/common/archive-arrow-left.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
}

.single-footer-nav__next a::after,.single-footer-nav__next span::after {
    display: block;
    content: '';
    width: 50px;
    height: 35px;
    background-image: url(../img/common/archive-arrow-right.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 8px;
}

.single-footer-nav .is-disabled {
    opacity: 0.5;
    display: flex;
    align-items: center;
    color: #333;
}

.single-footer-nav .c-btn{
    margin-top: 0;
}

@media screen and (max-width: 1024px){
    .p-single-article .single-flex-area {
        display: flex;
        gap: 3rem;
    }
    .p-single-article .entry__image::before{
        max-width: 27vw;
        max-height: 375px;
    }
}

@media screen and (max-width: 850px){
    .p-single-article .entry__image::before{
        max-width: 27vw;
        max-height: 280px;
    }
}


@media screen and (max-width: 599.98px){
    .p-single-article .single-flex-area{
        flex-wrap: wrap;
    }
    .p-single-article .single-flex-area .signle-thumbnail {
        width: 100%;
    }
    .p-single-article .entry__image{
        padding: 1.5rem;
        max-height: 350px;
        width: 260px;
        height: 330px;
        margin: 0 auto;
    }
    .p-single-article .entry__image::before {
        width: 235px;
        height: 304px;
        max-width: 100%;
        max-height: 100%;
        background-size: 100% 100%;
        top: 0;
        left: 0;
    }
    .p-single-article .entry__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0 auto;
        border-radius: 10px;
    }
    .p-single-article .single-meta__info .single-meta__category{
        font-size: 20px;
    }
    .p-single-article .post-info{
        width: 100%;
        padding: 0;
    }
    .p-single-article .post-info .post-info__item th {
        width: 40%;
    }
    .p-single-article .staff-comment h3{
        font-size: 19px;
    }
    .p-single-article .wp-block-columns{
        gap: 10px !important;
    }
    .single-footer-nav{
        flex-wrap: wrap;
        margin: 5rem 0;
        padding: 2rem 0;
    }
    .single-footer-nav__archive{
        margin: 1rem auto;
    }
    .single-footer-nav__prev,.single-footer-nav__next{
        display: flex;
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }
}


/* 2026/07/02タウラボCSS */
.p-single-article .post-info .post-info__item th{
    width: 180px;
}
@media (max-width:767px) {
    .p-single-article .entry__image {
        padding: 1.5rem;
        max-height: 350px;
        width: 260px;
        height: 330px;
        margin: 0 auto;
    }
    .p-single-article .single-flex-area{
        flex-direction: column;
    }
    .p-single-article .entry__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        margin: 0 auto;
        border-radius: 10px;
    }
    .p-single-article .single-flex-area .signle-thumbnail {
        width: 100%;
    }
    .p-single-article .entry__image::before {
        width: 235px;
        height: 304px;
        max-width: 100%;
        max-height: 100%;
        background-size: 100% 100%;
        top: 0;
        left: 0;
    }
}

@media (max-width:560px) { 
    .post-info__item tr{
        display: flex;
        flex-direction: column;
    }
    .p-single-article .post-info .post-info__item th{
        padding-bottom: 0;
        padding-top: .5em;
    }
    .p-single-article .post-info .post-info__item td{
        padding-top: 0;
    }
}