/* タブレット用 */
@media screen and (max-width: 1024px) {
    /* 共通CSS */
    .wrapper {
        width: 80%;
    }
}

/* スマホ用 */
@media screen and (max-width: 660px) {
    /* 共通CSS */
    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 25px;
    }

    h4 {
        font-size: 14px;
    }

    a, p, th, td {
        font-size: 13px;
    }

    .wrapper {
        width: 90%;
    }

    /* header */
    /* PC用メニューを非表示 */
    .pc-menu {
        display: none;
    }

    /* スマホ用メニュー表示 */
    .sp-menu {
        margin: 0 auto;
        width: 90%;
        position: absolute;
        top: 60px;
        width: 100%;
        background: rgba(76, 88, 111, .8);
        left: 0;
    }

    .sp-menu ul li{
        margin: 0 auto;
        text-align: center;
    }

    /* メニューボタン */
    .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: #fff;
    }

    .toggle span{
        display: block;
        height: 3px;
        background: #fff;
        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;
}

/* pay */
.sm-form {
    width: 20%;
}