/* カスタマイズ用CSS */
@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c:400,700&display=swap&subset=japanese');


/* Common */
body {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    padding-top: 54px;
}

.ec-blockBtn--action,
.ec-blockBtn--action:hover,
.ec-blockBtn--action:active,
.ec-blockBtn--action:focus {
    background-color: #F89ABA;
    border: none;
}

/* Header */
.ec-layoutRole__header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 54px;
    background-color: #FFF;
    border-bottom: 4px solid #FEE7EE;
}

.ec-headerRole {
    padding: 0 10px;
}

.ec-headerTitle .ec-headerTitle__title {
    text-align: left;
}

.ec-headerTitle .ec-headerTitle__title h1 {
    position: relative;
    z-index: 50;
    width: 160px;
    padding-top: 2px;
}

.ec-headerTitle .ec-headerTitle__title a {
    margin-bottom: 0;
}

.ec-headerTitle .ec-headerTitle__title img {
    width: 160px;
    height: auto;
}

.ec-headerNaviRole .ec-headerNaviRole__left {
    width: 100%;
}

.ec-headerNaviRole .ec-headerNaviRole__right {
    position: absolute;
    top: 0;
    right: 50px;
    padding: 0;
}

.ec-headerNavSP {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    z-index: auto;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border-left: 1px solid #FEE7EE;
    border-radius: 0;
}

.hamburgerNavi {
    display: block;
    width: 30px;
    height: 4px;
    margin-top: -2px;
    margin-left: -15px;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #F89ABA;
    border-radius: 2px;
}

.hamburgerNavi::before,
.hamburgerNavi::after {
    content: '';
    display: block;
    width: 30px;
    height: 4px;
    margin-left: -15px;
    position: absolute;
    left: 50%;
    background-color: #F89ABA;
    border-radius: 2px;
}

.hamburgerNavi::before {
    top: 10px;
}

.hamburgerNavi::after {
    bottom: 10px;
}

.ec-headerRole__cart {
    width: 50px;
    height: 50px;
    border-left: 1px solid #FEE7EE;
}

.ec-cartNavi {
    padding: 18px 0 0 12px;
}

.ec-cartNavi .ec-cartNavi__icon {
    color: #F89ABA;
}

.ec-headerNav {
    border-left: 1px solid #FEE7EE;
}

.ec-headerNaviRole .ec-headerNaviRole__nav a {
    display: block;
    width: 50px;
    height: 50px;
    text-align: center;
}

.ec-headerNav .ec-headerNav__itemIcon {
    margin: 0;
}

.ec-headerNav .ec-headerNav__itemIcon {
    color: #F89ABA;
}

.ec-headerNav .ec-headerNav__itemLink {
    display: block;
    margin: 0;
    margin-top: -4px;
    font-size: 10px;
}

.ec-cartNaviWrap {
    display: block;
    width: 100%;
    height: 100%;
}


/* Drawer navi */
.ec-drawerRole {
    padding-bottom: 20px;
    background-color: #FEE7EE;
}

.ec-drawerRole .ec-headerSearch {
    padding: 10px;
    background-color: #F89ABA;
}

.ec-drawerRole .ec-select_search {
    margin-bottom: 0;
    background-color: #FFF;
    border-radius: 8px 8px 0 0;
}

.ec-drawerRole .ec-select_search select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
}

.ec-drawerRole .ec-headerSearch__keyword {
    border: none;
    border-top: 1px solid #F89ABA;
    border-radius: 0 0 3px 3px;
}

.drawerNavi ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style-type: none;
}

.drawerNavi a:hover {
    text-decoration: none;
}

.drawerNavi_main {
    padding: 10px;
}

.drawerNavi_main li + li {
    margin-top: 5px;
}

.drawerNavi_main a {
    display: block;
    padding: 15px 10px;
    position: relative;
    color: #828282;
    background-color: #FFF;
    border-radius: 8px;
}

.drawerNavi_main a:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    position: absolute;
    top: 50%;
    right: 10px;
    border-right: 2px solid #F89ABA;
    border-bottom: 2px solid #F89ABA;
    transform: rotate(-45deg);
}

