/* footer */
.ft_top {
    background-color: #3c63b2;
    padding-top: 129px;
    padding-bottom: 129px;
    color: #fff;
}
.ft_top_wrap {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
.ft_left > div {
    display: flex;
    align-items: flex-start;
}
.ft_tel > h3 {
    font-size: 27px;
    font-weight: 500;
    margin-left: 16px;
    margin-right: 71px;
    color: #ffffff;
}
.ft_tel > span {
    font-size: 45px;
    font-weight: 700;
    color: #fdffbf;
}
.ft_time {
    margin-top: 67px;
}
.ft_time > h3 {
    font-size: 27px;
    font-weight: 500;
    margin-left: 17px;
    margin-right: 71px;
    color: #ffffff;
}
.ft_time > div > div {
    display: flex;
}
.ft_time > div > div > p:nth-child(1) {
    font-size: 27px;
    font-weight: 500;
    line-height: 46px;
    color: #f2f2f2;
    margin-right: 28px;
}
.ft_time > div > div > p:nth-child(2) {
    font-size: 27px;
    font-weight: 400;
    line-height: 46px;
    color: #ffffff;
    margin-right: 13px;
}
.ft_time > div > div > p:nth-child(2) > span {
    color: #ffffff;
}
.ft_time > div > div > span {
    font-size: 23px;
    font-weight: 300;
    color: #ffffff;
    line-height: 46px;
}
.ft_time > div > div > span > img {
    margin-right: 8px;
}
.ft_time > div > span {
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
    margin-top: 28px;
    display: inline-block;
}
.ft_time > div > span:first-of-type {
    margin-right: 41px;
}
.ft_right > h3 {
    font-size: 22px;
    font-weight: 700;
    color: #f2f2f2;
    margin-bottom: 16px;
}
.ft_right > div > a {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    width: 297px;
    line-height: 73px;
    background-color: #3e9a24;
    display: inline-block;
    transition: all 0.2s;
}
.ft_right > div > a:last-child {
    background-color: #de9b27;
    margin-left: 11px;
}

.ft_right > div > a:hover {
    opacity: 0.7;
}
.ft_right > div > a > img {
    margin-right: 8px;
}

.ft_right > img {
    display: block;
    margin-top: 45px;
}
.ft_bot {
    padding-top: 48px;
    padding-bottom: 42px;
    text-align: center;
}
.ft_bot > p {
    margin-top: 21px;
    font-size: 15px;
    font-weight: 400;
    color: #727272;
}
.ft_bot > p > span {
    margin-right: 38px;
}
.ft_bot > p > span:last-child {
    margin-right: 0px;
}

/* quick_menu */
.quick_menu {
    position: fixed;
    z-index: 101;
    bottom: 51px;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../img/quick_menu.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 70px;
    height: 397px;
}
.quick_menu > a {
    margin-bottom: 14px;
    transition: all 0.2s;
}
.quick_menu > a:hover {
    transform: translateY(-5px);
}

/* modal */
html.modal-active,
body.modal-active {
    overflow: hidden;
}
.modal-container {
    position: fixed;
    display: table;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: scale(0);
    z-index: 99999;
}
.modal-container.on {
    transform: scaleY(0.01) scaleX(0);
    animation: unfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container.on .modal-background .modal {
    transform: scale(0);
    animation: zoomIn 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container.on.out {
    transform: scale(1);
    animation: unfoldOut 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container.on.out .modal-background .modal {
    animation: zoomOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-container .modal-background {
    display: table-cell;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    vertical-align: middle;
}
.modal-container .modal-background .modal {
    display: inline-block;
    border-radius: 30px;
    font-weight: 300;
    position: relative;
    width: var(--layoutwidth);
    height: 90vh;
}
.modal-container .modal-background .modal .inner {
    height: 100%;
}
.modal-container .modal-background .modal img {
    width: 100%;
}
.modal-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 3rem;
    line-height: 1em;
    cursor: pointer;
}
.viewMore {
    cursor: pointer;
}

@keyframes unfoldIn {
    0% {
        transform: scaleY(0.005) scaleX(0);
    }
    50% {
        transform: scaleY(0.005) scaleX(1);
    }
    100% {
        transform: scaleY(1) scaleX(1);
    }
}
@keyframes unfoldOut {
    0% {
        transform: scaleY(1) scaleX(1);
    }
    50% {
        transform: scaleY(0.005) scaleX(1);
    }
    100% {
        transform: scaleY(0.005) scaleX(0);
    }
}
@keyframes zoomIn {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes zoomOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@media (max-width: 1580px) {
    .modal-container .modal-background .modal {
        width: 90%;
        padding: 70px 7vw;
        padding-right: 4vw;
    }
    .modal-close {
        top: 10px;
        right: 30px;
    }
}
