body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 1024px;
  margin: 0 auto;
}
.topredline{
  background-color:#c80202;
  height:30px;
  width:100%;
}
.header {

}

.headimg{
  width:500px;
}

.mainbox{
    display: flex;
    flex-direction: row;
    width:95%;
    margin-top:5px;
    padding: 1em 1.5em;
    background-color:#ffffff;/*背景色*/
    border:1px solid #cacaca;/*枠線*/
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);/*影*/
    color:#000000;/*文字色*/
    border-radius: 10px;
}
.rightbox{
    width: 50%;
}

.itemtext{
    padding: 1em 1.5em;
    background-color:#ffffff;/*背景色*/
    border:1px solid #cacaca;/*枠線*/
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);/*影*/
    color:#000000;/*文字色*/
    margin:0 auto;
    width:80%;
}
.price{
    color:rgb(198, 0, 0);
    font-weight: bold;
    display: inline-block;
    display: inline;
    font-size:1.5em;
}

.yen{
    font-size:small;
    display: inline-block;
    display: inline;
}
.shipping{
  font-size:small;
  padding-left:10px;
  display: inline-block;
  display: inline;
}

.link {
  text-decoration-line: none;
  color:rgb(163, 0, 0);
}
.button{
  width:60%;
  height:40px;
  border-radius:10px;
  border: 1px solid #ff9500;
  box-shadow: 0 5px 0 #d1d0cc;
  background-color: #ffb300;
}

/* ホバー時 */
.button:hover {
  box-shadow: none;
  transform: translateY(5px);
}

.shosai{
    border-radius: 10px;
    padding: 2em 4em;
    margin-top: 10px;
    background-color:#ffffff;/*背景色*/
    border:1px solid #cacaca;/*枠線*/
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);/*影*/
    color:#000000;/*文字色*/
}

.footerimg{
  text-align:center;
}

.footlink{
  text-decoration-line: none;
  color:white;
  font-size:small;
}
.footer{
  text-align:center;
  background-color:#940404;
  color:#ffffff;
  padding-top:25px;
  height:150px;

}

/*swiper*/

.wrapper {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-block: 10px;
  }





/*モバイル対応*/
  @media screen and (max-width: 767px) {

    .mainbox{
        display: flex;
        flex-direction: column;
        border-radius: 10px;
        width:85%

    }
    .wrapper {
      max-width: 100%;

    }
    .headimg{
      width:80%;
    }
    .setumei{
      padding: 5px;
    }
    .rightbox{
        width: 100%;
        padding:0px;
    }

    .rightboxitem{
        width:85%;
        margin: 0 auto;
    }
    .container {
        width:100%;
        margin: 0 auto;
      }
    .itemtext{
      padding: 1em 1em;
      width:95%;
    }
    .shosai{
      padding: 2em 2em;
    }
    .section01{
      max-height:150px;
    }

    .guidebutton{
      flex-direction:column;
    }

    .buttonitem{
      height:40px;
      min-width:250px;
      border:1px solid #ffb700;
      box-shadow:0 2px 6px #868686;
      border-radius: 10px;
      margin: 10px;
    }

  }
  
/*モバイル対応ここまで*/



  img {
    max-width: 95%;
    height: auto;
  }
  
  .swiper {
      width: min(100%, 500px);
      margin-inline: auto;
  }
  
  .swiper-thumb {
      margin-top: 5px;
  }
  
  .swiper-thumb .swiper-slide {
      opacity: .5;
      transition: opacity .5s ease;
      cursor: pointer;
  }
  
  .swiper-thumb .swiper-slide.swiper-slide-thumb-active {
      opacity: 1;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    --swiper-navigation-color: #535353; //ここに変更する色を指定
}
 
.sample-slider [class^="swiper-button-"]{
    width: 20px;
    height: 20px;
}

/*swiperここまで*/

.header, .content, .item-box, .flex-container, .product-description, .vertical-slider {
  padding: 20px;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.slider-container, .product-details {
  flex: 1;
}

.slider-container img {
  width: 100%;
  height: auto;
  background-color:blue;
}

.vertical-slider img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}


}

/* スライダーのコントロールスタイル */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 16px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
}

.next {
  right: 0;
}

.prev {
  left: 0;
}

/*メニュー*/
.menu-btn {
	/*position: -webkit-sticky;  Safari */ 
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #d40000;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 2px;
    width: 25px;
    border-radius: 2px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 10px;
}
.menu-btn span:after {
    top: 10px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

/*メニューの装飾*/

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #940404;
    transition: all 0.5s;/*アニメーション設定*/
}
#menu-btn-check:checked ~ .menu-content {
    left: 30%;/*メニューを画面内へ*/
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 70%;
    font-size: 0.8em;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
/*ここまでメニュー*/

.trcart{
  position: fixed;
  bottom: 5px; 
  right: 5px;
  padding: 6px 5px;
}

html { scroll-behavior: smooth;}

/*ご利用案内*/
.section01{
  display:flex;
  justify-content: center;
  align-items: center;
  width:100%;
  background-image:url(./image/chokubai.jpg);
  background-size:cover;
  background-repeat:  no-repeat;
  height:350px;
  color:rgb(255, 255, 255);
  text-shadow: 1px 2px 2px #101010;
  font-size:x-large;
}

.guidebutton{
  display:flex;
  justify-content: center;
  align-items: center;
  margin:0 auto;
  margin-top:20px;
}

.buttonitem{
  width:30%;
  height:40px;
  max-width:250px;
  border:1px solid #ffb700;
  box-shadow:0 2px 6px #868686;
  border-radius: 10px;
  margin: 10px;
}

.guide_w{
  display: flex;
  flex-direction:column;
  width:70%;
  margin: 0 auto;
  margin-top:20px;
  padding: 1em 1.5em;
  background-color:#ffffff;/*背景色*/
  border:1px solid #cacaca;/*枠線*/
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);/*影*/
  color:#545454;/*文字色*/
  border-radius: 10px;

}
.hr1{
  width:70%;
  margin-top:-12px;
  border-top: 2px dashed rgb(255, 170, 0);
  text-align:left;
  margin-left:0px;
}

.cardlist{
  max-width:500px;
}

/* 点滅 */
.blink {
	animation: blinking 1s ease-in-out infinite alternate;
}
 
@keyframes blinking {
	0% {opacity: 0;}
	100% {opacity: 1;}
}