/* ヘッダー下のメイン画像 */
#page_product_list .hy-category51-hero {
    position: relative;
    flex: 0 0 auto;
    align-self: center;
    max-width: none;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #f8f5ef;
}

#page_product_list .hy-category51-hero picture,
#page_product_list .hy-category51-hero img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
}

/* 本文 */
#hy-category51 {
    max-width: 1080px;
    margin: 0 auto 48px;
    padding: 0 20px;
    color: #302521;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

#hy-category51,
#hy-category51 * {
    box-sizing: border-box;
}

#hy-category51 p {
    margin: 0 0 20px;
    color: inherit;
    line-height: inherit;
}

#hy-category51 h1 {
    margin: 12px 0 24px;
    color: #302521;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.5;
}

#hy-category51 h2 {
    margin: 0 0 32px;
    padding-bottom: 15px;
    border-bottom: 1px solid #dfd2c5;
    color: #302521;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.6;
}

#hy-category51 h3 {
    margin: 0 0 12px;
    color: #302521;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

#hy-category51 a {
    /*color: #4a2d20;*/
}

#hy-category51 .hy51-intro {
    padding: 38px 0 32px;
    text-align: center;
}

#hy-category51 .hy51-eyebrow {
    margin-bottom: 8px;
    font-size: 14px;
    letter-spacing: .08em;
}

#hy-category51 .hy51-lead {
    margin-bottom: 26px;
    font-size: 18px;
    line-height: 2;
}

/* 商品へのボタン */
#hy-category51 .hy51-button {
    display: inline-block;
    max-width: 100%;
    padding: 13px 28px;
    border-radius: 4px;
    background: #4a2d20;
    color: #fff;
    font-family: "Hiragino Kaku Gothic ProN",
                 "Yu Gothic", Meiryo, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
}

#hy-category51 .hy51-button:hover {
    background: #80502f;
}

/* 目次 */
#hy-category51 .hy51-index {
    padding: 24px;
    border-radius: 6px;
    background: #f8f5ef;
}

#hy-category51 .hy51-index ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#hy-category51 .hy51-index a {
    text-decoration: none;
}

#hy-category51 .hy51-index a:hover {
    text-decoration: underline;
}

/* 各セクション */
#hy-category51 .hy51-section {
    margin: 58px 0;
    scroll-margin-top: 110px;
}

#hy-category51 .hy51-photo {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 24px 0;
}

/* 品種紹介 */
#hy-category51 .hy51-varieties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 24px 0 18px;
}

#hy-category51 .hy51-variety {
    overflow: hidden;
    border: 1px solid #e7dcd0;
    border-radius: 6px;
    background: #fbf8f4;
}

#hy-category51 .hy51-variety img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

#hy-category51 .hy51-variety > div {
    padding: 20px;
}

#hy-category51 .hy51-variety p {
    margin: 0;
}

#hy-category51 .hy51-variety,
#hy-category51 .hy51-note,
#hy-category51 .hy51-voices {
    font-family: "Hiragino Kaku Gothic ProN",
                 "Yu Gothic", Meiryo, sans-serif;
}

#hy-category51 .hy51-note {
    font-size: 13px;
    line-height: 1.8;
}

/* 生産者の言葉 */
#hy-category51 .hy51-quote {
    margin: 28px 0;
    padding: 22px 24px;
    border-left: 3px solid #aa8965;
    background: #f8f5ef;
    font-size: 21px;
    line-height: 1.8;
}

/* お客様の声 */
#hy-category51 .hy51-voices {
    display: grid;
    gap: 20px;
}

#hy-category51 .hy51-voices > div {
    padding: 24px;
    border: 1px dashed #c8b59f;
    border-radius: 6px;
}

#hy-category51 .hy51-voices p:last-child {
    margin-bottom: 0;
}

#hy-category51 .hy51-bottom {
    margin: 48px 0 20px;
    text-align: center;
}

#page_product_list .hy51-products-anchor {
    scroll-margin-top: 110px;
}

@media (max-width: 767px) {
    #hy-category51 {
        margin-bottom: 28px;
        padding: 0 15px;
        font-size: 15px;
        line-height: 1.9;
    }

    #hy-category51 .hy51-intro {
        padding: 26px 0;
    }

    #hy-category51 h1 {
        font-size: 24px;
    }

    #hy-category51 h2 {
        margin-bottom: 20px;
        padding-bottom: 12px;
        font-size: 22px;
    }

    #hy-category51 h3 {
        font-size: 18px;
    }

    #hy-category51 .hy51-eyebrow {
        font-size: 12px;
    }

    #hy-category51 .hy51-lead {
        font-size: 16px;
    }

    #hy-category51 .hy51-index {
        padding: 18px;
    }

    #hy-category51 .hy51-index ul,
    #hy-category51 .hy51-varieties {
        grid-template-columns: 1fr;
    }

    #hy-category51 .hy51-section {
        margin: 38px 0;
    }

    #hy-category51 .hy51-quote {
        padding: 18px;
        font-size: 18px;
    }

    #hy-category51 .hy51-voices > div {
        padding: 18px;
    }
}