@charset "utf-8";
/*=======================================================================
製品紹介
=======================================================================*/
.items_title {
  background-image: url("../img/title/bg_ti_items.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.entry,
.related {
  margin-bottom: 92px;
}
/* =====  一覧：タブコンテンツ ===== */
.tab-container {
  width: 90%;
  max-width: 1020px;
  margin: 40px auto;
}
.tab-buttons {
  display: flex;
}
.tab-button {
  flex: 1;
  padding: 12px;
  background: #ccc;
  color: #666;
  border: none;
  cursor: pointer;
  max-width: 240px;
  margin-right: 16px;
  font-weight: bold;
}
.tab-button.is-active {
  background: #ec6b42;
  color: #fff;
}
.tab-content {
  display: none;
  padding: 32px;
  background: #fff;
  border: 1px solid #ec6b42;
}
.tab-content.is-active {
  display: block;
}
.tab-content li {
  margin: 8px;
  display: inline-block;
}
.tab-content li a {
  border: 1px solid #666;
  color: #666;
  padding: 8px;
  border-radius: 100vh;
  text-decoration: none;
}
.tab-content li a:hover {
  background: #666;
  color: #fff;
}
#item-frame,
#item-frame-detail {
  width: 90%;
  max-width: 1020px;
  margin: 40px auto;
}
#item-frame {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#item-frame-detail h3 {
  text-align: left;
}
#item-frame li {
  width: 49%;
  margin-bottom: 72px;
}
#item-frame li img {
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
#item-frame li dl {
  margin-bottom: 24px;
}
#item-frame li dl div dt {
  font-weight: 700;
}
#item-frame li .btn {
  width: 140px;
}
#item_detail .btn_container.btn_items02 .btn,
#item_detail .btn_container.btn_shopping .btn,
.btn_container.btn_shopping .btn {
  width: 300px;
}
@media all and (min-width: 961px) {
  #item-frame {
    justify-content: flex-start;
  }
  #item-frame li {
    width: 32%;
    margin-right: 12px;
  }
  #item-frame li dl div {
    display: flex;
  }
  #item-frame li dl div dt {
    width: 25%;
  }
  #item-frame li .btn {
    width: 200px;
  }
  #item_detail .btn_container.btn_items02 .btn,
  #item_detail .btn_container.btn_shopping .btn,
  .btn_container.btn_shopping .btn {
    width: 400px;
  }
}
/* =====  画像切替 ===== */
.entry {
  width: 100%;
}
.image-switcher {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.image-switcher li {
  margin-bottom: 10px;
}
#image-switcher-box li {
  margin-bottom: 16px;
}
.main-image {
  position: relative;
  width: 100% !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.main-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.main-image img.is-active {
  opacity: 1;
}
.thumb {
  cursor: pointer;
  width: 19%;
}
.thumb img {
  display: block;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
@media all and (min-width: 961px) {
  #image-switcher-box {
    width: 55%;
  }
  #item_detail {
    width: 39%;
  }
  .thumb {
    width: 19% !important;
  }
}
#item_detail dl {
  width: 100%;
}
#item_detail dl div {
  margin-bottom: 24px;
  position: relative;
}
@media (max-width: 768px) {
  #item_detail dl div:after {
    position: absolute;
    content: "";
    background: #ec6b42;
    width: 100%;
    height: 1px;
    bottom: -12px;
  }
}
#item_detail dl dt,
#item_detail dl dd {
  padding: 2% 0;
}
#item_detail dl dt {
  font-weight: 700;
}
@media (min-width: 769px) {
  #item_detail dl div {
    display: flex;
    justify-content: space-between;
  }
  #item_detail dl dt,
  #item_detail dl dd {
    border-bottom: 1px solid;
    padding: 2% 0;
  }
  #item_detail dl dt {
    border-color: #666;
  }
  #item_detail dl dd {
    border-color: #ec6b42;
  }
  #item_detail dl dt {
    width: 36.5%;
  }
  #item_detail dl dd {
    width: 62.5%;
  }
}
#relatedbox p {
  font-size: clamp(1.125rem, 1.05rem + 0.38vw, 1.5rem) /*18-24|320-1920*/;
  color: #666;
  font-weight: 700;
}
@media (max-width: 1024px) {
  #relatedbox {
    width: 60%;
    margin: auto;
  }
}
