  /* mobile modal invisible setting */

.main_content_mobile {
  display: none;
}

.products_name_mobile {
  display: none;
}

.main_pic_mobile {
  display: none;
}

.products_id_mobile {
  display: none;
}

.small_pic_mobile {
  display: none;
}

.small_pic_ul_mobile {
  display: none;
}

.small_pic_li_mobile {
  display: none;
}

.close_modal_mobile {
  display: none;
}

/* **************************end*/

.content {
  margin: 0 auto;
  padding: 0px;
}

.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
}

.modal__bg {
  background: rgba(0, 0, 0, 0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
  z-index: 100;
}

.modal__content {
  border-radius: 10px;
  background: #fff;
  left: 50%;
  padding: 0px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  /*min-width: 857px;*/
  width: 93vw;
  /*min-height: 499px;*/
  height: 93vh;
  z-index: 101;
}

.closebtn {
  margin-block: -5px;
  position: absolute;
  top: 2vh;
  left: 90vw;
  width: 30px;
}

.main_content {
  display: flex;
  width: 100%;
  height: 100%;
}

.left_box {
  position: relative;
  width: 70%;
  height: 100%;
  background-color: transparent;
}

.big_pic {
  width: 100%;
  height: 100%;
  background-color: transparent;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

.slider-r {
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 90vh;
  height: 100%;
  max-height: 90vh;
}

.right_box {
  display: inline-block;
  /* align-items: baseline; */
  position: relative;
  width: 30%;
  height: 100%;
  background-color: transparent;
  padding: 50px 0;
}

.text_content {
  display: inline-block;
  /* top: 0%; */
  /* left: 0%; */
  position: relative;
  /* transform: translate(-50%, -50%); */
  width: 100%;
  /* height: 30%; */
  background-color: transparent;
  /* text-align: center; */
  margin-bottom: 10px;
}

.no_size {
  display: none;
}

.small_pic {
  background-color: transparent;
  display: inline-block;
  width: 100%;
  justify-content: space-evenly;
}

.ulpic {
  display: inline-block;
  text-align: center;
  justify-content: space-evenly;
}

.lipic {
  display: inline-block;
  text-align: center;
  justify-content: space-evenly;
  margin-top: 3px;
  border: 1px solid rgba(0, 0, 0, 0.8);
}

div > ul > li > .s_pic {
  width: 5.5vw;
  height: 5.5vw;
}

div > ul > li > .s_pic:hover {
  box-shadow: 0 0 8px rgb(195, 6, 57);
}

@media screen and (max-width: 320px) {
  /*for iphone 5*/
  .small_pic_li_mobile {
    /*the pictures boxes that in modal where is under product detail text. */
    display: inline-flex;
    width: 35px;
    height: 35px;
    justify-content: space-evenly;
    background-color: transparent;
    border: 1px solid #333333;
    margin-bottom: none;
  }

  .small_pic_li_mobile img {
    /*small picture rendaring size*/
    width: 100%;
    height: 100%;
  }
}

@media screen and (min-width: 321px) and (max-width: 375px) {
  /*for iphone 6*/
  .small_pic_li_mobile {
    /*the pictures boxes that in modal where is under product detail text. */
    display: inline-flex;
    width: 45px;
    height: 45px;
    justify-content: space-evenly;
    background-color: transparent;
    border: 1px solid #333333;
    margin-bottom: 5px;
  }

  .small_pic_li_mobile img {
    /*small picture rendaring size*/
    width: 100%;
    height: 100%;
  }
}

@media screen and (min-width: 376px) and (max-width: 480px),
  (min-height: 668px) {
  .small_pic_li_mobile {
    /*the pictures boxes that in modal where is under product detail text. */
    display: inline-flex;
    width: 53px;
    height: 53px;
    justify-content: space-evenly;
    background-color: transparent;
    border: 1px solid #333333;
    margin-bottom: 5px;
  }

  .small_pic_li_mobile img {
    /*small picture rendaring size*/
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 480px) {
  /*-------------------modal for mobile-----------------------*/

  .modal {
    background-color: transparent;
    height: 100vh;
    position: fixed;
    width: 100%;
  }

  .modal__bg {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
    z-index: 100;
  }

  .modal__content {
    border-radius: 10px;
    background: #fff;
    left: 50%;
    padding: 0px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 85vh;
    z-index: 101;
  }

  /*desk top modal css cancel*/
  .main_content {
    display: none;
  }

  .left_box {
    display: none;
  }

  .big_pic {
    display: none;
  }

  .slider-r {
    display: none;
  }

  .list_big {
    display: none;
  }

  .right_box {
    display: none;
  }

  .text_content {
    display: none;
  }

  .no_id {
    display: none;
  }

  .products_id span {
    display: none;
  }

  .small_pic {
    display: none;
  }

  .ulpic {
    display: none;
  }

  .lipic {
    display: none;
  }

  div > ul > li > .s_pic {
    display: none;
  }

  div > ul > li > .s_pic:hover {
    display: none;
  }

  .closebtn {
    display: none;
  }

  /*end::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::*/

  /* for mobile modal css from here */

  .main_content_mobile {
    display: block;
    border-radius: 10px;
    background: white;
    left: 50%;
    padding: 0px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 91vh;
    z-index: 101;
  }

  .products_name_mobile {
    display: block;
    width: 100%;
    height: 40px;
    background-color: transparent;
  }

  .products_name_mobile h3 {
    margin-top: 1vh;
    font-size: 14pt;
    text-align: center;
  }

  .main_pic_mobile {
    display: block;
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 5px;
  }
  
  .main_pic_mobile img{
    width: 80%;
  }

  .products_id_mobile {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }

  .small_pic_mobile {
    display: block;
    width: 100%;
    height: min-content;
    background-color: transparent;
    padding: 1px;
  }

  .small_pic_ul_mobile {
    display: block;
    width: 100%;
    height: 100%;
    background-color: transparent;
    text-align: center;
  }

  .close_modal_mobile {
    display: block;
    width: 100%;
    height: 40px;
    text-align: center;
    margin-top: auto;
  }

  /* end ************************** */
}

.amazon_thumb {
    margin: auto;
    width: 90px;
    text-align: center;
    overflow: hidden;
    height: 530px;
    scrollbar-width: none;
}

@media screen and (max-width: 480px) {
  .amazon_thumb {
        margin: auto;
        width: 70%;
        text-align: center;
        height: 70px;
        overflow: hidden;
  }
}

@media screen and (max-width: 410px) {
  .amazon_thumb {
        width: 80%;
  }
}

@media screen and (max-width: 364px) {
  .amazon_thumb {
        width: auto;
  }
}


.amazon_ul {
  display: inline-block;
  text-align: center;
  justify-content: space-evenly;
}

.amazon_ul li {
  display: inline-block;
  text-align: center;
  justify-content: space-evenly;
  margin-top: 5px;
  border: 1px solid rgba(36, 36, 36, 0.5);
}

.amazon_ul li img:hover {
  box-shadow: 0 0 8px gray;
}

.amazon_ul li img {
  width: 60px;
  height: 60px;
}

.amazon_ul li img:hover {
  box-shadow: 0 0 8px rgb(195, 6, 57);
}

.front_pic {
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(0%, 0%);
  width: 530px;
  height: 530px;
}

@media screen and (max-width: 480px) {
  .front_pic {
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(0%, 0%);
    width: 250px;
    height: 250px;
  }
}

/*ナビゲーションボタンの色*/
.sp-button {
  border: 2px solid #ccc;
}

.sp-selected-button {
  background-color: #ccc;
}

/*縦スライド時の矢印の位置*/
.sp-vertical .sp-previous-arrow {
  top: 0;
}

.sp-vertical .sp-next-arrow {
  bottom: 0;
}

.sp-thumbnail-container {
  border: solid 1px #ccc;
}

.slider img {
  width: 100%;
  height: 50vw;
  object-fit: cover;
}

/* vartical scroll setting  */
.detail_page_vartical_scroll{
  display: flex;
  flex-direction: row;
  height: 530px;
}

@media screen and (max-width:480px) {
 
  /* vartical scroll setting  */
  .detail_page_vartical_scroll{
    display: block;
    flex-direction: row;
    height:339px;
  }
  
}

