/*-------------------------------------------
ヘッダー
-------------------------------------------*/

#header {
    width: 100%;
    height:50px;
    display: flex;
    justify-content: space-between;
    padding: 10px 40px;
    position: fixed;
    top:0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.7);
}

.site-title img {
    max-height: 50px;
    height:25px;
    position: relative;
    top:3px;
}

.navi-menu {
    display: flex;
}

.navi-menu li {
    margin: 1px 0 auto 40px;
    font-size: 1rem;
}

.contact_btn {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    padding: 1px 20px 3px 20px;
    background-color: #003EFF;
    border-radius: 50px;
}

.toggle_btn {
    display: none;
}

#mask {
    display: none;
}

@media (max-width: 800px) {
    #header {
        width: 100%;
        height:80px;
        display: flex;
        justify-content: space-between;
        padding: 0px 16px;
        position: fixed;
        top:0;
        z-index: 10;
        background-color: rgba(255, 255, 255, 0);
    }

    .site-title img {
        max-height: 50px;
        height:25px;
        position: relative;
        top:29px;
        left:0px;
    }

    #navi {
        display: flex;
        flex-flow: column;
        position: fixed;
        top: 0;
        left: -300px;
        bottom: 0;
        width: 300px;
        color: #fff;
        padding: 60px 25px;
        background-color: #121212;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: all .5s;
        z-index: 20;
        opacity: 0;
      }



      #navi a {
        color: #fff;
      }

      .open #navi {
        left: 0;
        opacity: 1;
      }

      .navi-menu {
        margin-bottom: 60px;
        border-top: solid 1px #fff;
        display: flex;
        flex-flow: column;
      }

      .navi-menu li {
        position: relative;
        margin: 0;
        padding: 20px 0;
        border-bottom: solid 1px #fff;
      }

      .navi-menu li:last-child{
        border: none;
        margin-top:80px;
      }

      #navi ul.nav-sns li {
        padding: 5px 0;
      }
      .toggle_btn {
        display: block;
        position: fixed;
        top: 25px;
        right: 16px;
        width: 30px;
        height: 30px;
        transition: all .5s;
        cursor: pointer;
        z-index: 20;
      }
      .toggle_btn span {
        display: block;
        position: absolute;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: #333;
        border-radius: 4px;
        transition: all .5s;
      }
      .toggle_btn span:nth-child(1) {
        top: 4px;
      }
      .toggle_btn span:nth-child(2) {
        top: 14px;
      }
      .toggle_btn span:nth-child(3) {
        bottom: 4px;
      }
      .open .toggle_btn span {
        background-color: #fff;
      }
      .open .toggle_btn span:nth-child(1) {
        -webkit-transform: translateY(10px) rotate(-315deg);
        transform: translateY(10px) rotate(-315deg);
      }
      .open .toggle_btn span:nth-child(2) {
        opacity: 0;
      }
      .open .toggle_btn span:nth-child(3) {
        -webkit-transform: translateY(-10px) rotate(315deg);
        transform: translateY(-10px) rotate(315deg);
      }
      #mask {
        display: none;
        transition: all .5s;
      }
      .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: .8;
        z-index: 10;
        cursor: pointer;
      }
}