/*========================================
                header
========================================*/

label.hamburger {
    position: fixed;
    width: 50px;
    height: 55px;
    padding: 10px 15px;
    top: 0px;
    right: 0px;
    z-index: 500;
    background-color: rgba(2,68,96,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 10px;
}
  
  label.hamburger div {
    position: relative;
    width: 35px;
    height: 2px;
    background-color: rgb(255, 255, 255);;
    margin-top: 13px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
  }
  label.hamburger div:first-child{
    margin-top: 0;
  }
  
  #toggle {
    display: none;
  }
  
  /* Hamburger Animation */
  #toggle:checked + .hamburger{
    background-color: rgba(0,0,0,0);
  }
  #toggle:checked + .hamburger .top {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    margin-top: 15px;
  }
  
  #toggle:checked + .hamburger .meat {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    margin-top: -2px;
  }
  
  #toggle:checked + .hamburger .bottom {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  
  #toggle:checked + .hamburger + .nav {
    top: 0;
  }
  #toggle{
    display:none;
  }
  
  menu {
    position: fixed;
    box-shadow: -1px 1px 1px rgba(0,0,0,0.2);
    font-size: 20px;
    right: -101vw;
    top: 0;
    line-height: 20px;
    height: 101vh;
    width: 20%;
    background-color: rgba(2,68,96,0.7);
    min-width: 200px;
    transition-duration: 0.5s;
}
  
  /* メニュー */
  #toggle:checked + .hamburger + menu {
    transform: translateX(-101vw);
    z-index: 200;
}
  
  menu li {
    padding: 35px 0;
    background-color: initial;    
}
  
  menu li a{
    width: 100%;
    text-align: center;
    font-size: 25px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-bottom:solid 2px #fff;
    padding-bottom:35px;
  }
  menu li:last-child a{
border-bottom: 0;
  }
  .minimun {
      font-size: 5px;
  }  
  menu nav{
    position: relative;
  }
  ul.nav {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 35%;
}
 ul.nav li {
    width: 100%;
    text-align: center;
}
  #nav-icon__area{
    width: 20%;
      position: absolute;
    left:5%;
    top: 15%;
  }
  #nav-icon__area p{
    color: #fff;
    margin-top:30px;
    font-size: 25px;
    text-align:center;
    line-height: 120%;
  }
  #nav-icon__area p span{
    font-size: 20px;
  }
  #nav-icon{
    width: 100%;
  }
  div#header__logo{
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  div#header__logo img {
      width: 100%;
  }
  div#header-insta {
        top:0;
      position: fixed;
      right: 80px;
      padding: 10px 15px;
      width: 50px;
      height: 45px;
      background-color: #0086D0;
  }
  div#header-insta a{
    width: 100%;
    height: 100%;
    display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
  }
  div#header-insta img {
      width: 85%;
      height: auto;
  }
  /* Dropdown Animation */
  #toggle:checked + .hamburger + nav a {
    opacity: 0.9;
    -webkit-transform: scale(1);
            transform: scale(1);
    position: relative;
    z-index: 2;
  }
  @media screen and (max-width: 850px){
    menu {
      display: block;
      height: auto;
      height: 100vh;
    }
    label.hamburger div{
      width: 35px;
      height: 3px;
      margin-top:6px;
    }
    label.hamburger div{
      width: 40px;
      height: 2px;
      margin-top:8px;
    }
    label.hamburger {
      width: 40px;
      top: 0;
      right: 0;
  }
    ul.nav {
        width: 100vw;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        margin-top: 15%;
    }
    menu li a {
        width: 100%;
        text-align: center;
        font-size: 20px;
        color: #fff;
        text-align: center;
        text-decoration: none;
        border-bottom: solid 3px #fff;
        padding-bottom: 10px;
    }
    #nav-icon__area p {
          color: #fff;
          margin-top: 30px;
          font-size: 20px;
          text-align: center;
          line-height: 120%;
      }
      menu li {
        padding: 70px 0;
        padding-left: 10px;
        background-color: initial;
    }
    #nav-icon__area{
      display: none;
    }
    ul.nav li {
        width: 45%;
        text-align: center;
    }
    div#header__logo img {
      width: 65%;
      margin-left: 10%;
      margin-top: 10%;
  }
  div#header-insta {
        top:0;
        position: fixed;
        right: 70px;
        padding: 10px 15px;
        width: 40px;
        height: 45px;
        background-color: #0086D0;
    }
     div#header-insta img {
        width: 95%;
        height: auto;
    }
  }
  @media screen and (max-width: 500px){
    div#header__logo {
      width: 80%;
    }
    menu {
      display: block;
      height: 100vh;
    }
    ul.nav {
      width: 100vw;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      margin-top: 20%;
  }
    label.hamburger div{
      width: 35px;
      height: 3px;
      margin-top:6px;
    }
    label.hamburger div {
        width: 30px;
        height: 32px;
        height: 2px;
        margin-top: 6px;
    }
    label.hamburger {
        width: 30px;
        height: 32px;
        top: 0px;
        right: 0px;
    }
    nav a{
      font-size: 140%;
    }
    div#header__logo img {
        width: 60%;
        margin-left: 0%;
        margin-top: 0%;
    }
    div#header-insta {
        top: 0;
        position: fixed;
        right: 60px;
        padding: 10px 15px;
        width: 30px;
        height: 32px;
        background-color: #0086D0;
    }
    #toggle:checked + .hamburger .meat {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        margin-top: -3px;
     
    }
    h2.section-heading {
        font-size: 20px;
    }
    menu li {
    padding: 25px 0;
    padding-left: 0px;
    background-color: initial;
}
    menu li a {
      width: 100%;
      text-align: center;
      font-size: 15px;
      color: #fff;
      text-align: center;
      text-decoration: none;
      border-bottom: solid 3px #fff;
      padding-bottom: 10px;
  }
  }
  @media screen and (max-width: 400px){
    label.hamburger div {
        width: 30px;
        height: 2px;
        margin-top: 6px;
    }
    label.hamburger div {
        width: 30px;
        height: 2px;
        margin-top: 6px;
    }
    nav a{
      font-size: 140%;
    }
    menu li {
        padding: 40px 0;
        padding-left: 10px;
        background-color: initial;
    }
    div#header-insta img {
        width: 100%;
        height: auto;
    }
  }
  @media screen and (max-width: 320px){
  menu {
      top: 0px;
      height: 100vh;
  }
  h2.section-heading {
      font-size: 17px;
  }
  menu li {
          padding: 40px 0;
          padding-left: 0;
          background-color: initial;
      }
      ul.nav {
        width: 100vw;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        margin-top: 7%;
    }
    div#header__logo img {
        width: 50%;
        margin-left: 5%;
        margin-top: 5%;
    }
    label.hamburger {
        width: 23px;
        height: 27px;
        top: 5px;
        top: 0;
        right: 0px;
    }
    label.hamburger div {
        width: 25px;
        height: 1px;
        margin-top: 6px;
    }
    div#header-insta {
        top: 0;
        position: fixed;
        right: 53px;
        padding: 10px 10px;
        width: 30px;
        height: 27px;
        background-color: #0086D0;
    }
  }
@media screen and (max-width: 1024px){
    #t-top-left {
      position: absolute;
      top: -10vw;
      left: 0;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 0 70vw 10vw 0px;
      border-color: transparent transparent #0d8cd2 transparent;
  }
  #t-top-right {
      position: absolute;
      top: -10vw;
      right: 0;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 0 0px 10vw 30vw;
      border-color: transparent transparent #0d8cd2 transparent;
  }
}