/* back */
.d_width {
    position: relative;
}

.thumb:not(.vat) {
    position: relative;
    overflow: hidden;
}

.thumb:not(.vat) img {
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    transition: all 0.3s;
}

a:hover .thumb:not(.vat) img {
    transform: translate(-50%, -50%) scale(1.1)
}

.sub {
  padding-inline: 0 !important;
}

.sub-inner {
  padding-inline: 2.5%;
}

@media (max-width: 991.98px) {
  .sub-inner {
    padding-inline: 5%;
  }
}

.va_mo {
    display: none !important;
}

.sub-container .d_width {
    text-align: justify;
    word-break: keep-all
}

.sub-container img {
    max-width: 100%
}

.sub-container h1,
.sub-container h2,
.sub-container h3,
.sub-container h4,
.sub-container h5,
.sub-container h6 {
    line-height: 1.3
}

.sub-container h1 {
    margin: 60px 0 40px 0;
    font-size: 40px;
    font-weight: 900;
    color: #111;
    letter-spacing: -1px;
}

.sub-container h1:before {
    content: "";
    border-top: 3px solid #111;
    width: 20px;
    display: block;
    vertical-align: top;
    margin-bottom: 20px
}

.sub-container h2 {
    margin: 40px 0 20px 0;
    font-size: 30px;
    font-weight: 500;
    color: #333;
    letter-spacing: -1px
}

.sub-container h3 {
    margin: 30px 0 20px 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: -1px
}

.sub-container .img {
    margin: 20px 0;
}

.sub-container .img img {
    max-width: 100%
}

.sub-container .comment {
    margin: 5px 0 20px;
    font-size: 85%;
    color: #aaa
}

.sub-container .btn-d {
    margin: 20px 0
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/*사이트맵*/
#mm-blocker {
    z-index: 1;
}

.mm-menu.mm-right {
    z-index: 9;
}

.mm-menu {
    min-width: 320px;
    max-width: unset;
    width: 50%;
}

html.mm-right.mm-opening .mm-slideout {
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
}

.mm-top {
    display: flex;
    flex-flow: row nowrap;
    background: url(../../img/labor/logo.png) no-repeat 50% 0 / 97px auto;
    padding-top: 100px;
    margin: 40px 20px 20px 20px;
}

.mm-top a {
    flex: 1;
    display: inline-block;
    margin: 0 1px;
    border: 1px solid #eaeaea;
    line-height: 40px;
    text-align: center;
    font-size: 13px;
    font-weight: 400
}

.mm-top a:hover {
    background: #fafafa;
    font-weight: 700;
}

.Script_first_li .mm-listview {
    display: flex;
    flex-wrap: wrap;
}

.Script_first_li .mm-panel .mm-listview>li {
    width: 20%;
}

/*메인 페이지*/
.mv-wrap {
    position: relative;
}

.main-visual {
    min-height: 930px;
}

.main-visual .mv-slide {
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
    color: #000;
    padding-top: 100px;
}

.main-visual .mv-slide .d_width {
    height: 100%;
}

.main-visual .mv-slide:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 60% 50%;
    top: 0;
    left: 0;
    animation: bg-scale 5s alternate both ease-out;
}

.main-visual .mv-slide.bg1:before {
    background-image: url(../../img/labor/mv-bg01.png), linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
}

.mv-wrap .mv-slide:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: url(../../img/labor/back_line.png) repeat 50% 50%;
}

.main-visual .mv-title {
    position: absolute;
    top: 35%;
    left: 0;
    transform: translateY(-50%);
    line-height: 1.3;
    z-index: 99;
    color: #000;
}

.main-visual .mv-title .stit {
    font-size: 26px;
    font-weight: 500;
    animation: fadeInDown 1s both;
}

.main-visual .mv-title .tit {
    font-size: 74px;
    font-weight: 900;
    margin: 10px 0 30px;
    overflow: hidden;
    letter-spacing: -0.075rem;
}

.main-visual .mv-title .tit span {
    display: inline-block;
    position: relative;
    opacity: 0;
    -webkit-animation: rotate_motion 2.5s both;
    animation: rotate_motion 2.5s 0.5s both;
}

.main-visual .mv-title .tit span:after {
    content: "";
    width: 100%;
    border-bottom: 6px solid #000;
    position: absolute;
    bottom: 0;
    left: 0;
}

.main-visual .mv-title .txt {
    font-size: 22px;
    font-weight: 500;
    animation: fadeInDown 1s 0.5s both;
}

.mv-wrap .scroll {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
}

