@charset "UTF-8";

/* ---------------------------------

 footer

--------------------------------- */
.footer {
  color: #fff;
  background-image: linear-gradient(90deg, rgba(0, 123, 199, 1), rgba(7, 49, 144, 1) 50%, rgba(7, 49, 144, 1));
  overflow: hidden;
}
.footer__inner {
  padding-top: 80px;
}
.footer__contents {
  position: relative;
  gap: 30px;
}

.pagetop {
  color: #a1b2be;
  font-size: 1.4rem;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 0;
}
.pagetop a::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 220px;
  background: #a1b2be;
  position: absolute;
  right: 20px;
  top: 0;
}
.pagetop .text {
  display: inline-block;
  transform: rotate(-90deg);
  white-space: nowrap;
  position: absolute;
  right: 0;
  top: 2.2em;
}

.footer__logo {
  width: 238px;
}


.footer__link-list,
.footer__site-link-list {
  font-size: 1.4rem;
  gap: 10px 30px;
}
.footer__link-list .level2 {
  margin-top: 10px;
  font-size: 94%;
}
.footer__link-list a,
.footer__site-link-list a {
  position: relative;
  display: inline-block;
  padding: 2px 0;
}
.footer__link-list a::after,
.footer__site-link-list a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: #a1b2be;
  transition: width .4s;
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer__link-list a:hover::after,
.footer__site-link-list a:hover::after {
  width: 100%;
}

.footer__link-list .item.item-contact {
  margin: 0 0 0 1em;
}
.footer__link-list .item.item-contact a {
  color: #073190;
  background: #fff;
  border-radius: 9999px;
  padding: 3px 20px;
  transition: opacity .3s;
}
.footer__link-list .item.item-contact a:hover {
  opacity: 0.7;
}
.footer__link-list .item.item-contact a::after {
  content: none;
}



.footer__other-link {
  padding: 20px 0;
  gap: 20px;
}
.footer__sns-link-follow {
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.footer__sns-link-list {
  margin-left: -18px;
  margin-right: -18px;
}
.footer__sns-link-list .item {
  font-size: 1.3rem;
  line-height: 1.5;
  margin: 0 18px;
}
.footer__sns-link-list .item img {
  transform: scale(1);
  transition: transform .2s;
}
.footer__sns-link-list .item a:hover img {
  transform: scale(1.6);
}
.footer__sns-link-list .item-insta,
.footer__sns-link-list .item-x {
  width: 20px;
}
.footer__sns-link-list .item-yt {
  width: 24px;
}


.footer__bottom {
  padding: 80px 0;
}
.footer__copyright {
  font-size: 1.1rem;
  font-weight: 300;
  text-align: center;
  border-top: 1px solid #fff;
  padding-top: 20px;
}

@media only screen and (min-width: 1061px) and (max-width: 1200px) {

.footer__link-list,
.footer__site-link-list {
  font-size: 1.3rem;
  gap: 10px 20px;
}

}

@media only screen and (max-width: 1060px) {

  .pagetop {
    font-size: 1.2rem;
    position: absolute;
    right: -25px;
    top: -45px;
  }

  .footer__inner {
    padding-top: 30px;
  }

  .footer__logo {
    width: 160px;
  }

  .footer__link-list,
  .footer__site-link-list {
    font-size: 1.2rem;
    gap: 10px;
  }
  .footer__link-list {
    justify-content: flex-start;
  }
  .footer__link-list > .item {
    width: calc(50% - 5px);
  }
  .footer__link-list .level2 {
    margin: 5px 0 0 10px;
  }
  .footer__link-list .item.item-contact {
    margin: 0;
  }

  .footer__sns-link {
    width: 100%;
    display: flex;
    gap: 30px;
  }
  .footer__sns-link-list .item {
    margin: 0 10px;
  }

  .footer__bottom {
    padding: 20px 0;
  }
  .footer__copyright {
    font-size: 0.9rem;
  }

}

