.single-product .post>p {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", sans-serif;
    font-size: 16px;
}

.single-product .allergen-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4px
}

.single-product .allergen-list li {
    list-style-type: none;
    max-width: 44px
}

.single-product .product-title-area {
    display: flex;
    width: 100%;
    gap: 40px;
    flex-direction: row;
    justify-content: center;
}

.single-product .allergen-list li img {
    width: 100%
}

.single-product .oshinagaki_table {
    border: 1px solid #ccc
}

.single-product .oshinagaki_table tr {
    border-bottom: 1px solid #ccc
}

.single-product .oshinagaki_table tr th {
    border: none;
    min-width: 60px;
    width: 20%;
    background-color: rgba(0, 0, 0, 0)
}

.single-product .oshinagaki_table tr td {
    border: none
}

.single-product .oshinagaki_table tr td:first-child {
    width: 100%
}

.single-product .oshinagaki_table tr td:nth-child(2) {
    flex: 1;
    border-left: 1px solid #ccc
}

#product_list {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px; */
    width: 100%;
    padding: 0;
}

#product_list li {
    width: 100%;
    display: grid;
    grid-template-columns: 55% 45%;
    column-gap: 24px;
    align-items: center;
    padding: 32px 0;
    border-top: #b9b9b9 1px solid;
    margin-bottom: 0;
}

#product_list li:first-child {
    padding-top: 0;
    border: none;
}

#product_list li .product-detail__text {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#product_list .product-detail__title {
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
    font-size: 26px;
    margin: 0;
    font-weight: bold;
}

#product_list .product-detail__title a {
    text-decoration: none;
}

#product_list .price-revision__prices {
    width: 100%;
    margin-top: 0.8em;
}

#product_list .price-revision__item {
    display: flex;
    width: 100%;
    align-items: baseline;
}

#product_list .price-revision__main {
    margin: 0;
    font-size: 24px;
}

#product_list .price-revision__tax {
    margin: 0;
    font-size: 16px;
}

.product-detail__link {
    display: block;
    width: fit-content;
    max-width: 100%;
    /* margin: 0 auto; */
    margin-top: 1.2em;
    padding: 0.5em 2em;
    font-size: 18px;
    background: #608248;
    color: #ffffff;
    text-decoration: none;
}

/* #product_list li .title {
    background-color: rgba(156, 70, 21, .6);
    border-bottom: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0 0;
    width: 100%;
    font-size: 16px;
    font-weight: normal;
    pointer-events: none;
    transition: .3s
}

#product_list li .title::after {
    display: none
}

#product_list li .title a {
    background: none;
    height: 1.3em;
    padding: .4em;
    display: flex;
    color: #ffffff;
}

#product_list li .image:hover+.title {
    background: rgba(156, 70, 21, .8);
    transition: .3s
} */

#product_list li .image {
    position: relative;
    aspect-ratio: 380/250
}

#product_list li .image img {
    width: 100%;
    height: auto;
    transition: .3s;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center
}

#product_list li .image:hover img {
    opacity: 1;
    transition: .3s
}

#product_list li .image:hover::before {
    opacity: 1;
    transition: .3s
}

#product_list li .image:hover::after {
    opacity: 1;
    transition: .3s
}

#product_list li .image::before {
    content: "";
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: .3s
}

#product_list li .image::after {
    content: "";
    background-image: url(/wordpress/image/icons.svg#external-light);
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    opacity: 0;
    transition: .3s
}

.taxonomy-product-cat-heading3 {
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    padding: calc(2px + 0.8em) .5em;
    position: relative;
    font-size: 20px;
    margin-top: 60px;
}

.taxonomy-product-cat-heading3:first-of-type {
    margin-top: 0;
}

.taxonomy-product-cat-heading3::before {
    content: "";
    background: #eee;
    height: 4px;
    width: 100%;
    position: absolute;
    top: 2px;
    left: 0
}

.taxonomy-product-cat-heading3::after {
    content: "";
    background: #eee;
    height: 4px;
    width: 100%;
    position: absolute;
    bottom: 2px;
    left: 0
}

.post .heading3-design {
    /* background: #19195e; */
    /* background: #816ca1; */
    background: #608248;
    color: #ffffff;
    font-weight: bold;
    margin-top: 2em;
    padding: 0.8em 1em;
    font-size: 24px;
    line-height: 1;
    text-align: center;
}

