@charset "UTF-8";

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

  }

  body {
    width: 100%;
    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;

  }

  .ikon1 {
    width: 20%;
  }

  .ikon2 {
    width: 5%;
    margin-left: 55%;
    margin-top: 10%;
  }

  .ikon3 {
    width: 5%;
    margin-left: 3%;
    margin-top: 10%;
  }

  .contact {
    width: 70%;
    margin: 0 auto;
    background-image: url(../img/スカイランタン.JPG);
    background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: lighten;
    padding-top: 5%;


  }

  h1 {
    margin-bottom: 3%;
    text-align: center;
  }

  table {
    margin: 0 auto;
  }

  h2 {
    padding: 5%;
    text-align: center;
    color: magenta;
  }

  .footer {
    width: 100%;
  }

  .navigation {
    background-image: url(../img/スカイランタン.JPG);
    width: 100%;
    height: 100px;


  }
}

/*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;

  }

  .ikon1 {
    width: 20%;
  }

  .ikon2 {
    width: 5%;
    margin-left: 55%;
    margin-top: 10%;
  }

  .ikon3 {
    width: 5%;
    margin-left: 3%;
    margin-top: 10%;
  }

  .contact {

    width: 70%;
    height: 500px;
    margin: 0 auto;
    margin-bottom: 10%;
    background-image: url(../img/スカイランタン.JPG);
    background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: lighten;
  }

  .footer {
    background-image: url(../img/スカイランタン.JPG);
    position: absolute;
    width: 100%;
    height: 100px;

  }
}


/*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;
  }

  .ikon1 {
    width: 35%;
  }

  .ikon2 {
    width: 8%;
    margin-left: 55%;
    margin-top: 10%;
  }

  .ikon3 {
    width: 8%;
    margin-left: 3%;
    margin-top: 10%;
  }

  h1 {
    font-size: smaller;
    text-align: center;
  }

  h2 {
    text-align: center;
    font-size: smaller;
  }



  .contact {

    width: 100%;
    height: 590px;
   
    margin-bottom: 10%;
    background-image: url(../img/スカイランタン.JPG);
    background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: lighten;
  }
  .contact__item{
    padding-left: 28%;
  }

  table {
    display: block;
    width: 100%;
  }

  table tr {
    display: block;
    width: 100%;
  }
  table th{
    display: block;
    width: 100%;
  }
  table td{
    width: 70%;
}

  .footer {
    background-image: url(../img/スカイランタン.JPG);
    position: absolute;
    width: 100%;
    height: 100px;

  }

  /*========= ナビゲーションのための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%;
  }

}