
.jp-footer {
    position: relative;
    margin-top: 60px;
    color: #25463b;
    background: #e9eee5;
    font-family: "Noto Sans TC", sans-serif;
    overflow: hidden;
}

/* 上方日系插畫背景 */
.jp-footer-content {
    min-height: 340px;
    padding: 65px max(5%, calc((100% - 1200px) / 2));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    background-image:
        linear-gradient(
            90deg,
            rgba(255,250,240,.55),
            rgba(255,250,240,0) 75%
        ),
        url("/web/img/common/footer-jp.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.jp-footer-brand {
    padding: 22px 28px;
    border-radius: 20px;
    background: rgba(255,252,245,.65);
    backdrop-filter: blur(5px);
}

.jp-footer-logo {
    font-family: "Noto Serif TC", serif;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #173f31;
    margin-bottom: 18px;
}

.jp-footer-logo span {
    font-size: 28px;
    color: #7b9c65;
}

.jp-footer-brand p {
    margin: 8px 0;
    font-size: 17px;
    letter-spacing: 3px;
}

.jp-footer-quote {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 25px;
    line-height: 1.5;
    color: #274c40;
    transform: rotate(-5deg);
    text-shadow: 0 1px 8px #fff;
}

/* 下方版權區 */
.jp-footer-bottom {
    position: absolute;
    padding: 32px 20px 2px;
/*    background: rgba(233,238,229,.95); */
    text-align: center;
    border-top: 1px solid rgba(72,110,85,.15);
    bottom:0;
}

.jp-footer-copyright {
    font-size: 14px;
    color: #50675d;
    margin-bottom: 14px;
}

.jp-footer a {
    color: #376c5b;
    text-decoration: none;
    transition: color .2s;
}

.jp-footer a:hover {
    color: #a47c44;
    text-decoration: underline;
}

.jp-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 22px;
    font-size: 13px;
}

.jp-footer-links > a,
.jp-footer-geolite {
    padding-right: 20px;
    border-right: 1px solid #b5c3b8;
}

.jp-footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jp-footer-email img {
    width: 140px;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* 回到頂端 */
.jp-footer-top {
    position: absolute;
    right: 24px;
    bottom: 22px;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: #547669;
    color: white;
    font-size: 23px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
    transition: background .2s, transform .2s;
}

.jp-footer-top:hover {
    background: #315748;
    transform: translateY(-3px);
}

/* 手機版 */
@media (max-width: 768px) {
    .jp-footer-content {
        min-height: 300px;
        padding: 35px 18px;
        flex-direction: column;
        background-position: 62% center;
    }

    .jp-footer-brand {
        display:none;
    }

    .jp-footer-logo {
        font-size: 32px;
    }

    .jp-footer-brand p {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .jp-footer-quote {
        font-size: 18px;
        align-self: flex-end;
    }

    .jp-footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .jp-footer-links > a,
    .jp-footer-geolite {
        border-right: none;
        padding-right: 0;
    }

    .jp-footer-bottom {
        padding-bottom: 80px;
    }

    .jp-footer-top {
        right: 18px;
        bottom: 18px;
    }
}


