@charset "utf-8";
@import url('/share/css/swiper.min.css');

.top-con {
  display: flex;
  gap: 4.5rem;
  padding-top: 4rem;
  padding-bottom: 8rem;
}

#pzone {
  flex: 1 1 auto;
  position: relative;
  max-width: 77rem;
  width: 100%;
}

#pzone::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 6.9rem;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%);
  z-index: 2;
}

#pzone .control {
  position: absolute;
  left: -2.8rem;
  right: -2.8rem;
  top: calc(50% - 5.2rem / 2);
  display: flex;
  justify-content: space-between;
}

#pzone .control button {
  position: relative;
  width: 5.2rem;
  height: 5.2rem;
  background: url(../img/main/pzone.svg) no-repeat 0 0 / 100%;
  z-index: 3;
}

#pzone .control .next {
  transform: rotate(180deg);
}

#pzone .swiper {
  overflow: hidden;
}

#pzone .swiper-slide {
  width: 29.7rem;
  height: 100%;
  max-height: 42rem;
  background: #FFF;
  overflow: hidden;
}

#pzone .swiper-slide .img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.4rem;
  overflow: hidden;
}

#pzone .swiper-slide .img::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 1.4rem;
  border: 0.1rem solid rgba(0, 0, 0, 0.07);
}

#pzone .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#board {
  flex: 1 1 auto;
  width: 100%;
  overflow: hidden;
  border-radius:0 1.5rem 1.5rem 1.5rem;
}

#board .tab-wrap {
  display: flex;
  flex-direction: column;
}

#board .mobile {
  display: none;
}

#board .tablist,
#board .mobile .tit-box {
  flex: 0 0 auto;
  display: flex;
  color: #6D7882;
  font-family: var(--pa-typo-font-type);
  font-size: 2.2rem;
  font-weight: 700;
}

#board .tablist>li {
  position: relative;
}

#board .tablist a,
#board .tablist button,
#board .mobile .tit-box h3 {
  padding: 2.2rem 5rem 1.5rem 4.3rem;
  min-height: 7rem;
}

#board .tablist .select,
#board .mobile .tit-box h3 {
  color: var(--krds-light-color-text-basic);
  border-radius: 1.5rem 1.5rem 0 0;
  background: #EFF9E2;
}

#board .tablist .select::before {
  content: '';
  position: absolute;
  right: -3.2rem;
  bottom: 0;
  width: 7.7rem;
  height: 7.1rem;
  background: url(../img/main/board-tap.svg) no-repeat 0 0 / cover;
}

#board .more {
  position: absolute;
  top: 1.3rem;
  right: -2rem;
  display: none;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: #FFF url(../img/main/board-more.svg) no-repeat center / 4rem;
  box-shadow: 0.2rem 0 0.5rem rgba(0, 0, 0, 0.15);
  z-index: 9;
}

#board .more:hover {
  transform: rotate(90deg);
}

#board .select+.more {
  display: block;
}

#board .tabpanel,
#board .mobile .list {
  flex: 1 1 auto;
  height: 100%;
  padding: 2.6rem 4rem 3rem 4rem;
  border-radius: 0 1.5rem 0 0;
  background: #EFF9E2;
}

#board .tabpanel>div {
  display: none;
}

#board .tabpanel .active {
  display: flex;
}

#board .tabpanel .list {
  width: 100%;
  overflow: hidden;
}

#board .tabpanel .list>li a,
#board .mobile .list a {
  width: 100%;
  overflow: hidden;
}

#board .tabpanel .list .top-box,
#board .mobile .list .top-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.1rem;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: #FFF;
}

#board .tabpanel .list .top-box .tit,
#board .mobile .list .top-box .tit {
  margin-bottom: 2.1rem;
  padding: 0 1rem 2.1rem 1rem;
  color: #33363D;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: -0.02em;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
  text-overflow: ellipsis;  
  overflow: hidden;
}

#board .tabpanel .list .top-box .date,
#board .mobile .list .top-box .date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 130%;
}

#board .tabpanel .list .top-box .date .date-md,
#board .mobile .list .top-box .date .date-md {
  color: #333;
}

#board .tabpanel .list .top-box .date .date-y,
#board .mobile .list .top-box .date .date-y {
  color: #888;
  font-size: 1.8rem;
}

#board .tabpanel .list>li:not(.top-box),
#board .mobile .list>li:not(.top-box) {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 2px dashed rgba(0, 0, 0, 0.10);
}

#board .tabpanel .list>li.top-box+li,
#board .mobile .list>li.top-box+li {
  padding-top: 0;
  margin-top: 1.6rem;
  border-top: none;
}

#board .tabpanel .list>li:not(.top-box) a,
#board .mobile .list>li:not(.top-box) a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 0 1rem;
  font-weight: 500;
  line-height: 130%;
}

