@charset "UTF-8";

/* フッター */
.footer * {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.footer {
  background-color: #383838;
  padding: 80px 0 143px;
  color: #fff;
  font-weight: 500;
}

.footer__logo {
  display: inline-block;
  width: 191px;
  margin: 0;
}

.footer__linkWrapper {
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__linkSocialWrapper {
  width: 200px;
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}

.footer__linkBox {
  width: 72%;
}

.footer__navList {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 12px 60px;
}

.footer__navItem a, .footer__subnavItem a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.footer__navItem a:hover, .footer__subnavItem a:hover {
  opacity: 0.5;
}

.footer__subnavItem {
  display: flex;
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.5;
}

.footer__subnavItem--mt {
  margin-top: 20px;
}

.footer__copyright {
  margin-top: 56px;
  font-size: 1.4rem;
  text-align: right;
  font-weight: 400;
}

/* コンテナ */
.footer__container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 123px;
}

.footer__sp-only {
  display: none;
}

/* メディアクエリ */
@media screen and (max-width: 1199px) {
  .footer__linkWrapper {
    flex-direction: column;
    gap: 60px;
  }

  .footer__linkBox {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .footer__container {
    padding: 0 4%;
  }
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 60px 0 134px;
  }

  .footer__linkSocialWrapper {
    margin-top: 46px;
    gap: 23px;
  }

  .footer__navList {
    grid-template-columns: repeat(2, auto);
    margin-top: 31px;
    gap: 17px 30px;
  }

  .footer__subnavItem {
    width: 50%;
    margin-top: 14px;
  }

  .footer__copyright {
    margin-top: 38px;
    text-align: left;
  }

  .footer__fb {
    width: 60px;
  }

  .footer__ins {
    width: 51px;
  }

  .footer__x {
    width: 45px;
  }

  .footer__subnavList {
    margin-top: 23px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .footer__container {
    padding: 0 20px;
  }

  .footer__pc-only {
    display: none;
  }

  .footer__sp-only {
    display: block;
  }
}