@charset "utf-8";

.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 80px;
  background: #fff;
  box-shadow: 0 2px 8px 4px rgba(0, 0, 0, 0.25);
  z-index: 999;
}
.header-bg {
  display: none;
  position: absolute;
  left: 0;
  top: 80px;
  width: 100%;
  height: 170px;
  background-color: #fff;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 40px);
  max-width: 1280px;
  height: 80px;
  margin: 0 auto;
}
.header_right {
  display: flex;
  gap: 40px;
}
.logo {
  width: 140px;
}
.logo > a {
  display: block;
  height: 100%;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.header .logo {
  margin: 10px 0;
}
.logo-img {
  transition: opacity 0.5s ease;
  display: none;
}

.logo-img.visible {
  display: block;
  z-index: 1;
}

.gnb {
  overflow: hidden;
  height: 100%;
}
.gnb__list {
  position: relative;
  display: flex;
  z-index: 10;
}
.gnb__item {
  position: relative;
  width: 128px;
  text-align: center;
}
.gnb__item > a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  padding: 10px 0;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
}
.lnb__list {
  padding: 26px 0;
}
.lnb__list > * + * {
  margin-top: 10px;
}
.lnb__item > a {
  display: block;
  font-size: 16px;
  line-height: 22.5px;
  text-align: center;
}
.lnb__item > a:hover,
.lnb__item > a:active,
.lnb__item > a:focus {
  font-weight: 600;
  color: var(--color--primary);
}
.header.active {
  height: var(--header--height);
}
.header.active .gnb {
  height: var(--header--height);
}
.header-btn__wrap {
  display: flex;
  align-items: center;
  column-gap: 8px;
}
.header-link__wrap > a {
  color: #838383;
  padding: 10px 8px;
}
.header-link__wrap > a > * {
  font-size: 16px;
  line-height: 20px;
  color: #838383;
}
.user-name__box > * {
  font-size: 16px;
  line-height: 20px;
  color: #838383;
}
.user-name__box {
  max-width: 155px;
  width: 100%;
}
.user-name__box .user-name {
  text-decoration: underline;
  text-underline-position: under;
  word-break: break-all;
}
.select-link__wrap {
  display: flex;
  align-items: center;
}
.select-link__box {
  position: relative;
}
.select-link__button {
  position: relative;
  display: flex;
  align-items: center;
  column-gap: 5px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  background-color: #fff;
  z-index: 5;
}
.select-link__button::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url(/_img/common/icon_arrow_down.svg) no-repeat center center/contain;
  transition: 0.2s;
}
.select-link__button.open {
  box-shadow: 0px 1px 1px 0px rgba(222, 222, 222, 0.25);
}
.select-link__button.open::after {
  transform: rotateX(180deg);
}
.select-link__list {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  width: 100%;
  padding-top: 40px;
  border-radius: 12px;
  background-color: #f9f9f9;
  z-index: 1;
}
.select-link__item > a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}
.btn-mobile-menu {
  display: none;
  width: 24px;
  height: 24px;
  background: url(/_img/common/icon_menu.svg) no-repeat center center/contain;
}
.btn-menu-close {
  display: block;
  width: 24px;
  height: 24px;
  background: url(/_img/common/icon_close.svg) no-repeat center center/contain;
}
.mobile-nav {
  display: none;
  position: fixed;
  right: -100%;
  top: 0px;
  width: 100%;
  height: 100dvh;
  background-color: #fff;
  background-image: url(/_img/common/mo_menu_bg.png);
  background-repeat: no-repeat;
  background-position: center calc(100% - 40px);
  background-size: 227px;
  z-index: 1000;
}
.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  padding: 0 20px;
}

.mobile-nav__top .logo a {
  display: flex;
  gap: 10px;
}
.mobile-nav__wrap {
  overflow-y: auto;
  max-height: calc(100% - 56px);
  padding: 28px 20px;
}
.mobile-nav__inner {
  height: 100%;
}
.mobile-nav__list {
  padding-bottom: 28px;
  border-bottom: 2px solid var(--color--gray);
}
.btn-mobile-lnb,
.btn-mobile-lnb-A {
  position: relative;
  padding: 12px 0;
  width: 100%;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  text-align: left;
  display: inline-block;
}
.btn-mobile-lnb::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  display: block;
  width: 17px;
  height: 17px;
  background: url(/_img/common/icon_arrow_down.svg) no-repeat center center/contain;
  margin-top: -8.5px;
  transition: transform 0.3s;
}
.btn-mobile-lnb.active::after {
  transform: rotateX(180deg);
}
.mobile-lnb__list {
  display: none;
  padding: 4px 16px;
}
.mobile-lnb__list > * + * {
  margin-top: 16px;
}
.mobile-lnb__item > a {
  font-size: 16px;
  line-height: 20px;
}
.menu-bottom__wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 16px;
  padding-top: 40px;
}
.menu-bottom__wrap > a {
  font-size: 14px;
  line-height: 17.5px;
  color: var(--color--D-gray);
}
.menu-bottom__wrap > .line {
  width: 1px;
  height: 17px;
  background-color: #838383;
}

