.product-price-detail {
  font-size: 20px;
  margin: 0 0 28px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 15px;
}

.spec-table th,
.spec-table td {
  border-bottom: 1px solid #ddd;
  padding: 14px 8px;
  text-align: left;
}

.spec-table th {
  width: 140px;
  font-weight: 400;
  color: #555;
}

.spec-table td {
  color: #111;
}

.product-photo img {
  max-width: 140%;
  max-height: 780px;
  width: auto;
  height: auto;
  transition: opacity 0.8s ease;
}
.product-description-box {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
}

.product-description-box h2 {
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 16px;
}

.product-description-box p {
  line-height: 1.9;
  font-size: 15px;
}
.product-header {
  background: #111;
  height: 92px;
  padding: 0 60px;
  display: flex;
  align-items: center;
}

.product-logo img {
  width: 144px;
  height: auto;
  display: block;
}
.product-info h1 {

  font-family: "Times New Roman", serif;

}
body {
  font-family: "Times New Roman", "Yu Mincho", serif;
}
.product-info {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.product-price-detail {
  text-align: right;
}
.product-info h1 {
  font-size: 44px;
}

.product-price-detail {
  font-size: 28px;
}
.product-info h1 {
  margin-left: -20px;
}

.contact-form {
  max-width: 320px;
  margin: 60px 80px 0 auto;
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

.contact-form h2 {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-top: 16px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.contact-form button {
  margin-top: 24px;
  width: 100%;
  padding: 14px;
  background: #111;
  color: #fff;
  border: none;
  font-size: 14px;
  cursor: pointer;
}
.contact-area {
  display: flex;
  gap: 250px;
  margin-top: 0px;
  align-items: flex-start;
  justify-content: center;   
}

.contact-form {
  max-width: 320px;
  margin: 60px 0 0 40px;    
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

.contact-note {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.9;
  margin-top: 250px;
}

.contact-form h2,
.contact-note h2 {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-top: 16px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.contact-form button {
  margin-top: 24px;
  width: 100%;
  padding: 14px;
  background: #111;
  color: #fff;
  border: none;
  font-size: 14px;
  cursor: pointer;
}
.brand-sign {
  text-align: right;
  margin-top: 20px;
}


/* ===== 共通レイアウト：ヘッダー＋左カテゴリ ===== */

.page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
}

.side-category {
  min-height: calc(100vh - 92px);
  padding: 46px 34px;
  background: #fff;
  border-right: 4px solid #002b66;
}

.side-category a {
  display: block;
  color: #111;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  font-family: "Times New Roman", "Yu Mincho", serif;
}
}

/* ===== トップページ ===== */

.home-main {
  padding: 36px 5% 80px;
}

.home-visual {
  max-width: 1200px;
  margin: 0 auto 54px;
}

.home-visual img {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  display: block;
}

.home-products {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 34px;
}

.home-product-card {
  color: #111;
  text-decoration: none;
  text-align: center;
}

.home-product-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
}

.home-product-name {
  font-size: 13px;
  margin: 12px 0 5px;
  letter-spacing: 0.04em;
}

.home-product-price {
  font-size: 13px;
  margin: 0;
}

.home-info {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
}

@media (max-width: 800px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .side-category {
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 18px 20px;
    display: flex;
    gap: 18px;
    overflow-x: auto;
  }

  .side-category a {
    margin-bottom: 0;
    white-space: nowrap;
  }

  .home-products {
    grid-template-columns: 1fr;
  }
}
.home-visual img {
  transition: opacity 0.8s ease;
}
/* ===== 共通レイアウト ===== */

body {
  margin: 0;
  font-family: "Times New Roman", "Yu Mincho", serif;
  color: #111;
}

.product-header {
  background: #111;
  height: 92px;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.product-logo img {
  width: 120px;
  display: block;
}

/* ===== 左カテゴリ ===== */

.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.side-category {
  padding: 40px 30px;
  border-right: 4px solid #002b66;
  background: #fff;
}

.side-category a {
  display: block;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

/* ===== トップ画像（スライド） ===== */

.home-main {
  padding: 40px 5% 80px;
}

.home-visual {
  max-width: 1100px;
  margin: 0 auto 60px;
}

.home-visual img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  display: block;
  transition: opacity 0.8s ease;
}

/* ===== 商品一覧 ===== */

.home-products {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.home-product-card {
  text-decoration: none;
  color: #111;
  text-align: center;
}

.home-product-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.home-product-name {
  margin: 12px 0 4px;
  font-size: 13px;
}

.home-product-price {
  font-size: 13px;
}

/* ===== 下のinfo ===== */

.home-info {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
}

/* ===== スマホ対応 ===== */

@media (max-width: 800px) {
  .page-layout {
    grid-template-columns: 1fr;
  }

  .side-category {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }

  .side-category a {
    white-space: nowrap;
  }

  .home-products {
    grid-template-columns: 1fr;
  }
}
.side-category a {

  font-size: 18px;

  letter-spacing: 0.12em;

  line-height: 2;

}
.instagram-link a {
  color: #111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.instagram-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.instagram-link a:hover {
  color: #c40000;
}

.side-category a:hover {
  color: #9b0000;
}
.product-footer-info {
  max-width: 760px;
  margin: 80px auto 0;
  padding-top: 34px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 16px;
  line-height: 2;
}

.product-footer-info .instagram-link a {
  color: #111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.product-footer-info .instagram-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.product-logo img {
  width: 130px !important;
}
/* ロゴ位置・サイズの強制調整 */
.product-logo img {
  width: 145px !important;
}

.product-header {
  padding-left: 55px !important; /* 右に寄せる */
}
/* 左カテゴリの右線を黒にして下まで伸ばす */
.side-category {
  border-right: 4px solid #111 !important;
  min-height: calc(100vh - 92px) !important;
}
.page-layout {
  min-height: calc(100vh - 92px) !important;
}
.side-category {
  padding-top: 100px !important;
}
.home-products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 46px 34px !important;
  max-width: 1100px !important;
  margin: 0 auto 90px !important;
}

.home-product-card img {
  width: 100%;
  height: 270px;
  object-fit: contain;
}
@media (max-width: 800px) {
  .home-products {
    grid-template-columns: 1fr !important;
  }
}
.page-layout {
  min-height: calc(100vh - 92px) !important;
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  align-items: stretch !important;
}

.side-category {
  min-height: 100% !important;
  border-right: 4px solid #111 !important;
}
.side-category {
  border-right: 4px solid #111 !important;
  min-height: calc(100vh - 95px) !important;
}
.page-layout {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  align-items: stretch !important;
}

.side-category {
  border-right: 4px solid #111 !important;
  min-height: 100% !important;
}
.side-category {
  position: sticky !important;
  top: 92px; /* 上の黒帯の高さ */
  align-self: start;
  height: calc(100vh - 92px);
  overflow-y: auto;
}

.side-category {
  position: static !important;
  width: auto !important;
  height: auto !important;
  background: #fff;
  border-right: 4px solid #111 !important;
}

main,
.home-main {
  margin-left: 0 !important;
}
.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: start; /* ←これ重要 */
}

.side-category {
  position: sticky;
  top: 92px; /* 黒帯の高さ */
  height: fit-content;
}
body {
  overflow-x: hidden;
}

/* ===== sticky修正版：左カテゴリ追従 ===== */

.page-layout {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  align-items: start !important;
}

.side-category {
  position: sticky !important;
  top: 92px !important;
  align-self: start !important;
  height: calc(100vh - 92px) !important;
  overflow-y: auto !important;

  padding-top: 160px !important;
  border-right: 4px solid #111 !important;
  background: #fff !important;
}

/* ===== 左カテゴリ固定：完成版 ===== */

.page-layout {

  display: grid !important;

  grid-template-columns: 240px 1fr !important;

}

.side-category {

  position: fixed !important;

  top: 92px !important;

  left: 0 !important;

  width: 240px !important;

  height: calc(100vh - 92px) !important;

  padding: 100px 30px 40px !important;

  background: #fff !important;

  border-right: 4px solid #111 !important;

  overflow-y: auto !important;

  z-index: 10 !important;

}

.page-layout > main,

.home-main {

  grid-column: 2 !important;

  margin-left: 0 !important;

}
/* 左カテゴリ固定：幅調整版 */
.page-layout {
  display: block !important;
}

.side-category {
  position: fixed !important;
  top: 92px !important;
  left: 0 !important;
  width: 210px !important;
  height: calc(100vh - 92px) !important;
  box-sizing: border-box !important;

  padding: 150px 30px 40px !important;
  background: #fff !important;
  border-right: 3px solid #111 !important;
  z-index: 10 !important;
}

.side-category a {
  font-size: 20px !important;
  letter-spacing: 0.14em !important;
  margin-bottom: 34px !important;
  white-space: nowrap !important;
}

/* メイン全体を左カテゴリ分だけ右にずらす */
.home-main,
.page-layout > main {
  margin-left: 200px !important;
}

/* 左カテゴリの線だけページ側に固定 */
.side-category {
  border-right: none !important;
}

body::before {
  content: "";
  position: fixed;
  top: 92px;
  left: 190px;
  width: 3px;
  height: calc(100vh - 92px);
  background: #111;
  z-index: 5;
}

/* 商品ページ画像：トップスライド風に自動調整 */
.product-photo {
  text-align: center;
  padding: 40px 0 0;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  max-width: 1100px;
  max-height: 720px;
  object-fit: contain;
  height: auto;
  transition: opacity 0.8s ease;
}

/* 商品画像：トップと同じ挙動にする（完全版） */
.product-photo {
  text-align: center;
  padding: 40px 0 0;
}

.product-photo img {
  width: auto !important;
  height: auto !important;

  max-width: 90vw !important;
  max-height: 80vh !important;

  object-fit: contain;
  display: block;
  margin: 0 auto;

  transition: opacity 0.8s ease;
}

.product-image-wrapper {
  position: relative;
}

.sold-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #111;
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  letter-spacing: 0.1em;
  z-index: 2;
}
.sold-price {
  color: #9b0000;
  font-weight: bold;
  letter-spacing: 0.08em;
}
.home-product-card .product-image-wrapper {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-product-card .product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-product-name {
  font-size: 18px !important;
}

.home-product-price {
  font-size: 17px !important;
}
.site-footer-info {
  max-width: 1200px;
  margin: 90px auto 0;
  padding: 56px 0 70px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 18px;
  line-height: 2.2;
}

.site-footer-info .instagram-link a {
  color: #111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-footer-info .instagram-link img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.site-footer-info {
  font-size: 13px !important;
  line-height: 1.9 !important;
}

.site-footer-info .instagram-link img {
  width: 18px !important;
  height: 18px !important;
}
/* ===== Archive Page ===== */

.archive-main {
  padding: 60px 5% 80px;
}

.archive-grid {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.archive-item {
  aspect-ratio: 1 / 1;
  border: none;
  padding: 0;
  background: #eee;
  cursor: pointer;
  overflow: hidden;
}

.archive-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 拡大表示 */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 86vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 38px;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 64px;
  cursor: pointer;
}

.lightbox-arrow.left {
  left: 36px;
}

.lightbox-arrow.right {
  right: 36px;
}

@media (max-width: 800px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox-arrow {
    font-size: 44px;
  }
}
.static-page {
  max-width: 720px;
  margin: 80px auto;
  line-height: 2;
  font-size: 15px;
}

.static-page h1 {
  font-size: 28px;
  margin-bottom: 40px;
  font-family: "Times New Roman", serif;
}

.static-page ul {
  margin: 24px 0;
  padding-left: 24px;
}
.contact-area {
  max-width: 1100px !important;
  margin: 90px auto 0 !important;
  gap: 120px !important;
  align-items: flex-start !important;
}

.contact-form {
  width: 360px !important;
  max-width: 360px !important;
  margin: 0 !important;
  padding-top: 34px !important;
  border-top: 1px solid #111 !important;
}

.contact-form h2,
.contact-note h2 {
  font-size: 22px !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
}

.contact-form label {
  font-size: 14px !important;
  letter-spacing: 0.06em !important;
  margin-top: 22px !important;
}

.contact-form input,
.contact-form textarea {
  border: none !important;
  border-bottom: 1px solid #bbb !important;
  padding: 12px 2px !important;
  background: transparent !important;
  font-family: inherit !important;
  font-size: 15px !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none !important;
  border-bottom: 1px solid #111 !important;
}

.contact-form button {
  margin-top: 34px !important;
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #111 !important;
  padding: 16px !important;
  letter-spacing: 0.18em !important;
}

.contact-note {
  max-width: 420px !important;
  margin-top: 120px !important;
  line-height: 2.1 !important;
}
.contact-main-button {
  display: block;
  max-width: 420px;
  margin: 50px 0;
  padding: 18px;
  background: #111;
  color: #fff;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.12em;
}

.contact-instagram-area {
  margin-top: 60px;
}

.contact-instagram {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  text-decoration: none;
  color: #111;
}

.contact-instagram img {
  width: 40px;
  height: 40px;
}

.contact-mail {
  margin-top: 60px;
}

.contact-mail a {
  color: #111;
  text-decoration: none;
}

.contact-note-simple {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.9;
}
.contact-main-button {
  display: block;
  max-width: 420px;
  margin: 50px 0;
  padding: 18px;
  background: #111;
  color: #fff;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.12em;
}

.contact-instagram-area {
  margin-top: 60px;
}

.contact-instagram {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  text-decoration: none;
  color: #111;
}

.contact-instagram img {
  width: 40px;
  height: 40px;
}

.contact-mail {
  margin-top: 60px;
}

.contact-mail a {
  color: #111;
  text-decoration: none;
}

.contact-note-simple {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.9;
}
.product-contact-simple {
  max-width: 760px !important;
  margin: 80px auto 0 !important;
  padding-top: 34px !important;
  border-top: 1px solid #ddd !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 26px !important;
  align-items: flex-start !important;
}

.product-contact-simple .contact-main-button {
  width: 100%;
  max-width: 420px;
}

.product-contact-note {
  font-size: 14px;
  line-height: 1.9;
  margin-top: 10px;
}
.product-contact-section {
  max-width: 900px !important;
  margin: 90px auto 0 !important;
  padding-top: 34px !important;
  border-top: 1px solid #ddd !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 80px !important;
  align-items: start !important;
}

.product-contact-simple {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 26px !important;
}

.product-contact-section .contact-note {
  margin: 0 !important;
  max-width: none !important;
  font-size: 14px !important;
  line-height: 2 !important;
}

@media (max-width: 900px) {
  .product-contact-section {
    grid-template-columns: 1fr !important;
    gap: 50px !important;
  }
}
@media (max-width: 800px) {
  .page-layout {
    display: block !important;
  }

  .side-category {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    padding: 18px 20px !important;
    border-right: none !important;
    border-bottom: 1px solid #111 !important;
    display: flex !important;
    gap: 22px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  .side-category a {
    display: inline-block !important;
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
    margin-bottom: 0 !important;
    flex: 0 0 auto !important;
  }

  .home-main,
  .page-layout > main {
    margin-left: 0 !important;
    padding: 28px 20px 70px !important;
  }

  body::before {
    display: none !important;
  }
}
/* ===== Archive layout fix ===== */

.archive-main {
  padding: 60px 5% 80px !important;
}

.archive-grid {
  max-width: 1100px !important;
  margin: 0 auto 80px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
}

.archive-item {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border: none !important;
  padding: 0 !important;
  background: #eee !important;
  overflow: hidden !important;
  cursor: pointer !important;
  display: block !important;
}

.archive-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* スマホ */
@media (max-width: 800px) {
  .archive-main {
    padding: 30px 12px 60px !important;
  }

  .archive-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
}
/* ===== 商品画像の歪み防止 ===== */

.product-photo img {
  width: auto !important;
  height: auto !important;
  max-width: 90% !important;
  max-height: 75vh !important;
  object-fit: contain !important;
}

/* トップ・ALLの商品カード画像は歪ませない */
.home-product-card img,
.product-image-wrapper img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* 商品一覧の画像枠 */
.product-image-wrapper {
  width: 100% !important;
  height: 360px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
/* ===== 商品一覧：3列・画像歪み防止 完全固定 ===== */

.home-products {

  display: grid !important;

  grid-template-columns: repeat(3, 1fr) !important;

  gap: 46px 34px !important;

  max-width: 1100px !important;

  margin: 0 auto 90px !important;

}

.product-image-wrapper {

  width: 100% !important;

  height: 360px !important;

  display: flex !important;

  align-items: center !important;

  justify-content: center !important;

  overflow: hidden !important;

}

.product-image-wrapper img {

  width: auto !important;

  height: auto !important;

  max-width: 100% !important;

  max-height: 100% !important;

  object-fit: contain !important;

}

/* 商品ページの大画像 */

.product-photo img {

  width: auto !important;

  height: auto !important;

  max-width: 90% !important;

  max-height: 75vh !important;

  object-fit: contain !important;

}

/* スマホ */

@media (max-width: 800px) {

  .home-products {

    grid-template-columns: 1fr !important;

  }

  .product-image-wrapper {

    height: 300px !important;

  }

}
/* ===== RESET & FIX ===== */

/* 商品一覧（トップ・ALL） */
.home-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.product-image-wrapper {
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 商品ページ */
.product-photo img {
  max-width: 90%;
  max-height: 70vh;
  object-fit: contain;
}

/* アーカイブ */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.archive-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.archive-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* スマホ */
@media (max-width: 800px) {
  .home-products {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ===== 商品一覧レイアウト（おすすめ） ===== */

.home-products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 60px 40px !important;
  max-width: 1000px !important;
  margin: 0 auto 100px !important;
}

.product-image-wrapper {
  width: 100% !important;
  height: 420px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.product-image-wrapper img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* スマホ */
@media (max-width: 800px) {
  .home-products {
    grid-template-columns: 1fr !important;
  }

  .product-image-wrapper {
    height: 320px !important;
  }
}
@media (max-width: 800px) {

  .product-logo img {

    margin-left: -10px;

  }

}
/* ===== スマホ専用：ナビ2列＋横揺れ防止 ===== */
@media (max-width: 800px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .page-layout,
  .home-main,
  .page-layout > main {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .side-category {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 18px !important;

    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    white-space: normal !important;

    padding: 18px 20px !important;
    border-right: none !important;
    border-bottom: 1px solid #111 !important;
  }

  .side-category a {
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

}