/* =========================================================
   おがわ園
   商品カテゴリー共通CSS
   りゅうめい茶・血糖力茶・糖尿力茶・目力茶 共通
   ========================================================= */


/* =========================================================
   基本
   ========================================================= */

.ogawa-category-page {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 100px;
    background: #fff;
    color: #173c25;
    box-sizing: border-box;
}

.ogawa-category-page *,
.ogawa-category-page *::before,
.ogawa-category-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   パンくず
   ========================================================= */

.ogawa-category-breadcrumb {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 18px 0 14px;

    font-size: 12px;
    line-height: 1.7;
    color: #777;
}

.ogawa-category-breadcrumb a {
    color: #777;
    text-decoration: none;
}

.ogawa-category-breadcrumb a:hover {
    color: #246b38;
}


/* =========================================================
   カテゴリータイトル
   ========================================================= */

.ogawa-category-header {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 38px 0 34px;
    text-align: center;
}

.ogawa-category-header-en {
    display: block;
    margin-bottom: 8px;

    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #7d9b52;
}

.ogawa-category-header h1 {
    margin: 0;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Hiragino Mincho Pro",
        serif;

    font-size: 42px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #173c25;
}

.ogawa-category-header-line {
    width: 70px;
    height: 2px;
    margin: 20px auto 0;
    background: #b39545;
}


/* =========================================================
   商品紹介画像
   枚数は商品ごとに自由に変更可能
   ========================================================= */

.ogawa-category-introduction {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.ogawa-category-image {
    width: 1000px;
    max-width: calc(100% - 40px);
    margin: 0 auto 38px;
    padding: 0;
}

.ogawa-category-image:last-child {
    margin-bottom: 0;
}

.ogawa-category-image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    border: 0;
}


/* =========================================================
   商品ラインナップ
   ========================================================= */

.ogawa-category-products {
    width: 100%;
    margin-top: 90px;
    padding: 85px 0 100px;

    background: #f6f8f2;
}


/* =========================================================
   商品ラインナップ見出し
   ========================================================= */

.ogawa-category-products-heading {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto 50px;
    text-align: center;
}

.ogawa-category-products-en {
    display: block;
    margin-bottom: 8px;

    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #7d9b52;
}

.ogawa-category-products-heading h2 {
    margin: 0;

    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Hiragino Mincho Pro",
        serif;

    font-size: 32px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #173c25;
}

.ogawa-category-products-heading p {
    margin: 10px 0 0;

    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.28em;
    color: #9b9b9b;
}


/* =========================================================
   商品一覧
   ========================================================= */

.ogawa-product-list {
    width: 900px;
    max-width: calc(100% - 40px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}


/* =========================================================
   商品カード
   ========================================================= */

.ogawa-product-card {
    position: relative;

    margin: 0;
    padding: 0;

    background: #fff;
    border: 1px solid #e3e7df;
    border-radius: 4px;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ogawa-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}


/* =========================================================
   商品画像
   ========================================================= */

.ogawa-product-image-link {
    display: block;
    text-decoration: none;
}

.ogawa-product-image {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;

    background: #fff;
    overflow: hidden;
}

.ogawa-product-image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0 auto;
    padding: 0;

    border: 0;
}

.ogawa-product-card:hover .ogawa-product-image img {
    transform: scale(1.025);
}


/* =========================================================
   商品情報
   ========================================================= */

.ogawa-product-info {
    padding: 25px 30px 30px;
    text-align: center;
}


/* NEWアイコン */

.ogawa-product-info img {
    max-width: 100%;
    height: auto;
}


/* 商品名 */

.ogawa-product-name {
    margin: 5px 0 20px;

    font-family:
        "Yu Gothic",
        "Hiragino Kaku Gothic ProN",
        Meiryo,
        sans-serif;

    font-size: 20px;
    line-height: 1.6;
    font-weight: 600;

    color: #173c25;
}

.ogawa-product-name a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   価格
   ========================================================= */

.ogawa-product-price {
    display: flex;
    align-items: baseline;
    justify-content: center;

    margin: 0 0 22px;

    color: #173c25;
}

.ogawa-product-price-label {
    margin-right: 10px;

    font-size: 13px;
    color: #777;
}

.ogawa-product-price strong {
    font-family: Arial, sans-serif;

    font-size: 30px;
    line-height: 1;
    font-weight: 700;

    color: #a37b22;
}

.ogawa-product-price-yen {
    margin-left: 3px;

    font-size: 14px;
    color: #555;
}


/* =========================================================
   商品詳細ボタン
   ========================================================= */

a.ogawa-product-detail-button,
a.ogawa-product-detail-button:link,
a.ogawa-product-detail-button:visited,
a.ogawa-product-detail-button:hover,
a.ogawa-product-detail-button:active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 100%;
    min-height: 52px;

    padding: 12px 20px;

    background: #1f6a36;
    border: 1px solid #1f6a36;
    border-radius: 3px;

    color: #fff !important;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.08em;

    text-decoration: none !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.ogawa-product-detail-button span {
    font-size: 18px;
    line-height: 1;
    color: #fff !important;
}

