@charset "shift_jis";
/* CSS Document */
#bulkbuying {
    /* 20250827 M.KATO [ｱｲﾘｽﾊﾞｽｹｯﾄ食日統合] ADD STA*/
    width: 100%;
    /* 20250827 M.KATO [ｱｲﾘｽﾊﾞｽｹｯﾄ食日統合] ADD END*/
    max-width: 900px;
    margin: 0 auto;
}

#bulkbuying a {
    text-decoration: none;
}

#bulkbuying img {
	width: 100%;
    /* 20250827 M.KATO [ｱｲﾘｽﾊﾞｽｹｯﾄ食日統合] ADD STA*/
    display: block;
    margin: 0 auto;
    height: auto;
    display: block;
    /* 20250827 M.KATO [ｱｲﾘｽﾊﾞｽｹｯﾄ食日統合] ADD END*/
}

#bulkbuying .pc_none {
	display: none;
}
/* 20250827 M.KATO [ｱｲﾘｽﾊﾞｽｹｯﾄ食日統合] ADD STA*/
#bulkbuying p{
	text-align: center;
}

#bulkbuying .howto{
	font-size: 1.2rem !important;
        padding: 1% 0 2%;
}
#bulkbuying .howto span{
	color: #d80b0b;
}
#bulkbuying .howto span.co{
	color: #575757;
    font-size: 0.8rem;
}

#bulkbuying .howto img{
    width: 80%;
}
/* bulkbuying-summary（まとめ買いサマリー） */
#bulkbuying .bulkbuying-summary__icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    min-height: 80px;
}
    #bulkbuying .bulkbuying-summary__icon {
        margin: 0;
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
    }

#bulkbuying .bulkbuying-summary__basket {
    display: flex;
    align-items: center;
    justify-content: center;
        width: 80%;
        height: 80%;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #d81e1e;
}

#bulkbuying .bulkbuying-summary__info {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: start;
    box-sizing: border-box;
    padding-left: .5rem;
    gap: 2%;
}

#bulkbuying .bulkbuying-summary__total {
    color: #222;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-size: 1rem;
    margin-bottom: 0;
}

#bulkbuying .bulkbuying-summary__discount {
    color: #d81e1e;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 0;
}


#bulkbuying .bulkbuying-summary__yen {
    font-weight: bold;
    letter-spacing: 0.03em;
        font-size: 1.2rem;
        margin: 0 2px;
}

#bulkbuying .bulkbuying-summary__yen--discount {
    color: #d81e1e;
}




/* カテゴリバー全体 */
#bulkbuying .category-bar {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    position: sticky;      /* 追加 */
    z-index: 9;         /* 追加: 必要に応じて調整 */
    background: #f5f5f5;
        gap: 2%;
        padding: 2% 0;
}

/* ボタン共通 */
#bulkbuying .category-bar__btn {
    background: #fff;
    border: 1.5px solid #ccc;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: none;
    outline: none;
    appearance: none;
    white-space: nowrap;
    min-width: 0;
    box-sizing: border-box;
        font-size: 0.8rem;
        padding: 1% 2%;
        border-radius: 10px;
        width: calc((100% - 8%) / 2);
}

#bulkbuying .category-bar__btn:hover,
#bulkbuying .category-bar__btn:focus {
    border-color: #888;
    box-shadow: 0 2px 8px #0001;
}

/* 矢印アイコン */
#bulkbuying .category-bar__arrow,
#bulkbuying .category-bar__down {
    margin-left: auto; /* ← 追加 */
}
#bulkbuying .category-bar__arrow i{ 
    font-size: 0.8rem;
}

.category-modal__title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 2%;
    text-align: center;
}

.category-modal__list {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1%;

}

.category-modal__list li {
    margin-bottom: 1%;
    width: calc(98% / 2);

}

