@charset "utf-8";

.footer{
  background: url(https://fkrelations.co.jp/system_panel/uploads/images/20251201151314343787.png) no-repeat center/cover;
  padding: 325px 0 4rem;
  color:#fff;
  position:relative;
  z-index: 1;
}

.footer p{
  line-height:1.5;
}

/*
.footer::before{
content:"";
position:absolute;
width: 56%;
aspect-ratio: 1063 / 1056;
bottom: 0;
right: 0;
z-index: -1;
background: url(https://fkrelations.co.jp/system_panel/uploads/images/20251205092452518933.png) no-repeat center/cover;
}
*/
.footer a{
  color:#fff;
}

.footer a:hover{
  opacity:0.7;
}

.footer-bg{
  width:90%;
  margin:0 auto;
}

.footer-wrap{
  display:flex;
  margin:0 0 5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left{
  width:300px;
  font-size:15px;
}

.footer-insta{
  width:25px;
  height:25px;
  margin-top:2.5rem ;
}

.footer-left div{
  display:flex;
  align-items:center;
  gap:18px;
}

.footer-left div:last-of-type{
  gap:10px;
}

.footer-logo{
  margin-bottom:2rem;
}

.footer-logo + p{
  margin-bottom:1rem;
}

.footer-logo:hover{
  opacity:0.7;
}

.footer-left a{
  display:inline-block;
}

.footer-right{
  max-width:600px;
  display:flex;
  flex-wrap:wrap;
  gap:2rem 1rem;
  width: calc(100% - 400px);
}

.footer-right a{
  width:calc((100% - 2rem)/3);
}

.copyright{
  font-size:clamp(0.75rem, 0.727rem + 0.08vw, 0.813rem);
  line-height:1;
}


@media screen and (max-width: 1024px) {
  .footer-wrap {
    flex-direction: column;
    gap: 5rem;
    margin: 0 0 5rem;
  }
  .footer-right{
    width:100%;
    max-width: 700px;
  }
  .footer-right a {
    width: calc((100% - 3rem) / 4);
  }
  .copyright{
    border-top:1px solid #707070;
    padding-top:20px;
    text-align:center;
  }
}

@media (max-width: 767px) {
  .footer{
    padding: 10rem 0 1.5rem;
    background: url(https://fkrelations.co.jp/system_panel/uploads/images/20251205101608688489.png) no-repeat center / cover;
  }
  .footer-right a{
    width: calc((100% - 2rem) / 2);
    font-size:13px;
  }
  .footer-right{
    gap:20px 2rem;
  }
  .footer-left {
    width: 270px;
  }
  .copyright{
    text-align:center;
  }
  .footer-insta {
    width: 18px;
    height: 18px;
    margin-top: 2rem;
  }
}
