/*
Version:1.0.1
*/

footer {
    z-index: 9999;
    flex-direction: row;
    align-items: flex-start;
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    background-color: #000000;
    justify-content: space-between;
}

.footer-icon {
    width: 300px;
    margin-left: 20px;
}

.footer-centertext {
    color: #ffffff;
    text-align: center;
    font-size: var(--main-fontsize-normal);
}

.footer-centertext p {
    margin-block-start: 0.5rem;
    margin-block-end: 0.5rem;
}

.footer-centertext a {
    color: #aeaeae;
    text-decoration: none;
    margin-top: 20px;
    font-size: var(--main-fontsize-small);
}

footer>nav {
    display: flex;
    align-items: center;
}

.footer-link {
    display: block;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    padding: 5px 20px;
    font-size: var(--main-fontsize-normal);
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 30px;
    margin: 0 3px;
}

footer>nav>.footer-current {
    color: #0082f3;
}

.footer-tel {
    max-width: 200px;
    color: #ffffff;
    text-align: right;
}

@media (hover: hover) and (pointer: fine) {
    .footer-link:hover {
        border: 1px solid rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }
}

footer>nav>.footer-form {
    color: var(--main-backcolor1);
    background-color: var(--main-color1);
    margin-right: 5px;
}

@media (hover: hover) and (pointer: fine) {
    .footer>nav>.footer-form:hover {
        border: 1px solid rgba(0, 0, 0, 0);
        color: var(--main-color1);
        background-color: var(--main-backcolor1);
    }
}

.footer-tel-number {
    font-size: 18px;
}

.footer-syoku {
    text-decoration: underline;
    margin-right: 20px;
}

@media screen and (max-width: 991px) {}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 479px) {
    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-icon {
        order: 1;
    }

    footer>nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        order: 2;
    }

    .footer-link {
        font-size: var(--main-fontsize-large);
        margin: 10px 3px;
    }

    .footer-centertext {
        font-size: var(--main-fontsize-medium);
        order: 3;
    }
}