/*********************************visual_area***********************************/

.visual_area {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
}

.visual01 {
  background: url("../images/main/visual01.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
}

.visual02 {
  background: url("../images/main/visual02.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
}

.visual_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  color: #fff;
  z-index: 1;
}

.visual_text h2 {
  position: relative;
  width: 100%;
  font-size: 68px;
  line-height: 1;
  font-weight: 800;
}

.sub_title_style {
  margin-top: 1em;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  line-height: 25px;
}

.visual_arrow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 70px;
  z-index: 1;
}

.visual_arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  background: #fff;
  width: 1px;
  height: 55px;
}

/*********************************content********************************/

.main_content h3 {
  font-size: 66px;
  font-weight: 800;
}

.main_content h3 span {
  display: block;
  margin-bottom: 0.3em;
  font-size: 50px;
  font-weight: 800;
}

.main_content .main_text {
  margin-top: 2.5em;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.main_about_align:after,
.main_data_align::after {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  width: 65px;
  height: 1px;
  background: #212121;
}

.main_about_btn a,
.main_data_btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3770fb;
  color: #fff;
  font-size: 15px;
  border-radius: 8px;
  padding: 1em;
  gap: 10px;
  width: 200px;
}

/*********************************main_about********************************/

.main_about {
  position: relative;
  width: 100%;
  height: 800px;
  background: url("../images/main/about.jpg") no-repeat;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main_about_align {
  position: relative;
  width: 60%;
}

.main_about_btn,
.main_data_btn {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  margin-top: 3rem;
}

.main_about_btn a {
  height: 58px;
}

/*********************************main_data********************************/

.main_data {
  position: relative;
  width: 100%;
  height: 800px;
  background: url("../images/main/data.jpg") no-repeat center center;
  background-size: cover;

  display: flex;
  align-items: center;
}

.main_data_align {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.main_data_align h3,
.main_data_align .main_text {
  color: #fff;
}

.main_data_align::after {
  background: #fff;
}

.main_data_btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3770fb;
  color: #fff;
  font-size: 15px;
  border-radius: 8px;
  padding: 1em;
  gap: 10px;
  width: 200px;
}

/*********************************latest_notice***********************************/

.latest_notice {
  position: relative;
  width: 100%;
  background: #f9f7f4;
  padding-top: 14rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.latest_notice h3 {
  position: Relative;
  font-size: 50px;
  font-weight: 800;
}

.latest_notice h3::after {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 1px;
  background: #212121;
}

.latest_notice_list {
  /* display: flex; */
  flex-direction: row;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin-top: 3rem;
  gap: 20px;
}

.latest_notice_list li a {
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  background: #fff;
  margin-bottom: 10px;
}

.latest_notice_list li a dl dt {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
  line-clamp: 2;/* 라인수 */
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  line-height: 1.2em;
}

.latest_notice_list li a dl dd {
  font-size: 18px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7; /* 라인수 */
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  line-height: 1.2em;
}

.latest_notice_list li a dl dd:last-of-type {
  /* margin-top: 2rem; */
  font-size: 14px;
  font-weight: 500;
}

/*********************************main_qa***********************************/

.main_qa {
  position: relative;
  width: 100%;
  height: 559px;
  background: url("../images/main/qa.jpg") no-repeat center center;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 8rem;
}

.main_qa h3 {
  position: Relative;
  font-size: 50px;
  font-weight: 800;
  color: #fff;
}

.main_qa h3::after {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 1px;
  background: #fff;
}

.main_qa .main_text {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  margin-top: 2.5em;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

/*********************************media***********************************/

@media screen and (max-width: 1200px) {
  .main_about_align {
    width: 70%;
  }
  .main_content h3 {
    font-size: 60px;
  }
  .main_content h3 span {
    font-size: 44px;
  }
  .main_about_btn a {
    height: 53px;
  }
  .main_about_btn a img {
    width: 26px;
  }
  .main_about_btn a:last-of-type img {
    width: 23px;
  }
}

@media screen and (max-width: 1080px) {
  .latest_notice_list {
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }
  .latest_notice_list li {
    width: calc(100% / 2 - 20px);
  }
  .latest_notice_list li a dl dt {
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
  .latest_notice_list li a dl dd {
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
}

@media screen and (max-width: 970px) {
  .visual01 {
    background-position: right 20% center;
    background-size: auto;
  }
}

@media screen and (max-width: 890px) {
  .main_about_align {
    width: 80%;
  }
  .main_content h3 {
    font-size: 50px;
  }
  .main_content h3 span {
    font-size: 34px;
  }
  .main_content .main_text {
    margin-top: 1.5em;
    font-size: 18px;
  }
  .main_about_btn,
  .main_data_btn {
    margin-top: 2rem;
  }
  .latest_notice {
    padding-top: 12rem;
  }
  .latest_notice h3,
  .main_qa h3 {
    font-size: 44px;
  }
  .latest_notice_list {
    margin-top: 4rem;
  }
}

@media screen and (max-width: 768px) {
  .main_content h3,
  .main_content .main_text {
    text-align: center;
  }
  .main_about {
    background-position: left 40% center;
  }
  .main_about_align {
    width: 90%;
    margin: 0 auto;
  }
  .main_about_btn,
  .main_data_btn {
    justify-content: center;
  }
  .main_about_align:after,
  .main_data_align::after {
    width: 45px;
    left: 50%;
    transform: translateX(-50%);
  }
  .main_data {
    background-position: left 65% center;
  }
  .main_content .main_text br {
    display: none;
  }
  .main_about_btn a,
  .main_data_btn a {
    width: 180px;
  }
  .latest_notice h3::after,
  .main_qa h3::after {
    width: 45px;
  }
  .latest_notice_list li a dl dt {
    font-size: 18px;
    margin-bottom: 16px;
  }
  .latest_notice_list li a dl dd {
    font-size: 16px;
  }
  .latest_notice_list li a dl dd:last-of-type {
    margin-top: 1rem;
  }
}

@media screen and (max-width: 630px) {
  .visual_text h2 {
    font-size: 60px;
  }
  .sub_title_style {
    font-size: 18px;
  }
  .main_content h3 {
    font-size: 40px;
  }
  .main_content h3 span {
    font-size: 30px;
  }
  .main_about,
  .main_data {
    height: 690px;
  }
  .main_about_align:after,
  .main_data_align::after,
  .latest_notice h3::after,
  .main_qa h3::after {
    top: -30px;
  }
  .latest_notice h3,
  .main_qa h3 {
    font-size: 36px;
  }
  .latest_notice {
    padding-top: 9rem;
  }
  .latest_notice_list {
    margin-top: 3rem;
  }
  .main_qa {
    height: 480px;
    padding-top: 4rem;
  }
  .main_qa .main_text {
    margin-top: 1.5em;
  }
}

@media screen and (max-width: 480px) {
  .visual01 {
    background-position: right 26% center;
    background-size: auto;
  }
  .main_content h3 {
    font-size: 38px;
  }
  .main_content h3 span {
    font-size: 28px;
  }
  .main_content .main_text,
  .main_qa .main_text {
    font-size: 16px;
  }
  .main_about_btn a,
  .main_data_btn a {
    width: 160px;
  }
  .latest_notice h3,
  .main_qa h3 {
    font-size: 34px;
  }
  .latest_notice_list li {
    width: 100%;
  }
  .main_qa {
    height: 410px;
    background-size: cover;
  }
}

@media screen and (max-width: 420px) {
  .visual_text h2 {
    font-size: 50px;
  }
  .sub_title_style {
    font-size: 16px;
  }
  .main_content h3 {
    font-size: 32px;
    line-height: 1.2;
  }
  .main_content h3 span {
    font-size: 24px;
  }
  .main_about_align:after,
  .main_data_align::after,
  .latest_notice h3::after,
  .main_qa h3::after {
    width: 35px;
  }
  .main_about_btn,
  .main_data_btn {
    gap: 10px;
  }

  .main_about_btn a {
    height: 44px;
  }
  .main_about_btn a,
  .main_data_btn a {
    font-size: 14px;
    width: 140px;
  }
  .main_about_btn a:last-of-type img {
    width: 18px;
  }
  .main_about_btn a img {
    width: 22px;
  }
  .latest_notice h3,
  .main_qa h3 {
    font-size: 28px;
  }
}

@media screen and (max-width: 340px) {
  .visual_text h2 {
    font-size: 44px;
  }
  .sub_title_style {
    font-size: 14px;
  }
}

:root {
  --bs-body-font-family: "Pretendard", "Montserrat", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

