@charset "UTF-8";
/* =========================================
  商品一覧（ショートコード）
========================================= */
.kzmProductList {
  max-width: 1230px;
  padding: 0 20px;
  margin: 0 auto;
}
@media (max-width: 830px) {
  .kzmProductList {
    max-width: 580px;
    margin: 0 auto;
  }
}

.kzmProductList__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px 20px;
}
@media (max-width: 880px) {
  .kzmProductList__grid {
    gap: 30px 20px;
  }
}

@media (max-width: 960px) {
  .kzmProductList__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .kzmProductList__grid {
    grid-template-columns: 1fr;
  }
}
.kzmProductCard {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.kzmProductCard__img {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 30px;
}
.kzmProductCard__img img {
  background-color: #fff;
  border: 10px solid #fff;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  transition: transform 0.3s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-radius: 30px;
}

.kzmProductCard:hover .kzmProductCard__img img {
  transform: scale(1.03);
}

.kzmProductCard__meta {
  display: block;
  padding: 12px 14px;
}

.kzmProductCard__name {
  display: block;
  font-weight: 700;
  line-height: 1.4;
  font-size: 14px;
  color: #2b6a91;
  text-align: center;
  margin-top: 50px;
  letter-spacing: 0.2em;
}
@media (max-width: 880px) {
  .kzmProductCard__name {
    margin-top: 20px;
  }
}

.kzmProductCard__price {
  display: block;
  margin-top: 6px;
  opacity: 0.8;
}

/* =========================================
  モーダル
========================================= */
.kzmModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.kzmModal.is-open {
  display: block;
}

.kzmModal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.kzmModal__panel {
  position: relative;
  max-width: 1080px;
  width: min(1080px, 92vw);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  margin: 6vh auto;
  padding: 18px;
}

.kzmModal__close {
  position: absolute;
  top: 30px;
  right: 30px;
  float: right;
  border: none;
  background: transparent;
  line-height: 1;
  cursor: pointer;
  display: block;
  width: 18px;
  height: 18px;
  background-image: url(../img/product/batu.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.kzmModal__body {
  clear: both;
  padding-top: 6px;
}

/* =========================================
  モーダル中身
========================================= */
.kzmModalItem {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 0 30px;
}
@media (max-width: 600px) {
  .kzmModalItem {
    padding: 0 0px;
  }
}

@media (max-width: 780px) {
  .kzmModalItem {
    grid-template-columns: 1fr;
  }
}
.kzmModalItem__img img {
  width: 100%;
  max-height: 400px;
  -o-object-fit: contain;
     object-fit: contain;
  height: auto;
  display: block;
  border-radius: 12px;
}

.kzmModalItem__ttl {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #2b6a91;
  letter-spacing: 0.2em;
}
@media (max-width: 600px) {
  .kzmModalItem__ttl {
    text-align: center;
  }
}

.kzmModalItem__price_wapper {
  display: flex;
  align-items: center;
  margin: 25px 0 45px;
  letter-spacing: 0.2em;
}
@media (max-width: 780px) {
  .kzmModalItem__price_wapper {
    flex-direction: column;
  }
}
.kzmModalItem__price_wapper .kzmModalItem__price_ttl {
  background-color: #2b6a91;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  max-width: 64px;
  width: 100%;
  padding: 3px;
  text-align: center;
  margin-right: 5px;
  letter-spacing: 0.2em;
}

.kzmModalItem__price {
  font-weight: 700;
  margin: 0 0 10px;
  opacity: 0.85;
  color: #2b6a91;
  font-size: 20px;
  letter-spacing: 0.2em;
}

.kzmModalItem__info {
  line-height: 1.8;
  letter-spacing: 0.2em;
}
@media (max-width: 600px) {
  .kzmModalItem__info {
    line-height: 2;
    letter-spacing: 0;
    font-size: 14px;
  }
}

/* =========================================
  ページネーション
========================================= */
.kzmPagination {
  margin-top: 26px;
}

.kzmPagination__list {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.kzmPagination__item a,
.kzmPagination__item span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  text-decoration: none;
  color: inherit;
  background: #327aa3;
  color: #fff;
}

.kzmPagination__item .current {
  border-color: rgba(0, 0, 0, 0.35);
  font-weight: 700;
}

.kzmPagination__item a:hover {
  opacity: 0.75;
}

span.page-numbers.current {
  background-color: #d95836;
  display: flex;
  justify-content: center;
}

@media (min-width: 600px) and (max-width: 880px) {
  .kzmProductCard__name {
    line-height: 2;
    letter-spacing: 0;
    font-size: 14px;
  }
  .kzmModalItem__info {
    line-height: 2;
    letter-spacing: 0;
    font-size: 14px;
  }
}/*# sourceMappingURL=kzm-product-modal.css.map */