/* about common */
section {
    padding: 140px 0;
}

/* about common */


/* visual section */
.visual-section {
    padding: 170px 0 120px;
    background-color: var(--colorPrimary100);
}

.visual-section .content-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.visual-section .title-group {
    align-items: flex-start;
}

.visual-section .desc {
    font-size: var(--fontSize2Xl);
    line-height: var(--lineHeight3Xl);
}

.visual-section .btn {
    margin-top: 20px;
}

.visual-img {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* about section1 */
.first-section .content-inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 60px 0;
}

.first-section .title-group {
    align-items: flex-start;
}

.banner-img {
    width: 100%;
    height: 380px;
    position: relative;
    border-radius: var(--borderRadiusLg);
    overflow: hidden;
}

.banner-img img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* about section2 */
.second-section {
    background-color: var(--colorPrimary100);
}

.second-section .content-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 60px 0;
}

.second-section .title-group {
    align-items: center;
}

.second-section .section-title {
    text-align: center;
}

.sec2-box {
    width: 100%;
}

.sec2-box ul {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 0 20px;
}

.sec2-box ul li {
    background-color: var(--colorWhite);
    box-shadow: var(--shadow400);
    border-radius: var(--borderRadiusLg);
    padding: 80px 20px 70px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 50px 0;
}

.sec2-box ul li p {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px 0;
    font-size: var(--fontSizeMd);
    line-height: var(--lineHeightLg);
}

.sec2-box ul li p span {
    font-size: var(--fontSize2Xl);
    line-height: var(--lineHeight3Xl);
    color: var(--colorBlack);
    font-weight: var(--fontWeightExtrabold);
}


/* about section3 */
.third-section {
    background: var(--gradient);
    position: relative;
}

img.bubble {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-50px);
    }

    100% {
        transform: translateX(-50%) translateY(0);
    }
}

.third-section .content-inner {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 40px 0;
    position: relative;
    z-index: 2;
}

.third-section .title-group {
    align-items: center;
}

.third-section .section-title {
    text-align: center;
}

.sec3-group {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 60px 0;
}

.tab-box ul {
    display: flex;
    height: 40px;
    border-radius: var(--borderRadius3Xl);
    overflow: hidden;
    background-color: var(--colorWhite);
}

.tab-box ul li {
    width: 90px;
    height: 100%;
    border-radius: var(--borderRadius3Xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fontSizeMd);
    color: var(--colorPrimary);
    font-weight: var(--fontWeightBold);
    cursor: pointer;
}

.img-box {
    width: max-content;
}

.img-box ul {
    width: 620px;
    height: 620px;
    justify-content: center;
    position: relative;
}

.img-box ul li {
    width: 100%;
    position: absolute;
    justify-content: center;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s;
}

.img-box ul li img {
    max-width: 100%;
}

.type-box,
.type-box ul {
    width: 100%;
}

.type-box ul li {
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 0 20px;
}

.type-group {
    background-color: var(--colorWhite);
    padding: 40px;
    box-sizing: border-box;
    border-radius: var(--borderRadiusLg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.type-group p {
    font-size: var(--fontSize4Xl);
    font-weight: var(--fontWeightExtrabold);
}

.type-group .btn {
    border: 1px solid var(--colorBlack);
    color: var(--colorBlack);
    background-color: var(--colorTransparent);
}

.type-group:hover .btn {
    background-color: var(--colorPrimary);
    color: var(--colorWhite);
    border: none;
}





/* responsive css */
@media screen and (min-width: 768px) and (max-width: 1279px) {

    /* about common */
    section {
        padding: 80px 0;
    }

    /* about common */


    /* visual section */
    .visual-section {
        padding: 140px 0 0;
    }

    .visual-section .content-inner {
        align-items: flex-end;
        flex-direction: column;
    }

    .visual-section .title-group {
        width: 100%;
    }

    .visual-section .desc {
        font-size: var(--fontSizeXl);
        line-height: var(--lineHeight2Xl);
    }

    .visual-img{
        margin-right: -40px;
    }
    
    .visual-img img{
        width: 426px;
    }


    /* about section1 */
    .first-section .content-inner {
        gap: 40px 0;
    }

    .banner-img {
        width: calc(100% + 80px);
        height: 300px;
        border-radius: 0;
        margin-left: -40px;
    }

    .banner-img img {
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


    /* about section2 */
    .second-section .content-inner {
        gap: 40px 0;
    }

    .sec2-box ul {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }


    /* about section3 */
    img.bubble {
        width: 100%;
        top: 190px;
    }

    .img-box ul {
        width: 500px;
        height: 500px;
    }

    .type-box ul li {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }

}

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

    /* about common */
    section {
        padding: 50px 0;
    }

    /* about common */


    /* visual section */
    .visual-section {
        padding: 96px 0 0;
    }

    .visual-section .content-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px 0;
    }

    .visual-section .title-group {
        width: 100%;
    }

    .visual-section .desc{
        font-size: var(--fontSizeBase);
        line-height: var(--lineHeightMd);
    }

    .visual-section .btn {
        width: 100%;
        margin-top: 15px;
    }

    .visual-img,
    .visual-img img {
        width: 100%;
    }


    /* about section1 */
    .first-section .content-inner {
        gap: 30px 0;
    }

    .banner-img {
        width: calc(100% + 40px);
        height: 160px;
        left: -20px;
        border-radius: 0;
    }


    /* about section2 */
    .second-section .content-inner {
        gap: 30px 0;
    }

    .sec2-box {
        width: 100%;
    }

    .sec2-box ul {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .sec2-box ul li {
        height: 160px;
        padding: 0;
        justify-content: center;
        gap: 12px 0;
    }

    .sec2-box ul li img{
        width: 55px;
    }

    .sec2-box ul li:first-child img{
        content: url(../../images/about/dataEncryptionIconMobile.png);
    }

    .sec2-box ul li:nth-child(2) img{
        content: url(../../images/about/networkStabilityIconMobile.png);
    }

    .sec2-box ul li:nth-child(3) img{
        content: url(../../images/about/multideviceSupportIconMobile.png);
    }

    .sec2-box ul li:last-child img{
        content: url(../../images/about/easyPaymentIconMobile.png);
    }

    .sec2-box ul li p {
        gap: 0;
        font-size: 0;
        line-height: 0;
    }

    .sec2-box ul li p span {
        font-size: var(--fontSizeMd);
        line-height: var(--lineHeightLg);
    }


    /* about section3 */
    img.bubble {
        width: 100%;
        top: 160px;
    }

    .third-section .content-inner {
        gap: 20px 0;
    }

    .sec3-group {
        gap: 50px 0;
    }

    .tab-box ul {
        height: 34px;
    }

    .tab-box ul li {
        width: 80px;
        height: 100%;
        font-size: var(--fontSizeBase);
    }

    .img-box ul {
        width: 360px;
        height: 360px;
    }

    .img-box ul li img {
        max-width: 100%;
    }

    .type-box ul li {
        grid-template-columns: 1fr;
        gap: 10px 0;
    }

    .type-group {
        padding: 30px 20px;
    }

    .type-group p {
        font-size: var(--fontSize2Xl);
        line-height: var(--lineHeight3Xl);
    }
}