/* Styles for Single Post Page */
.p-single {
    padding: 10.9rem 0;
    background-image: url(../../img/pc_bg_3.jpg);
    background-size: cover;
}

.p-single__section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #5B4D46;
    max-width: 1154px;
    margin: 0 auto 5rem;
    padding: 0 3.1rem;
    width: 100%;
}

.p-single__section-ja {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: 1.8;
}

.p-single__section-en {
    font-family: "adobe-garamond-pro", serif;
    font-weight: normal;
    font-size: 4rem;
    line-height: 1.35;
    letter-spacing: 0.08em;
}

.p-single__inner {
    max-width: 718px; 
    margin: 0 auto;
    padding: 0 31px;
    width: 100%;
}


.p-single__title {
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.8;
    letter-spacing: 0;
    color: #5B4D46;
    margin: 0 0 2.4rem;
}

.p-single__meta {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    font-size: 1.6rem;
    line-height: 1.1;
    color: #5B4D46;
    margin-bottom: 5rem;
}
.p-single__categories span{
    margin-right: 5px;
}
.p-single__thumbnail {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3.7rem;
    max-width: 65.6rem;
}

.p-single__thumbnail img {
    width: 100%;
    height: auto;
}

.p-single__content.s-entry-content {
    color: #5B4D46;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 4.5rem;
}

.s-entry-content h2 {
    font-family: "Shippori Mincho", serif;
    font-size: 2rem;
    line-height: 1.45;
    letter-spacing: 0;
    margin: 0 0 2.3rem;
}
.s-entry-content h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.wp-block-table td{
    border-right: none;
    border-left: none;
    border-color: rgba(91, 77, 70, 0.6);
}
.wp-block-table tr:first-child td{
    border-top: none;
}

.wp-block-table td:first-child {
    width: 34%;
}
.s-entry-content > * + * {
    margin-top: 1.5em;
}
.s-entry-content a {
    color: #5B4D46;
    text-decoration: none;
    border-bottom: 1px solid #5B4D46;
    padding-bottom: 5px;
    transition: opacity 0.3s ease;
}
@media (any-hover: hover) {
    .s-entry-content a:hover {
        opacity: 0.6;
    }
}
.wp-block-separator {
    border-color: rgba(91, 77, 70, 0.15);
    margin: 3.5em 0;
}


.s-entry-content h4 {
    margin-top: 2em;
}

.p-single__footer {
    margin-top: 4.5rem;
}

.c-button-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #5B4D46;
    text-decoration: none;
    font-size: 1.6rem;
}

.c-button-back__icon {
    width: 46px;
    height: 46px;
    border: 1px solid #5B4D46;
    border-radius: 50%;
    position: relative;
    transform: rotate(90deg);
}

.c-button-back__icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    background-image: url(../../img/arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.c-button-back__text {
    opacity: 0.6;
    border-bottom: 1px solid;
}
@media (any-hover: hover) {
    .c-button-back:hover .c-button-back__icon::before {
        transform: translate(-50%, -3px);
    }
    .c-button-back:hover .c-button-back__text {
        opacity: 1;
    }
}

/* PC Styles */
@media (min-width: 750px) {
    .p-single {
        padding: 20.7rem 0;
    }
    .p-single__section {
        margin: 0 auto 11.7rem;
    }
    .p-single__title {
        font-size: 2.4rem;
        margin: 0 0 4.5rem;
    }
    .p-single__meta {
        margin-bottom: 4.5rem;
    }
    .p-single__thumbnail {
        margin-bottom: 4.8rem;
    }
}