.mv-wrap .scroll a {
    display: block;
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

.mv-wrap .scroll a:hover {
    background: rgba(0, 0, 0, 0.9);
}

.mv-wrap .scroll a span {
    display: block;
    margin: 0 auto;
    width: 20px;
    height: 30px;
    border-radius: 17px;
    border: 2px solid #fff;
    position: relative;
    margin-bottom: 10px;
    animation: wobble 1s both cubic-bezier(0.63, 0.08, 0.43, 0.88) infinite alternate;
}

.mv-wrap .scroll a span:after {
    content: "";
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
}

.mv-wrap {
    position: relative;
}

.mv-wrap .bx-controls {
    width: 1300px;
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 99;
}

.mv-wrap .bx-pager-item {
    display: inline-block;
    margin: 0 5px;
}

.mv-wrap .bx-pager-link {
    display: block;
    text-indent: -999px;
    overflow: hidden;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
}

.mv-wrap .bx-pager-link:before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mv-wrap .bx-pager-link.active {
    border: 1px solid #000;
}

.mv-wrap .bx-pager-link.active:before {
    background: #000;
}

@keyframes bg-scale {
    0% {
        transform: scale(100%);
    }

    100% {
        transform: scale(105%);
    }
}

@keyframes wobble {
    0% {
        -webkit-transform: translateY(-3px);
        transform: translateY(-3px);
    }

    30% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
    }

    60% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes rotate_motion {
    0% {
        top: 40px;
        opacity: 0;
        transform: rotate(6deg);
        transform-origin: left bottom;
    }

    47% {
        top: 0;
        opacity: 1;
        transform: rotate(0deg);
        transform-origin: left bottom;
    }

    100% {
        top: 0;
        opacity: 1;
        transform: rotate(0deg);
        transform-origin: left bottom;
    }
}

@media only screen and (max-width:1750px) {

    /* 1200 */
    #wrap {
        min-width: 1200px;
    }

    #gnb {
        padding: 0 20px;
    }

    #gnbmn {
        width: calc(100% - 320px);
        margin-left: 260px;
    }

    #gnbmn ul.depth1>li>a {
        padding: 0 20px;
    }

    .Script_first_li .mm-panel .mm-listview>li {
        width: 25%;
    }

    .main-visual .mv-title .stit {
        font-size: 22px;
    }

    .main-visual .mv-title .tit {
        font-size: 65px;
    }

    .main-visual .mv-title .txt {
        font-size: 19px;
    }
}

@media only screen and (max-width:1240px) {
    #wrap {
        min-width: 960px;
    }

    #logo {
        margin-right: 15px;
    }

    #logo img {
        height: 40px;
    }

    #header .mn-btn {
        width: 40px;
        height: 40px;
        line-height: 33px;
        border-width: 4px;
    }

    #gnbmn {
        margin-left: 220px;
        width: calc(100% - 265px);
    }

    #gnbmn ul.depth1>li>a {
        padding: 0 10px;
        font-size: 18px;
    }

    #gnbmn ul.depth1>li>a:before {
        top: 20px;
    }

    #gnbmn .depth2 li a {
        font-size: 15px;
    }

    #header {
        height: 80px;
    }

    #gnb {
        line-height: 80px;
    }

    #id_gnb_bg,
    #gnbmn .depth2 {
        top: 80px;
    }

    .main-visual .mv-title .tit {
        font-size: 60px;
    }

    .mv-wrap .scroll a {
        width: 90px;
        height: 90px;
    }

    .mv-wrap .scroll a span {
        margin-bottom: 5px;
    }
}

@media only screen and (max-width:1023px) {

    /* 720 */
    body {
        font-size: 16px;
    }

    #wrap {
        min-width: 720px;
    }

    #gnbmn {
        display: none;
    }

    .main-visual {
        min-height: 800px;
    }

    .mv-slide:after {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.3);
    }

    .main-visual .mv-title {
        z-index: 1;
        width: 100%;
        text-align: center;
    }

    .mv-wrap .bx-controls {
        text-align: center;
    }

    .main-visual .mv-title .tit {
        font-size: 50px;
    }

    .mv-wrap .scroll a {
        width: 80px;
        height: 80px;
        padding: 10px;
    }

    .Script_first_li .mm-panel .mm-listview>li {
        width: 50%;
    }

    #wrap::before {
        display: none;
    }
}

