@charset "utf-8";

/* ==================================

  『写真で検索』SP Style

================================== */


/* ----------------------------------

  Section

---------------------------------- */


/* Product LineUp
---------------------------------- */

.photo-search .product-list {
    margin: 0;
    padding: 0 0 calc(200 / 750 * 100%);
}

.photo-search .product-lineup {
    grid-template-columns: repeat(2, 1fr);
    gap: calc(25 / 750 * 100vw);
}

.photo-search .product-item {
    margin: 0;
}

.photo-search .product-lineup.pl2 {
    margin: calc(25 / 750 * 100%) 0 0;
}

.photo-search .product-lineup.pl2.is-active {
    margin: calc(25 / 750 * 100%) 0 calc(100 / 750 * 100vw)
}

.gra {
    height: calc(500 / 750 * 100vw);
}


/* もっと見る */

.more-see span {
    font-size: calc(24 / 750 * 100vw);
}


/* 件数表示 */

.product-item-pager {
    bottom: calc(80 / 750 * 100vw);
    font-size: calc(22 / 750 * 100vw);
}


/* ----------------------------------

  Search Category By Photo

---------------------------------- */

.search-category {
    margin: 0;
    padding: 0 0 calc(75 / 750 * 100%);
}

.search-ctg-unit {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
    /*
  grid-template-columns: repeat(2, 1fr);
  */
}

.search-ctg {
    width: 50%;
    margin: 0 0 calc(50 / 750 * 100%);
    padding: 0 0 0 calc(30 / 750 * 100%);
}

.search-ctg figure img {
    width: calc((168 / 750) * 100vw);
}

.search-ctg figure figcaption {
    font-size: calc(20 / 750 * 100vw);
    white-space: nowrap;
}


/* ----------------------------------

  Modal Styles By Photo

---------------------------------- */

.modal-opener {
    width: 100%;
    line-height: 1.0;
    padding: calc(35 / 750 * 100%) 0;
}

.modal-opener a {
    font-size: calc(30 / 750 * 100vw);
    padding: 0 calc(35 / 750 * 100%);
}

.modal-content {
    width: calc(710 / 750 * 100%);
    height: auto;
    padding: calc(80 / 750 * 100%) calc(20 / 750 * 100%) 0;
}

.modal-content .js-modal-close {
    font-size: calc(48 / 750 * 100vw);
}

.modal-content h3 {
    font-size: calc(48 / 750 * 100vw);
    margin: 0 0 calc(40 / 750 * 100%);
}

.modal-content h3 span {
    font-size: calc(24 / 48 * 1em);
}


/* ----------------------------------

  lightbox2 Overwrite

---------------------------------- */

.lightbox .lb-image {
    width: calc(640 / 750 * 100vw) !important;
}

.lb-outerContainer,
.lb-container,
.lb-dataContainer {
    width: calc(640 / 750 * 100vw) !important;
}

.lb-nav a.lb-prev {
    margin: 0 0 0 -25px;
    background-size: calc(25 / 750 * 100vw) calc(46 / 750 * 100vw);
}

.lb-nav a.lb-next {
    margin: 0 -25px 0 0;
    background-size: calc(25 / 750 * 100vw) calc(46 / 750 * 100vw);
}

.lb-data .lb-details {
    text-align: center;
    padding: calc(25 / 750 * 100%) 0;
}

.lb-data .lb-caption {
    font-size: calc(24 / 750 * 100vw);
}

.lb-data .lb-closeContainer {
    top: -35vh;
    right: -6.5%;
}

.lb-data .lb-close::after {
    font-size: calc(48 / 750 * 100vw);
}

.lightboxOverlay>.lb-close {
    top: 0;
    right: 2.5%;
}
