.header {
  padding: 20px 0 15px;
  background: #fff;
  @media screen and (max-width:767px) {
    width: 100%;
    margin: 0 auto;
    padding: 15px 0;
    z-index: 9999;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }
  h1 {
    width: 204px;
    height: 43px;
    @media screen and (max-width:1050px) {
      width: 180px;
      height: 38px;
    }
    @media screen and (max-width:950px) {
      width: 160px;
      height: 34px;
    }
    @media screen and (max-width:900px) {
      width: 140px;
      height: 29px;
    }
    @media screen and (max-width:800px) {
      width: 130px;
      height: 27px;
    }
    @media screen and (max-width:767px) {
      width: 143px;
      height: 30px;
      float: left;
    }
  }
}

.spBtn01 {
  @media print, screen and (min-width:768px) {
    display: none !important;
  }
  p {
    width: 21px;
    height: 17px;
    transition: all .4s;
    z-index: 9999;
    position: fixed;
    top: 20px;
    right: 3%;
    &.active {
      span {
        background: #fff;
        &:first-child {
          transform: translateY(7px) rotate(-45deg);
        }
        &:nth-child(2) {
          opacity: 0;
        }
        &:last-child {
          transform: translateY(-7px) rotate(45deg);
        }
      }
    }
  }

  span {
    width: 21px;
    height: 3px;
    margin: 0 auto;
    background: #231815;
    transition: all .4s;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    &:first-child {
      top: 0;
    }
    &:nth-child(2) {
      top: 7px;
    }
    &:nth-child(3) {
      bottom: 0;
    }
  }

  &.active {
    width: 100%;
    height: 54px;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
}

.spMenuArea01 {
  @media print, screen and (min-width:768px) {
    margin-top: 14px;
    display: block !important;
  }
  @media screen and(max-width:1050px) and (min-width:768px) {
    margin-top: 12px;
  }
  @media screen and(max-width:950px) and (min-width:768px) {
    margin-top: 10px;
  }
  @media screen and(max-width:900px) and (min-width:768px) {
    margin-top: 8px;
  }
  @media screen and (max-width:767px) {
    font-size: 14px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    margin-top: 54px;
    padding-bottom: 54px;
    background: rgba(0, 0, 0, 0.8);
    border: 0;
    z-index: 9998;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  li {
    font-weight: bold;
    @media print, screen and (min-width:768px) {
      line-height: 1;
    }
    @media screen and(max-width:1050px) and (min-width:768px) {
      font-size: 15px;
    }
    @media screen and(max-width:950px) and (min-width:768px) {
      font-size: 14px;
    }
    @media screen and(max-width:900px) and (min-width:768px) {
      font-size: 13px;
    }
    @media screen and (max-width:767px) {
      font-weight: normal;
      border-top: 1px solid #fff;
      float: none;
    }
    &:last-child {
      @media screen and (max-width:767px) {
        border-bottom: 1px solid #fff;
      }
    }

    &:not(:last-child) {
      @media print, screen and (min-width:768px) {
        margin-right: 35px;
      }
      @media screen and(max-width:1150px) and (min-width:768px) {
        margin-right: 25px;
      }
      @media screen and(max-width:1100px) and (min-width:768px) {
        margin-right: 20px;
      }
      @media screen and(max-width:1050px) and (min-width:768px) {
        margin-right: 15px;
      }
      @media screen and(max-width:950px) and (min-width:768px) {
        margin-right: 10px;
      }
      @media screen and(max-width:800px) and (min-width:768px) {
        margin-right: 5px;
      }
    }
  }

  a {
    transition: none;
    @media print, screen and (min-width:768px) {
      padding: 0 5px;
    }
    @media screen and (max-width:767px) {
      color: #fff;
      padding: 15px;
      display: block;
      position: relative;
    }
    &:after {
      @media screen and (max-width:767px) {
        content: "";
        width: 6px;
        height: 6px;
        margin: auto 0;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        border-radius: 2px;
        transform: rotate(45deg);
        position: absolute;
        top: 0;
        right: 20px;
        bottom: 0;
      }
    }

    &:hover {
      @media print, screen and (min-width:768px) {
        background: url("../images/bg_header01.jpg") repeat-x 0 90%;
      }
    }
  }

  .current {
    a {
      @media print, screen and (min-width:768px) {
        background: url("../images/bg_header01.jpg") repeat-x 0 90%;
      }
    }
  }
}