@charset "utf-8";

h1.logo_h1 {
    display: contents;
}
/*メインスライダー*/
#main_slider {
    width: 100%;
    margin: 1rem auto 7rem auto;
}

.slider-img {
    margin: 0 5px;
}

.slider-img img {
    height: 100%;
    width: 95%;
}

.slick-prev {
    left: calc(50% - 20rem);
    bottom: -21px;
}

.slick-next {
    right: calc(50% - 20rem);
    bottom: -21px;
}

ul.slick-dots {
    position: initial;
    margin-top: 1rem;
}

/*メインスライダー*/

/*main*/
section {
    margin-bottom: 7rem;
}
/**/
section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    border-bottom: 3px solid #ccc;
}

section h2 span {
    border-bottom: 3px solid var(--main-color);
    padding: 0 1rem 3px 0.5rem;
}

section h2 img {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    vertical-align: text-top;
}
/**/
/*商品*/
.top_sell_item {
    /*width: 21rem;*/
    width: 19rem;
    background-color: var(--title-color);
    padding: 0 1rem;
}

.top_sell_item:last-child {
    margin-right: 0;
}

.top_sell_item a img {
    width: 10rem;
    height: 10rem;
    display: block;
    margin: 0 auto 1rem auto;
}

.top_sell_item h3 {
    margin-bottom: 1rem;
}

.top_sell_item h3 a {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.review {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 1.5rem;
}

.review img {
    width: 9rem;
    height: 100%;
}

.review p a {
    font-size: 1.2rem;
    vertical-align: text-bottom;
    color: var(--main-color);
    text-decoration: underline;
}
/**/
.price {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1.2rem;
}

.price span font {
    font-size: 1.2rem;
    color: #00f;
}

.more_btn {
    border-radius: 0.5rem;
    width: 90%;
    margin: 0 auto;
}

.more_btn a {
    font-size: 1.8rem;
    font-weight: bold;
    padding: 0.5rem 0;
    text-align: center;
    border-radius: 0.5rem;
    color: var(--title-color);
    background-color: var(--main-color);
}
/**/

/*main*/
/*お買い物ガイド*/
#guide {}

#guide ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#guide ul li {
    border: 1px solid #aaa;
    margin-top: -1px;
    margin-left: -1px;
    width: calc(25% + 1px);
    padding: 0.5rem;
}

#guide a:hover {
    background-color: #eee;
}

#guide .guide-title {
    font-weight: bold;
    border-bottom: 1px dotted #ccc;
    padding: 1rem 2rem 0.5rem 2rem;
    font-size: 1.6rem;
}

#guide .guide-item {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
}

#guide .guide-item p {
    width: 79%;
}

#guide .guide-item img {
    width: 20%;
    height: 20%;
}

/*お買い物ガイド*/
/* キャンペーン ここから */
section.campaign{
    margin-bottom: 2rem;
}
section.campaign a{
    margin: 0 auto 1rem auto;
    display: block;
    width: 75%;
}
img.campaign-img {
    width: 100%;
    height: 100%;
}
img.campaign-img-sp {
    width: 100%;
    height: 100%;
    display: none;
}
/* キャンペーン ここまで */
/**/
.category {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.category li {
    margin: 0 0.5rem 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 0.3rem;
}

.category li:last-child {
    margin-right: 0;
}

.category a {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.3rem;
    color: #0a0a0a;
}
/**/
@media screen and (max-width: 1499px) {
    section.campaign a {
        width: 95%;
    }
}
@media screen and (max-width: 820px) {
    /*メインスライダー*/
    #main_slider {
        width: 100%;
        margin: 1rem auto 1rem auto;
    }

    .slick-prev {
        left: 3%;
    }

    .slick-next {
        right: 3%;
    }
    ul.slick-dots {
        margin-top: 0;
    }
    ul.slick-dots li {
        margin: 0 7px;
        width: calc(9% - 14px);
    }

    .slider-img img {
        width: 100vw;
    }

    /*共通*/
    /**/
    section h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .Android section h2 span {
        padding: 0 1rem 0 0.5rem;
    }
    section h2 span {
        padding: 0 1rem 4px 0.5rem;
    }

    section h2 img {
        vertical-align: sub;
    }
    /**/
    .top_sell_item {
        width: 19rem;
        padding: 1rem;
    }

    .top_sell_item h3 a {
        font-size: 1.6rem;
    }

    .review {
        /*flex-direction: column;*/
        margin-bottom: 0.5rem;
    }

    .review img {
        width: 8rem;
    }

    .price {
        margin-bottom: 1rem;
    }

    .price span {
        display: block;
    }    
    .more_btn a {
        font-size: 1.4rem;
    }
    /**/
    /* ガイド */
    #guide ul li {
        width: calc((100% / 3) + 1px);
    }

    #guide .guide-item img {
        width: 20%;
        height: 20%;
    }
    /* ガイド */    
    /* キャンペーン ここから */
    .slick-dotted.slick-slider {
        margin-bottom: 0;
        overflow: hidden;
    }
    /* キャンペーン ここまで */
}
@media screen and (min-width:480px) and (max-width:820px) {
    /* 商品陳列エリア */
    .top_sell_item top_sell_item {
        width: calc(100% / 3);
        margin-right: 0;
        margin-bottom: 3rem;
        padding: 0 1.5rem;
    }

    .top_sell_item .top_sell_item:nth-last-child(-n+3) {
        margin-bottom: 1rem;
    }

    .top_sell_item h3 a {
        text-align: center;
    }

    .top_sell_item .price p {
        text-align: center;
    }

    .top_sell_item .price span {
        display: contents;
    }

    .review {
        flex-direction: row;
        justify-content: space-around;
        margin-bottom: 0.5rem;
    }
    /* 商品陳列エリア */
}

@media screen and (max-width:480px) {
    section {
        margin-bottom: 2rem;
    }
    /*ガイド*/
    #guide {
        margin-bottom: 3rem;
    }

    #guide ul li {
        width: 50%;
    }

    #guide ul li a {
        display: flex;
        justify-content: space-between;
        padding: 1rem;
    }

    #guide .guide-title {
        padding: 0;
        border-bottom: none;
        width: 65%;
        font-size: 1.4rem;
    }

    #guide .guide-item {
        display: block;
        padding: 0;
        width: 30%;
        height: 100%;
    }

    #guide .guide-item p {
        display: none;
    }

    #guide .guide-item img {
        width: 100%;
        height: 100%;
    }
    /*ガイド*/
    /* キャンペーン ここから */
    section.campaign {
        margin: 1rem auto;
    }
    section.campaign a{
        margin: 0 auto 1rem auto;
        display: block;
        width: 100%;
    }
    img.campaign-img {
        display: none;
    }
    img.campaign-img-sp {
        display: block;
    }
    /* キャンペーン ここまで */
    /*メインスライダー ここから*/
    .slick-prev {
        left: 0;
    }

    .slick-next {
        right: 0;
    }
    /*メインスライダー ここまで*/
    /*商品タグ*/
    .category a {
        font-size: 1rem;
    }
    /*商品タグ*/
}
