@charset "UTF-8";

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

  body {
    min-width: 1000px;
    background-color: #FCEDE8;
    font-family: 'Raleway', sans-serif;

  }
.header1{
  display: none;
}
  .openbtn {
    display: none;
  }

  nav {
    display: none;
  }

  .navigation {
    /* flexboxで要素を真ん中に指定 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10%;
    background-image: url(../img/スカイランタン.JPG);
  }

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

  main {
    width: 100%;
  }

  .main1 {
    position: relative;
  }

  .main1 img {
    width: 40%;
    margin-left: 45%;
  }

  .main1 p {
    position: absolute;
    left: 30%;
    top: 25%;
    font-size: 30px;
    text-align: center;
    color: #565656;
  }

  .main2 p {
    font-size: large;
    position: absolute;
    top: 70%;
    margin-left: 3%;
    padding: 0.2em 0.5em;
    margin: 2em 0;
    color: #565656;
    background: #ffeaea;
    box-shadow: 0px 0px 0px 10px #ffeaea;
    border: dashed 2px #ffc3c3;
    border-radius: 8px;
    width: 25%;
    text-align: center;
    margin-left: 1%;
    padding: 3%;
  }

  .mind {
    width: 100%;
    padding-top: 15%;
    margin-left: 15%;

  }

  .mind img {
    width: 45%;
  }

  .mind1 {
    position: relative;
    font-size: 30px;
    color: #565656;
  }

  .mind1 p {
    position: absolute;
    left: 50%;
    top: 60%;
  }

  .mind2 p {
    font-size: large;
    position: absolute;
    left: 35%;
    top: 65%;
    padding: 0.2em 0.5em;
    margin: 2em 0;
    color: #565656;
    background: #ffeaea;
    box-shadow: 0px 0px 0px 10px #ffeaea;
    border: dashed 2px #ffc3c3;
    border-radius: 8px;
    width: 40%;
    text-align: center;
    margin-left: 1%;
    padding: 3%;
  }

  .ikon {
    margin-top: 100%;
    display: flex;
  }

  .ikon1 {
    height: 350px;
  }

  .ikon2 {
    width: 5%;
    margin-top: 20%;
    margin-left: 30%;
  }

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

  .footer {

    position: absolute;
    width: 100%;
    height: 100px;
    margin-top: 5%;
    z-index: 999;
  }
}

/*ipadサイズレスポンシブ*/
@media(min-width:768px) and (max-width:999px) {
  body {
    min-width: 768px;
    max-width: 999px;
    background-color: #FCEDE8;
    font-family: 'Raleway', sans-serif;
  }

  .container {
    width: 100%;
  }
  .header1{
    display: none;
  }
  .openbtn {
    display: none;
  }

  nav {
    display: none;
  }

  .navigation {
    /* flexboxで要素を真ん中に指定 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10%;
    background-image: url(../img/スカイランタン.JPG);
  }

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

  main {
    width: 100%;
  }

  .main1 {
    position: relative;
  }

  .main1 img {
    width: 40%;
    margin-left: 45%;
  }

  .main1 p {
    position: absolute;
    left: 20%;
    top: 25%;
    font-size: 20px;
    text-align: center;
    color: #565656;
  }

  .main2 p {
    font-size: 15px;
    position: absolute;
    top: 70%;
    margin-left: 3%;
    padding: 0.2em 0.5em;
    margin: 2em 0;
    color: #565656;
    background: #ffeaea;
    box-shadow: 0px 0px 0px 10px #ffeaea;
    border: dashed 2px #ffc3c3;
    border-radius: 8px;
    width: 25%;
    text-align: center;
    margin-left: 1%;
    padding: 3%;
  }

  .mind {
    width: 100%;
    padding-top: 25%;
    margin-left: 15%;
  }

  .mind img {
    width: 45%;
  }

  .mind1 {
    position: relative;
    font-size: 20px;
    color: #565656;
  }

  .mind1 p {
    position: absolute;
    left: 50%;
    top: 60%;
  }

  .mind2 p {
    font-size: 10px;
    position: absolute;
    left: 15%;
    top: 75%;
    padding: 0.2em 0.5em;
    margin: 2em 0;
    color: #565656;
    background: #ffeaea;
    box-shadow: 0px 0px 0px 10px #ffeaea;
    border: dashed 2px #ffc3c3;
    border-radius: 8px;
    width: 45%;
    text-align: center;
    margin-left: 15%;

  }

  .ikon {
    margin-top: 100%;
    display: flex;
  }

  .ikon2 {
    width: 20%;
    margin-top: 25%;
  }

  .ikon3 {
    width: 20%;
    margin-top: 25%;
  }

  .ikon1 {
    width: 60%;
  }

  .ikon2 img {
    width: 40%;
  }

  .ikon3 img {
    width: 40%;
  }

  .footer {

    position: absolute;
    width: 100%;
    height: 100px;
    margin-top: 5%;
    z-index: 999;
  }
}

/*ipadサイズレスポンシブ*/
@media(min-width:600px) and (max-width:767px) {
  body {
    min-width: 600px;
    max-width: 767px;
    background-color: #FCEDE8;
    font-family: 'Raleway', sans-serif;
  }

  .container {
    width: 100%;
  }
  .header1{
    display: none;
  }
  .openbtn{
    display: none;
  }
  nav{
    display: none;
  }
  .navigation {
    /* flexboxで要素を真ん中に指定 */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10%;
    background-image: url(../img/スカイランタン.JPG);
  }

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

  main {
    width: 100%;
  }

  .main1 {
    position: relative;
  }

  .main1 img {
    width: 40%;
    margin-left: 45%;
  }

  .main1 p {
    position: absolute;
    left: 20%;
    top: 25%;
    font-size: 20px;
    text-align: center;
    color: #565656;
  }

  .main2 p {
    font-size: 15px;
    position: absolute;
    top: 70%;
    margin-left: 3%;
    padding: 0.2em 0.5em;
    margin: 2em 0;
    color: #565656;
    background: #ffeaea;
    box-shadow: 0px 0px 0px 10px #ffeaea;
    border: dashed 2px #ffc3c3;
    border-radius: 8px;
    width: 25%;
    text-align: center;
    margin-left: 1%;
    padding: 3%;
  }

  .mind {
    width: 100%;
    padding-top: 25%;
    margin-left: 15%;
  }

  .mind img {
    width: 45%;
  }

  .mind1 {
    position: relative;
    font-size: 20px;
    color: #565656;
  }

  .mind1 p {
    position: absolute;
    left: 50%;
    top: 60%;
  }

  .mind2 p {
    font-size: 10px;
    position: absolute;
    left: 15%;
    top: 75%;
    padding: 0.2em 0.5em;
    margin: 2em 0;
    color: #565656;
    background: #ffeaea;
    box-shadow: 0px 0px 0px 10px #ffeaea;
    border: dashed 2px #ffc3c3;
    border-radius: 8px;
    width: 65%;
    text-align: center;
    margin-left: 1%;

  }

  .ikon {
    margin-top: 15%;
    display: flex;
  }

  .ikon2 {
    width: 20%;
    margin-top: 25%;
  }

  .ikon3 {
    width: 20%;
    margin-top: 25%;
  }

  .ikon2 img {
    width: 80%;
  }

  .ikon3 img {
    width: 80%;
  }

  .footer {

    position: absolute;
    width: 100%;
    height: 100px;
    margin-top: 5%;
    z-index: 999;
  }
}

/*SPサイズレスポンシブ*/
@media(max-width:599px) {
  body {
    max-width: 599px;
    background-color: #FCEDE8;
    font-family: 'Raleway', sans-serif;
  }

  .container {
    width: 100%;
  }
  .header{
    width: 100%;
   
  }
.header1{
  width: 100%;
}
.header1 img{
  width: 20%;
  margin-left: 5%;
}
 .navigation{
  display: none;
 }
  main {
    width: 100%;
  }

  .main1 {
    position: relative;
  }

  .main1 img {
    width: 55%;
    margin-left: 45%;
  }

  .main1 p {
    position: absolute;
    left: 20%;
    top: 25%;
    font-size: 15px;
    text-align: center;
    color: #565656;
  }

  .main2 p {
    font-size: 8px;
    position: absolute;
    top: 70%;
    margin-left: 3%;
    padding: 0.2em 0.5em;
    margin: 2em 0;
    color: #565656;
    background: #ffeaea;
    box-shadow: 0px 0px 0px 10px #ffeaea;
    border: dashed 2px #ffc3c3;
    border-radius: 8px;
    width: 35%;
    text-align: center;
    margin-left: 1%;
    padding: 3%;
  }

  .mind {
    width: 100%;
    padding-top: 25%;
    margin-left: 15%;
  }

  .mind img {
    width: 55%;
  }

  .mind1 {
    position: relative;
    font-size: 15px;
    color: #565656;
  }

  .mind1 p {
    position: absolute;
    left: 50%;
    top: 60%;
  }

  .mind2 p {
    font-size: 8px;
    position: absolute;
    left: 15%;
    top: 75%;
    padding: 0.2em 0.5em;
    margin: 2em 0;
    color: #565656;
    background: #ffeaea;
    box-shadow: 0px 0px 0px 10px #ffeaea;
    border: dashed 2px #ffc3c3;
    border-radius: 8px;
    width: 65%;
    text-align: center;
    margin-left: 1%;

  }

  .ikon {
    margin-top: 15%;
    display: flex;
    justify-content: flex-end;
  }
.ikon1{
  display: none;
}
  .ikon2 {
    width: 10%;
    margin-top: 25%;
  }

  .ikon3 {
    width: 10%;
    margin-top: 25%;
  }

  .ikon2 img {
    width: 80%;
  }

  .ikon3 img {
    width: 80%;
  }

  .footer {

    position: absolute;
    width: 100%;
    height: 100px;
    margin-top: 5%;
    z-index: 999;
  }
}
/*========= ナビゲーションのための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%;
}