/* footer */
.footer {
  height: 190px;
  border-top: 1px solid #e5e5e5;
  padding-top: 60px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 40px);
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  align-items: start;
}
.footer .logo {
  height: fit-content;
}
.footer__left {
  display: flex;
  column-gap: 30px;
  align-items: center;
}
.footer__right .logo {
  display: none;
}
.company-info__wrap {
  max-width: 650px;
  font-style: normal;
}
.company-info__wrap > * + * {
  margin-top: 5px;
}
.company-address > *,
.company-info > * {
  font-size: 14px;
  line-height: 17px;
  color: #838383;
}
.company-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 21px;
}
.company-info > span {
  position: relative;
}
.company-info > span::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 50%;
  display: block;
  width: 1px;
  height: 15px;
  background-color: #838383;
  transform: translateY(-50%);
}
.company-info > span:last-child::after {
  display: none;
}
.company-info .space {
  display: block;
  width: 100%;
  height: 0;
}
.company-info .space::after {
  display: none;
}
.copyright {
  font-size: 12px;
  line-height: 15px;
  color: #838383;
}
.footer-link__list {
  display: flex;
  align-items: center;
  column-gap: 21px;
}
.footer-link__item {
  position: relative;
}
.footer-link__item::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 50%;
  display: block;
  width: 1px;
  height: 15px;
  background-color: #838383;
  transform: translateY(-50%);
}
.footer-link__item:last-child::after {
  display: none;
}
.footer-link__item > * {
  font-size: 14px;
  line-height: 17px;
  color: #838383;
}

/* main */
.main {
  padding-top: 80px;
  min-height: calc(100dvh - 80px - 190px);
}
.section__inner {
  width: calc(100% - 40px);
  max-width: 1280px;
  margin: 0 auto;
}

@media screen and (max-width: 1280px) {
  .logo {
    width: 100px;
  }
  .gnb__list {
    column-gap: 0px;
  }
  .gnb__item {
    width: 130px;
  }

  .gnb__item > a {
    padding: 10px;
    font-size: 16px;
    word-break: auto-phrase;
  }
  .lnb__item > a {
    font-size: 14px;
    line-height: 18px;
  }
  .select-link__button {
    padding: 5px 10px;
  }
  .select-link__button,
  .user-name__box > * {
    font-size: 14px;
  }
}
@media screen and (max-width: 1200px) {
  .footer {
    height: auto;
    padding: 24px 0 40px;
  }
  .footer__inner {
    height: auto;
    flex-direction: column-reverse;
    row-gap: 16px;
    padding: 0;
  }
  .footer__left .logo {
    display: none;
  }
  .footer__right .logo {
    display: block;
    margin-bottom: 16px;
  }
  .header_right {
    gap: 20px;
  }
}
@media screen and (max-width: 1024px) {
  .header,
  .header__inner {
    height: 56px;
  }
  .info-page .header {
    box-shadow: none;
    border-bottom: 1px solid var(--color--gray);
  }
  .header__inner {
    align-items: center;
  }
  .header .gnb,
  .header-btn__wrap {
    display: none;
  }

  .header .logo {
    margin: 0;
  }
  .btn-mobile-menu {
    display: block;
  }
  .mobile-nav {
    display: block;
  }
  .main {
    padding-top: 56px;
    min-height: calc(100dvh - 56px - 190px);
  }
}
@media screen and (max-width: 768px) {
  .footer-link__item > * {
    font-size: 12px;
    line-height: 15px;
  }
  .company-info {
    gap: 5px 16px;
    row-gap: 2px;
  }
  .company-info__wrap > * + * {
    margin-top: 4px;
  }
  .company-address > *,
  .company-info > * {
    font-size: 12px;
    line-height: 15px;
  }
  .footer-link__list {
    column-gap: 16px;
  }
  .footer-link__item::after,
  .company-info > span::after {
    height: 12px;
    right: -9px;
  }
  .copyright {
    font-size: 10px;
    line-height: 12.5px;
  }
}
