/* home layout */
#main {
    background-color: #fff;
}
#mainimg {
    display: block;
    width: 100%;
    max-width: 1400px;
    max-height: 610px;
    margin: 165px auto 0;
    position: relative;
    overflow: hidden;
}

#mainimg .main figure.forPC {
    display: block;
    position: relative;
    height: 0;
    padding-bottom: 40%;
    overflow: hidden;
}
#mainimg .main figure.forSP{
    display: none;
}
#mainimg .main figure img{
    width:100%;
    height: auto;
    object-fit: contain;
    border:1px solid #ddd;
    position: absolute;
    top:0;
    left: 0;
}
/*
#mainimg .main figure::before{
    content: '';
    width:100%;
    padding-bottom: 58%;
    position: absolute;
    top:0;
    left:0;
    display: block;
    background-color:rgba(0,0,0,.05);
}
*/

.products .slick-dots {
    position: absolute;
    width:100%;
    margin: 0 auto;
    text-align: center;
    z-index: 99;
    bottom:-15px;
    left:0;
}

.products ul.slick-dots li {
    width: auto !important;
}

#mainimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#container {
    background-color: #fff;
}

.product-section {
    display: block;
    width: 100%;
    position: relative;
    background-color: #fff;
    padding:40px 0;
}
.home-title{
    display: block;
    width:100%;
    color:#b2ab8c;
    font-size: 1.5em;
    margin: 1.5em auto;
}
.home-title::after{
    content: '';
    width:8em;
    height: 1em;
    background-image:url(/wedding/wp-content/uploads/2020/05/deco_line.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size:contain;
/*    background-color:#b2ab8c;*/
    display: block;
    margin: 1em auto;
}

.product-section ul {
    width: 100%;
    max-width: 1280px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: .9em;
    flex-wrap: wrap;
}

.product-section.new-wrp ul .slick-track {
    display: flex;
    background-color: #fff;
    overflow: hidden;
}

.product-section.new-wrp ul .slick-track li {
    width: 25%;
}

.product-section ul::before {
    display: none;
}

.product-section ul::after {
    display: none;
}

.product-section li {
    margin-bottom: 2.5em;
}
.product-section ul::after {
    content:'';
    width:25%;
    height: 0;
    display: block;
}
.product-section ul::before {
    content:'';
    width:25%;
    height: 0;
    display: block;
    order:1;
}

ul.columns-6 li {
    width: 33%;
    display: inline-block;
}

ul.slick-dots {
    display: block;
    width: 100%;
}

.brand-wrp {
    background-color: #f3f3f3;
}

.categories-wrp li,
.brand-wrp li {
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #fff;
}

.categories-wrp li a {
    display: block;
}

.category-thumb-wrp {
    width: 100%;
    padding-bottom: 100%;
    object-fit: contain;
    font-family: 'object-fit: contain;' !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 1em;
}

.category-thumb-wrp img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    font-family: 'object-fit: cover;' !important;
}

.product-section.categories-wrp .woocommerce-loop-category__title,
.product-section.brand-wrp .woocommerce-loop-category__title {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1em;
    padding: .5em 0;
    color: #222;
}

.product-section.brand-wrp .woocommerce-loop-category__title {
    display: none;
}

/* story */
.wrapper.archive{
/*    padding:40px 0;*/
    background-color: #f9f9f9;
}
.info .archiveTitle{
    margin-bottom: 0;
}
.story-wrp {
    padding: 40px 0;
    background-color: #f9f9f9;
}
.wrapper.archive .story-wrp{
    padding:0 0 40px;
}
.archiveTitle {
    font-size: 1.8em;
    margin: 1.5em auto 1em;
}

.story-wrp .wp-block-group__inner-container h2 {
    display: block;
    width: 100%;
}

.story-wrp .wp-block-group__inner-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1280px;
    padding: 20px;
    margin: 0 auto;
}
.story-wrp .wp-block-group__inner-container::after{
    content: '';
    width:31%;
    display: block;
    height: 0;
}

.story-wrp .entry {
    width: 31%;
    display: block;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: .8em;
    line-height: 1.5;
    margin-bottom: 4%;
    position: relative;
}

.story-wrp .entry .thumb {
    width: 100%;
    padding-bottom: 56%;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.story-wrp .entry .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;' !important;
}

.story-wrp .entry .inner {
    padding: 1em 2em;
}

.story-wrp .entry-title {
    font-size: 1.2em;
    padding-bottom: .75em;
    color: #555;
}

.story-wrp .entry .inner a.btn-more {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-indent: -10em;
}