.drawerNavi_sub li + li {
    margin-top: 1px;
}

.drawerNavi_sub a {
    position: relative;
    display: block;
    padding: 15px 20px;
    color: #FFF;
    background: #F89ABA;
}

.drawerNavi_sub a:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    position: absolute;
    top: 50%;
    right: 20px;
    border-right: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    transform: rotate(-45deg);
}

.drawerNavi_guide {
    background-color: #FFF;
    border-top: 4px solid #F89ABA;
}

.drawerNavi_guide li + li {
    border-top: 1px solid #F89ABA;
}

.drawerNavi_guide a {
    position: relative;
    display: block;
    padding: 15px 20px;
    color: #828282;
}

.drawerNavi_guide a:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    position: absolute;
    top: 50%;
    right: 20px;
    border-right: 2px solid #DEDEDE;
    border-bottom: 2px solid #DEDEDE;
    transform: rotate(-45deg);
}

.ec-drawerRoleClose {
    color: #F89ABA;
    z-index: 1200;
}

.ec-overlayRole {
    z-index: 1100;
}


/* Footer */
.ec-layoutRole__footer {
    margin-top: 60px;
}

.footer_bnr ul {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0 -5px;
    list-style-type: none;
}

.footer_bnr li {
    width: 50%;
    padding-right: 5px;
    padding-left: 5px;
}

.footer_bnr img {
    width: 100%;
    height: auto;
}

.footer_category {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 40px;
    background-color: #FEE7EE;
}

.footer_category ul {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 -2px;
    list-style-type: none;
}

.footer_category li {
    width: 50%;
    padding: 2px;
}

.footer_category li a {
    display: block;
    padding: 15px 10px;
    color: #525263;
    font-size: 12px;
    background-color: #FFF;
    border-radius: 4px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.footer_category li a:hover {
    text-decoration: none;
}

.footer_navi ul {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    margin-left: -1px;
    list-style-type: none;
    border-top: 3px solid #F89ABA;
    border-bottom: 4px solid #F89ABA;
}

.footer_navi li {
    width: 50%;
    border-top: 1px solid #F89ABA;
    border-left: 1px solid #F89ABA;
}

.footer_navi li a {
    display: block;
    padding: 15px 10px;
    color: #525263;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.footer_navi li a:hover {
    text-decoration: none;
}

.footer_logo {
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer_logo img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: 170px;
    height: auto;
}

.copyright {
    padding: 20px 15px;
    margin: 0;
    color: #FFF;
    font-size: 12px;
    text-align: center;
    background-color: #F89ABA;
}

.ec-blockTopBtn {
    display: none !important;
}

/* 下層ページ */
.ec-pageHeader h1 {
    padding: 15px 10px;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #f89aba;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
    text-align: center;
    background-color: #fee7ee;
    border: none;
    border-radius: 4px;
}

/* カートページ */
.ec-cartRow .ec-cartRow__summary {
    font-size: 14px;
    font-weight: normal;
}

.ec-cartRow .ec-cartRow__summary a {
    color: #F89ABA;
}

/* マイページ */
.ec-navlistRole .active a {
    color: #F89ABA;
}

.float_item_minus_botomm {
    margin-bottom: 0;
}

/* 利用規約 */
.agreement_content {
    font-size: 14px;
    line-height: 1.5;
}

.agreement_content p {
    margin-bottom: 1em;
}

.agreement_content ol {
    padding-left: 20px;
}

.agreement_content li {
    margin-bottom: .5em;
}

.heading_line {
    padding-bottom: .25em;
    font-size: 1.25em;
    border-bottom: 1px solid #ccc;
}

/* ご利用ガイド */
.guide_content {
    font-size: 14px;
    line-height: 1.5;
}

.guide_content p {
    margin-bottom: 1em;
}

.guide_content table {
    margin-bottom: 1rem;
    font-size: 14px;
}

.guide_nav {
    margin-bottom: 20px;
}

.guide_nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.guide_nav li {
    margin-bottom: -1px;
    border: 1px solid #e8e8e8;
}

.guide_nav li:first-of-type {
    border-radius: 4px 4px 0 0;
}

.guide_nav li:last-of-type {
    border-radius: 0 0 4px 4px;
}

.guide_nav a {
    position: relative;
    display: block;
    padding: 10px;
    color: #525263;
}

.guide_nav a:hover {
    text-decoration: none;
}

.guide_nav a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    display: block;
    width: 10px;
    height: 10px;
    border-right: 1px solid #f89aba;
    border-bottom: 1px solid #f89aba;
    -webkit-transform: rotate(-45deg) translateY(-50%);
    -ms-transform: rotate(-45deg) translateY(-50%);
    transform: rotate(-45deg) translateY(-50%);
}

