@charset "UTF-8";

header .lnb > li > a{color: var(--block);}
header .top_call .tel{color: var(--block);     border: 1px solid var(--block);}
header > .inwrap #logo_w{opacity:0;}
header > .inwrap #logo{opacity:1}
header > .header div.top_call span {color:#fff}
header h1 i {color:#fff;margin-top: 0;}


#main{
  .inwrap{
    max-width: 1540px;
    margin: 0 auto;
  }
  .mainTit{
    h2{
      line-height:1.2;
      em{
        color: var(--main_color);
      }  
    }
  }

  /* main_visual   */
  .main_visual{
    text-align: center;
    padding-top: 140px;
    
    img{
      margin-top:40px;
    }
  }

  /* main_about */
  .main_about{
    /* margin:150px 0; */
    .inwrap{
      > ul{
        &:after{
          display:none;
        }
        >li{
          /* min-height: 100vh; */
          display: flex;
          align-items: center;
          justify-content: space-between;
          border-bottom: 1px solid var(--lightGray);
          padding: 100px 0;
          &:last-child{
            border:0;
          }
          > ul{
            display:flex;
            justify-content: space-between;
            align-items: flex-end;
            width: 100%;
            gap: 50px;
            
            &:after{
              display:none;
            }
            > li {
              min-width:600px;
              h6{
                color:var(--lightGray);
              font-size: 22px;
              font-weight: 300;
              letter-spacing: 2px;
              }
              h2{
                color:var(--lightGray);
              font-size: 80px;
              margin-bottom: 40px;
                span{
                  color: var(--main_color);
                }
              }
              img{}
              .number{
              color:var(--lightGray);
              font-size: 80px;
              font-weight: 800;
              }
              h5{
              font-size: 30px;
              font-weight: 500;
              margin-top: 20px;
              margin-bottom: 50px;
              
              }
              p{
                color: #737373;
                font-weight: 400;
              }
              
            }
          }

          &:nth-child(2n) {
            > ul {
              display:flex;
              flex-direction: row-reverse;
            }
          }
        }
      }
    }
  }

  /* main_subjects */
  .main_subjects{
    > ul {
      display: flex;
      text-align: center;
      
      
      > li {
        position:relative;
        > a{
          > div {
            position:absolute;
            left:0;
            right:0;
            top:0;
            bottom:0;
            display: flex;
            flex-direction: column;
            justify-content: center;
            color: var(--fff);
            z-index: 1;
            align-items: center;
            i{
              font-size:5em;
              
            }
            
            h3 {
              margin-top:.5em;
              color:var(--fff);
            }
            span{
              background: var(--fff);
              color: var(--body);
              font-family:
              'S-CoreDream';
              margin-top: 2em;
              padding: 0.2em 1em;
              border-radius: 100px;
              font-weight: 500;
              transition: all 0.4s ease-in-out;
              padding-left: 1.5em;
              
              
              
              em{
                font-weight:400;
                padding-left:10px;
              }
            }
          }
        }
        &:after {
          content:'';
          display: block;
          background: rgba(0, 0, 0, .7);
          opacity: .8;
          position: absolute;
          left: 0;
          right: 0;
          top:0;
          bottom: 0;
          transition: all 0.4s ease-in-out;
        }
      &:hover {
        &:after{
          opacity: 0;
        }
        > a{
          > div{
            span{
              background: var(--sub_color);
            }
          }
        }

      }  
      }
    }
  }

  .mainBF{
    background:var(--bg);
    .inwrap{
      padding: 150px 0;
      .tit{
        h5{
          margin-top: 20px;
        }
      }
      .bf_list {
        margin-top: 60px;
        overflow: visible;
      .owl-carousel {
         .owl-item {
          > li{
            h4{
              font-size: 26px;
              -webkit-transition: all 0.3s;    
              -moz-transition: all 0.3s;   
              -ms-transition: all 0.3s;   
              -o-transition: all 0.3s;   
              transition: all 0.3s;
            }
            p{
              font-size: 16px;
              font-weight: 400;
            }
            &:hover{
              h4 {
                color:var(--main_color);
              }
            }
            .bf_box{
              > ul {
                position:relative;
                overflow: hidden;
                border-radius: 20px;
                
                .beforeLogin{
                  position: absolute;
                  z-index: 50;
                  background: rgba(0, 0, 0, .7);
                  color: var(--fff);
                  left: 0;
                  right: 0;
                  bottom: 0;
                  top: 0;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  flex-direction: column;
                  
                  p{
                    margin-top: 0;
                    margin-bottom: 20px;
                    font-size: 1.5em;
                  }
                  button{
                    background: var(--main_color);
                    border: 0;
                    border-radius: 100px;
                    padding: 12px 30px 10px 30px;
                    font-size: 1.5rem;
                    color: var(--fff);
                    font-family: 'NanumSquare', 'Noto Sans KR';
                    font-weight: 600;
                    cursor: pointer;
                  }
                }  
              }
            
            }
            
          }
        }
        .owl-nav {
          position: absolute;
          top: 50%;
          margin-top: -90px;
          width: 100%;
         
          button.owl-next,
          button.owl-prev {
            height: auto;
            background: none;
            -webkit-transition: all 0.3s;
            -moz-transition: all 0.3s;
            -ms-transition: all 0.3s;
            -o-transition: all 0.3s;
            transition: all 0.3s;
            position: absolute;

            >span {
              display: none;
            }
          }

          button.owl-next {
            right: -50px;

            &::after {
              content: '\E82E';
              font-family: 'icon_font';
              font-size: 3em;
            }
          }

          button.owl-prev {
            left: -50px;

            &::after {
              content: '\E82A';
              font-family: 'icon_font';
              font-size: 3em;
            }
          }
        }
      }

       
      }
    }
  }

  /* intro */
.intro {
  text-align: center;
  position: relative;
  /* background: var(--bg); */
  padding: 150px 0;
  
  
  .inwrap {
    
      &:after {
        content: '\E8AC';
        font-family: 'icon_font';
        position: absolute;
        font-size: 20em;
        left: 50%;
        top: 50%;
        bottom: 180px;
        color: var(--main_color);
        z-index: -1;
        opacity: .1;
        transform: translate(-150%,-40%);
      }
      h4 {
        margin-bottom: 1em;
        span {
          color: var(--main_color);
        }
      }

      h3 {
        line-height: 1.2;
      }

      p {
        line-height: 2em;
        font-size: 1.2em;
        margin-top: 2em;
        font-weight: 400;
        font-family: 'Noto Sans KR', sans-serif;
        
        b{
          font-weight: 500;
          color: var(--main_color);
        }
      }

    }
    h5 {
      font-size: 1.5em;
      font-weight: 600;
      margin-top: 2em;
    }


}

  /* photo */
  .photo {
    text-align: center;
    background: var(--bg);

    .inwrap {
      padding: 150px 0;
      max-width: 1200px;
      width: 100%;
      margin: 0 auto;
      .tit{
        margin-bottom: 60px;
      }
      .owl-dots {
        display: flex;
        gap:1em;
        margin-top: 20px;
        .owl-dot {
          opacity: .5;
          a{
            border: 3px solid transparent;
            display:block;
            img{
              
            }
          }
          &.active {
            opacity:1;
            a {
              border-color: var(--main_color);
            }
          }
        }
      }
      .owl-nav {
        position: absolute;
        top: 40%;
        width: 100%;
        font-size: 4em;
        color: #e1e1e1;
        left: 0;
        right: 0;
        span {
          position:absolute;
          background: none;
          display: none;
        }
        .owl-prev {
          left: -70px;
          position: absolute;
          &:before{
            content:'\E82A';
            font-family:'icon_font';
          }
        }

        .owl-next {
          position: absolute;
          right: -70px;
          &:after{
            content:'\E82E';
            font-family:'icon_font';
          }
        }
      }
    }
  }

  /* main_map */
  .main_map {
    .inwrap {
      max-width:1200px;
      .title {
        h4 {
          color: var(--fff);
          font-size: 1em;
          letter-spacing: .2em;
          font-weight: 300;
        }

        h2 {
          font-weight: 800;
          color: var(--fff);

          &:before,
          &:after {
            display: none;
          }
        }
      }

      #main_map_wrap {
        width: 100%;
        height: 150px;
        border: 1px solid var(--line);
      }

      >ul {
        display: flex;
        justify-content: center;
        text-align: center;
        margin-top: 150px;
        border-top: 1px solid var(--line);
        margin-bottom: 100px;
        gap: 30px;
        
        >li {
          flex: 1;
          font-size: 1.2em;

          h5 {
            margin-bottom: .5em;
            font-weight: 600;
            font-size: 1.5em;
          }

          >i {
            background: var(--main_color);
            color: var(--fff);
            font-size: 2.2em;
            line-height: 1.8em;
            display: inline-block;
            height: 1.8em;
            width: 1.8em;
            border-radius: 100px;
            transform: translate(-00%, -50%);
          }

          b {
            /* margin-top: .5em; */
            display: inline-block;
            color: var(--main_color);
          }

          >h4 {
            font-size: 2.5em;
            margin: 20px 0;
          }

          >div {
            display: flex;
            justify-content: center;
            gap: 1em;
            margin-top: .5em;
            

            a {
              font-size: 2.5em;
              background: #fe6591;
              display: inline-block;
              width: 1.5em;
              height: 1.5em;
              line-height: 1.4em;
              border-radius: 10px;
              color: var(--fff);
              
              
              

              &:nth-child(2) {
                background: #ffe700;
                color: #371e1f;
              }

              &:nth-child(3) {
                background: #03c75a;
              }
            }
          }

          >dl {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1em;
            height: 1.4em;
            font-size: 1.2em;
            margin-top: .5em;
            
            dt {
              width: 120px;
              text-align: justify;
              font-weight: 600;
              
              &:after {
                content: "";
                display: inline-block;
                width: 100%;
              }
            }
            dd{
              font-weight: 600;
            }
            + b {
              margin-top:20px;
              font-size:1.25em;
            }
          }

          &:first-child{
            .map_marker{
              p{
              font-size: .8em;
              font-weight: 600;
              }
           
             
             
            }
           
          }
        }
        &:after {
          display: none;
        }
      }
    }

  }

}


    /* 타블렛 (해상도 1200px 이하) */
  @media (max-width: 1200px) {

  }
  /* 모바일 (해상도 767px 이하) */
  @media (max-width: 767px) {
    header {
      .top_call {
        .tel {
          border:0;
        }
      }
    }

    #main{
      .inwrap{
        margin: 0 15px;
      }

      /* main_visual  */
      .main_visual {
        padding-top: 100px;
      }

      /* main_about */
      .main_about{
        .inwrap{
          > ul {
            > li{
              padding: 50px 0;
              > ul{
                flex-direction: column;
                gap: 0px;
                
                > li{
                  min-width:100%;
                  h6{
                    font-size: 14px;
                  }
                  h2{
                    font-size: 40px;
                    margin-bottom: 20px;
                  }
                  img{
                    max-width: 100%;
                  }
                  h5{
                    font-size: 20px;
                    margin-top: 10px;
                    margin-bottom: 0;
                  }
                }
              }
              &:nth-child(2n){
                > ul{
                  flex-direction: column;
                }
              }
            }
          }
        }
      }

      /* main_subjects */
      .main_subjects{
        > ul {
          display: flex;
          flex-wrap: wrap;
          > li{
            width: 50%;
            a{
              > div{
                border:.5px solid var(--fff);
                padding-bottom: 10px;
                
                p{
                  display:none;
                }
                > span{
                  font-size: 1em;
                  padding: 0.2em 1em;
                  margin-top: 1em;
                  
                  em{
                    display:none;
                  }
                }
              }
              
            }
          }
        }
        
        
      }

      /* mainBF  */
      .mainBF {
        .inwrap{
          padding: 60px 0;
          .tit{
            h5{
              margin-top:10px;
              font-size: 15px;
            }
          }
          .bf_list{
            margin-top: 30px;
            .owl-carousel{
              .owl-item{
                > li{
                  .bf_box{
                    h4{
                      font-size: 1.25em;
                    }
                    > ul {
                      .beforeLogin{
                        p{
                          font-size:1em;
                          margin-bottom:10px;
                        }
                        button{
                          font-size:1em;
                          padding:.5em 1em;
                        }
                      }
                    }
                  }
                  p{
                    font-size:12px;
                  }
                }
              }
            }
          }
        }

      }

      /* intro  */
      .intro {
        padding:60px 0;
        .inwrap{
          p{
            font-size:1em;
            line-height:1.6;
          }
          &:after{
            transform: translate(-100%, -40%);
            font-size: 15em;
            bottom: 0;
            top: auto;
          }
        }
        h5{
            font-size: 1.2em;
          }
      }

      /* photo */
      .photo{
        .inwrap{
          padding: 60px 0;
          margin: 0 15px;
          width: auto;
          .tit{
            margin-bottom: 30px;
          }
          .owl-dots{
            margin-top: 10px;
            gap:0px;
            .owl-dot{
              
            }
          }
        }
      }

      /* main_map */
      .main_map{
      background-size: auto 230px;
        .inwrap{
          #main_map_wrap{
              height: 200px;
            }
          ul{
            display: flex;
            flex-direction: column;
            gap: 2em;
            margin-top: 3em;
            border: 0;
            margin-bottom: 60px;
            
            > li{
              > i {
                transform: translate(-00%, 0%);
                font-size: 1.5em;
              }
              h5{
                margin-top:1em;
                &:before{
                  content:'';
                  width:100%;
                  height:1px;
                  display:block;
                  background: var(--line);
                  position: absolute;
                  margin-top: -40px;
                  z-index: -1;
                }
              }
            }
          }
        }
      }

    }

  }

.count_pop.typeC_pop {z-index: 299;}