@charset "utf-8";

@media screen and (max-width: 700px) {
  .logo a {
    padding: 0;
  }
  .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: var(--character--color-wh);
  }
  .ham2 {
    top: calc(50% - 10% / 2);
    background-color: var(--character--color-wh);
  }
  .ham3 {
    top: calc(50% - 10% / 2 + 25%);
    transition: 0.5s;
    background-color: var(--character--color-wh);
  }
  .open .ham1 {
    top: calc(50% - 10% / 2);
    background-color: var(--character--color-wh);
    transform: rotate(135deg);
  }
  .open .ham2 {
    opacity: 0;
  }
  .open .ham3 {
    top: calc(50% - 10% / 2);
    background-color: var(--character--color-wh);
    transform: rotate(-135deg);
  }
  .main-navigation {
    display: none;
    position: fixed;
    background-color: var(--accent-color);
    width: 100%;
    height: 100vh;
    padding-top: 6rem;
    top: 0;
    left: 0;
    transition: 1s;
    .nav-menu {
      flex-direction: column;
    }
    & li {
      line-height: 1;
      text-align: center;
    }
    & a {
      font-size: 1.5rem;
      color: var(--character--color-wh);
    }
  }
  .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);
    }
  }
}
