@charset "UTF-8";
/* nstyle_header.css — 頁首 nstyle_header */
.nstyle_header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 24px 0;
}
@media (max-width: 999.98px) {
  .nstyle_header {
    padding: 12px 12px 0;
  }
}
.nstyle_header__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: var(--nstyle_header-w);
  margin: 0 auto;
  padding: 0.833vw 1.823vw;
  border-radius: 1.667vw;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.7) 100%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 40px rgba(217, 106, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
@media (max-width: 999.98px) {
  .nstyle_header__inner {
    flex-wrap: wrap;
    padding: 10px 16px;
    border-radius: 24px;
  }
}
.nstyle_header__brand {
  flex: 0 0 auto;
  display: block;
}
.nstyle_header__logo {
  display: block;
  width: 6.719vw;
  height: 3.75vw;
  max-width: 129px;
  max-height: 72px;
  object-fit: contain;
}
@media (max-width: 999.98px) {
  .nstyle_header__logo {
    width: 92px;
    height: 52px;
    max-width: none;
    max-height: none;
  }
}
.nstyle_header__nav {
  flex: 0 1 auto;
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}
.nstyle_header__menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.417vw;
  margin: 0;
  padding: 0.833vw;
  list-style: none;
}
@media (max-width: 999.98px) {
  .nstyle_header__menu {
    gap: 0;
    padding: 4px 0 10px;
  }
}
.nstyle_header__link {
  display: block;
  padding: 0.625vw;
  font-size: clamp(13px, 1.25vw, 24px);
  line-height: 1.15;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: #2b1c0f;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nstyle_header__link:hover, .nstyle_header__link:focus, .nstyle_header__link.is-active {
  color: #f67e11;
}
.nstyle_header__actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.625vw;
  margin-left: auto;
}
.nstyle_header .nstyle_btn--md {
  height: 2.865vw;
  max-height: 55px;
  padding: 0 1.25vw;
  font-size: clamp(12px, 1.042vw, 20px);
}
.nstyle_header .nstyle_btn--md svg {
  width: clamp(13px, 1.094vw, 21px);
  height: auto;
}
@media (max-width: 999.98px) {
  .nstyle_header .nstyle_btn--md {
    height: 44px;
    max-height: none;
    padding: 0 18px;
    font-size: var(--nstyle_font-body-sm);
  }
}
.nstyle_header__toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: #fff8f2;
  cursor: pointer;
}
.nstyle_header__toggle span,
.nstyle_header__toggle span::before,
.nstyle_header__toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #d96a00;
  transition: transform 0.25s ease;
}
.nstyle_header__toggle span {
  position: relative;
}
.nstyle_header__toggle span::before, .nstyle_header__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nstyle_header__toggle span::before {
  top: -7px;
}
.nstyle_header__toggle span::after {
  top: 7px;
}
@media (max-width: 999.98px) {
  .nstyle_header__toggle {
    display: block;
  }
}

