@charset "utf-8";

.footer {
  background-color: #1a1a1a;
  padding: 54px 0 10px;
  position: relative;
}

.footer__inner {
  display: flex;
  justify-content: center;
  position: relative;
}

.top-arrow {
  background-image: url(../img/footer/top-arrow.png);
  background-image: image-set(url(../img/footer/top-arrow.png) 1x, url(../img/footer/top-arrow@2x.png) 2x);
  background-image: -webkit-image-set(url(../img/footer/top-arrow.png) 1x, url(../img/footer/top-arrow@2x.png) 2x);
  position: absolute;
  top: -45px;
  right: 0;
  width: 45px;
  height: 45px;
}

.footer-info {
  position: absolute;
  top: 0;
  left: 4.2%;
}

.footer-logo-s {
  width: 200px;
  height: 69px;
}

.footer-logo {
  width: 100%;
  height: 100%;
}

.footer-info__list {
  margin-top: 34px;
}

.footer-info__item {
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.footer-nav__item:not(:first-of-type) {
  margin-left: 60px;
}

@media (max-width: 1500px) {
  .footer-nav {
    justify-content: left;
    margin-left: 29%;
  }
}

@media (max-width: 1350px) {
  .footer-nav {
    justify-content: left;
    margin-left: 33%;
  }

  .footer-nav__item:not(:first-of-type) {
    margin-left: 55px;
  }
}

.footer-nav__link {
  font-size: 1.4rem;
  color: #fff;
  transition: all .3s;
}

@media (min-width: 1039px) {
  .footer-nav__link:hover {
    opacity: 0.7;
    transition: all .3s;
  }
}

.footer-sub-nav {
  margin-top: 35px;
}

.footer-sub-nav__item:not(:last-of-type) {
  margin-bottom: 18px;
}

.footer-sub-nav__link {
  color: #fff;
  font-size: 1.2rem;
  color: #fff;
  transition: all .3s;
  font-weight: 400;
}

@media (min-width: 1039px) {
  .footer-sub-nav__link:hover {
    opacity: 0.7;
    transition: all .3s;
  }
}

.footer-info__list--sp {
  display: none;
}

.copy {
  font-size: 1.2rem;
  font-weight: 300;
  margin-top: 46px;
  color: #fff;
  text-align: center;
}

/* ==========================================
/* tablet
/* ========================================== */

@media (max-width: 1079px) {

  .footer {
    background-color: #1a1a1a;
    padding: 30px 0 10px;
    position: relative;
  }
  
  .footer__inner {
    display: block;
  }
  
  .footer-info {
    position: static;
  }
  
  .footer-logo-s {
    width: 150px;
    height: 52px;
    margin: 0 auto;
  }

  .footer-info__list--pc {
    display: none;
  }
  
  .footer-nav {
    display: block;
    margin: 40px 0 0;   
  }
  
  .footer-nav__item:not(:first-of-type) {
    margin: 0 9.8%;
  }

  .footer-nav__item:first-of-type {
    border-top: 1px solid #fff;
  }

  .footer-nav__item {
    border-bottom: 1px solid #fff;
    margin: 0 9.8%;
    position: relative;
  }

  .footer-nav__item:nth-of-type(-n+5)::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid #fff;
}
  
  .footer-nav__link {
    display: inline-block;
    width: 100%;
    font-size: 1.4rem;
    color: #fff;
    padding: 23px 0;
    transition: all .3s;
  }

  .footer-nav__link--accordion {
    position: relative;
	 pointer-events: none;
  }

  .footer-nav__link--accordion::before,
  .footer-nav__link--accordion::after {
    content: "";
    display: block;
    background-color: #fff;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 1px;
  }

  .footer-nav__link--accordion::after {
    transform: rotate(90deg);
    transition: all .3s;
  }
  
  .footer-sub-nav {
    margin-top: 0;
  }
  
  .footer-sub-nav__item:not(:last-of-type) {
    margin-bottom: 0;
  }

  .footer-sub-nav__item {
    position: relative;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: all .1s;
  }

  .footer-sub-nav__item::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid #fff;
  }
  
  .footer-sub-nav__link {
    display: inline-block;
    padding: 17px 0 17px 15px;
    width: 100%;
  }

  /* ----- accordion start ----- */

  .footer-sub-nav__item.is-active {
    border-top: 1px solid #fff;
    opacity: 1;
    height: 47px;
    overflow: visible;
    transition: all .3s;
  }

  .footer-nav__link--accordion.is-active::before {
    opacity: 0;
  }
  
  .footer-nav__link--accordion.is-active::after {
    transform: rotate(0);
  }

  /* ----- accordion end ----- */

  .footer-info__list--sp {
    display: block;
    margin-top: 63px;
  }

  .footer-info__item {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
  }
  
  .copy {
    font-size: 1rem;
    margin-top: 22px;
  }
}

/* ==========================================
/* sp
/* ========================================== */

@media (max-width: 767px) {

  .footer-nav__link {
    font-size: 1.2rem;
  }

  .footer-sub-nav__link {
    font-size: 1.1rem;
    padding: 18px 0 17px 15px;
  }

}