.col3 {
    display: flex;
    justify-content: space-around;
    margin: 0 auto 60px;
}

@media screen and (max-width: 768px) {
    .col3 {
        flex-direction: column;
        align-items: center;
    }

    .col3 .col:first-of-type {
        margin-bottom: 30px;
    }
}

footer {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
}

footer .footer-top {
    width: 100%;
    padding-top: 88px;
    padding-right: calc((100% - 960px) / 2);
    padding-bottom: 90px;
    padding-left: calc((100% - 960px) / 2);
    box-sizing: border-box;
    background-color: #afb2ba;
    text-align: center;
}

.sns .contents.sns .col {
    width: 33%;
}
@media screen and (max-width: 768px) {
    .sns .contents.sns .col {
        width: 88%;
    }
}

footer .footer-top .sponsor {
    margin-bottom: 58px;
    font-size: 22px;
    letter-spacing: 0.64px;
    font-family: 'Oswald';
    font-weight: bold;
}

footer .footer-top .sponsor .banner {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

footer .footer-top .sponsor .banner a {
    display: flex;
    width: 140px;
    height: auto;
    margin-top: 15px;
    margin-right: 10px;
}

/* @media screen and (min-width: 769px) {
    footer .footer-top .sponsor .banner a:nth-child(5) {
        margin-right: 0;
    }
} */


footer .footer-top .sponsor .banner a:last-of-type {
    margin-right: 0;
}

footer .footer-top .sponsor .banner a img {
    width: 100%;
}

footer .footer-top .sponsor:last-of-type {
    margin-bottom: 0;
}

footer .footer-middle {
    background-color: #000;
    padding: 60px 10px 0px 10px;
}

@media screen and (max-width: 768px) {
    footer .footer-middle {
        padding: 0px;
    }
}

footer .footer-middle-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    box-sizing: border-box;
    padding-bottom: 50px;
}

@media screen and (max-width: 768px) {
    footer .footer-middle-inner {
        flex-direction: column;
        padding: 40px;

    }
}

footer .footer-middle .footer-middle-l {
    display: inline-block;
    width: 184px;
    padding-right: 60px;
    /* border-right: 2px solid #DBDBDB; */
}

footer .footer-middle .footer-middle-l>a {
    display: block;
}

