@charset "UTF-8";

@media screen and (max-width:1450px){
    #aside {
        right: 10px;
    }
}

/* 태블릿 */

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

    #header .header-inner > .nav,
    #aside {
        display: none;
    }

    #header .header-btn,
    #header .header-menu {
        display: block;
    }

    /* ============== tab ==============  */
    .scroll {
        margin-left: calc(var(--main-p) * -1);
        width: 100vw;
        padding: 0 var(--main-p);
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        --webkit-overflow-scrolling: touch;
    }
/* 
    .scroll::-webkit-scrollbar {
        display: none;
    } */

    .tab-list {
        width: fit-content;
        /* width: auto; */
        margin: 0;
    }

    .tab-list li {
        flex: 0 0 auto;
    }

    /* ============== section-02 ==============  */
    .section-02 h2 {
        margin-bottom: 2.9375rem;
    }

    .section-02 .about-01 {
        display: block;
    }

    .section-02 .about-01 .about-01-img {
        margin-right: 0;
        margin-bottom: 2.1875rem;
        width: 100%;
        height: 15rem;
        background-image: url('../images/img-about-01.png');
        border-radius: 1.25rem;
    }

    .section-02 .about-01 .about-01-txt {
        line-height: 1.75rem;
    }

    .section-02 .about-01 .about-01-txt ul {
        margin-top: 2.5rem;
    }

    .section-02 .about-01 .about-01-txt ul li {
        margin-bottom: 1.375rem;
    }

    .section-02 .about-01 .about-01-txt ul li h3 {
        width: 7.375rem;
        line-height: 1.75rem;
    }

    .section-02 .about-04 .about-04-txt {
        width: 100%;
    }

    .section-02 .about-04 .about-04-txt li h3 {
        flex: 1 1 auto;
        margin-right: 0;
        width: 100%;
    }

    .section-02 .about-04 .about-04-txt li p {
        display: none;
    }

    /* ============== section-03 ==============  */

    .section-03 .hover-box {
        display: block;
    }

    .section-03 .hover-box .hover-tit {
        display: block;
        margin-right: 0;
    }

    .section-03 .hover-box .hover-tit h2 {
        margin-bottom: 8.875rem;
        text-align: left;
    }

    .section-03 .hover-box .hover-tit h2 br,
    .section-03 .hover-box .hover-tit .hover-partner {
        display: none;
    }
}

/* 모바일 */

