.site-footer {
    background: #06101d;
    color: #fff;
    padding: 54px 0 24px
}

.site-footer a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none
}

.site-footer a:hover {
    color: #fff
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px
}

.site-footer-col h2 {
    margin: 0 0 4px;
    color: #fff;
    font-family: "Noto Serif", Georgia, serif;
    font-size: 24px;
    line-height: 1.2
}

.site-footer-col h3 {
    margin: 0 0 14px;
    color: #fff;
    font-family: "Noto Serif", Georgia, serif;
    font-size: 18px;
    line-height: 1.2
}

.site-footer-list {
    display: grid;
    gap: 9px;
    color: rgba(255, 255, 255, .72)
}

.site-footer-list p {
    margin: 0;
    color: rgba(255, 255, 255, .72)
}

.site-footer-list a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: 100%
}

.site-footer-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #d5b968
}

.site-footer-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    margin-top: 14px;
    padding: 11px 16px;
    border-radius: 8px;
    background: #25d366;
    color: #fff !important;
    font-weight: 800
}

.site-footer-wa svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto
}

.site-footer-ap2ln {
    display: inline-flex !important;
    align-items: center;
    margin-top: 18px;
    width: max-content
}

.site-footer-ap2ln img {
    display: block;
    width: clamp(82px, 9vw, 130px);
    max-width: 100%;
    height: auto;
    max-height: 82px;
    object-fit: contain
}

.site-footer-ap2ln:hover {
    opacity: .86
}

.site-footer-copy {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .52);
    font-size: 13px
}

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms)
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0)
}

@media(prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none
    }
}

.japan-link {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .07)
}

.japan-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    flex: 0 0 auto
}

.japan-flag::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bc002d;
    transform: translate(-50%, -50%)
}

@media(min-width:760px) {
    .site-footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:759px) {
    .site-footer-col:last-child {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 12px;
        align-items: start
    }

    .site-footer-col:last-child>h3,
    .site-footer-col:last-child>.site-footer-list {
        grid-column: 1 / -1
    }

    .site-footer-col:last-child>.site-footer-wa {
        grid-column: 1;
        grid-row: 3;
        align-self: center
    }

    .site-footer-col:last-child>.site-footer-ap2ln {
        grid-column: 2;
        grid-row: 3;
        align-self: center;
        margin-top: 14px
    }
}

@media(min-width:1040px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1.6fr
    }

    .site-footer-col:last-child {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(82px, 130px);
        column-gap: 30px;
        align-items: start
    }

    .site-footer-col:last-child>h3,
    .site-footer-col:last-child>.site-footer-list,
    .site-footer-col:last-child>.site-footer-wa {
        grid-column: 1
    }

    .site-footer-col:last-child>.site-footer-ap2ln {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
        justify-self: end;
        margin-top: 0;
        transform: translateX(20px)
    }
}