#guide_01,
#guide_02,
#guide_03,
#guide_04,
#guide_05,
#guide_06,
#guide_07 {
    padding-top: 54px;
    margin-top: -54px;
}

.guide_section {
    margin-bottom: 30px;
}

.section_heading {
    padding: 10px;
    margin-top: 0;
    font-size: 16px;
    text-align: center;
    background-color: #fee7ee;
    border-radius: 100px;
}

.label_pink {
    padding: 5px;
    margin-right: 5px;
    color: #fff;
    font-size: 10px;
    background-color: #f89aba;
    border-radius: 100px;
}

.text_pink {
    color: #f89aba;
}

.text_green {
    color: #00aeaa;
}

.text-right {
    text-align: right;
}

.table_pink {
    width: 100%;
    border-collapse: collapse;
}

.table_pink th,
.table_pink td {
    padding: .5em;
    border: 1px solid #e8e8e8;
}

.table_pink th {
    color: #fff;
    text-align: center;
    background-color: #f89aba;
}

.box_lightgray {
    padding: 10px;
    margin-bottom: 1em;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.box_lightpink {
    padding: 10px;
    margin-bottom: 1em;
    background-color: #fbe6ed;
    border-radius: 8px;
}

@media only screen and (min-width: 768px) {
    .ec-headerNavSP {
        display: block;
    }

    .ec-cartNavi {
        display: block;
        border-radius: 0;
        box-sizing: border-box;
        padding: 18px 0 0 12px;
        width: auto;
        min-width: auto;
        height: atuo;
        white-space: nowrap;
        cursor: pointer;
        background: #FFF;
    }

    .ec-cartNavi .ec-cartNavi__badge {
        display: inline-block;
        min-width: auto;
        position: absolute;
        left: 60%;
        top: -10px;
    }

    .ec-drawerRole.is_active {
        display: block;
    }

    .have_curtain .ec-overlayRole {
        display: block;
    }

    .ec-drawerRoleClose.is_active {
        display: block;
    }

    .ec-headerSearch .ec-headerSearch__category {
        float: none;
        width: 100%;
    }

    .ec-headerSearch .ec-headerSearch__keyword {
        float: none;
        width: 100%;
        border-radius: 0 0 3px 3px;
    }

    .ec-headerTitle .ec-headerTitle__title a {
        font-size: 20px;
    }

    .footer_bnr li {
        width: 33.33%;
    }

    .footer_category {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer_logo {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .ec-mypageRole .ec-pageHeader h1 {
        margin-top: 30px;
    }

    .ec-pageHeader h1 {
        padding-right: 15px;
        padding-left: 15px;
        margin-top: 40px;
        margin-right: 0;
        margin-bottom: 20px;
        margin-left: 0;
        font-size: 20px;
    }
    
    .ec-headerNaviRole {
        padding-bottom: 0;
    }
}

@media only screen and (min-width: 992px) {
    .footer_category li {
        width: 33.33%;
    }

    .footer_navi li {
        width: 16.66%;
    }
}

@media only screen and (min-width: 1200px) {
    .front_page .container {
        width: 1100px;
    }
}

/* ==========================================================================
   追加カスタマイズ：スマホ画面（画面幅 767px 以下）で商品カテゴリーを横3列にする
   ========================================================================== */
@media only screen and (max-width: 767px) {
    /* カテゴリセクション内の行（row）をFlexboxで折り返し有効に強制指定 */
    section.category_list .category_panel-group .row {
        display: -webkit-flex !important;
        display: -ms-flex !important;
        display: flex !important;
        -webkit-flex-wrap: wrap !important;
        -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
        margin-right: -4px !important; /* 左右の隙間（余白）のバランス調整 */
        margin-left: -4px !important;
    }

    /* 各カテゴリーアイテムの親div（col-xs-6 col-sm-4）の幅を強制的に33.333%にする */
    section.category_list .category_panel-group .row > div[class*="col-"] {
        -webkit-flex: 0 0 33.333333% !important;
        -ms-flex: 0 0 33.333333% !important;
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
        padding-right: 4px !important; /* 画像同士の間隔を均等に詰める */
        padding-left: 4px !important;
        margin-bottom: 12px !important; /* 下の行との隙間 */
        box-sizing: border-box !important;
    }

    /* カテゴリー内のカードリンクと画像のレスポンシブ化 */
    section.category_list .category_card {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    section.category_list .category_card img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* スマホ表示時にカテゴリ名（文字）が溢れたり崩れたりするのを防ぐ調整 */
    section.category_list .category_card i,
    section.category_list .category_card font,
    section.category_list .category_card span {
        font-size: 10px !important; /* 文字サイズをスマホ用に最適化 */
        line-height: 1.3 !important;
        display: block !important;
        text-align: center !important;
        margin-top: 4px !important;
        white-space: nowrap !important; /* 1行ですっきり収める設定 */
        overflow: hidden !important;
        text-overflow: ellipsis !important; /* 万が一長い場合に三点リーダー「...」にする */
    }
    
    /* 右矢印アイコン（fa-chevron-circle-right）のサイズ調整 */
    section.category_list .category_card .fa {
        font-size: 10px !important;
        margin-right: 2px !important;
    }
}

/* ==========================================================================
   共通カスタマイズ：PC・スマホ共通でランキングの王冠マークを「被らず左上」に配置
   ========================================================================== */
/* 各商品ボックス */
section.ranking .ranking_box {
    display: -webkit-flex !important;
    display: -ms-flex !important;
    display: flex !important;
    -webkit-flex-direction: column !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    -webkit-align-items: flex-start !important;
    -ms-flex-align: start !important;
    align-items: flex-start !important;
    
    position: relative !important;
    text-align: left !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* ★王冠アイコン：PC表示時を「縦横12mm相当（46px）」に拡大 */
section.ranking .ranking_box img.ranking_icon {
    position: static !important;
    display: block !important;
    margin: 0 0 12px 0 !important;          /* 王冠が大きくなった分、下の画像との隙間も12pxに微調整 */
    width: 46px !important;                 /* ★元の 32px から 46px（約12mm）に大きく変更 */
    height: auto !important;                /* 元画像が正方形であれば、縦も自動的に46px（12mm）になります */
    -webkit-order: 1 !important;
    -ms-flex-order: 1 !important;
    order: 1 !important;
}

/* 商品画像 */
section.ranking .ranking_box img.ranking_thumb {
    -webkit-order: 2 !important;
    -ms-flex-order: 2 !important;
    order: 2 !important;
    width: 100% !important;
    max-width: 200px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 10px auto !important;
}

/* テキスト・ブランド名・価格 */
section.ranking .ranking_box p,
section.ranking .ranking_box p font {
    -webkit-order: 3 !important;
    -ms-flex-order: 3 !important;
    order: 3 !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 4px !important;
    margin-bottom: 2px !important;
}

section.ranking .ranking_box small {
    -webkit-order: 4 !important;
    -ms-flex-order: 4 !important;
    order: 4 !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 11px !important;
    color: #525263 !important;
}

/* --------------------------------------------------------------------------
   スマホ画面（画面幅 767px 以下）用の個別調整
   -------------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
    section.ranking {
        position: relative !important;
        z-index: 1 !important;
    }

    section.ranking .row.row-no-gutters,
    section.ranking .row {
        display: -webkit-flex !important;
        display: -ms-flex !important;
        display: flex !important;
        -webkit-flex-wrap: wrap !important;
        -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
        margin-right: -4px !important;
        margin-left: -4px !important;
    }

    section.ranking .row.row-no-gutters > div[class*="col-"],
    section.ranking .row > div[class*="col-"] {
        -webkit-flex: 0 0 50% !important;
        -ms-flex: 0 0 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding-right: 8px !important;
        padding-left: 8px !important;
        margin-bottom: 30px !important;
        box-sizing: border-box !important;
    }

    /* ★スマホ表示時の王冠アイコン：2列の枠に綺麗に収まるようサイズを最適化 */
    section.ranking .ranking_box img.ranking_icon {
        width: 32px !important;             /* スマホ画面では枠が狭いため、大きすぎない32px（約8mm相当）に制御 */
        margin: 0 0 8px 0 !important;
    }

    section.ranking .ranking_box img.ranking_thumb {
        max-width: 100% !important;
    }

    section.ranking .ranking_box p,
    section.ranking .ranking_box p font {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }
    section.ranking .ranking_box small {
        font-size: 10px !important;
    }
}

/* ==========================================================================
   追加カスタマイズ：スマホ画面（画面幅 767px 以下）でSlickスライダーのドット被りを解消
   ========================================================================== */
@media only screen and (max-width: 767px) {
    /* スライダー全体のコンテナ：下側にドットを配置するための十分な余白を空ける */
    .ec-sliderRole {
        position: relative !important;
        margin-bottom: 25px !important; /* ★画像の下側に 25px のドット専用エリアを確保 */
    }

    /* 丸ポチ（ドットナビゲーション）の親要素：絶対配置を解除して画像の外側（下）に配置 */
    .ec-sliderRole ul.slick-dots {
        display: -webkit-flex !important;
        display: -ms-flex !important;
        display: flex !important;
        -webkit-flex-wrap: nowrap !important;
        -ms-flex-wrap: nowrap !important;
        flex-wrap: nowrap !important;          /* 2行への折り返しを絶対に禁止 */
        -webkit-justify-content: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;    /* 中央揃え */
        -webkit-align-items: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;

        position: absolute !important;         /* 絶対配置は維持 */
        bottom: -22px !important;              /* ★マイナス値を指定して、画像の外側（下）に完全に押し出す */
        left: 0 !important;
        width: 100% !important;
        padding: 0 15px !important;
        margin: 0 !important;
        z-index: 90 !important;
        box-sizing: border-box !important;
    }

    /* 各ドット（li要素）の間隔調整 */
    .ec-sliderRole ul.slick-dots li {
        display: inline-block !important;
        -webkit-flex: 0 1 auto !important;
        -ms-flex: 0 1 auto !important;
        flex: 0 1 auto !important;
        margin: 0 4px !important;
        padding: 0 !important;
        width: 10px !important;
        height: 10px !important;
    }

    /* Slick標準の古いフォント描画（黒丸）を完全に消去 */
    .ec-sliderRole ul.slick-dots li button::before {
        display: none !important;
        content: "" !important;
        opacity: 0 !important;
    }

    /* ドット内のボタン本体（背景との同化を防ぐため少し濃いめのグレーに変更） */
    .ec-sliderRole ul.slick-dots li button {
        display: block !important;
        width: 8px !important;
        height: 8px !important;
        padding: 0 !important;
        margin: 1px auto !important;
        background: #DEDEDE !important;        /* ★画像の外（白背景）に出るため、見やすいように薄いグレーに変更 */
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        font-size: 0 !important;
        line-height: 0 !important;
        text-indent: -9999px !important;
        opacity: 1 !important;
    }

    /* 現在表示中のアクティブなドット（お店のピンクテーマに綺麗に変化） */
    .ec-sliderRole ul.slick-dots li.slick-active button {
        background: #F89ABA !important;
        border-color: #F89ABA !important;
        transform: scale(1.1) !important;
    }
}
