@import url('https://fonts.googleapis.com/css?family=Sawarabi+Mincho');


body {
    font-family: 'Sawarabi Mincho', sans-serif;
}


/*ヘッダー*/
header{
    position:fixed;
    top:0;
    width:100%;
    height:100px;
    display:flex;
    justify-content:center;
    align-items:center;
    background-color:#de6090;
    z-index:9;
  }
  
  /*花*/
  .flower{
    height:80px;
    width:80px;
  }
  
  .flower-left{
    height:80px;
    width:80px;
    animation:3s linear infinite rotation1;
  
  }
  
  .sp-navi{
    display:none;
  }

  .sp-logo{
    display:none;
  }
  
  .flower-right{
    height:80px;
    width:80px;
    right:0;
    animation:3s linear infinite rotation1;
  }
  
  @keyframes rotation1{
    0%{ transform:rotate(0);}
    100%{ transform:rotate(360deg); }
  }
  
  .flower-l{
    position:absolute;
    left:20%;
    display:flex;
    justify-content:right;
  }
  
  .flower-r{
    display:flex;
    justify-content:left;
    position:absolute;
    right:20%;
  }
  
  /*ヘッダーメニュー*/
  
  .header-navi{
    width:50%;
  }
  
  .header-navi ul{
    display:flex;
    justify-content:center;
    list-style:none;
  }
  
  .nav{
    width:auto;
    padding:30px;
  }
  
  .nav p:hover{
    color:#d5196d;
    transform:scale(1.3);
  }
  
  .nav p{
    color:white;
    font-size:20px;
    transition:transform 0.5s ease;
  }
  
  .nav a{
    text-decoration:none;
  }
  
  #g-nav{
    display:none;
  }

/*ロゴ*/

/*パララックスデザイン入れたい*/
.top-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    background-size:cover;
    height:800px;
    width:100%;
    background-image:url(../img/name2.png);
}

.logo{
    max-height:500px;
    height:40%;
    width:auto;
    margin-top:40px;
    margin-left:15%;
    object-fit:contain;

}

.resizeimage img{
    width:100%;
}


/*店の説明*/
.explanation{
    display:flex;
    justify-content:center;
    align-items:center;
    height: 1000px;
    width:100%;
    background-image: linear-gradient(180deg, rgba(222, 96, 144, 1), rgba(255, 255, 255, 1) 95%);
  }

.explanation-container{
    position:relative;
    margin:2%;
    width:800px;
    height:550px;
    background-color:rgba(255, 255, 255, 1);
    opacity:0.9;
}

.text-container{
    display:grid;
    text-align:center;
}

.text-container h3{
    color:#de6090;
    margin-top:10%;
    margin-bottom:5%;
    line-height:50px;
    font-size:2.2rem
}

.text-container p{
    line-height:2rem;
}

.grandma-img{
    position:relative;
}

