.ap1 {
    width: 100%;
    position: relative;
}

.ap1>img {
    width: 100%;
    object-fit: contain;
}

.ap1Content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #fff;
    font-size: 2rem;
}

.cp1 {
    width: 100%;
    position: relative;
    padding: 0 3%;
    box-sizing: border-box;
}

.cp1Content {
    width: 100%;
    padding: 5% 10%;
    box-sizing: border-box;
}

.cp1Title>h2 {
    font-size: 2.66666rem;
    color: #373737;
    margin: 0 0 5% 0;
}

.cp1Info>h3 {
    color: #646363;
    font-size: 1.333333333rem;
}

.cp1Info>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cp1InfoItem {
    width: 45%;
    display: flex;
    align-items: center;
    margin-bottom: 2%;
}

.cp1InfoItem>svg {
    margin-right: 2%;
}

.cp2 {
    width: 100%;
    position: relative;
    padding: 0 3%;
    box-sizing: border-box;
}

.cp2Mask {
    width: 100%;
    height: 40%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #f3f3f3;
}

.cp2Content {
    width: 100%;
    padding: 0% 10% 5% 10%;
    box-sizing: border-box;
}


.map {
    width: 100%;
    height: 700px;
    z-index: 2;
    box-shadow: 0 5px 10px 5px rgba(0, 0, 0, 0.2);
}


.ContactBox {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* overflow: hidden; */
}

.ContactBox>p:nth-child(1) {
    font-size: 2.66666rem;
    color: #333333;
    margin: 0 0 1% 0;
    font-weight: bold;
}

.ContactBox>p:nth-child(2) {
    font-size: 0.888888889rem;
    word-spacing: 2px;
    color: #626262;
    margin-bottom: 1%;
}

.contactBox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.inputBox {
    width: calc(100%/2.2);
    margin-bottom: 2%;
    position: relative;
}

.inputBox>p {
    font-weight: bold;
    color: #626262;
    font-size: 0.9rem;
    margin-bottom: 1%;
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: all .3s ease;
    white-space: nowrap;
}

.inputBox>p::before {
    content: '';
    width: 100%;
    height: 50%;
    position: absolute;
    top: 40%;
    left: 0;
    background-color: #f3f3f3;
    z-index: -1;
}

.inputBox:has(input:focus)>p,
.inputBox:has(textarea:focus)>p {
    top: 0;
}

.AreaBox>p {
    top: 10%;
    left: 1%;
}

.verify>p {
    left: 1%;
}

.contactInput {
    width: 100%;
    height: 3vw;
    border: 1px solid #D5D5D5;
    background-color: #f3f3f3 !important;
    padding: 1% 3%;
    outline: none;
    box-sizing: border-box;
}

.contactInput:focus {
    border: 1px solid #818181;
}

.AreaBox {
    width: 100%;
}

.contactArea {
    width: 100%;
    border: 1px solid #D5D5D5;
    background-color: #f3f3f3 !important;
    padding: 1%;
    outline: none;
    box-sizing: border-box;
}

.contactArea:focus {
    border: 1px solid #818181;
}

.submit {
    border: 1px solid #d60000;
    color: #d60000;
    padding: 1% 3%;
    border-radius: 50px;
    font-size: 1vw;
    transition: all .3s ease;
    background-color: transparent;
}

.submit:hover {
    color: #fff;
    cursor: pointer;
    background-color: #d60000;
}

.required>p::after {
    content: '*';
    color: red;
    margin-left: 5px;
}

.verify {
    width: 100%;
    position: relative;
}

.verify>.contactArea {
    width: calc(100%/2.2);
    height: 3vw;
}

.p_code_img {
    width: 30%;
    object-fit: contain;
    position: absolute;
    top: 0;
    right: 0;
}

.cp3Content {
    width: 100%;
    padding: 5% 10%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .ap1 {
        height: 40vh;
    }

    .ap1>img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .submit {
        height: 5vw;
        font-size: 2vw;
    }

    .verify>.contactArea {
        height: 5vw;
    }

    .map {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .inputBox {
        width: 100%;
    }

    .verify>.contactArea {
        height: 7vw;
    }

    .contactInput {
        height: 8vw !important;
    }

    .submit {
        height: 7vw;
        font-size: 3vw;
    }

    .p_code_img {
        width: 50%;
    }

    .cp1Info>div {
        flex-direction: column;
        align-items: start;
    }

    .cp1InfoItem {
        width: 100%;
    }

    .cp1InfoItem:nth-child(4)>svg {
        width: 45px;
        height: 45px;
    }
}