/* ============================================================
   footer.css — リニューアルページ用フッタースタイル
   style.css の Footer セクションから流用
   ============================================================ */

@media (min-width: 768px) {
  .sp-only-service {
    display: none;
  }
}

.footer {
  background: #000;
  padding: 55px 0;
}

.footer img {
  max-width: 244px;
}

.footer .pc.mr {
  margin-right: -7%;
}

.footer .jmaa {
  margin-left: 1rem;
}

.footer .pc .jmaa {
  margin-left: 4rem;
}

.footer .jmaa img {
  max-width: 50px;
}

.footer .main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  grid-gap: 50px;
}

.footer .main a {
  color: #fff;
}

.list-menu-footer {
  margin-top: 40px;
}

.list-menu-footer .item {
  margin-bottom: 0px;
  font-size: 0.93rem;
  letter-spacing: 0.025rem;
}

.footer .title-menu-footer {
  color: #4c4c4c;
  font-weight: bold;
  font-size: 0.93rem;
  margin-bottom: 10px;
}

.list-menu-child-footer {
  padding-left: 20px;
  font-size: 0.93rem;
  font-weight: bold;
}

.list-menu-child-footer .item {
  margin-bottom: 10px;
}

.footer-bot {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #fff;
  font-weight: bold;
  font-size: 0.67rem;
  position: relative;
}

.footer-bot > div:nth-child(3) {
  width: 245px;
}

.scrollup {
  color: #fff;
  background: #00ffff;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  display: inline-block;
  border-radius: 100%;
  bottom: 35px;
  right: 40px;
  position: fixed;
  z-index: 800;
  cursor: pointer;
  display: none !important;
}

.scrollup i {
  position: absolute;
  left: 11px;
  top: 14px;
  border: solid white;
  border-width: 0 6px 6px 0px;
  display: inline-block;
  padding: 4px;
  width: 18px;
  height: 18px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

@media (max-width: 768px) {
  .scrollup {
    right: 25px;
  }

  .footer .logo-footer.mb {
    display: block;
    padding: 0 30px;
    margin-top: 25px;
    padding-bottom: 80px;
    border-bottom: 2px solid #fff;
  }

  .footer .main {
    display: block;
    margin-left: -15px;
    margin-right: -15px;
  }

  .list-menu-footer {
    margin-top: 0;
  }

  .list-menu-footer .item {
    margin-bottom: 0;
    padding: 10px 0;
    padding-left: 35px;
    border-bottom: 2px solid #fff;
    display: flex;
    font-size: 0.93rem;
  }

  .list-menu-footer .item a {
    width: 100%;
  }

  .list-menu-footer2 {
    padding-left: 35px;
    margin-top: 15px;
  }

  .footer .title-menu-footer {
    padding: 10px 0;
    border-bottom: 2px solid #fff;
    font-size: 0.8rem;
    margin-bottom: 0;
  }

  .list-menu-child-footer .item {
    margin-bottom: 0;
    padding: 10px 0;
    border-bottom: 1px solid #363636;
    display: flex;
    font-size: 0.8rem;
  }

  .list-menu-child-footer .item a {
    width: 100%;
  }

  .footer .main a {
    padding-right: 30px;
    background-image: url("../images/arrow-menu-footer.png");
    background-position: center right 10px;
    background-repeat: no-repeat;
  }

  .footer-bot {
    justify-content: center;
    margin-top: 50px;
  }

  .footer-bot .pc {
    display: none;
  }

  .footer {
    padding-bottom: 30px;
  }

  .footer-bot > div:nth-child(3) {
    display: none;
  }
}

/* カスタム上書き（style.css の Custom / Compiled from SCSS と同等） */
.footer {
  padding: 38px 0;
}

@media (min-width: 768px) {
  .footer .main {
    min-width: 1200px;
  }
}

.footer .title-menu-footer {
  margin-bottom: 5px;
  margin-top: 32px;
}

.footer .title-menu-footer:first-child {
  margin-top: 0;
}

.list-menu-footer.normal .item {
  margin-bottom: 3px;
  font-weight: 500;
}

.list-menu-footer.normal a {
  font-size: 13px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .footer {
    min-height: 32px;
    padding: 40px 0 0 0;
  }

  .list-menu-footer {
    display: none;
  }

  .footer .logo-footer.mb {
    border: none;
    padding: 0;
    margin: 0 0 0 20px;
  }

  .footer .logo-footer.mb img {
    height: 30.5px;
  }
}

.footer .main {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  grid-gap: unset;
  margin-bottom: 80px;
  font-feature-settings: "palt";
}

.list-menu-footer:nth-child(1) {
  margin-right: 120px;
}

.list-menu-footer:nth-child(2) {
  margin-right: 140px;
}

.list-menu-footer:nth-child(3) {
  margin-right: 40px;
}
