@charset "utf-8";

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

  『キーワードで検索』PC Style

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

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

  Section

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

/* Product LineUp
---------------------------------- */
.keyword-search .product-list { padding: 0 0 105px; }
.keyword-search .product-lineup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 85px 60px;
  align-items: stretch;
}
.keyword-search .product-item {
  width: 100%;
  margin: 0;
}
.keyword-search .product-item figure a {
    width: 100%;
    height: auto;
    aspect-ratio: 670 / 447;
    overflow: hidden;
    cursor: pointer;
    /*
 *   padding: 0 0 calc(447 / 670 * 100%);
 *     background-repeat: no-repeat;
 *       background-position: 0 0;
 *         background-size: cover;
 *           */
}

.keyword-search .product-lineup.pl2 { margin: 85px 0 0; }
.keyword-search .product-lineup.pl2.is-active { margin: 85px 0 75px }

.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;
}


/* Product Item Background Image
---------------------------------- */
.keyword-search .product-item .pi01 a { background-image: url(../images/search/ziturei_search_img001.jpg); }
.keyword-search .product-item .pi02 a { background-image: url(../images/search/ziturei_search_img002.jpg); }
.keyword-search .product-item .pi03 a { background-image: url(../images/search/ziturei_search_img003.jpg); }
.keyword-search .product-item .pi04 a { background-image: url(../images/search/ziturei_search_img004.jpg); }
.keyword-search .product-item .pi05 a { background-image: url(../images/search/ziturei_search_img005.jpg); }
.keyword-search .product-item .pi06 a { background-image: url(../images/search/ziturei_search_img006.jpg); }
.keyword-search .product-item .pi07 a { background-image: url(../images/search/ziturei_search_img001.jpg); }
.keyword-search .product-item .pi08 a { background-image: url(../images/search/ziturei_search_img002.jpg); }
.keyword-search .product-item .pi09 a { background-image: url(../images/search/ziturei_search_img003.jpg); }
.keyword-search .product-item .pi10 a { background-image: url(../images/search/ziturei_search_img004.jpg); }
.keyword-search .product-item .pi11 a { background-image: url(../images/search/ziturei_search_img005.jpg); }
.keyword-search .product-item .pi12 a { background-image: url(../images/search/ziturei_search_img006.jpg); }

/* Search By Feature
---------------------------------- */
.keyword-search .search:first-of-type { padding: 0 0 160px; }
.keyword-search .search:last-of-type { padding: 0 0 100px; }
.keyword-search .search .inner { padding: 0 300px; }
.keyword-search .search-wrap {
  width: 600px;
  height: 50px;
}
.keyword-search .search-wrap::after {
  right: 20px;
  width: 20px;
  height: 21.5px;
}
.keyword-search .search-wrap [type="text"] { height: 48px; }
.keyword-search ::-webkit-input-placeholder {
  font-size: 15px;
  font-size: 1.5rem;
}
.keyword-search ::-moz-placeholder {
  font-size: 15px;
  font-size: 1.5rem;
}
.keyword-search :-ms-input-placeholder {
  font-size: 15px;
  font-size: 1.5rem;
}
.keyword-search .search p {
  line-height: calc(40 / 15);
  margin: 0;
}
.keyword-search .search p .tag {
  font-size: 15px;
  font-size: 1.5rem;
}

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

  Pagination By Keyword

---------------------------------- */
.pagination {
  position: relative;
  font-size: 16px;
  font-size: 1.6rem;
  letter-spacing: 0.075em;
  text-align: center;
  margin: 120px 0 0;
}
.pagination a {
  margin: 0 15px;
  display: inline-block;
  transition: all .3s;
}
.pagination a:hover { opacity: 0.7; }
.pagination .arrow {
  display: inline-block;
  transform: scale(0.5, 1.0);
}
.pagination .curt-num {
  font-weight: 600;
  margin: 0 15px;
  display: inline-block;
}
.pagination .arrow .prev { transform-origin: 0 50%; }
.pagination .arrow .next { transform-origin: 100% 50%; }

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

/* Fixed Search Button
 * --------------------------------- */
.fixed-search-btn {
  position: fixed;
  z-index: 1000;
  right: 0;
  bottom: 145px;
  width: 190px;
  line-height: 50px;
  font-size: 16px;
  font-size: 1.6rem;
  letter-spacing: .05em;
  text-align: center;
  color: #ffffff;
  background-color: #007dbe;
  text-indent: 1em;
  white-space: nowrap;
  cursor: pointer;
}
.fixed-search-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  width: 21px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: url(../images/detail/glass.svg);
  background-size: cover;
}

.search-by-feat {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: 100vh;
}
.modal-bg {
  position: absolute;
  width: 100%;
  height: 100vh;
}
.modal-content {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 880px;
  max-width: 60%;
  height: auto;
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
  box-shadow: 0 0 12px 3px rgba(0,0,0,.1);
}
.modal-content h2 {
  font-size: 36px;
  font-size: 3.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0 auto 30px;
}
.modal-content p {
  line-height: calc(30 / 13);
  margin: 0 0 35px;
}
.modal-content p .tag {
  font-size: 13px;
  font-size: 1.3rem;
}
a.js-modal-close {
  position: absolute;
  top: 30px;
  right: 0;
  display: block;
  cursor: pointer;
}
a.js-modal-close span {
  width: 40px;
  height: 2px;
  background-color: #000000;
  display: inline-block;
}
a.js-modal-close span:first-of-type {
  transform: translateX(20px) rotate(-45deg);
  transform-origin: 50% 50%;
}
a.js-modal-close span:last-of-type {
  transform: translateX(-20px) rotate(45deg);
  transform-origin: 50% 50%;
}

@media screen and (max-width:768px) {
  .modal-content {
    width: 80%;
    max-width: initial;
  }
}