/* info */
.info-wrp .columns-4 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 40px;
}
.info-wrp .columns-4::after{
    content: '';
    width:19%;
    height: 0;
    display:block
}

.info-wrp article {
    display: block;
    width: 19%;
    background-color:#fff;
    border: 1px solid #b2ab8c;
}

.info-wrp article a {
    display: block;
    text-align: left;
    font-size: .8em;
    padding: 20px;
    color: #000;
    font-family: sans-serif;
}

.info-wrp article a .description {
    line-height: 1.8;
}

.info-wrp .entry-date {
    padding: 1em 0;
}

.info-wrp .photo {
    display: block;
    border: 1px solid #ddd;
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    white-space: nowrap;
}
.info-wrp .photo figure{
    display: inline-block;
    width:100%;
}
.info-wrp .photo figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.onsale{
    font-size: .9em;
    width: 4.4em;
    height: 4.4em;
    top: 18px;
    left: 18px;
    z-index:2

}
.product-section.info-wrp{
    padding:0;
/*    background-color: #f9f9f9;*/
}


@media screen and (max-width:740px) {
    .em-news {
        display: block;
        padding: 30px 15px;
    }
    .em-news p{
        font-size:0.7em;
    }
}

@media screen and (max-width:1280px) {
    #mainimg {
        width: 100%;
        margin: 122px auto 0;
    }

    .entry-list.entry-sidelist {
        width: 100%;
    }

    .brand {
        justify-content: space-between;
    }

    .brand .brand-box {
        width: 22%;
    }
}

@media screen and (max-width:900px) {
    /* home */
    .product-section {
        display: block;
        width: 100%;
        position: relative;
    }

    .product-section .section-title {
        padding: 20px 0;
    }

    .product-section ul li{
        width:24%;
    }
}

@media screen and (max-width:740px) {
    #mainimg {
        margin: 50px auto 0;
    }
    #mainimg .main figure.forPC {
        display: none;
    }
    #mainimg .main figure.forSP{
        display: block;
        position: relative;
        height: 0;
        padding-bottom: 136%;
        overflow: hidden;
    }
    #mainimg .main figure.forSP{
        display: block;
        position: relative;
        height: 0;
        padding-bottom: 136%;
        overflow: hidden;
    }
    #mainimg.test .main figure.forSP{
        display: block;
        position: relative;
        height: 0;
        padding-bottom: 110%;
        overflow: hidden;
    }
    #mainimg .main figure img{
        border: none;
    }
    ul.columns-4 li {
        width: 49%;
    }

    .product_meta {
        text-align: left;
        line-height: 1.5em;
        font-size: .7em;
    }

    .price {
        display: block;
        text-align: left;
        font-size: .9em;
        display: none;
    }

    .onsale {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        background-color: #e04747;
        color: #fff;
        border-radius: 100%;
        font-size: .5em;
        width: 8vw;
        height: 8vw;
        top: 10px;
        left: 10px;
        z-index: 2;
    }
    .product-section{
        padding:1em 0;
    }
    .product-section ul li{
        width:49%;
        margin-bottom: 3%;
    }
    .home-title{
        font-size:1.3em;
        margin:1em 0;
    }
    .event-wrp .entry {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .event-wrp .entry .thumb {
        width: 30%;
        padding-bottom: 30%;
    }

    .event-wrp .entry .inner {
        width: 70%;
    }
    .event-wrp .entry-body br{
        display: none;
    }
    .product-section.brand-wrp ul li{
        display: block;
        width:100%;
        padding:10px;
        margin-bottom: 10px;
    }
    .product-section.brand-wrp ul li a{
        width:100%;
        display: flex;
        justify-content: space-between;
    }
    .product-section.brand-wrp .category-thumb-wrp{
        width: 30%;
        padding-bottom: 30%;
        margin:0;
    }
    .product-section.brand-wrp .entry-meta {
        width: 70%;
        text-align: left;
        padding-left:20px;
    }

    /* info */
    .info-wrp .columns-4 {
    }
    .info-wrp article {
        display: block;
        width: 100%;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }

    .info-wrp article a {
        display: flex;
        justify-content: space-between;
    }
    .info-wrp article .photo{
        width:30%;
        margin-bottom: 0;
    }
    .info-wrp article .entry-meta-wrp{
        width:70%;
        padding-left:20px;
    }

    .info-wrp article a .description {
        line-height: 1.8;
    }

    .info-wrp .entry-date {
        padding: 1em 0;
    }

    .info-wrp .photo figure {
        width: 100%;
    }

    .info-wrp .photo figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
