.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 10; display: flex; align-items: center; gap: 14px; height: 90px; padding: 0 40px; transition: background .4s ease, height .4s ease; }
.header.is-scrolled { background: rgba(242, 225, 220, .92); height: 70px; }
.header__logo { margin-right: auto; z-index: 11; line-height: 1; }
.header__logo a { display: inline-flex; align-items: baseline; gap: 10px; }
.header__logo .script { font-size: 6.4rem; }
.header__logo small { font-family: var(--font-en); font-size: 1.2rem; letter-spacing: .2em; white-space: nowrap; }
.header__sns { display: flex; gap: 8px; z-index: 11; }
.header__sns a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); transition: .4s ease; }
.header__sns svg { width: 20px; height: 20px; }
.header__sns a:hover { background: var(--dark); border-color: var(--dark); color: var(--surface); }
.header__reserve { font-family: var(--font-en); font-size: 1.6rem; line-height: 1; z-index: 11; }
.header__reserve a { display: inline-block; background: var(--dark); color: var(--surface); border-radius: 999px; letter-spacing: 2px; padding: 13px 24px 11px; transition: .4s ease; }
.header__reserve a:hover { background: var(--accent); }

.hamburger { width: 44px; height: 44px; position: relative; z-index: 100; margin-left: 6px; }
.hamburger span { position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-en); font-size: 1.1rem; line-height: 1; letter-spacing: 1px; transition: opacity .3s ease; }
.hamburger::before, .hamburger::after { content: ""; height: 1px; width: 100%; position: absolute; left: 0; background: var(--line); transition: transform .5s cubic-bezier(.25, .1, .25, 1), top .5s cubic-bezier(.25, .1, .25, 1); }
.hamburger::before { top: 12px; }
.hamburger::after { top: 22px; }
.hamburger.is-act span { opacity: 0; }
.hamburger.is-act::before { top: 20px; transform: rotate(30deg); }
.hamburger.is-act::after { top: 20px; transform: rotate(-30deg); }

.navi { position: fixed; inset: 0; background: var(--soft); z-index: 10; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s cubic-bezier(.7, 0, .2, 1), visibility .7s; }
.navi.is-act { clip-path: inset(0); visibility: visible; }
.navi ul { position: absolute; top: 50%; left: 12vw; transform: translateY(-50%); counter-reset: nav; }
.navi li { margin-bottom: 26px; opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; counter-increment: nav; }
.navi.is-act li { opacity: 1; transform: none; }
.navi.is-act li:nth-child(1) { transition-delay: .25s; }
.navi.is-act li:nth-child(2) { transition-delay: .32s; }
.navi.is-act li:nth-child(3) { transition-delay: .39s; }
.navi.is-act li:nth-child(4) { transition-delay: .46s; }
.navi.is-act li:nth-child(5) { transition-delay: .53s; }
.navi li:last-child { margin-bottom: 0; }
.navi a { display: inline-flex; align-items: baseline; gap: 18px; font-family: var(--font-en); font-size: 3.4rem; line-height: 1.3; letter-spacing: 3px; transition: color .4s ease, padding .4s ease; }
.navi a::before { content: "0" counter(nav); font-size: 1.3rem; letter-spacing: 1px; color: var(--accent); }
.navi a:hover { color: var(--accent); padding-left: 12px; }

@media (max-width: 767px) {
  .header { height: 70px; padding: 0 18px; gap: 8px; }
  .header.is-scrolled { height: 60px; }
  .header__logo .script { font-size: 5rem; }
  .header__logo small { display: none; }
  .header__sns a { width: 34px; height: 34px; }
  .header__sns svg { width: 17px; height: 17px; }
  .header__reserve { font-size: 1.3rem; }
  .header__reserve a { padding: 10px 14px 8px; letter-spacing: 1px; }
  .hamburger { width: 32px; height: 40px; margin-left: 4px; }
  .hamburger span { font-size: 1rem; }
  .navi ul { left: 34px; }
  .navi a { font-size: 2.6rem; }
}
