/* =========================================================
   coding test
========================================================= */

.coding-page {
  background: #fff;
  color: #101010;
  font-family: Pretendard;
}

.coding-body {
  font-family: Pretendard;
}

.coding-body .fade-up {
  opacity: 0;
  transform: translateY(var(--fade-up-y, 78px));
}

.coding-body .fade-up.is-visible {
  transform: translateY(var(--fade-up-y, 0));
}

.blind {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.coding-hero {
  position: relative;
  height: 980px;
  overflow: hidden;
}

.coding-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 36.7%, #fff 100%);
}

.coding-hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 980px;
  object-fit: cover;
}

.coding-title {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 388px;
  transform: translateX(-50%);
  text-align: center;
  filter: drop-shadow(0 0 20px #fff) drop-shadow(0 0 40px #fff);
}

.coding-title h1 {
  margin: 0;
  font-family: "Paperlogy";
  font-size: 80px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.coding-title p {
  margin: 40px 0 0;
  font-family: Pretendard;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.7px;
  white-space: nowrap;
}

.cert-exam-sec {
  width: 1280px;
  margin: 0 auto;
  padding: 80px 0 82px;
}

.section-head h2 {
  margin: 0;
  font-family: "Paperlogy";
  font-size: 64px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -1.6px;
}

.section-head p {
  margin: 40px 0 0;
  font-family: Pretendard;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.7px;
}

.section-head small {
  display: block;
  margin-top: 20px;
  color: rgba(24, 23, 28, .5);
  font-family: Pretendard;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.7px;
}

.exam-card-list {
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

.exam-card {
  width: 407px;
  min-height: 458px;
  overflow: hidden;
  border-radius: 70px;
  background: linear-gradient(180deg, #c5e9ff 0%, #bef5ff 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.exam-card div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 376px;
  height: 336px;
  margin: 20px auto 0;
  overflow: hidden;
  border-radius: 50px;
  background: #fff;
}

.exam-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.exam-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exam-card p {
  width: max-content;
  max-width: calc(100% - 84px);
  margin: 20px 0 0 50px;
  color: #18171c;
  font-family: Pretendard;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.5px;
  text-align: left;
  white-space: nowrap;
}

.exam-card:nth-child(3) p {
  margin-left: 42px;
}

.coding-table-sec {
  padding: 160px 0;
}

.test-table {
  display: flex;
  align-items: flex-end;
  gap: 11px;
  width: 1280px;
  margin: 0 auto;
}

.label-col {
  display: flex;
  flex: 0 0 134px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 36px;
  background: #fff;
}

.label-col span,
.test-col > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  flex-shrink: 0;
  padding: 10px 18px;
  border-top: 1px solid rgba(0, 0, 0, .2);
  text-align: center;
  font-family: Pretendard;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.label-col span:first-child,
.test-col > span:first-of-type {
  border-top: 0;
}

.label-col span {
  color: #18171c;
  font-weight: 500;
}

.test-col {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 0;
  overflow: visible;
  border-radius: 36px;
  background: transparent;
}

.test-col::after {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 88px;
  bottom: 0;
  content: "";
  border-radius: 36px;
  background: linear-gradient(180deg, #c5e9ff 0%, #bef5ff 100%);
}

.test-col h3 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  margin: 0 0 20px;
  border-radius: 36px;
  background: #2a8dff;
  color: #fff;
  text-align: center;
  font-family: Pretendard;
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.7px;
  flex-shrink: 0;
  white-space: nowrap;
}

.test-col h3 em {
  font-style: normal;
}

.desktop-table .test-col h3 {
  display: block;
  line-height: 68px;
}

.desktop-table .test-col h3 em {
  display: inline;
}

.test-col-wide {
  flex-basis: 395px;
  flex-grow: 0;
}

.test-col-wide span {
  justify-content: stretch;
  min-height: 90px;
  height: 90px;
  padding: 0;
}

.test-col-wide b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  min-height: 90px;
  height: 90px;
  padding: 10px 12px;
  font-family: Pretendard;
  font-weight: 600;
}

.test-col > span {
  position: relative;
  z-index: 1;
  background: transparent;
  border-top-color: rgba(42, 141, 255, .2);
  font-weight: 600;
}

.test-col-wide .wide-note {
  justify-content: center;
  padding: 10px 18px;
}

.mobile-table-list {
  display: none;
}

.mobile-break {
  display: none;
}

.mobile-copy {
  display: none;
}

.field-sec {
  padding: 160px 0 165px;
  text-align: center;
}

.field-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 223px;
  height: 54px;
  padding: 0 18px;
  border-radius: 50px;
  background: linear-gradient(90deg, #6ee9ff 0%, #80f6b1 100%);
  color: #101010;
  font-family: Pretendard;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.05px;
}

.field-badge::after {
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 0;
  height: 0;
  content: "";
  border-top: 18px solid #80f6b1;
  border-right: 13px solid transparent;
  border-left: 13px solid transparent;
  transform: translateX(-50%);
}

.field-sec h2 {
  margin: 37px 0 0;
  font-family: "Paperlogy";
  font-size: 64px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -1.6px;
}

.field-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 33px;
  margin-top: 72px;
}

.field-images picture {
  display: block;
}

.field-images img {
  height: 458px;
  overflow: hidden;
  border-radius: 70px;
  object-fit: cover;
}

.field-images picture:first-child img,
.field-images > img:first-child {
  width: 715px;
}

.field-images picture:last-child img,
.field-images > img:last-child {
  width: 532px;
}

.aice-sec {
  padding: 72px 0 82px;
}

.aice-inner {
  width: 1280px;
  margin: 0 auto;
}

.aice-images {
  display: flex;
  gap: 33px;
  margin-top: 48px;
}

.aice-images picture {
  display: block;
}

.aice-images img {
  height: 365px;
  overflow: hidden;
  border-radius: 70px;
  object-fit: cover;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .1);
}

.aice-images picture:first-child img,
.aice-images > img:first-child {
  width: 734px;
}

.aice-images picture:last-child img,
.aice-images > img:last-child {
  width: 513px;
}

.aice-table-sec {
  padding: 160px 0 322px;
}

.aice-table .label-col span,
.aice-table .test-col > span,
.aice-table .test-col-wide b {
  min-height: 90px;
}

.aice-table .test-col h3 {
  min-height: 68px;
}

.coding-body .gnb,
.coding-body .nav,
.coding-body .menu-btn,
.coding-body .sitemap {
  font-family: Pretendard;
}

.coding-body .nav-sub a {
  font-family: Paperlogy;
}

.coding-body .footer address,
.coding-body .footer address span {
  font-family: Pretendard;
  font-weight: 500;
}

.coding-body .footer-links,
.coding-body .footer-links a {
  font-family: Pretendard;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cert-exam-sec,
  .aice-inner,
  .test-table {
    width: calc(100% - 80px);
  }

  .coding-hero,
  .coding-hero-bg {
    height: 760px;
  }

  .coding-title {
    top: 300px;
  }

  .coding-title h1 {
    font-size: 64px;
  }

  .coding-title p {
    font-size: 22px;
  }

  .section-head h2,
  .field-sec h2 {
    font-size: 48px;
  }

  .section-head p,
  .section-head small {
    font-size: 22px;
  }

  .exam-card-list {
    gap: 18px;
  }

  .exam-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 356px;
    border-radius: 48px;
  }

  .exam-card div {
    width: calc(100% - 28px);
    height: 250px;
    border-radius: 34px;
  }

  .exam-card p {
    max-width: calc(100% - 44px);
    margin-left: 22px;
    font-size: 16px;
  }

  .exam-card:nth-child(3) p {
    margin-left: 22px;
  }

  .test-table {
    gap: 8px;
  }

  .label-col {
    flex-basis: 112px;
  }

  .label-col span,
  .test-col > span,
  .test-col-wide b {
    min-height: 78px;
    padding: 8px 10px;
    font-size: 15px;
    letter-spacing: -0.38px;
  }

  .test-col h3 {
    min-height: 58px;
    margin-bottom: 18px;
    font-size: 20px;
    border-radius: 30px;
  }

  .desktop-table .test-col h3 {
    line-height: 58px;
  }

  .test-col::after {
    top: 76px;
    border-radius: 30px;
  }

  .test-col-wide {
    flex-basis: 290px;
  }

  .test-col-wide span,
  .test-col-wide b {
    min-height: 78px;
    height: 78px;
  }

  .field-images,
  .aice-images {
    gap: 18px;
  }

  .field-images picture {
    flex: 1 1 0;
    min-width: 0;
  }

  .field-images img,
  .field-images picture:first-child img,
  .field-images picture:last-child img {
    width: 100%;
    height: 330px;
    border-radius: 48px;
  }

  .aice-images picture:first-child {
    flex: 1 1 58%;
  }

  .aice-images picture:last-child {
    flex: 1 1 42%;
  }

  .aice-images img,
  .aice-images picture:first-child img,
  .aice-images picture:last-child img {
    width: 100%;
    height: 282px;
    border-radius: 48px;
  }
}

