@charset "UTF-8";

*{
    font-family: "Noto Sans JP";
}

img{
    height: auto;
    max-width: 100%;
}

body{
    text-align: center;
}

.main{
    background-color: #FFFBE9;
}

.section__topic{
    font-size: 32px;
    padding: 40px;
}

/* top */
.top{
    background-image: url("../images/top.jpg");
    background-size:cover;
    flex-direction: column;
    height: auto;
    position: relative;
    width: 100%;
}

.top__logo{
    justify-content: center;
    margin: 0 auto;
    width: 50%;
}

.top__maintxt{
    width: 100%;
    text-align: center;
    padding: 20px;
}

.top__logo,
.top__maintxt.is-animated {
  animation: fadeup 1.5s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
 
@keyframes fadeup {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  80% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* sweets */
.sweets__menu{
    display: flex;
    gap: 50px;
    margin: 0 auto;
    padding: 60px 15%;
}

@keyframes hover {
    0% {
      transform: scale(0.8);
      opacity: 0;
    }

    50% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    
    100% {
      opacity: 1;
      transform: scale(0.8);
    }
}

.menu__cake:hover {
    transform: translateY(-15px);
    transition: 0.7s ease-in-out;
}
.menu__fresh:hover {
    transform: translateY(-15px);
    transition: 0.7s ease-in-out;
}
.menu__baked:hover {
    transform: translateY(-15px);
    transition: 0.7s ease-in-out;
}

.menu__cake{
    transition: 0.5s ease-in-out;
}

.menu__fresh{
    transition: 0.5s ease-in-out;
}

.menu__baked{
    transition: 0.5s ease-in-out;
}

.menu__img{
    aspect-ratio: 1;
    list-style: none;
    padding:0 0 20px 0;
    width: 30%;
}

.menu__img a{
    color: #453800;
    text-decoration:none;
    margin: 0 auto;
}

.menu__img img{
    margin-bottom:16px;
}

.menu__img p{
    border-radius: 40px;
    background-color: #FFFfff;
    background-size: cover;
    display:block;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* about */


section.section--about{
    background: #FFE68E;
    padding-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 2s, opacity 2s;
}

section.section--about.show{
    opacity: 1;
    transform: translateY(0);
}

.about__top{
    background-size: cover;
    height: auto;
    max-width: 100%;
    transition: 1s;
    width: 100%;
}

.about__topic{
    background-color: #FFE68E;
    padding:0 0 30px 0;
}

.about__img{
    background-size: cover;
    margin: 0;
    max-width: 100%;
}

.topImg{
    height: 500px;
    object-fit: cover;
    width: 100%;
}

.logo__img{
    margin: 0 auto;
    max-width:380px;
    padding-top: 50px;
}

.about__text{
    font-size: 15px;
    line-height: 30px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
    width: 75%;
}

.about__text br{
    display: none;
}

.about__contents{
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 0 70px;
    max-width: 100%;
}

.about__contents:first-child{
   gap: 30px;
}

.about__cakes,.about__shop{
    max-width: 100%;
    padding-top: 20px;
}

/* resavation */

section.section--resavation{
    background-color: #FFE68E;
    padding-bottom: 50px;
}

.resavation__contents{
    background-color: #FFFfff;
    border-radius: 20px;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
    width: 90%;
}

.resavation__text{
    max-width: 100%;
    line-height: 30px;
    padding-bottom: 10px;
    width: 100%;
}

.description{
    text-align: left;
}

.tel__btn{
    background-color: #ffb78e;
    border-radius: 20px;
    margin: 0 auto;
    padding: 20px;
    width: 60%;
}

/* news */
section.section--news{
    box-sizing: border-box;
    max-width: 100%;
    padding-bottom: 100px;
}

.news__text{
    background-color: #FFFfff;        
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

.news__contents{
    padding-bottom: 80px;
}

.instagram__post{
    aspect-ratio: 1;
    flex-wrap: wrap;
    max-width: 20%;
    margin: 7px;
    width: 20%;
}

a .instagram__post{
    padding: 0;
}

@media screen and (max-width:768px){

    .top{
        background-size:cover;
        flex-direction: column;
        height: auto;
        position: relative;
        width: 100%;
    }
    
    .top__logo{
        justify-content: center;
        margin: 0 auto;
        width: 50%;
    }
    
    .top__maintxt{
        text-align: center;
        width: 100%;
    }

    .sweets__menu{
        flex-direction: column;
        margin: 0 auto;
        padding: 20px 0px;
        width: 60%;
    }

    .menu__img{
        justify-content: center;
        margin: 0 auto;
        padding: 20px;
        width: 100%;
    }

    .menu__img span{
        width: 60%;
    }

    .about__contents{
        flex-direction: column;
    }

    .about__img{
        width: 100%;
    }

    .about__text{
        margin: 0 auto;
        width: 80%;
    }

    .instagram__post{
        margin: 3px 0;
        max-width: 40%;
        width: 50%;
    }

    .resavation__text{
        padding: 10px;
    }

    .resavation__contents{
        width: 80%;
    }

    .tel__btn{
        margin: 0 auto;
        width: 100%;
    }
}

@media screen and (min-width:1024px){
    .resavation__contents{
        width: 40%;
    }
}

@media screen and (max-width:425px){

    .top{
        background-image: url("../images/top.jpg");
        background-size:cover;
        flex-direction: column;
        height: auto;
        position: relative;
        max-width: 100%;
        width: 100%;
    }
    
    .top__logo{
        justify-content: center;
        margin: 0 auto;
    }
    
    .top__maintxt{
        text-align: center;
        width: 100%;
    }

}