body {
  background: radial-gradient(circle at 50% 30%, #fbeee6 0%, #f4e8e8 100%);
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 2rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.nav-link {
  color: #555;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link.active {
  color: #d4a574;
  font-weight: 500;
}

.nav-link:hover {
  color: #d4a574;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4a574, #c49660);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-separator {
  color: #ccc;
  margin: 0 0.5rem;
  font-weight: 300;
}

.products-cards {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.main-content {
  padding-top: 80px;
  margin-bottom: 120px;
  min-height: 100vh;
}

.products-title {
  display: flex;
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: #888;
  align-items: center;
  justify-content: center;
  margin-right: 2.5rem;
  margin-bottom: 2.5rem;
  gap: 0.5rem;
}

.star-pink {
  position: static;
  width: 2rem;
  margin-bottom: 1.5rem;
  margin-right: 0.2rem;
  vertical-align: middle;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1.2rem 1.2rem;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s;
  min-height: 320px;
  position: relative;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.product-image-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.product-image-circle img {
  width: 80px;
  height: 80px;

  object-fit: contain;
}
.product-info {
  text-align: left;
  width: 100%;
  padding-bottom: 2.5em;
}
.product-label.yo {
  color: #1ed760;
  font-weight: bold;
  font-size: 1.1rem;
}
.product-title {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-left: 0.3em;
  color: #333;
}
.product-desc {
  font-size: 0.98rem;
  color: #444;
  margin: 0.7em 0 0.5em;
}
.product-links {
  margin-bottom: 0.7em;
}
.product-link {
  color: #f38e8e;
  text-decoration: underline;
  margin-right: 1em;
  font-size: 0.95em;
}

.product-detail-btn {
  background: #fff;
  color: #f38e8e;
  border: 1px solid #f38e8e;
  border-radius: 8px;
  width: 70px;
  padding: 0.5em 1.5em;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transition: background 0.2s;
  text-align: center;
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  transform: translateX(-50%);
  margin: 0;
  text-decoration: none;
}
.product-detail-btn:hover {
  background: #f38e8e;
  color: #fff;
}

.school-products-section {
  margin-top: 4rem;
}
.school-products-title {
  font-family: "Playfair Display", serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: #888;
  text-align: center;
  margin-bottom: 2.5rem;
}
.school-products-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.school-product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.school-product-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  width: 240px;
  padding: 1rem 1rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  min-height: 320px;
}
.school-product-card-link:hover .school-product-card,
.school-product-card-link:focus .school-product-card {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-6px) scale(1.03);
}
.school-product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.7em;
}
.school-product-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
}
.school-product-desc {
  font-size: 0.95rem;
  color: #444;
  margin: 0.5em 0 0.3em;
}
.school-product-date {
  font-size: 0.85rem;
  color: #aaa;
}
@media (max-width: 900px) {
  body {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .navbar {
    padding: 0.8rem 1rem;
  }

  .nav-links {
    gap: 0.3rem;
  }

  .nav-link {
    font-size: 0.8rem;
    letter-spacing: 0.3px;
  }

  .nav-separator {
    margin: 0 0.3rem;
    font-size: 0.8rem;
  }
  .products-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 0.7rem;
    row-gap: 0.7rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .school-products-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .school-product-card {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 1rem 0.7rem;
    min-height: unset;
    max-height: unset;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    transition: box-shadow 0.3s, transform 0.3s;
    cursor: pointer;
  }

  .product-card {
    flex: 1 1 calc(50% - 0.35rem);
    max-width: calc(50% - 0.35rem);
    min-width: 90px;
    box-sizing: border-box;
    padding: 1.5rem 1.2rem 1.2rem;
    width: 100%;
    min-height: unset;
    max-height: unset;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
  }

  .product-image-circle {
    width: 58px;
    height: 58px;
    margin-bottom: 0.2rem;
  }
  .product-image-circle img {
    width: 40px;
    height: 40px;
  }
  .school-product-card img {
    width: 100%;
    height: 7rem;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.3em;
  }
  .products-title {
    font-size: 1.6rem;
    gap: 0.2rem;
    margin-bottom: 1.2rem;
  }
  .star-pink {
    width: 0.8rem;
    margin-bottom: 0.5rem;
  }
  .school-products-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }
  .product-title,
  .school-product-title {
    font-size: 0.8rem;
    margin-bottom: 0.1em;
  }
  .product-desc,
  .school-product-desc {
    font-size: 0.7rem;
    margin: 0.2em 0 0.1em;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .product-label.yo {
    font-size: 0.7rem;
  }
  .product-link {
    font-size: 0.7em;
    margin-right: 0.5em;
  }
  .product-detail-btn {
    font-size: 0.7em;
    padding: 0.2em 0.5em;
    margin-top: 0.2em;
  }
  .school-product-date {
    font-size: 0.6rem;
  }
}
