* {
    box-sizing: border-box;
}

.layout-right h1 {
    font-size: 2rem;
    line-height: 2.5rem;
    letter-spacing: 0.3rem;
    margin: 1.5em 0 2em 0;
}

h2 {
    font-size: 1.5rem;
    padding-top: 1em;
    padding-bottom: .3em;
    margin-bottom: 1em;
    border-bottom: 1px solid black;
}

h2.white {
    border-color: white;
}

h3 {
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    color: black;
    padding-top: 1em;
    padding-bottom: .6em;
}

h4 {
    font-size: 1.4rem;
    letter-spacing: 0.05rem;
    padding-bottom: 1em;
}

h2,
h3,
h4 {
    text-align: left;
}

ul {
    list-style: none;
    padding-left: 0px;
}

label:hover {
    cursor: pointer;
}

/*defalt mobile*/
/*banner*/

.banner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

.banner .banner_image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner .banner_image img {
    width: 100%;
    height: auto;
}

.banner .banner_text {
    padding: 0 30px 0 30px;
}

/*explain shop*/
.takeout_shopinfo_text {
    width: 100%;
    padding: 0 30px 0 30px;
    line-height: 1.8rem;
    letter-spacing: 0.8px;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
}

/*reservation*/
.reservation {
    margin-top: 2em;
    padding: 0 30px 0 30px;
    display: flex;
    justify-content: center;
}

.reservation > div {
    width: 100%;
}

.reservation div ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    justify-items: center;
}

.reservation div ul li {
    width: 90px;
    height: 90px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1);
}

.reservation div li a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reservation div ul li a img {
    width: 100%;
    height: auto;
}

/*category*/
.displayNone {
    display: none;
}

.menu {
    margin-top: 2em;
    padding: 0 30px 0 30px;
    display: flex;
    justify-content: center;
}

.menu div article label h3 {
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
}

.menu > div {
    width: 100%;
}

.menu div article label {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: gray solid 0.8px;
    color: gray;
}

.menu div article .inner_menu {
    position: absolute;
    padding-top: 10px;
    opacity: 0;
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    align-items: center;
    transform-origin: top center;
    transform: scaleY(0);
}

/*category accordion*/
.menu div article [type="checkbox"]:checked ~ label ~ .inner_menu {
    position: static;
    opacity: 1;
    transform: scaleY(1);
    transition: all 0.3s ease-in-out;
}

.menu div article [type="checkbox"]:checked ~ label {
    color: black;
}

/*menu card*/
.card {
    width: 345px;
    height: 160px;
    display: flex;
    align-items: center;
    border-radius: 30px;
    flex-wrap: nowrap;
    overflow: hidden;
    margin: 10px 0 10px 0;
    -webkit-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.1);
}

