.l-drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  overflow: auto;
}

.l-drawer[hidden] {
  display: none;
}

.l-drawer:not([hidden]) {
  animation: drawer-in 220ms ease-out;
}

html.is-drawer-open {
  overflow: hidden;
}

.l-drawer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 20px;
  border-bottom: 1px solid var(--color-line-soft);
}

.l-drawer__logo {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 1.36px;
  text-decoration: none;
}

.l-drawer__close {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 64px;
  height: 64px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-family: var(--font-menu);
  font-size: 9px;
  letter-spacing: 1.44px;
  line-height: 1;
  cursor: pointer;
}

.l-drawer__nav {
  padding: 16px 24px 0;
}

.l-drawer__item {
  border-bottom: 1px solid var(--color-line);
}

.l-drawer__link,
.l-drawer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-family: var(--font-mincho);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 1.08px;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.l-drawer__mark {
  color: var(--color-accent);
  font-family: var(--font-gothic);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
}

.l-drawer__sub {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: -6px;
  padding: 0 0 18px 16px;
}

.l-drawer__sub li {
  font-size: 14px;
  line-height: 17px;
}

.l-drawer__sub[hidden] {
  display: none;
}

.l-drawer__sub:not([hidden]) {
  animation: drawer-in 180ms ease-out;
}

.l-drawer__link:hover,
.l-drawer__link:focus-visible,
.l-drawer__sub a:hover,
.l-drawer__sub a:focus-visible,
.l-drawer__logo:hover,
.l-drawer__logo:focus-visible {
  color: var(--color-accent);
}

.l-drawer__sub a {
  font-size: 14px;
  letter-spacing: 0.56px;
  line-height: 17px;
  text-decoration: none;
}

.l-drawer__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 24px 48px;
}

.l-drawer__tel {
  font-family: var(--font-menu);
  font-size: 22px;
  letter-spacing: 1.32px;
  line-height: 1.4;
  text-decoration: none;
}

.l-drawer__link,
.l-drawer__toggle,
.l-drawer__sub a,
.l-drawer__logo {
  transition: color 160ms ease;
}

@keyframes drawer-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
