/* パンくずリスト */
.breadcrumb {
    padding-inline: 0;

    & .breadcrumb_inner {
        max-width: var(--contents-width);
        width: 100%;
        margin-inline: auto;

        & .breadcrumb_list {
            display: flex;
            padding: 12px 0;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
            font-size: 12px;
            font-weight: 400;
            line-height: 100%;
            letter-spacing: 0.96px;

            & .breadcrumb_item {
                display: flex;
                justify-content: flex-start;
                align-items: center;
                gap: 8px;

                &:not(.current) {
                    color: rgba(74, 63, 53, 0.50);

                    &::after {
                        content: "";
                        display: block;
                        background-image: url(../img/arrow__breadcrumb.svg);
                        background-size: contain;
                        background-repeat: no-repeat;
                        background-position: center;
                        width: 6px;
                        height: 8px;
                    }
                }

            }
        }
    }

    @media (max-width: 750px) {
        padding-block: 0;

        & .breadcrumb_inner {
            overflow-x: auto;

            & .breadcrumb_list {
                justify-content: flex-start;

                & .breadcrumb_item {
                    flex-shrink: 0;

                    &:first-child {
                        margin-inline-start: 5.333vw;
                    }

                    &.current {
                        padding-inline-end: 5.333vw;
                    }
                }
            }
        }
    }
}

/* sec-news_list */
.sec-news_list {
    border-bottom: 1px solid rgba(74, 63, 53, 0.08);
    padding-block: 64px 104px;

    & hgroup {
        text-align: center;
    }

    & .news_list {
        background-color: #fff;
        border-radius: 8px;
        margin-block-start: 40px;
        padding: 8px 40px;

        & li {

            &:not(:last-child) {

                & .news_list-item {
                    border-bottom: 1px solid rgba(74, 63, 53, 0.23);
                }
            }
        }

        & .news_list-item {
            display: flex;
            align-items: center;
            gap: 24px;
            padding-block: 32px;

            & .news_list-thumb {
                flex-shrink: 0;
                width: 240px;
                height: 170px;
                border-radius: 8px;
                overflow: hidden;

                & img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }

            & .news_list-info {
                display: flex;
                align-items: center;
                gap: 32px;
                flex: 1;
                min-width: 0;

                & .news_list-text {
                    display: flex;
                    flex-direction: column;
                    gap: 16px;
                    flex: 1;
                    min-width: 0;

                    & .news_list-date {
                        font-size: 15px;
                        font-weight: 500;
                        color: rgba(74, 63, 53, 0.5);
                        line-height: 100%;
                        letter-spacing: 1.2px;
                    }

                    & .news_list-title {
                        font-size: 17px;
                        font-weight: 500;
                        color: #4A3F35;
                        line-height: 150%;
                        letter-spacing: 1.36px;
                    }

                    & .news_list-desc {
                        font-size: 15px;
                        font-weight: 400;
                        color: #4A3F35;
                        line-height: 150%;
                        letter-spacing: 1.2px;
                        word-break: break-word;
                    }
                }

                & .news_list-more {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    gap: 8px;
                    flex-shrink: 0;
                    border: 1px solid #766658;
                    border-radius: 4px;
                    font-size: 13px;
                    font-weight: 500;
                    color: #766658;
                    line-height: 150%;
                    letter-spacing: 1.04px;
                    white-space: nowrap;
                    margin-block-start: auto;
                    padding: 8px 10px;

                    &::after {
                        content: "";
                        display: block;
                        flex-shrink: 0;
                        width: 6px;
                        height: 6px;
                        border-top: 1px solid #766658;
                        border-right: 1px solid #766658;
                        rotate: 45deg;
                        translate: -2px 0;
                    }
                }
            }
        }
    }

    & .news_pager {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 24px;
        margin-block-start: 64px;

        & .news_pager-nums {
            display: flex;
            align-items: center;
            gap: 16px;

            & li {

                &:not(.news_pager-dots) {

                    & a,
                    & span {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        border: 1px solid #766658;
                        border-radius: 50%;
                        width: 40px;
                        height: 40px;
                        font-size: 15px;
                        font-weight: 500;
                        color: #766658;
                        line-height: 100%;
                        letter-spacing: 1.2px;
                        transition: background-color 0.3s ease, color 0.3s ease;
                    }

                    & a {

                        &:hover {
                            background-color: #766658;
                            color: #fff;
                        }
                    }
                }

                &.is-current {

                    & span {
                        background-color: #766658;
                        color: #fff;
                    }
                }

                &.news_pager-dots {
                    display: flex;
                    align-items: center;
                    gap: 4px;

                    & span {
                        width: 2px;
                        height: 2px;
                        border-radius: 50%;
                        background-color: #766658;
                    }
                }
            }
        }

        & .news_pager-prev,
        & .news_pager-next {
            position: relative;
            flex-shrink: 0;
            width: 8px;
            height: 12px;
            transition: opacity 0.3s ease;

            &::before {
                content: "";
                position: absolute;
                top: 50%;
                left: 0;
                translate: 0 -50%;
                width: 8px;
                height: 8px;
                border-top: 2px solid #766658;
                border-right: 2px solid #766658;
                rotate: 45deg;
            }

            &:hover {
                opacity: 0.6;
            }
        }

        & .news_pager-prev {
            scale: -1 1;
        }
    }

    @media (max-width: 750px) {
        padding-block: 40px 64px;

        & .news_list {
            margin-block-start: 24px;
            padding: 8px 12px;

            & .news_list-item {
                align-items: flex-start;
                gap: 16px;
                padding-block: 16px;

                & .news_list-thumb {
                    width: 120px;
                    height: 110px;
                }

                & .news_list-info {
                    flex-direction: column;
                    align-items: flex-end;
                    gap: 14px;

                    & .news_list-text {
                        gap: 8px;
                        width: 100%;

                        & .news_list-date {
                            font-size: 12px;
                            letter-spacing: 0.96px;
                        }

                        & .news_list-title {
                            font-size: 14px;
                            letter-spacing: 1.12px;
                        }

                        & .news_list-desc {
                            display: none;
                        }
                    }

                    & .news_list-more {
                        font-size: 12px;
                        letter-spacing: 0.96px;
                    }
                }
            }
        }

        & .news_pager {
            margin-block-start: 48px;

            & .news_pager-nums {
                gap: 8px;
            }
        }
    }
}

