@charset "utf-8";

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

  『写真で検索』PC Style

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


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

  Section

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


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

.photo-search .product-list {
    margin: 0 0 150px;
}

.photo-search .product-lineup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 37px 32px;
    align-items: stretch;
}

.photo-search .product-lineup.pl2 {
    margin: 37px 0 0;
}

.photo-search .product-lineup.pl2.is-active {
    margin: 37px 0 75px
}

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


/*
.photo-search .product-item figure a {
  padding: 0 0 calc(447 / 670 * 100%);
  overflow: hidden;
}
*/

.photo-search .product-item figure a {
    width: 100%;
    height: 0;
    padding: 0 0 calc(447 / 670 * 100%);
    overflow: hidden;
    /*
  height: auto;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: cover;
  aspect-ratio: 670 / 447;
  cursor: pointer;
  */
}

.photo-search .product-item figure a img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.photo-search .product-item dl {
    display: none;
}

.supplement {
    position: relative;
}

.gra {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 1) 100%);
}

.gra.is-hide {
    z-index: -1;
}


/* もっと見る */

.more-see {
    position: relative;
    z-index: 2;
    width: fit-content;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    outline: none;
    cursor: pointer;
    transition: all .3s;
}

.more-see:hover {
    opacity: 0.7;
}

.more-see span {
    position: relative;
    font-size: 18px;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    display: inline-block;
}

.more-see span::before {
    content: "もっと見る";
}

.more-see span::after {
    content: "＞";
    transform: rotate(90deg) scale(0.6, 1.8);
    display: inline-block;
    margin: 0 0 0 20px;
}

.more-see span.is-closed::before {
    content: "閉じる";
}

.more-see span.is-closed::after {
    transform: rotate(-90deg) scale(0.6, 1.8);
}


/* 件数表示 */

.product-item-pager {
    position: absolute;
    z-index: 2;
    bottom: 0;
    right: 0;
    font-size: 14px;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
}


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

  Search Category By Photo

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

.search-category {
    margin: 0 0 25px;
}

.search-ctg-unit {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px 10px;
}

.search-ctg a {
    width: 100%;
    height: 100%;
    display: block;
    transition: all .3s;
}

.search-ctg a.is-selected,
.search-ctg a:hover {
    background-color: #e0e0e0;
}

.search-ctg figure {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.search-ctg figure img {
    width: 100%;
    flex-shrink: 0;
}

.search-ctg figure figcaption {
    width: 100%;
    font-size: 14px;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    line-height: calc(20 / 14);
    padding: 0 0 0 1em;
}


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

  Modal Styles By Photo

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

.modal-opener {
    width: 300px;
    line-height: 70px;
    border: solid 1px #c0c6d1;
    background-color: #ffffff;
    margin: auto;
}

.modal-opener a {
    position: relative;
    font-size: 16px;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    transition: opacity .3s;
}

.modal-opener a:hover {
    opacity: 0.5;
}

.modal-opener a i {
    font-size: 2em;
    font-style: normal;
    color: #9398a2;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    top: 0;
    width: 100%;
    height: 100vh;
}

.modal-bg {
    position: absolute;
    width: 100%;
    height: 100vh;
    background: rgba(244, 241, 229, 0.9);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    padding: 65px 40px 40px;
    background-color: #ffffff;
}

.modal-content .js-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 36px;
    font-size: 3.6rem;
    line-height: 1.0;
    padding: 0;
    margin: 0;
    display: block;
}

.modal-content h3 {
    font-size: 38px;
    font-size: 3.8rem;
    text-align: center;
    letter-spacing: 0.05em;
    color: #007dbd;
    margin: 0 0 45px;
}

.modal-content h3 span {
    font-size: calc(22 / 38 * 1em);
    color: #000000;
}


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

  lightbox2 Overwrite

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

.lightboxOverlay {
    position: fixed;
    height: 100vh;
    background: rgb(245, 241, 230);
    opacity: 0.9;
}

.lightboxOverlay>.lb-close {
    position: fixed;
    top: 15px;
    right: 15px;
    background: none;
    cursor: pointer;
}

.lightboxOverlay>.lb-close::after {
    content: "×";
    font-size: 36px;
    font-size: 3.6rem;
    font-weight: 100;
}

.lightbox {
    position: fixed;
    top: 0 !important;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
}

.lightbox .lbContainer-wrap {
    position: absolute;
    z-index: 10001;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox .lb-image {
    position: relative;
    border-radius: 0;
    border: 0;
}

.lb-outerContainer {
    position: relative;
    border-radius: 0;
    box-sizing: border-box;
}

.lb-nav a.lb-prev {
    margin: 0 0 0 -50px;
    background-image: url(../images/lightbox/prev.svg);
    background-size: 20px 37px;
    opacity: 1;
}

.lb-nav a.lb-next {
    margin: 0 -50px 0 0;
    background-image: url(../images/lightbox/next.svg);
    background-size: 20px 37px;
    opacity: 1;
}

.lb-dataContainer {
    position: absolute;
    z-index: 10002;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    background-color: #fcfbfa;
    border-radius: 0;
    box-sizing: border-box;
    padding: 0;
}

.lb-data {
    padding: 0;
    color: #000000;
}

.lb-data .lb-details {
    width: 100%;
    float: none;
    text-align: right;
    padding: 15px 12px;
}

.lb-data .lb-caption {
    position: relative;
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.lb-data .lb-caption a {
    color: #000000;
}

.lb-data .lb-caption::after {
    content: "＞";
    transform: scale(0.5, 1.0);
    display: inline-block;
}

.lb-data .lb-number {
    display: none !important;
}

.lb-data .lb-closeContainer {
    position: absolute;
    top: -47.5vh;
    right: -20px;
    /*
  top: initial;
  bottom: 75vh;
  right: -30px;
  */
    float: none;
    width: 100%;
    display: none !important;
}

.lb-data .lb-close {
    background: none;
}

.lb-data .lb-close::after {
    content: "×";
    font-size: 36px;
    font-size: 3.6rem;
    font-weight: 100;
}

.tag-box {
    margin: 0 0 35px;
}