#board .tabpanel .list>li:not(.top-box) .tit,
#board .mobile .list>li:not(.top-box) .tit {
  color: #33363D;
  font-size: 1.8rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#board .tabpanel .list>li:not(.top-box) .date,
#board .mobile .list>li:not(.top-box) .date {
  color: #888;
  font-size: 1.7rem;
}

#edu {
  padding-top: 5.7rem;
  padding-bottom: 5.7rem;
  background: url(../img/main/edu-bg.png) no-repeat 0 0 / cover,  linear-gradient(90deg, #F0F4FF 0%, #E6F8FF 100%);
}

#edu .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.1rem;
}

#edu h3 {
  position: relative;
  padding-left: 36.8rem;
  margin-left: -40rem;
  text-align: center;
  font-family: var(--es-typo-font-type);
  font-size: 3.9rem;
  font-weight: 300;
  line-height: 120%;
}

#edu h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: -7.2rem;
  width: 29.5rem;
  height: 24.6rem;
  background: url(../img/main/edu-deco.png) no-repeat 0 0 / 100%;
}

#edu h3 span {
  font-weight: 500;
}

#edu .tab-wrap {
  position: relative;
  width: 100%;
  z-index: 1;
}

#edu .tablist {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
}

#edu .tablist a,
#edu .tablist button {
  flex: 1 1 calc((100% / 7) - (0.9rem * 6 / 7));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.5rem 0 2.5rem 0;
  width: 100%;
  color: rgba(0, 0, 0, 0.75);
  font-weight: 500;
  letter-spacing: -0.03em;
  border: 0.5rem solid #fff;
  border-radius: 1.5rem;
  background: #FFF;
}

#edu .tablist a::before,
#edu .tablist button::before {
  content: '';  
  width: 7rem;
  height: 7rem;
  background: url(../img/main/edu-ic.svg) no-repeat 0 0 / 100%;
}

#edu .tablist button:nth-child(2)::before {
  background-position: 0 -8.5rem;
}

#edu .tablist button:nth-child(3)::before {
  background-position: 0 calc(-8.5rem * 2);
}

#edu .tablist button:nth-child(4)::before {
  background-position: 0 calc(-8.5rem * 3);
}

#edu .tablist button:nth-child(5)::before {
  background-position: 0 calc(-8.5rem * 4);
}

#edu .tablist button:nth-child(6)::before {
  background-position: 0 calc(-8.5rem * 5);
}

#edu .tablist a:nth-child(7)::before,
#edu .tablist button:nth-child(7)::before {
  background-position: 0 calc(-8.5rem * 6);
}

#edu .tablist .select {
  color: #FFF;
  text-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.50);
  font-weight: 700;
  border-color: #041C70;
  background: #202FB7;
}

#edu .tabpanel>div {
  display: none;
  margin-top: 3.2rem;
}

#edu .tabpanel .active {
  display: block;
}

#edu .list {
  display: flex;
  gap: 1.2rem;
}

#edu .list>li {
  flex-basis: calc(25% - 3.5rem / 4);
}

#edu .list>li>a {
  display: block;
  padding: 3.2rem 4rem;
  height: 100%;
  min-height: 31.5rem;
  border-radius: 1.5rem;
  border: 1px solid #F0F0F0;
  background: #FFF;
}

#edu .list>li>a:hover {
  box-shadow: 0 0.2rem 2rem 0 rgba(40, 66, 159, 0.50);
}

#edu .list>li .tit {
  display: -webkit-box;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  height: 6rem;
  margin-bottom: 2rem;
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#edu .list>li .con {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
  padding: 2rem 0.5rem 0 0.5rem;
  border-top: 1px solid #D9D9D9;
}

#edu .list>li .con ul>li {
  color: #666;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

#edu .list>li .con ul>li::before {
  content: '- ';
}

#edu .list>li .con ul>li.c-bl {
  color: #273AEE;
}

#edu .list>li .tag {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

#edu .list>li .tag span {
  display: inline-block;
  padding: 0.3rem 1.5rem;
  border-radius: 3rem;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -0.03em;
  border: 1px solid #000;
}

#edu .list>li .tag .morning {
  color: #E27800;
  border-color: #F0CA9E;
}

#edu .list>li .tag .afternoon {
  color: #07A2BC;
  border-color: #07A2BC;
}

#edu .list>li .tag .end {
  color: #666;
  border-color: #aaa;
}

#edu .list>li .tag .ing {
  color: #fff;
  background-color: #DA3030;
  border-color: #DA3030;
}

#edu .more {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8.5rem;
  margin: 0 auto;
  width: 5.8rem;
  height: 5.8rem;
  border-radius: 50%;
  background: #fff url(../img//main/edu-more.svg) no-repeat center / 4.8rem;
  box-shadow: 0.2rem 0 0.5rem rgba(0, 0, 0, 0.15);
}

#edu .more:hover {
  transform: rotate(90deg);
}

