@charset "UTF-8";

@import url('reset.css');
@import url('font.css');

.centerbox {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

header .mo_nav {
    display: none;
}

.hamburger {
    display: none;
}

header {
    padding-top: 1.5vw;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 7;
}

header h1 {
    margin: 1.5vw auto 30px auto;
    text-align: center;
}

header .pc_nav .gnb {
    display: flex;
    justify-content: center;
}

header .pc_nav .gnb > li {
    font-size: 18px;
    position: relative;
}

header .pc_nav .gnb li .lnb {
    position: absolute;
    width: 130%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
    display: none;
}

header .pc_nav .gnb li .lnb a {
    color: #fff;
    font-size: 18px;
    text-align: center;
    display: block;
    padding: 10px 0;
    transition: color 0.3s;
}

header .pc_nav .gnb > li > a {
    text-decoration: none;
    color: #fff;          
    padding: 5px 25px;
    transition: color 0.3s;
}

.gnb li a span {
    position: relative;
    display: inline-block;
}

.gnb li a span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

header .pc_nav .gnb > li:nth-child(1):hover a span::after,
header .pc_nav .gnb > li:nth-child(3):hover a span::after {
    transform: scaleX(1);
}

header .pc_nav .gnb > li:nth-child(2):hover a,
header .pc_nav .gnb > li:nth-child(4):hover a,
header .pc_nav .gnb > li:nth-child(5):hover a {
    color: #666;          
    pointer-events: none;    
    cursor: default;
}

header .pc_nav .gnb li .lnb li a {
    color: #fff;
    font-size: 16px;
    text-align: center;
    display: block;
    padding: 8px 0;
    transition: color 0.3s;
}

header .pc_nav .gnb li .lnb li:nth-child(1) a {
    pointer-events: auto;
    cursor: pointer;
}

header .pc_nav .gnb li .lnb li:nth-child(2) a,
header .pc_nav .gnb li .lnb li:nth-child(3) a {
    pointer-events: none;
    cursor: default;
}

header .pc_nav .gnb li .lnb li:nth-child(2):hover a,
header .pc_nav .gnb li .lnb li:nth-child(3):hover a {
    color: #666;
}

/* header .pc_nav .gnb {
    display: flex;
    justify-content: center;
}

header .pc_nav .gnb>li {
    font-size: 18px;
    position: relative;
}

header .pc_nav .gnb li .lnb {
    position: absolute;
    width: 130%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
    display: none;
}

header .pc_nav .gnb li .lnb a {
    color: #fff;
    font-size: 18px;
    text-align: center;
    display: block;
    padding: 10px 0;
}

header .pc_nav .gnb>li>a {
    text-decoration: none;
    color: #fff;
    padding: 5px 25px;
}

.gnb li a span {
    position: relative;
    display: inline-block;
}

.gnb li a span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.gnb li:hover a span::after {
    transform: scaleX(1);
} */

/* 히어로섹션 */

#hero {
    width: 100%;
    overflow: hidden;
    position: relative;
    transition: 0.5s;
}

#hero:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(30, 35, 55, 0.4);
}

.pc_nav_bg {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(15, 18, 29, 0.8);
    z-index: 6;
    display: none;
}

#hero video {
    width: 100%;
}

#hero.on {
    transform: scale(0.9);
}

#hero .textbox {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

#hero .textbox strong {
    font-size: clamp(30px, 2.5vw, 48px);
}

#hero .textbox p {
    font-size: clamp(16px, 1vw, 21px);
    margin-top: 2.5em;
}

/* 섹션1 */

#section1 {
    padding: 100px 0;
}

#section1 h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 100px;
}

#section1 .imgbox {
    display: flex;
    gap: 36px;
    transform-style: preserve-3d;
    perspective: 2000px;
}

#section1 .imgbox .bigimg {
    width: 589px;
    height: 441px;
    flex-shrink: 0;
    position: relative;
    transform: rotateY(90deg);
    transition: 1s;
    opacity: 0;
}

#section1 .imgbox.on .bigimg {
    transform: rotateY(0);
    opacity: 1;
}

#section1 .imgbox .smallimg li:nth-child(1) a {
    transform-origin: top;
    transform: rotateX(-90deg);
    opacity: 0;
}

#section1 .imgbox.on .smallimg li:nth-child(1) a {
    transform: rotateX(0deg);
    opacity: 1;
}

#section1 .imgbox .smallimg li:nth-child(2) a {
    transform-origin: right;
    transform: rotateY(-90deg);
    opacity: 0;
}

#section1 .imgbox.on .smallimg li:nth-child(2) a {
    transform: rotateY(0deg);
    transition-delay: 0.2s;
    opacity: 1;
}