.category-modal__list a {
    display: block;
    padding: 2%;
    border-radius: 8px;
    background: #f5f5f5;
    color: #222;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.15s;
    text-align: left;
}

.category-modal__list a:hover {
    background: #ffeaea;
    color: #d81e1e;
}


/* 大見出し */
#bulkbuying h2.category-head {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 左右端に配置 */
    margin: 14px 0;
    font-family: "Meiryo", "Hiragino Sans", "Arial", sans-serif;
}

#bulkbuying h2 .category-head__title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #222;
    display: flex;
    align-items: center;
    letter-spacing: 0.03em;
    position: relative;
}

#bulkbuying h2 .category-head__title::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 1.4em;
    background: #d81e1e;
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: middle;
}

#bulkbuying h2 .category-head__count {
    font-size: 0.8rem;
    color: #222;
    font-weight: 400;
    letter-spacing: 0.02em;
}


#bulkbuying .category-bar__dropdown {
    position: relative;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bulkbuying .category-bar__dropdown-toggle {
    display: none;
}

#bulkbuying .category-bar__btn--dropdown {
    width: 100%;
}

#bulkbuying .category-bar__menu {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 16px #0001;
    z-index: 1;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
        top: 90%;
        right: 3%;
        width: calc((100% - 9%) / 2);
}

#bulkbuying .category-bar__menu li {
    font-size: 0.8rem;
    color: #222;
    padding: 14px 0 14px 18px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

#bulkbuying .category-bar__menu li:last-child {
    border-bottom: none;
}

#bulkbuying .category-bar__menu li a {
    display: block;
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

/* チェックボックスがONのときメニュー表示 */
#bulkbuying .category-bar__dropdown-toggle:checked + .category-bar__btn--dropdown + .category-bar__menu {
    display: block;
}

/* ホバー時 */
#bulkbuying .category-bar__menu li:hover {
    font-weight: bold;
    cursor: pointer;
    background: #ffeaea;
    color: #e50012;
}

#bulkbuying .category-bar__menu li.selected {
    font-weight: bold;
    background: #ffeaea;
    color: #e50012;
}


/*********popup*********/
/* 20250806 R.TOSHIMA 詳細ポップアップ */
#bulkbuying .detail-popup {
    border: none;
}
#bulkbuying .detail-popup summary{
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: .85rem;
}
#bulkbuying .detail-popup summary::-webkit-details-marker {
      display: none;
    }
#bulkbuying .detail-popup[open] summary {
    border: none;
}
#bulkbuying .detail-popup[open] summary::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #00000069;
    z-index: 11;
}

/* ポップアップ内部 */
#bulkbuying .popup-contents {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 60px));
    z-index: 12;
    background: #FFF;
    width: 94%;
    box-sizing: border-box;
    border-radius: 5px;
    max-width: 1000px;/*pc*/
}
#bulkbuying .popup-contents .popup-inner {
    width: 100%;
    overflow-y: scroll;
    max-height: 70vh;
    padding: 3% 4%;
    box-sizing: border-box;/*内側に*/

}

/* ボタン */
#bulkbuying .popup-contents::after {
    position: absolute;
    right: 0;
    top: -1.8rem;
    color: #FFF;
    font-size: 1.5rem;
    font-weight: bold;
    pointer-events: none;
    z-index: 1;

    /* エスケープ */
    content: '\2715';
}
#bulkbuying .popup-contents p{
    font-size: .8rem;
    margin-bottom: .5em;
}

/* ポップアップ解除 */
#bulkbuying .popup-contents.popup-none {
    position: static;
    transform: none;
    width: 100%;
    padding: 0;
    z-index: 1;
}
#bulkbuying .popup-contents.popup-none .popup-inner {
    max-height: none;
    overflow: auto;
}

#bulkbuying .bgwhite{
    background-color: white;
    z-index: 9;
}

/* 20250827 M.KATO [ｱｲﾘｽﾊﾞｽｹｯﾄ食日統合] ADD END*/