@charset "utf-8";
:root {
  --sub-bg-height: 24rem;
  --side-nav-height: 6.6rem;
}

#container {
  position: relative;
  padding-top: var(--sub-bg-height);
}

#container::before,
#container::after {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: var(--sub-bg-height);
}

#container::after {
  content: '';
  background: linear-gradient(90deg, rgba(255, 243, 243, 0.98) 24.71%, rgba(255, 255, 255, 0.00) 54.38%);
  z-index: 1;
}

#container::before {
  content: '';
  background-image: url(../img/sub/sub-visual.png);
  background-repeat: no-repeat;
  background-position: right 0;
  background-size: auto 100%;
  z-index: 0;
}

:has(.main-nav .gnb-menu>li:nth-child(1) .selected) #container::before {
  background-image: url(../img/sub/sub01-visual.png);
}

:has(.main-nav .gnb-menu>li:nth-child(2) .selected) #container::before {
  background-image: url(../img/sub/sub02-visual.png);
}

:has(.main-nav .gnb-menu>li:nth-child(3) .selected) #container::before {
  background-image: url(../img/sub/sub03-visual.png);
}

:has(.main-nav .gnb-menu>li:nth-child(4) .selected) #container::before {
  background-image: url(../img/sub/sub04-visual.png);
}

.in-between {
  position: relative;
  flex-direction: column;
  padding-top: 0;
}

.sub-visual,
.side-nav {
  position: absolute;
  left: 0;
  width: 100% !important;
  z-index: 2;
}

.sub-visual {
  top: calc(-1 * var(--sub-bg-height) / 2 - 3rem);
}

.sub-visual .sub-tit {
  padding-left: var(--krds-contents-padding-x);
  padding-right: var(--krds-contents-padding-x);
  font-family: var(--font-sebang);
  font-size: 3.5rem;
  font-weight: 700;
}

.sub-visual .sub-tit span {
  color: var(--sub-main);
}

.side-nav {
  top: 0;
  overflow: visible;
}

.side-nav::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 100%;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0.2rem 0.2rem 0.4rem 0 rgba(0, 0, 0, 0.08);
  transform: translateX(-50%);
}

.side-nav .snv-tit {
  display: none;
}

.side-nav .snv-list {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.side-nav .snv-list .snv-li {
  flex: 1 1 auto;
  text-align: center;
  height: var(--side-nav-height);
  border-bottom: none;
}

.side-nav .snv-list .snv-li .snv-li-btn {
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  font-weight: 400;
  line-height: 0;
}

.side-nav .snv-list .snv-li.active .snv-li-btn {
  color: #fff;
  font-weight: 700;
  background: var(--sub-main);
}

.side-nav .snv-list .snv-li.active .snv-li-btn:hover {
  background: var(--sub-main);
}

.side-nav .snv-list .snv-li .snv-li-btn:hover,
.side-nav .snv-list .snv-li .snv-li-btn:active {
  background: #fff;
}

.side-nav .snv-list > li > .snv-li-btn::before {
  left: auto;
  right: auto;
  width: 0;
  background: var(--sub-main);
}

.side-nav .snv-list > li.active > .snv-li-btn::before,
.side-nav .snv-list > li > .snv-li-btn:hover::before {
  left: auto;
  right: auto;
  width: 100%;
}

#contents {
  padding-top: calc(var(--side-nav-height) + 7rem);
}

#con-tit {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  gap: 1rem;
  margin-bottom: 3rem;
}

.page-title-wrap {
  margin-bottom: 0;
}

.page-title-wrap .h-tit {
  margin-top: 0;
  font-size: 3.5rem;
  font-weight: 700;
}

.krds-breadcrumb-wrap .breadcrumb .home {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
}

.krds-breadcrumb-wrap .breadcrumb .home::after {
  margin-top: 0.2rem;
}

.krds-breadcrumb-wrap .breadcrumb .home a {
  display: block;
  width: 2rem;
  height: 2rem;
  font-size: 0;
  background: url(/share/images/krds/ico_location_home01.svg) no-repeat center / 100%;
}

#con-tit #shareSns {
  position: absolute;
  top: 0.5rem;
  right: 0;
  gap: 1rem;
}

#con-tit #shareSns > li > a {
  display: block;
  width: 4.6rem !important;
  height: 4.6rem !important;
  border-radius: 3rem;
  font-size: 0;
  background-color: #EEE;
  background-position: center;
  background-size: 2.4rem !important;
}

