@charset "utf-8";

.wrapper {
  position: relative;
}

.modal {
  width: 100vw;
  height: 100vh;
  color: #053456;  background-color: rgba(0, 0, 0, .5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 99999999;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-around;
  display: none;
}

.modal .inner {
  background-color: #ece7dc;
  width: 60%;
  position: relative;
  padding: 40px;
  padding-bottom: 120px;
  border-radius: 10px;
}

.modal-brand {
  display: none;
}

.modal .close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 30px;
  display: inline-block;
  cursor: pointer;
}

.modal-img {
  width: 30%;
  margin: auto;
  display: block;
}

.modal-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.modal-title span {
  display: block;
  font-size: 12px;
  line-height: 1.6;
}

.modal-txt {
  width: 50%;
  margin: auto;
  overflow-wrap: break-word;
  font-size: 13px;
  line-height: 1.4;
}

.modal-link {
  text-align: center;
  padding: 40px;
}

.modal-link a {
  border: 1px solid #053456;  padding: 10px 40px;
  position: relative;
  transition: .5s;
  z-index: 1000;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 8px;
}

.modal-link a:hover {
  background-color: #333;
  color: #fff;
}



.products {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.products .title {
  width: 100%;
  position: relative;
  bottom: 5%;
}

.products .title .head {
  text-align: center;
  font-size: 30px;
  letter-spacing: 8px;
}

.products .title .txt {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 1px;
}

.product-list {
  width: 70%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
}

.product-item {
  width: calc(20% - 60px);
  cursor: pointer;
  transition: .5s;
}

.product-item:hover {
  opacity: .5;
}

.product-item img {
  width: 100%;
}

.products-eb {
  background-color: #ece7dc !important;
}

.products-eb .title {
  color: #053456
;}

.products-eb .product-list {
  justify-content: flex-start;
  gap: 0;
}

.products-vg {
  background-color: #000 !important;
}

.products-vg .product-list {
  justify-content: space-around;
}

.products-vg .product-item {
  border: 1px solid #fff;
  padding: 14px 20px;
  position: relative;
}

.products-vg .product-item::after {
  content: "";
  height: 1px;
  width: 0px;
  position: absolute;
  top: 50%;
  left: 95%;
  background-color: #fff;
  transition: .5s;
}

.products-vg .product-item:hover::after {
  width: 30px;
}

/* メディアクエリ - 商品ページ */
@media screen and (max-width: 768px) {
  .modal {
    padding: 10px;
  }
  
  .modal .inner {
    width: 100%;
    padding: 20px;
    padding-bottom: 50px;
    background-image: none !important;
  }
  
  .modal .close-btn {
    top: 15px;
    left: 15px;
  }
  
  .modal-img {
    width: 60%;
  }
  
  .modal-title {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .modal-txt {
    width: 100%;
    font-size: 11px;
  }
  
  .modal-link {
    padding: 40px 0 0;
  }
  
  .modal-link a {
    padding: 8px 20px;
    font-size: 12px;
  }
  
  .products {
    gap: 20px;
  }
  
  .products .title {
    width: 100%;
    bottom: 0;
  }
  
  .products .title .head {
    font-size: 20px;
  }
  
  .products .title .txt {
    margin-top: 8px;
    font-size: 12px;
  }
  
  .product-list {
    width: 100%;
    gap: 10px;
    justify-content: space-around;
  }
  
  .product-item {
    width: 30%;
    cursor: pointer;
  }
  
  .products-eb .product-list {
    justify-content: space-around;
  }
}