footer .footer-middle .footer-middle-l>a:first-child img {
    width: 184px;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(2) img {
    width: 184px;
    margin-top: 20px;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(3) img {
    width: 184px;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(4) {
    display: inline-block;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(4) img {
    width: 70px;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(5) {
    display: inline-block;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(5) img {
    width: 50px;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(6) img {
    width: 184px;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(7) {
    display: inline-block;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(7) img {
    width: auto;
    height: 55px;
    margin-right: 20px;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(8) {
    display: inline-block;
}

footer .footer-middle .footer-middle-l>a:nth-of-type(8) img {
    width: auto;
    height: 55px;
}

footer .footer-middle .footer-middle-l p {
    margin: 0 0 18px 0;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.32px;
}

footer .footer-middle .footer-middle-l p a {
    color: #2D2D2D;
}

footer .footer-middle .footer-middle-l p a:hover {
    opacity: 1;
    color: #E5002D;
}

footer .footer-middle .footer-middle-r {
    display: inline-block;
    vertical-align: top;
}

footer .footer-middle .footer-middle-r ul {
    display: inline-block;
    margin: 0;
    padding-left: 61px;
    vertical-align: top;
}

footer .footer-middle .footer-middle-r ul.active>li {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.32px;
    margin-bottom: 16px;
}

footer .footer-middle .footer-middle-r ul>li {
    margin-bottom: 18px;
    list-style: none;
    font-family: Roboto Condensed;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.28px;
}

footer .footer-middle .footer-middle-r ul>li a,
footer .footer-middle .footer-middle-r ul>li a:visited {
    color: #fff;
}

footer .footer-middle .footer-middle-r ul>li a:hover {
    opacity: 1;
    color: #E5002D;
}

footer .footer-middle .footer-middle-r .social-site {
    display: block;
    position: absolute;
    /*width: 242px;*/
    /*height: 38px;*/
    bottom: 60px;
    padding-bottom: 10px;
    right: calc((100% - 1020px) / 2);
    border-bottom: 1px solid #DBDBDB;
    font-size: 14px;
    font-family: Roboto Condensed;
    font-weight: bold;
    color: #DBDBDB;
}

footer .footer-middle .footer-middle-r .social-site p {
    display: inline-block;
    margin: 0;
}

footer .footer-middle .footer-middle-r .social-site ul {
    margin: 0;
    padding-left: 0;
    vertical-align: middle;
    font-size: 0;
}

footer .footer-middle .footer-middle-r .social-site ul>li {
    display: inline-block;
    margin: 0 0 0 25px;
    list-style: none;
}

footer .footer-middle .footer-middle-r .social-site ul>li img {
    width: auto;
    height: 40px;
}

footer .footer-middle .btn-top {
    content: "";
    display: block;
    position: absolute;
    width: 60px;
    height: 60px;
    top: 0;
    right: 0;
    background-color: #2D2D2D;
    cursor: pointer;
}

footer .footer-middle .btn-top:hover {
    background-color: #E5002D;
}

footer .footer-middle .btn-top:before {
    content: "";
    display: block;
    position: absolute;
    top: 25px;
    right: 30px;
    width: 1px;
    height: 35px;
    background: #FFFFFF;
}

footer .footer-middle .btn-top:after {
    content: "";
    display: block;
    position: absolute;
    width: 14px;
    height: 14px;
    top: 27px;
    right: 24px;
    border-top: 1px solid #FFFFFF;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

footer .footer-bottom {
    /* position: relative; */
    /* width: 100%; */
    padding-top: 20px;
    /* padding-right: calc((100% - 1020px) / 2); */
    padding-bottom: 20px;
    /* padding-left: calc((100% - 1020px) / 2); */
    /* box-sizing: border-box; */
    /* font-size: 0; */
    background: #2d2d2d;

}

footer .footer-bottom .company-info {
    display: inline-block;
}

footer .footer-bottom .company-info p {
    display: inline-block;
    margin: 0;
    font-weight: bold;
    font-size: 12px;
    color: #2D2D2D;
}

footer .footer-bottom .company-info ul {
    margin: 0;
    padding-left: 30px;
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.48px;
    color: #2D2D2D;
    vertical-align: top;
}

footer .footer-bottom .company-info ul>li {
    margin: 0 0 10px 0;
    list-style: none;
}

footer .footer-bottom .company-info ul>li:last-of-type {
    margin: 0;
}

footer .footer-bottom .copyright {
    display: block;
    /* position: absolute; */
    /* bottom: 60px; */
    /* right: calc((100% - 1020px) / 2); */
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.48px;
    color: #fff;
}

footer ul li:before {
    content: none;

}

footer .footer-middle ul li {
    padding: 0;
    margin: 0;
    font-family: 'Oswald';
}

@media screen and (max-width: 768px) {
    footer .footer-middle ul li {
        width: 100%;
    }
}


@media screen and (max-width: 768px) {
    footer .footer-middle ul.footer-icon-list {
        margin: 0 auto;
        margin-bottom: 30px;
    }
}

footer .footer-middle ul.footer-icon-list>li {
    width: calc((100% - 20px) / 2);
    margin-bottom: 16px;
}

footer .footer-middle ul.footer-icon-list>li.on-footer-2set-icon {
    margin-bottom: 5px;
}

footer .footer-middle ul.footer-icon-list>li.icon-2set {
    margin-bottom: 9px;
}

footer .footer-middle ul.footer-icon-list>li:last-of-type {
    width: 100%;
    margin-bottom: 0;
}


.footer-link-wrapper {
    display: flex;
}

@media screen and (max-width: 768px) {
    .footer-link-wrapper {
        /* flex-wrap: wrap; */
        margin: 0 auto;
    }
}

.footer-icon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 400px;
    margin-bottom: 0;
}

.footer-icon-list img {
    width: 100%;
}

.footer-icon-list img.right-image {
    width: 50px;
}

.footer-icon-list img.left-image {
    width: 63px;
}

.footer-link-wrapper p {
    color: #e6002d;
    font-weight: 700;
    font-family: 'Oswald';
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .footer-link-wrapper p {
        margin-bottom: 10px;
    }
}

.footer-link-wrapper a {
    color: #fff!important;
    font-size: 13px;
    line-height: 15px;
}

.footer-link-items {
    margin-right: 75px !important;
}

.footer-link-items:last-of-type {
    margin-right: 0 !important;
}

@media screen and (max-width: 768px) {
    .footer-link-items {
        margin-right: 24px !important;
    }

    .footer-link-items:last-of-type {
        margin-right: 0 !important;
    }
}

.footer-link-items ul {
    margin: 0;
    padding: 0;
}

.footer-link-items li {
    margin-bottom: 5px !important;
}

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

    footer .footer-top {
        width: 100%;
        padding: 38px 20px 30px 20px;
        box-sizing: border-box;
        text-align: center;
    }

    footer .footer-top .sponsor {
        margin-bottom: 30px;
        font-size: 14px;
        font-weight: bold;
    }

    footer .footer-top .sponsor .banner {
        font-size: 0;
        margin-top: 0;
    }

    footer .footer-top .sponsor .banner a {
        display: inline-block;
        margin-right: 10px;
        margin-bottom: 10px;
        width: 150px;
        height: 39px;
    }

    footer .footer-top .sponsor .banner a:nth-of-type(2n) {
        margin-right: 0;
    }

    footer .footer-top .sponsor .banner a img {
        width: 100%;
    }

    footer .footer-top .sponsor:last-of-type {
        margin-bottom: 0;
    }

    footer .footer-middle {
        position: relative;
        width: 100%;
    }

    footer .footer-middle .footer-middle-l {
        display: block;
        width: 100%;
        text-align: center;
        padding-right: 0;
        padding-bottom: 18px;
        border-right: 0;
        border-bottom: 1px solid #DBDBDB;
    }

    footer .footer-middle .footer-middle-l>a {
        display: block;
        margin: 0 auto;
    }

    footer .footer-middle .footer-middle-l>a img {
        margin: 0 0 17px 0 !important;
    }

    footer .footer-middle .footer-middle-l>a:first-child {
        width: 121px;
    }

    footer .footer-middle .footer-middle-l>a:first-child img {
        width: 121px;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(2) {
        display: inline-block;
        width: 121px;
        margin-right: 10px;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(2) img {
        width: 121px;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(3) {
        display: inline-block;
        width: 121px;
        margin-left: 10px;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(3) img {
        width: 121px;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(4) {
        display: inline-block;
        width: 121px;
        margin-right: 10px;
        text-align: right;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(4) img {
        width: 70px;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(5) {
        display: inline-block;
        width: 121px;
        margin-left: 10px;
        text-align: left;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(5) img {
        width: 50px;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(6) {
        width: 210px;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(6) img {
        width: 210px;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(7) {
        display: inline-block;
        width: 121px;
        margin-right: 10px;
        text-align: right;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(7) img {
        height: 55px;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(8) {
        display: inline-block;
        width: 121px;
        margin-left: 20px;
        text-align: left;
    }

    footer .footer-middle .footer-middle-l>a:nth-of-type(8) img {
        height: 55px;
    }

    footer .footer-middle .footer-middle-l p {
        margin: 0;
        font-size: 16px;
        font-weight: bold;
        line-height: 30px;
    }

    footer .footer-middle .footer-middle-l p a:hover {
        color: #E5002D;
    }

    footer .footer-middle .footer-middle-r {
        width: 100%;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    footer .footer-middle .footer-middle-r ul {
        display: block;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    footer .footer-middle .footer-middle-r ul.active {
        margin-bottom: 38px;
    }

    footer .footer-middle .footer-middle-r ul.active>li {
        display: block;
        line-height: 30px;
        margin-bottom: 0;
    }

    footer .footer-middle .footer-middle-r ul>li {
        display: inline-block;
        width: 157px;
        margin-bottom: 18px;
    }

    footer .footer-middle .footer-middle-r .social-site {
        position: static;
        width: 315px;
        height: auto;
        margin: 0 10px;
    }

    footer .footer-middle .footer-middle-r .social-site p {
        display: inline-block;
        vertical-align: top;
        font-size: 12px;
        margin: 0;
    }

    footer .footer-middle .footer-middle-r .social-site ul {
        display: block;
        position: absolute;
        bottom: 44px;
        right: 30px;
        padding: 0;
    }

    footer .footer-middle .footer-middle-r .social-site ul>li {
        margin: 0 0 0 20px;
        width: auto;
    }

    footer .footer-middle .footer-middle-r .social-site ul>li img {
        width: auto;
        height: 30px;
    }

    footer .footer-middle .btn-top {
        width: 40px;
        height: 40px;
        top: auto;
        bottom: -40px;
        z-index: 10;
    }

    footer .footer-middle .btn-top:hover {
        background-color: #E5002D;
    }

    footer .footer-middle .btn-top:before {
        top: 9px;
        right: 20px;
        width: 1px;
        height: 23px;
    }

    footer .footer-middle .btn-top:after {
        content: "";
        display: block;
        position: absolute;
        width: 10px;
        height: 10px;
        top: 11px;
        right: 16px;
        border-top: 1px solid #FFFFFF;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    footer .footer-bottom {
        width: 100%;
        padding: 40px 30px 40px 30px;
    }

    footer .footer-bottom .company-info {
        display: block;
    }

    footer .footer-bottom .company-info p {
        display: block;
        margin-bottom: 20px;
    }

    footer .footer-bottom .company-info ul {
        margin-bottom: 20px;
        padding-left: 0;
    }

    footer .footer-bottom .company-info ul>li {
        font-size: 10.5px;
    }

    footer .footer-bottom .copyright {
        display: block;
        position: static;
        font-size: 10px;
    }
}

footer {
    margin-top: 40px;
}