footer {
    position: relative;
    font-family: 'ShinRetroMaruGothic', sans-serif;
}

.footer-inner {
    background: #E6FCFF;
}

.footer-items {
    display: flex;
    justify-content: center;
}

.footer-item {
    text-align: center;
    width: 680px;
    margin: 16px;
    padding: 48px 32px;
    background-color: white;
    border-radius: 160px;
}

.organization-name {
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.leaf1 {
    width: auto;
    height: 3rem;
    margin-right: 4px;
}

.leaf2 {
    width: auto;
    height: 3rem;
}

.address {
    font-size: 1.25rem;
    margin: 16px 0px;
}

.tel .leading {
    font-size: 1.25rem;
}

.tel .number {
    font-size: 1.8rem;
}

#footer-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    object-position: top;
}

#it-service-logo {
    width: 240px;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}

@media screen and (min-width: 769px) and (max-width: 1365px) {
    .footer-item {
        width: 480px;
    }
}

@media screen and (max-width: 768px) {
    .footer-inner {
        align-items: center;
        justify-content: center;
    }

    .footer-items {
        align-items: center;
        flex-direction: column;
        padding: 0 10px;
    }

    .footer-item {
        min-width: 320px;
        max-width: 480px;
        width: 100%;
        margin: 32px 0;
        padding: 40px;
    }

    .organization-name {
        font-size: 1.5rem;
    }

    .address {
        margin: 8px 0px;
        font-size: 1rem;
    }

    .tel .number {
        font-size: 1.5rem;
    }

    #footer-image {
        max-height: 200px;
    }

    #it-service-logo {  
        width: 200px; 
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 60px;
    }
}