/*--------------------------
#Footer
---------------------------*/
/*下層フッター上部余白*/
.under-footer {

}

#footer{
  width: 100%;
  /*background-color: #045591;*/
  padding-top: 58px;
  /*color: #ffffff;*/
}

#footer a{
  transition: all .3s;
}
@media screen and (min-width: 768px) {
#footer a:hover{
  transition: all .3s;
  opacity: .75;
}
}

#footer .footer-upper-wrap {
  display: flex;
  justify-content: space-between;
}

#footer .footer-logo {
  width: 240px;
}

#footer .footer-name {
  font-size: clamp(16px, 1.14vw, 22px);
  margin-top: 40px;
  margin-bottom: 20px;
}

#footer .footer-address {
  font-size: clamp(15px, 0.93vw, 18px);
  font-style: normal;
}

#footer .footer-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 30px auto 40px 0;
  padding: 0;
}

#footer .footer-icon .footer-icon-item {
  margin-right: 25px;
  width: fit-content;
  height: fit-content;
}

#footer .footer-icon .footer-icon-item:last-of-type {
  margin-right: 0;
  margin-left: -6px;
}


#footer .footer-nav-wrap {
  width: 500px;
  margin-top: 85px;
}

#footer .footer-nav{
  width: calc(100% + clamp(25px, 2.6vw, 50px));
}

#footer .footer-reserve-btn {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid #ffffff;
  margin: 0 0 30px auto;
  transition: all .3s;
}
@media screen and (min-width: 768px) {
#footer .footer-reserve-btn:hover{
  opacity: .75;
  transition: all .3s;
}
}
#footer .footer-reserve-btn a {
  padding: 18px 9.11vw 18px 26px;
  font-size: clamp(15px, 0.93vw, 18px);
  display: block;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  transition: all .3s;
}
@media screen and (min-width: 768px) {
#footer .footer-reserve-btn a:hover {
  opacity: .75;
  transition: all .3s;
}
}
#footer .footer-reserve-btn a::after {
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  content: "\f30b";
  font-size: clamp(15px, 1.04vw, 20px);
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  transition: all 0.3s;
}
@media screen and (min-width: 768px) {
#footer .footer-reserve-btn a:hover::after {
  right: 10px;
  transition: all 0.3s;
}
}

#footer .footer-nav .footer-nav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-left: 0;
}

#footer .footer-nav .footer-nav__list .footer-nav__list-item {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-right: clamp(25px, 2.6vw, 50px);
  position: relative;
  padding-left: 15px;
  margin-bottom: 20px;
}
/*
#footer .footer-nav .footer-nav__list .footer-nav__list-item:nth-of-type(4) {
  margin-right: 0;
}

#footer .footer-nav .footer-nav__list .footer-nav__list-item:nth-of-type(7) {
  margin-right: 0;
}

#footer .footer-nav .footer-nav__list .footer-nav__list-item:nth-of-type(10) {
  margin-right: 0;
}
*/
#footer .footer-nav .footer-nav__list .footer-nav__list-item::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-bottom: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  top: 50%;
  left: 0;
  transform: translateY(-50%) rotate(-135deg);
}

#footer .footer-nav .footer-nav__list .footer-nav__list-item a {
  font-size: clamp(15px, 0.93vw, 18px);
}

#footer .copy {
  font-size: clamp(13px, 0.83vw, 16px);
  color: #000000;
  background-color: #ffffff;
  padding: 45px 0 50px;
  width: 100%;
  display: block;
  text-align: center;
}



@media screen and (max-width: 1024px) {
  #footer  {
    padding-top: max(13.3333vw, 50px);
  }

  #footer .footer-upper-wrap {
    display: block;
    width: 78.666%;
  }

  .footer-logo {
    width: max(41.6vw, 156px);
    margin: 0 auto;
  }

  #footer .footer-name {
    font-size: clamp(18px , 3.7333vw, 28px);
    margin-top: clamp(18px , 4.93vw, 35px);
    margin-bottom: clamp(16px , 4.4vw, 30px);
    text-align: center;
  }

  #footer .footer-address {
    font-size: clamp(14px , 3.2vw, 24px);
    font-style: normal;
    text-align: center;
  }

  #footer .footer-icon {
    justify-content: center;
    margin: clamp(30px , 8vw, 60px) auto;
  }

  #footer .footer-icon .footer-icon-item i{
    font-size: clamp(40px , 10.666vw , 80px)!important;
  }

  #footer .footer-icon .footer-icon-item:first-of-type i{
    font-size: clamp(31px , 8vw , 60px)!important;
  }

  #footer .footer-icon .footer-icon-item {
    margin-right: max(6.93vw, 26px);
    width: max(8.66vw, 32px);
  }

  #footer .footer-icon .footer-icon-item:nth-of-type(2){
    margin-left: -10px;
  }

  #footer .footer-nav-wrap {
    width: 100%;
    margin-top: max(7.466vw, 28px);
  }

  #footer .footer-reserve-btn {
    margin: 0 auto max(10vw, 37px);
  }

  #footer .footer-reserve-btn a {
    padding: clamp(12px , 3.2vw, 24px) 0 clamp(12px , 3.2vw, 24px) clamp(24px , 6vw, 48px);
    font-size: clamp(14px , 3.46vw, 26px);
    width: 66.66vw;
    text-align: left;
    margin: 0 auto;
  }

  #footer .footer-nav {
    width: 86.66vw;
    margin-left: -5%;
  }

  #footer .footer-nav .footer-nav__list {
    justify-content: flex-start;
  }

  #footer .footer-nav .footer-nav__list .footer-nav__list-item {
    margin-right: max(9.33vw, 35px);
    margin-bottom: clamp(25px , 6.66vw, 50px);
  }


  #footer .footer-nav .footer-nav__list .footer-nav__list-item a {
    font-size: clamp(14px , 3.7333vw, 28px);
  }

  #footer .copy {
    font-size: clamp(12px , 3.2vw, 24px);
    padding: max(5.33vw, 20px) 0 max(20vw, 50px);
  }
}