.card .photo_frame {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card .photo_frame img {
    width: 160px;
    height: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;'
}

.card .text_frame {
    padding-top: 10px;
    width: 100%;
    height: 100%;
}

.card .photo_frame ~ .text_frame {
    width: 185px;
    padding-top: 0;
}

.card .text_frame ul {
    margin: 0;
    padding: 15px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card.black {
	box-shadow: 0px 0px 3px 1px rgb(255 255 255 / 80%);
}

.card .text_frame ul li {
    width: 100%;
    font-size: 1rem;
    line-height: 1.1rem;
}

.card .text_frame ul li:first-child {
    font-weight: bold;
}

.card .text_frame ul li:nth-child(2) {
    font-size: 0.9rem;
    text-align: right;
    padding-top: 15px;
    padding-bottom: 5px;
    border-bottom: gray solid 1px;
}

.card .text_frame ul li:last-child {
    padding-top: 5px;
    font-size: 0.8rem;
}

/*accordion icon*/

.menu div article [type="checkbox"] ~ label svg {
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}

.menu div article [type="checkbox"]:checked ~ label svg {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

/*QnA*/
.qna {
    margin-top: 2em;
    padding: 0 30px 0 30px;
    display: flex;
    justify-content: center;
}

.qna > div {
    width: 100%;
}

.qna div ul {
    font-size: 1.2rem;
    line-height: 1.8rem;
    letter-spacing: 0.3px;
}

.qna div ul:first-of-type {
    margin-top: 1em;
}

.qna div ul:last-of-type {
    margin-bottom: 0;
}

.qna div ul li {
    width: 100%;
}

.qna div ul li label {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qna div ul li label span {
    padding-right: 10px;
}

.qna div ul li label svg {
    font-size: 1rem;
    color: gray;
    transform: rotate(0deg);
    transition: all 0.2s ease-in-out;
}

.qna div ul li:last-child {
    border-top: gray solid 0.8px;
    background-color: rgba(0, 0, 0, 0.1);
    margin-top: 15px;
    padding-left: 30px;
    padding-right: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    max-height: 0px;
    opacity: 0;
    transform-origin: top center;
    transform: scaleY(0);
    transition: all 0.2s ease-in-out;
}

/*QnA accordion*/
.qna div ul [type="checkbox"]:checked ~ li ~ li {
    max-height: 100%;
    opacity: 1;
    transform: scaleY(1);
    transition: all 0.2s ease-in-out;
    margin-bottom: 20px;
}

.qna div ul [type="checkbox"]:checked ~ li label svg {
    color: black;
    transform: rotate(180deg);
    transition: all 0.2s ease-in-out;
}

.white svg {
    color: white!important;
}

/*shopinfo*/
.takeout_shopinfo {
    margin-top: 2em;
    width: 100%;
    padding: 0 30px 0 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.takeout_shopinfo_inner {
    width: 100%;
}

.takeout_mapbox .takeout_gmap iframe {
    width: 100%;
    height: 180px;
}

.takeout_mapbox .shopname_box .shopname_box_inner {
    width: 100%;
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-column-gap: 30px;
    padding-top: 15px;
}
.takeout_mapbox .shopname_box .shopname_box_inner ul {
    width: 100%;
    letter-spacing: 0.08rem;
    line-height: 1.1rem;
    display: grid;
    grid-template-rows: 1fr 2fr 1fr 1fr;
    grid-row-gap: 10px;
}

.shopname_box_inner {
    border-top: gray solid 0.8px;
    border-bottom: gray solid 0.8px;
}

/*footer*/
#footer {
    padding-bottom: 25px;
}

#footer .spbtn {
    display: none;
}

#footer-info {
    padding: 30px 0 0 0;
}

@media (min-width: 992px) {
    .menu div article .inner_menu {
        grid-template-columns: 1fr 1fr;
    }

    #footer-info {
        padding: 30px 0 30px 0;
    }
}

@media (min-width: 1024px) {
    /*banner*/

    .banner .banner_text {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .banner .banner_image {
        width: 100%;
        height: 450px;
    }

    /*explain shop*/
    .takeout_shopinfo_text > div {
        width: 90%;
    }

    /*reservation*/
    .reservation > div {
        width: 90%;
    }

    .reservation div ul {
        grid-template-columns: 1fr 1fr;
    }

    .reservation div ul li {
        width: 345px;
        height: 160px;
        overflow: hidden;
        border-radius: 30px;
    }

    .reservation div ul li:first-child {
        display: none;
    }

    /*category*/
    .menu div article label h3 {
        font-size: 1.3rem;
        letter-spacing: 0.1rem;
    }

    .menu div article .inner_menu {
        padding-top: 0;
        position: static;
        opacity: 1;
        transform: scaleY(1);
        padding-bottom: 20px;
    }

    .menu div article label {
        cursor: default;
    }

    .menu > div {
        width: 90%;
    }

    .menu div article label {
        width: 350px;
        border: none;
        color: black;
    }

    .menu div article [type="checkbox"] ~ label svg {
        display: none;
    }

    /*qna*/
    .qna > div {
        width: 90%;
    }

    /*shopinfo*/
    .takeout_shopinfo_inner {
        width: 90%;
    }
    .takeout_mapbox {
        display: grid;
        grid-template-columns: 50% 1fr;
        grid-column-gap: 30px;
    }

    .takeout_mapbox .takeout_gmap iframe {
        height: 320px;
    }
}
