* {
    margin: 0;
    padding: 0;
}

/*ヘッダー*/
#header {
    background-color: #fff5b9;
    height: 100px;
}

#headerInner{
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
}

#headerInner h1{
    line-height: 100px;
    flex: 1;
}

#headerInner h1::before {
    content: '';
    display: inline-block;
    width: 80px;
    height: 80px;
    background-image: url(../img/logo.png);
    background-size: contain;
    vertical-align: middle;
    margin-right: 16px;
}

.rightContents{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rightContents ul{
    display: flex;
    list-style: none;
    gap: 16px;
}

.rightContents ul li a{
    display: block;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;
    line-height: 40px;
    background-color: #4caf50;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

/*メインページ*/
main{
    max-width: 1440px;
    margin: 0 auto 16px;
}

.imgSize{
    object-fit: cover;
    width: 100%;
    height: 300px;
}

.hero{
    margin-bottom: 16px;
}

#mainContents{
    display: flex;
    gap: 16px;
}

#mainContents .categoryNav {
    width: 20%;
    border: 1px solid #4caf50;
    box-sizing: border-box;
}

#mainContents .categoryNav h2 {
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    background-color: #4caf50;
    height: 40px;
    line-height: 40px;
}

.categoryNav ul li {
    list-style: none;
    margin: 8px 16px;
    border-bottom: 1px dashed #4caf50;
}

.categoryNav ul li a{
    text-decoration: none;
    color: #000000;
    display: block;
}

#mainContents .products{
    width: 80%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.product{
    border: 1px solid #cccccc;
    box-sizing: border-box;
    background-color: #fff5b9;
}

.product h3,
.product p {
    padding: 4px 8px;
}

.foodImg{
    width: 100%;
    height: 150px;
    object-fit: cover;
}

footer {
    width: 100%;
    height: 80px;
    background-color: #cccccc;
    box-sizing: border-box;
}

#footerInner {
    display: flex;
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto;
}

#footerInner p {
    line-height: 80px;
}

#footerInner p:first-child {
    flex: 1;
}

#footerInner p:last-child {
    text-align: right;
}