@charset "utf-8";

@media screen and (max-width: 700px) {
  .ham {
    display: block;
    border: none;
    width: 31px;
    height: 31px;
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 30;
    cursor: pointer;
    background-color: transparent;
  }
  .ham span {
    position: absolute;
    width: 100%;
    height: 2px;
    right: 0;
  }
  .ham1 {
    top: calc(50% - 10% / 2 - 25%);
    transition: 0.2s;
    background-color: #333;
  }
  .ham2 {
    top: calc(50% - 10% / 2);
    background-color: #333;
  }
  .ham3 {
    top: calc(50% - 10% / 2 + 25%);
    transition: 0.5s;
    background-color: #333;
  }
  .open .ham1 {
    top: calc(50% - 10% / 2);
    background-color: #333;
    transform: rotate(135deg);
  }
  .open .ham2 {
    opacity: 0;
  }
  .open .ham3 {
    top: calc(50% - 10% / 2);
    background-color: #333;
    transform: rotate(-135deg);
  }
  .main-navigation {
    display: none;
    position: fixed;
    background-color: var(--accent2-color);
    width: 100%;
    height: 100vh;
    padding-top: 6rem;
    top: 0;
    left: 0;
    transition: 1s;
    z-index: 20;
    .nav-menu {
      flex-direction: column;
    }
    & li {
      line-height: 1;
      text-align: center;
    }
    & a {
      font-size: 1.5rem;
      padding: 0.2rem 0.5rem;
      color: #333;
    }
  }
  .open .main-navigation {
    display: block;
  }
  /* -------------
  共通スタイル
  --------------- */
  #concept,
  #recommended,
  #access {
    .container {
      grid-template-columns: 1fr;
    }
    & img {
      max-width: 100%;
    }
  }
  /* ---------
  gallery
  ----------- */
  #gallery {
    .loop__item {
      width: calc(100vw / 3);
    }
  }
  /* ------------------
  ------------------ */
  .mainvisual {
    height: 96vh;
  }
  #header {
    padding: 1rem;
  }
  #recommended::before {
    left: 5px;
    top: -75px;
  }
  #recommended::after {
    right: 22px;
    top: -78px;
  }
  #reservation .container p {
    font-size: 1.5rem;
  }
}
