@keyframes animation{
    0%{
        opacity: 0;
        background-color: black;
    }
    50%{
        background-color: black;
    }
    75%{
        background-color: black;
    }
    100%{
        opacity: 1;
    }
}

html{
    scroll-behavior: smooth;
    font-family: serif;
}

body{
    animation: animation 3s;
    margin: 0;
}

a{
    text-decoration: none;
    color: white;
}

.swiper-wrapper{
    width: 100vw;
    height: 100vh;
    position: fixed;
}

.swiper-slide img{
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0 auto;
    object-fit:cover;
}

header{
    position: relative;
}

.title_wrapper{
    position: absolute;
    left: 50%;
    z-index: 5;
    transform: translate(-50%, 50%);
    text-align: center;
}

.header_h1{
    font-family: 'Kaushan Script', cursive;
    font-weight: 100;
    font-size: 7rem;
    letter-spacing: 1px;
    text-shadow: 5px 5px 5px rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    transform: rotate(-8deg);
}

.title_wrapper a{
    text-decoration: none;
}

.title_ja{
    font-family:serif;
    font-size: 1rem;
    color: aliceblue;
    background-color:rgba(16, 17, 17, 0.4);
    border-radius: 5px;
    line-height: 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 15;
    margin: 5px 10px;
    padding: 5px 10px;
    transition: .25s;
}

.title_ja:hover{
    background-color:rgba(16, 17, 17, 0.6);

}

.text{
    font-size: 1.5rem;
    font-family: serif;
    color: red;
    text-shadow: 2px 2px 4px black,
    -2px -2px 4px whitesmoke;
    letter-spacing: 2px;
}

.caution_p{
    color:red;
    background-color: rgba(240, 248, 255,0.5);
    border-radius: 5px;
    font-weight: bold;
    position: absolute;
    top: 90px;
    left: 10px;
    z-index: 12;
}

.menu_wrapper{
    position: fixed;
    z-index: 12;
    height: 60px;
    width: 100%;
    background-color: #ebe5e5;
    opacity: 0.9;
}

.menu_wrapper ul{
    font-family: serif;
    list-style: none;
    display: flex;
    position: fixed;
    top: 0;
    right: 5%;
    z-index: 15;
}

.menu_li{
    width: 100px;
    color: white;
    margin-left: 20px;
    font-size: 1rem;
    font-weight: bold;
    background-color: rgba(0, 0, 0, .2);
    padding: 0 15px;
    border-radius: 5px;
    transition: .25s;
    display: flex;
    justify-content: center;
}

.menu_wrapper ul li:hover{
    cursor: pointer;
    background-color: rgba(0, 0, 0, .6);


}

main{
    background-color: #fff;
    position: relative;
    z-index: 10;
    top: 1000px;
}

/*オープンメニュー  */
.menu_wrapper2{
    color: white;
    padding: 50px 0;
    width: 80%;
    height: 300px;
    border-radius: 5px;
    position:fixed;
    top: 10px;
    left: 0;
    z-index: 20;
    background-color:rgba(55, 71, 71, 0.9);
    transform: translateX(-100%);
    transition: .25s;
    opacity: 0;
}

/*オープンメニュー  ここまで*/


/* メニュー共通 */
.menu{
    background-color:#ebe5e5;
    border-top: solid 3px red;
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
}

.line_div{
    width: 100%;
    height: 5px;
    background-color:darkblue;
}

/* オープンメニュー */
.open_menu_container{
    display: none;
}

/* メニュー１　モットー */
.menu1{
}

.menu1 h3{
    text-align: center;
}

.menu1_div{
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.menu1 p{
    padding-top: 40px;
}

.menu1_div img{
    width: 200px;
    padding: 150px 100px 100px 0;
}

/* メニュー2　お店の外観 */
.menu2 h3{
    text-align: center;
    padding-bottom: 50px;
}

.menu2_div{
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
}

.menu2 img{
    width: 600px;
    border-radius: 10px;
    box-shadow: 15px 15px 15px darkgray, -15px -15px 15px white;
}

.menu2 p{
    padding-top: 30px;
    padding-right: 30px;
}


/* フッター */
footer{
    background: linear-gradient(135deg,blue,white,red);
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;

}

footer p{
    margin: 0;
}

/* go top */
.goTop{
    transition: .25s;
    position: fixed;
    bottom: 5%;
    right: 5%;
    opacity: 0;
    pointer-events: none;
}

.goTop.active{
    opacity: 0.5;
    pointer-events: all;
}

.material-symbols-outlined {
    font-size: 80px;
    color:rgb(187, 27, 27);
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48
}

.goTop:hover{
    /* opacity: 1; */
}

/* intersection observer */
.intersection_observer{
    opacity: 0;
    transform: scale(.8);
    transition: 1s;
}

.intersection_observer.active{
    opacity: 1;
    transform: none;
}