@media (min-width: 1000px) and (max-width: 1199.98px) {
  .nstyle_header {
    padding: 16px 16px 0;
  }
  .nstyle_header__inner {
    padding: 10px 16px;
    border-radius: 20px;
  }
  .nstyle_header__logo {
    width: 80px;
    height: 45px;
    max-width: none;
    max-height: none;
  }
  .nstyle_header__menu {
    gap: 4px;
    padding: 0;
  }
  .nstyle_header__link {
    padding: 6px;
    font-size: 15px;
  }
  .nstyle_header__actions {
    gap: 8px;
  }
  .nstyle_header .nstyle_btn--md {
    height: 34px;
    max-height: none;
    padding: 0 12px;
    font-size: 13px;
    gap: 6px;
  }
  .nstyle_header .nstyle_btn--md svg {
    width: 13px;
  }
}
@media (min-width: 768px) and (max-width: 999.98px) {
  .nstyle_header__brand {
    order: 1;
  }
  .nstyle_header__actions {
    order: 2;
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .nstyle_header__actions .nstyle_btn--primary svg {
    display: none;
  }
  .nstyle_header__toggle {
    order: 3;
    margin-left: 0;
  }
  .nstyle_header__nav {
    order: 4;
    flex: 1 1 100%;
    display: none;
  }
  .nstyle_header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 4px 0 6px;
  }
  .nstyle_header__link {
    padding: 12px 8px;
    text-align: center;
  }
  .nstyle_header.is-open .nstyle_header__nav {
    display: flex;
    margin-top: 10px;
    padding-top: 4px;
    border-top: 1px solid #fde7d3;
  }
  .nstyle_header.is-open .nstyle_header__toggle span {
    background: transparent;
  }
  .nstyle_header.is-open .nstyle_header__toggle span::before {
    transform: translateY(7px) rotate(45deg);
  }
  .nstyle_header.is-open .nstyle_header__toggle span::after {
    transform: translateY(-7px) rotate(-45deg);
  }
}
@media (max-width: 767.98px) {
  .nstyle_header {
    padding: 0;
    width: min(100%, 100vw);
  }
  .nstyle_header__inner {
    flex-wrap: nowrap;
    gap: 1.54vw;
    height: 15.38vw;
    min-height: 52px;
    max-height: 89px;
    padding: 0 3.08vw;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(217, 106, 0, 0.1);
  }
  .nstyle_header__brand {
    order: 1;
    flex: 0 1 auto;
    min-width: 64px;
  }
  .nstyle_header__logo {
    width: min(24.87vw, 97px);
    min-width: 0;
    max-width: 100%;
    height: 13.85vw;
    max-height: 54px;
  }
  .nstyle_header__toggle {
    display: block;
    order: 3;
    width: 9.74vw;
    height: 9.74vw;
    min-width: 34px;
    min-height: 34px;
    max-width: 40px;
    max-height: 40px;
    margin-left: 0;
    border-radius: 10px;
  }
  .nstyle_header__toggle span,
  .nstyle_header__toggle span::before,
  .nstyle_header__toggle span::after {
    width: 18px;
  }
  .nstyle_header__toggle span::before {
    top: -6px;
  }
  .nstyle_header__toggle span::after {
    top: 6px;
  }
  .nstyle_header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    width: 100%;
    max-height: 0;
    padding: 0 3.08vw;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 8px 20px rgba(217, 106, 0, 0.14);
    transition: max-height 0.32s ease, padding 0.32s ease, opacity 0.22s ease, transform 0.32s ease, visibility 0s linear 0.32s;
  }
  .nstyle_header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0;
  }
  .nstyle_header__link {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #fde7d3;
  }
  li:last-child .nstyle_header__link {
    border-bottom: none;
  }
  .nstyle_header__actions {
    order: 2;
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 1.54vw;
    margin-left: auto;
    padding-top: 0;
    border-top: none;
  }
  .nstyle_header__actions .nstyle_btn--outline {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    height: 8.72vw;
    min-height: 30px;
    max-height: 34px;
    padding: 0 2.05vw;
    gap: 0;
    font-size: clamp(13px, 4.1vw, 16px);
    letter-spacing: 0;
    white-space: nowrap;
  }
  .nstyle_header__actions .nstyle_btn--primary {
    flex: 0 0 auto;
    width: 24.87vw;
    min-width: 80px;
    max-width: 97px;
    height: 8.72vw;
    min-height: 30px;
    max-height: 34px;
    padding: 0 2.05vw;
    gap: 0;
    font-size: clamp(13px, 4.1vw, 16px);
    letter-spacing: 0;
  }
  .nstyle_header__actions .nstyle_btn--primary svg {
    display: none;
  }
  .nstyle_header.is-open .nstyle_header__nav {
    max-height: 280px;
    padding: 4px 3.08vw 8px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: max-height 0.32s ease, padding 0.32s ease, opacity 0.22s ease 0.04s, transform 0.32s ease, visibility 0s linear 0s;
  }
  .nstyle_header.is-open .nstyle_header__toggle span {
    background: transparent;
  }
  .nstyle_header.is-open .nstyle_header__toggle span::before {
    transform: translateY(6px) rotate(45deg);
  }
  .nstyle_header.is-open .nstyle_header__toggle span::after {
    transform: translateY(-6px) rotate(-45deg);
  }
}
