@charset "utf-8";

.footer{
  background-color: #FFF4A8;
  padding: 2.5rem 2.5%;
}

.footer-bg{
  width:calc(100% - 5%);
  margin:0 auto;
  padding:5rem 0 2.5rem;
  background-color: #FFFFF5;
}

.footer-logo{
  width:280px;
}

.footer-top{
  display:flex;
  max-width:1345px;
  width:90%;
  margin:0 auto 5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-ul-wrap{
  display:flex;
  gap:3rem;
}

.footer-ul{
  display:flex;
  gap:1rem;
  flex-direction: column;
}
.footer-ul a{
  color:#6A6A6A;
}

.footer-ul a:hover{
  opacity:0.7;
}

.footer-left{
  display:flex;
}

.footer-left > a{
  color:#F8B629 !important;
  text-align:center;
}

.footer-right{
  width:560px;
}

.footer-right > p{
  color:#6A6A6A;
  margin:1.5rem 0 0;
}

.footer-btn-wrap{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-btn:not(.footer-btn2){
  width:320px;
}

.footer-btn2{
      display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.footer-btn2 a{
  background:#F8B62A !important;
  width:220px !important;
  padding:0 !important;
}

.fax-btn{
  pointer-events:none;
}

.footer-download{
  padding:10px;
  border-radius:10px;
  height:64px;
  margin:20px 0 8px;
  display:none !important;
}

.footer-download p{
  text-align:center;
  line-height:1.3;
}

.footer-tel{
  background:#32C1FF;
  height:3rem;
  border-radius:24px;
  padding:0 !important;
  width:100% !important;
}

.footer-btn a:not(.footer-free){
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding:0 1.5rem;
  color:#fff;
  font-weight: bold;
}

.footer-btn a:not(.footer-free):hover,
.footer-free:hover{
  opacity:0.7;
}

.footer-free{
  background:#32C1FF;
  height:7.5rem;
  border-radius:10px;
  color:#fff;
  text-align:center;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin:20px 0 0;
}
.footer-free:hover{
  color:#fff;
}

.footer-free div{
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  font-size:clamp(1rem, 0.529rem + 1.57vw, 2rem);
  margin:0 0 1rem;

}

.footer-free div + p{
  font-size:14px;
}

.footer-btn a.footer-free div img{
  width:2.5rem;
}

.footer-btn a img{
  width:1rem;
}

.copyright{
  text-align:center;
}

.footer-movie{
  width:100%;
  margin:0 0 2.5rem;
  padding: 200px 0 5rem;
  position: relative;
  z-index:0;
}

.footer-car{
  animation: buruburu 2s linear infinite;
}

.footer-movie::before{
  position: absolute;
  content: "";
  background: url(https://ailes-nara.co.jp/system_panel/uploads/images/20250328165741655225.png);
  background-repeat: repeat-x;
  width: 100%;
  height: -webkit-fill-available;
  top: 10%;
  animation: scroll-anim 80s linear infinite;
  background-size: contain;
  z-index:-1;
}

.footer-movie::after{
  position: absolute;
  content: "";
  background: url(https://ailes-nara.co.jp/system_panel/uploads/images/20250328170514209820.png);
  background-repeat: repeat-x;
  width: 100%;
  height: 50px;
  top: 85%;
  animation: scroll-anim2 50s linear infinite;
  z-index:-1;
  background-size: contain;
}

@keyframes scroll-anim {
  100% {
    background-position: 3650px 0;
  }
}

@keyframes scroll-anim2 {
  100% {
    background-position: 3648px 0;
  }
}

@keyframes buruburu{
  0% {
    transform: translateY(0);
  }
  7% {
    transform: translateY(-5px);
  }

  14% {
    transform: translateY(5px);
  }
  20% {
    transform: translateY(-5px);
  }
  32% {
    transform: translateY(5px);
  }
  40% {
    transform: translateY(0px);
  }
}

.footer-car{
  width:175px;
  margin:0 auto;
}

@media screen and (max-width: 1600px) {
  .footer-top{
    width: 95%;
    margin: 0 auto 5rem 0;
  }
}

@media screen and (max-width: 1400px) {
  .footer-left{
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .footer-top{
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin:0 auto;
  }
}

@media (max-width: 767px) {
  .footer{
    padding:1.5rem 5%;
  }
  .footer-bg{
    padding: 2.5rem 0 ;
  }
  .footer-top{
    width:100%;
  }
  .footer-logo {
    width: 180px;
    margin:0 auto;
  }
  .footer-btn-wrap{
    gap: 10px;
    flex-direction:column;
  }
  .footer-left > a{
    font-size:12px;
  }
  .footer-right {
    width: 95%;
  }
  .footer-btn a img {
    width: 20px;
  }
  .footer-free{
    font-size: 20px;
    margin: 10px 0 0;
  }
  .footer-download{
    margin: 10px 0 8px;
  }
  .footer-btn a.footer-free div img{
    width:24px;
  }
  .footer-free div + p {
    font-size: 13px;
  }
  .footer-right > p{
    font-size: 12px;
    margin: 12px 0 0;
  }
  .footer-free div{
    gap:4px;
    margin: 0 0 4px;
    font-size: 20px;
  }
  .footer-btn a:not(.footer-free){
    font-size: 20px;
    flex-wrap: wrap;
    gap:0 0.5rem;
    border-radius: 10px;
  }
  .footer-btn,
  .footer-btn:not(.footer-btn2){
    width: 100%;
  }
  .footer-btn2 a{
    width: 100% !important;
  }
  .footer-movie{
    padding: 200px 0 1rem;
  }
  .footer-car{
    width: 120px;
  }
  .footer-movie::before{
    background: url(https://ailes-nara.co.jp/system_panel/uploads/images/20250402152245716610.png);
    background-repeat: repeat-x;
    animation: scroll-anim-sp 80s linear infinite;
    background-size: cover;
    height: 200px;
  }

  .footer-movie::after{
    background: url(https://ailes-nara.co.jp/system_panel/uploads/images/20250402152245232485.png);
    background-repeat: repeat-x;
    animation: scroll-anim-sp2 50s linear infinite;
    background-size: cover;
    height: 70px;
  }

  @keyframes scroll-anim-sp {
    100% {
      background-position: 900px 0;
    }
  }

  @keyframes scroll-anim-sp2 {
    100% {
      background-position: 600px 0;
    }
  }
  .footer-free{
        height: 4.5rem;
  }
  .footer-btn2{
    gap:10px;
  }
}
