@charset "utf-8";

/* 상단 레이아웃 */
#hd {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: 20;
    padding: 0 80px;
    transition: all .2s;
}
#hd_h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}

#hd_wrapper {
    position:relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

#logo a {
    background: url(/demo/003/img/logo_white.svg) center / cover no-repeat;
    height: 24px;
    aspect-ratio: 176 / 24;
    display: block;
    transition: all .2s;
}
#hd .right-wrap {
    display: flex;
    align-items: center;
}
#hd .right-wrap .contact-btn {
    font-size: 16px;
    background: #ffe900;
    border-radius: 5px;
    padding: 0 25px;
    height: 40px;
    line-height: 40px;
    display: block;
    font-weight: bold;
}

/* 메인메뉴 */
#gnb {position:relative;}
#gnb > h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#gnb .gnb_wrap {position:relative}
#gnb .gnb_wrap:hover, #gnb .gnb_wrap:focus, #gnb .gnb_wrap:active{z-index:3}
#gnb #gnb_1dul {
    display: flex;
    align-items: center;
}
#gnb .gnb_1dli {margin-right: 80px;}
#gnb .gnb_1da {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    transition: all .2s;
}

.menu-btn {
    width: 30px;
    height: 16px;
    cursor: pointer;
    display: none;
    margin-left: 20px;
}
.menu-btn span {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
.menu-btn span::before,
.menu-btn span::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 3px;
    background: #fff;
    display: block;
    transition: all 0.3s;
}
.menu-btn span::before {top: 0;}
.menu-btn span::after {top: 11px;}
.menu-btn.active span::before {
    transform: rotate(45deg);
    top: 50%;
}
.menu-btn.active span::after {
    transform: rotate(-45deg);
    top: 50%;
}
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all .3s;
}
.sidebar.show {
    opacity: 1;
    visibility: visible;
    height: 100vh;
}
.sidebar-header {
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
}
.sidebar-header .close-btn {
    width: 30px;
    height: 16px;
    border: none;
    background: none;
    position: relative;
    margin-left: 20px;
}
.sidebar-header .close-btn span {
    width: 100%;
    height: 100%;
    display: block;
}
.sidebar-header .close-btn span::before,
.sidebar-header .close-btn span::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 3px;
    background: #111;
    display: block;
    transition: all 0.3s;
}
.sidebar-header .close-btn span::before {top: 0;}
.sidebar-header .close-btn span::after {top: 11px;}
.sidebar-header .close-btn.active span::before {
    transform: rotate(45deg);
    top: 50%;
}
.sidebar-header .close-btn.active span::after {
    transform: rotate(-45deg);
    top: 50%;
}
.sidebar-content {
    height: calc(100vh - 100px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 50px 100px;
    font-size: clamp(10px, calc(100vw / 1920 * 16), 20px);
    text-align: center;
}
.sidebar-menu .sidebar-li {
    line-height: 1;
    padding-bottom: 80px;
}
.sidebar-menu .sidebar-a {
    font-size: 50px;
    font-weight: bold;
    display: block;
}
.sidebar-menu .sidebar-2d-menu {
    display: none;
    padding-top: 50px;
}
.sidebar-menu .sidebar-2d-menu li {margin-bottom: 30px;}
.sidebar-menu .sidebar-2d-menu li a {
    font-size: 24px;
    display: block;
}
#hd.fixed {
    background: #fff;
    border-bottom: 1px solid #eee;
    height: 80px;
}
#hd.fixed #logo a {background-image: url(/demo/003/img/logo.svg)}
#hd.fixed #gnb .gnb_1da {color: #111;}
#hd.fixed .menu-btn span::before,
#hd.fixed .menu-btn span::after {background: #111;}

