/* スマホ(768px未満)だけ、ヘッダーのナビをハンバーガーメニューにする。PCは従来の横並びのまま。 */
.c-page-header__burger { display: none; }

@media (max-width: 47.99em) {
  .c-page-header__burger {
    display: block;
    position: absolute;
    top: 12px;
    right: 3.5%;
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #dbc5a4;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .c-page-header__burger span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 1px;
    background: currentColor;
    transition: transform .35s cubic-bezier(.22, .11, .22, 1), opacity .2s;
  }
  .c-page-header__burger span:nth-child(1) { top: 16px; }
  .c-page-header__burger span:nth-child(2) { top: 22px; }
  .c-page-header__burger span:nth-child(3) { top: 28px; }
  .c-page-header.is-menu-open .c-page-header__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .c-page-header.is-menu-open .c-page-header__burger span:nth-child(2) { opacity: 0; }
  .c-page-header.is-menu-open .c-page-header__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* メニュー本体: ヘッダーの下に開くパネル */
  .c-page-header__navi {
    top: 64px;
    right: 0;
    left: 0;
    z-index: 2;
    padding: 4px 5.3333333333% 20px;
    background: rgba(17, 17, 17, .97);
    border-bottom: 1px solid rgba(219, 197, 164, .25);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s cubic-bezier(.22, .11, .22, 1), transform .3s cubic-bezier(.22, .11, .22, 1), visibility 0s linear .3s;
  }
  .c-page-header.is-menu-open .c-page-header__navi {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .c-page-header__navi ul { flex-direction: column; }
  .c-page-header__navi ul li + li:before { display: none; }
  .c-page-header__navi ul li a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }
  .c-page-header__navi ul li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
  .c-page-header__navi ul li a:after { display: none; }

  /* メニューを開いている間、ヘッダーの帯に背景をつけてロゴとボタンを見やすくする */
  .c-page-header.is-menu-open:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 64px;
    background: rgba(17, 17, 17, .97);
  }
  .c-page-header__logo { z-index: 3; }
}
