
@import url("/resources/glassart/css/modules/news-card.css");
@import url("/resources/glassart/css/modules/article-card.css");
@import url("/resources/glassart/css/modules/series-card.css");
@import url("/resources/glassart/css/modules/book-card.css");
@import url("/resources/glassart/css/modules/product-card.css");
@import url("/resources/glassart/css/modules/attention-card.css");

.main-banner-category-wrapper {
    position: relative;
}
.main-banner-category {
    border-top: 1px solid #333;
    margin-top: 56px;
}
.main-banner-category--wrap-img {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.6%;
    border-bottom: 1px solid #333;
}
.main-banner-category--wrap-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0px;
    left: 0px;
}

.main-banner-category-wrapper .side-banner {
    position: absolute;
    top: 1px;
    width: 17%;
    background: #fff;
    height: 0px;
    padding-bottom: calc(44% - 0px);
    display: none;
}
.main-banner-category-wrapper .side-banner img {
    max-width: 100%;
    opacity: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.wrap-contents-box {
    display: flex;
    /*grid-template-columns: repeat(4, 1fr);*/
    gap: 46px;
    margin-top: 0px;
    justify-content: center;
}
.wrap-contents-box .content-image {
    width: 100%;
}
.wrap-contents-box .wrap-image {
    width: 100%;
    height: 0px;
    padding-bottom: 76.65%;
    position: relative;
    display: block;
}
.wrap-contents-box .wrap-image .content-image {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    border-radius: 36px;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
}
.category-page {
    padding: 80px 0px 100px;
}
.category-page .home-news-grid {
    padding-bottom: 0px;
}
.glassart-home-news {
    padding: 116px 0px 0px;
}
.contents-category-pad {
    padding: 90px 0px 0px;
}
.article-category-pad {
    padding: 117px 0px 0px;
}
.category--series-pad {
    padding: 119px 0px 0px;
}
.category--publication-pad {
    padding: 119px 0px 0px;
}
.category--product-glassart-section {
    margin-top: 52px;
    padding-bottom: 96px;
}
.category--attention-pad {
    padding: 45px 0px 0px;
}
.attention-div-grid {
    margin-top : 47px;
    margin-bottom: 48px;
}
.category--social-link-pad {
    padding: 99px 0px 0px;
}
.category-page .home-books-slider .slick-track {
    padding-bottom: 59px;
}
.bg-vector-category-1 {
    right: 0px;
    top: -145px;
}
.bg-vector-category-2 {
    left: 0px;
    bottom: -109%;
}
.bg-vector-category-3 {
    right: 0px;
    top: -29%;
}
.bg-vector-category-4 {
    left: 0px;
    bottom: -100%;
}
.bg-vector-category-5 {
    bottom: -740px;
    right: 0;
}


/* SNS */
.sns-div-wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 72px;
    margin-top: 48px;
    /*margin-bottom: 48px;*/
}
.sns-div-content .s-icon {
    padding: 0px;
    width: calc(20% - 57.6px);
    position: relative;
}
.sns-div-content .s-icon::after {
    content: "";
    position: absolute;
    width: 0.5px;
    height: 100px;
    background-color: #745A89;
    right: -36px;
    top: 3.5em;
}
.sns-div-content .s-icon:last-of-type::after {
    display: none;
}
.sns-div-content .s-icon p {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
    height: 3.5em;
    text-align: center;
    padding: 0 1em;
    line-height: 1.4em;
}
.wrap-img-sns {
    margin-bottom: 2em;
    align-items: center;
    display: flex;
    justify-content: center;
}
.sns-div-content .s-icon a {
    display: inline-block;
    margin: auto 2px;
}

.sns-staff img {
    margin: 4% 0;
}
.sns-marche img {
    margin: 9% 0;
}
.sns-keito img {
    margin-bottom: 2.5%;
}
.sns-general3 img {
    margin: 6.5% 0;
}
.category-social-section .btn-seemore {
    margin-top: 48px;
}
.category-social-section {
    display: none;
}
.wrap-contents-item {
    display: block;
    width: calc(25% - 34.5px);
}
p.catalog-notes {
    text-align: center;
    margin-top: 36px;
    margin-bottom: 0px;
}

/*.img-article-wr {
    width: calc(100% - 54px);
    margin: auto;
    position: relative;
    padding-bottom: calc(100% - 54px);
    height: 0px;
}
.img-article-wr::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 1px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    background: #D9D9D9;
    z-index: 2;
    border-radius: 6px;
    border: 2px solid white;
}
.article-img-bg img {
     width: 82%; 
    margin: auto;
    position: absolute;
     padding-bottom: .5em; 
    object-fit: cover;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    object-fit: cover;
    background-size: 100%;
    border-radius: 6px;
    z-index: 2;
}
.img-article-wr::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 100%;
    height: 100%;
    background: #D9D9D9;
    z-index: 1;
    border-radius: 6px;
}*/



