@charset "UTF-8";

/* footer
---------------------------------------------------------------------------*/
.l-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === モバイル（デフォルト） ===================== */
.l-footer__marks {
  width: 100%;
  display: block;
  padding-right: 0.625rem;
  padding-left: 0.625rem;
  margin-top: 0.25rem;
  margin-bottom: 1.375rem;
}

.l-footer__marks>*+* {
  margin-top: 1rem;
}

.l-footer__mark,
.l-footer__brand {
  display: block;
  width: 100%;
  min-width: 0;
  border-left: none;
  border-top: 1px solid #DDDDDD;
  padding: 1rem 0;
  text-align: center;
}

.l-footer__mark:first-child {
  border-top: none;
  padding-left: 0;
}

.l-footer__markImg {
  height: auto;
  display: flex;
  align-items: center;
}

.l-footer__markImg div,
.l-footer__markImg a {
  margin-left: auto;
  margin-right: auto;
}

.l-footer__markText {
  font-size: 0.875rem;
  line-height: 1.14;
  text-align: center;
  margin-top: 0.5rem;
}

.l-footer__brandLogo {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.l-footer__button {
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
  transition: .3s;
}

@media (min-width:768px) {

  .l-footer__button:hover,
  .l-footer__snsItem:hover,
  .l-footer__linkItem:hover {
    opacity: .7;
  }
}

.l-footer__buttonLink {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.14;
  color: #fff;
  background-color: #2778BE;
  padding: 1.25rem 3rem;
  text-align: center;
  min-width: 15rem;
}

.l-footer__buttonLink::before {
  position: absolute;
  bottom: 0.25rem;
  right: 0.25rem;
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.l-footer__sns {
  display: flex;
  justify-content: center;
}

.l-footer__sns>*+* {
  margin-left: .9375rem;
}

.l-footer__bottom {
  width: 100%;
  background-color: #2778BE;
  color: #fff;
  padding-top: 1.5rem;
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width:767px) {
  .l-footer__bottom {
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
}

.l-footer__linkList {
  display: flex;
}

@media (max-width:767px) {
  .l-footer__linkList {
    flex-wrap: wrap;
    max-width: 17.5rem;
    justify-content: center;
  }

  .l-footer__linkList>*:nth-child(n+3) {
    margin-top: .375rem;
  }
}

.l-footer__linkList>*+* {
  margin-left: 1.25rem;
}

.l-footer__linkItem a {
  position: relative;
  display: block;
  font-size: .875rem;
  padding-right: 1.25rem;
}

@media (max-width:767px) {
  .l-footer__linkItem a {
    font-size: .75rem;
    padding-right: 1.125rem;
  }
}

.l-footer__linkItem a::before {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url(../../assets/images/footer-link.svg) no-repeat center / cover;
}

@media (max-width:767px) {
  .l-footer__linkItem a::before {
    width: .875rem;
    height: .875rem;
  }
}

.l-footer__copyright {
  font-size: .75rem;
  margin-top: .75rem;
}

@media (max-width:767px) {
  .l-footer__copyright {
    margin-top: .375rem;
  }
}

/* === PC（901px以上）だけ上書き =================== */
@media (min-width: 901px) {
  .l-footer__marks {
    width: auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .l-footer__marks>*+* {
    margin-top: 0;
    margin-left: clamp(1rem, 1.95vw, 1.3125rem);
  }

  .l-footer__mark {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: clamp(0.75rem, 1.9vw, 1.3125rem);
    padding-top: 2.5rem;
    padding-bottom: 2.875rem;
    border-top: 0;
    border-left: 1px solid #DDDDDD;
  }

  .l-footer__mark:first-child {
    border-left: 0;
  }

  .l-footer__markImg {
    height: 4.75rem;
  }

  .l-footer__markText {
    margin-top: 1.5rem;
  }

  .l-footer__brand {
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: clamp(0.5rem, 3vw, 2.5rem);
    padding-top: 2.625rem;
    border-top: 0;
    border-left: 1px solid #DDDDDD;
  }
}