@media only screen and (max-width:767px) {

    .mv-wrap .bx-controls {
        width: 100%;
    }

    #wrap {
        min-width: 320px;
    }

    .va_pc {
        display: none !important;
        ;
    }

    .va_mo {
        display: block !important;
        ;
    }

    .Script_first_li .mm-panel .mm-listview>li {
        width: 100%;
    }

    .mm-listview>li>a,
    .mm-listview>li>span {
        line-height: 1;
    }

    .mm-listview .mm-next+a {
        font-size: 16px;
    }

    .mm-listview li li a {
        font-size: 15px;
    }

    .mv-wrap .mv-slide:after {
        background: #fff6;
    }

    .main-visual {
        min-height: 650px;
    }

    .mv-wrap .bx-controls {
        bottom: 10%;
    }

    .mv-wrap .scroll {
        bottom: -40px;
    }

    .main-visual .mv-title .tit {
        font-size: 45px;
    }

    .main-visual .mv-title .txt {
        font-size: 17px;
    }
}

/*히스토리*/
#comm-visual {
    position: relative;
    min-height: 240px;
    height: 30vh;
    overflow: hidden;
    word-break: keep-all;
    z-index: 2;
    border-radius: 0 0 50px 50px;
}

#comm-visual:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../img/dotbg.png) repeat;
    z-index: 2
}

#comm-visual .cvimg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: zoomout 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    -webkit-animation: zoomout 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: url(../../img/labor/cvimg.png) no-repeat 50% 50% / cover
}

#comm-visual .cvimg:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1
}

#comm-visual .tit-wrap {
    position: relative;
    height: 100%;
    z-index: 9
}

#comm-visual .cvtit {
    position: relative;
    transform: translateY(-50%);
    top: 55%;
    color: #fff;
    text-align: center;
    line-height: 1.2
}

#comm-visual .cvtit p:nth-child(1) {
    font-size: 50px;
    letter-spacing: -3px;
    font-weight: 600;
}

#comm-visual .cvtit p:nth-child(2) {
    font-size: 20px;
    font-weight: 400;
    margin-top: 10px;
}

.present-rotate {
    display: block;
    width: 135px;
    height: 135px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: -75px;
    right: 0;
    z-index: 99;
    text-align: Center;
    padding: 15px;
    color: #000;
    box-shadow: 0 0 15px rgb(0 0 0 / 20%);
    transition: all 0.2s ease-out;
}

.present-rotate span {
    font-size: 15px;
    font-weight: 600;
}

.present-rotate span:before {
    content: "";
    width: 65px;
    height: 67px;
    display: block;
    margin: 0 auto 5px;
    background: url(/common/img/charactor.png);
}

.present-rotate:before {
    content: "";
    width: 191px;
    height: 191px;
    background: url(../../img/labor/rotate4.png);
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -95px 0 0 -95px;
    filter: brightness(0) opacity(0.5);
    animation: rotate 20s linear infinite;
}

.present-rotate:hover {
    scale: 1.05;
}

#last-list h2:nth-of-type(1) {
    margin-top: 0;
}

#last-list h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    margin: 80px 0 50px;
}

#last-list h2.tac {
    text-align: center;
}

#last-list h2 span {
    display: inline-block;
    position: relative;
}

#last-list h2 span:after {
    content: "";
    width: 100%;
    border-bottom: 6px solid #333;
    position: absolute;
    bottom: 0;
    left: 0;
}

#last-list ul {
    display: flex;
    flex-wrap: wrap;
}

#last-list li {
    width: calc(25% - 20px);
    margin: 10px;
    text-align: center;
    transition: all 0.3s;
}

#last-list li:nth-child(4n+1) {
    clear: both;
}

#last-list .thumb {
    transition: all ease-out 0.2s;
    z-index: 1;
    width: 100%;
    height: 220px;
    background: #f6f6f6;
    border: 3px solid #f6f6f6;
    border-radius: 10px;
}

#last-list .txt {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5;
}

#last-list .txt em {
    display: block;
    font-weight: 700;
    color: #000;
}

#last-list .txt:hover {
    color: #3399CC;
}

#last-list .hov-cont {
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    padding: 30px;
    opacity: 0;
    position: relative;
}

#last-list .hov-cont a {
    position: relative;
    z-index: 3;
    display: block;
    background: #333;
    line-height: 40px;
    border-radius: 5px;
    color: #fff;
    width: 200px;
    margin: 6px auto;
}

#last-list .hov-cont a:hover {
    background: #fff;
    font-weight: 700;
}

#last-list a:nth-child(1):hover {
    color: #b94444
}

#last-list a:nth-child(2):hover {
    color: #4da578
}

#last-list a:nth-child(3):hover {
    color: #3e538d
}

#last-list li:hover .thumb {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: #fff;
}

