@charset "UTF-8";

@media(min-width:1000px) {
  .container {
      width: 100%;
  }

  body {
      min-width: 1000px;
      background-color: #FCEDE8;

  }
header{ background-image: url(../img/スカイランタン.JPG);
}
.openbtn{
  display: none;
}
nav{
  display: none;
}
.navigation{
    /* flexboxで要素を真ん中に指定 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 2%;
  }
  .navigation ul {
    width: 100%;
  }
  .button{
    display: block;
    padding:10px;
    background:transparent;
    width:20%;
    float:left;
    box-shadow: 0px 0px 0px 0px rgba(0,0,0,0) ;
    /* カーソルを離した際のアニメーションの速度調整 */
    transition:.2s all;
  }
  .button p {
    height: 10px;
    font-weight: 300;
  }
  .button a {
    color: hotpink;
    /* リンク指定した要素のスタイルを削除 */
    text-decoration:none;
  }
  .navigation:hover .button{
    /* ナビゲーションをマウスオーバーした際のアニメーションの動きを指定 */
    filter:blur(3px);
    /* hoverしたボタン意外がぼやける */
    opacity:.5;
    transform: scale(1);
    /* 全てのボタンを通常サイズに指定 */
  }
  .navigation:hover .button:hover{
    transition: .5s;
    /* hoverした際にボタンのサイズを縮小する */
    transform:scale(.8);
    /* hoverしている要素のみぼやけない指定 */
    filter:blur(0px);
    /* hoverするとボタンが立体的に見えるように影を指定 */
    box-shadow: 2px 2px 3px 3px rgba(0,0,0,0.6);
    opacity:1;
  }
  .navigation:hover .button:hover > p {
    font-weight: bold;
  }
   .up{
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-bottom: 5%;
   }
   .up1{
    width: 25%;
   }
   .up2{
    width: 25%;
   }
   .up3{
    width: 25%;
   }
   .up img{
    border-radius: 50% 50% 70% 30% / 50% 50% 0% 0%;
   }
   .ikon{
    display: flex;
    height: 300px;
    margin-bottom: 5%;
    
   }
   .ikon1{
    width: 40%;
   }
  .ikon2 {
    width: 40%;
    margin-right: 7%;
    position: relative;
  }
  .ikon2 img{
    opacity: 0.5;
  }
  .ikon2 p{
    color: dimgray;
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .ikon3{
    width: 8%;
    margin-top: 15%;
  }
  .ikon4{
    width: 8%;
    margin-left: 3%;
    margin-top: 15%;
    margin-right: 8%;
  }
.down{
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin-bottom: 5%;
   }
   .down1{
    width: 25%;
   }
.down2{
  width: 25%;
}
.down3{
  width: 25%;
}
.down img{
    border-radius: 50% 50% 50% 50% / 0% 0% 50% 50%;
   }
.footer{
    
   position: absolute;
   width: 100%;
   height: 100px;
   background-image: url(../img/スカイランタン.JPG);
}
}
.splogo{
  display: none;
}
/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:999px) {
  body {
      min-width: 600px;
      max-width: 999px;
      background-color: #FCEDE8;
  }

  .container {
      width: 100%;}
      header{ background-image: url(../img/スカイランタン.JPG);
      }
      .openbtn{
        display: none;
      }
      nav{
        display: none;
      }
      .navigation{
          /* flexboxで要素を真ん中に指定 */
          display: flex;
          justify-content: center;
          align-items: center;
          width: 100%;
          margin-bottom: 2%;
        }
        .navigation ul {
          width: 100%;
        }
        .button{
          display: block;
          padding:10px;
          background:transparent;
          width:20%;
          float:left;
          box-shadow: 0px 0px 0px 0px rgba(0,0,0,0) ;
          /* カーソルを離した際のアニメーションの速度調整 */
          transition:.2s all;
        }
        .button p {
          height: 10px;
          font-weight: 300;
        }
        .button a {
          color: hotpink;
          /* リンク指定した要素のスタイルを削除 */
          text-decoration:none;
        }
        .navigation:hover .button{
          /* ナビゲーションをマウスオーバーした際のアニメーションの動きを指定 */
          filter:blur(3px);
          /* hoverしたボタン意外がぼやける */
          opacity:.5;
          transform: scale(1);
          /* 全てのボタンを通常サイズに指定 */
        }
        .navigation:hover .button:hover{
          transition: .5s;
          /* hoverした際にボタンのサイズを縮小する */
          transform:scale(.8);
          /* hoverしている要素のみぼやけない指定 */
          filter:blur(0px);
          /* hoverするとボタンが立体的に見えるように影を指定 */
          box-shadow: 2px 2px 3px 3px rgba(0,0,0,0.6);
          opacity:1;
        }
        .navigation:hover .button:hover > p {
          font-weight: bold;
        }
        .up{
          width: 100%;
          display: flex;
          justify-content: space-around;
          margin-bottom: 5%;
         }
         .up1{
          width: 25%;
         }
         .up2{
          width: 25%;
         }
         .up3{
          width: 25%;
         }
         .up img{
          border-radius: 50% 50% 70% 30% / 50% 50% 0% 0%;
         }
         .ikon{
          display: flex;
          height: 200px;
          
         }
         .ikon1{
          width: 40%;
         }
        .ikon2 {
          width: 40%;
          margin-right: 7%;
          position: relative;
        }
        .ikon2 img{
          opacity: 0.5;
        }
        .ikon2 p{
          color: dimgray;
          font-size: 30px;
          position: absolute;
          top: 38%;
          left: 50%;
          transform: translate(-50%, -50%);
        }
        .ikon3{
          width: 8%;
          margin-top: 15%;
        }
        .ikon4{
          width: 8%;
          margin-left: 3%;
          margin-top: 15%;
          margin-right: 8%;
        }
      .down{
          width: 100%;
          display: flex;
          justify-content: space-around;
          margin-bottom: 5%;
         }
         .down1{
          width: 25%;
         }
      .down2{
        width: 25%;
      }
      .down3{
        width: 25%;
      }
      .down img{
          border-radius: 50% 50% 50% 50% / 0% 0% 50% 50%;
         }
      .footer{
          
         position: absolute;
         width: 100%;
         height: 100px;
         background-image: url(../img/スカイランタン.JPG);
      }
      }
      .splogo{
        display: none;
      }
        

      /*SPサイズレスポンシブ*/
    @media(max-width:599px) {
      body {
          max-width: 599px;
          background-color: #FCEDE8;
      }
      .container {
          width: 100%;
      }
      header{ background-image: url(../img/スカイランタン.JPG);
      }
      .navigation{
        display: none;
      }
         .up{
          width: 100%;
          display: flex;
          justify-content: space-around;
          margin-bottom: 5%;
          
         }
         .up1{
          width: 25%;
         }
         .up2{
          width: 25%;
         }
         .up3{
          width: 25%;
         }
         .up img{
          border-radius: 50% 50% 70% 30% / 50% 50% 0% 0%;
         }
         .ikon{
          display: flex;
          height: 120px;
         }
         .ikon1{
          display: none;
         }
        .ikon2 {
          width: 40%;
          margin-left: 20%;
          margin-right: 7%;
          position: relative;
        }
        .ikon2 img{
          opacity: 0.5;
        }
        .ikon2 p{
          color: dimgray;
          font-size: 20px;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }
        .ikon3{
          width: 8%;
          margin-top: 15%;
        }
        .ikon4{
          width: 8%;
          margin-left: 3%;
          margin-top: 15%;
          margin-right: 8%;
        }
      .down{
          width: 100%;
          display: flex;
          justify-content: space-around;
          margin-bottom: 5%;
          margin-top: 5%;
         }
         .down1{
          width: 25%;
         }
      .down2{
        width: 25%;
      }
      .down3{
        width: 25%;
      }
      .down img{
          border-radius: 50% 50% 50% 50% / 0% 0% 50% 50%;
         }
      .footer{
          
         position: absolute;
         width: 100%;
        
         background-image: url(../img/スカイランタン.JPG);
      }
      }
      /*========= ナビゲーションのためのCSS ===============*/

#g-nav{
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position:fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
top:-120%;
  left:0;
width:100%;
  height: 100vh;/*ナビの高さ*/
background:plum;
  /*動き*/
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; 
}

#g-nav li a{
color: wheat;
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
position:fixed;
  z-index: 9999;/*ボタンを最前面に*/
top:10px;
right: 10px;
cursor: pointer;
  width: 50px;
  height:50px;
 
}

/*×に変化*/	
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
background-color: magenta;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
top:15px;	
}

.openbtn span:nth-of-type(2) {
top:23px;
}

.openbtn span:nth-of-type(3) {
top:31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  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(45deg);
  width: 30%;
}
.splogo{
  width: 15%;
}
        

