.footer-link a {
  width: 33.333333%;
  display: block;
  float: left;
  text-align: center;
  background: #333;
  padding: 22px 0;
  color: #fff;
  border-right: 1px solid #555;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.footer-link a:last-child {
  border: none;
}

.footer-link a:hover {
  background: #f39700;
}

.footer-link:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow: hidden;
  font-size: 0.1em;
  line-height: 0;
}

footer {
  width: 100%;
  background: #222;
  padding: 23px 10px;
  color: #fff;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 13px;
  position: relative;
}

footer a {
  color: #fff;
}

footer p {
  margin: 20px 0 0 0;
}

footer #footer-menu {
  position: absolute;
  right: 0;
  top: 50%;
  margin: -10px 0 0 0;
}

footer #footer-menu li {
  display: inline-block;
  padding: 0 50px;
  height: 20px;
  line-height: 20px;
}

.footer-socmed {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  align-self: start;
  margin-top: 1.5rem;
}

.footer-socmed > li > a{
  padding: 5px;
  border: 2px solid #ffffff;
  border-radius: 10px;
  display: block;
  width: 45px;
  height: 45px;
}

.footer-socmed > li > a >img{
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
}

footer #footer-menu li + li {
  border-left: 1px solid #ccc;
}

.footer-sp {
  display: none;
}

footer.contact {
  text-align: center;
  padding: 13px 0;
}
footer {
  padding: 0 3rem 2rem;
}

.footer-pc {
  max-width: 1600px;
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr 1fr auto;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  font-size: 16px;
  justify-items: center;
}

.footer-menu {
  line-height: 1.7;
}

.footer-pc > :first-child {
  grid-area: 1 / 1 / 4 / 1;
  justify-self: left;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  align-items: center;
}

.footer-pc > :nth-child(2) {
  grid-area: 2 / 2 / 2 / 2;
  justify-self: right;
}

.footer-pc > :last-child {
  grid-area: 4 / 1 / 4 / 3;
  justify-self: left;
  align-self: end;
  margin-top: 5rem;
}

.footer-service-links {
  margin-left: 1rem;
}

.footer-menu li > a::before {
  content: "\29C9";
  margin-right: 6px;
  font-size: 0.9em;
  color: #efefef70;
  transition: 0.5s;
}

.footer-menu li span.services-label::before {
  content: "\25BF";
  margin-right: 6px;
  font-size: 0.9em;
  color: #efefef70;
  transition: 0.5s;
}

.info-logo-links-col .footer-logo-wrapper {
  align-self: end;
  margin-bottom: 1.5rem;
}

.footer-menu.footer-info {
  align-self: start;
}

.footer-menu.footer-info li {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
}

.footer-menu.footer-info li > :first-child {
  color: #efefef90;
}

.footer-links-col {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 6rem;
}

footer a:hover,
footer a:hover::before {
  color: #f39700;
}

.sp-br {
  display: none;
}

@media only screen and (max-width: 1500px) {
  .footer-pc {
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    font-size: 16px;
    justify-items: center;
  }

  .footer-links-col {
    gap: clamp(3rem, 11.429vw - 4.714rem, 6rem);
  }

  .sp-br {
    display: block;
  }
}

@media only screen and (max-width: 1200px) {
  .footer-pc {
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 350px 2fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    font-size: 16px;
    justify-items: center;
  }
}

@media only screen and (max-width: 1080px) {
  .footer-pc {
    display: none;
  }

  .footer-sp {
    display: grid;
    grid-template-rows: auto;
    font-size: 16px;
    grid-template-columns: 2fr 1fr 1fr;
    padding-top: 3rem;
  }

  .footer-sp > :first-child {
    grid-area: 1 / 1 / 2 / 2;
    justify-self: left;
    margin-bottom: 1.5rem;
  }

  .footer-sp > :nth-child(2) {
    grid-area: 2 / 1 / 3 / 2;
    justify-self: left;
  }

  .footer-sp > :nth-child(3) {
    grid-area: 2 / 2 / 3 / 3;
    justify-self: left;
  }

  .footer-sp > :nth-child(4) {
    grid-area: 3 / 2 / 4 / 3;
    justify-self: left;
  }

  .footer-sp > :nth-child(5) {
    grid-area: 2 / 3 / 3 / 4;
    justify-self: left;
  }

  .footer-sp > :nth-child(6) {
    grid-area: 3 / 1 / 4 / 2;
    justify-self: left;
  }

  .footer-sp > :last-child {
    grid-area: 4 / 1 / 5 / 3;
    justify-self: left;
    align-self: end;
    margin-top: 5rem;
  }

  .footer-links-col {
    gap: clamp(3rem, 11.429vw - 4.714rem, 6rem);
  }

  .sp-br {
    display: block;
  }
}

@media all and (max-width: 768px) {
  .footer-sp {
    display: grid;
    grid-template-rows: auto 1fr 1fr 1fr auto;
    font-size: 16px;
    grid-template-columns: clamp(17.5rem, 54.688vw - 4.375rem, 21.875rem) 1fr;
    padding-top: 3rem;
  }

  .footer-sp > :first-child {
    grid-area: 1 / 1 / 2 / 2;
    justify-self: left;
  }

  .footer-sp > :nth-child(2) {
    grid-area: 2 / 1 / 4 / 2;
    justify-self: left;
  }

  .footer-sp > :nth-child(3) {
    grid-area: 2 / 2 / 3 / 3;
    justify-self: left;
  }

  .footer-sp > :nth-child(4) {
    grid-area: 3 / 2 / 4 / 3;
    justify-self: left;
  }

  .footer-sp > :nth-child(5) {
    grid-area: 4 / 2 / 5 / 3;
    justify-self: left;
  }

  .footer-sp > :nth-child(6) {
    grid-area: 4 / 1 / 4 / 2;
    justify-self: left;
    align-self: start;
    margin-top: 0;
  }

  .footer-sp > :last-child {
    grid-area: 5 / 1 / 6 / 3;
    justify-self: left;
    align-self: end;
    margin-top: 5rem;
  }

  .footer-menu.footer-info li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .footer-menu.footer-info li > :last-child {
    margin-top: -5px;
  }
}

@media only screen and (max-width: 640px) {
  .footer-sp {
    display: flex;
    flex-direction: column;
    font-size: 14px;
  }
  .footer-sp > :first-child {
    margin-bottom: 1.5rem;
  }

  .footer-sp > :nth-child(2) {
    margin-bottom: 1.5rem;
  }

  .footer-sp > :nth-child(3) {
    margin-bottom: 0;
  }

  .footer-sp > :nth-child(4) {
    margin-bottom: 1.5rem;
  }

  .footer-sp > :nth-child(5) {
    margin-bottom: 1.5rem;
  }

  .footer-sp > :nth-child(6) {
    margin-bottom: 1.5rem;
    align-self: center;
  }

  .footer-sp > :last-child {
    margin-block: 1.5rem;
    align-self: center;
    text-align: center;
  }
}