.site-footer {
    background-image: url('../images/footer-bg.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    color: rgb(255, 255, 255);
    margin-top: 200px;
    padding: 60px 0;
    box-sizing: border-box;
}

.footer-inner {
    width: calc(100% - 16vw);
    max-width: 1160px;
}

.footer-logo {
    z-index: 2;
}

.footer-logo img {
    display: block;
    width: 180px;
    height: auto;
}

.footer-credit {
    margin-top: 30px;
}

.footer-item {
    display: flex;
    align-items: start;
    font-size: 13px;
    font-weight: 400;
    margin-top: 6px;
}

.footer-credit .footer-item.interval {
    margin-top: 8px;
}

.footer-credit .footer-title {
    display: inline-block;
    flex: 0 0 40px;
    margin: 0;
}

.footer-credit .footer-body {
    flex-grow: 1;
    margin: 0;
}

.footer-sns {
    display: flex;
    margin-top: 20px;
}
  
.footer-sns a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    letter-spacing: 0.02rem;
}

.footer-sns a:nth-of-type(2) {
    margin-left: 10px;
}
  
.footer-sns img {
    margin-right: 8px;   
    height: 20px;
}

.footer-sns a span {
    position: relative;
    color: rgb(255, 255, 255);
    font-size: 13px;
}

.footer-data {
    align-items: center;
    margin-top: 20px;
}

.footer-data-item {
    align-items: center;
    margin-top: 0px;
}

.footer-data-item:nth-of-type(2) {
    margin-top: 4px;
}  

.footer-data a {
    display: inline-flex;
    align-items: center;
    position: relative;
    text-decoration: none;
}

.footer-data span {
    color: rgb(255, 255, 255);
    font-size: 13px;
}

.footer-data a span {
    position: relative;
}

.footer-data img {
    height: 16px;
    margin: 2px 0 0 8px;
}

.footer-contact {
    display: inline-flex;
    margin-top: 30px;
    padding: 16px 20px;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 6px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.footer-contact a span {
    position: relative;
    display: inline-block;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.footer-contact img {
    width: 20px;
    height: auto;
    display: inline-block;
}

.footer-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0 0 0;
}

.footer-copyright {
    font-size: 13px;
    font-weight: 400;
    margin-top: 15px;
}

@media screen and (max-width: 767px) {
    .site-footer {
        margin-top: 160px;
        padding: 30px 0;
    }

    .footer-logo img {
        width: 140px;
    }
    
    .footer-credit {
        font-size: 12px;
        font-weight: 500;
        line-height: 1.75;
        margin-top: 20px;
    }


    .footer-credit {
        margin-top: 20px;
    }

    .footer-item {
        display: flex;
        align-items: start;
        font-size: 12px;
        font-weight: 500;
        margin-top: 6px;
    }

    .footer-credit .footer-item.interval {
        margin-top: 8px;
    }

    .footer-credit .footer-title {
        display: inline-block;
        flex: 0 0 40px;
        margin: 0;
    }
    
    .footer-sns {
        margin-top: 20px;
    }
      
    .footer-sns img {
        margin-right: 8px;   
        height: 20px;
    }
    
    .footer-sns a span {
        position: relative;
        color: rgb(255, 255, 255);
        font-size: 12px;
    }
    
    .footer-data {
        align-items: center;
        margin-top: 20px;
    }
    
    .footer-data-item {
        align-items: center;
        margin-top: 0px;
    }
    
    .footer-data-item:nth-of-type(2) {
        margin-top: 0px;
    }
    
    .footer-data span {
        font-size: 12px;
        font-weight: 500;
    }

    .footer-data img {
        height: 16px;
        margin: 2px 0 0 8px;
    }
    
    .footer-contact {
        display: inline-flex;
        margin-top: 20px;
        padding: 16px 20px;
        border: 1px solid rgb(255, 255, 255);
        border-radius: 6px;
    }
    
    .footer-copyright {
        font-size: 13px;
        font-weight: 500;
    }
}

/* アンダーラインアニメーション */

.footer-sns a span::after, .footer-data a span::after, .footer-contact a span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: rgb(255, 255, 255);
    transform: scaleX(0);
    transform-origin: left top;
    transition: transform 0.3s;
}

.footer-sns a:hover span::after, .footer-data a:hover span::after, .footer-contact a:hover span::after {
    transform: scaleX(1);
}