@charset 'UTF-8';

.footer {
  background-color: #0a0a0a;
}

.footer__sns {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(4, 4fr);
  grid-template-rows: auto auto;
  padding: 50px 25vw 0 25vw;
}

.footer__sns img {
  width: 100%;
  display: block;
}

.img-wrap {
  overflow: hidden;
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.img-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes sns-slide-in {
  0% {
    transform: rotateY(0) translateY(40px);
    opacity: 0;
  }

  100% {
    transform: rotateY(360deg) translateY(0);
    opacity: 1;
  }
}

.img-wrap {
  position: relative;
  overflow: hidden;
}

.img-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 10%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.img-wrap:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

.footer__copyrightBox {
  text-align: center;
  margin-top: 50px;
  font-size: 13px;
  padding-bottom: 20px;
}

.footer__copyright {
  color: #bebebe;
}

.footer_logo {
  text-align: center;
  margin: 20px auto;
  border-top: solid #383838 1px;
  border-bottom: solid #383838 1px;
  width: 80%;
}

.footer_logo img {
  margin: 40px auto 0 auto;
  width: 260px;
}

.footer_logoText {
  margin-top: 30px;
  color: #bebebe;
  font-size: 14px;
  font-family: YuGothic, 'Yu Gothic', 'Yu Mincho Light', 'YuMincho', 'Yu Mincho', '游明朝体', fantasy;
}

.footer_logoCompany {
  margin-top: 3px;
  margin-bottom: 40px;
  color: #bebebe;
  font-size: 14px;
  font-family: YuGothic, 'Yu Gothic', 'Yu Mincho Light', 'YuMincho', 'Yu Mincho', '游明朝体', fantasy;
}

.footer__buttn {
  text-align: center;
  margin-top: 60px;
}

.footer__buttn a {
  margin: 0;
  font-size: 18px;
  border: solid rgb(243, 243, 243) 1px;
  padding: 10px 20px 10px 30px;
  color: rgb(243, 243, 243);
  text-decoration: none;
  letter-spacing: 5px;
}

.footer__buttn a:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dli-mail {
  display: inline-block;
  vertical-align: middle;
  color: #ffffff;
  line-height: 1;
  position: relative;
  width: 1.06667em;
  height: 0.8em;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  box-sizing: content-box;
  overflow: hidden;
}

.dli-mail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.75425em;
  height: 0.75425em;
  border: 0.1em solid currentColor;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 0 0 0 0.1em;
  box-sizing: content-box;
  transform: translate(-50%, -50%) rotate(-45deg) skew(10deg, 10deg);
}


@media screen and (max-width: 795px) {
  .footer__sns {
    padding: 30px 15vw 0 15vw;
    grid-template-rows: none;
  }

  .footer__buttn {
    margin-top: 30px;
  }

  .footer__buttn a {
    font-size: 14px;
  }

  .footer__copyright {
    font-size: 13px;
  }
}

@media screen and (max-width: 600px) {
  .footer__sns {
    gap: 10px;
    grid-template-columns: repeat(2, 2fr);
    grid-template-rows: auto auto;
    padding: 50px 20vw 0 20vw;
  }

  .footer__sns img {
    width: 30vw;
  }

  .footer_logo {
    margin: 30px auto;
  }

  .footer_logo img {
    margin: 10px auto 0 auto;
    width: 200px;
  }

  .footer_logoText {
    margin-top: 30px;
    font-size: 13px;
  }

  .footer_logoCompany {
    margin-top: 3px;
    margin-bottom: 10px;
    font-size: 13px;
  }

  .footer__buttn {
    margin-top: 40px;
  }

  .footer__buttn a {
    font-size: 18px;
    padding: 10px 20px 10px 30px;
    letter-spacing: 1px;
  }

  .footer__copyright {
    font-size: 12px;
  }

}

@media screen and (max-width: 480px) {
  .footer__sns {
    gap: 10px;
    grid-template-columns: repeat(2, 2fr);
    grid-template-rows: auto auto;
    padding: 50px 20vw 0 20vw;
  }

  .footer__sns img {
    width: 30vw;
  }

  .footer__buttn a {
    font-size: 12px;
    padding: 8px 15px 8px 25px;
  }

  .footer_logo {
    margin: 30px auto;
  }

  .footer_logo img {
    margin: 10px auto 0 auto;
    width: 180px;
  }

  .footer_logoText {
    margin-top: 30px;
    font-size: 12px;
  }

  .footer_logoCompany {
    margin-top: 3px;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .footer__buttn {
    margin-top: 30px;
  }

  .footer__copyright {
    font-size: 11px;
  }

  .footer__copyrightBox {
    margin-top: 40px;
    padding-bottom: 20px;
  }
}

@media screen and (max-width: 400px) {
  .footer_logoText {
    margin-top: 20px;
    font-size: 11px;
  }

  .footer_logoCompany {
    margin-top: 2px;
    font-size: 11px;
  }

  .footer_logo img {
    width: 150px;
  }
}