.footer {
    width: 100vw;
    border-top-right-radius: 40px;
    border-top-left-radius: 40px;
    height: auto;
    background-color: var(--dark-gray);
    padding-bottom: 87px;
    padding-top: 47px;
    overflow: hidden;
    position: absolute;
    bottom: -500px;
	
}

.footer_item {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    justify-content: space-between;
}

.container_footer {
    width: calc(100vw - 200px);
    max-width: 1240px;
    margin: 0 auto;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex_foot {
    align-items: start;
}

.text_footer {
    color: var(--light-gray);
    opacity: 0.8;
}

.trans_footer a {
    border-bottom: var(--light-gray-opacity05) 2px solid;
    transition: all 0.5s;
    margin-bottom: 20px;
}

.logo_footer {
    /* width: clamp(115px, 5vw, 9.2%); */
    /* object-fit: cover; */
    margin-bottom: 52px;
}

.footer_link {
    display: flex;
    flex-wrap: wrap;
    width: 170px;
    justify-content: space-between;
    gap: 10px;
}

.footer_link_item,
.footer_link_item a {
    width: 77px;
    object-fit: contain;
    height: 70px;
}

.footer_link_item a {
    display: block;
}
.l1 {
    background: url("/img/link1.webp") no-repeat;
}

.l2 {
    background: url("/img/link2.webp") no-repeat;
}

.l3 {
    background: url("/img/link3.webp") 50% 50% no-repeat;
}

.l4 {
    background: url("/img/link4.webp") 50% 50% no-repeat;
}

.footer_text1 {
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 20px;
    color: var(--white);
}

.footer_text1 a {
    color: var(--white);}

.footer_text2 {
    font-weight: 400;
    opacity: 0.8;
    line-height: 144%;
    color: var(--light-gray);
    margin-bottom: 10px;
}

.footer_text2 a {
    color: var(--light-gray);
}

.footer_text-end {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: var(--light-gray);
    opacity: 0.8;
    margin-top: 50px;
    padding: 0 100px;
    text-align: left;
}

.transition_soc-item a {
    color: var(--text-turquoise-opacity08);
    display: flex;
    width: 105px;
    align-items: center;
    height: 15px;
    /* border-bottom: var(--turquoise-opacity05) 2px solid; */
    transition: all 0.5s;
}

.transition_soc-item-text {
    width: 85px;
}

.transition_soc-item .soc2 {
    width: 95px;
}

.a_color_f {
    transition: all 0.4s;
}

.foot_logo {
    margin-bottom: 20px;
    flex-direction: column;
    gap: 20px;
}

.f_map a {
    color: var(--white);
}

.no_wrap {
    text-wrap: nowrap;
}

.no_icon::before {
    content: "" !important;
    margin-right: 0 !important;
}

.footer_img {
    width: 130px;
}

.margin_spec {
    margin-top: 25px;
}

.logo_rest {
    height: 120px;
    margin-top: 20px;
}

@media only screen and (min-width: 1400px) {
    .footer_text-end {
        text-align: center;
    }
}

@media (hover: hover) and (pointer: fine) {
    .trans_footer a:hover {
        transition: all 0.5s;
        border-bottom: var(--turquoise-opacity05) 2px solid;
    }

    .transition_soc-item a:hover {
        transition: all 0.5s;
        color: var(--black);
        border-color: var(--black);
    }

    .transition_soc-item svg:hover {
        fill: var(--dark-gray);
    }

    .a_color_f:hover,
    .text_footer:hover {
        color: var(--white);
        transition: all 0.4s;
    }
}

@media screen and (max-width: 1150px) and (min-width: 641px) {
    .logo_footer {
        margin-right: 80px;
    }

    .footer_item:nth-child(1) {
        grid-area: A;
        width: 450px;
        height: 120px;
        flex-wrap: wrap;
    }

    .footer_item:nth-child(2) {
        grid-area: B;
        justify-content: start;
        width: 200px;
    }

    .footer_item:nth-child(3) {
        grid-area: C;
        width: 200px;
    }

    .footer_item:nth-child(4) {
        grid-area: D;
        width: 400px;
    }

    .footer_item:nth-child(5) {
        grid-area: E;
        width: 200px;
    }

    .footer_item:nth-child(6) {
        grid-area: F;
        width: 200px;
    }

    .container_footer {
        width: 600px;
        display: grid;
        row-gap: 50px;
        grid-template-areas:
            "A A A A   A A A A   C C C ."
            ". F . .   B B B B   C C C ."
            "E E E E   D D D D   D D D D";
    }

    .footer_link {
        width: 100%;
        flex-wrap: nowrap;
    }

    .cf_map {
        margin-top: 20px;
    }

    .foot_logo {
        height: 80px;
    }

    .margin_spec {
        margin-top: 45px;
    }
}

@media screen and (max-width: 640px) {
    .container_footer {
        width: calc(100vw - 20px);
        margin: 0 auto;
        height: auto;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .footer_item {
        width: 70%;
        margin-bottom: 25px;
    }

    .footer_item:nth-child(2) {
        order: 1;
    }

    .footer_item:nth-child(4) {
        display: none;
    }

    .footer_item:nth-child(5) {
        order: 1;
    }

    .footer_item:nth-child(6) {
        order: 1;
    }

    .footer_link_item,
    .footer_link_item a {
        height: auto;
    }

    .footer_text-end {
        padding: 0 50px 0 16%;
        margin: 0;
    }

    .cf_map {
        display: flex;
        align-items: start;
        width: 70%;
    }

    .foot_logo {
        margin-bottom: 20px;
        display: flex;
        align-items: start;
        width: 70%;
    }
}

@media screen and (min-width: 1900px) {
    .footer {
        height: calc(410px * var(--scale));
        padding-top: calc(47px * var(--scale));
        border-top-right-radius: calc(40px * var(--scale));
        border-top-left-radius: calc(40px * var(--scale));
    }

    .container_footer {
        height: calc(212px * var(--scale));
        max-width: calc(1240px * var(--scale));
    }

    .footer_item {
        transform-origin: top left;
        transform: scale(var(--scale));
    }

    .footer_text-end {
        margin-top: calc(50px * var(--scale));
        font-size: calc(12px * var(--scale));
    }
}