@media all and (max-width: 1440px) {
    #hd,
    .sidebar-header {padding: 0 80px;}
}
@media all and (max-width: 1024px) {
    #hd,
    .sidebar-header {padding: 0 50px;}
}
@media all and (max-width: 991px) {
    #gnb {display: none;}
    #gnb .gnb_1dli {margin-right: 50px;}
}
@media all and (max-width: 767px) {
    #hd, .sidebar-header {
        height: 60px !important;
        padding: 0 15px;
    }
    #logo a {height: 16px;}
    #hd .right-wrap .contact-btn {
        font-size: 14px;
        padding: 0 12px;
        height: 32px;
        line-height: 32px;
    }
    .menu-btn {display: block;}
    .menu-btn,
    .sidebar-header .close-btn {
        width: 24px;
        height: 14px;
    }
    .sidebar-header .sidebar-logo img {width: 100px;}
    .menu-btn span::before,
    .menu-btn span::after,
    .sidebar-header .close-btn span::before,
    .sidebar-header .close-btn span::after {
        width: 24px;
        height: 2px;
    }
    .sidebar-content {
        height: calc(100vh - 60px);
        padding: 30px;
    }
    .sidebar-menu .sidebar-li {padding-bottom: 50px;}
    .sidebar-menu .sidebar-a {font-size: 30px;}
    .sidebar-menu .sidebar-2d-menu {padding-top: 30px;}
    .sidebar-menu .sidebar-2d-menu li {margin-bottom: 15px;}
    .sidebar-menu .sidebar-2d-menu li a {font-size: 20px;}
}

/* 중간 레이아웃 */
#wrapper {}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
@media all and (max-width: 1240px) {
    .container {padding: 0 80px;}
}
@media all and (max-width: 1024px) {
    .container {padding: 0 50px;}
}
@media all and (max-width: 767px) {
    .container {padding: 0 15px;}
}

/* 하단 레이아웃 */
#ft {
    background:#111;
    padding: 60px 80px 100px;
    color: #fff;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}
#ft a {color: #fff;}
#ft .left {
    display: flex;
    align-items: flex-start;
}
#ft .left .ft-logo {width: 145px;}
#ft .left .about {
    width: calc(100% - 145px);
    padding-left: 60px;
}
#ft .left .about .link {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
#ft .left .about .link li {margin-right: 15px;}
#ft .left .about .link li a {
    font-size: 14px;
    font-weight: bold;
}
#ft .left .about .company {
    overflow: hidden;
    margin-bottom: -8px;
}
#ft .left .about .company li {
    float: left;
    margin-right: 15px;
    margin-bottom: 8px;
}
#ft .left .about .company li:nth-child(4) {clear: both;}
#ft .right {
    font-size: 13px;
    opacity: 0.5;
    text-align: right;
}
@media all and (max-width: 1240px) {
    #ft {padding-left: 50px; padding-right: 50px;}
    #ft .right {
        width: 100%;
        text-align: left;
        margin-top: 30px;
    }
}
@media all and (max-width: 767px) {
    #ft {
        padding: 40px 15px 50px;
        font-size: 12px;
    }
    #ft .left .ft-logo {display: none;}
    #ft .left .about {
        width: 100%;
        padding: 0;
    }
    #ft .left .about .link {margin-bottom: 15px;}
    #ft .left .about .link li a {font-size: 13px;}
    #ft .left .about .company {margin-bottom: -4px;}
    #ft .left .about .company li {
        margin-right: 12px;
        margin-bottom: 4px;
    }
    #ft .right {
        margin-top: 20px;
        font-size: 12px;
    }
}

/*메인*/
.title {margin-bottom: 80px;}
.title h2 {
    font-size: 50px;
    line-height: 1.3;
}
.title h2 span {
    position: relative;
    padding: 0 2px;
}
.title h2 span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    background: #ffe900;
    width: 100%;
    height: 20px;
    z-index: -1;
}
.title .desc {margin-top: 60px;}
.desc {
    font-size: 16px;
    line-height: 1.8;
}
@media all and (max-width: 767px) {
    .title {margin-bottom: 30px;}
    .title h2 {font-size: 30px;}
    .desc {font-size: 14px;}
    .title .desc {margin-top: 20px;}
}

