/*------------------------------------*\
    
    Page Footer CSS

    Page footer...........The main page footer.

\*------------------------------------*/

.page-footer {
    margin-top: auto; /* used to affix footer at bottom of page */
}

.footer {
    margin-bottom: 55px;
}

@media (min-width: 768px) {
    .footer {
        margin-bottom: 0;
    }
}

.footer-upper {
    padding: 70px 0 65px;
}

@media (min-width: 1025px) {
    .footer-upper {
        padding: 85px 0 90px;
    }
}

.footer-sns {
	/*text-align: center;*/
    padding: 0;
}

@media (min-width: 768px) {
    .footer-sns {
        margin: 30px 0 0;
    }
}

@media (min-width: 1025px) {
    .footer-sns {
        padding: 0;
        margin: 32px 0 0;
    }   
}

.footer-sns li {
    display: inline-block;
    vertical-align: middle;
}

.footer-sns li:not(:last-child) {
    margin-right: 15px;
}

.footer-sns a {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background-color: var(--color-primary);
    transition: background 0.3s ease-in-out;
    font-size: 20px;
}

.footer-sns a i:before {
    color: #fff;
    transition: color 0.3s ease-in-out;
}

.footer-sns a svg {
    position: absolute;
    top: -17px;
    left: -5px;
    width: 100px;
    height: 100px;
    display: none;
}

.footer-sns a svg circle {
    stroke: #B754D1;
    stroke-dasharray: 235;
    stroke-dashoffset: 235;
    transition: stroke-dashoffset 0.3s ease-in-out;
}

@media (min-width: 1025px) {
    .footer-sns a:hover {
        background-color: var(--color-secondary);
    }

    .footer-sns a:hover i:before {
        color: var(--color-white);
    }

    .footer-sns a svg {
    }

    .footer-sns a:hover svg circle {
        stroke-dashoffset: 470;
    }
}

.footer-lower {
    padding: 16px 0;
}

@media (min-width: 1025px) {
    .footer-lower {
        padding: 0;
    }
}

.footer-lower__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-lower__links {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
}

@media (min-width: 767px) {
    .footer-lower__links {
        width: 100%;
    }
}

@media (min-width: 1025px) {
    .footer-lower__links {
        max-width: 100%;
        margin: 0;
        padding: 0;
        display: block;
    }
}

.footer-lower__links li {
    display: inline-block;
    vertical-align: middle;
    padding: 0;
    margin: 0;
}

@media (max-width: 767px) {
    .footer-lower__links li {
        width: calc(33.33% - 20px);
        text-align: center;
    }

    .footer__links ul li a {
        justify-content: center;
    }

    .footer-lower__links li:last-child {
        width: 100%;
        margin-top: 8px;
    }
}

.footer-lower__links li:not(:last-child) {
    margin-right: 20px;
}

@media (min-width: 1025px) {
    .footer-lower__links li:not(:last-child) {
        margin-right: 40px;
    }
}

.footer-lower__links li:before {
    display: none;
}

.footer-lower__links li a,
.footer-lower__links li p {
    font-size: 14px;
    font-weight: 300;
    color: var(--color-tertiary);
    margin: 0;
    position: relative;
    display: inline-block;
}

@media (min-width: 1025px) {
    .footer-lower__links li a,
    .footer-lower__links li p {
        font-size: 16px;
        font-weight: normal;    
    }
}

.back-to-top {
    display: inline-block;
    width: auto;
    border: 0;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 16px 25px;
    letter-spacing: 0.1em;
    border-radius: 0;
}

.back-to-top span {
    display: inline-block;
    vertical-align: middle;
}

.back-to-top i {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transform: rotate(-90deg);
    font-size: 14px;
    margin-left: 5px;
}

.back-to-top i:before {
    color: var(--color-white);
}

