/* SWELL標準ヘッダーを非表示 */
body.since-custom-header-active .l-header,
body.since-custom-header-active #header,
body.since-custom-header-active .p-spMenu {
  display: none !important;
}

/* 独自ヘッダー + カテゴリーナビ分の余白 */
body.since-custom-header-active {
  padding-top: 165px; /* 108px (header) + 46px (cat nav 実高さ) + 11px (余白) */
}

/* 独自ヘッダー */
#sinceCustomHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #000046;
  background: linear-gradient(115deg, #000046 0%, #3c0096 50%, #aa0050 100%);
  box-sizing: border-box;
}

#sinceCustomHeader,
#sinceCustomHeader * {
  box-sizing: border-box;
}

#sinceCustomHeader .since-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1366px;
  height: 7.1vh;
  min-height: 108px;
  margin: 0 auto;
  padding: 0 50px;
}

#sinceCustomHeader .since-header-logo {
  width: 110px;
  margin: 0;
  padding: 28px 0;
  line-height: 1;
}

#sinceCustomHeader .since-header-logo a {
  display: block;
}

#sinceCustomHeader .since-header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

#sinceCustomHeader .since-header-nav {
  display: block;
}

#sinceCustomHeader .since-header-nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#sinceCustomHeader .since-header-nav-list li {
  margin: 0;
  padding: 0;
}

#sinceCustomHeader .since-header-nav-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: opacity 0.3s ease;
}

#sinceCustomHeader .since-header-nav-list a:hover {
  opacity: 0.7;
}

#sinceCustomHeader .since-header-nav-list-sp,
#sinceCustomHeader .since-header-contact-sp {
  display: none;
}

#sinceCustomHeader .since-menu-icon {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

#sinceCustomHeader .since-menu-icon span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 7px auto;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#sinceCustomHeader.is-open .since-menu-icon .first {
  transform: translateY(4.5px) rotate(45deg);
}

#sinceCustomHeader.is-open .since-menu-icon .second {
  transform: translateY(-4.5px) rotate(-45deg);
}

@media only screen and (max-width: 1174px) {
  #sinceCustomHeader .since-header-wrap {
    padding: 0 20px;
  }

  #sinceCustomHeader .since-header-nav-list {
    gap: 22px;
  }

  #sinceCustomHeader .since-header-nav-list a {
    font-size: 12px;
  }
}

@media only screen and (max-width: 768px) {
  body.since-custom-header-active {
    padding-top: 130px; /* 76px (header) + 46px (cat nav 実高さ) + 8px (余白) */
  }

  #sinceCustomHeader .since-header-wrap {
    min-height: 76px;
    height: 76px;
    padding: 0 20px;
  }

  #sinceCustomHeader .since-header-logo {
    width: 92px;
    padding: 0;
  }

  #sinceCustomHeader .since-menu-icon {
    display: block;
  }

  #sinceCustomHeader .since-header-nav {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    background: linear-gradient(115deg, #000046 0%, #3c0096 50%, #aa0050 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  #sinceCustomHeader.is-open .since-header-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  #sinceCustomHeader .since-header-nav-list-pc {
    display: none;
  }

  #sinceCustomHeader .since-header-nav-list-sp {
    display: block;
    padding: 24px 24px 10px;
  }

  #sinceCustomHeader .since-header-nav-list-sp li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  #sinceCustomHeader .since-header-nav-list-sp a {
    padding: 18px 0;
    font-size: 14px;
  }

  #sinceCustomHeader .since-header-contact-sp {
    display: block;
    padding: 10px 24px 28px;
  }

  #sinceCustomHeader .since-header-contact-sp a {
    display: block;
    padding: 16px;
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.08em;
  }
}
