/* 인덱스 내비 설정 */
.bullets-container {
  left: 0;
  z-index: 8 !important;
}

.section-bullets li {
  padding-top: 10px;
  position: relative;
}

.section-bullets li.active a:before {
  height: 50px;
}

.section-bullets li a {
  margin-left: 10px !important;
  overflow: inherit !important;
  transition: all 0.3s ease-in;
  min-height: 0 !important;
  padding: 5px 20px !important;
}

.section-bullets li a:before {
  background-color: transparent !important;
}

.section-bullets li.active a:after {
  background-color: #4659ff !important;
}

.section-bullets li a:after {
  background-color: #ccc !important;
  width: 8px !important;
  height: 8px !important;
  left: 15px;
}

.section-bullets li.active a {
  height: 60px !important;
}

.section-bullets li.active span {
  display: block;
  position: relative;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  color: #4659ff;
  transition-delay: 0.3;
  text-align: center;
}

.section-bullets li.active span::after {
  width: 2px;
  height: 30px;
  content: "";
  position: absolute;
  background-color: #ccc;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
}

.section-bullets li span {
  position: absolute !important;
  display: none;
  right: inherit !important;
  left: 50%;
  transform: translateX(-50%);
}

.section-bullets li:last-child span::after {
  display: none;
}
/* ********** index setting ********** */
section {
  padding-bottom: 150px;
  overflow: hidden;
}

.title h1 {
  font-size: 3.2rem;
  font-weight: 900;
  margin-top: 20px;
}

.title p {
  font-size: 2.4rem;
  font-weight: 900;
  color: #4659ff;
}

/* ********** main ********** */
#main {
  width: 100%;
  overflow: hidden;
  padding-bottom: 0;
}
#main_image,
#main video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 62.25vw;
  min-width: 192.77vh;
  min-height: 100%;
  margin: 0 auto;
  filter: brightness(50%);
}

#main .content {
  width: 100%;
  height: 100vh;
}

/* 페이드 효과 */
.content .main_text {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  left: -100%;
  color: #fff;
  animation: fadein 3s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes fadein {
  /* Firefox */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadein {
  /* Safari and Chrome */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes fadein {
  /* Opera */
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.content .main_text h1 {
  font-size: 5rem;
  font-weight: 900;
  line-height: 55px;
  text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 50px;
}

.content .main_text p {
  font-size: 2.4rem;
  line-height: 3.4rem;
}

/* 스크롤 애니메이션 */
.content .scroll_box {
  position: absolute;
  bottom: 0;
  left: 7%;
}

.scroll_box .scroll {
  width: 2px;
  height: 100px;
  border-radius: 100px;
  background-color: #ccc;
  position: relative;
}

.scroll_box span {
  display: block;
  position: absolute;
  background-color: #fff;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll_box .scroll_line {
  border-radius: 100px;
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(to bottom, #777 50%, rgba(4, 15, 48, 0) 50%);
  background-position: 0 -80px;
  background-size: 100% 200%;
  animation: scrolldown 2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
}

@keyframes scrolldown {
  0% {
    background-position: 0 -100px;
  }

  50% {
    background-position: 0 0;
  }

  100% {
    background-position: 0 100px;
  }
}

/* ********** 퀵메뉴 **********  */
#quick {
  text-align: center;
  padding-top: 100px;
}

#quick .content article {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
}

#quick .content .box {
  width: 25%;
}

#quick .content .box a {
  display: block;
  width: 80%;
  margin: auto;
  color: #1c1c1c;
  border-radius: 10px;
  padding: 30px 0;
}

#quick .content .box a:hover {
  background: rgb(70, 155, 255);
  background: linear-gradient(170deg, rgba(70, 155, 255, 1) 0%, rgba(70, 89, 255, 1) 100%);
  -webkit-transition: background-color 1000ms linear;
  -ms-transition: background-color 1000ms linear;
  transition: background-color 1000ms linear;
  cursor: pointer;
}

#quick .content .box:hover button,
#quick .content .box:hover a {
  transition: all 0.2s;
  color: #fff;
  background-color: transparent;
}

#quick .content .box h4 {
  font-size: 2.4rem;
  margin-top: 10px;
  font-weight: 800;
}

#quick .content .box img {
  margin: auto;
}

#quick .content .box button {
  margin: auto;
  margin-top: 30px;
  border: none;
  display: block;
  box-shadow: none;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  background-color: transparent;
  width: auto;
}