.link-con {
  display: flex;
  gap: 3rem;
  padding-top: 7rem;
  padding-bottom: 8rem;
}

#quick {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border-radius: 2rem;
  border: 0.8rem solid rgba(0, 0, 0, 0.10);
}

#quick>li {
  flex-basis: 50%;
}

#quick>li>a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2.8rem 0 3.5rem;
  min-height: 9.6rem;
  height: 100%;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

#quick>li>a::before {
  content: '';
  width: 4rem;
  height: 4rem;
  background: url(../img/main/quick.svg) no-repeat 0 0 / 100%;
}

#quick>li:nth-child(2)>a::before {
  background-position: 0 -4rem;
}

#quick>li:nth-child(3)>a::before {
  background-position: 0 -8rem;
}

#quick>li:nth-child(4)>a::before {
  background-position: 0 -12rem;
}

#quick>li>a::after {
  content: '';
  position: absolute;
  top: auto;
  bottom: auto;
  right: 2.8rem;
  margin: auto 0;
  width: 2.5rem;
  height: 2.5rem;
  background: url(../img/main/quick-arr.svg) no-repeat 0 0 / 100%;
  transition: var(--krds-transition-base);
}

#quick>li>a:hover::after {
  right: 3.5rem;
}

#quick>li:nth-child(odd)>a {
  border-right: 1px solid #eee;
}

#quick>li:nth-child(1)>a,
#quick>li:nth-child(2)>a {
  border-bottom: 1px solid #eee;
}

#related {
  display: flex;
  justify-content: space-between;
  text-align: center;
  padding: 3.7rem 5rem 3.3rem 5rem;
  width: 100%;
  max-width: 76rem;
  border-radius: 2rem;
  background: #F0F4FF;
}

#related>li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#related>li a::before {
  content: '';
  width: 8.8rem;
  height: 8.8rem;
  border-radius: 3.5rem;
  background: #fff url(../img/main/related.png) no-repeat 0 0 / 100%;
  transition: var(--krds-transition-base);
}

#related>li a:hover::before {
  transform: translateY(-1rem);
}

#related>li.related02 a::before {
  background-position: 0 -8.8rem;
}

#related>li.related03 a::before {
  background-position: 0 calc(-8.8rem * 2);
}

#related>li.related04 a::before {
  background-position: 0 calc(-8.8rem * 3);
}

#related>li.related05 a::before {
  background-position: 0 calc(-8.8rem * 4);
}

#related>li a span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  color: rgba(0, 0, 0, 0.75);
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.03em;
}

@media (min-width: 1024px) {
}

@media (max-width: 1200px) {
  #pzone {
    max-width: 50rem;
  }
}

@media (max-width: 1023px) {
  .top-con {
    flex-direction: column;
  }
  
  #pzone {
    max-width: 100%;
    padding-bottom: 7rem;
  }

  #pzone .control {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto;
  }

  #edu h3 {
    text-align: center;
    padding-left: 0;
    margin-left: 0;
    word-break: keep-all;
  }

  #edu h3::before {
    display: none;
  }
  
  #edu ::-webkit-scrollbar {
    height: 0.4rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.12);
  }
  
  #edu ::-webkit-scrollbar-thumb {
    height: 0.6rem;
    border-radius: 1rem;
    background: #041C70;
  }

  #edu .tablist {
    justify-content: flex-start;
    padding-bottom: 1rem;
    margin-bottom: -1rem;
    overflow-y: auto;
  }

  #edu .tablist a,
  #edu .tablist button {
    flex: 0 0 auto;
    width: 19rem;
  }
  
  #edu .list {
    margin-bottom: -1rem;
    padding-bottom: 1rem;
    overflow: auto;
  }
  
  #edu .list>li {
    flex: 0 0 auto;
    width: 35rem;
  }

  .link-con {
    flex-direction: column;
  }

  #related {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  #board {
    border-radius: 0;
  }

  #board .tab-wrap {
    display: none;
  }
  
  #board .mobile {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  #board .mobile .tit-box {
    position: relative;
    display: inline-flex;
  }

  #board .mobile .tit-box h3 {
    padding-left: 3rem;
    padding-right: 3rem;
    max-height: 7rem;
  }

  #board .more {
    right: -3.5rem;
    display: block;
  }

  #board .mobile .list {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
    border-radius: 0 1.5rem 1.5rem 1.5rem;
  }

  #board .mobile .list>li:not(.top-box) .date {
    display: none;
  }

  #board .mobile .etc h3,
  #board .mobile .etc .list {
    background: #EBF3F6;
  }

  #board .etc .more {
    background-image: url(../img/main/board-etc-more.svg);
  }

  #quick>li>a {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  #quick>li>a::after {
    display: none;
  }

  #related {
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 2rem;
    padding: 2.5rem 1.5rem;
    background-image: url(../img/main/related-bg.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 11.4rem;
  }

  #related>li {
    width: 33.3%;
  }
}