/*style*/

* {
    box-sizing: border-box;
}

.head_change .logo img {
	box-sizing: content-box;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    color: black;
}

h4 {
    font-size: 1.4rem;
    letter-spacing: 0.05rem;
}

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: 45vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner .banner_image img {
    width: 100%;
    height: 45vw;
    object-fit: cover;
    font-family: 'object-fit: cover';
}

.banner .banner_text {
    padding: 0 30px 0 30px;
    line-height: 1.4;
}

/*explain shop*/
.takeout_shopinfo_text {
    width: 100%;
    padding: 0 30px 0 30px;
    line-height: 1.8rem;
    letter-spacing: 0.8px;
    font-size: 1rem;
    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;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    -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 ul li.white {
    -webkit-box-shadow: 0px 0px 0px 1px rgba(208, 208, 208, 0.54);
    -moz-box-shadow: 0px 0px 0px 1px rgba(208, 208, 208, 0.54);
    box-shadow: 0px 0px 0px 1px rgba(208, 208, 208, 0.54);
}

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

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

.menu h3 {
	width: 100%;
	padding-bottom: 10px;
	font-size: 1.6em;
    border-bottom: gray solid 0.8px;
    color: gray;
}

.menu-inner {
	display: flex;
	flex-wrap: wrap;
}

.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.black {
    -webkit-box-shadow: 0px 0px 0px 1px rgba(208, 208, 208, 0.54);
    -moz-box-shadow: 0px 0px 0px 1px rgba(208, 208, 208, 0.54);
    box-shadow: 0px 0px 0px 1px rgba(208, 208, 208, 0.54);
}

.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; object-position: bottom;';
}

.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 .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: 10px;
    padding-bottom: 5px;
    border-bottom: gray solid 1px;
}

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

/*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:last-child {
    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;
}

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

/*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;
}
*/
.takeout_mapbox .shopname_box .shopname_box_inner ul {
    width: 100%;
    letter-spacing: 0.08rem;
    line-height: 1.1rem;
    display: grid;
    grid-template-rows: 2fr 10fr 1fr 1fr;
    grid-row-gap: 10px;
}

.shopname_box h4 {
	margin-top: 0;
}

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

#shopinfo.shopname_box_inner {
	padding: 1em 0;
}

#shopinfo.shopname_box_inner dl {
	margin-top: 0;
}

#shopinfo.shopname_box_inner dl {
	width: 100%;
}

#shopinfo.shopname_box_inner dt {
	width: 30%;
}

#shopinfo.shopname_box_inner dd {
	width: 70%;
}

/*newsblog*/
#newsblog {
	margin-top: 2em;
}
#newsblog h2 {
	padding: 1em 0;
}
#front_news, #front_blog {
	width: 45%;
}

/*footer*/
#footer .spbtn {
    display: none;
}

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

@media (max-width: 1024px) {
    .card {
		width: 48.9%;
		margin-right: 15px;
		height: auto;
    }
    .card:nth-child(2n) {
	    margin-right: 0;
    }
    .card .photo_frame ~ .text_frame {
	    width: 100%;
    }
}

@media (max-width: 767px) {
    /*newsblog*/
	#newsblog {
		flex-direction: column;
	}
	#front_news, #front_blog {
		width: 100%;
	}
	#shopinfo dt {
		border-bottom: 1px dotted #ccc;
		padding: 10px 10px 5px;
	}
	#shopinfo dd {
		padding: 5px 10px 10px;
	}
	#shopinfo.shopname_box_inner dt {
		width: 100%;
	}
	#shopinfo.shopname_box_inner dd {
		width: 100%;
	}
    .card {
		width: 100%;
		margin-right: 0;
		height: auto;
		display: flex;
/* 		flex-direction: column; */
    }
    .card .photo_frame img {
/* 	    width: 100%; */
    }
    .card .photo_frame ~ .text_frame {
	    width: 100%;
    }
    .card .text_frame ul {
	    padding-bottom: 1em;
    }
	.card .text_frame {
		height: auto;
	}
	.banner .banner_image {
		margin-top: 50px;
	}
}

@media (min-width: 768px) {
    .card {
		width: 48.9%;
		margin-right: 15px;
		height: auto;
    }
    .card:nth-child(2n) {
	    margin-right: 0;
    }
    .reservation div ul li {
	    width: 100%;
	    height: 150px;
    }
}

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

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

@media (min-width: 1025px) {
    /*banner*/
    .banner {
        margin-top: 80px;
    }

    .banner .banner_text {
        width: 60%;
    }

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

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

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

    /*news*/
    #newsblog {
        width: 70%;
    }

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

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

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

    .menu div > h3 {
        display: none;
    }

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

    .menu div article label {
        cursor: default;
    }

    .menu > div {
        width: 70%;
    }

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

    .menu div article [type="checkbox"] ~ label svg {
        display: none;
    }
    
    .card {
		width : 33.33333% ;
		width : -webkit-calc(33.33% - 13px) ;
		width : calc(33.33% - 13px) ;
		height: auto;
		margin-right: 15px;
    }
    
    .card:nth-child(2n) {
	    margin-right: 15px;
    }

    .card:nth-child(3n) {
	    margin-right: 0;
    }

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

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

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

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

    .reservation div ul {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    #front_news, #front_blog {
		width: 47%;
	}
	.card .photo_frame img {
		width: 300px;
		max-height: 220px;
	}
	.card .photo_frame ~ .text_frame {
		width: 100%;
	}
}
