@charset "UTF-8";
@import url("./font/font.css");

.sub-top {
  background: linear-gradient(100.93deg, #edf2ff 0%, #d2e0ff 100.64%);
  width: 100%;
  height: 180px;
  padding: 40px 30px;
  position: relative;
  margin-bottom: 30px;
}
.site-def .sub-top {
  background: linear-gradient(100.93deg, #ff744c 0%, #ff9346 100.64%);
  color: #fff !important;
}

.sub-top-text > h2 {
  font-family: YeogiOttaeJalnanGothic;
  font-weight: 400;
  font-size: 26px;
  line-height: 34px;
  letter-spacing: -2%;

  margin-bottom: 5px;
}
.sub-top-text > p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -1%;
}
.sub-top-img {
  position: absolute;
  width: 140px;
  height: 140px;
}
/* */
.sub-main {
  width: 100%;
  padding: 0 20px;
}
.sub-link {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sub-link > li {
  width: 100%;
  height: 70px;
  border-radius: 12px;
  border: 1px solid #d9d9d9;
}
.sub-link > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 20px 16px;
}
.sub-link > li > a > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sub-link > li > a > div > p {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -1%;
  text-align: center;
}
/* detail */
.detail-top {
  padding: 0 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 30px;
  padding-bottom: 10px;
  position: sticky;
  top: 80px;
  background-color: #fff;
  z-index: 9;
}
.detail-top > a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 40px;
  position: relative;
  color: #ced4da;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -1%;
  text-align: center;
}
.detail-top > a > span {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background-color: #ced4da;
  border-radius: 10px;
}
.detail-top > a.active {
  color: #2e3338;
}
.detail-top > a.active > span {
  background-color: #2e3338;
}
.detail-text {
  word-break: keep-all;
  padding: 0 20px;
}
.detail-text > h2 {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -2%;
  color: #060b11;
  margin-bottom: 20px;
}
.detail-text > h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -1%;
  color: #060b11;
  margin-bottom: 8px;
  margin-top: 20px;
}
.detail-text > p {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -1%;
  color: #555d65;
  margin-bottom: 20px;
}
.detail-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #d9d9d9;
  padding: 12px 20px;
  background-color: #fff;
  z-index: 999;
}
.detail-footer > a {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -1%;
  text-align: center;
  border-radius: 50px;
}
.detail-footer-back {
  background-color: #fff !important;
  border: 1px solid #d9d9d9;
  color: #060b11;
  width: 120px;
  flex-shrink: 0;
}
.site-def .detail-footer > a {
  background-color: #f54600;
}
.detail-footer-next {
  background-color: var(--color-primary);
  color: #fff;
  width: 100%;
}
.detail-open {
  width: 100%;
}
.detail-open-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-top: 1px solid #d9d9d9;
}
.detail-open img {
  transition: all 0.2s;
}
.detail-open.active img {
  transform: rotate(180deg);
}
.detail-open-top > h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -1%;
  color: #060b11;
}
.detail-open-bot {
  background: #f7f8fa;
  padding: 0 20px;
  max-height: 0;
  transition: all 0.2s;
  overflow: hidden;
}
.detail-open.active .detail-open-bot {
  max-height: 100px;
  padding: 20px;
}
.detail-open-bot > p {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -1%;
  color: #060b11;
  margin-bottom: 20px;
}
.detail-open-bot > h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -1%;
  color: #060b11;
  margin-bottom: 8px;
  margin-top: 20px;
}
.detail-open-bot > p.pl,
.detail-text > p.pl {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0;
}
.detail-open-bot > p.pl::before,
.detail-text > p.pl::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  width: 4px;
  height: 4px;
  background-color: #060b11;
  border-radius: 50%;
}
.detail-text-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 0px 10px 2px #0000000a;
  margin: 20px 0;
}
.detail-text-link.type1 {
  border: 1px solid var(--color-primary);
  background-color: #fff;
  color: var(--color-primary);
}
.detail-text-link.type2 {
  background-color: #209dc5;
  color: #fff;
}
.site-def .detail-text-link.type1 {
  border: 1px solid #f54600;
  color: #f54600;
}
.site-def .detail-text-link.type2 {
  background-color: #5573f1;
}
.detail-text-link.type2 > img {
  filter: brightness(100);
}
.site-def .detail-text-link.type1 > img {
  filter: invert(1);
}
.detail-text-link > p {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -2%;
}

.detail-text-flex {
  width: 100%;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.detail-text-flex > div {
  width: 50%;
}
.detail-text-flex > div > p {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -1%;
  color: #555d65;
}
.detail-text-flex > div > p.pl {
  position: relative;
  padding-left: 14px;
}
.detail-text-flex > div > p.pl::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 4px;
  height: 4px;
  background-color: #060b11;
  border-radius: 50%;
}
.detail-text-table {
  width: 100%;
}
.detail-text-table table {
  width: 100%;
  border: 1px solid #d9d9d9;
}
.detail-text-table table th {
  padding: 5px 10px;
  border: 1px solid #d9d9d9;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 20px;
  color: #000;
  background-color: #f5f5f5;
}
.detail-text-table table td {
  padding: 5px 10px;
  border: 1px solid #d9d9d9;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: #555d65;
}
@media (max-width: 380px) {
  .sub-top {
    padding: 30px 20px;
    height: auto;
  }
  .sub-top-img {
    width: 100px;
    height: 100px;
    right: 10px !important;
    top: 50%;
    transform: translateY(-50%);
    bottom: unset !important;
  }
  .sub-top-text > h2 {
    font-size: 24px;
    line-height: 32px;
  }
}
@media (max-width: 350px){
  .sub-top-img{
    display: none;
  }
}