@charset "UTF-8";
@media (min-width: 1024px) {
  #Sp_Menu {
    display: none; } }

/*ハンバーガーメニュー*/
.openbtn {
  position: absolute;
  cursor: pointer;
  z-index: 400;
  right: 0;
  transition: all .6s;
  width: 60px;
  height: 64px; }
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    height: 3px;
    border-radius: 0px;
    background-color: #000;
    right: 18px;
    width: 24px; }
    .openbtn span:nth-of-type(1) {
      top: 22px; }
    .openbtn span:nth-of-type(2) {
      top: 31px; }
    .openbtn span:nth-of-type(3) {
      top: 40px; }

/*activeが付与されると .openbtn-areaが360度回転し、その中の線が回転して×に*/
.openbtn.active .openbtn-area {
  transform: rotate(360deg); }
.openbtn.active span:nth-of-type(1) {
  transform: translateY(6px) rotate(-45deg);
  top: 27px;
  right: 14px;
  width: 30px; }
.openbtn.active span:nth-of-type(2) {
  display: none; }
.openbtn.active span:nth-of-type(3) {
  transform: translateY(-6px) rotate(45deg);
  top: 39px;
  right: 14px;
  width: 30px; }

/*メニュー押した後のアニメーション*/
.overlay {
  position: fixed;
  background-color: #F0F0F0;
  right: 0;
  top: 0;
  width: 0;
  height: 100vh;
  transition: all .3s ease-in-out;
  overflow: hidden;
  z-index: 10; }
  .overlay.open {
    opacity: 1.0;
    visibility: visible;
    width: 100%;
    overflow: scroll; }
  .overlay .sp-menu {
    margin-top: 80px;
    padding-bottom: 150px; }
    .overlay .sp-menu nav {
      width: 85%;
      margin: auto;
      max-width: 600px; }
      .overlay .sp-menu nav ul {
        list-style: none; }
        .overlay .sp-menu nav ul li {
          font-size: 1.0em;
          position: relative;
          opacity: 0;
          padding: 14px 0; }
          .overlay .sp-menu nav ul li a {
            display: block;
            text-decoration: none;
            color: #000;
            transition: all .3s; }
            .overlay .sp-menu nav ul li a:hover {
              color: #ef858c; }
          .overlay .sp-menu nav ul li img {
            width: 20px;
            position: absolute;
            right: 5px;
            top: 0;
            bottom: 0;
            margin: auto; }
          .overlay .sp-menu nav ul li:nth-child(2) img {
            width: 30px;
            right: 0; }
          .overlay .sp-menu nav ul li.title-sp {
            pointer-events: none;
            position: relative; }
            @media screen and (max-width: 1024px) {
              .overlay .sp-menu nav ul li.title-sp {
                pointer-events: all; } }
            .overlay .sp-menu nav ul li.title-sp::before, .overlay .sp-menu nav ul li.title-sp::after {
              position: absolute;
              content: '';
              width: 15px;
              height: 2px;
              background-color: #333; }
            .overlay .sp-menu nav ul li.title-sp::before {
              top: 48%;
              right: 15px;
              transform: rotate(0deg); }
            .overlay .sp-menu nav ul li.title-sp::after {
              top: 48%;
              right: 15px;
              transform: rotate(90deg); }
            .overlay .sp-menu nav ul li.title-sp.close::before {
              transform: rotate(45deg); }
            .overlay .sp-menu nav ul li.title-sp.close::after {
              transform: rotate(-45deg); }
        .overlay .sp-menu nav ul .toggle {
          display: none;
          margin: -5px 0 16px 16px; }
          .overlay .sp-menu nav ul .toggle li {
            border-top: none;
            padding: 10px 0;
            font-size: 0.9em; }
            .overlay .sp-menu nav ul .toggle li:last-child {
              border-bottom: none; }
          .overlay .sp-menu nav ul .toggle img {
            width: 20px; }
    .overlay .sp-menu .entry-open1 {
      opacity: 0;
      margin: 40px 0 0 0; }
    .overlay .sp-menu .entry-open2 {
      opacity: 0; }

.overlay.open .entry-open1 {
  animation: fadeInNav 0.5s ease forwards;
  animation-delay: .70s; }

.overlay.open .entry-open2 {
  animation: fadeInNav 0.5s ease forwards;
  animation-delay: .80s; }

@keyframes fadeInNav {
  0% {
    opacity: 0;
    transform: translateY(20px); }
  100% {
    opacity: 1;
    transform: translateY(0); } }
.overlay.open li {
  animation: fadeInRight1 0.5s ease forwards;
  animation-delay: .35s; }
  .overlay.open li:nth-of-type(2) {
    animation-delay: .4s; }
  .overlay.open li:nth-of-type(3) {
    animation-delay: .45s; }
  .overlay.open li:nth-of-type(4) {
    animation-delay: .50s; }
  .overlay.open li:nth-of-type(5) {
    animation-delay: .55s; }
  .overlay.open li:nth-of-type(6) {
    animation-delay: .60s; }
  .overlay.open li:nth-of-type(7) {
    animation-delay: .65s; }
  .overlay.open li:nth-of-type(8) {
    animation-delay: .70s; }
  .overlay.open li:nth-of-type(9) {
    animation-delay: .75s; }
  .overlay.open li:nth-of-type(10) {
    animation-delay: .80s; }

@keyframes fadeInRight1 {
  0% {
    opacity: 0;
    transform: translateX(20px); }
  100% {
    opacity: 1;
    transform: translateX(0); } }