#quick .pt {
  position: absolute;
  bottom: 0;
  left: 10%;
  z-index: -1;
  max-width: 100%;
}

/* ********** 회사소개 **********  */
#company {
  padding-bottom: 250px;
}

#company .content {
  width: 93%;
  background-image: url(../img/main/company_bg.png);
  margin: auto;
  padding: 100px 0;
  color: #fff;
}

#company .content .title p {
  margin-top: 30px;
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
}

/* 버튼세팅 */
#company .content .title button {
  background-color: transparent;
  font-size: 2rem;
  color: #fff;
  border: none;
  margin-top: 50px;
  line-height: 30px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
  width: auto;
  height: auto;
}

#company .content .title span {
  display: inline-block;
  width: 30px;
  height: 30px;
  font-size: 24px;
  border-radius: 50px;
  background: rgb(70, 155, 255);
  background: linear-gradient(170deg, rgba(70, 155, 255, 1) 0%, rgba(70, 89, 255, 1) 100%);
  margin-left: 10px;
  font-weight: 600;
}

/* 컨텐츠박스 */
#company article {
  width: 50%;
  position: absolute;
  bottom: -15%;
  right: 100px;
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  height: 250px;
}

#company .box {
  position: relative;
  width: 100%;
  height: 100%;
}

#company .box a {
  color: #fff;
}

#company .box img {
  opacity: 0.3;
  width: 50px;
  padding: 50px;
}

#company .box .text_box {
  position: absolute;
  bottom: 30px;
  left: 50px;
  width: 80%;
}

#company .box .text_box p {
  font-size: 1.6rem;
  opacity: 0.3;
  font-weight: 700;
  width: 100%;
}

#company .box .text_box h3 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 3.4rem;
  float: left;
}

#company .box .text_box span {
  display: inline-block;
  float: right;
  width: 30px;
  height: 30px;
  font-size: 24px;
  border-radius: 50px;
  background-color: #fff;
  margin-right: 30px;
  font-weight: 600;
  text-align: center;
  font-weight: 700;
}

/* 컨텐츠 박스별 색상지정 */
#company .box:nth-of-type(1) {
  background-color: #469bff;
}

#company .box:nth-of-type(1) span {
  color: #469bff;
}

#company .box:nth-of-type(2) {
  background-color: #cccccc;
}

#company .box:nth-of-type(2) p,
#company .box:nth-of-type(2) h3 {
  color: #1c1c1c;
}

#company .box:nth-of-type(2) span {
  background-color: #1c1c1c;
}

#company .box:nth-of-type(3) {
  background-color: #29359f;
}

#company .box:nth-of-type(3) span {
  color: #29359f;
}

/* ********** 교정서비스 **********  */
#service .content .title {
  text-align: center;
}

#service article {
  width: 93%;
  margin: auto;
  margin-top: 50px;
}

#service ul {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

#service .content li {
  float: left;
  width: 25%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background-color: #000;
}

/* 문구 */
#service .content li .text_box {
  position: absolute;
  color: #fff;
  bottom: 15%;
  left: 10%;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

#service .content li .text_box p {
  font-weight: 900;
  font-size: 2rem;
  line-height: 30px;
  background: linear-gradient(91.18deg, #469bff 2.14%, #465dff 99.46%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#service .content li .text_box h4 {
  font-size: 3rem;
}

/* 이미지 마우스오버 세팅 */
#service .content li .image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.3;
  cursor: pointer;
}

#service .content li .image:hover {
  opacity: 1;
  transition: all 0.3s;
}

/* 이미지 마우스오버 후 */
#service .content li:nth-child(1) a > .image {
  background-image: url(../img/main/service_bg1.png);
}

#service .content li:nth-child(2) .image {
  background-image: url(../img/main/service_bg2.png);
}

#service .content li:nth-child(3) .image {
  background-image: url(../img/main/service_bg3.png);
}

#service .content li:nth-child(4) .image {
  background-image: url(../img/main/service_bg4.png);
}

/* ********** 고객지원 **********  */
#notice #wrap {
  padding-top: 100px;
  position: relative;
}

#notice .title {
  width: 100%;
  overflow: hidden;
  margin-bottom: 50px;
}

#notice .title p {
  font-size: 2.2rem;
  font-weight: 900;
  color: #4659ff;
}

#notice .title h1 {
  font-size: 3.2rem;
  color: #1c1c1c;
  line-height: 3.6rem;
  font-weight: 900;
  margin-top: 20px;
}

