@charset "UTF-8";

/*-- header --*/

.desktop-head,
.mobile-head {
  position: fixed;
  display: flex;
  width: 100%;
  top: 0;
  left: 0;
  height: 60px;
  z-index: 999;
  align-items: center;
  justify-content: center;
  background-color: #81D8D0;
}

.desktop-site,
.mobile-site {
  align-items: center;
  justify-content: center;
  display: flex;
  .desktop-logo,
  .mobile-logo {
    display: inline-block;
    .logo {
      width: 42px;
    }
  }

  .desktop-site-title,
  .mobile-site-title {
    display: inline-block;
    padding-left: 12px;
    h1 {
      font-family: "Kosugi Maru", sans-serif;
      font-weight: bold;
      font-size: 1.6rem;
      color: #000;
    }
  }
}
 
.desktop-menu {
  position:fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: #CFECEE ;
  text-align: center;
  z-index: 999;
}

#desktop-nav {
    clear: both;
    text-align: center;
    top: 100px;
    z-index: 9999;
    ul {
      list-style: none;
      font-size: 1.1rem;
    }
  }
    
  #desktop-nav ul li {
    border-right: 1px solid #fff;
/*    padding: 3px 3px 0 9px; */
    padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 4px;
    line-height: 2.2rem;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
  }

  #desktop-nav ul li:last-child {
    border-right: none;
  }
    

#head-wrap {
  top: 0px;
  position: fixed;
  width: 100%;
  margin: 0 auto 0;
  line-height: 1;
  background-color: #81D8D0;
  z-index: 999;
/*  z-index: 999; */
/*  height: 0px; */
  text-decoration: none;
  a {
    text-decoration: none;
  }
  .inner {
    width: 100%;
    margin: 0 auto;
    position: relative;
  }
  &:after {
    content: "";
    clear: both;
    display: block;
  }
}
    
#global-nav {
    
  clear: both;
  text-align: center;
  background-color: #fff ;
  top: 100px;
  z-index: 9999;
  ul {
    list-style: none;
    font-size: 1.1rem;

    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
  }

}

#global-nav ul li {
    padding: 2px 2px 2px 2px;
    line-height: 1.6rem;
    display: inline-block;
    vertical-align: middle;

}
      
#global-nav ul li:last-child {
  border-right: none;
}

#global-nav ul li a {
  padding: 0 5px;
  /*  padding: 2px; */
  transition: all .6s ease 0s;
  box-sizing: border-box;
  color: #000;
  /*  font-weight: bold; */
}
 
#mobile-head, #global-nav {
  display: none;
}
  
@media (max-width: 576px) {

  #global-nav {
    display: block;
  }

  #global-nav ul {
    display: block;
    margin-right: 0px;
  }

  .nav-toggle-background {
    position: fixed;
    right: 6px;
    top: 9px;
    width: 12%;
    text-align: center;
    height: 42px;
    align-items: center;
    vertical-align: middle;
    border-radius: 8px;
    border: 2px solid #fff;
    background: #92cfb7;
  }
  .desktop-head {
    display: none;
  }
    
  #global-nav ul li {
    border-right: none;
    display: block;

  } 
}
    
/* Toggle Button */
#nav-toggle {
  display: none;
  margin-right: auto;
  margin-left: auto;
  width: 30px;
  height: 36px;
  top: 10px;
  position: relative; 
  /*  right: 9px;
  */
  
  cursor: pointer;
  z-index: 101;
  div {
    position: relative;
  }
}
  
@media (max-width: 576px) {
  #head-wrap {
/*    top: 0px;
    position: fixed;
    position: relative;
*/
    width: 100%;
    padding: 0;
    z-index: 999;
      /* Fixed reset */
    .inner {
      width: 100%;
      padding: 0;
    }
    .fixed {
      top: 0;
      padding-top: 0;
      background: transparent;
    }
  }
