@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%;
  }
  .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;
  }

.ikon{
  display: flex;
  align-items: end;
  justify-content: end;
}
.ikon1{
  width: 30%;
  margin-right: 55%;
}
.ikon2{
  width: 8%;
  margin: 3%;
}
.ikon3{
  width: 8%;
  margin: 3%;
}
.main{
  width: 100%;
  display: flex;
  align-items: center;
  height: 500px;
}
.main1{
  width: 55%;
  margin-left: 15%;
  position: relative;
}
.main1 img{
  opacity: 0.6;
}
.center{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: dimgray;
}
.contact{
  margin-left: 75%;
  margin-bottom: 3%;
}
a.btn--orange {
  color: #fff;
  background-color: plum;
  border-bottom: 5px solid magenta;
}
a.btn--orange:hover {
  margin-top: 3px;
  color: #fff;
  background: magenta;
  border-bottom: 2px solid plum;
}
a.btn--shadow {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}
.footer{
  background-image: url(../img/スカイランタン.JPG);
}
.navigation{
    /* flexboxで要素を真ん中に指定 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .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;
  }
}

/*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%;
        }
        .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;
        }
      
      .ikon{
        display: flex;
        align-items: end;
        justify-content: end;
      }
      .ikon1{
        width: 30%;
        margin-right: 55%;
      }
      .ikon2{
        width: 8%;
        margin: 3%;
      }
      .ikon3{
        width: 8%;
        margin: 3%;
      }
      .main{
        display: flex;
        align-items: center;
        width: 100%;
      }
     .main1{
      width: 80%;
      position: relative;
      margin-left: 15%;
      height: 500px;
     }
     .main1 img{
      opacity: 0.7;
     }
      .center{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 25px;
        color: dimgray;
      }
      
      .contact{
        margin-left: 75%;
        margin-bottom: 3%;
      }
      a.btn--orange {
        color: #fff;
        background-color: plum;
        border-bottom: 5px solid magenta;
      }
      a.btn--orange:hover {
        margin-top: 3px;
        color: #fff;
        background: magenta;
        border-bottom: 2px solid plum;
      }
      a.btn--shadow {
        -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
        box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
      }
      .footer{
        background-image: url(../img/スカイランタン.JPG);
      }
      .navigation{
          /* flexboxで要素を真ん中に指定 */
          display: flex;
          justify-content: center;
          align-items: center;
          width: 100%;
        }
        .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;
        }
      }

      /*SPサイズレスポンシブ*/
    @media(max-width:599px) {
      body {
          max-width: 599px;
          background-color: #FCEDE8;
      }
      .container {
          width: 100%;
      }
      header{
        background-image: url(../img/スカイランタン.JPG);
      }
      .navigation{
        display: none;
      }
      
      .ikon{
        display: flex;
        align-items: end;
        justify-content: end;
      }
      .ikon1{
        width: 30%;
        margin-right: 35%;
      }
      .ikon2{
        width: 8%;
        margin: 3%;
      }
      .ikon3{
        width: 8%;
        margin: 3%;
      }
      
      .center{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 15px;
        color: dimgray;
      }
      
      .main{
        width: 100%;
      }
      .main1{
        width: 70%;
        margin: 0 auto;
      }
      .main1 img{
        opacity: 0.7;
      }
      .main1 p{
        font-size: 25px;
        padding-bottom: 15%;
      }
      .main2{
        width: 100%;
      }
      .main2 img{
        margin-top: 5%;
        margin: 0 auto;
      }
      .contact{
        margin-left: 70%;
        margin-bottom: 3%;
        font-size: xx-small;
      }
      a.btn--orange {
        color: #fff;
        background-color: plum;
        border-bottom: 5px solid magenta;
      }
      a.btn--orange:hover {
        margin-top: 3px;
        color: #fff;
        background: magenta;
        border-bottom: 2px solid plum;
      }
      a.btn--shadow {
        -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
        box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
      }
      .footer{
        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%;
}
    }