/* 공지사항 */
#notice .swiper .mySwiper {
  width: 100%;
  overflow: hidden;
}

#notice .swiper {
  margin-top: 30px;
}

#notice .swiper-slide {
  cursor: pointer;
  text-align: center;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: baseline;
  flex-direction: row-reverse;
  width: 10%;
  height: 250px;
}

#notice .swiper-slide .box {
  text-align: left;
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  border-radius: 10px;
}

#notice .swiper-slide .box:hover {
  transition: all 1s ease-in-out;
  background: linear-gradient(303.67deg, #4659ff 0%, #469bff 91.11%);
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.3);
}

#notice .swiper-slide .box:hover a {
  color: #fff;
  transition: all 0.3s;
}

#notice .swiper-slide .box a {
  padding: 40px;
  display: block;
  color: #1c1c1c;
}

#notice .swiper-slide .box h1 {
  width: 100%;
  margin-bottom: 10px;
  font-size: 2.4rem;
  font-weight: 800;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#notice .swiper-slide .box p {
  overflow: hidden;
  font-size: 1.6rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

#notice .swiper-slide .box h6 {
  font-size: 16px;
  position: absolute;
  bottom: 20%;
}

#notice .btn {
  position: absolute;
  top: 150px;
  right: 0;
  z-index: 1;
}

#notice .btn .swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
  background-image: url(../img/main/left.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 120px;
  height: 120px;
}

#notice .btn .swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  background-image: url(../img/main/right.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 120px;
  height: 120px;
}

#notice .btn .swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
  left: inherit;
  right: 100px;
}

#notice .pt {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  max-width: 100%;
}

/* ********** 관련사이트 **********  */
#site {
  background-image: url(../img/main/site_bg.png);
  padding: 100px 0;
  background-size: cover;
}

#site h1 {
  color: #fff;
  font-size: 3.2rem;
  margin-bottom: 30px;
}

#site .site_box {
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  border-radius: 20px;
}

#site .site_box ul {
  display: flex;
}

#site .site_box li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 33.33%;
  padding: 50px 20px;
}

#site .site_box li img {
  padding: 0 20px;
  max-width: 100%;
}

@media screen and (max-width: 1700px) {
  #company #wrap {
    width: 90%;
  }
}

@media screen and (max-width: 1500px) {
  #quick .content .box a {
    width: 90%;
  }

  #company article {
    width: 60%;
    height: 220px;
  }

  #company .box img {
    padding: 30px;
  }

  #company .box .text_box {
    left: 30px;
  }

  #company .box .text_box p {
    text-align: left;
  }

  #company .box .text_box span {
    margin-right: 0;
  }
}

@media screen and (max-width: 1260px) {
  #quick .content .box a {
    width: 100%;
  }

  #company article {
    width: 65%;
  }
}

@media screen and (max-width: 1024px) {
  .bullets-container {
    display: none !important;
  }

  .content .main_text h1 {
    font-size: 4.5rem;
    line-height: 50px;
  }

  #company .content {
    padding-top: 50px;
    padding-bottom: 150px;
    text-align: center;
  }

  #company .content br {
    display: none;
  }

  #company .content .title button {
    margin-top: 30px;
  }

  #company article {
    width: 90%;
    height: 200px;
    bottom: -20%;
    right: 50%;
    transform: translateX(50%);
  }

  /* 교정서비스 */
  #service .content li .text_box {
    bottom: 8%;
  }

  #service .content li {
    width: 50%;
    height: 50%;
  }

  #service .content li .text_box p {
    font-size: 1.6rem;
    line-height: 2.6rem;
  }

  #service .content li .text_box h4 {
    font-size: 2.6rem;
  }

  /* 관련사이트 */
  #site .site_box li {
    padding: 30px 20px;
  }

  #notice #wrap {
    padding-top: 0;
  }

  #notice .btn {
    top: 10px;
  }
}

@media screen and (max-width: 820px) {
  section {
    padding-bottom: 100px;
  }
  #quick {
    padding-top: 50px;
  }
}

