@import "style.css";

main {
    width: 100%;
    background-color: #f8f8f8;
    padding: 0 0 60px;
}

.bigimg {
    width: 100vw;
    height: calc(524/1920 * 100vw);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bigimg img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.contact-content-box {
    width: 65vw;
    margin: -370px auto 0;
    padding: 30px 0 0;
    background-color: #fff;
    border-radius: 28px;
    position: relative;
    z-index: 1;
}

.contact-content-box .contact-tit {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 50px auto 90px;
    position: relative;
}

.contact-content-box .contact-tit::after {
    content: "";
    width: 90%;
    height: 1px;
    background-color: #E5E5E5;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.contact-content-box .contact-tit .en {
    font-size: 34px;
    font-weight: 700;
    color: var(--color-1);
}

.contact-content-box .contact-tit .cn {
    font-size: 30px;
    font-weight: 500;
    color: #212529;
}

.contact-content-box .contact-content {
    width: 960px;
    font-size: 16px;
    color: var(--color-2);
    line-height: 2;
    margin: 0 auto;
}

.contact-content-box .contact-content section {
    padding-bottom: 20px;
}

.contact-content-box .contact-content section .sect-tit {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.contact-content-box .contact-content section .sect-row {
    font-size: 16px;
    color: #333;
}

.contact-content-box .contact-content section img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.contact-content-box .contact-content section .sect-imgspan {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row nowrap;
    gap: 10px;
    padding: 15px 0;
}

.contact-content-box .contact-content section .sect-imgspan img {
    width: 30px;
    height: 30px;
}

@media screen and (max-width: 1200px) {
    .contact-content-box {
        padding: 30px 20px 0;
        margin: -160px auto 0;
    }

    .contact-content-box .contact-content {
        max-width: 100%;
    }

    .contact-content-box .contact-content section img {
        max-width: 100%;
    }
}

@media screen and (max-width: 1680px) and (min-width: 1200px) {
    .contact-content-box {
        margin: -180px auto 0;
    }

    .contact-content-box .contact-content {
        width: 86%;
    }
}

@media screen and (max-width: 767px) {
    .contact-content-box {
        width: 86vw;
        padding: 1rem 1rem 0;
        margin: -3rem auto 0;
    }

    .contact-content-box .contact-tit {
        margin: 0.8rem auto;
    }

    .contact-content-box .contact-tit .en {
        font-size: 1.7rem;
        line-height: 1.1;
    }

    .contact-content-box .contact-tit .cn {
        font-size: 1.5rem;
    }

    .contact-content-box .contact-tit::after {
        bottom: 0rem;
    }

    .contact-content-box .contact-content {
        font-size: 0.875rem;
    }

    .contact-content-box .contact-content section {
        padding-bottom: 1rem;
    }

    .contact-content-box .contact-content section .sect-tit {
        font-size: 1rem;
    }

    .contact-content-box .contact-content section .sect-row {
        font-size: 0.875rem;
    }

    .contact-content-box .contact-content section .sect-imgspan {
        gap: 0.3rem;
        padding: 0.5rem 0;
    }

    .contact-content-box .contact-content section .sect-imgspan img {
        width: 1.6rem;
        height: 1.6rem;
    }
}