.l-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #791336;
  color: #ffffff;
}
.l-header__inner {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (max-width: 767px) {
  .l-header__inner {
    padding: 10px 16px;
  }
}
.l-header__logo {
  flex-shrink: 0;
}
.l-header__logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
}
.l-header__logo img {
  width: auto;
  height: 54px;
}
@media screen and (max-width: 767px) {
  .l-header__logo img {
    height: 42px;
  }
}
.l-header__logo-text {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #ffffff;
}
@media screen and (min-width: 768px) {
  .l-header__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 0;
  }
}
@media screen and (max-width: 767px) {
  .l-header__nav {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    height: calc(100vh - 56px);
    background-color: #791336;
    padding: 30px 20px;
    overflow-y: auto;
    z-index: 999;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
  }
  .l-header__nav.is-active {
    display: flex;
    animation: fadeIn 0.25s ease forwards;
  }
}
.l-header__sub-nav {
  display: flex;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .l-header__sub-nav {
    order: 1;
  }
}
@media screen and (max-width: 767px) {
  .l-header__sub-nav {
    order: 2;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}
.l-header__sub-nav li {
  display: flex;
  align-items: center;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .l-header__sub-nav li:not(:last-child)::after {
    content: "|";
    margin: 0 clamp(4px, 0.8vw, 10px);
    font-size: 11px;
    opacity: 0.8;
  }
}
.l-header__sub-nav a {
  color: #ffffff;
  text-decoration: none;
}
.l-header__sub-nav a:hover {
  opacity: 0.75;
}
@media screen and (min-width: 768px) {
  .l-header__main-nav {
    order: 2;
  }
}
@media screen and (max-width: 767px) {
  .l-header__main-nav {
    order: 1;
    width: 100%;
  }
}
.l-header__main-nav ul {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .l-header__main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }
}
.l-header__main-nav li {
  display: flex;
  align-items: center;
  font-size: clamp(13px, 1.3vw, 16px);
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .l-header__main-nav li:not(:last-child)::after {
    content: "|";
    margin: 0 clamp(6px, 1vw, 14px);
    font-size: 13px;
    opacity: 0.8;
  }
}
@media screen and (max-width: 767px) {
  .l-header__main-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .l-header__main-nav li a {
    padding: 12px 0;
    width: 100%;
  }
}
.l-header__main-nav a {
  color: #ffffff;
  font-family: "Noto Serif JP", serif;
  text-decoration: none;
}
@media screen and (min-width: 768px) {
  .l-header__main-nav a {
    white-space: nowrap;
  }
}
.l-header__main-nav a:hover {
  opacity: 0.75;
}
.l-header__hamburger {
  display: none;
}
@media screen and (max-width: 767px) {
  .l-header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  .l-header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .l-header__hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .l-header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .l-header__hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
