[id] {
    scroll-margin-top: 150px;
}


.anchor-nav {
    margin-bottom: 10px;
}

.anchor-nav-list {
    flex-wrap: wrap;
    justify-content: space-between;
}

.anchor-nav-item {
    width: 50%;
    border-bottom: 1px solid #fff;
    position: relative;
}

.anchor-nav-item:nth-of-type(2n) {
    border-right: none;
}

.anchor-nav-item ::after {
    content: "";
    display: block;
    position: absolute;
    background-image: url('/images/icon-arrow-under-wh.svg');
    background-size: 100%;
    width: 7px;
    height: 4px;
    top: 50%;
    right: 3%;
    margin: auto;
    transform: translate(-50%, -50%);
}




@media screen and (min-width: 768px) {
    .anchor-nav {
        margin-bottom: 30px;
    }



    .anchor-nav-item {
        width: 25%;
    }

    .anchor-nav-item:first-of-type {
        border-left: none;
    }


    .anchor-nav-item:nth-of-type(2n) {
        border-right: 1px solid #fff;
    }

    .anchor-nav-item:nth-of-type(4n) {
        border-right: none;
    }
}

.ranking-block {
    background-color: #fff;
    margin-bottom: 40px;
}

.catalog-detail-box {
    background-color: #f8f6eb;
    padding: 15px;
    margin-top: 30px;
}

.catalog-detail-title-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.catalog-detail-label {
    width: 20%;
}

.catalog-detail-label img {
    width: 100%;
    height: auto;
}

.catalog-detail-title {
    width: 80%;
    font-weight: bold;
    margin-bottom: 0;
}

.catalog-detail-title span {
    display: block;
    font-weight: bold;
    font-size: 2.4rem;
}

.catalog-detail-pic {
    display: block;
}

.catalog-detail-pic img {
    width: 100%;
    height: auto;
}

.catalog-detail-txt {
    margin: 10px auto;
}

@media screen and (min-width: 768px) {
    /* catalog detail */

    .catalog-detail-box {
        display: grid;
        grid-template-columns: 56% 1fr;
        grid-template-rows: auto 1fr;
        grid-template-areas:
            "pic title"
            "pic txt";
        column-gap: 24px;
        align-items: center;

        background-color: #f8f6eb;
        padding: 15px;
        margin-top: 30px;
    }

    .catalog-detail-pic {
        grid-area: pic;
        display: block;
    }

    .catalog-detail-pic img {
        width: 100%;
        height: auto;
    }

    .catalog-detail-title-wrap {
        grid-area: title;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;

        margin-bottom: 20px;
    }

    .catalog-detail-label {
        width: 76px;
        flex-shrink: 0;
    }

    .catalog-detail-label img {
        width: 100%;
        height: auto;
    }

    .catalog-detail-title {
        font-weight: bold;
        margin-bottom: 0;
        line-height: 1.5;
    }

    .catalog-detail-title span {
        display: block;
        font-size: 2.4rem;
        font-weight: bold;
    }

    .catalog-detail-txt {
        grid-area: txt;
        font-size: 1.5rem;
        line-height: 1.8;
        margin: 0;
    }

}

.block-lead-area {
    margin-bottom: 30px;
}

.block-lead {
    font-family: "Noto Serif JP", serif;
    display: block;
    line-height: 2;
    font-size: 3vw;
    text-align: center;
}

@media screen and (min-width: 768px) {

    .block-title {
        font-size: 2.8rem;
    }

    .block-lead {
        font-size: 1.8rem;
    }

    .block-lead-area {
        text-align: center;
        margin-bottom: 40px;
    }
}