#last-list li:hover .hov-cont {
    opacity: 1;
}

#last-list .btn-wrap {
    text-align: center;
}

#last-list .btn-wrap a {
    display: inline-block;
    margin: 5px;
    font-size: 14px;
    padding: 2px 5px;
    font-weight: 700;
    position: relative;
}

#last-list .btn-wrap a:after {
    content: "";
    width: 100%;
    border-bottom: 2px solid #333;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: all 0.3s;
}

#last-list .btn-wrap a:hover {
    font-weight: 900;
}

#last-list .btn-wrap a:hover:after {
    border-width: 3px;
}

@media only screen and (max-width:1240px) {

    /* 960px */
    #sub-visual {
        min-height: auto;
        height: 35vh;
    }

    #sub-visual .svtit p:nth-child(2) {
        font-size: 48px;
    }

    .sub-container h1 {
        font-size: 26px;
    }

    .sub-container h2 {
        font-size: 22px;
    }

    #last-list .hov-cont a {
        width: calc(100% - 20px);
    }
}

@media only screen and (max-width:1023px) {

    /* 720px */
    #last-list ul {
        margin: 0;
    }

    #last-list li {
        width: calc(33.3333% - 40px);
    }

    #last-list li:nth-child(3n+1) {
        clear: both;
    }

    #last-list li:nth-child(4n+1) {
        clear: none;
    }

    #last-list .thumb {
        height: 240px;
    }

    #sub-visual .svtit p:nth-child(2) {
        font-size: 34px;
    }

    #sub-visual.fix .svtit p:nth-child(2) {
        font-size: 22px;
        letter-spacing: -1px;
        line-height: 1.2;
    }

    #sub-visual.fix .svtit {
        height: auto;
        padding: 20px;
    }

    .sub-container h1 {
        font-size: 24px;
    }

    .sub-container h2 {
        font-size: 20px;
    }

    .quick-link .bx-controls a.bx-prev {
        left: 0;
    }

    .quick-link .bx-controls a.bx-next {
        right: 0;
    }

    #last-list h2 {
        font-size: 30px;
        margin: 40px 0 20px;
    }

    #last-list .thumb {
        height: 160px;
    }

    #last-list .hov-cont {
        padding: 10px;
    }

    .present-rotate {
        width: 120px;
        height: 120px;
    }

    .present-rotate:before {
        background-size: cover;
        width: 160px;
        height: 160px;
        margin: -80px 0 0 -80px;
    }

    .present-rotate span:before {
        background-size: cover;
        width: 50px;
        height: 50px;
    }

    [class*="column_type"]:not(.img-tit) .thumb {
        max-width: 100%;
        margin: 10px auto !important;
    }
}

@media only screen and (max-width:778px) {

    /* mobile-l */
    #last-list li {
        width: calc(50% - 20px);
        margin: 0 10px 20px 10px;
    }

    #last-list li:nth-child(2n+1) {
        clear: both;
    }

    #last-list li:nth-child(3n+1) {
        clear: none;
    }

    #last-list .hov-cont {
        padding: 10px;
    }

    #last-list .txt {
        font-size: 16px;
    }

    #last-list .thumb {
        height: 170px;
    }

    #sub-visual,
    #comm-visual {
        height: 50vh;
    }

    #sub-visual .svtit p:nth-child(2) {
        font-size: 24px;
    }

    #sub-visual.fix .svtit p:nth-child(2) {
        font-size: 18px;
    }

    #comm-visual .cvtit p:nth-child(1) {
        font-size: 28px;
        letter-spacing: -1px;
    }

    #comm-visual .cvtit p:nth-child(2) {
        font-size: 14px;
    }

    .sub-container .d_width {
        text-align: left;
    }

    .sub-container h1 {
        font-size: 22px;
    }

    .sub-container h2 {
        font-size: 18px;
    }

    .sub-container h3 {
        font-size: 17px;
    }

    body {
        font-size: 15px;
    }

    .present-rotate {
        position: relative;
        top: auto;
        right: auto;
        margin: -40px auto 40px;
        transform: translateX(0);
        width: 100px;
        height: 100px;
        padding: 10px;
    }

    .present-rotate span:before {
        margin-bottom: 0;
    }

    .present-rotate:before {
        background-size: cover;
        width: 140px;
        height: 140px;
        margin: -70px 0 0 -70px;
    }
}

@media only screen and (max-width:415px) {

    /* mobile-s */
    #last-list li {
        width: 100%;
        margin: 0 0 40px;
    }

    #last-list .thumb {
        height: 270px;
    }
}