/* タブレット用 */
@media screen and (min-width: 769px) {
    /* 共通CSS */
    .wrapper {
        width: 100%;
    }
    #side {
        float: left;
        max-width: 50%;
        margin: 0,auto;
        padding: 5px;
        background: #fff;
        

      }
      #side2 {
        float: left;
        max-width: 40%;
        margin: 0 auto;
        padding: 10px;
       
      }
      .side2img{
        max-width: 500px;
        height: auto;
      }
    .flexbox {
        display: flex;
        flex-wrap: no-wrap;
        flex-direction: row;
        text-align: left;
      }

    .box1 {
        width: 55%;
        margin: auto;
        text-align: left;
    }

    .box2 {
        width: 45%;
        margin: auto;
        text-align: right;
    }
    .box2img {
        max-width: 40%;
    }
}

/* スマホ用 */
@media screen and (max-width: 768px) {
    /* 共通CSS */
    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 15px;
    }

    a, p, th, td {
        font-size: 13px;
    }

    .wrapper {
        width: 90%;
    }

    /* header */
    /* PC用メニューを非表示 */
    .pc-menu {
        display: none;

    }

    /* スマホ用メニュー表示 */
    .sp-menu {
        margin: 0 auto;
        width: 70%;
        position: absolute;
        top: 60px;
        left: 0;
    }

    .sp-menu ul li{
        margin: 5px auto;
        text-align: center;
        background-color: rgb(82, 37, 18);
        border-radius: 10px;
        box-shadow: 3px 3px 3px 0 rgba(0,0,0,0.3)
    }
    .sp-menu a{
        color: rgb(255, 255, 255);
    }

    /* メニューボタン */
    .toggle,
    .cart {
        display: block;
        width: 35px;
        height: 30px;
        position: relative;
        top: 18px;
        z-index: 2;
        float: right;
    }

    .toggle:hover {
        cursor: pointer;
    }

    .cart a{
        font-size: 20px;
        color: rgb(77, 4, 47);
    }

    .toggle span{
        display: block;
        height: 3px;
        background: #666;
        position:absolute;
        width: 100%;
        left: 0;
        -webkit-transition: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;   
    }
    .toggle span:nth-child(1){
        top:0px;
    }
    .toggle span:nth-child(2){
        top:12px;
    }
    .toggle span:nth-child(3){
        top:24px;
    }

    /* top-img */
    .top-img {
        height: 350px;
    }

    .top-text {
        transform: translate(-50%, -40%);
    }

    /* news */
    .news-list{
        width: 100%;
    }

    /* about */   
    .about-table th, td {
        width: 100%;
        display: block;
    }

    /* confirm.php */
    form {
        width: auto;
    }

    /* breadcrumb */
    .breadcrumbs li,
    .breadcrumbs li a {
        font-size: 10px;
    }
    .breadcrumbs ul li::before {
        padding: 0 5px 0 0;
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f105";
        font-size: 10px;
        color: #3e3e3b;
    }

     /* sns */
    .sns {
        width: 80%;
    }

    /* login.html */
    .login,
    .register {
        width: 100%;
    }

        .login-form,
        .regi-form {
            width: 90%;
            margin: 0 auto;
        }

    /* shop */
    .itemlist ul li {
        width: 40%;
        margin: 10px 5%;
    }

    .item-form {
        float: inherit;
        text-align: right;
    }

    .item-form input {
        margin-bottom: 5px;
    }
}

 /* cart.html */
 .cart-table {
    width: 100%;
    margin: 0 auto;
}


.cart-table thead {
    display: none;
}

.cart-table th,
.cart-table td {
    border: none;
    padding: 5px 10px;
    text-align: left;
}

.cart-table td form {
    text-align: right;
    width: 90%;
}
.cart-table tbody th {
    display: block;
    text-align: center;
}

.cart-table tbody td::before {
    content: attr(label);
    float: left;
    clear:both;
    font-weight:bold;
}

.cart-table tr {
    border: 1px solid #ebeced;
}

.cart-btn .btn{
    margin-top: 20px;
}

.total td{
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
}

#side {
    float: left;
    max-width: 50%;
    margin: 0,auto;
    padding: 5px;
    background: #fff;
    

  }
  #side2 {
    float: left;
    max-width: 40%;
    margin: 0 auto;
    padding: 10px;
   
  }
  .side2img{
    max-width: 400px;
    height: auto;
  }
  .flexbox {
    
    flex-direction: colmun;
}
.box1 {
    width: 95%;
    margin: 0 auto;
}

.box2 {
    width: 95%;
    margin: 0 auto;
}
.box2img {
    max-width: 100%;
}
  