#section1 .imgbox .smallimg li:nth-child(3) a {
    transform-origin: left;
    transform: rotateY(-90deg);
    opacity: 0;
}

#section1 .imgbox.on .smallimg li:nth-child(3) a {
    transform: rotateY(0deg);
    transition-delay: 0.4s;
    opacity: 1;
}

#section1 .imgbox .smallimg li:nth-child(4) a {
    transform-origin: bottom;
    transform: rotateX(-90deg);
    opacity: 0;
}

#section1 .imgbox.on .smallimg li:nth-child(4) a {
    transform: rotateX(0deg);
    transition-delay: 0.6s;
    opacity: 1;
}

#section1 .imgbox {
    display: flex;
    gap: 36px;
    transform-style: preserve-3d;
    perspective: 2000px;
}

#section1 .imgbox .bigimg {
    width: 51.3%;
    flex-shrink: 1;
    position: relative;
    transform: rotateY(90deg);
    transition: 1s;
    opacity: 0;
    height: auto;
}

#section1 .imgbox .bigimg figure img {
    width: 100%;
}

#section1 .imgbox .bigimg .title {
    position: absolute;
    font-size: 16px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 20px;
    top: 10px;
    left: 10px;
}

#section1 .imgbox .smallimg {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    /* row-gap: 42px; */
    width: 40%;
    flex-grow: 1;
}

#section1 .imgbox .smallimg li {
    width: 40%;
    transform-style: preserve-3d;
    perspective: 2000px;
    flex-grow: 1;
}

#section1 .imgbox .smallimg li a figure img {
    width: 100%;
}

#section1 .imgbox .smallimg li .title {
    display: block;
    margin-top: 20px;
}

/* 섹션2 */

#section2 {
    width: 100%;
    /* height: 477px; */
    /* background: #363B4D; */
    background: #363B4D url('../images/main_banner.png')no-repeat;
    padding: 150px 0;
    background-attachment: fixed;
}

#section2 .centerbox {
    display: flex;
    justify-content: center;
    gap: 68px;
}

#section2 .centerbox .textbox {
    display: inline-block;
}

#section2 .centerbox .textbox h2 {
    font-size: 35px;
    color: #fff;
    margin-bottom: 30px;
}

#section2 .centerbox .textbox span.text {
    font-size: 16px;
    color: #fff;
}

#section2 .centerbox .textbox .morebox {
    width: 96px;
    height: 36px;
    border: 1px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    margin-top: 50px;
}

#section2 .centerbox .textbox .morebox:hover {
    background: #fff;
    transition: 0.5s;
}

#section2 .centerbox .textbox .morebox:hover a {
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

#section2 .centerbox .textbox .morebox a {
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

#section2 .imgbox {
    display: flex;
    gap: 30px;
}

#section2 .imgbox li {
    top: 100px;
    opacity: 0;
    transition: 1s;
    position: relative;
}

#section2 .imgbox.on li {
    top: 0;
    opacity: 1;
}

#section2 .imgbox li img {
    width: 100%;
}

/* 섹션3 */

#section3 {
    padding: 100px 0 100px 0;
}

#section3 h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 30px;
    margin-bottom: 100px;
}

#section3 .review_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#section3 .content_box ul li:hover {
    background: #F3F9FF;
}

#section3 .content_box ul li .review_box {
    border-bottom: 1px solid #999;
    padding-top: 25px;
    padding-bottom: 25px;
}

#section3 .review_box .num {
    font-weight: bold;
}

#section3 .review_box img {
    margin-right: 50px;
}

#section3 .review_box h3 {
    margin-bottom: 11px;
    font-size: 18px;
    color: #000;
}

#section3 .review_box .textbox {
    margin-right: 161px;
    font-size: 16px;
    color: #555;
    flex-direction: column;
    align-self: stretch;
}

#section3 .review_box .img2 {
    margin-top: 13px;
}

#section3 .review_box .date {
    margin-right: 62px;
    font-size: 16px;
    color: #777;
    width: 120px;
    align-items: center;
}

#section3 .review_box .name {
    font-size: 16px;
    color: #777;
    width: 70px;
    align-items: center;
}

/* 푸터 */

footer {
    background: #3a3a3a;
    height: 175px;
    width: 100%;
}

footer .centerbox {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-left: 20px;
    height: 175px;
    justify-content: center;
}

footer .company_name span {
    font-size: 13px;
    color: #fff;
}

footer .company_info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

footer .company_info p {
    font-size: 13px;
    color: #fff;
    display: flex;
    gap: 20px;
}

/* 서브페이지 공통 */

#hero_sub {
    background: #1c1b32;
    position: relative;
}

#hero_sub img {
    width: 100%;
    min-height: 200px;
    object-fit: cover;
}

