/* 岡山の新鮮野菜BOX */
#hy-category117 {
    --hy117-brown: #4a2d20;
    --hy117-green: #526d38;
    max-width: 1080px;
    margin: 0 auto 48px;
    padding: 24px 20px 0;
    color: #302521;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

#hy-category117,
#hy-category117 *,
#hy-category117 *::before,
#hy-category117 *::after {
    box-sizing: border-box;
}

#hy-category117 p {
    margin: 0 0 18px;
    color: inherit;
    line-height: inherit;
}

#hy-category117 a {
    /*color: var(--hy117-green);*/
}

/* メイン画像：紫苑と同じ全幅表示 */
#page_product_list .hy-category117-hero {
    position: relative;
    flex: 0 0 auto;
    align-self: center;
    max-width: none;
    margin: 0;
    padding: 0;
    background: #302521;
    line-height: 0;
}

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

#page_product_list .hy-category117-hero img {
    aspect-ratio: 2000 / 650;
    object-fit: contain;
}

/* 導入 */
#hy-category117 .hy117-intro {
    padding: 36px 0 30px;
    text-align: center;
}

#hy-category117 .hy117-eyebrow {
    margin-bottom: 10px;
    color: var(--hy117-green);
    font-size: 14px;
    letter-spacing: .1em;
}

#hy-category117 h1 {
    margin: 12px 0 24px;
    padding: 0;
    border: 0;
    color: #302521;
    font-family: inherit;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.65;
}

#hy-category117 .hy117-lead {
    font-size: 19px;
    line-height: 1.9;
}

/* 目次 */
#hy-category117 .hy117-index {
    margin: 54px 0;
    padding: 24px;
    border-radius: 6px;
    background: #f0f4e8;
}

#hy-category117 .hy117-index__title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #b5c3a3;
    color: #40552c;
    font-family: "Hiragino Kaku Gothic ProN",
                 "Yu Gothic", "YuGothic", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

#hy-category117 .hy117-index ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#hy-category117 .hy117-index a {
    color: #302521;
    font-family: "Hiragino Kaku Gothic ProN",
                 "Yu Gothic", "YuGothic", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
}

#hy-category117 .hy117-index a::after {
    content: "›";
    display: inline-block;
    margin-left: 4px;
    transition: transform .2s ease;
}

#hy-category117 .hy117-index a:hover::after {
    transform: translateX(3px);
}

/* 本文・画像 */
#hy-category117 .hy117-section {
    margin: 54px 0;
    scroll-margin-top: 120px;
}

#hy-category117 h2 {
    margin: 0 0 24px;
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid #dfd2c5;
    color: #302521;
    font-family: inherit;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.5;
}

#hy-category117 .hy117-image {
    display: block;
    width: 100%;
    max-width: 741px;
    height: auto;
    margin: 24px auto;
}

/* 地図と産地紹介 */
#hy-category117 .hy117-farm-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    gap: 32px;
    margin-top: 32px;
}

#hy-category117 .hy117-map {
    margin: 0;
}

#hy-category117 .hy117-map img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}

/* 出荷曜日 */
#hy-category117 .hy117-shipping-days {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px;
}

#hy-category117 .hy117-shipping-days > span {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    min-width: 100px;
    padding: 10px 18px;
    border-radius: 4px;
    background: #edf2e4;
    color: #40552c;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
}

#hy-category117 .hy117-shipping-days small {
    font-size: 14px;
}

#hy-category117 .hy117-image--leadtime {
    max-width: 515px;
}

#hy-category117 .hy117-note {
    color: #73665d;
    font-family: "Hiragino Kaku Gothic ProN",
                 "Yu Gothic", Meiryo, sans-serif;
    font-size: 13px;
    line-height: 1.8;
}

#hy-category117 .hy117-note a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 支払い方法 */
#hy-category117 .hy117-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

#hy-category117 .hy117-payment-card {
    padding: 24px;
    border: 1px solid #dce3d2;
    border-radius: 6px;
    background: #fafcf6;
}

#hy-category117 .hy117-payment-card h3 {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    color: #302521;
    font-family: "Hiragino Kaku Gothic ProN",
                 "Yu Gothic", Meiryo, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
}

#hy-category117 .hy117-payment-card p {
    margin: 0;
}

#hy-category117 .hy117-notice {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 3px solid #829a64;
    background: #f0f4e8;
    font-size: 14px;
    line-height: 1.85;
}

#hy-category117 .hy117-notice p {
    margin: 0;
}

/* 冷蔵配送・送料 */
#hy-category117 .hy117-cool {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

#hy-category117 .hy117-cool img {
    display: block;
    flex: 0 0 auto;
    width: 85px;
    height: auto;
}

#hy-category117 .hy117-cool p {
    margin: 0;
}

#hy-category117 .hy117-rate-link {
    display: block;
    text-align: center;
    text-decoration: none;
}

#hy-category117 .hy117-rate-link span {
    font-family: "Hiragino Kaku Gothic ProN",
                 "Yu Gothic", Meiryo, sans-serif;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 共通ボタン */
#hy-category117 .hy117-button {
    display: inline-block;
    max-width: 100%;
    padding: 13px 28px;
    border-radius: 4px;
    background: var(--hy117-green);
    color: #fff;
    font-family: "Hiragino Kaku Gothic ProN",
                 "Yu Gothic", Meiryo, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
}

#hy-category117 .hy117-button:hover {
    background: #40552c;
}

/* 下部ボタン */
#hy-category117 .hy117-bottom {
    margin: 40px 0 24px;
    text-align: center;
}

#page_product_list .hy117-products-anchor {
    scroll-margin-top: 120px;
}

/* スマートフォン */
@media (max-width: 767px) {
    #page_product_list .hy-category117-hero img {
        aspect-ratio: auto;
    }

    #hy-category117 {
        margin-bottom: 28px;
        padding: 16px 15px 0;
        font-size: 15px;
        line-height: 1.9;
    }

    #hy-category117 .hy117-intro {
        padding: 26px 0 24px;
    }

    #hy-category117 h1 {
        font-size: 27px;
    }

    #hy-category117 .hy117-eyebrow {
        font-size: 12px;
    }

    #hy-category117 .hy117-lead {
        font-size: 17px;
    }

    #hy-category117 .hy117-index {
        margin: 36px 0;
        padding: 18px;
    }

    #hy-category117 .hy117-index__title {
        font-size: 19px;
    }

    #hy-category117 .hy117-index ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #hy-category117 .hy117-index a {
        font-size: 15px;
    }

    #hy-category117 .hy117-section {
        margin: 36px 0;
    }

    #hy-category117 h2 {
        font-size: 22px;
    }

    #hy-category117 .hy117-farm-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #hy-category117 .hy117-shipping-days {
        gap: 8px;
    }

    #hy-category117 .hy117-shipping-days > span {
        min-width: 0;
        padding: 10px 16px;
        font-size: 25px;
    }

    #hy-category117 .hy117-payment-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #hy-category117 .hy117-payment-card {
        padding: 20px 18px;
    }

    #hy-category117 .hy117-cool {
        align-items: flex-start;
        gap: 12px;
    }

    #hy-category117 .hy117-notice {
        padding: 16px;
    }

    #hy-category117 .hy117-button {
        padding: 13px 20px;
        font-size: 14px;
    }
}