@charset "UTF-8";
/* CSS Document */
/*========= 途中からハンバーガーメニューに変化するのためのCSS ===============*/
/*========= ボタンのためのCSS ===============*/
/*ボタン全体の形状*/
.openbtn {
  /*はじめは非表示に*/
  display: none;
  /*ボタンの位置*/
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 999;
  /*ボタンの形状*/
  opacity: 0.95;
  background-image: linear-gradient(165deg, #7ec1ff 7%, #00c9d1 90%);
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  /*ボタンのアイコン設定*/
  /*activeクラスが付与された後のボタンのアイコン設定*/
}
.openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  /*border-radius: 2px;*/
  background-color: #fff;
  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 {
  opacity: 0.95;
  background-image: linear-gradient(165deg, #7ec1ff 0%, #00c9d1 0%);
  background: none;
}
.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%;
}

/*fadeDownクラスが付与された後のボタンの出現アニメーション設定*/
.fadeDown {
  animation-name: fadeDownAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
  display: block;
}

@keyframes fadeDownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*========= ヘッダーナビゲーションのためのCSS ===============*/
/*==ヘッダーの形状*/
#header {
  height: 70px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  text-align: center;
  position: fixed;
  top: 30px;
  right: 30px;
  width: 210px;
  height: 210px;
  opacity: 0.95;
  background-image: linear-gradient(165deg, #7ec1ff 7%, #00c9d1 90%);
  z-index: 100;
  /*.doneクラスがついたヘッダー*/
}
#header.dnone {
  opacity: 0; /*透過0にして非表示に*/
  /*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/
  /*.doneクラスがついたヘッダーのテキストナビゲーションの形状*/
}
#header.dnone.panelactive {
  opacity: 0.95; /*不透明にして出現*/
  /*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/
}
#header.dnone.panelactive #g-navi {
  opacity: 0.85; /*不透明に*/
  z-index: 3; /*最前面に*/
  padding-top: 0px;
  /*リストの形状*/
}
#header.dnone.panelactive #g-navi ul {
  display: block; /*flexの横並びをblockにして縦並びに*/
  padding-top: 35px;
}
#header.dnone.panelactive #g-navi li {
  height: 35px;
}
#header.dnone.panelactive #g-navi li a {
  color: #FFF;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 16px;
  line-height: 1.5;
}
#header.dnone.panelactive #g-navi li a:hover {
  opacity: 0.5;
}
#header.dnone.panelactive #g-navi h1 {
  font-size: 12px;
  margin-bottom: 0px;
  padding-top: 30px;
  display: none;
}
#header.dnone #g-navi {
  /*固定位置にして最背面に*/
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: -1;
  /*高さと幅*/
  width: 210px;
  height: 210px;
  /*天地中央＆テキスト中央揃え*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /*はじめは透過0に*/
  opacity: 0;
  transition: all 0.4s;
}

section {
  position: relative;
  z-index: 1;
  /* 以下は検証用のレイアウトのための CSS*/
  padding: 300px 0;
}

/*========= 途中からハンバーガーメニューに変化するのためのCSS ===============*/
/*========= ボタンのためのCSS ===============*/
/*ボタン全体の形状*/
@media (max-width: 768px) {
  .openbtn {
    /*はじめは非表示に*/
    display: none;
    /*ボタンの位置*/
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 999;
    /*ボタンの形状*/
    opacity: 0.95;
    background-image: linear-gradient(165deg, #7ec1ff 7%, #00c9d1 90%);
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 0 0 5px 0;
    /*ボタンのアイコン設定*/
    /*activeクラスが付与された後のボタンのアイコン設定*/
  }
  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    /*border-radius: 2px;*/
    background-color: #fff;
    width: 45%;
  }
  .openbtn.active {
    opacity: 0.95;
    background-image: linear-gradient(165deg, #7ec1ff 0%, #00c9d1 0%);
    background: none;
  }
  .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%;
  }
}

/*ボタンのアイコン設定*/
@media (max-width: 768px) {
  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    /*border-radius: 2px;*/
    background-color: #fff;
    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;
  }
}

/*fadeDownクラスが付与された後のボタンの出現アニメーション設定*/
@media (max-width: 768px) {
  .fadeDown {
    animation-name: fadeDownAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    display: block;
  }
}

@keyframes fadeDownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*========= ヘッダーナビゲーションのためのCSS ===============*/
/*==ヘッダーの形状*/
@media (max-width: 768px) {
  #header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    text-align: center;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 50vw;
    height: 50vw;
    opacity: 0.8;
    background-image: linear-gradient(165deg, #7ec1ff 7%, #00c9d1 90%);
    z-index: 100;
    /*.doneクラスがついたヘッダー*/
  }
  #header.dnone {
    opacity: 0; /*透過0にして非表示に*/
    /*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/
    /*.doneクラスがついたヘッダーのテキストナビゲーションの形状*/
    /*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/
  }
  #header.dnone.panelactive {
    opacity: 0.9; /*不透明にして出現*/
  }
  #header.dnone #g-navi {
    /*固定位置にして最背面に*/
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: -1;
    /*高さと幅*/
    width: 210px;
    height: 210px;
    /*天地中央＆テキスト中央揃え*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /*はじめは透過0に*/
    opacity: 0;
    transition: all 0.4s;
  }
  #header.dnone.panelactive #g-navi {
    opacity: 0.85; /*不透明に*/
    z-index: 3; /*最前面に*/
    padding-top: 0px;
    /*リストの形状*/
  }
  #header.dnone.panelactive #g-navi ul {
    display: block; /*flexの横並びをblockにして縦並びに*/
    padding-top: 0px;
    display: table-cell;
    vertical-align: middle;
    padding-bottom: 5vw;
  }
  #header.dnone.panelactive #g-navi li {
    height: 30px;
  }
  #header.dnone.panelactive #g-navi li a {
    color: #FFF;
    text-decoration: none;
    padding: 10px 5vw;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 14px;
    line-height: 1.5;
  }
  #header.dnone.panelactive #g-navi li a:hover {
    opacity: 0.5;
  }
  #header.dnone.panelactive #g-navi h1 {
    font-size: 12px;
    margin-bottom: 0px;
    padding-top: 30px;
    display: none;
  }
}

@media (max-width: 768px) {
  section {
    position: relative;
    z-index: 1;
    /* 以下は検証用のレイアウトのための CSS*/
    padding: 300px 0;
  }
}/*# sourceMappingURL=navi.css.map */