.section_box_sub {
    padding: 100px 0;
}

.section_box_sub h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 100px;
}

.section_box_sub .content {
    font-size: 16px;
    color: #777;
}

/* 기업소개 - sub1 */

.company .content {
    display: flex;
    gap: clamp(1px, 7.8vw, 150px)
}

.company .content .textbox {
    width: 30%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.company .content .textbox p {
    text-align: justify;
}

.company .content .textbox strong {
    font-size: clamp(20px, 3vw, 40px);
    color: #000;
    margin-bottom: 30px;
    display: block;
}

.company .content .imgbox {
    width: 60%;
    display: flex;
    align-items: center;
}

.company .content .imgbox .small {
    position: relative;
    margin-right: -100px;
    width: 100%;
}

.company .content .imgbox .big {
    width: 100%;
}

/* 로그인 페이지 */

.login {
    background: #f5f6f8;
}

.login .content {
    max-width: 550px;
    padding: 40px;
    background: #fff;
    margin: 0 auto;
}

.pw_box {
    position: relative;
}

.pw_box .icon_box {
    position: absolute;
    right: 40px;
    top: 48px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.pw_box .icon_box i {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 20px;
}

.pw_box .icon_box .fa-eye-slash {
    display: none;
}

.login .content .id_box {
    margin-bottom: 25px;
}

.login .content .input_box p {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.login .content .input_box input {
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 7px;
    text-indent: 10px;
    width: 100%;
    font-size: 18px;
    color: #444;
}

input:focus {
    border: 1px solid #204A88 !important;
}

input::placeholder {
    font-size: 16px !important;
    color: #bbb !important;
}

.login .content .link_box {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login .content .link_box .id_save {
    display: flex;
    align-items: center;
}

.login .content .link_box .id_save input {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    opacity: 0;
    position: absolute;
}

.login .content .link_box .id_save .checkbox {
    display: block;
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login .content .link_box .id_save label {
    display: flex;
    align-items: center;
}

.login .content .link_box .id_save input:checked~label .checkbox {
    background: orangered;
}

.login .content .link_box .id_save input:checked .checkbox i {
    font-size: 0;
    transition: 0.3s;
}

.login .content .link_box .id_save input:checked~label .checkbox i {
    font-size: 15px;
}

/* .login .content .link_box .id_save .checkbox::before {
    content: "";
    position: absolute;
    background: #fff;
    width: 0;
    height: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50% );
    transition: 0.3s;
} */

.login .content .link_box .id_save label {
    cursor: pointer;
    user-select: none;
}

.login .content .link_box .link {
    font-size: 0;
}

.login .content .link_box .link a {
    padding: 0 10px;
    position: relative;
    font-size: 15px;
}

.login .content .link_box .link a::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 14px;
    background: #ddd;
    right: 0;
    top: 5px;
}

.login .content .link_box .link a:last-child::before {
    display: none;
}

/* 버튼 공통 */

.btn {
    padding: 0.7em 1.3em;
    border: 0;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    border-radius: 7px;
    cursor: pointer;
    background: #444;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: inherit;
    z-index: -1;
}

.btn:hover::before {
    filter: brightness(90%);
}

.btn_login {
    width: 100%;
    background: #204A88;
    margin-top: 30px;
}


/* 회원가입 */

.join {
    background: #f5f6f8;
}

.join .content {
    max-width: 1000px;
    padding: 40px;
    background: #fff;
    margin: 0 auto;
}

.join h3 {
    font-size: 24px;
    color: #333;
    border-bottom: 1px solid #ddd;
    height: 50px;
    margin-bottom: 30px;
}

.join h3 span {
    font-size: 14px;
    color: #ff6614;
    font-weight: normal;
    left: 5px;
}

.join .join_wrap ul li {
    display: flex;
    align-items: center;
    padding: 7px 0;
}

.join .join_wrap ul li label {
    font-size: 18px;
    width: 180px;
    flex-shrink: 0;
}

.join .join_wrap ul li.pilsu label::before {
    content: "*";
    color: #ff6614;
    margin-left: 5px;
}

.join .join_wrap ul li .textbox {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.join .join_wrap ul li .textbox input {
    height: 40px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 18px;
    text-indent: 10px;
}

.join .join_wrap ul li .textbox input::placeholder {
    color: #bbb;
}

.join .join_wrap ul li .textbox input.small_input {
    max-width: 400px;
}

.join .join_wrap ul li .id_check {
    font-size: 13px;
    display: inline-block;
}

.join .join_wrap ul li input[type="radio"] {
    height: 20px;
    width: 20px;
    margin-right: 7px;
}

.join .join_wrap ul li input[type="checkbox"] {
    height: 20px;
    width: 20px;
    margin-right: 7px;
}

.join .join_wrap ul li .textbox .echi {
    display: flex;
}

.join .join_wrap ul li .textbox .echi li {
    margin-right: 30px;
}


.join .join_wrap ul li .textbox .echi li label {
    width: auto;
    display: flex;
    align-items: center;
}

.join .join_wrap ul li .rule {
    width: 100%;
    height: 250px;
    border-radius: 7px;
    border: 1px solid #ccc;
    font-size: 16px;
    padding: 10px;
    font-family:'Pretendard-Regular';
    line-height: 1.8;
    color: #555;
    overflow:auto;
    white-space: pre-wrap;
}

.join .join_wrap ul li .rule:focus {
    border: 1px solid #000;
}

.join .join_wrap ul li textarea {
    width: 100%;
    height: 250px;
    border-radius: 7px;
    border: 1px solid #ccc;
    font-size: 16px;
    padding: 10px;
    font-family:'Pretendard-Regular';
    line-height: 1.8;
    color: #555;
}

.join .join_wrap ul li textarea:focus {
    border: 1px solid #000;
}

.btn_box {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.btn_submit {
    background: #204A88;
}

.join .btn_submit {
    width: 50%;
}

/* 태블릿 */

@media screen and (max-width: 1100px) {

    #section1,
    #section2,
    #section3 {
        padding: 100px 0;
    }

    #section2 .centerbox {
        flex-direction: column;
    }
}



/* 모바일 */
@media screen and (max-width:880px) {

    header .pc_nav {
        display: none;
    }

    .centerbox {
        padding: 0 20px;
    }

    #section1,
    #section2,
    #section3 {
        padding: 60px 0;
    }

    header .mo_nav {
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        left: 0;
        top: 0;
        z-index: 5;
        display: none;
    }

    header .mo_nav .gnb {
        width: 300px;
        height: 100%;
        background: #ddd;
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        transform: translateX(-100%);
        transition: 0.3s;
        justify-content: center;
        overflow: auto;
    }

    header .mo_nav .gnb li {
        text-align: center;
        line-height: 2.5;
    }

    header .mo_nav .gnb li a {
        color: #222;
    }

    header .mo_nav.on .gnb {
        transform: translateX(0);
    }

    #hero video {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }

    #section1 .imgbox {
        flex-direction: column;
    }

    #section1 .imgbox .bigimg {
        width: 100%;
    }

    #section1 .imgbox .smallimg {
        width: 100%;
        gap: 15px;
    }

    #section1 .imgbox .smallimg li {
        width: 20%;
    }

    #section3 .content_box .review_box img {
        margin-right: 20px;
    }

    #section3 .content_box .review_box .textbox {
        margin-right: 20px;
        align-items: start;
    }

    #section3 .content_box .review_box .num {
        display: none;
    }

    #section3 .content_box .review_box .date {
        display: none;
    }

    #section3 .content_box .review_box .name {
        width: auto;
    }

    body.on {
        height: 100vh;
        overflow: hidden;
    }

    /* 모바일 햄버거버튼 */

    .hamburger {
        width: 40px;
        height: 40px;
        position: absolute;
        left: 20px;
        top: 30px;
        z-index: 7;
        display: block;
    }

    .hamburger span {
        position: absolute;
        width: 20px;
        height: 2px;
        background: #fff;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .hamburger span:before,
    .hamburger span:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: inherit;
        left: 0;
    }

    .hamburger span:before {
        top: -6px;
        transform-origin: left;
        transition: 0.3s;
    }

    .hamburger span:after {
        top: 6px;
        transform-origin: left;
        transition: 0.3s;
    }

    .hamburger.on span:before {
        transform: rotate(-45deg);
        width: 10px;
        top: 0;
    }

    .hamburger.on span:after {
        transform: rotate(45deg);
        width: 10px;
        top: 0;
    }


    /* 서브 모바일 */

    .company .content {
        flex-direction: column;
    }

    .company .content .textbox {
        width: 100%;
        margin-bottom: 30px;
    }

    .company .content .textbox strong {
        text-align: left;
    }

    .company .content .imgbox {
        width: 100%;
        flex-direction: column;
    }

    .company .content .imgbox .small {
        display: flex;
        justify-content: center;
        margin-right: 0;
        width: 100%;
    }

    .company .content .imgbox .big {
        width: 100%;
        display: flex;
        justify-content: center;
    }

}

/* 모바일 */

@media screen and (max-width:500px) {

    .login .content {
        padding: 20px;
    }

    .login .content .link_box {
        flex-direction: column;
        align-items: start;
        height: 60px;
        margin-top: 10px;
    }

    .login .content .link_box .link {
        width: 100%;
        text-align: center;
    }
}