@media (max-width: 767px) {
  .gnb {
    height: 108px;
    padding: 24px 20px 36px;
  }

  .menu-btn {
    width: 60px;
    height: 60px;
  }

  .menu-btn i {
    left: 19px;
    top: 22px;
    width: 22px;
    height: 3px;
    box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
  }

  .coding-hero {
    height: 660px;
  }

  .coding-hero picture {
    position: absolute;
    inset: 0;
  }

  .coding-hero-bg {
    left: -195.37%;
    top: 0;
    width: 309.81%;
    height: 660px;
    max-width: none;
    transform: none;
  }

  .coding-title {
    top: 234px;
    width: 311px;
  }

  .coding-title h1 {
    color: #18171c;
    font-size: 50px;
    line-height: 1.3;
    letter-spacing: -2px;
  }

  .coding-title p {
    margin-top: 40px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.035px;
    white-space: normal;
  }

  .cert-exam-sec {
    width: auto;
    padding: 65px 20px 64px;
  }

  .section-head {
    width: 350px;
    margin: 0 auto;
    padding-right: 0;
  }

  .section-head h2 {
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: -0.075px;
  }

  .mobile-break {
    display: block;
  }

  .section-head p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.035px;
  }

  .desktop-copy {
    display: none;
  }

  .mobile-copy {
    display: inline;
  }

  .cert-exam-sec .section-head p .mobile-copy br {
    display: block;
  }

  .cert-exam-sec .section-head p br,
  .aice-sec .section-head p br {
    display: none;
  }

  .section-head small {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(16, 16, 16, .5);
    letter-spacing: -0.035px;
  }

  .exam-card-list {
    width: 350px;
    gap: 18px;
    margin: 44px auto 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .exam-card-list::-webkit-scrollbar {
    display: none;
  }

  .exam-card {
    flex: 0 0 248px;
    width: 248px;
    min-height: 279px;
    border-radius: 36px;
    background: linear-gradient(180deg, #c5e9ff 0%, #bef5ff 100%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
  }

  .exam-card div {
    width: 222px;
    height: 200px;
    margin-top: 13px;
    border-radius: 20px;
  }

  .exam-card img {
    width: 222px;
    height: 200px;
    object-fit: cover;
  }

  .exam-card p {
    margin: 11px 17px 0;
    width: auto;
    max-width: none;
    color: #18171c;
    font-family: Pretendard;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.35px;
    white-space: nowrap;
  }

  .exam-card:nth-child(n + 3) {
    display: none;
  }

  .coding-table-sec {
    padding: 60px 20px;
  }

  .desktop-table {
    display: none;
  }

  .mobile-table-list {
    display: flex;
    flex-direction: column;
    gap: 17.5px;
    width: 350px;
    margin: 0 auto;
  }

  .mobile-spec {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 350px;
    overflow: visible;
    border-radius: 0;
    background: transparent;
  }

  .mobile-spec::after {
    position: absolute;
    z-index: 0;
    left: 112px;
    top: 60px;
    bottom: 0;
    width: 238px;
    content: "";
    border-radius: 36px;
    background: linear-gradient(180deg, #c5e9ff 0%, #bef5ff 100%);
  }

  .mobile-spec h3 {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 238px;
    min-height: 48px;
    margin: 0 0 12px 112px;
    border-radius: 30px;
    background: #2a8dff;
    color: #fff;
    text-align: center;
    font-family: Pretendard;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.5px;
  }

  .mobile-spec h3 em {
    font-style: normal;
  }

  .mobile-spec p {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    min-height: 57px;
    margin: 0;
    border-top: 0;
  }

  .mobile-spec b {
    display: flex;
    flex: 0 0 96px;
    align-items: center;
    justify-content: center;
    padding: 18px 10px;
    border: 1px solid rgba(24, 23, 28, .2);
    border-bottom: 0;
    background: #fff;
    color: #18171c;
    text-align: center;
    font-family: Pretendard;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: -0.35px;
  }

  .mobile-spec span {
    display: flex;
    flex: 0 0 238px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 18px 13px;
    border-top: 1px solid rgba(42, 141, 255, .2);
    background: transparent;
    text-align: center;
    font-family: Pretendard;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: -0.35px;
  }

  .mobile-spec p:first-of-type b {
    border-radius: 36px 36px 0 0;
  }

  .mobile-spec p:first-of-type span {
    border-top: 0;
  }

  .mobile-spec p:last-child b {
    border-bottom: 1px solid rgba(24, 23, 28, .2);
    border-radius: 0 0 36px 36px;
  }

  .coding-spec-list .mobile-spec p:last-child {
    min-height: 78px;
  }

  .split-spec span {
    padding: 0;
  }

  .split-spec i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    min-height: 57px;
    padding: 7px 8px;
    font-family: Pretendard;
    font-style: normal;
  }

  .split-spec i + i {
    border-left: 1px solid rgba(42, 141, 255, .2);
  }

  .split-spec p:last-child span {
    padding: 18px 27px;
  }

  .field-sec {
    padding: 80px 20px;
  }

  .field-badge {
    min-width: 165px;
    height: 36px;
    padding: 0 12px;
    color: #101010;
    background: linear-gradient(90deg, #6ee9ff 0%, #80f6b1 100%);
    font-family: Pretendard;
    font-size: 12px;
    font-weight: 600;
  }

  .field-badge::after {
    bottom: -12px;
    border-top: 16px solid #80f6b1;
    border-right-width: 12px;
    border-left-width: 12px;
  }

  .field-sec h2 {
    margin-top: 27px;
    font-size: 30px;
    letter-spacing: -0.075px;
  }

  .field-images {
    flex-direction: column;
    gap: 14px;
    margin-top: 38px;
  }

  .field-images picture,
  .field-images img {
    width: 350px;
  }

  .field-images img,
  .field-images picture:first-child img,
  .field-images picture:last-child img,
  .field-images > img:first-child,
  .field-images > img:last-child {
    width: 350px;
    height: 224px;
    border-radius: 36px;
    object-fit: cover;
  }

  .aice-sec {
    padding: 60px 20px 62px;
  }

  .aice-inner {
    width: auto;
  }

  .aice-images {
    align-items: center;
    flex-direction: column;
    gap: 14px;
    margin-top: 38px;
  }

  .aice-images picture,
  .aice-images img {
    width: 350px;
  }

  .aice-images img,
  .aice-images picture:first-child img,
  .aice-images > img:first-child {
    width: 350px;
    height: 175px;
    border-radius: 36px;
    object-fit: cover;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .1);
  }

  .aice-images picture:last-child img,
  .aice-images > img:last-child {
    width: 350px;
    height: 204px;
    border-radius: 36px;
    object-fit: cover;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .1);
  }

  .aice-table-sec {
    padding: 60px 20px 185px;
  }

  .aice-spec-list .mobile-spec p {
    min-height: 57px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .coding-body .fade-up {
    opacity: 1;
    transform: none;
  }
}
