@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Stint+Ultra+Condensed&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Lucida Bright. Blackadder ITC,  Franklin Gothic Medium Cond, Impact, */
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* Nav */

/* Header */
.image-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto; /* 画面中央に配置 */
    position: relative;
}
.image-container .image img{
    position: absolute;
    width: 100%;
    height: 1000px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.image-container .image img.active{
    opacity: 1;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px; 
  }
.image{
    width: 100%;
    height: 1000px;
    max-width: 1440px;
    margin: 0 auto;
    opacity: 60%;
    position: relative;
    justify-content: center; 
    top: 150px;
} 
.image div{
    width: 70%;
    height: 450px;
    position: absolute;
    top: 150px;
    left: 40%;
    transform: translateX(-50%); 
    background-color: rgb(0, 0, 0);
    opacity: 80%;
    z-index: 2;
}  
.image img{
    width: 100%;
    height: 1000px;
    object-fit: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;  
    left: 0;  
    right: 0;    
    opacity: 60%;
    z-index: -1;
}
.tittle-badk{
    width: 70%;
    left: 15%;
    height: auto;
    background-color: black;
    opacity: 20%;
}
.image h1{
    width: 70%;
    margin-left: 60px;
    margin-top: -35px; 
    padding-top: 100px; 
    font-size: 70px;
    margin-left: 100px;
    color: #fff200;
}
.image p{
    width: 70%;
    margin-top: 10px;
    margin-left: 100px;
    float: left;
    font-family: "Stint Ultra Condensed", serif;
    font-size: 45px;
    line-height: 1.2em;
    color: #fff200;
}

/* About */
.about{
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about p{
    font-size: 50px;
    text-align: center;
    padding-top: 100px;
    font-family: "Tinos", serif;
}

/* Menu */
.menu-grid {
    display: flex;
    gap: 30px;
    padding: 80px;
    background-color: #fcd9a7; 
  }
  
  .menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
  }
  
  .menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }
  
  .label {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(46, 46, 46, 0.6);
    color: white;
    padding: 4px 8px;
    font-weight: bold;
    border-radius: 4px;
    font-size: 30px;
  }
  
  .curry {
    flex: 2;
    height: 100%;
  }
  
  .menu-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .salad {
    height: 50%;
  }
  
  .menu-bottom {
    display: flex;
    gap: 10px;
    height: 50%;
  }
  
  .dessert,
  .drink {
    flex: 1;
  }
  
/* CONTACT */
.contact{
    width: 100%;
    height: 1000px;
    display: flex;
    flex-direction: row;
    background-color: #ECF6D3;
}
.restaurant{
    width: 50%;
    position: relative;
}
.restaurant img{
    width: 70%;
    height: 50%;
    position: absolute;
    top: 15%;
    left: 15%;
}
.restaurant p{
    width: 70%;
    position: absolute;
    top: 70%;
    left: 15%;
    font-size: 25px;
    text-align: center;
    background-color: #F9F7DC;
}
.restaurant a{
    width: 70%;
    position: absolute;
    top: 85%;
    left: 15%;
    font-size: 25px;
    text-align: center;
    background-color: #F9F7DC;
}

/* FOOTER => COMMON.CSS */



@media(max-width: 768px){
    *{
        max-width: 768px;
    }
    .nav-wrapper{
        top: 0;
    }
    .image-container img{
        top: -10px;
    }
    .image h1{
        width: 80%;
        margin: 0 auto;
        font-size: 45px;
    }
    .image p{
        margin-top: 20px;
        font-size: 30px;
    }
    .about p{
        font-size: 30px ;
    }
    .menu-preview{
        height: auto;
        min-height: 850px;
    }
    .menu-grid{
        height: 100%;
    }
    .menu-grid div,
    .menu-right div,
    .menu-bottom div{
        font-size: 20px;
    }
    .contact{
        top: 0;
    }
    .restaurant img{
        width: 85%;
        height: 45%;
        margin-left: -2em;        
    }
}

@media(max-width: 480px){
    *{
        box-sizing: border-box;
        max-width: 480px;
        margin: 0;
        padding: 0;
    }
    
    .hamburger-menu{
        width: 40px;
    }
    .clear{
        clear: both;
    }
    .image-container{
        width: 100%;
        max-width: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    .image-container .image div{
        width: 80%;
        left: 13rem;
        position: absolute;
        top: 150px;

    }
    .image-container .image div h1{
        font-size: 30px !important;
        margin: 1rem auto auto 2.5rem;
    }
    .image-container p{
        margin: 1rem auto auto 3rem;
    }
    .about p{
        font-size: 25px;
        top: 3rem;
    }
    .menu-preview{
        width: 100%;
        height: 100%;
    }
    .menu-grid {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        gap: 20px;
        padding: 40px; 
    }

    .menu-right, 
    .menu-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }
    .menu-item {
        width: 80%; 
        max-width: 300px; 
        height: auto;
    }
    .menu-bottom,
    .menyu-item{
        height: 300px;
    }
    .contact{
        width: 100%;
        height: auto;
        min-height: 1100px;
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        gap: 30px;
        position: relative;
    }
    .contact .restaurant{
        width: 100%;         
        height: auto;
        min-height: 500px;
        position: relative;
        left: 0;
    }
    .footer{
        text-align: center;
    }
}


@media(max-width:380px){
    *{
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    .image-container .image div{
            width: 80%;
            left: 11rem;
            position: absolute;
            top: 150px;
        }
    .tittle-back{
        width: 100%;
        text-align: center;
        position: relative;
        left: 12rem !important;
    }
    .tittle-back h1{
        position: absolute;
        top: -50px;
    }
    .tittle-back p{
        position: absolute;
        top: 150px;
    }
}

@media(max-width:320px){
    .container h1{
        font-size: 35px;
    }
    .hamburger-menu{
        width: 30px; auto;
    }
    .clear{
        clear: both;
    }
    .tittle-back{
        width: 90% !important;
        position: relative;
        left: 10rem !important;
    }
    .tittle-back h1{
        position: absolute;
        top: -50px;
    }
    .tittle-back p{
        position: absolute;
        top: 150px;
    }
}
    
