/* すべてのページに適用される設定 */
html {
    font-size: 16px;
    font-family: Lucida Console;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0000;
}

p,
li,
td {
    line-height: 1.7;
}

a:link {
    color: #808080;
    text-decoration: none;
}

a:visited {
    color: #778899;
    text-decoration: none;
}

a:hover {
    color: #ff1493;
    text-decoration: underline;
}

a:active {
    color: #000;
    text-decoration: underline;
}

img {
    max-width: 100%;
}

/* すべてのページに適用－ヘッダー */

.header {
    background-image: url(images/checksiro.png);
    background-repeat: repeat-x;

}


.logo {
    padding-top: 30px;
    text-align: center;
}

.navi02 {
    margin: 30px 0;
    padding: 30px;
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav a:link {
    color: #253958;
}

.nav a:visited {
    color: #253958;
}

.nav a:hover {
    text-decoration: none;
}

.nav a:active {
    text-decoration: none;
}

/* すべてのページに適用－ヒーロー */
.hero {
    padding: 120px 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    font-size: 25px;
    color: #fff;
}

.hero.index {
    padding: 200px 0;

    background-image: url(images/table_3psd.png);
}

.hero.access {

    background-image: url(images/nasu2.png);

}


.hero.menu {
    
}

.hero.contact {
    background-image: url(images/bajiru.jpg);


}

/* すべてのページに適用－メイン */

.logo {
    margin: 0 auto;
    width: 200px;

}

main {
    max-width: 1000px;
    margin: 90px auto 90px auto;
}

main h2 {
   
    margin: 60px 0 20px 0;
    border-bottom: 1px solid #a9a9a9;
    padding: 0 0 5px 0;
    font-size: 1.0rem;

}



/* すべてのページに適用－フッター */
.gotop {
    text-align: center;
    margin: 0 auto;
    width: 80px;
}

.copyright {
    background-image: url(images/checksiro.png);
    background-repeat: repeat-x;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    color: #000;

}

/*Topに戻る*/
#page_top {
    position: fixed;
    bottom: 30px;
    /*位置の調整*/
    right: 20px;
    /*位置の調整*/
}

#page_top a {
    color: #fff;
    background-color: #aaaaaa;
    text-align: center;
    text-decoration: none;
    padding: 20px 20px;
}


/* 個別のスタイル */
/* index.html */

.indextext {
    text-align: center;
}

.banner {
    text-align: center;
    margin-top: 80px;
}

.shop-info {
    border-collapse: collapse;
    margin: 90px auto 90px auto;

}


.shop-info th,
.shop-info td {
    border: 1px solid #DBDBDB;
    padding: 20px;
}

.shop-info th {
    font-weight: normal;
    width: 112px;
    text-align: left;
    vertical-align: top;
}

/* access.html */

.access-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
}

.map-text {
    width: 50%;
    padding-right: 15px;
    border: none;

}

.map-img {
    text-align: center;
    padding-left: 15px;
    width: 800px;
}


/* menu.html */
.items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.item {
    width: 300px;
    margin: 5px auto 5px auto;
}






.toppings {
    display: grid;
    grid-template-columns: 1fr;
    padding: 15px;
    gap: 0 50px;
    width: 40%;
}

.topping {
    display: flex;
    justify-content: space-between;
}


/* contact.html */
form {
    max-width: 640px;
    margin: 0 auto;
}

input[type="text"],
textarea {
    padding: 6px;
    width: 100%;
    font-size: 1rem;
}

textarea {
    height: 140px;
}

.kind {
    height: 20px;
}

.submit {
    text-align: center;
}

input[type="submit"] {

    border: 1px solid #85888a;
    padding: 5px;
    width: 80px;
    border-radius: 25px;
    background-color: #fff;
    color: #85888a;

    font-size: 1rem;
}

/* モバイル対応 */



@media(max-width:767px) {
    .nav ul {
        flex-wrap: wrap;
        gap: 20px;

    }

    main {
        padding: 0 4%;
    }

    main h2 {
        font-weight: normal;
        font-size: 1.0rem;
    }

    /*　ハンバーガーメニューボタン　*/
    .hamburger {
        display: block;
        position: fixed;
        z-index: 110;
        right: 15px;
        top: 17px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        background: #fff;
        border-radius: 5px;
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: #BBBBBB;
        transition: 0.3s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        top: 10px;
    }

    .hamburger span:nth-child(2) {
        top: 20px;
    }

    .hamburger span:nth-child(3) {
        top: 30px;
    }

    /* ナビメニュー展開時のボタン */
    .hamburger.active span:nth-child(1) {
        top: 20px;
        left: 6px;
        background: #bbbbbb;
        transform: rotate(-45deg);
    }

    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 20px;
        background: #bbbbbb;
        transform: rotate(45deg);
    }

    /* メニュー展開時　*/
    .navi-sp {
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        color: #fff;
        background: rgba(0, 0, 0, 0.7);
        text-align: center;
        width: 100%;
        height: auto;
        opacity: 0;
        visibility: hidden;
        padding: 20px 0;
        transition: 0.3s;
    }

    .navi-sp ul {
        display: flex;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: auto;
        flex-direction: column;
        justify-content: space-between;
    }

    .navi-sp ul li a {
        display: block;
        color: #fff;
        padding: 10px 0;
        margin: 5px 0;
        text-decoration: none;
    }



    /* クリックでナビメニュー開閉 */
    .navi-sp.active {
        opacity: 100;
        visibility: visible;
    }





    /* index.html*/
    .hero.index {
        padding: 28vh 0;
    }

    /* menu.html */
    .items {
        grid-template-columns: 1fr 1fr;
    }

    /* menu.html */
    .items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 100px;
    }

    .item {
        width: 100%;
        margin: 5px auto 5px auto;

    }

    .saladzu {
        width: 40%;
        margin: 0 auto;

    }

    .toppings {
        display: grid;
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 0 50px;
        width: 100%;
    }

    .topping {
        display: flex;
        justify-content: space-between;
    }


    /* access.html */

    .access-wrap {
        display: block;
        gap: 10px;
        align-items: center;
    }

    .map-text {
        width: 100%;
        padding-right: 15px;

    }

    .map-img {
        text-align: center;
        padding-left: 15px;
        width: 100%;
    }
}