#con-tit #shareSns > li::before {
  display: none;
}

.info-list.decimal > li {
  padding-left: 1.5rem;
}

.info-list.decimal > li:before {
  top: 0.9rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 0.1rem;
  background: #424242;
}

#tab {
  flex-wrap: nowrap;
  gap: 0;
  margin-bottom: 5rem;
  width: 100%;
  background: #F6F6F6;
}

#tab li {
  flex: 1 1 auto;
  max-width: 100%;
  width: auto;
}

#tab li a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 1.6rem;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--sub-main);
  transition: none;
  word-break: keep-all;
}

#tab li.select a {
  color: var(--sub-main);
  font-weight: 700;
  border-radius: 1rem 1rem 0 0;
  border-top: 1px solid var(--sub-main);
  border-right: 1px solid var(--sub-main);
  border-left: 1px solid var(--sub-main);
  border-bottom: none;
  background: #FFF;
}

#tab li:hover a {
  color: var(--sub-main);
  font-weight: 700;
}

#tab li.select a::before {
  content: '';
  width: 2.4rem;
  height: 2.4rem;
  background-color: var(--sub-main);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-size: contain;
  -webkit-mask-image: url(../img/sub/tab-ic.svg);
  mask-image: url(../img/sub/tab-ic.svg);
}

#detail_con .section h3 {
  padding-left: 0;
  color: var(--krds-light-color-text-basic);
  margin-bottom: 1.6rem;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 170%;
  background: none;
}

#detail_con .section h4 {
  margin-bottom: 1rem;
  padding-left: 2.4rem;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 170%;
  background: url(../img/sub/bl-h4.svg) no-repeat 0 0.9rem / 1.4rem;
}

#detail_con .des-sec {
  gap: 1rem;
  margin-top: 1rem;
  padding-left: 2.4rem;
  line-height: 170%;
}

.sub-sec .table-wrap .info-list {
  margin-top: 0;
}

a.krds-btn.secondary {
  color: #DF2952;
  min-width: 22rem;
  height: 6.4rem;
  font-size: 1.8rem;
  border: none;
  background: #FFF4F6;
}

a.krds-btn.secondary:not(.icon) .svg-icon {
  background-color: #DF2952;
}

a.krds-btn.secondary > span {
  border-bottom: 1px solid #DF2952;
}

.search-top-box .sch-form-wrap .input-group {
  max-width: 100%;
}

.search-top-box .sch-form-wrap .sch-input {
  max-width: 43rem;
}

.search-array {
  margin-bottom: 4rem;
}

@media (max-width: 1023px) {
  #container::before {
    background-position: 70% 0;
  }
  
  .in-between .side-nav {
    display: block;
  }

  .side-nav .snv-tit {
    padding-left: 16px;
  }
  
  .krds-btn.secondary {
    min-width: auto;
  }
}

@media (max-width: 767px) {
  :root {
    --sub-bg-height: 160px;
  }

.search-top-box .sch-form-wrap span {
  width: 100%;
}

  .in-between .side-nav {
    display: none;
  }

  .page-title-wrap .h-tit {
    padding-right: 5rem;
  }

  #container::after {
    height: 160px;
  }

  #contents {
    padding-top: 5rem;
  }

  .tab-box {
    margin-bottom: 5rem;
  }

  .tab-box>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.6rem;
    width: 100%;
    color: var(--sub-main);
    font-weight: 700;
    border-radius: 1rem;
    border: 1px solid var(--sub-main);
    background: #FFF;
  }

  .tab-box>a::after {
    content: '';
    width: 2.4rem;
    height: 2.4rem;
    background-color: var(--sub-main);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: contain;
    -webkit-mask-image: url(../img/sub/tab-ic.svg);
    mask-image: url(../img/sub/tab-ic.svg);
  }

  #tab {
    display: none;
    flex-direction: column;
    margin-bottom: 0;
    border-radius: 1rem;
    background: #F6F6F6;
    overflow: hidden;
  }

  #tab.on {
    display: flex;
  }

  #tab li a {
    justify-content: flex-start;
    border-bottom: 1px solid #D9D9D9;
  }

  #tab li.select a {
    border: none;
    background: #F6F6F6;
    border-bottom: 1px solid #D9D9D9;
  }
  
  #tab li.select a::before {
    display: none;
  }

  #tab li:nth-last-child(1) a {
    border-bottom: none;
  }
}