@media (max-width: 1025px) {
    .back-to-top {        
        width: 100%;
        border-radius: 6px;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .back-to-top {
        width: 220px;
        margin: 40px auto 0;
    }
}

.footer-upper__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media (max-width: 1025px) {
    .footer-upper__item:first-child {
        width: calc(40% - 32px);
    }

    .footer-upper__item:nth-child(2) {
        width: calc(60% - 32px);
    }

    .footer-upper__trusted-logo {
        margin-top: 35px;
    }
}

@media (max-width: 767px) {
    .footer-upper__trusted-logo {
        margin-top: 0;
    }

    .footer-upper__item:first-child {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-upper__item:nth-child(2) {
        width: 100%;
    }
}

@media (min-width: 1025px) {
    .footer-upper__item:not(:last-child) {
        margin-right: 30px;
    }
}

.footer__logo {
    display: block;
    width: 220px;
}

.footer__logo img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
    .footer__logo {
        width: 202px;
        margin: 0 auto;
    }

    .footer__links {
        text-align: center;
    }
}

.footer__links ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.footer__links ul li:before {
    display: none;
}

@media (min-width: 1025px) {
    .footer__links ul li:not(:last-child) {
        margin-bottom: 16px;
    }
}

.footer__links strong {
    color: var(--color-white);
    font-size: 20px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

@media (max-width: 1025px) {
    .footer__links:not(:last-child) {
        margin-bottom: 25px;
    }
}

@media (min-width: 1025px) {
    .footer__links strong {
        margin-bottom: 25px;
    }
}

.footer__links ul li a {
    position: relative;
}

.footer__links .menu-footer-menu-quick-links-container ul li a:before {
    content: "";
    display: block;
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.footer__links .menu-footer-menu-quick-links-container ul li a:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.footer__links a svg {
    position: absolute;
    top: -17px;
    left: -5px;
    width: 100px;
    height: 100px;
    display: none;
    z-index: 10;
}

.footer__links a svg circle {
    stroke: #B754D1;
    stroke-dasharray: 235;
    stroke-dashoffset: 235;
    transition: stroke-dashoffset 0.3s ease-in-out;
}

.footer__links ul li a,
.footer__links ul li p {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.footer__links .menu-footer-menu-quick-links-container ul li a {
    display: inline-block;
}

.footer__links ul li a i {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    position: relative;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: background 0.3s ease-in-out;
}

.footer__links ul li a i:before {
    color: #fff;
    transition: color 0.3s ease-in-out;
}

.footer__links .footer-sns li a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__links .footer-sns li a i {
    margin: 0;
    top: 0;
}

@media (max-width: 1025px) {
    .footer__links .footer-sns {
        margin-top: 25px;
    }
}

.footer__links ul li a br,
.footer__links ul li p br {
    display: none;
}

.footer__links ul li {
    display: inline-block;
    vertical-align: top;
}

@media (max-width: 1025px) {
    .footer__links ul li:not(:last-child) {
        margin-right: 20px;
    }
}

@media (max-width: 767px) {
    .footer__links ul li {
        display: block;
    }

    .footer__links ul li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (min-width: 1025px) {
    .footer__links ul li a br,
    .footer__links ul li p br {
        display: block;
    }

    .footer__links ul li a,
    .footer__links ul li p {
        font-weight: normal;
        font-size: 18px;
        line-height: 1.2em;
    }

    .footer__links ul li {
        display: block;
    }

    .footer__links a svg {
    }

    .footer__links a:hover svg circle {
        stroke-dashoffset: 470;
    }

    .footer__links a:hover .icon {
        background-color: var(--color-secondary);
    }

    .footer__links a:hover i:before {
        color: var(--color-white);
    }

    /*.footer__links ul li a:before,*/
    .footer-lower__links li a:before {
        content: "";
        display: block;
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--color-white);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s ease-in-out;
    }

    .footer-lower__links li a:before {
        background-color: var(--color-white);
       
    }
    
    .footer__links ul li a:hover:before,
    .footer-lower__links li a:hover:before {
        transform: scaleX(1);
        transform-origin: left;
    }
}

.footer__links ul li i:before {
    color: var(--color-white);
}

@media (min-width: 1025px) {
    .footer-upper__trusted-logo {
        width: 30%;
    }
}

.footer-upper__trusted-logo ul {
    padding: 0;
    margin: 0 -14px;
}

.footer-upper__trusted-logo ul li {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 14px;
    margin-left: 14px;
}

@media (min-width: 1025px) {
    .footer-upper__trusted-logo ul {
        margin: 0;
    }
    .footer-upper__trusted-logo ul li {
        margin-bottom: 20px;
        margin-left: 20px;
    } 
}

.footer-upper__trusted-logo ul li a {
    display: block;
}

.footer-upper__trusted-logo ul li img {
    width: 62px;
    height: auto;
}

@media (min-width: 768px) {
    .footer-upper__trusted-logo ul li img {
        width: 65px;
        height: auto;
    }
}

@media (min-width: 1025px) {
    .footer-upper__trusted-logo ul li img {
        width: 94px;
        height: auto;
    }
}

.footer-mobile__item {
    text-align: center;
}

.footer__form {
    max-width: 450px;
    margin: 50px auto 0;
    text-align: center;
}

@media (min-width: 768px) {
    .footer__form {
        text-align: left;
        margin: 30px 0 0;
    }
}

@media (min-width: 1025px) {
    .footer__form {
        margin: 0 0 30px auto;
    }
}

.footer__form p {
    color: var(--color-white);
}

.footer__form strong {
    color: var(--color-white);
    font-size: 20px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

@media (min-width: 1025px) {
    .footer__form strong {
        margin-bottom: 25px;
    }
}

.footer__form form {
    display: flex;
    align-self: center;
    width: 100%;
}

.footer__form label {
    display: block;
    flex: 1;
}

.footer__form input {
    width: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .footer__form input {
        padding: 13px 15px;
    }
}

.footer__form .btn {
    padding: 15px 30px;
    width: auto;
    min-width: auto;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.footer__form .btn:before {
    left: -28%;
}

@media (max-width: 1024px) {
    .footer__form .btn:before {
        display: none;
    }

    .footer__form .btn:after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 0;
        height: 0;
        border-top: 8px solid transparent;
        border-right: 0;
        border-bottom: 8px solid transparent;
        border-left: 8px solid var(--color-white);
    }
}

.footer__form .btn span:after {
    position: relative;
    right: 3px;
    top: 1px;
}

@media (min-width: 1025px) {
    .footer__form .btn span:after {
        display: none;
    }
}

@media (max-width: 1024px) {
    .footer__form .btn {
        font-size: 0;
        padding: 0;
        height: 51px;
        width: 51px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}