/*    #head-wrap.fixed {
        top: 0
      }
    #head-wrap.fixed {
      margin-top: 0;
    }
  
*/
  .desktop-menu {
    display: none;
  }    
  #mobile-head {
    position: relative;
    display: flex;
    width: 100%;
    top: 0;
    left: 0;
    height: 60px;
    align-items: center;
    justify-content: center;
  }

    #global-nav {
      position: absolute;
      top: 60px;
      right: -300px;
  /*
      top: -514px;
      right: 0;
  */
      background: #CFECEE;
      width: 40%;
      text-align: center;
      /*
      -webkit-transition: .5s ease-in-out;
      -moz-transition: .5s ease-in-out;
      */
      transition: .5s ease-in-out;
      z-index: 9999;
      opacity: 0.8;
      border-radius: 0 0 9px 9px;
  
    }
    #global-nav ul {
      list-style: none;
      position: static;
      right: 0;
      bottom: 0;
      font-size: 1.0rem;
      padding-bottom: 9px;
      padding: 9px;
    }
    #global-nav ul li {
      float: none;
      position: static;
    }
    #head-wrap #global-nav ul li a,
    #head-wrap.fixed #global-nav ul li a {
      width: 100%;
      display: block;
      border-bottom: 1px solid #000;
    }
    #nav-toggle {
      display: block;
    
        /* #nav-toggle åˆ‡ã‚Šæ›¿ãˆã‚¢ãƒ‹ãƒ¡ãƒ¼ã‚·ãƒ§ãƒ³ */
      span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: #fff;
  /*      left: 0;*/
  /*
          -webkit-transition: .35s ease-in-out;
          -moz-transition: .35s ease-in-out;
  */
        transition: .35s ease-in-out;
  
        &:nth-child(1) {
          top: 0;
        }
        &:nth-child(2) {
          top: 9px;
        }
        &:nth-child(3) {
          top: 18px;
        }      
      }
    }
  
    .open {
      #nav-toggle {
        span{
          &:nth-child(1) {
            top: 9px;
          /*
          -webkit-transform: rotate(315deg);
          -moz-transform: rotate(315deg);
          */
            transform: rotate(315deg);
          }
          &:nth-child(2) {
            width: 0;
            left: 50%;
          }
          &:nth-child(3) {
            top: 9px;
          /*
          -webkit-transform: rotate(-315deg);
          -moz-transform: rotate(-315deg);
          */
            transform: rotate(-315deg);
          }
        }
      }
      /* #global-nav ã‚¹ãƒ©ã‚¤ãƒ‰ã‚¢ãƒ‹ãƒ¡ãƒ¼ã‚·ãƒ§ãƒ³ */
      #global-nav {
        /* #global-nav top + #mobile-head height */
        /*
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        */
        transform: translateX(-300px);
        /* transform: translateX(600px); */
  /*      transform: translateY(556px); */
      }
    }
  }
  
  /*-- footer --*/
  .foot-menu {
    background-color: #dddddd;
    padding: 9px 0 9px 0;
  }
  
  .foot-menu p {
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
  }
  
  .foot-menu ul {
    text-align: center;
  }
  
  .foot-menu li {
    font-size: 0.9rem;
    text-align: center;
    padding: 0 0 6px;
    display: inline;
  }
  
  /*-- foot バナー */
  .flex-row {
      display: none;
    }
  
  @media (max-width: 576px) {
    /*-- footer バナー --*/
    .flex-row {
      display: flex;
    }
  
    .foot-menu li {
      font-size: 0.8rem;
      padding: 0 0 3px;
    }
  }
  
  /*-- 右サイドバナー */
  .side-banner {
    right: 0;
    top: 160px;
    position: fixed;
    width: 240px;
    z-index: 9999;
  }
  
  @media (max-width: 576px) {
    .side-banner {
      display: none;  
    }
  }
  
  /* ページトップへ・ボタン */
  #page_top{
    width: 72px;
    height: 90px;
    position: fixed;
    right: 0px;
    bottom: 72px;
    opacity: 0;
    transition: all 1s ease;
    z-index: 9999;
  }
  
  #page_top.show {
      opacity: 0.8;
      transform: none;
   }
  #page_top a{
      position: relative;
      display: block;
      width: 72px;
      height: 90px;
      text-decoration: none;
  }
  
  #page_top a::before{
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      content: '\f102';
      font-size: 2.0rem;
      color: rgb(129, 216, 208, .8);
      position: absolute;
      width: 30px;
      height: 30px;
      top: -40px;
      bottom: 0;
      right: 0;
      left: 0;
      margin: auto;
      text-align: center;
  }
  
  #page_top a::after{
      content: 'TOP';
      font-size: 1.0rem;
      position: absolute;
      top: 48px;
      bottom: 0;
      right: 0;
      left: 0;
      margin: auto;
      text-align: center;
      color: rgb(129, 216, 208, .8);
  }
  
  @media screen and (max-width: 576px) {/* スマホ用のブレイクポイントを指定 */
      /* ページトップへ・ボタン */
    #page_top {
      width: 72px;
      height: 90px;
      position: fixed;
      right: 0px;
      bottom: 120px;
      opacity: 0;
      transition: all 1s ease;
    }
  }
  
  /* fadeUp : 下からふわっと現れる */
  .fadeUp {
  /*    -webkit-animation-name: fadeUpAnime; */
    animation-name: fadeUpAnime;    /*アニメーションの名前*/
  /*    -webkit-animation-duration: 1s; */
    animation-duration: 1s;         /*アニメーションの実行時間*/
  /*    -webkit-animation-fill-mode: forwards; */
    animation-fill-mode: forwards;  /*アニメーション後、要素が表示されたままにする*/
    }
      
  .fadeUpTrigger {
    opacity: 0;                     /*非表示*/
  }
    /* ページトップへ */
  @-webkit-keyframes fadeUpAnime {
  0% {
    opacity: 0;                   /*非表示*/
  /*          -webkit-transform: translateY(100px); */
    transform: translateY(100px); /*縦方向に100pxずらす*/
  }
    
  100% {
    opacity: 1;                   /*表示*/
  /*          -webkit-transform: translateY(0); */
    transform: translateY(0);     /*元の位置*/
  }
}
    
@keyframes fadeUpAnime {
  0% {
    opacity: 0;                   /*非表示*/
  /*          -webkit-transform: translateY(100px); */
    transform: translateY(100px); /*縦方向に100pxずらす*/
  }
      
  100% {
    opacity: 1;                   /*表示*/
  /*          -webkit-transform: translateY(0); */
     transform: translateY(0);     /*元の位置*/
    }
}
