button {
  all: unset;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  background-color: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  outline: none;
}
a {
  cursor: pointer;
  text-decoration: none;
  color: #333;
}
li {
  list-style-type: none;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
}
.content {
  width: 100%;
  height: auto;
}
.nav-mobile-menu {
  display: none;
}
.nav-mobile-menu button {
  background: none;
  border: none;
}

.header {
  position: fixed;
  top: 0;
  background-color: #fff;
  width: 100%;
  height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 0px 0px 0px;
  z-index: 999;
}
.nav {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.nav-second {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0px 0px 0px 0px;
}
.nav-second .title {
  margin-left: 10%;
}
.nav-listB {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
  list-style-type: none;
  margin-bottom: 0px;
}
.nav-itemB {
  border-right-width: 10px;
  border-color: #333;
  position: relative; /* 부모 요소를 기준으로 자식 배치 */
  margin-bottom: 0px; /* 각 항목 간격 */
}
.nav-second .title {
  font-size: 24px;
  font-weight: 700;
  color: #018ff3;
}
.nav-second .nav-listB .nav-itemB button,
.nav-second .nav-listB .nav-itemB a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  color: #000;
}
.nav-second .nav-listB .nav-itemB button.active-link,
.nav-second .nav-listB .nav-itemB a.active-link {
  color: #018ff3 !important;
}
.nav-second .nav-listB .nav-itemB button:hover,
.nav-second .nav-listB .nav-itemB a:hover {
  color: #018ff3 !important;
}
.nav-second .nav-listB .nav-itemB .modal {
  display: none; /* 기본적으로 숨김 */
  width: 183px;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #d9d9d9;
  border: none;
  padding: 18px 18px;
  border-radius: 0px;
  z-index: 10;
  box-shadow: 0 4px 4px 0 #00000040;
}
.nav-second .nav-listB .nav-itemB:hover .modal {
  display: flex; /* hover 시 표시 */
  flex-direction: column;
  gap: 6px; /* 버튼 간격 */
}
.nav-second .nav-listB .nav-itemB .modal a {
  border: none;
  border-radius: 3px;
  cursor: pointer;
  color: #000;
  background: none;
  font-size: 15px;
  font-weight: 400;
}

.content-title {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 0 64px 0;
}
.content-titleIn {
  width: 1574px;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 63px;
}
.content-titleIn div:nth-child(1) {
  font-size: 80px;
  color: #ff4f2b;
  font-weight: 400;
  letter-spacing: -3px;
}
.content-titleIn div:nth-child(2) {
  font-size: 16px;
  font-weight: 400;
  color: #8c8c8c;
  line-height: 2;
  padding-bottom: 8px;
}
.content-title .content-bar {
  width: 1574px;
  height: auto;
}

.content-title .content-bottom-line {
  width: 1574px;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-family: "NPSfontBold", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}
.content-title .content-bottom-line:nth-child(3) span,
.content-title .content-bottom-line:nth-child(4) span {
  padding-bottom: 2px;
}
.content-title .content-bottom-line .content-bottom-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 21px;
}
.content-title .content1,
.content-title .content2,
.content-title .content3,
.content-title .content4 {
  width: auto;
  height: 20px;
}

.pc-only {
  display: flex !important;
}
.mobile-only {
  display: none !important;
}
@media (max-width: 1574px) {
  .content-title .content-bar,
  .content-title .content-titleIn {
    width: 90%;
  }

  .content-title .content-bottom-line {
    width: 90%;
  }
}

@media (max-width: 1400px) {
  .nav-second .title {
    margin-left: 0;
  }
}

@media (max-width: 1171px) {
  .nav {
    width: 90%;
  }
  .nav-listB {
    gap: 30px;
    margin-bottom: -4px;
  }
  .nav-itemB a {
    font-size: 14px;
  }

  .pc-only {
    display: flex !important;
  }
  .mobile-only {
    display: none !important;
  }
}
@media (max-width: 960px) {
  .nav-listB {
    gap: 10px;
    margin-bottom: -4px;
  }
}
@media (max-width: 830px) {
  .nav-first {
    display: none;
  }
  .nav-second .nav-listB {
    display: none;
  }
  .nav-mobile-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  .header {
    justify-content: center;
  }
  .nav {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .nav-second {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0px 0px 0px 0px;
  }

  .content-title {
    display: none;
    padding: 0px 0 0px 0;
  }
  .content-title .content-bottom-line {
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding-top: 19px;
    font-size: 14px;
    font-weight: 400;
    gap: 24px;
  }
  .content-title .content-bottom-line p {
    line-height: 1.4;
  }
  .content-title .content-bottom-line:nth-child(3) span,
  .content-title .content-bottom-line:nth-child(4) span {
    padding-bottom: 2px;
  }
  .content-title .content-bottom-line .content-bottom-item {
    align-items: start;
    gap: 18px;
  }
  .content-title .content1,
  .content-title .content2,
  .content-title .content3,
  .content-title .content4 {
    width: auto;
    height: 16px;
  }

  .pc-only {
    display: none !important;
  }
  .mobile-only {
    display: flex !important;
  }
}

@media (max-width: 480px) {
  .nav-mobile-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
  .hamburger-icon {
    width: 24px;
    height: 24px;
  }
  .header {
    height: 56px;
    justify-content: center;
  }
  .nav-second .title {
    font-size: 18px !important;
    color: #000;
    font-family: "Lato", sans-serif;
    font-weight: 600;
  }
}