.post .heading3-design.-orange {
    background: #cc8f00;
}

.post .single-product-title {
    position: relative;
    color: #131313;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', serif;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    display: flex;
    justify-content: center;
    width: fit-content;
    font-size: 34px;
    /* margin: 0 auto 1em auto; */
    margin-bottom: 1em;
    padding-bottom: 12px;
}

.post .single-product-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2em;
    height: 3px;
    background-color: #d20000;
}

#product_image img {
    box-sizing: border-box;
}

.single-product .post .su-heading {
    margin-top: 60px;
}

.single-product .allergen-list {
    margin-left: 0;
}

@media (max-width:640px) {
    .single-product .post>p {
        font-size: 14px;
    }

    .post .heading3-design {
        font-size: 17px;
    }

    .post .single-product-title {
        font-size: 24px;
    }

    .post .single-product-title::after {
        height: 2px;
    }

    .single-product .allergen-list li img {
        width: 30px;
        height: 30px;
    }

    #product_list li {
        width: 100%;
        grid-template-columns: 1fr;
    }

    #product_list .allergen-list {
        /* margin: 8px; */
        text-align: right;
    }

    #product_list .allergen-list li {
        max-width: 30px;
    }

    #product_list .price-revision__item {
        justify-content: flex-end;
        margin-top: 0;
        gap: 0;
    }

    #product_list li .allergen-list img {
        width: 30px;
        height: 30px;
    }

    #product_list .price-revision__item p {
        line-height: 1;
    }

    #product_list .price-revision__prices {
        margin-top: 0;
        align-self: center;
    }

    #product_list .product-detail__title {
        font-size: 24px;
        text-align: center;
        margin-top: 12px;
    }

    .page .product-detail__link,
    .post-type-archive .product-detail__link {
        /* display: none; */
        font-size: 16px;
    }

    .page .product-detail__link:visited,
    .post-type-archive .product-detail__link:visited {
        color: #ffffff;
    }

    .post .price-revision {
        margin: 0;
    }

    /* 基本は縦並び */
    #product_list li .product-detail__text {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    /* 子要素が4個の場合のみ2列にする */
    #product_list li .product-detail__text:has(> :nth-child(4):last-child) {
        grid-template-columns: max-content minmax(0, 1fr);
    }

    /* 基本は全幅 */
    #product_list li .product-detail__text>* {
        grid-column: 1 / -1;
        min-width: 0;
    }

    /* 4個の場合：2番目を右側に配置 */
    #product_list li .product-detail__text:has(> :nth-child(4):last-child)> :nth-child(2) {
        grid-column: 2;
        grid-row: 2;
    }

    /* 4個の場合：3番目を左側に配置 */
    #product_list li .product-detail__text:has(> :nth-child(4):last-child)> :nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .product-detail__link {
        margin: 0 auto;
    }

    .single-product .oshinagaki_table {
        border: none;
    }

    .single-product .oshinagaki_table tr td,
    .single-product .oshinagaki_table tr th {
        border: 1px solid #ccc;
    }
}

.p-furoshiki {
    display: flex;
    gap: 30px
}

.p-furoshiki img {
    width: 340px
}

.p-furoshiki p {
    flex: 1;
    padding-top: 1em
}

.tablepress .su-button {
    padding: 14px 0;
}

@media(max-width: 640px) {
    .p-furoshiki {
        flex-direction: column;
        gap: 15px
    }

    .p-furoshiki img {
        width: 100%
    }

    .taxonomy-product-cat-heading3 {
        font-size: 16px;
        margin-top: 32px;
    }

    .tablepress .su-button {
        padding: 10px 0;
    }
}

.tax-product-cat .page_navi p.back {
    display: none;
}


.column2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin-bottom: 2em;
}

.post .su-heading-inner strong {
    font-size: 19px;
}

.column2 .image {
    width: 267px;
    text-align: center;
}

.column2 .text {
    width: calc(100% - 297px);
}

.column2 .heading,
.section-lead {
    color: #808000;
    font-weight: bold;
}

.column2 .heading {
    font-size: 16px;
}

@media (max-width: 640px) {
    .column2 {
        gap: 0;
    }

    .column2 .text,
    .column2 .image,
    .menu-item__image,
    .menu-item__content,
    .one-way-note__image,
    .one-way-note__content {
        width: 100%;
        flex-basis: 100%;
    }
}