/* sec-news_detail */
.sec-news_detail {
    padding-block: 80px 104px;

    & .news_detail {
        max-width: 900px;
        width: 100%;
        margin-inline: auto;
        background-color: #fff;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 40px;

        & .news_detail-head {
            display: flex;
            flex-direction: column;
            gap: 16px;

            & .news_detail-date {
                font-size: 16px;
                font-weight: 500;
                color: rgba(74, 63, 53, 0.5);
                line-height: 100%;
                letter-spacing: 1.28px;
            }

            & .news_detail-title {
                font-size: 32px;
                font-family: var(--font-mincho);
                font-weight: 500;
                color: #4A3F35;
                line-height: 150%;
                letter-spacing: 2.56px;
            }
        }

        & .news_detail-body {
            display: flex;
            flex-direction: column;
            gap: 40px;

            & .news_detail-lead {
                display: flex;
                flex-direction: column;
                gap: 32px;

                & .news_detail-img {
                    aspect-ratio: 820 / 500;
                    border-radius: 8px;
                    overflow: hidden;

                    & img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                    }
                }
            }

            & .news_detail-block {
                display: flex;
                flex-direction: column;
                gap: 16px;
                
                & .wp-block-image img{
                    border-radius: 8px;
                    overflow: hidden;
                }

                & .news_detail-lead-text {
                    background-color: var(--common-bg-color);
                    border-radius: 4px;
                    font-size: 15px;
                    font-weight: 400;
                    color: #4A3F35;
                    line-height: 150%;
                    letter-spacing: 1.2px;
                    word-break: break-word;
                    padding: 16px;
                }

                & h2 {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    font-size: 17px;
                    font-weight: 500;
                    color: #4A3F35;
                    line-height: 150%;
                    letter-spacing: 1.36px;

                    &::before {
                        content: "";
                        display: block;
                        flex-shrink: 0;
                        width: 10px;
                        height: 10px;
                        border-radius: 50%;
                        background-color: var(--common-accent-color);
                    }
                }

                & .news_detail-text,.wp-block-paragraph {
                    font-size: 14px;
                    font-weight: 400;
                    color: #4A3F35;
                    line-height: 150%;
                    letter-spacing: 1.12px;
                    word-break: break-word;
                    margin-block-end: 20px;
                }
            }
        }
    }

    & .news_back {
        display: flex;
        justify-content: center;
        margin-block-start: 88px;

        & .news_back-link {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            border: 1px solid #766658;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 700;
            color: #766658;
            line-height: 100%;
            letter-spacing: 1.12px;
            padding: 24px;
            transition: opacity 0.3s ease;

            &::before {
                content: "";
                display: block;
                flex-shrink: 0;
                width: 24px;
                height: 9px;
                background-image: url(../img/arrow__brn.svg);
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
                scale: -1 1;
            }

            &:hover {
                opacity: 0.6;
            }
        }
    }

    @media (max-width: 750px) {
        padding-block: 64px;

        & .news_detail {
            gap: 40px;
            padding: 24px 16px;

            & .news_detail-head {

                & .news_detail-date {
                    font-size: 14px;
                    letter-spacing: 1.12px;
                }

                & .news_detail-title {
                    font-size: 18px;
                    letter-spacing: 1.44px;
                }
            }

            & .news_detail-body {

                & .news_detail-lead {

                }

                & .news_detail-block {
                    & .news_detail-lead-text {
                        font-size: 14px;
                        letter-spacing: 1.12px;
                    }
                    & h2 {
                        font-size: 15px;
                        letter-spacing: 1.2px;
                    }
                }
            }
        }

        & .news_back {
            margin-block-start: 48px;
        }
    }
}