html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body{
    font-family: 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
    max-width: 1920px;
    margin: 0 auto;
}

li {
    list-style: none;
}

a:link,  a:visited, a:hover, a:active{
    text-decoration: none;
    color: black;
}

.main_img {
    text-align: center;
}

.main_img img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.blank {
    width: 10%;
    height: 100%;
}


.home_content{
    width: 100%;
    height: 100%;
}

.main_content {
    display: flex;
    flex-direction: row;

}

.m_img{
    display: none;
}

.info_title{
    padding: 3%;
    font-size: 24px;
}

.info_description{
    font-size: 16px;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 2%;
}

.depGroup {

    display: flex;
}

.depGroup .depTitle {

    width: 32%;
    margin-right: 12px;
    margin-left: 5%;
    padding-top: 16px;
    border-top: 1px solid #000;
    font-size: 20px;
    font-weight: 700;

}

.depList {

    -webkit-box-flex: 1;
    -ms-flex: 1;
    margin-top: 8px;
    flex: 1;
    font-size: 0;

}

.depList li:before {

    content: '';
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 75%;

}


.depList li {

    position: relative;
    display: inline-block;
    width: 25%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

}

.depList li a {

    position: absolute;
    top: 12px;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    border-top: 1px solid #ddd;
    -webkit-box-shadow: inset 0 0 0px 1px transparent;
    box-shadow: inset 0 0 0px 1px transparent;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;

}

.depList li a:hover {

    border-top-color: #000;
    

}


.depList li a p {

    padding-right: 20px;
    line-height: 26px;

}


.info_description_small{
    font-size: 16px;
    padding-left: 10%;
    padding-right: 10%;
    /*padding-bottom: 5%;*/
}


.faq{
    font-size: 16px;
    padding-left: 10%;
    padding-right: 10%;
}

.rotate {
    transform: rotate(90deg);
    transition-duration: 0.2s;
}

.major_box {
    padding-bottom: 5%;
}



.major_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.major, .blank_major{
     width: calc(99.999% / 3 - 150px); /* calc() 함수 */
     max-width: 360px;
     height: 120px;
     border-width: 0 30px 30px 0;
     background-clip: padding-box;
     border-radius: 15px;
     margin: 0 5% 5% 0;
     padding: 10px;

}

.major:hover{
    box-shadow: 0 10px 35px rgb(0 0 0 / 5%), 0 6px 6px rgb(0 0 0 / 10%);

}

.major_name {
    font-size: 20px;
}


.media {
    border: 2px solid rgba(235, 131, 72, 0.8);
}

.law {
    border: 2px solid rgba(131, 180, 55, 0.8)
}

.psy {
    border: 2px solid rgba(62, 44, 119, 0.8)
}

.cs{
    border: 2px solid rgba(0, 90, 148, 0.8)
}

.eco{
    border: 2px solid rgba(0, 88, 80, 0.8)
}

.edu{
    border: 2px solid rgba(181, 142, 0, 0.8)
}

.lingu{
    border: 2px solid rgba(109, 106, 183, 0.8)
}

.poli{
    border: 2px solid rgba(224, 109, 117, 0.8)
}

.pa {
    border: 2px solid rgba(76, 151, 225, 0.8)
}

.ru{
    border: 2px solid rgba(70, 175, 175, 0.8)
}

.kh{
    border: 2px solid rgba(174, 25, 50, 0.8);
}


.video {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 30px;
  background-color: #f0f0f0;
  box-sizing: border-box;
  box-shadow: 0px 3px 20px #999;
}

.video-container {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 56.25%;
  margin-bottom: 100px;
}

iframe {
  z-index: 1;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.link_btn,
.link_btn::after {
  -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
  -o-transition: all 0.3s;
	transition: all 0.3s;
}

.link_btn {
  background: none;
  border: 2px solid #333;
  border-radius: 30px;
  display: block;
  font-weight: bold;
  margin: 0 2em;
  padding: 1em 3em;
  position: relative;
  text-transform: uppercase;
  text-decoration: none;
}

.link_btn::before,
.link_btn::after {
  background: #fff;
  content: '';
  position: absolute;
  z-index: -1;
}

.link_btn:hover {
  background-color: #333;
    text-decoration: none;
  color: white;

}

.link_btn a:hover{
    color: white;
}


.link_btn::before,
.link_btn::after {
  background: #fff;
  content: '';
  position: absolute;
  z-index: -1;
}

/* BUTTON 2 */
.link_btn::after {
  height: 100%;
  left: 0;
  top: 0;
  width: 0;
}

.link_btn:hover:after {
  width: 100%;
}

.link_btn:active{
    text-decoration: none;
    color: black;
}

.link_btn span{
    font-size: 12px;
}

.sics_link {
    display: flex;
    justify-content: center;
    margin-bottom: 5%;
}

.align {
    text-align: -webkit-center;
}

footer {
    width: 100%;
    padding: 2% 6%;
    max-width: none;
    display: block;
    background-color: #f5f5f5;
    font-size: 12px;
    color: rgb(152,152,152);
}


.chart_container{
     padding: 0 5% 5% 5%;
}

/*스마트폰*/
@media only screen and (min-width : 320px) and (max-width : 767px) {

    html{
      overflow-x: hidden;
    }

    .m_img{
    display: block;
    }

   .dt_img{
    display: none;
    }

    .main_img img{
        height: auto;
    }

    h1{
        font-size: 28px;
        font-weight: 600;
    }

    .depGroup{
       flex-direction: column;

    }

    .depGroup .depTitle{
        font-size: 20px;
        margin-left: 12%;
        font-weight: 500;
        padding-top: 0;
        margin-top: 0;
        border-top: none;
        width: 100%;

    }
    
    .depList {
        margin-top: 0;
        margin-bottom: 10%;
    }

    .depList li{
        width: 150;
        height: 80;
    }

    .depList li a{
        font-size: 16px;
        font-weight: 500;
    }

    .info_title{
        padding: 3% 10%;
        font-size: 20px;
    }

    .info_description, .info_description_small{
        font-size: 14px;
    }

    .major, .blank_major{
        margin-bottom: 30px;
        width: calc(99.999% - 40px);
    }

    .major_list{
        justify-content: unset;
    }

    .blank_major{
        display: none;
    }

    .major_name {
        font-size: 1.5em;
    }

    .site-footage img{
        width: 230px;
    }
    
    .site-contact{
       font-size: 10px;
    }
    
}


/*태블릿*/
@media only  screen and (min-width : 768px) and (max-width : 1366px) {
   .major, .blank_major{
        width: calc(99.999% / 2 - 40px);
    }
}


@media screen and (min-width: 280px) and (max-width: 1366px){

  .blank{
    width: 0;
  }

  .video {
    box-shadow: none;
  }

  .video-container{
      width: auto;
      margin-bottom: 0;
  }

  .sics_link {
      margin-bottom: 50px;
  }

}