.c-common__footer {
    padding: 16px;
    background: #e5e5e5;
    color: #585858;
    font-size: 12px;
}

.c-common__footer a {
    color: #585858;
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, "Yu Gothic", YuGothic, "MS PGothic", Osaka, arial, sans-serif;
}

.c-common__footer__logo {
    width: 120px;
}

.c-common__footer__logo a {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, "Yu Gothic", YuGothic, "MS PGothic", Osaka, arial, sans-serif;
    display: table-cell;
    height: 26px;
    vertical-align: middle;
}

.c-common__footer__logo img {
    width: 100%;
}

.c-common__footer__social-buttons ul {
    display: flex;
    padding: 0;
    gap: 20px;
}

.c-common__footer__social-buttons li,
.c-common__footer__link-and-copyright .c-common__footer__social-buttons-small-screen img {
    width: 28px;
    list-style: none;
}

.c-common__footer__social-buttons li a {
    width: inherit;
    height: inherit;
    display: flex;
}

.c-common__footer__social-buttons li:first-child {
    margin-left: 0;
}

.c-common__footer__social-buttons li img {
    width: inherit;
    margin: auto;
}

/* Start */
.l-footer-social-buttons ul {
    display: flex;
    padding: 0;
    gap: 20px;
  }
  .l-footer-social-buttons li, .l-common__footer__link-and-copyright img {
    width: 28px;
    list-style: none;
    height: 29px;
  }

  .l-footer-social-buttons li a {
    width: inherit;
    height: inherit;
    display: flex;
  }

  .l-footer-social-buttons li:first-child {
    margin-left: 0;
  }

  .l-footer-social-buttons li img {
    width: inherit;
    margin: auto;
  }

/* End */
@media screen and (min-width: 1000px) {
    .c-common__footer__social-buttons-small-screen {
      display: none !important;
    }
}
@media screen and (max-width: 999px) {
    .c-common__footer {
        padding: 48px 64px 24px;
    }
    .c-common__footer__nav {
        display: block;
    }
    .c-common__footer__social-buttons ul {
        display: none;
      }
    .c-common__footer__social-buttons-small-screen {
        display: flex !important;
        gap: 48px !important;
        margin-top: 48px !important;
    }
    .c-common__footer__link-and-copyright {
        display: block;
    }
    .c-common__footer__copyright {
        margin-top: 48px;
    }
    .c-common__footer__link-and-copyright .c-common__footer__social-buttons-small-screen li {
        padding-right: 0px;
    }
}
@media screen and (max-width: 599px) {
    .c-common__footer__social-buttons-small-screen{
        width: 100%;
        display: table !important;
    }
    .c-common__footer__social-buttons-small-screen ul {
        display: table !important;
        margin-top: 48px;
        width: 80%;
    }
    .c-common__footer__social-buttons-small-screen ul li {
        display: table-cell;
        vertical-align: middle;
    }
    .c-common__footer__link-and-copyright .c-common__footer__social-buttons-small-screen li {
        display: table-cell !important;
        vertical-align: middle !important;
    }
}

@media screen and (min-width: 1000px) {
    .l-common__footer__social-buttons-small-screen {
      display: none !important;
    }
}
@media screen and (max-width: 999px) {
    .l-common__footer {
        padding: 48px 64px 24px;
    }
    .l-common__footer__nav {
        display: block;
    }
    .l-common__footer__social-buttons ul {
        display: none;
      }
    .l-common__footer__social-buttons-small-screen {
        display: flex  !important;
        gap: 48px  !important;
        margin-top: 48px  !important;
    }
    .l-common__footer__link-and-copyright {
        display: block;
    }
    .l-common__footer__copyright {
        margin-top: 48px;
    }
}


.c-common__footer__nav {
    padding-right: 0;
    padding-left: 0;
}

.c-common__footer__nav-top {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding-bottom: 5px;
}

.c-common__footer__nav-list {
    padding: 10px 0;
}

.c-common__footer__nav-list>li {
    display: inline-block;
    padding-right: 30px;
}

.c-common__footer__nav-list>li a {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, "Yu Gothic", YuGothic, "MS PGothic", Osaka, arial, sans-serif;
    display: inline-block;
    line-height: 1;
    padding: 5px 0;
}

.c-common__footer__link-and-copyright {
    padding-right: 0;
    padding-left: 0;
}

.c-common__footer__link-and-copyright ul {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 10px 0;
}

.c-common__footer__link-and-copyright ul li {
    padding-right: 30px;
    align-content: center;
}

.c-common__footer__link-and-copyright ul li:last-child {
    padding-right: 0;
}


.c-common__footer__link-and-copyright ul li a {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, "Yu Gothic", YuGothic, "MS PGothic", Osaka, arial, sans-serif;
    line-height: 1;
    padding: 5px 0;
}

.c-common__footer__link-and-copyright .flag img {
    width: 10px;
    margin: 0 5px 2px 0;
    vertical-align: middle;
}

.c-common__footer__copyright {
    font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, "Yu Gothic", YuGothic, "MS PGothic", Osaka, arial, sans-serif;
}

@media screen and (min-width: 1000px) {
    .c-common__footer {
        /* padding: 30px 16px 27px 246px; */
        padding: 30px 0 27px;
    }
    .c-common__footer__nav {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        max-width: 1384px;
        margin: 0 auto;
        padding-right: 64px;
        padding-left: 64px;
    }
    .c-common__footer__nav-top {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 0;
    }
    .c-common__footer__nav-list {
        padding: 0;
    }
    .c-common__footer__nav-list>li {
        display: block;
        margin-bottom: 10px;
        padding-right: 0;
    }
    .c-common__footer__nav-list>li:last-child {
        margin-bottom: 0;
    }
    .c-common__footer__nav-list>li a {
        font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, "Yu Gothic", YuGothic, "MS PGothic", Osaka, arial, sans-serif;
        line-height: 18px;
        padding: 0;
    }
    .c-common__footer__nav li {
        margin-right: 10px;
    }
    .c-common__footer__link-and-copyright {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-align-items: center;
        align-items: center;
        margin: 30px auto 0;
        max-width: 1384px;
        padding-left: 64px;
        padding-right: 64px;
    }
    .c-common__footer__link-and-copyright ul {
        display: -webkit-flex;
        display: flex;
        padding: 0;
    }
    .c-common__footer .flag img {
        width: 24px;
    }
    .c-common__footer__logo a {
        font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, "Yu Gothic", YuGothic, "MS PGothic", Osaka, arial, sans-serif;
        vertical-align: top;
    }
    .c-common__footer__social-buttons li {
        margin-right: 0;
    }
    .c-common__footer__copyright {
        font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック体, "Yu Gothic", YuGothic, "MS PGothic", Osaka, arial, sans-serif;
    }
}

@media screen and (min-width: 1600px) {
    .c-common__footer__nav {
        max-width: 1840px;
        margin: 0 auto;
        padding-right: 100px;
        padding-left: 100px;
    }
    .c-common__footer__link-and-copyright {
        max-width: 1840px;
        padding-right: 100px;
        padding-left: 100px;
    }
}