@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  background-color: #F0F0F0;
  color: #000;
  font-family:'meiryo', serif;
  font-size: 0.8rem;
}
a {
  color: #000;
  text-decoration: none;
}
a :hover{
  opacity: 0.6;
}
img {
  max-width: 100%;
}
li {
    list-style: none;
  }
  .wrapper {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
  }


/* ヘッダー */
#header{
    padding:0 30px;
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    align-items: center;
    position: fixed;
  left: 0;
  right: 0;
  z-index: 10
}

  .site-title{
    width: 100px;
    margin-right: 40px;
    margin-bottom: 30px;
    padding:20px 0 10px;
}

/* ハンバーガーメニュー */

#nav{
    position:fixed;
    top: 0;
    left:-300px;
    width: 300px;
    color: #F0F0F0;
    padding:36px 50px;
    transition: all 0.5s;
    z-index: 20;
    opacity: 0;
}

#nav a{
    color: #fff;
}
#nav li{
    margin-bottom: 14px;
}

/*
ハンバーガーメニュー
メニューが開いている時は、「left: 0;」「opacity: 1;」で
画面左に表示する
*/
.open #nav{
    left:0;
    opacity:1;
}
.toggle_btn{
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
    z-index:20;
}


/*
ハンバーガーメニューの線の設定（メニューが閉じている時）
*/
.toggle_btn span{
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all 0.5s;
}

/*
1本目の線の位置を設定（メニューが閉じている時）
*/
.toggle_btn span:nth-child(1){
    top:10px;
}

/*
2本目の線の位置を設定（メニューが閉じている時）
*/
.toggle_btn span::nth-child(2){
    bottom:10px;
}


/*
ハンバーガーメニューの線の設定（メニューが開いている時）
線の色を白に変更
*/
.open .toggle_btn span{
    background-color: #fff;
}

/*
1本目の線を45度回転
*/
.open .toggle_btn span:nth-child(1){
    -webkit-transform: translateY(-4px) rotate(-45deg);
    transform: translateY(-4px) rotate(-45deg);
}

/*
2本目の線を45度回転
*/
.open .toggle_btn span:nth-child(2){
    -webkit-transform: translateY(4px) rotate(45deg);
    transform: translateY(4px) rotate(45deg);
}
#mask{
    display: none;
    transition: all 0.5s;
}

/*
メニューを開いている時は、全体を黒背景にする
*/
.open #mask{
    display: block;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .8;
    z-index:10;
    cursor:pointer;
}


#nav li{
    margin-bottom: 30px;
}
#nav a{
    color: #F0F0F0;
}

/* メイン */
#top{
    padding-top: 120px;
    padding-bottom: 80px;
}

.section-title{
    font-size: 00.875rem;
    margin-bottom: 30px;
}

.products-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.products-list li{
    width: 23%;
    margin-bottom: 20px;
}

.page{
        text-align: center;
        margin-bottom: 50px;
}
.page li{
    display: inline;
    margin-right: 20px;
}


/* フッター */
#footer{
    display: flex;
    justify-content: space-between;
    padding:30px;
}
#footer ul{
    display: flex;
}
.sns li{
    margin-right: 20px;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 900px) {

  /*-------------------------------------------
  TOP、PRODUCTS
  -------------------------------------------*/
  
  .products-list li{
    width: 45%;
  }
  #id{
    padding-bottom: 0;
  }

  #footer{
    display: block;
  }
  .sns{
    margin-bottom: 10px;
  }
  #footer p{
    font-size: 0.7rem;
  }
}