@media screen and (max-width: 760px) {
  /* setting */
  .title h1,
  #notice .title h1,
  #site h1 {
    font-size: 3rem;
  }

  .title p {
    font-size: 2.2rem;
  }

  /* 메인 */
  .content .main_text {
    width: 90%;
  }

  .content .main_text p {
    font-size: 2.2rem;
  }

  .content .main_text p br {
    display: none;
  }

  #company {
    padding-bottom: 180px;
  }

  #company .content .title p {
    font-size: 1.8rem;
    margin-top: 20px;
  }

  #quick {
    padding-top: 50px;
  }

  #quick .content .box a {
    width: 100%;
    padding: 0;
    padding: 30px 0;
  }

  #quick .pt {
    left: 0;
  }

  #quick .content .box button {
    margin-top: 20px;
    height: auto;
    line-height: 2.4rem;
    font-weight: 500;
  }

  #quick .content .box img {
    width: 80px;
  }

  #company .content,
  #service article {
    width: 100%;
  }

  #company article {
    width: 95%;
    height: 180px;
    bottom: -15%;
  }

  #quick .content .box h4,
  #company .box .text_box h3,
  #service .content li .text_box h4,
  #notice .swiper-slide .box h1 {
    font-size: 2.2rem;
  }

  #service ul {
    height: 400px;
  }

  #notice #wrap {
    padding-top: 0;
  }

  #notice .btn {
    top: 50px;
  }

  #notice .pt {
    top: 20%;
  }

  #notice .btn .swiper-button-next,
  .swiper-container-rtl .swiper-button-prev,
  #notice .btn .swiper-button-prev,
  .swiper-container-rtl .swiper-button-next {
    width: 100px;
    height: 100px;
  }

  #site {
    padding: 60px 0;
  }
}

@media screen and (max-width: 680px) {
  #quick .content .box {
    width: 50%;
  }

  #quick .content .box a {
    width: 80%;
  }

  #company article {
    width: 100%;
  }

  #site .site_box {
    border-radius: 10px;
  }

  #site .site_box li img {
    padding: 0;
  }

  #site .site_box li {
    padding: 20px 10px;
  }

  #notice .btn {
    display: none;
  }
}

@media screen and (max-width: 560px) {
  .title h1,
  #notice .title h1,
  #site h1 {
    font-size: 2.6rem;
  }

  #service .title h1 br {
    display: none;
  }

  section {
    padding-bottom: 100px;
  }

  #company {
    padding-bottom: 120px;
  }

  .content .main_text h1 {
    font-size: 4rem;
    line-height: 4.5rem;
  }

  .content .main_text p {
    font-size: 2rem;
    line-height: 3rem;
  }

  #quick .content article,
  #notice .title {
    margin-top: 30px;
  }

  #quick .content .box a {
    width: 90%;
  }

  #company .content,
  #service article {
    width: 90%;
    background-position: center;
    background-size: cover;
  }

  #company .content {
    height: 600px;
  }

  #company article {
    height: auto;
    flex-wrap: wrap;
    bottom: 0;
  }

  #company .box {
    height: 150px;
  }

  #company .box img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
  }

  #company .box .text_box {
    left: auto;
    right: 30px;
    width: 40%;
    top: 50%;
    transform: translateY(-50%);
  }

  #company .box .text_box p {
    width: auto;
  }

  #company .box .text_box span {
    position: absolute;
    right: 0px;
  }

  #service ul {
    height: auto;
  }

  #service .content li {
    width: 100%;
    height: 180px;
  }

  #notice .swiper-slide {
    height: 200px;
  }

  #site .site_box ul {
    flex-wrap: wrap;
  }

  #site .site_box li {
    width: 100%;
    padding: 30px;
    margin: 0 20px;
    border-bottom: 1px dotted #ccc;
  }
}

@media screen and (max-width: 420px) {
  section {
    padding-bottom: 80px;
  }

  .title h1,
  #notice .title h1,
  #site h1 {
    font-size: 2.6rem;
    line-height: 3rem;
    margin-top: 10px;
  }

  #quick .content .box {
    width: 100%;
  }

  #quick .content .box a {
    width: 80%;
  }

  #company .content .title p {
    font-size: 1.6rem;
    line-height: 2.4rem;
  }

  #notice .title p {
    font-size: 1.8rem;
  }

  .content .main_text h1 {
    font-size: 3.6rem;
    line-height: 4rem;
  }

  .content .main_text p {
    font-size: 1.8rem;
    line-height: 2.8rem;
  }
}

@media screen and (max-width: 360px) {
  .content .main_text h1 {
    font-size: 3rem;
    margin-bottom: 30px;
  }

  .content .main_text p {
    font-size: 1.6rem;
    line-height: 2.4rem;
  }
}
