/* ---------------------------------------------------------
 フッター
--------------------------------------------------------- */
.p_footer {
  background: #333333;
  position: relative;
  padding: 50px 0 40px;
}

.p_footer .footerInner {
  position: relative;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 50px;
  z-index: 2;
}

.p_footer .footerTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.p_footer .footerLogo img {
  width: 272px; 
}

.p_footer .footerNav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p_footer .footerNav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.p_footer .footerService {
  margin-bottom: 40px;
}

.p_footer .footerService a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: white;
  border-radius: 25px;
  text-decoration: none;
  color: #333333;
  font-size: 18px;
  font-weight: bold;
}

.p_footer .footerService .footerActivoLogo {
  width: 106px;
}

.p_footer .footerService .footerLinkIcon {
  width: 18px;
  color: #333333;
}

.p_footer .footerBottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.p_footer .footerBottom p {
  color: white;
  margin: 0;
  font-size: 16px;
}

.p_footer .footerBottom a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

/* ---------------------------------------------------------
 1280px以下
--------------------------------------------------------- */
@media (max-width: 1280px) {
  .p_footer .footerNav ul {
    gap: 30px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

/* ---------------------------------------------------------
　980px以下
--------------------------------------------------------- */
@media (max-width: 980px) {
  .p_footer {    
    padding: 0 0 20px 0;
  }

  .p_footer .footerInner {
    padding: 0 25px;
  }

  .p_footer .footerLogo {
    display: none;
  }

  .p_footer .footerNav ul {
    gap: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;    
  }

  .p_footer .footerNav {
    width: 100%;
  }

  .p_footer .footerNav li {
    width: 100%;
    position: relative; 
  }

  .p_footer .footerNav li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 1px;
    background: #ffffff;
    margin: 0 -25px;
    opacity: 0.2;
  }

  .p_footer .footerNav li a {
    display: block;
    width: 100%;
    font-weight: bold;
    font-size: 16px;
    padding: 20px 0;
  }  

  .p_footer .footerService {
    max-width: 640px;
  }

  .p_footer .footerService a {
    width: 100%;
    border-radius: 50px;
    justify-content: center;   
    gap: 16px;
  }

  .p_footer .footerService .footerActivoLogo {    
    width: 160px;
  }

  .p_footer .footerService span {
    font-size: 16px;
  }

  .p_footer .footerService svg {
    display: none;
  }

  .p_footer .footerBottom a {
    font-size: 13px;
  }
}

/* ---------------------------------------------------------
　767px以下
--------------------------------------------------------- */
@media (max-width: 767px) {
  .p_footer .footerService {
    max-width: 480px;
  }
  
  .p_footer .footerService a {
    padding: 16px 0;        
  }

  .p_footer .footerService .footerActivoLogo {    
    width: 106px;
  }

  .p_footer .footerService span {
    font-size: 14px;
  }
}

/* ---------------------------------------------------------
　425px以下
--------------------------------------------------------- */
@media (max-width: 425px) {
  .p_footer .footerService span {
    font-size: 10px;
  }
}

/* ---------------------------------------------------------
　375px以下
--------------------------------------------------------- */
@media (max-width: 375px) {
  .p_footer .footerService .footerActivoLogo {    
    width: 80px;
  }
}