@charset "utf-8";

section {
    margin-bottom: initial;
}

.icn-bottom {
    z-index: 999;
}

.contpack-list {
    z-index: 100;
}

.cont-banner {
    margin-top: initial;
    padding-top: initial;
    padding-bottom: initial;
    background-color: initial;
    background-image: initial;
    background-repeat: repeat;
    margin-left: initial;
    margin-right: initial;
    display: flex;
    justify-content: center;
}

/* ドロップダウンメニューにアイコン表示 */
#pack-select {
    opacity: 0;
    /* ← これでテキスト非表示 */
}

.select-display {
    pointer-events: none;
    /* クリックはselectが受ける */
    position: absolute;
    left: 0;
    font-size: 1rem;
    padding: 2px 38px 2px 12px;
    color: #373737;
}

.selectbox-3 select {
    min-width: 175px;
}

.select-display img {
    height: 35px;
    object-fit: contain;
}

/* 324x120（通常の324x100より縦長）の画像はheight基準だと横幅が狭く出るため底上げする。
   クラス名はmodules/common/categories.jsのgetSizeClassName()が実際の高さ(height:120)から
   組み立てて付与する(category-side.js/top.js側)。
   以前はpack-periodicity専用の個別クラスでしか対応しておらず、後から同サイズで
   追加されたpack-giftの対応漏れが起きていた（CP-178727。ドロワー側の同種の話はCP-178729）。
   将来別の高さの画像が増えた場合は、.select-display.is-height-<px> を追加すること
   （補正量は実測で決めるため、既存ルールをそのまま流用はできない）。 */
.select-display.is-height-120 img {
    height: 42px;
    object-fit: contain;
    margin-top: -8px;
}

.main-wrap {
    padding-bottom: 3rem;
}

@media (max-width: 1100px) {
    .cont-pack {
        margin-left: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .icn-bottom {
        z-index: 997;
    }

    .banner {
        max-width: 100%;
    }
}

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

    .custom-nav {
        z-index: 101;
    }

    .icn-bottom {
        z-index: 103;
    }

    .select-box-wrap,
    .treasure {
        padding-top: 86px;
    }

    .select-display {
        font-size: 1.1rem;
    }

    .cart-container.foot {
        z-index: 105;
    }

}

/* スマホ版横向き */
@media screen and (max-width: 1024px) and (orientation: landscape) {
    .select-display {
        font-size: 10px;
    }

    .icn-bottom {
        z-index: 103;
    }

    .faq-bottom {
        z-index: 103;
    }

    .cart-container.foot {
        z-index: 105;
    }
}