.main section {
    position: relative;
    overflow: hidden;
    padding: 180px 0;
}
.main .hero {
    height: 100vh;
    text-align: center;
    padding: 0;
}
@keyframes banner {
    0% {transform: scale(1.15)}
    100% {transform: scale(1)}
}
.main .hero .bg {
    background: url(/demo/003/img/main_hero_bg.jpg) center / cover no-repeat;
    height: 100%;
    animation: banner 3s ease forwards;
}
.main .hero .txt {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    z-index: 1;
    color: #fff;
    padding: 0 30px;
}
.main .hero .txt strong {
    font-size: 80px;
    line-height: 1.2;
    margin-bottom: 30px;
    display: block;
}
.main .hero .txt strong span {color: #ffe900;}
.main .hero .txt p {
    font-size: 24px;
    font-weight: bold;
}
.main .hero .scroll-down {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: 150px;
    background: rgba(255,255,255,0.2);
    z-index: 1;
}
@keyframes scroll {
    0% {transform: translateY(0);}
    100% {transform: translateY(120px);}
}
.main .hero .scroll-down span {
    width: 1px;
    height: 50px;
    background: #fff;
    display: block;
    animation: scroll 2s ease infinite;
}
.main .about .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.main .about .txt {
    width: 59%;
    padding-right: 50px;
    margin: 0;
}
.main .about .img {width: 41%;}
.main .business {background: url(/demo/003/img/main_business_bg.jpg) center / cover no-repeat}
.main .business .title h2 {
    color: #fff;
    text-align: center;
}
.main .business ul {
    display: flex;
    flex-wrap: wrap;
}
.main .business ul li {
    width: calc((100% - 90px)/4);
    margin-right: 30px;
}
.main .business ul li:last-child {margin-right: 0;}
.main .business ul li a {
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    padding: 30px;
    color: #fff;
    aspect-ratio: 277 / 400;
    position: relative;
}
.main .business ul li a::after {
    content: "";
    background: linear-gradient(to bottom, #000, transparent);
    width: 100%;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
}
.main .business ul li h3 {
    font-size: 24px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.main .business ul li p {
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}
.main .business ul li .more-btn {
    width: 36px;
    height: 36px;
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid #fff;
    position: relative;
    z-index: 1;
    transition: all .2s;
}
.main .business ul li .more-btn svg {
    width: 12px;
    height: 10px;
}
.main .business ul li .more-btn svg .st0 {
    fill: none;
    stroke: #ffe900;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5px;
}
.main .business ul li a:hover .more-btn {
    background: #000;
    border: 1px solid #000;
}
@media all and (max-width: 991px) {
    .main .about {text-align: center;}
    .main .about .txt {
        width: 100%;
        padding: 0;
        margin-bottom: 80px;
    }
    .main .about .img {width: 100%;}
    .main .business ul {margin-bottom: -30px;}
    .main .business ul li {
        width: calc((100% - 30px)/2);
        margin-bottom: 30px;
    }
    .main .business ul li:nth-child(2n) {margin-right: 0;}
    .main .business ul li a {aspect-ratio: 277 / 300}
}
@media all and (max-width: 767px) {
    .main section {padding: 80px 0;}
    .main .hero .txt strong {
        font-size: 36px;
        margin-bottom: 20px;
    }
    .main .hero .txt p {font-size: 16px;}
    .main .about .txt {margin-bottom: 30px;}
    .main .business ul {margin-bottom: -10px;}
    .main .business ul li {
        width: calc((100% - 10px) / 2);
        margin-right: 10px;
        margin-bottom: 10px;
    }
    .main .business ul li a {
        padding: 15px;
        aspect-ratio: 277 / 350;
    }
    .main .business ul li a::after {height: 150px;}
    .main .business ul li h3 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    .main .business ul li p {
        font-size: 14px;
        margin-bottom: 15px;
    }
}
