@charset "UTF-8";
/* CSS Document */

:root {
  --text_margin: 20px;
  --list_margin: 30px;
  --title_margin: 50px;
  --block_margin: 100px;
  --section_margin: 160px;
}

.pc_display {
  display: block;
}

.sp_display {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --text_margin: 13px;
    --list_margin: 20px;
    --title_margin: 35px;
    --block_margin: 50px;
    --section_margin: 80px;
  }
}
main{
  width: 100%;
  margin-top: calc(var(--title_margin) + 10px);
}
main p,
main li {
  font-size: clamp(13px, 1.7vw, 15px);
}

section {
  margin-bottom: var(--section_margin);
}


.container {
  width: 95%;
  padding-top: var(--title_margin);
  margin: 0 auto var(--block_margin) auto;
  display: flex;
  position: relative;
  max-width: 1300px;
}

.allSlide {
  width: 54%;
  height: fit-content;
  margin: 0;
  display: flex;
  position: sticky;
  top: 101px;
}

#cushionSlider {
  width: 91%;
  height: fit-content;
  margin: 0;
  margin-right: 10px;
  aspect-ratio: 1/1;

}

#cushionSlider .swiper-slide {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
}

#cushionSlider .swiper-slide img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
#thumbsSlider {
  width: 9%;
  height: auto;
  margin: 0;

}
#thumbsSlider .swiper-slide {
  display: block;
  opacity: 0.4;
  width: auto;
  height: auto;
  aspect-ratio: 1/1;
  margin-bottom: 10px;
}
#thumbsSlider .swiper-slide:last-child {
  margin-bottom: 0px;
}
#thumbsSlider .swiper-slide-thumb-active {
  opacity: 1;
}
@media (max-width: 768px) {
  #cushionSlider {
    margin-right: 7px;

  }
  #thumbsSlider .swiper-slide {
  margin-bottom: 7px;
}
}
/* 右側テキストエリア */
.right {
  margin-left: 50px;
  /*  max-width: 570px;*/
  width: 46%;
}

/* 商品名 */
.name {
  width: 100%;
  margin-bottom: var(--text_margin);

}

.name h1 {
  font-size: clamp(28px, 3.8vw, 43px);
  margin-bottom: var(--text_margin);
}

.name p {
  font-size: clamp(13px, 1.7vw, 15px);
}

/* 価格 */
.price_box {
  margin-bottom: var(--title_margin);
}

.price {
  font-size: clamp(17px, 1.7vw, 18px);
}

.price span {
  font-size: clamp(23px, 3.8vw, 32px);
  margin-left: clamp(5px, 1vw, 7px);

}

.price_box strong {
  font-size: clamp(11px, 1.7vw, 13px);
}


/* 商品説明 */
.info {
  margin-bottom: var(--title_margin);
  line-height: 1.7;
}

.spec {
  width: 100%;
}

.spec td,
.spec th {
  font-size: clamp(11px, 1.7vw, 13px);
}

.spec td {
  width: auto;
  text-wrap: nowrap;
  padding-right: var(--list_margin);
  padding-top: var(--text_margin);
  vertical-align: top;
  white-space: nowrap;
}

.spec th {
  text-align: left;
  padding: var(--text_margin) 0;
}

.spec tr {
  border-bottom: #B0B2AF 1px solid;
}

.spec tr:last-child {
  border-bottom: none;
}

/* 戻るボタン */
section.back_btn {
  max-width: 1300px;
  margin: 0 auto var(--block_margin);
}

.base_btn.back {
  padding: 1.2em 2.5em;
}

.base_btn.back span {
  font-size: clamp(13px, 1.7vw, 15px);
}

.base_btn.back span::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: solid 1px #B0B2AF;
  border-left: solid 1px #B0B2AF;
  transform: rotate(-45deg);
  display: inline-block;
  margin-right: 10px;

}

