/* ============================== */
/*             common             */
/* ============================== */
.inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.main-section {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .main-section {
    padding: 120px 0;
  }
}

.main-section .head {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.main-section .head h2 {
  font-family: 'SuseongDotum';
  font-size: 28px;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .main-section .head {
    margin-bottom: 40px;
  }

  .main-section .head h2 {
    font-size: 40px;
  }
}

/* ============================== */
/*             header             */
/* ============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
}

.header.scrolled .header-inner {
  margin: 0;
  border-radius: 0;
}

.header .util-wrap .util-btn li {
  position: relative;
  transition: all 0.3s ease;
}

.header .util-wrap .util-btn > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  height: 52px;
}

.header .util-wrap .util-btn li:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.header .util-wrap .dropdown {
  position: absolute;
  top: calc(100% - 12px);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-white);
  box-shadow: 0 8px 14px -4px #0000001a;
  padding: 12px 0;
  z-index: 999;
  min-width: 70px;
  width: max-content;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 12px 12px;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

@media (min-width: 768px) {
  .header .util-wrap .util-btn > li > a {
    height: 80px;
  }
}

.header .util-wrap .util-btn.sns .dropdown {
  min-width: 120px;
  left: 50%;
}

.header .util-wrap .dropdown li a {
  font-size: 18px;
  font-weight: 500;
  padding: 12px 24px;
  color: var(--color-gray700);
  line-height: 1;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  text-align: center;
}

.header .util-wrap .dropdown li a:hover {
  color: var(--color-black);
  background-color: #ebf7ff;
}

.header .sitemap .inner > ul {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.header .sitemap .inner > ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  background-color: #ebf7ff;
  z-index: -1;
}

.header .sitemap .inner > ul a {
  line-height: 1.2;
  word-break: keep-all;
}

.header .sitemap .inner > ul .depth1 {
  width: 100%;
  display: flex;
}

.header .sitemap .inner > ul .depth1 .depth1-btn {
  width: 120px;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  align-items: flex-start;
  justify-content: flex-start;
}

.header .sitemap .inner > ul .depth1 .depth1-btn.active {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.header .sitemap .inner > ul .depth1 > a {
  display: none;
  padding: 10px 24px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: 8px;
}

.header .sitemap .inner > ul .depth1 .depth2-container {
  padding: 20px 20px 100px 20px;
  position: absolute;
  top: 0;
  left: 120px;
  width: calc(100% - 120px);
  overflow-y: auto;
  height: 100%;
  display: none;
  transition: all 0.3s ease;
}

.header
  .sitemap
  .inner
  > ul
  .depth1
  .depth1-btn.active
  + a
  + .depth2-container {
  display: block;
}

.header .sitemap .inner > ul .depth1 .depth2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header .sitemap .inner > ul .depth1 .depth2 > li {
  display: flex;
  flex-direction: column;
}

.header .sitemap .inner > ul .depth1 .depth2 > li > a {
  display: flex;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  align-items: center;
  justify-content: space-between;
}

.header .sitemap .inner > ul .depth1 .depth2 > li > a span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.header .sitemap .inner > ul .depth1 .depth2 .depth3 {
  display: flex;
  flex-direction: column;
  background-color: var(--color-gray100);
  border-radius: 8px;
  padding: 8px 0;
  display: none;
}

.header .sitemap .inner > ul .depth1 .depth2 .depth3 > li {
  display: flex;
  flex-direction: column;
}

.header .sitemap .inner > ul .depth1 .depth2 .depth3 > li > a {
  display: flex;
  padding: 6px 16px;
  font-size: 16px;
  font-weight: 500;
  align-items: center;
  justify-content: space-between;
}

.header .sitemap .inner > ul .depth1 .depth2 .depth3 > li > a span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.header .sitemap .inner > ul .depth1 .depth2 .depth3 .depth4 {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  display: none;
}

.header .sitemap .inner > ul .depth1 .depth2 .depth3 .depth4 > li {
  position: relative;
  transition: all 0.3s ease;
}

.header .sitemap .inner > ul .depth1 .depth2 .depth3 .depth4 > li::before {
  content: '•';
  font-size: 20px;
  color: var(--color-gray700);
  position: absolute;
  left: 0;
  top: 35%;
  transform: translateY(-35%);
}

.header
  .sitemap
  .inner
  > ul
  .depth1
  .depth2
  .depth3
  .depth4
  > li:hover::before {
  color: var(--color-black);
}

.header .sitemap .inner > ul .depth1 .depth2 .depth3 .depth4 > li > a {
  display: flex;
  padding: 4px 16px;
  font-size: 15px;
  color: var(--color-gray700);
  transition: all 0.3s ease;
}

.header .sitemap .inner > ul .depth1 .depth2 .depth3 .depth4 > li:hover a {
  color: var(--color-black);
}

@media (min-width: 768px) {
  .header .sitemap .inner > ul {
    gap: 20px;
    flex-direction: row;
    height: auto;
  }

  .header .sitemap .inner > ul::before {
    display: none;
  }

  .header .sitemap .inner > ul .depth1 {
    flex-direction: column;
    gap: 20px;
  }

  .header .sitemap .inner > ul .depth1 .depth1-btn {
    display: none;
  }

  .header .sitemap .inner > ul .depth1 > a {
    display: flex;
  }

  .header .sitemap .inner > ul .depth1 .depth2-container {
    padding: 0;
    position: inherit;
    width: 100%;
    left: 0;
    display: block;
    overflow-y: inherit;
  }

  .header .sitemap .inner > ul .depth1 .depth2 > li {
    gap: 8px;
  }

  .header .sitemap .inner > ul .depth1 .depth2 > li > a {
    padding: 10px 24px;
    font-size: 18px;
    background-color: #ebf7ff;
    border-radius: 8px;
  }

  .header .sitemap .inner > ul .depth1 .depth2 > li > a span {
    display: none;
  }

  .header .sitemap .inner > ul .depth1 .depth2 .depth3 {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
  }

  .header .sitemap .inner > ul .depth1 .depth2 .depth3 > li > a {
    padding: 6px 24px;
    font-size: 16px;
    border-radius: 8px;
  }

  .header .sitemap .inner > ul .depth1 .depth2 .depth3 > li > a span {
    display: none;
  }

  .header .sitemap .inner > ul .depth1 .depth2 .depth3 .depth4 {
    padding-left: 32px;
  }
}

@media (min-width: 1280px) {
  .header .gnb .depth1 {
    position: relative;
  }

  .header .gnb .depth1 a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 40px;
    font-size: 20px;
    font-weight: 600;
    line-height: 80px;
    transition: all 0.3s ease;
  }

  .header .gnb .depth1 a .depth1-arrow {
    transition: all 0.3s ease;
  }

  .header .gnb .depth1:hover .depth1-arrow {
    transform: rotate(180deg);
  }

  .header .gnb .depth1:hover .depth2 {
    opacity: 1;
    visibility: visible;
  }

  .header .gnb .depth1 .depth2 {
    position: absolute;
    top: calc(100% - 12px);
    left: 16px;
    background-color: var(--color-white);
    box-shadow: 0 8px 14px -4px #0000001a;
    padding: 12px 0;
    z-index: 999;
    min-width: 180px;
    width: max-content;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 12px 12px;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }

  .header .gnb .depth1 .depth2 li a {
    font-size: 18px;
    font-weight: 500;
    padding: 12px 24px;
    color: var(--color-gray700);
    line-height: 1;
    transition: all 0.3s ease;
  }

  .header .gnb .depth1 .depth2 li:hover {
    color: var(--color-black);
    background-color: #ebf7ff;
  }

  .header .gnb .depth1 .depth2 li a span {
    position: absolute;
    right: 16px;
  }

  .header .gnb .depth1 .depth2 .depth3 {
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    background-color: var(--color-white);
    padding: 12px 0;
    z-index: 999;
    min-width: 180px;
    width: max-content;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 0 0 12px 0;
    min-height: max-content;
    height: 100%;
  }

  .header .gnb .depth2 li:hover .depth3 {
    opacity: 1;
    visibility: visible;
  }

  .header .gnb .depth1 .depth2 .depth3 li a {
    font-size: 18px;
    font-weight: 500;
    padding: 12px 24px;
    color: var(--color-gray700);
    line-height: 1;
    transition: all 0.3s ease;
  }

  .header .gnb .depth1 .depth2 .depth3 li a:hover {
    color: var(--color-black);
    background-color: #ebf7ff;
  }

  .header .gnb .depth1 .depth2 .depth3 .depth4 {
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    background-color: var(--color-white);
    padding: 12px 0;
    z-index: 999;
    min-width: 180px;
    width: max-content;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 0 0 12px 0;
    min-height: max-content;
    height: 100%;
  }

  .header .gnb .depth2 .depth3 li:hover .depth4 {
    opacity: 1;
    visibility: visible;
  }

  .header .gnb .depth1 .depth2 .depth3 li a {
    font-size: 18px;
    font-weight: 500;
    padding: 12px 24px;
    color: var(--color-gray700);
    line-height: 1;
    transition: all 0.3s ease;
  }

  .header .gnb .depth1 .depth2 .depth3 .depth4 li a:hover {
    color: var(--color-black);
    background-color: #ebf7ff;
  }
}

/* ============================== */
/*             footer             */
/* ============================== */
.footer {
  background-color: var(--color-gray200);
  padding: 20px 0 40px 0;
}

@media (min-width: 768px) {
  .footer {
    padding: 40px 0;
  }
}

.footer .policy li {
  display: flex;
}

.footer .policy li::after {
  content: none;
}

.footer .policy li a {
  color: var(--color-gray700);
  font-size: 15px;
}

@media (min-width: 768px) {
  .footer .policy li::after {
    content: '';
    width: 1px;
    height: 14px;
    background-color: var(--color-gray400);
    margin-left: 16px;
  }

  .footer .policy li:last-child::after {
    content: none;
  }

  .footer .policy li a {
    font-size: 16px;
  }
}

.footer .info li p {
  color: var(--color-gray700);
  line-height: 1.2;
}
