/* --- EVERNEW FOOTER CUSTOM --- */
.ev-footer {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 0;
    margin: 0;
}

.ev-footer--desktop{
    margin-top: 40px;
}
.ev-footer a {
    color: #fff;
} 
.ev-footer a:hover {
    opacity: 0.7;
} 
.ev-footer__main {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    padding: 60px 0;
    width: 100%;
    margin: 0 auto;
}
.ev-footer__left {
    margin-right: 40px;
    text-align: left;
}
.ev-footer__logo {
    width: 160px;
    margin-bottom: 50px;
}
.ev-footer__sns {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ev-footer__sns li {
    display: flex;
    align-items: center;
}
.ev-footer__snsIcon {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    display: inline-block;
}
.ev-footer__snsText {
    color: #fff;
    font-size: 14px;
}
.ev-footer__nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 48px;
    flex: 1;
}
.ev-footer__col {
    min-width: 120px;
}
.ev-footer__colTitle {
    display: block;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    color: #fff;
}
.ev-footer__colTitle+.ev-footer__colTitle {
    margin-top: 10px;
}
.ev-footer__colTitle a {
    font-size: 14px;
}
.ev-footer__colSub {
    display: block;
    font-size: 13px;
    line-height: 1.2;
    color: #fff;
    margin: 5px 0 20px;
}
.ev-footer__col ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
.ev-footer__nav .ev-footer__col:last-child ul {
  margin-top: 0;
}
.ev-footer__col ul li+li {
  margin-top: 5px;    
}
.ev-footer__col ul li a {
    font-size: 13px !important;
    line-height: 22px;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 2px;
    font-weight: 400;
    text-align: left;
}
.ev-footer__col ul li a:hover {
    opacity: 0.7;
}
.ev-footer__col ul li strong {
    font-weight: 700;
}
.ev-footer__col ul li span {
    font-size: 13px;
    line-height: 15px;
    color: #fff;
}
.ev-footer__bottom {
    width: 100%;
    background: #fff;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.1em;
    box-sizing: border-box;
    padding: 0;
}
.ev-footer__bottomInner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}
.ev-footer__bottomLinks {
    display: flex;
    gap: 24px;
    font-size: 12px;
    font-weight: 400;
    color: #646464;
}
.ev-footer__bottomLinks span a {
    font-size: 12px;
    color: #646464;
}
.ev-footer__copyright {
    font-size: 13px;
    font-weight: 400;
    line-height: 15px;
    text-align: right;
    color: #646464;
}
/* Media query for screens 1280px and below */

@media(max-width: 1280px) {

}

