/*--------------------------------
前ページのfooter
--------------------------------*/

.footer {
  background-color: #45BDCF;
  color: #FFF;
  padding: 11rem 0 5rem;
  font-size: 2.2rem;
}

.footer-sns {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15rem;
}

.footer-instagram a, .footer-line a {
  transition: .3s;
}

.footer-instagram a:hover, .footer-line a:hover {
  opacity: .7;
}


.footer-instagram {
  margin-right: 2rem;
}

.footer-instagram img {
  width: 95px;
}

.footer-line img {
  width: 110px;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 10rem auto 0;
  align-items: center;
}

.footer-logo img {
  height: 50px;
}

.footer-list {
  display: flex;
  margin-top: 1rem;
}

.footer-item {
  margin-right: 3rem;
}

.footer-item:last-of-type {
  margin-right: 0;
}

.footer-logo a, .footer-item a, .footer-policy {
  transition: .3s;
}

.footer-logo a:hover, .footer-item a:hover, .footer-policy:hover {
  opacity: .7;
}

.footer-policy {
  display: block;
  text-align: center;
  margin-top: 15rem;
}


/* ページトップ */

#page-top {
  text-align: center;
}

#page-top a {
  transition: .3s;
}

#page-top a:hover {
  opacity: .7;
}

#page-top img {
  width: 100px;
}



/*--------------------------------
sp css
--------------------------------*/

@media screen and (max-width: 1400px) {

  .footer-nav {
    width: 90%;
  }
}


@media screen and (max-width: 1180px) {

  .footer-nav {
    flex-direction: column;
  }

  .footer-list {
    justify-content: center;
    margin-top: 5rem;
  }

  .footer-logo {
    text-align: center;
  }
}



@media screen and (max-width: 1080px) {

  .footer-item {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 970px) {

  .footer-item {
    margin-right: 2rem;
  }

}


@media screen and (max-width: 767px) {

  .footer {
    font-size: 1.4rem;
  }

  .footer-nav {
    display: none;
  }

  .footer-policy {
    margin-top: 1.5rem;
  }

  .footer-sns {
    margin-top: 3rem;
  }

  .footer {
    padding: 3rem 0;
  }

  .footer-instagram img {
    width: 40px;
  }

  .footer-line img {
    width: 50px;
  }

  #page-top img {
    width: 40px;
  }
}