@charset "utf-8";
:root {
    --main: #333333;
    --light: #fff;
    --lightGray: #F7F7F7;
    --darkFont: #999;
    --point: #3974CC;
    --icon: #0C2286;
    --em: #CC394B;
    --border: #0C2286;
    --fontBg: #EDF3FB;
    --hover: rgba(255, 168, 67, 0.81);
    --header: #3974CC;
}

/* layout */

#wrapper {}
header { top: 0; position: fixed; width: 100%; height: 80px; z-index: 10000; background: var(--header);}
main {}
#mainBanner { position: relative; width: 100%; height: 100vh;}
#mainLink {width: 100%; height: 100vh;}
#mainMailForm {width: 100%; height: 80vh; display: flex;}
#mainLocation {width: 100%; height: 100vh; background: url('../img/main_sec3.png') no-repeat center/cover;position: relative;}
#footer { width: 100%; height: 243px; border-top: 1px solid var(--darkFont)}

.mainInner {
  width: 90%;
  max-width: 1320px;
  margin: auto;
  padding: 100px 0;

}

.subTit {

}
.subTit span {
  font-size: 1.1rem;
  color: var(--point);
}
.subTit h3 {
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
}

.locaTit h3::after {display: none;}
/* header */
.headerInner {
     width: 90%; 
     margin: 0 auto; 
     display: flex; 
     justify-content: space-between;
     align-items: center;
     max-width: 1320px;
     height: 80px;
     position: relative;
}
h1.headLogo {
    width: 109px;
    position: absolute;
}
h1.headLogo a {
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 7%;
}
h1.headLogo a img {
    width: 100%;
    height: 100%;
    
}
nav {
    margin: 0 auto;
    width: 100%;
    height: 80px;
    max-width: 1024px;
}
header:hover > .subMenuWrap{
  display: block;
  transition: all 0.3s ease-in-out;
}
nav .mainMenu { 
    display: flex; 
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
nav .mainMenu .menuList {
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav .mainMenu .menuList .menu { 
    display: block;
    color: var(--light); 
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
  .subMenuWrap {
    display: none;
    width: 100%;
    height: 396px;
    position: absolute;
    top: 80px;
    z-index: 2;
    background: var(--light);
  }
  .subMenuBox {
    display: flex;
    justify-content: center;
    height: 100%;
    margin: 0 auto;
    max-width: 1024px;
    width: 100%;
  }
  .subMenuWrap .subMenu {
    border-left: 1px solid var(--darkFont);
    padding: 30px 10px;
    width: 20%;
  }
  .subMenuWrap .subMenu li a:hover {
    font-weight: 700;
    color: var(--header);
  }
  .subMenuWrap .subMenu li a {
    display: block;
    line-height: 2vw;
  }
#mMenuWrap {display: none;}
/* mainBanner */
.mainTit {
    position: absolute;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--light);
}
.mainLogo {
    background: url('../img/logo.svg') no-repeat center/cover;
    background-size: contain;
    width: 123px;
    height: 50px;
    margin: auto;
}
.mainTxt {
    text-align: center;
}
.mainTxt span {
    font-weight: 700;
    font-size: 2.7rem;
    display: block;
    padding: 4% 0;
}
.mainTxt span::after {
    display: block;
    content: '';
    position: absolute;
    width: 168px;
    left: 25%;
    height: 1px;
    margin-top: 1%;
    background: var(--light);
}
.mainTxt p {
}
.main_banner_m {display: none;background: url(../img/main_m.png)no-repeat center center /cover; width: 100%; height: 100vh;}

swiper-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }
  .swiper-pagination-clickable .swiper-pagination-bullet {
    background-color: white !important;
  }
/* mainLink */
  .mainLinkBg {
    position: relative;
    height: 100vh; 
  }
  .linkBox {
    width: 100%;
  }
  .linkBox ul { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 150px;
    gap: 2%;
  }
  .linkBox ul li {
    position: relative;
    width: 25%;
    display: flex;
    justify-content: center;
    height: 50vh;
  }
  .linkBox ul li a {
    position: absolute;
    display: flex;
    width: 80%;
    height: 50%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20%;
  }

  .linkBox ul li:nth-child(odd) a{
    top: -80px;
  }
  .linkBox ul li:nth-child(even) a {
    bottom: -80px;
  }
  .linkBox ul li:nth-child(odd) a:hover {
    top: 0;
    width: 100%;
    height: 100%;
    transition: 0.5s;
  }
  .linkBox ul li:nth-child(even):hover a {
    top: 0;
    width: 100%;
    height: 100%;
    transition: 0.5s;
  }
  .linkBox ul li:nth-child(even) a:hover {
    top: 0;
    width: 100%;
    height: 100%;
    transition: 0.5s;
  }

  .linkBox ul li a button {
    display: none;
    color: var(--light);
    border-radius: 30px;
    padding: 3% 7%;
    border: 1px solid var(--light);
    opacity: 0;
  }
  .linkBox ul li:hover a button {
    display: block;
    opacity: 1;
    transition: 0.5s;
  }

  .linkBox ul li:nth-child(1) a {
    background: linear-gradient(180deg, rgba(255, 106, 106, 0.83) -9.92%, #FF6A6A 49.79%);
  }
  .linkBox ul li:nth-child(2) a {
    background: linear-gradient(179.79deg, rgba(57, 116, 204, 0.74) 0.18%, #3974CC 58.83%);
  }
  .linkBox ul li:nth-child(3) a {
    background: linear-gradient(179.81deg, rgba(255, 168, 67, 0.81) 0.17%, #FFA843 63.25%);
  }
  .linkBox ul li:nth-child(4) a {
    background: rgba(110, 227, 115, 0.8);
  }
  .linkBox ul li a span {
    display: block;
    color: var(--light);
    font-size: 1vw;
    font-weight: 700;
    text-align: center;
  }
  .linkBox ul li a img {
    width: 100%;
  }
  .linkBox li .linkImg {
    width: 100%;
    height: 25vw;
    max-height: 500px;
  }
  .linkBox li:nth-child(even)  {
    bottom: 80px;
  }
  .linkBox li:nth-child(1)  {
    background: url('../img/main_sec_1.png') center/cover no-repeat;
  }
  .linkBox li:nth-child(2) {
    background: url('../img/main_sec_2.png') center/cover no-repeat;
  }
  .linkBox li:nth-child(3)  {
    background: url('../img/main_sec_3.png') center/cover no-repeat;
  }
  .linkBox li:nth-child(4)  {
    background: url('../img/main_sec_4.png') center/cover no-repeat;

  }
  .bgWhite {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: -1;
    background: var(--light); 
  }
  .bgWhite::after {
    content: 'BCK';
    position: absolute;
    font-size: 20vw;
    font-weight: 700;
    color: var(--lightGray);
    bottom: -4vw;
  }
  
  .bgGray {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 50%;
    background: var(--lightGray); 
    z-index: -1;
  }
  .bgGray::after {
    content: 'BCK';
    position: absolute;
    font-size: 20vw;
    font-weight: 700;
    right: 0;
    bottom: -12vw;
    color: var(--light);
    font-style: normal;
    text-shadow:
    -1px -1px 0 #eeeeee,
    1px -1px 0 #eeeeee,
    -1px 1px 0 #eeeeee,
    1px 1px 0 #eeeeee;  
  }
  /* mainNotice*/
  .noticeInner {
    display: flex;
    justify-content: space-between;
  }
  .noticeTit { width: 23%;}
  .noticeTit p {
    padding-top: 1vw;
    font-size: 1.3rem;
    font-weight: 400;
  }
  .noticeTit p em {
    color: var(--darkFont);
  }
  .mailCont {width: 70%; text-align: center;}
  .formmail-form .form-group:not(:last-of-type) { position:relative; }
                            .formmail-form .form-group:not(:nth-of-type(6))  label { position:absolute;  top: 43%; z-index:2; left: 2%; width:auto; transition: all .15s;}
                            .formmail-form .form-group > div {}
                            .formmail-form .form-group .col-xs-10 { width:100%; }
                            .formmail-form .form-group  .form-control  { width: 100%; padding:25px 12px 10px; height:54px;  background:transparent !important; border:none; border-bottom:1px solid #ddd;  box-shadow:none;}
                            .formmail-form .form-group  #con_content.form-control { min-height:150px; }
                            
                        /*    .formmail-form .form-group  .form-control:focus{ }
                            .formmail-form .form-group  .form-control:not(:placeholder-shown) + label,
                            .formmail-form .form-group  .form-control:focus + label {  top:0px; font-size:13px; color:#888; }   */
                            
                            .formmail-form .form-group  label.on {  top:0px; font-size:13px; color:#888; }   
                            
                        
                        .agree  { display: none; position: absolute; bottom: 40px; left: calc(50% - 160px); padding: 10px; width: 320px; background: #fff; font-size: 12px; font-family: 'dotum'; border: 1px solid #ddd; text-align:center; }
                            .agree table { width: 100%;} 
                            .agree table caption { font-weight:700;}
                            .agree table th, 
                            .agree table td { padding: 5px 0; border: 1px solid #ddd; text-align: center;}
                            .agree table th { background: #f5f5f5; border: 1px solid #ddd; text-align: center; }
                            .agree table td { border: 1px solid #ddd; }
                            .agree_close, .agree_open { font-family: dotum; font-weight: 700;}
                            a.agree_open { position:relative; top:5px; color:#124cff;}    
                            button#mail_submit { display:block; margin:0 auto; width:250px; height: 40px; font-weight: 500; background: #3974CC; margin-top: 20px; color: #fff;}
                            button#mail_submit:hover {background: #124cff;}
  /* .boxList em::after {
    content: '';
    display: block;
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--em);
    right: 0;
    top: 0;
  } */
  .boxList strong  {
    font-size: 1.1rem;
  }
  .boxList p {
    font-size: 1rem;
    height: 6vw;

  }
  .boxList span {
    display: block;
    font-size: 0.9rem;
  }

  /* mainLocation */
  .locacont {
    display: flex;
    justify-content: space-around;
    align-items: center;

  }
  .locaTit h3 {
    color: var(--light);
    text-align: center;
    padding-bottom: 2vw;
  }
  .locaInner {}
  .locaMap {
    width: 64%;
  }
  .kakaoMap {
    width: 100%;
    height: 100%;
  }
  .mapAddress {
    width: 100%;
    height: 74px;
    background: rgb(0,0,0,0.5);
    color: var(--light);
  }
  .mapAddress address {
    text-align: center;
    padding-top: 25px;
  }
  .locaMap img {
    width: 100%;
    height: 30vw;
  }
  .locaInfo {
    width: 30%;
    color: var(--light);
    font-weight: 700;
    font-size: 1.2rem;

  }
  .locaIcon {
    display: flex;
    align-items: center;
    padding: 0.3vw 0;
  }
  .iconBox {
    width: 150px;
    height: 49px;
    border-radius: 30px;
    background: var(--icon);
    display: flex;
    align-items: center;
    padding-left: 20px;
  }
  .date {padding-left: 10px; font-weight: 300; font-size: 18px;}
  .iconTxt {
    display: flex;
    gap: 20px;   
 
  }
  .consult {
    display: flex;
    padding: 3vw 0;
    gap: 40px;
  }
  .consult a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light);
  }
  .consult img {}
  .consult span {
    font-size: 1rem;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
  }
  .callNum span {
    padding-left: 0.7vw;
  }
  /* footer */
  .footInner {
    width: 90%;
    max-width: 1320px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footInfo {}
  .footInfo span {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 1.1rem;
    color: var(--darkFont);
  }
  .footLogo {
    background: url('../img/logo.svg') no-repeat center/cover;
    background-size: contain;
    width: 150px;
    height: 90px;
  }
  footer select {margin-top: 10px;}

  @media(min-width:2400px){
    .linkBox ul li:nth-child(even) a:hover {
      bottom: 34.8%;
    }
    .linkBox ul li a span {font-size: 0.5vw;}
  }
  @media(max-width:1440px) {
    .headerInner {width: 100%;}
    h1.headLogo {left: 10px;}
    nav {width: 80%;}
  }