.footer {
  height: 27.9rem;
  background-color: #272727;
  padding: 3.5rem;
  font-weight: 600;
  font-family: var(--NotoSans);
}

.footer_box {
  display: flex;
  justify-content: space-between;
  height: 6.5rem;
}

.footer_logo {
  width: 32.9rem;
  height: 6.5rem;
  background-color: white;
  border: 0.1rem solid #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.2rem;
}

.footer_logo_wrap {
  width: 30.9rem;
  height: 4.5rem;
  align-items: center;
  justify-content: center;
}

.footer_nav_list {
  display: flex;
  justify-content: space-between;
  padding-top: 0.6rem;
  padding-bottom: 1.1rem;
}

.contact_link_box {
  width: 18.5rem;
  height: 6.4rem;
  background-color: #0068B7;
  border-radius: 1.2rem;
}



.contact_box {
  display: flex;
  justify-content: space-between;
}

.contact_text {
  width: 12.1rem;
  font-size: 2rem;
  padding: 1.9rem 3rem 1.9rem 1.5rem;
  height: 6.4rem;
  color: #000000;
  border: solid 0.1rem #000000;
  background-color: #FFFFFF;
  border-radius: 1.2rem 0 0 1.2rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.contact_text::after {
  background-color: #000000;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}

.contact_arrow {
  display: inline-block;
  width: 3.2rem;
  height: 1.9rem;
  clip-path: polygon(0 38.2%, 72.1% 38.2%, 72.1% 0, 100% 50%, 72.1% 100%, 72.1% 61.8%, 0 61.8%);
  margin-top: 2.5rem;
  margin-right: 2rem;
  border-radius: 1.2rem;
}

.contact_text:hover {
  width: 12.1rem;
  font-size: 2rem;
  padding: 1.9rem 3rem 1.9rem 1.5rem;
  height: 6.4rem;
  color: #FFFFFF;
}

.contact_text:hover::after {
  transform: scale(1, 1);
}

.active_contact {
  background-color: #0068B7;
  color: #FFFFFF;
}

.active_contact:hover {
  background-color: #0068B7;
}

.contact_arrow {
  background-color: #FFFFFF;
}



.footer_nav {
  width: 56rem;
  font-size: 2rem;
  color: #FFFFFF;
  padding: 0 1.6rem;
}

.footer_nav_link {
  position: relative;
  display: block;
  height: 100%;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: all ease .2s
}

.footer_nav_link::before{
  background: #7E7E7E;
  content: '';
  width: 100%;
  height:0.2rem;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: center top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.footer_nav_link:hover::before{
  transform-origin: center top;
  transform: scale(1, 1);
}


.footer_nav_link:hover {
  color: #7E7E7E;
}

.footer_nav_link.active {
  color: #0068B7;
  border-bottom: 0.1rem solid #0068B7;
}

.footer_nav_link.active:hover {
  border-bottom: 0.1rem solid #0068B7;
  color: #0068B7;
}

/* 打消し */
.footer_nav_link.active_none {
  color: #FFFFFF ;
  border: none;
}

.footer_nav_link.active_none:hover {
  border-bottom: 0.1rem solid #0068B7;
  color: #0068B7;
}

.active_product {
  color: #0068B7;
  border-bottom: 0.1rem solid #0068B7;
}

.footer_nav_link.active_product:hover {
  border-bottom: 0.1rem solid #0068B7;
  color: #0068B7;
}

.footer_logo_img{
  object-fit: cover;
}



/* sp版開始 */


@media screen and (max-width: 699.98px) {
  .footer {
    padding: 1.5rem;
  }

  .footer_box {
    display: block;
    height: auto;
  }

  .footer_logo {
    width: 25.4rem;
    height: 5rem;
  }

  .contact_box{
    height: 5rem;
    border-top: 0.1 solid #272727;
  }
  .contact_link_box {
    width: 17.3rem;
    height: 5rem;
    padding: 0;
  }

  
  .contact_text {
  width: 12.1rem;
  padding: 1.1rem 3.4rem 1.1rem 0.7rem;
  height: 5rem;
}

  .contact_text:hover {
  width: 12.1rem;
  font-size: 2rem;
  padding: 1.1rem 3.4rem 1.1rem 0.7rem;
  height: 5rem;
  color: #FFFFFF;
}

  .contact_arrow {
    margin-top: 1.9rem;
    padding: 1rem;
    margin-right: 1rem;
  }

  .footer_nav {
    width: 34.5rem;
    padding: 0 1.3rem 0 1.5rem;
  }

  .footer_nav_list {
    flex-wrap: wrap;
    justify-content: left;
    padding: 0;
  }

  .footer_nav_link {
    width: fit-content;
    font-size: 2rem;
    padding: 0.8rem 2.6rem 0.6rem 0;
  }



  .footer_nav_link:nth-child(3) {
    padding-right: 0;
  }

  .footer_nav_link:nth-child(n+4) {
    padding-top: 0.5rem;
  }

  /* .footer_nav_link:nth-child(n+4).active,
  .footer_nav_link:nth-child(n+4).active_product {
    border-bottom: none;
  } */
}
