/* goods-list.css */

body {
  background: #fff;
}

/* Page Hero Section */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 280px;
  max-height: 400px;
  background-image: url('../img/goods/hero_img_goods_1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 0.2em;
  color: #fff;
  text-shadow: 2px 2px 8px #1462b1cc;
}

.page-subtitle {
  font-size: 1.3em;
  font-weight: 400;
  opacity: 0.9;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.goods-main-section {
  background: #f5fafd;
  padding: 60px 0 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.goods-main-visual {
  width: 48%;
  min-width: 320px;
  max-width: 520px;
  margin: 0 auto 32px auto;
  box-shadow: 0 8px 40px #000a, 0 2px 0 #444;
  border-radius: 18px;
  overflow: hidden;
  background: #222;
}
.goods-main-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.08) drop-shadow(0 2px 8px #0008);
}
.goods-pr-block {
  margin: 32px auto 0 auto;
  background: linear-gradient(135deg, #fff 0%, #e3f0fa 10%);
  border-radius: 16px;
  box-shadow: 0 4px 32px #e3f0fa;
  padding: 32px 36px;
  max-width: 600px;
  color: #222;
  text-align: center;
  border: 1.5px solid #e3f0fa;
}
.goods-pr-block h2 {
  font-size: 1.4em;
  color: #1462b1;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 0 #fff;
}
.goods-pr-block p {
  font-size: 1.08em;
  color: #555;
  line-height: 1.7;
}

.goods-gallery-section {
  background: #fff;
  padding: 60px 0 60px 0;
}
.section-title {
  color: #1462b1;
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px #e3f0fa;
}
.goods-gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 28px;
  justify-content: center;
}
.goods-gallery-card {
  background: linear-gradient(135deg, #fff 60%, #e3f0fa 100%);
  border-radius: 18px;
  box-shadow: 0 6px 32px #e3f0fa, 0 1.5px 0 #eee;
  overflow: hidden;
  width: 340px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1.5px solid #e3f0fa;
  animation: fadeInUp 0.8s both;
}
.goods-gallery-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 48px #3498db22, 0 2px 0 #b3d4fc;
  border-color: #3498db33;
}
.goods-gallery-img {
  width: 100%;
  height: 200px;
  background: #e3f0fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.goods-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1) contrast(1.03) drop-shadow(0 2px 8px #0001);
  transition: filter 0.3s;
}
.goods-gallery-card:hover .goods-gallery-img img {
  filter: brightness(1.05) contrast(1.08) drop-shadow(0 4px 16px #3498db22);
}
.goods-gallery-info {
  padding: 24px 22px 18px 22px;
  color: #222;
}
.goods-gallery-info h3 {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1462b1;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 0 #fff;
}
.goods-gallery-info p {
  font-size: 1em;
  color: #555;
  line-height: 1.7;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .goods-main-section {
    flex-direction: column;
    align-items: center;
    padding: 40px 0 20px 0;
  }
  .goods-main-visual {
    width: 95%;
    max-width: 400px;
  }
  .goods-pr-block {
    padding: 18px 8px;
  }
  .goods-gallery-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .goods-gallery-card {
    width: 95%;
    max-width: 400px;
  }
}
@media (max-width: 768px) {
  .page-hero {
    height: 30vh;
    min-height: 200px;
  }

  .page-title {
    font-size: 2.2em;
  }

  .page-subtitle {
    font-size: 1.1em;
  }
}
@media (max-width: 600px) {
  .goods-main-visual img {
    height: 180px;
  }
  .goods-gallery-img {
    height: 120px;
  }
} 

/* 画像拡大モーダル用 */
.img-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0; top: 0; width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}
.img-modal-content {
  margin: auto;
  display: block;
  max-width: 80vw;
  max-height: 80vh;
  box-shadow: 0 0 20px #fff;
  border-radius: 8px;
}
.img-modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}
.img-modal-close:hover {
  color: #ccc;
} 