a.ogawa-product-detail-button:hover {
    background: #174f28;
    border-color: #174f28;
    color: #fff !important;
}


/* =========================================================
   ページャー
   ========================================================= */

.ogawa-category-pager {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 45px auto 0;

    text-align: center;
}

.ogawa-category-pager a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    min-height: 38px;

    margin: 0 3px;
    padding: 5px 10px;

    border: 1px solid #d9ded5;
    border-radius: 3px;

    background: #fff;

    color: #45634d;

    font-size: 13px;
    text-decoration: none;
}

.ogawa-category-pager a:hover {
    background: #1f6a36;
    border-color: #1f6a36;
    color: #fff;
}


/* =========================================================
   購入ショートカット
   ========================================================= */


/* ページ内スクロール */

html {
    scroll-behavior: smooth;
}


/* 上部の商品を選ぶエリア */

.ogawa-category-buy-shortcut {
    width: 1200px;
    max-width: calc(100% - 40px);

    margin: 0 auto 55px;
    padding: 25px 30px 28px;

    text-align: center;

    background: #f7f8f3;
    border: 1px solid #e4e8de;
    border-radius: 4px;
}


/* リピーター様向け案内 */

.ogawa-category-buy-shortcut-lead {
    margin: 0 0 18px;

    color: #173c25 !important;

    font-size: 17px !important;
    line-height: 1.7;
    font-weight: 700 !important;

    letter-spacing: 0.08em;

    text-align: center;
}


/* 商品を選ぶボタン */

a.ogawa-category-buy-button,
a.ogawa-category-buy-button:link,
a.ogawa-category-buy-button:visited,
a.ogawa-category-buy-button:hover,
a.ogawa-category-buy-button:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    min-width: 260px;
    min-height: 54px;

    padding: 12px 28px;

    background: #1f6a36;
    border: 1px solid #1f6a36;
    border-radius: 3px;

    color: #fff !important;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.12em;

    text-decoration: none !important;

    box-shadow: 0 5px 15px rgba(0,0,0,.12);

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

a.ogawa-category-buy-button:hover {
    background: #174f28;
    border-color: #174f28;
    color: #fff !important;

    transform: translateY(-2px);
}

.ogawa-category-buy-arrow {
    font-size: 18px;
    line-height: 1;
    color: #fff !important;
}


/* 商品ラインナップへのスクロール位置 */

#ogawa-category-product-lineup {
    scroll-margin-top: 20px;
}


/* =========================================================
   右下固定「商品を選ぶ」
   ========================================================= */

a.ogawa-category-fixed-buy {
    position: fixed !important;

    right: 24px !important;
    bottom: 24px !important;

    z-index: 99999 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 12px !important;

    width: 190px !important;
    min-width: 190px !important;

    height: 60px !important;
    min-height: 60px !important;

    padding: 10px 20px !important;
    margin: 0 !important;

    background: #1f6a36 !important;
    border: 2px solid #174f28 !important;
    border-radius: 5px !important;

    color: #fff !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0.1em !important;

    text-decoration: none !important;

    box-shadow: 0 7px 22px rgba(0,0,0,.22) !important;

    box-sizing: border-box !important;

    opacity: 1 !important;
    visibility: visible !important;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease !important;
}

a.ogawa-category-fixed-buy:hover {
    background: #174f28 !important;
    border-color: #174f28 !important;
    color: #fff !important;

    text-decoration: none !important;

    transform: translateY(-3px) !important;

    box-shadow: 0 10px 28px rgba(0,0,0,.25) !important;
}


/* 固定ボタンの丸アイコン */

.ogawa-category-fixed-buy-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    height: 28px !important;

    border: 1px solid rgba(255,255,255,.75) !important;
    border-radius: 50% !important;

    color: #fff !important;

    font-size: 16px !important;
    line-height: 1 !important;

    flex-shrink: 0 !important;
}


/* 固定ボタン文字 */

.ogawa-category-fixed-buy-text {
    display: inline-block !important;

    color: #fff !important;

    white-space: nowrap !important;
}


/* =========================================================
   タブレット
   ========================================================= */

