@charset "utf-8";

.about_tab {
    /* max-width: 1350px; */
    margin: 0 auto;
    /* padding: 0 20px; */
    margin-bottom: 50px;
    margin-top: 30px;
    /* height: 173px; */
}

.about_tab ul {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    /* padding: 0 30px; */
}

.about_tab li {
    min-width: 200px;
    text-align: center;
}

.about_tab li a {
    display: block;
    padding: 66px 30px;
    font-size: 24px;
    color: #666;
    position: relative;
    font-weight: 700;
}

.about_tab li.active a {
    color: var(--primary-color);
    font-weight: 700;
}

.about_tab li.active a:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}


.company_wrap {
    max-width: 1350px;
    margin: 0 auto;
    padding: 80px 0px;
    position: relative;
    background-image: url(../../img/bg-logo-w.svg);
    background-repeat: no-repeat;
    background-position: right top;
   }

.about_title {
    text-align: center;
    margin-bottom: 60px;
}

.about_title h2 {
    font-size: 60px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
}

.company_intro {
    margin-bottom: 80px;
    /* padding: 0 26px; */
}

.greeting {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}

.intro_text p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 20px;
    word-break: keep-all;
}

.sign {
    text-align: right;
    font-weight: 500;
    margin-top: 40px;
}

.company_info {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.info_box {
    width: 311px;
    height: 291px;
    background: #F8F8F8;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.info_box h3 {
    font-size: 20px;
    color: black;
    font-weight: 500;
    margin-bottom: 10px;
}

.info_box p {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .about_tab {
        margin-bottom: 20px;
        padding: 0 16px;
    }

    .about_tab li {
        min-width: auto;
        flex: 1;
    }

    .about_tab li a {
        padding: 12px 15px;
        font-size: 16px;
    }
    .about_title h2 {
        font-size: 28px;
    }
    
    .company_wrap {
        padding: 30px 16px;
        background: none;
    }

   .info_box:nth-child(1),
.info_box:nth-child(4) {
    background: #fff;
}


    .greeting {
        font-size: 20px !important;
        margin-bottom: 20px;
    }

    .company_info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }

    .company_info p{
        font-size: 20px !important;
    }

    .company_info h3{
        font-size: 14px !important;
    }

    .info_box {
        width: calc(50% - 5px);
        max-width: none;
        height: 175px;
    }
}