/* Media query for screens 1024px and below */
@media(max-width: 1024px) {
    .ev-footer__bottomInner {
      padding: 15px 20px;
    }
    .ev-footer__main {
        width: 80%;
        margin: 0 auto;
        display: block;
        padding: 50px 0 20px;
    }
    .ev-footer__left {
        margin-right: 0;
        margin-bottom: 60px;
    }  
    .ev-footer__logo {
        width: 160px;
        margin: 0 auto 24px;
    }
    .ev-footer__sns {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        flex-direction: row;
        gap: 25px;
    }
    .ev-footer__sns li {
        display: flex;
        align-items: center;
    }
    .ev-footer__snsIcon {
        width: 22px;
        height: 22px;
        margin-right: 10px;
        display: inline-block;
    }
    .ev-footer__snsText {
        color: #fff;
        font-size: 14px;
    }
    .ev-footer__nav {
        display: flex;
        flex-direction: row;
        gap: 48px;
        flex: 1;
        justify-content: center;
    }
    .ev-footer__bottomInner {
        width: 84%;
    }
}
/* Media query for screens 768px and below */
@media(max-width: 768px) {
    .ev-footer {
        border:solid 1px #000;
    }
    .ev-footer__main {
        display: block;
        padding: 60px 0 30px;
        margin: 0 auto;
        width: 85%;
    }
    .ev-footer__left {
        flex-direction: column;
        margin-bottom: 60px;
    }
    .ev-footer__sns {
        margin: 0 auto;
        flex-wrap: wrap;
        width: 70%;
    }
    .ev-footer__nav {
        margin: 0 auto;
        flex-direction: column;
        gap: 0;
        flex: 1;
        justify-content: center;
        border-top:solid 1px #FFF;
        border-bottom:solid 1px #FFF;
        padding: 40px 0 20px;
    }
    .ev-footer__nav .ev-footer__col:nth-child(1),
    .ev-footer__nav .ev-footer__col:nth-child(2),
    .ev-footer__nav .ev-footer__col:nth-child(3) {
      display: none;
    }
    .ev-footer__bottom {
        width: 85%;
        background:#000;
        color: #FFF;
        font-size: 12px;
        line-height: 14px;
        letter-spacing: 0.1em;
        border-top: none;
        box-sizing: border-box;
        padding: 0;
        margin: 0 auto;
    }
    .ev-footer__bottomInner {
        background: #000 !important;
        box-sizing: border-box;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    .ev-footer__bottomLinks {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0;
        font-size: 12px;
        font-weight: 400;
        color: #FFF !important;
        
    }
    .ev-footer__bottomLinks a,
    .ev-footer__bottomLinks a:visited {
        color: #FFF !important;
    }
    .ev-footer__bottomLinks span {
         display: block;
         width: 48%;
         text-align: center;
         color: #FFF !important;
         margin-top: 8px;
    }
    .ev-footer__copyright {
        color: #FFF;
        font-family: 'Roboto', 'Noto Sans JP', sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 15px;
        text-align: center;
        margin: 30px auto 40px;
    }

}
/* Media query for screens 768px and below */
@media(max-width: 480px) {
    .ec-layoutRole__footer {
        background: #FFF;
    }
    .ev-footer__main {
        padding: 50px 0 30px;
        width: 80%;
    }
    .ev-footer__left {
        width: 100%;
        margin: 0 auto 40px;
        padding: 0;
        display: block;
        margin-right: 0;
    }
    .ev-footer__logo {
      text-align: left;
      margin: 0 0 35px 0;
    }
    .ev-footer__sns {
        width: 100%;
        margin: 0 auto;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
    }
    .ev-footer__sns li:nth-child(1) {
        order: 2;
    }
    .ev-footer__sns li:nth-child(4) {
        order: 3;
    }
    .ev-footer__sns li:nth-child(3) {
        order: 1;
    }
    .ev-footer__sns li:nth-child(2) {
        order: 4;
        padding-right: 2.5%;
    }
    .ev-footer__sns li:nth-child(5) {
        order: 5;
    }
    .ev-footer__nav {
        width: 100%;
        margin: 0 auto;
        flex-direction: column;
        gap: 0;
        flex: 1;
        justify-content: center;
        border-top:solid 1px #FFF;
        border-bottom:solid 1px #FFF;
        padding: 40px 0 20px;
    }
    .ev-footer__bottomInner {
        width: 100%;
    }
    .ev-footer__bottom {
        width: 80%;
        background: #DB002F;
        font-size: 12px;
        line-height: 14px;
        letter-spacing: 0;
        border-top: none;
        box-sizing: border-box;
        padding: 0;
    }
    .ev-footer__bottomLinks {
        gap: 0;
        font-size: 13px;
    }
    .ev-footer__bottomLinks span {
        width: auto;
    }
    .ev-footer__bottomLinks span:nth-child(1) {
        order: 1;
        margin-right: 20px;
    }
    .ev-footer__bottomLinks span:nth-child(2) {
        order: 4;
        margin-top: 15px;
    }
    .ev-footer__bottomLinks span:nth-child(3) {
        order: 2;
    }
    .ev-footer__bottomLinks span:nth-child(4) {
        order: 3;
        margin-top: 15px;
        margin-right: 20px;
    }
    .ev-footer__bottomLinks span a {
        font-size: 13px;
        color: #FFF !important;
    }
    .ev-footer__copyright {
        font-size: 13px;
    }
}