@charset "UTF-8";
#header-sp {
  /*メニュー押した後のアニメーション*/ }
  @media (min-width: 1024px) {
    #header-sp {
      display: none; } }
  #header-sp .openbtn {
    position: fixed;
    top: 0;
    right: 0;
    background-color: #CB0211;
    cursor: pointer;
    width: 60px;
    height: 60px;
    z-index: 1000;
    border-bottom-left-radius: 5px;
    /*activeクラスが付与されると線が回転して×に*/ }
    #header-sp .openbtn span {
      display: inline-block;
      transition: all .4s;
      /*アニメーションの設定*/
      position: absolute;
      left: 16px;
      height: 2px;
      border-radius: 2px;
      background: #fff;
      width: 45%; }
      #header-sp .openbtn span:nth-child(1) {
        top: 18px; }
      #header-sp .openbtn span:nth-child(2) {
        top: 27px; }
      #header-sp .openbtn span:nth-child(3) {
        top: 37px; }
    #header-sp .openbtn.active span:nth-of-type(1) {
      top: 22px;
      left: 21px;
      transform: translateY(6px) rotate(-45deg);
      width: 30%; }
    #header-sp .openbtn.active span:nth-of-type(2) {
      opacity: 0;
      /*真ん中の線は透過*/ }
    #header-sp .openbtn.active span:nth-of-type(3) {
      top: 34px;
      left: 21px;
      transform: translateY(-6px) rotate(45deg);
      width: 30%; }
  #header-sp .overlay {
    position: fixed;
    background-color: #000;
    top: 0;
    height: 0;
    transition: all .3s ease-in-out;
    overflow: hidden;
    z-index: 200;
    opacity: 0;
    width: 100%; }
    #header-sp .overlay .headerlogo {
      margin: 15px auto 0;
      width: 250px;
      position: fixed;
      z-index: 10;
      top: 0;
      left: 5%; }
      @media (min-width: 1024px) {
        #header-sp .overlay .headerlogo {
          margin: 15px auto 0 0; } }
    #header-sp .overlay.open {
      opacity: 1.0;
      visibility: visible;
      height: 100vh;
      overflow: scroll; }
    #header-sp .overlay .sp-menu {
      margin-top: 100px; }
      #header-sp .overlay .sp-menu nav {
        color: #fff;
        margin-left: 5%; }
        #header-sp .overlay .sp-menu nav ul {
          list-style: none; }
          #header-sp .overlay .sp-menu nav ul li {
            position: relative;
            opacity: 0; }
            #header-sp .overlay .sp-menu nav ul li a {
              font-size: 1em;
              display: block;
              text-decoration: none;
              color: #fff;
              padding: 15px 0;
              transition: all .3s; }
              #header-sp .overlay .sp-menu nav ul li a:hover {
                color: #CB0211; }
      #header-sp .overlay .sp-menu .entry-btn {
        opacity: 0;
        text-align: center;
        margin-top: 20px; }
        #header-sp .overlay .sp-menu .entry-btn a {
          width: 90%; }
  #header-sp .overlay.open .entry-btn {
    animation: fadeInNav 0.5s ease forwards;
    animation-delay: .70s; }
@keyframes fadeInNav {
  0% {
    opacity: 0;
    transform: translateY(20px); }
  100% {
    opacity: 1;
    transform: translateY(0); } }
  #header-sp .overlay.open .sp-menu nav ul li {
    animation: fadeInRight1 0.5s ease forwards;
    animation-delay: .45s; }
    #header-sp .overlay.open .sp-menu nav ul li:nth-of-type(2) {
      animation-delay: .55s; }
    #header-sp .overlay.open .sp-menu nav ul li:nth-of-type(3) {
      animation-delay: .65s; }
    #header-sp .overlay.open .sp-menu nav ul li:nth-of-type(4) {
      animation-delay: .75s; }
    #header-sp .overlay.open .sp-menu nav ul li:nth-of-type(5) {
      animation-delay: .85s; }
    #header-sp .overlay.open .sp-menu nav ul li:nth-of-type(6) {
      animation-delay: .95s; }
    #header-sp .overlay.open .sp-menu nav ul li:nth-of-type(7) {
      animation-delay: .65s; }
    #header-sp .overlay.open .sp-menu nav ul li:nth-of-type(8) {
      animation-delay: .70s; }
@keyframes fadeInRight1 {
  0% {
    opacity: 0;
    transform: translateY(20px); }
  100% {
    opacity: 1;
    transform: translateY(0); } }