@media screen and (max-width: 767px) {
    /* ============== variables ==============  */
    :root{
        /* padding */
        --main-p: 3.125rem;
        --sub-p: 3.125rem;

    }

    .pc { display: none !important;}
    .mo { display: block !important;}

    /* ============== header ==============  */

    #header {
        padding-top: 1.375rem;
    }

    #header h1 {
        width: 10.625rem;
        height: 4.0625rem;
    }

    /* ============== footer ==============  */
    #footer {
        height: 7.5rem;
    }

    #footer p {
        font-size: var(--font-size-24);
    }

    /* ============== tab ==============  */

    .scroll {
        margin-bottom: 7rem;
    }

    .tab-list li {
        margin-right: 1.25rem;
        padding: 0 1.75rem;
        height: 4.5rem;
        border-radius: 50em;
        font-size: var(--font-size-32);
        font-weight: var(--font-w-bold);
        color: var(--gray-200);
    }

    /* ============== section ==============  */

    .section h2 {
        font-size: var(--font-size-80);
        letter-spacing: -0.01em;
    }
    
    /* ============== section-01 ==============  */
    
    .section-01 {
        background-image: url('../images/bg-section-01-m.png');
    }

    .section-01 .fp-tableCell {
        padding-top: 22.25rem;
    }
    
    .section-01 h2 {
        font-size: var(--font-size-32);
    }
    
    .section-01 h2 + p {
        font-size: var(--font-size-42);
    }


    /* ============== section-02 ==============  */
    .section-02 .container {
        padding-top: 3.3125rem;
        height: 100%;
        overflow: hidden;
    }

    .section-02 .about-01 .about-01-txt {
        font-size: var(--font-size-26);
        line-height: 2.25rem;
    }

    .section-02 .about-01 .about-01-txt ul li h3 {
        width: 7.5rem;
        line-height: 1.625rem;
    }

    .section-02 .about-01 .about-01-txt ul li p span {
        position: absolute;
        top: 0;
        left: 0;
        height: 2.25rem;
        padding: 0 .625rem;
        margin-right: 0;
        margin-bottom: 0;
        font-size: var(--font-size-18);
    }

    .section-02 .about-01 .about-01-txt ul li:last-child p {
        position: relative;
        padding-left: 4.375rem;
    }

    .section-02 .about-02 .about-02-tit {
        padding: 1.875rem;
        margin-bottom: 5.625rem;
        border-radius: 1.875rem;
    }

    .section-02 .about-02 .about-02-tit li {
        display: block;
        max-width: initial;
        padding: 2.75rem 2.0625rem;
        border-radius: 1.25rem;
        font-size: var(--font-size-26);
        text-align: center;
    }

    .section-02 .about-02 .about-02-tit li + li {
        margin-top: 1.25rem;
    }

    .section-02 .about-02 .about-02-tit li h3 {
        padding-right: 0;
        padding-bottom: 3.3125rem;
    }

    .section-02 .about-02 .about-02-tit li h3::before {
        content: '';
        display: block;
        position: absolute;
        top: initial;
        bottom: 1.0625rem;
        right: 50%;
        width: 1px;
        height: 1.25rem;
    }

    .section-02 .about-02 .about-02-txt {
        display: flex;
    }

    .section-02 .about-02 .about-02-txt li img {
        max-height: 3.3125rem;

    }

    .section-02 .about-02 .about-02-txt li h3 {
        margin: 1.625rem 0;
        font-size: var(--font-size-30);
        line-height: 1;
    }

    .section-02 .about-02 .about-02-txt li p {
        display: none;
    }

    .section-02 .about-04 {
        display: block;
    }

    .section-02 .about-04 .about-04-img {
        max-width: 25.8125rem;
        margin: 0 auto;
        margin-bottom: 4.5rem;
    }

    .section-02 .about-04 .about-04-txt li {
        margin-bottom: 4rem;
        line-height: 1;
    }

    .section-02 .about-04 .about-04-txt li h3 {
        padding-top: 0;
        padding-left: 2.25rem;
        font-size: var(--font-size-26);
    }

    .section-02 .about-04 .about-04-txt li h3::before {
        top: 50%;
        left: 0;
        margin-top: -0.125rem;
        width: 1.25rem;
        height: .25rem;
    }

    .section-02 .about-05 img {
        max-width: 50vw;
    }


    /* ============== section-03 ==============  */

    .section-03 .container {
        padding-top: 3.3125rem;
    }

    .section-03 .fp-tableCell {
        vertical-align: text-top;
    }

    .section-03 .hover-box .hover-tit h2 {
        margin-bottom: 8.875vh;
    }

    .section-03 .hover-box .hover-list-box {
        padding: 2.5rem 1.25rem;
        border-radius: 1.25rem;
        border: 1px solid #fff;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .section-03 .hover-box .hover-list {
        padding-right: .625rem;
        max-height: calc(100vh - 43.75rem);
        height: auto;
    }

    .section-03 .hover-box .hover-list li {
        margin-bottom: 3.375rem;
        width: 100%;
    }

    .section-03 .hover-box .hover-list li h3 {
        padding-right: 0;
        margin: 0 auto;
        font-size: var(--font-size-37);
        font-weight: var(--font-w-semibold);
    }

    .section-03 .hover-box .hover-list li h3::after{
        display: none !important;
    }

    .section-03 .hover-box .hover-list li div {
        font-size: var(--font-size-26);
    }

    .section-03 .hover-box .hover-list li div {
        font-size: var(--font-size-26);
        line-height: 1.2;
    }

    .section-03 .hover-box .hover-list li div h4 {
        font-size: var(--font-size-28);
    }

    .section-03 .hover-box .btn-hover {
        display: block;
        width: fit-content;
        margin: 0 auto;
        margin-top: 6.25rem;
        padding: 1.25rem;
        font-size: var(--font-size-28);
        color: var(--white);
    }

    .section-03 .hover-box .btn-hover::after {
        content: '';
        display: block;
        width: 3rem;
        height: 3rem;
        margin: 0 auto;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: top center;
        background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 8L12 13L17 8' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 13L12 18L17 13' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }

    /* ============== section-04 ==============  */

    .section-04 .portfolio-list{
        margin: 0 -0.625rem;
        margin-top: 5.2395vh;
        width: calc(100% + 1.25rem);
    }
    .section-04 .portfolio-list .portfolio-item {
        flex-basis: 50%;
        padding: 0 .625rem;
        margin: .625rem 0;
    }
}

@media screen and (max-width: 750px) {
    html {
        font-size: 2.1333vw;
    }
}