@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap");
/* --------------------------------
   Base
-------------------------------- */
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Shippori Mincho", serif;
  color: #222;
  background: #fdfcfb;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* --------------------------------
   Hero
-------------------------------- */
.hero-slider {
  position: relative;
  height: 65vh;
  min-height: 480px;
  overflow: hidden;
  background: #000;
}
.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 12s ease-in-out forwards;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 1;
}
.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: calc(100% - 40px);
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-title-en {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
  text-indent: 0.28em;
}
.hero-title-ja {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.5;
}
@keyframes heroZoom {
  0% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
/* --------------------------------
   Product Layout
-------------------------------- */
.product-space {
  padding: 120px 0;
  background: #f8f7f6;
}
.product-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.product-side {
  min-width: 0;
  align-self: start;
}
.product-side-inner {
  position: sticky;
  top: 120px;
  align-self: start;
}
.product-main {
  min-width: 0;
}
.loading-text {
  padding: 60px 20px;
  color: #777;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-align: center;
}
/* --------------------------------
   Product Side Menu
-------------------------------- */
.product-side-title {
  margin: 0 0 30px;
  padding-left: 15px;
  border-left: 2px solid #9f8660;
  color: #9f8660;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.6;
}
.product-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-menu li {
  border-bottom: 1px solid rgba(159, 134, 96, 0.15);
}
.product-menu a {
  position: relative;
  display: block;
  padding: 20px 28px 20px 0;
  color: #444;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.4s ease;
}
.product-menu a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  opacity: 0.75;
  transform: translateY(-50%) rotate(45deg);
}
.product-menu a:hover, .product-menu a.is-current {
  padding-left: 5px;
  color: #7a623e;
  background: #dddddd;
  font-weight: 600;
}
.product-menu a:hover::after, .product-menu a.is-current::after {
  opacity: 1;
}
/* --------------------------------
   Product Heading
-------------------------------- */
.product-heading {
  margin-bottom: 42px;
}
.product-heading-en {
  margin: 0 0 15px;
  color: #9f8660;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
  text-indent: 0.2em;
}
/* --------------------------------
   Product Group
-------------------------------- */
.product-group {
  display: block;
  margin-bottom: 100px;
  scroll-margin-top: 160px;
}
.product-group:last-child {
  margin-bottom: 0;
}
.product-group-title {
  margin: 0 0 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(159, 134, 96, 0.2);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
}
.description {
  margin: 0 0 30px;
  font-size: 14px;
  line-height: 1.9;
}
/* --------------------------------
   Product Grid
-------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 50px 30px;
  align-items: stretch;
}
.product-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: all 0.4s ease;
}
.product-thumb {
  position: relative;
  margin-bottom: 15px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}
.product-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.1, 0, 0.1, 1);
}
.product-thumb:hover img {
  transform: scale(1.08);
}
.product-item:hover .product-thumb img {
  transform: none;
}
.product-item:hover .product-thumb:hover img {
  transform: scale(1.08);
}
.product-meta {
  display: flex;
  flex: 1;
  flex-direction: column;
  letter-spacing: 0.05em;
}
.product-card-title {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.product-desc {
  margin: 0 0 15px;
  min-height: 3.6em;
  font-size: 13px;
  line-height: 1.8;
}
.product-specs {
  margin-bottom: 12px;
  padding-top: 8px;
  border-top: 1px dotted rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
}
.product-type, .product-capacity, .product-number {
  margin: 0;
  line-height: 1.8;
}
.price {
  margin: auto 0 0;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
}
.price span {
  font-size: 0.85em;
}
.link {
  margin-top: 18px;
}
.link a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  border: 1px solid #9f8660;
  background: #fff;
  color: #9f8660;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.link a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.link a:hover {
  background: #9f8660;
  color: #fff;
}
/* --------------------------------
   Image Modal
-------------------------------- */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.78);
}
.image-modal.is-show {
  display: flex;
}
.image-modal-img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
}
.image-modal-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.image-modal-close:hover {
  background: #9f8660;
  color: #fff;
}
/* --------------------------------
   PC Side Follow
-------------------------------- */
@media screen and (min-width: 768px) {
  .product-side {
    position: relative;
  }
  .product-side-inner.is-fixed {
    position: fixed;
    top: 50px;
    z-index: 10;
  }
  .product-side-inner.is-bottom {
    position: absolute;
    bottom: 0;
  }
}
/* --------------------------------
   Tablet
-------------------------------- */
@media screen and (max-width: 1023px) {
  .product-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 40px;
    padding: 0 24px;
  }
}
/* --------------------------------
   Mobile
-------------------------------- */
@media screen and (max-width: 767px) {
  body {
    line-height: 1.7;
  }
  .hero-slider {
    height: 42vh;
    min-height: 260px;
  }
  .hero-title {
    width: calc(100% - 30px);
  }
  .hero-title-en {
    margin-bottom: 8px;
    font-size: 1rem;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }
  .hero-title-ja {
    font-size: 1.8rem;
    letter-spacing: 0.12em;
  }
  .product-space {
    padding: 60px 10px;
  }
  .product-layout {
    display: block;
    padding: 0 15px;
  }
  .product-side {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
  }
  .product-side.is-hidden-on-footer {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
  }
  .product-side-inner {
    position: static;
  }
  .product-side-title {
    display: none;
  }
  .product-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    width: 100%;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(159, 134, 96, 0.2);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  }
  .product-menu li {
    border-bottom: 1px solid rgba(159, 134, 96, 0.15);
  }
  .product-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 6px;
    box-sizing: border-box;
    border-right: 1px solid rgba(159, 134, 96, 0.15);
    background: #fff;
    color: #555;
    font-size: 11px;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
  }
  .product-menu a::after {
    display: none;
  }
  .product-menu li:nth-child(4n) a {
    border-right: none;
  }
  .product-menu li:nth-last-child(-n + 4) {
    border-bottom: none;
  }
  .product-menu a:hover, .product-menu a.is-current {
    padding-left: 6px;
    background: #e5ddd0;
    color: #7a623e;
    font-weight: 700;
  }
  .product-main {
    padding-bottom: 70px;
  }
  .product-heading {
    margin-bottom: 20px;
  }
  .product-heading-en {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }
  .product-group {
    margin-bottom: 70px;
    scroll-margin-top: 120px;
  }
  .product-group-title {
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 2.4rem;
  }
  .description {
    margin-bottom: 20px;
    font-size: 13px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
  .product-thumb {
    margin-bottom: 12px;
  }
  .product-card-title {
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }
  .product-desc {
    margin-bottom: 12px;
    min-height: 4.8em;
    font-size: 12px;
    line-height: 1.7;
  }
  .product-specs {
    margin-bottom: 10px;
    padding-top: 7px;
    font-size: 1.1rem;
  }
  .price {
    font-size: 1.25rem;
  }
  .link {
    margin-top: 14px;
  }
  .link a::after {
    right: 12px;
    width: 7px;
    height: 7px;
  }
  .image-modal {
    padding: 20px;
  }
  .image-modal-img {
    max-width: 94vw;
    max-height: 78vh;
  }
  .image-modal-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
}