/* カスタマイズ用CSS */
/* フォント設定 */
p,
span,
div {
    font-family: "Hina Mincho", serif !important;
    color: black;
}
.ec-footerRole div {
    color: inherit;
}
.ec-headerLink__item span {
    color: inherit;
}

/* 画像設定 */
/*.slick-slide img,*/
.ec-categoryRole__listItem a img,
.ec-topicRole__listItem a img,
.ec-newItemRole__listItem a img,
.ec-shelfGrid__item a p img,
.ec-sliderItemRole .item_nav .slideThumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ec-eyecatchRole__image {
    width: 70% !important;
}

.ec-sliderItemRole .item_nav .slideThumb {
    padding: 1em;
}

/* その他設定 */
.ec-topicRole__listItem,
.ec-categoryRole__listItem {
    margin: 2em;
}

/* お買い物ガイド */
.shopping-guide {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.guide-header {
    background: #000;
    color: #fff;
    padding: 10px;
    font-size: 1.2em;
}

.guide-list {
    display: grid;
    grid-template-columns: 14em 1fr;
    gap: 8px 12px;
    margin: 0;
    padding: 0;
}

.guide-label,
.guide-content {
    display: flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
}

.guide-label {
    background: #ffd84d;
    font-weight: bold;
    justify-content: center;
}

.guide-content {
    word-break: auto-phrase;
    border-bottom: 1px solid #ccc;
}

.guide-content img {
    max-width: 100%;
}

/* モバイル設定 */
@media screen and (max-width: 768px) {
    .ec-eyecatchRole{
        display: block;
    }
    .ec-eyecatchRole__intro{
        text-align: center;
    }
    .ec-eyecatchRole__intro p{
        display: inline-block;
        text-align: left;
    }
    .ec-eyecatchRole__image{
        margin-top: 1em;
        width: 100% !important;
    }
    .guide-list {
        grid-template-columns: 1fr;
    }
    .guide-label {
        justify-content: flex-start;
        padding-left: 8px;
    }
    .ec-newItemRole__listItem.__getAutoNewItemBlock img {
        width: 100%;
        height: calc(100% - 5em);
        object-fit: cover;
        display: block;
    }
}