@media screen and (max-width: 768px) {
  
  .name h1 {
    margin-top: var(--text_margin);
  }
  
  section.container {
    width: 95%;
    padding-top: var(--title_margin);
    margin: 0 auto var(--block_margin) auto;
    flex-direction: column;
  }

  .allSlide {
    width: 100%;
    margin-bottom: var(--title_margin);
    position: static;
  }

  .right {
    margin-left: 0px;
    width: 100%;
  }

  section.back_btn {
    width: 95%;
    margin: 0 auto var(--block_margin) auto;
  }

  #cushionSlider .swiper-slide img {
    height: 100%;
  }
}

/* おすすめ商品 */
.re_section {
  background-color: #EEF0F2;
  padding: var(--title_margin) 0;
}

.recommendation .title {
  width: 100%;
  text-align: center;
  padding-bottom: var(--title_margin);
}

.recommendation .title h2 {
  font-size: clamp(28px, 4.5vw, 45px);
  color: #afb2ae
}

.recommendation .swiper li {
  cursor: pointer;
  width: calc(100% / 5.3);
}
.recommendation .swiper li a{
  transition: opacity .45s;
}
.recommendation .swiper li a:hover{
  opacity: .4;
}
.recommendation .swiper li img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 678/525;
  margin-bottom: 15px;
}

.recommendation .swiper h5 {
  font-size: clamp(15px, 1.7vw, 16px);
  line-height: 1.2;
  margin-bottom: 5px;
}

.recommendation .swiper small {
  display: block;
  margin-bottom: 5px;
}

.recommendation .swiper small,
.recommendation .swiper small span {
  font-size: clamp(13px, 1.7vw, 14px);
  line-height: 1.2;
}

.recommendation .swiper .text_box {
  padding: 0 15px;
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
  .recommendation .swiper li {
    width: calc(100% / 4.3);
  }
}

@media screen and (max-width: 768px) {
  .recommendation .swiper li {
    width: calc(100% / 2.3);
  }

  .pc_display {
    display: none;
  }

  .sp_display {
    display: block;
  }
}


#thumbsSlider ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
}

#thumbsSlider ul li img {
  width: 100%;
}

.cart_btn {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: #1c1c1c;
  transition: opacity .35s;
  z-index: 0;
}
.cart_btn::before{
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background-color: #B0B2AF;
  border: #1c1c1c solid 1px;
  opacity: 0;
  top: 0;
  left: 0;
  z-index: -1;
  transition: opacity .35s;
}
.cart_btn:hover:before{
  opacity: 1;
}
.cart_btn b {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  transition: color .35s;
}

.cart_btn b img {
  margin-right: 10px;
}

main form {
  position: fixed;
  z-index: 2;
  bottom: 70px;
  right: 3.5%;
  width: 220px;
  height: 45px;
}

@media (min-width: 1000px) {
  form {
    bottom: 15px;
    right: 15px;
    width: 220px;
    height: 45px;
    transform: none;
  }
}

.modal-body {
  width: 93%;
  height: auto;
  aspect-ratio: 1/1;
}

.modal-body img {
  height: 100%;
  object-fit: contain;
}

@media (min-width: 769px) {
  .modal-body {
    width: auto;
    height: 82%;
  }

}


/* --- */
.note01{
  font-size: clamp(12px, 1.6vw, 13px);
  line-height: 1.77;
}
.note02{
  font-size: clamp(11px, 1.4vw, 12px);
  line-height: 1.45;
  margin-top: 13px;
}
.table_st{
  display: block;
  margin-top: var(--title_margin,50px);
  font-size: clamp(12px, 1.6vw, 13px);
  line-height: 1;
  padding-bottom: var(--text_margin,20px);
  border-bottom: 1px solid #EEF0F2;
}

.twoClmTable{
  display: flex;
  align-items: flex-start;
  gap:var(--text_margin,20px);
}
.twoClmTable table.spec{
  width:calc((100% - 20px) / 2);
}
.twoClmTable table.spec tr{border-color: #EEF0F2;}
.twoClmTable table.spec th,
.twoClmTable table.spec td{
  font-size: clamp(12px, 1.6vw, 13px);
  width:calc((100% - 20px) / 2);
  vertical-align: top;
}
.twoClmTable table.spec td{
  padding-right:var(--text_margin);
}
.img_size{
  margin-top: 35px;
}

@media (min-width: 769px) {
  .img_size{ margin-top: 15px;}
}







