.layout-container{
  z-index: 999;
}.product__inner{
  width: 90%;
  margin: 0 auto;
}

.product-wrap .product-wrap__content strong {
  font-weight: 400;
  font-style: italic;
  display: inline-block;
}

.hero-view {
  z-index: 100;
}

.main-visual__content .logo img {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 200px;
  height: auto;
  z-index: 100;
  pointer-events: auto;
  margin-top: 16px;
  filter: drop-shadow(4px 4px 4px #706a65);
}
.products__page__title{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border: none;
  color: var(--color-100);
  font-size: 36px;
}
.product-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  margin: 160px auto 40px auto;
}
.product-wrap img {
  width: 100%;
  height: auto;
}
.product-wrap .product-wrap__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  gap: 20px;
}
.product-wrap .product-wrap__content ul {
  padding-left: 1em;
}
.diamond-list {
  list-style-type: '♦  '; /* 好きな記号を "" で囲んで指定 */
}
/* /////////////////数量セレクター///////////// */
/* 全体のレイアウト */

.quantity-selector {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  width: 160px; /* ボタンと同じ幅に固定 */
  margin-left: auto;
}

.quantity-label {
  font-size: 14px;
  margin-bottom: 8px;
  color: #333;
  text-align: left; /* 160pxの中で左揃えにする */
}

/* 外枠の設定 */
.quantity-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 160px;
  height: 48px;
  border: 1px solid #888;
  padding: 0 10px;
}

/* ボタンの共通スタイル */
.quantity-controls button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #333;
  width: 30px;
  height: 100%;
}

/* 入力欄のスタイル */
.quantity-input {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 18px;
  outline: none; /* クリック時の青い枠線を消す */
  background: transparent;
  /* スピナー（上下矢印）を消す設定 */
  appearance: textfield;
  -moz-appearance: textfield;
}

/* Chromeなどのブラウザで上下矢印を消す */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.product__main .product__btn {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.product__btn{
  margin-bottom: 16px;
}

/* リンク自体の余白もリセット */
.product__main .product__btn .style__btn__wrapper a {
  text-decoration: none;
  margin: 0;
  padding: 0;
  display: block;
}

/* ボタン本体（span）の強制リセット */
.product__main .product__btn .style__btn__wrapper span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 48px;
  margin-top: 0;
  padding: 0;
}
.back-to-product-list{
   display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 48px;
  margin-top: 0;
  padding: 0;
  color: var(--color-600);
  border: 1px solid var(--color-600);
}
.back-to-product-list a{
  text-decoration: none;
  color: var(--color-600);
  font-family: var(--font-secondary);
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: .3s;
}
.back-to-product-list a:hover{
  background-color: var(--color-600);
  color: var(--color-100);

}
/* 商品個別ページ（treatment等）のmainvisual：高さゼロにして、ロゴだけ絶対配置で浮かせる */
#mainvisual.treatment-mv {
  height: 0;
  min-height: 0;
  overflow: visible;
}

/* ///////////////////////////////////////
///////////SP版////////////////////////
/////////////////////////////////////// */
@media screen and (max-width: 1026px) {
  /* セレクタを長くして、他のCSSよりも優先度を高くします */
  /* html body .hero-view.product-mv .main-visual__content .logo img {
    position: absolute !important;
    top: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;

    width: 150px !important;
    height: auto !important;
    margin-top: 0 !important;
    animation: none !important;
    z-index: 9999 !important;
    display: block !important;
  } */

  .hero-view.product-mv {
    position: relative;
    min-height: 100px;
  }
}
@media (max-width: 768px) {
  .product-wrap {
    grid-template-columns: 1fr;
  }
  .button__wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
  }
  .button__wrap .quantity-selector {
    margin-left: 0;
  }
  .back-to-product-list{
    height: 32px;
  }
}
