
#header .menu>:nth-child(5) {
  color: #9c62ff;
}

#banner {
  top: 0;
  left: 0;
  padding-top: 100px;
  background: url(../img/3_kopis_info/banner_backgrounds.jpg) no-repeat center/cover;

}

#banner .title_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  margin-bottom: 30px;
}

header .inner{overflow-y: hidden;}
#banner .title_wrap .sub_title {
  margin-top: 30px;
  font-size: 44px;
  color: #fff;
}

#banner .guid_down {
  width: 250px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 18px;
  color: white;
}

#banner .text_wrap {
  line-height: 2.6em;
}

#banner .text_wrap .banner_text {
  margin-bottom: 20px;
}

#banner .text_wrap .banner_text h3 {
  color: white;
  font-size: 28px;
  font-weight: 600;
}

#banner .top_desc {
  color: white;
  font-size: 16px;
  font-weight: 200;
}

#banner .img_box {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

#banner .img_box img {
  width: 600px;
  padding: 40px 10px;
}

#banner .top_desc2 {
  color: white;
  font-size: 18px;
  font-weight: 400;
  text-align: right;
}

/* 배너 반응형 스타일 */
@media(max-width: 1200px) {
  #banner .img_box {
    display: block;
  }
}

@media(max-width: 800px) {
  #banner .title_wrap {
    display: block;
  }

  #banner .guid_down {
    width: 100%;
    margin-top: 30px;
  }

  #banner .img_box img{
    width: 400px;
  }
}

/* ★ 1. 연혁 색션 스타일 */
#history {
  padding: 120px 0;
}

#history .history_wrap {
  position: relative;
  /* timeline absolute 기준 */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#history .history_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#history .history_item {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: 200px 150px 1fr;
  column-gap: 100px;
  margin: 100px 0;
  font-size: 20px;
}

#history .history_item .year {
  font-size: 50px;
  font-weight: 700;
  color: #111;
}

#history .history_item .mth {
  font-size: 26px;
  color: #999;
  font-weight: 500;
}

#history .history_item .txt {
  color: #333;
}

/* (B) 타임라인 : 연도와 월 사이에 겹쳐놓기 */
#history .timeline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25%;
  width: 0;
  pointer-events: none;
}

#history .timeline .line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-50%);
  width: 6px;
  background: #e2ddff;
}

#history .timeline .dot {
  position: sticky;
  top: 60px;
  left: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #7b66ff;
  border: 6px solid #ffffff;
  box-shadow: 0 0 12px rgba(123, 102, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 안쪽 흰 점 */
#history .timeline .dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

@media(max-width: 800px) {
  #history .history_item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 50px;
  }

  #history .timeline {
    left: 0;
  }
  #history .history_item .year{
    font-size: 30px;
  }
  #history .history_item .mth{
    font-size: 20px;
  }
}

/* ★ 2.연계기관 색션  */
#connection {
  background: url(../img/3_kopis_info/co_backgrunds.png) no-repeat center/cover;
}

#connection .co_textbox {
  color: #ffffff;
}

#connection .co_text1 {
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
  gap: 80px;
}

#connection .co_text1 p{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 50px;
  background-color: rgba(0,0,0,0.5);
}

#connection .co_text1 .ct{
  width: 20%;
  height: 50px;
  background-color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
}

#connection .co_text2 {
  margin-bottom: 6px;
}

#connection .co_slide {
  overflow: hidden;
}

#connection .co_slide .container {
  width: 200%;
  display: flex;
  gap: 20px;
  margin: 10px;
}

#connection .sub2_item {
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

/* 슬라이드 돌아가는 애니메이션 */
#connection .container.c1,
.container.c3 {
  animation: marquee-left 40s linear infinite;
}

#connection .container.c2 {
  transform: translateX(-50%);
  animation: marquee-right 40s linear infinite;
}

@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* 반응형 */
@media(max-width: 1000px) {
  #connection .co_text1 {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 4em;
    padding-bottom: 0;
    gap: 0;
  }

#connection .co_text1 p{
  margin-bottom: 20px;
}
}

/* ★ 3. 자주 묻는 질문 색션 */
#fnq {
  height: 100vh;
}

#fnq .fnq_textbox {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 80px;
}

#fnq .fnq_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

#fnq .fnq_text {
  font-size: 25px;
}

#fnq .fnq_slide span{
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #766fdd;
  border-radius: 50%;
  font-size: 30px;
  color: #ffffff;
}

#fnq .fnq_slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#fnq .fnq_container {
  width: 200%;
  display: flex;
  gap: 50px;
  animation: fnq_slide 25s infinite linear;
}

#fnq .item {
  width: 350px;
  height: 400px;
  background-color: #DBDCF8;
  display: flex;
  flex-direction: column;
  gap: 35px;
  border-radius: 10px;
  padding: 50px;
  flex-shrink: 0;
  cursor: pointer;
}

#fnq .item:hover {
  background-color: #c6c7ea;
}

#fnq .item p {
  font-size: 16px;
  font-weight: 300;
  color: #1E1E1E;
}

#fnq .item h5 {
  font-size: 20px;
  font-weight: 500;
  color: #1E1E1E;
}

#fnq .fnq_line {
  width: 260px;
  height: 2px;
  background-color: #1E1E1E;
}

#fnq .fnq_slide .item:nth-child(2n-1) {
  transform: translateY(10%);
}

@keyframes fnq_slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

#fnq .fnq_btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #a097f9;
  display: flex;
  justify-content: center;
  align-items: center;
}

#fnq .fnq_btn span {
  color: #fff;
  font-size: 24px;
}


@media(max-width: 600px) {
  #fnq {
    height: auto;
  }

  #fnq .fnq_textbox {
    flex-direction: column;
    text-align: center;
    row-gap: 100px;
  }
}

/*  푸터 시작  */
footer {
  color: #1c1c1c;
}

.family_site {
  display: flex;
  justify-content: center;
  gap: 200px;
  margin-bottom: 100px;
}

.family_site img {
  object-fit: contain;
}

footer .imfomation {
  display: flex;
  justify-content: space-between;
}

footer .footer_logo {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
}

footer .left p {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.8;
}

footer .left .copyright {
  margin-top: 20px;
  opacity: 1;
}

footer .right .guide {
  display: flex;
  gap: 100px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 100px;
}

footer .right .newsletter {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 10px;
}

footer .right .newsletter p {
  font: size 15px;
}

footer form {
  width: 310px;
  height: 40px;
  border: 1px solid
  rgba(28, 28, 28, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  padding: 2px;
}

footer input {
  border: none;
  outline: none;
  background-color: transparent;
}

footer input[type="email"] {
  margin-left: 20px;
}

footer input[type="submit"] {
  background-color: #766fdd;
  color: #fafafa;
  border-radius: 20px;
  padding: 0 20px;
}
@media (max-width:680px){
  footer .right .guide{gap: 20px;}
}