@charset "UTF-8";

@media (max-width: 768px){

    footer{
        display: block;
        width: 95%;
        padding: 0;
        margin: 0 auto 80px auto;
        height: 50%;
        .logo {
            width: 100%;
            display: block;
            margin-top: 50px;
            .shopinfo{
                width: 100%;
                text-align: center;
                margin: 0 auto;
                .flexbox{
                    flex-direction: row;
                    width: 300px;
                    margin: 0 auto;
                }
            }
        }
       & .footer-tel {
                align-items: center;
                width: 95%;
                margin: 0 auto;
                & .tel {
                    justify-content: center;
                    flex-direction: row;
                    gap: 1rem;
                    img {
                        width: 15px;
                    }
                    a {
                        font-size: 1.5rem;
                    }
                }
                p{
                    font-size: 0.6rem;
                }
        }
        
    }

    #Hamburger {
        top: 0;
        position: relative;
    }
    header {
        a{
        .logo {
            width:98%;
            flex-direction: row;
        }
    }
    }

    .top-text {
        display: none;
    }

    .top-cap {
        display: none;
    }

    #swiper1{
        height: 70svh;
    }

    .message {
        margin: 0px auto 0 auto;
            & .message-text {
                p {
                    font-size: 1rem;
                }
            }
        }

    .flexbox {
        flex-direction: column;
        .left{
            width: 95%;
            img{
                width: 100%;
            }
        }
        .right{
            width: 95%;
            img{
                width: 100%;
            }
        }
    }

    #swiper2{
        height: 30svh;
    }

    #swiper6{
        width: 100vw;
    }

    .shopexterior {
        .ontext {
            top: 40%;
            width: 100%;
            left: 0;
            p {
                line-height: 1;
            }
        }
    }

    #Recipe {
        h2 {
            font-size: 1.5rem;
            margin: 0 auto 20px auto;
            width: 95%;
        }
    }

    #swiper3{
        width: 95%;
        margin: 0 auto;
        a{
            aspect-ratio: 1 / 1;
        }
    }

    #Menu {
        h2 {
            font-size: 1.5rem;
            margin: 0 auto;
        }
        .flexbox {
            margin-bottom: 20px;
            .right{
                margin: 20px 0 0 0;
                width: 100%;
            }
            .menu-text {
                width: 95%;
                h3 {
                    font-size: 1.2rem;
                    letter-spacing: 10px;
                    margin: 20px auto 0 auto;
                }
                p{
                    margin: 0;
                    font-size: 0.8rem;
                }
            }
        }
    }

    #swiper7{
        height: 70svh;
        position: relative;
        margin-bottom: 50px;
        .ontext{
            background-color: #11111175;
            border-radius: 10px;
            top: 70%;
            bottom: 10%;
            width: 90%;
            left: 5%;
          }
          p{
            margin: 0;
            font-size: 0.8rem;
            letter-spacing: 10px;
        }
          h3{
            font-size: 1rem;
            letter-spacing: 20px;
            margin: 0;
          }
          .swiper-slide{
            position: relative;
            overflow: hidden;
           .ontext{
            writing-mode: inherit;
            width: 95%;
            left: 2.5%;
            text-align: left;
            top: 90%;
            height: 10%;
            text-align: center;
                  h4{
                    font-size: 1.2rem;
                    margin: 1%;
                  }
                  p{
                    font-size: 0.7rem;
                    margin: 0;
                  }
           } 
          }
    }
    .calendar-area {
        width: 95%;
        margin: 0 auto 50px auto;
        flex-direction: column;
        .calendar-date {
            width: 100%;
            margin: 0 auto;
            .flexbox{
                h1 {
                    font-size: 4rem;
                    margin: 0;
                }
                p {
                    margin: 0 0 15px 0;
                    font-size: 2rem;
                }
            }
            h2 {
                width: 95%;
                    font-size: 1.5rem;
            }
            p{
                font-size: 1.3rem;
            }
            .calendar-button{
                margin: 10px auto;
                button{
                    width: 20%;
                    height: 25px;
                }
            }
            .flexbox {
                width: 80%;
                flex-direction: row;
                margin: 0 auto;
            }
        }
        .calendar-day{
            width: 100%;
            margin: 0 auto;
            #calendar{
                table {
                    width: 100%;
                    tr:first-child {
                        height: 20px
                    }
                    tr{
                        height: auto;
                        td{
                            .holiday{
                            width: 50px;
                            height: 50px;
                            }
                        }
                    }
                }
            }
        }
    }
    #profile{
        .sp{
            .flexbox{
                width: 90%;
                flex-direction: row;
                gap: 5%;
                & .left {
                    img {
                        width: 80%;
                    }
                }
                .right {
                    width: 70%;
                    .follw {
                        display: flex;
                        font-size: 0.5rem;
                        padding: 0;
                            p:nth-child(2) {
                                font-size: 0.8rem;
                                }
                    }
                }
            }
            #biography-sp{
                font-size: 0.8rem;
                text-align: start;
                width: 95%;
                margin: 10px auto;
            }
        }
    }   

    #News{
        width: 100%;
        height: auto;
        padding: 0;
        .post {
            padding: 10% 2.5% 10% 2.5%;
            border-bottom: 1px solid;
            & .post-area {
                width: 100%;
                h2 {
                    font-size: 1.5rem;
                }
                .post-cat {
                    flex-direction: row;
                    width: 100%;
                    p{
                        font-size: 0.8rem;
                    }
                }
                & .newspost {
                    .news-item {
                        .flexbox{
                            flex-direction: row;
                        }
                        h4 {
                            text-align: left;
                            margin: 2%;
                        }
                    }
                }
            }
            .button{
                width: 60%;
                margin:0 auto;
            }
        }
        .access {
            margin: 0 auto;
            padding-bottom: 10%;
            .post-area{
                padding: 10% 0;
            }
            .button{
                width: 60%;
                margin:0 auto;
            }
        }
        .access::after {
            display: none;
        }
    }   

    .chef{
        width: 100%;
        .message-text{
            h6{
                text-align: start;
            }

        }
    }
    .post-flexbox{
        flex-direction: column;
        #primary{
            width: 100%;
        }
        #sidebarbox{
            width: 100%;
            margin-left: 0;
            .widget{
                width: 100%;
            }
            .taxonomy{
                width: 100%;
            }
        }
    }

    #sidebarbox{
        #nagai{
            width: 100%;
        }
    }
    .single-page-header{
        flex-direction: column;
        width: 100%;
        height: auto;
        .left{
            width: 100%;
        }
        .right{
            width: 95%;
            margin: 0 auto;
            padding-top: 0;
            h1{
                font-size: 1.1rem;
            }
            .post-date{
                font-size: 1rem;
                .category-name{
                    max-width: 0 auto;
                }
            }
        }
    }
    .post-flexbox{
        .content-area{
            .site-main{
                article{
                    width: 100%;
                    padding-bottom: 4rem;
                    h1{
                        font-size: 1.2rem;
                    }
                }
            }
        }
    }
    .sp-menu{
        height: 80px;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 300;
        background-color: #ffffff;
        ul{
            flex-direction: row;
            padding: 0;
            justify-content: center;
            align-items: center;
            li{
                width: calc(100% / 5);
                a{
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                    img{
                        width: 30px;
                    }
                }
            }
        }
    }
}