.grandma{
    position:absolute;
    right:5%;
    bottom:5%;
    max-height:100x;
    height:30%;
    width:auto;
    filter:drop-shadow(0px 5px 5px #2b2b2b);
}
/*おすすめ*/
.recommendation-heading h3{
    max-width:700px;
    width:80%;
    text-align:center;
    margin:0 auto;
    font-size:2rem;
    border-top:2px solid #de6090;
    padding-top:2%;
    padding-bottom:20px;
}

.recommendation-heading p{
    max-width:700px;
    width:80%;
    text-align:center;
    margin:0 auto;
    border-bottom:2px solid #de6090;
    padding-bottom:2%;
}

.recommendation-image{
    display:flex;
    justify-content:center;
    margin:0 auto;
    overflow:auto;
    width:100%;
    height:300px;
    padding:4% 0;
}

.recommendation-image img,.recommendation-image a{
    width:300px;
    height:auto;
    padding:0 2%;
    transition:transform 0.5s ease;
}

.recommendation-image img:hover{
    opacity:0.8;
    transform:scale(1.1);
}

/*こだわり*/

.sp-commitment{
    display:none;
}
.commitment{
    width:90%;
    margin:0 auto;
    margin-bottom:5%;
}

.commitment-heading h3{
    max-width:700px;
    width:80%;
    text-align:center;
    margin:0 auto;
    font-size:2rem;
    border-top:2px solid #de6090;
    padding-top:2%;
    padding-bottom:10px;
}

.commitment-heading p{
    max-width:700px;
    width:80%;
    text-align:center;
    margin:0 auto;
    border-bottom:2px solid #de6090;
    padding-bottom:2%;
}

.commitment-container{
    margin:0 auto;
    width:90%;
    max-width:900px;
    display:flex;
    margin-top:3%;
}

.commitment-container a{
    width:25%
}
.commitment-container img:hover{
    opacity:0.8;
    transform:scale(1.02);
}

.commitment-container img{
    width:100%;
    transition: transform 1s ease;
}


/*道案内*/

.map{
    margin:0 auto;
}

.map-heading{
    max-width:700px;
    width:80%;
    text-align:center;
    margin:0 auto;
}

.map-heading h3{
    font-size:2rem;
    padding-bottom:10px;
    border-top:2px solid #de6090;
    padding-top:2%;
    
}

.map-heading p{
    border-bottom:2px solid #de6090;
    padding-bottom:2%;
    margin-bottom:10px;
}





.googlemap{
    display:flex;
    justify-content:center;
}

/*フッター*/
footer{
    display:flex;
    position:relative;
    bottom:0;
    align-items:center;
    height:100px;
    width:100%;
    background-color:#de6090;
}

footer p{
    margin-left:5%;
    color:#fff;
}

.icon{
    margin-right:5%;
    margin-left:auto;
}

.icon img{
    width:30px;
    height:auto;
    transition:transform 0.5s ease;
}

.icon img:hover{
    opacity:0.8;
    transform:scale(1.3);  
}

/*レスポンシブ(タブレット)*/
@media screen and (max-width: 800px){

    .sp-logo{
        max-height:40px;
        height:100%;
        width:auto;
    }


    .openbtn{
        position:absolute;
        right:0;
        background:#de6090;
        cursor: pointer;
        width: 60px;
        height:50px;
        border-radius: 5px;
    }
    
    /*ボタン内側*/
    .openbtn span{
        display: inline-block;
        transition: all .4s;
        position: absolute;
        right: 14px;
        height: 3px;
        border-radius: 2px;
        background: #fff;
      }
    
    
    .openbtn span:nth-of-type(1) {
        top:15px;	
          width: 45%;
    }
    
    .openbtn span:nth-of-type(2) {
        top:23px;
          width: 35%;
    }
    
    .openbtn span:nth-of-type(3) {
        top:31px;
          width: 45%;
    }
    
    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-135deg);
        width: 30%;
    }
    
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    
    .openbtn.active span:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(135deg);
        width: 30%;
    }

    #g-nav{
        display:block;
        position:fixed;
        margin-top:50px;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top:-120%;
        left:0;
        width:100%;
        height: 100vh;/*ナビの高さ*/
        background:#de6090;
        /*動き*/
        transition: all 0.6s;
    }
    
    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive{
        top: 0;
    }
    
    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list{
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999; 
        width: 100%;
        height: 100vh;/*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
    }
    
    /*リストのレイアウト設定*/
    
    #g-nav li{
        list-style: none;
        text-align: center;
        display:flex;
        align-items:center;
        justify-content:center;
    }
    
    #g-nav li a{
        color: #fff;
        text-decoration: none;
        padding:20px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        font-weight: bold;
        font-size:1.5rem;
    }

    #g-nav p{
        transition:transform 0.5s ease;
    }

    #g-nav p:hover{
        color:#d5196d;
        transform:scale(1.3);    
    }

    .sp-flower{
        width:30px;
        height:30px;
        opacity:0;
    }

    .hover-img:hover.sp-flower{
        opacity:1;
    }

    header{
        height:50px;
    }

    .header-navi{
        display:none !important;
    }

    .flower-left{
        display:none !important;
    }

    .flower-right{
        display:none !important;
    }

    .top-wrapper{
        justify-content:center;
        align-items:center;
        background-image:url(../img/smart.jpeg);
    }

    .logo{
        height:400px;
        width:auto;
        margin-top:100px;
        margin-bottom:0;
        margin-left:0;
    }

    .explanation{
        height:700px;
        width:100%;
        margin-bottom:30px;
    }

    .explanation-container{
        margin:10%;
    }

    .grandma{
        height:100px;
        padding-top:20px;
        padding-right:5%;
        padding-bottom:10px;
    }

    .text-container h3{
        font-size:1.5rem;
        line-height:2rem;
    }

    .text-container{
        margin:0 5px;
    }

    .recommendation{
        margin-bottom:30px;
    }

    .recommendation-heading h3 {
        padding:3% 0;
    }

    /*こだわり*/
    .commitment{
        display:none;
    }

    .sp-commitment{
        display:block;
        width:95%;
        margin:0 auto;
        margin-bottom:100px;
    }

    .sp-commitment-heading h3{
        max-width:700px;
        width:80%;
        text-align:center;
        margin:0 auto;
        font-size:2rem;
        border-top:2px solid #de6090;
        padding:3% 0;
    }
    
    .sp-commitment-heading p{
        max-width:700px;
        width:80%;
        text-align:center;
        margin:0 auto;
        border-bottom:2px solid #de6090;
        padding-bottom:2%;
        line-height:1.2rem;
    }

    .sp-commitment-container{
        width:100%;
        max-height:700px;
        height:100%;

    }

    .commitment-top{
        margin-top:20px;
        width:100%;
        display:flex;
    }

    .commitment-bottom{
        width:100%;
        display:flex;
    }

    .commitment-top img{
        width:100%;
        height:auto;
        object-fit:cover;
        transition:transform 0.5s ease;
    }

    .sp-commitment img:hover{
        opacity:0.8;
        transform:scale(0.95);   
    }

    .commitment-bottom img{ 
        width:100%;
        height:auto;
        object-fit:cover;
        transition:transform 0.5s ease;
    }

    .commitment-container{
        display:none;
    }

    .map-heading p{
        line-height:1.5rem;
    }

    /*レスポンシブ(スマートフォン)*/
    @media screen and (max-width: 500px){

        .text-container p{
            font-size:0.7rem;
            margin-top:10px;
        }

        .recommendation-heading h3{
            font-size:1.5rem;
        }

        .commitment-heading h3{
            font-size:1.4rem;
        }

        .commitment-heading p{
            font-size:0.7rem;
        }

        main p{
            font-size:0.8rem;
        }

        main h3{
            font-size:1rem;
        }

        footer{
            display:grid;
        }

        footer p{
            font-size:0.7rem;
            text-align:center;
            order:2;
        }

        .icon{
            margin:0 auto;
            order:1;
        }
    }
}  