@media screen and (max-width: 900px) {

    .ogawa-category-header {
        padding-top: 30px;
        padding-bottom: 28px;
    }

    .ogawa-category-header h1 {
        font-size: 34px;
    }

    .ogawa-category-image {
        margin-bottom: 25px;
    }

    .ogawa-category-products {
        margin-top: 60px;
        padding-top: 65px;
        padding-bottom: 70px;
    }

    .ogawa-product-list {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .ogawa-product-info {
        padding: 22px 20px 25px;
    }

    .ogawa-product-name {
        font-size: 18px;
    }

}


/* =========================================================
   スマートフォン
   ========================================================= */

@media screen and (max-width: 600px) {

    .ogawa-category-page {
        padding-bottom: 50px;
    }


    /* パンくず */

    .ogawa-category-breadcrumb {
        max-width: calc(100% - 24px);
        padding: 12px 0 10px;

        font-size: 10px;
    }


    /* タイトル */

    .ogawa-category-header {
        max-width: calc(100% - 24px);

        padding: 25px 0 23px;
    }

    .ogawa-category-header-en {
        font-size: 10px;
        letter-spacing: 0.2em;
    }

    .ogawa-category-header h1 {
        font-size: 28px;
        letter-spacing: 0.08em;
    }

    .ogawa-category-header-line {
        width: 50px;
        margin-top: 14px;
    }


    /* 紹介画像 */

    .ogawa-category-image {
        width: 100%;
        max-width: none;

        margin-bottom: 16px;
    }


    /* 商品エリア */

    .ogawa-category-products {
        margin-top: 45px;
        padding: 50px 0 60px;
    }

    .ogawa-category-products-heading {
        max-width: calc(100% - 24px);
        margin-bottom: 30px;
    }

    .ogawa-category-products-en {
        font-size: 10px;
        letter-spacing: 0.2em;
    }

    .ogawa-category-products-heading h2 {
        font-size: 23px;
        letter-spacing: 0.05em;
    }

    .ogawa-category-products-heading p {
        font-size: 9px;
    }


    /* 商品カード */

    .ogawa-product-list {
        width: 100%;
        max-width: none;

        padding: 0 12px;

        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ogawa-product-info {
        padding: 20px 18px 22px;
    }

    .ogawa-product-name {
        margin-bottom: 15px;
        font-size: 17px;
    }

    .ogawa-product-price {
        margin-bottom: 18px;
    }

    .ogawa-product-price strong {
        font-size: 26px;
    }

    .ogawa-product-detail-button {
        min-height: 48px;
        font-size: 14px;
    }


    /* 上部の商品を選ぶエリア */

    .ogawa-category-buy-shortcut {
        width: 100%;
        max-width: none;

        margin: 0 0 30px;
        padding: 20px 15px 22px;

        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .ogawa-category-buy-shortcut-lead {
        margin-bottom: 13px;
        font-size: 11px !important;
    }

    .ogawa-category-buy-button {
        width: 100%;
        min-width: 0;
        min-height: 50px;

        font-size: 14px;
    }


    /* ページャー */

    .ogawa-category-pager {
        width: 100%;
        max-width: none;

        padding: 0 12px;
    }


    /* 固定「商品を選ぶ」 */

    a.ogawa-category-fixed-buy {
        right: 12px !important;
        bottom: 12px !important;

        width: 165px !important;
        min-width: 165px !important;

        height: 54px !important;
        min-height: 54px !important;

        padding: 9px 16px !important;

        font-size: 14px !important;
    }

    .ogawa-category-fixed-buy-icon {
        width: 25px !important;
        height: 25px !important;

        font-size: 14px !important;
    }

}

/* =====================================
   おがわ園 カテゴリーページ共通レイアウト
   ===================================== */

.ogawa-category-page {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* 商品一覧を親要素の幅いっぱいに広げる */
.ogawa-category-page #M_categoryList {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.ogawa-category-page #M_categoryList .M_innerList {
  width: 100%;
  box-sizing: border-box;
}

.ogawa-category-page #M_categoryList .M_innerList table {
  width: 100%;
  table-layout: fixed;
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .ogawa-category-page {
    width: calc(100% - 20px);
  }
}

/* ========================================
   機能性表示食品 血糖力茶｜外部購入先案内
======================================== */

.ogawa-external-shopping {
    padding: 40px 20px;
}

.ogawa-external-shopping-lead {
    margin: 16px auto 0;
    line-height: 1.8;
}

.ogawa-external-special {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
}

.ogawa-external-special-link {
    display: block;
    transition: opacity 0.25s ease;
}

.ogawa-external-special-link:hover,
.ogawa-external-mall-banner:hover {
    opacity: 0.8;
}

.ogawa-external-special img {
    display: block;
    width: 100%;
    height: auto;
}

.ogawa-external-mall-heading {
    margin: 0 auto 24px;
    text-align: center;
}

.ogawa-external-mall-heading h3 {
    margin: 0 0 8px;
    color: #49694b;
    font-size: 24px;
}

.ogawa-external-mall-heading p {
    margin: 0;
    line-height: 1.8;
}

.ogawa-external-mall-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.ogawa-external-mall-banner {
    display: block;
    transition: opacity 0.25s ease;
}

.ogawa-external-mall-banner img {
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (max-width: 767px) {
    .ogawa-external-shopping {
        padding: 28px 12px;
    }

    .ogawa-external-special {
        margin-bottom: 28px;
    }

    .ogawa-external-mall-heading h3 {
        font-size: 20px;
    }

    .ogawa-external-mall-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