/*md screen*/
@media screen and (max-width: 1024px) {
    .wrap-contents-box {
        gap: 14px;
    }
    .attention-div-grid {
        gap: 14px;
    }
    .wrap-contents-item {
        width: calc(25% - 10.5px);
    }
}


/*ipad screen*/
@media screen and (max-width: 768px) {
    .sns-div-wrap {
        gap: 14px;
    }
    .sns-div-content .s-icon {
        width: calc(20% - 11.2px);
    }
    .sns-div-content .s-icon::after {
        height: 50px;
        right: -7px;
    }
}

/*mobile screen*/
@media only screen and (max-width : 40.063em) {
    .main-banner-category-wrapper {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 27px;
    }
    .main-banner-category {
        margin-top: 0px;
        border-top: none;
    }
    .main-banner-category .slick-dots {
        bottom: 10px;
    }
    .main-banner-category-wrapper .side-banner {
        position: relative;
        width: 100%;
        padding: 0px;
        height: auto;
        display: block;
    }
    .main-banner-category-wrapper .side-banner img {
        height: auto;
        position: relative;
    }
    .category-page {
        padding-top: 18px;
        padding-bottom: 40px;
    }
    .main-banner-category--wrap-img {
        padding-bottom: 83.2%;
    }

    .content-mobile-slider {
        display: block;
        position: relative;
    }
    .content-mobile-slider .slick-slide {
        width: 289px;
        padding-right: 35px;
    }
    .content-mobile-slider .slick-list {
        overflow: visible;
        /*padding-bottom: 59px;*/
    }
    .article-category-pad .wrap-article-grid .slick-prev,
    .article-category-pad .wrap-article-grid .slick-next {
        display: none!important;
    }
    .article-category-pad .wrap-article-grid .slick-list {
        padding-bottom: 36px;
    }
    .category-page .home-books-slider .slick-track {
        padding-bottom: 0px;
    }
    .attention-div-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 22px;
        margin-top: 28px;
        margin-bottom: 36px;
    }
    .glassart-home-news {
        padding-top: 55px;
    }
    .contents-category-pad {
        padding-top: 27px;
    }
    .wrap-contents-box {
        margin-top: 27px;
    }
    .article-category-pad {
        padding-top: 57px;
    }
    .category--series-pad {
        padding-top: 55px;
    }
    .category--publication-pad {
        padding-top: 55px;
    }
    .category--product-glassart-section {
        margin-top: -19px;
        padding-top: 72px;
        padding-bottom: 118px;
    }
    .category--attention-pad {
        padding-top: 0px;
    }
    .attention-div-section {
        margin-top: -64px;
    }
    .category--social-link-pad {
        padding-top: 57px;
    }
    .wrap-img-sns {
        margin-bottom: 19px;
    }
    .bg-vector-category-2 {
        bottom: -11%;
    }
    .bg-vector-category-3 {
        top: -11%;
    }
    .bg-vector-category-4 {
        bottom: 24%;
    }
    .bg-vector-category-5 {
        width: 360px;
        bottom: -204px;
    }


    /* SNS */
    .sns-div-wrap {
        gap: 24px 30px;
        justify-content: center;
        margin-top: 28px;
        /*margin-bottom: 36px;*/
    }
    .sns-div-content .s-icon {
        width: calc(50% - 15px);
    }
    .sns-div-content .s-icon::after {
        right: -15px;
        top: 33px;
        height: 66px;
    }
    .category-social-section {
        padding: 0px 15px;
    }
    .sns-div-content .s-icon a {
        margin: 0;
    }
    .s-icon .btn-sns {
        margin-top: 0px;
    }
    .sns-div-content .s-icon p {
        font-size: 10px;
        line-height: 1.4em;
        padding: 0px;
        height: 33px;
    }
    .btn-sns img {
        width: 12px;
    }
    .s-icon .btn-sns {
        width: 25px;
        height: 25px;
    }
    .sns-div-content .s-icon:nth-of-type(even)::after {
        display: none;
    }
    .category-social-section .btn-seemore {
        margin-top: 36px;
    }
    p.catalog-notes {
        margin-top: 19px;
    }
    
    .category-page .home-news-grid {
        padding-bottom: 55px;
    }
}