﻿
@media screen and (max-width: 767px) {
    footer {
        width: 100%;
        background: url('../../images/20230529- 鈺贊網頁首頁素材-21.webp') no-repeat;
        background-size: 100% 100%;
        background-position: left bottom;
        color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    footer > .container {
        width: var(--page-width);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    footer > .container > .content {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 0px;
    }

    footer > .container > .content > .up {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 40px;
    }

    footer > .container > .content > .up > nav { width: 100%; }
    footer > .container > .content > .up > nav > ul {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 20px;
    }
    footer > .container > .content > .up > nav a { box-sizing: border-box; color: #ffffff; display: block; font-weight: 700; white-space: nowrap; }
    footer > .container > .content > .up > nav a:link { color: #ffffff; }
    footer > .container > .content > .up > nav a:hover { color: #ffffff; }
    footer > .container > .content > .up > nav a:active { color: #ffffff; }
    footer > .container > .content > .up > nav > ul > li { display: inline-block; position: relative; }
    footer > .container > .content > .up > nav > ul > li > a { letter-spacing: 2px; padding: 0px 10.65px; }

    footer > .container > .content > .center {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
        margin-bottom: 40px;
    }

    footer > .container > .content > .center > .left {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    footer > .container > .content > .center > .left > img:nth-child(1) {
        max-width: 140px;
    }

    footer > .container > .content > .center > .left > img:nth-child(2) {
        max-width: 110px;
    }

    footer > .container > .content > .center > .left > img + img {
        margin-left: 40px;
    }

    footer > .container > .content > .center > .right {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 40px;
    }

    footer > .container > .content > .center > .right > .info-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    footer > .container > .content > .center > .right > .info-box > .box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 5px;
    }

    footer > .container > .content > .center > .right > .info-box > .box > span {
        color: #ffffff;
    }

    footer > .container > .content > .center > .right > .info-box > .box > span + span {
        margin-top: 5px;
    }

    footer > .container > .content > .center > .right > .info-box > span + span {
        margin-top: 5px;
    }

    footer > .container > .content > .down {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
    }

    footer > .container > .content > .down > span {
        line-height: 26px;
    }

    footer > .container > .content > .down > span:nth-child(1) {
        margin-bottom: 5px;
    }
}

@media screen and (min-width: 768px) {
    footer {
        width: 100%;
        background: url('../../images/20230529- 鈺贊網頁首頁素材-21.webp') no-repeat;
        background-size: 100% 100%;
        background-position: left bottom;
        color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    footer > .container {
        max-width: var(--page-max-width);
        width: var(--page-width);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    footer > .container > .content {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 0px;
    }

    footer > .container > .content > .up {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 120px;
    }

    footer > .container > .content > .up > nav { width: calc(50% - 10px); }
    footer > .container > .content > .up > nav a { box-sizing: border-box; color: #ffffff; display: block; font-weight: 700; }
    footer > .container > .content > .up > nav a:link { color: #ffffff; }
    footer > .container > .content > .up > nav a:hover { color: #ffffff; }
    footer > .container > .content > .up > nav a:active { color: #ffffff; }
    footer > .container > .content > .up > nav > ul > li { display: inline-block; position: relative; }
    footer > .container > .content > .up > nav > ul > li > a { letter-spacing: 2px; padding: 15px 10px; }

    footer > .container > .content > .center {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 120px;
    }

    footer > .container > .content > .center > .left {
        width: calc(50% - 20px);
    }

    footer > .container > .content > .center > .left > img:nth-child(1) {
        max-width: 170px;
    }

    footer > .container > .content > .center > .left > img:nth-child(2) {
        max-width: 140px;
    }

    footer > .container > .content > .center > .left > img + img {
        margin-left: 40px;
    }

    footer > .container > .content > .center > .right {
        width: calc(50% - 20px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 40px;
    }

    footer > .container > .content > .center > .right > .info-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        font-size: 20px;
    }

    footer > .container > .content > .center > .right > .info-box > .box {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 5px;
    }

    footer > .container > .content > .center > .right > .info-box > .box > span + span {
        margin-left: 10px;
    }

    footer > .container > .content > .center > .right > .info-box > span {
        margin-bottom: 5px;
    }

    footer > .container > .content > .center > .right > .info-box > span:last-of-type {
        margin-bottom: 0px;
    }

    footer > .container > .content > .down {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        font-size: 20px;
    }
}