/* 作成者:松永 */
.container_footer {
  background-repeat: no-repeat;
  background-size: cover;
  padding: 4rem 3rem 17.5rem 3rem;
  background-image: url("../img/footer_background.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.footer_contact_none{
  display:none;
}

.container_footer_text {
  background: #0B284C;
  width: 100%;
  padding-bottom: 16.3rem;
  display: grid;
  opacity: 0.9;
  grid-template-columns: 26rem 1fr;
  padding-top: 5rem;
  padding-left: 6.5rem;
  margin-bottom: 5rem;
}

.footer_text_logo {
  margin-left: .5rem;
  width: 13rem;
  background-image: url(../img/logo_top_contct.png);
  background-size: contain;
  background-repeat: no-repeat;
  grid-row-start: 1;
  grid-row-end: 3;
}

.footer_image {
  width: 100%;
  object-fit: contain;
}

.inquiry_counseling_box {
  display: flex;
  align-items: center;
  width: 32.1rem;
  height: 5.8rem;
  justify-content: space-between;
  margin-top: 2.8rem;
}

.inquiry_counseling {
  color: #FFFFFF;
  font-size: 2.4rem;
  letter-spacing: 0;
  transition: color .3s;
}

.inquiry_counseling_box:hover .inquiry_counseling {
  color: #F38200;
}

.inquiry_counseling_box:hover .footer_botton_circle {
  background: #FFFFFF;
}

.footer_botton_circle {
  background: #F38200;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  margin-top: 0.5rem;
}

.footer_botton_triangle {
  width: 1.769rem;
  height: 2rem;
  transition: transform .3s;
}

/* ↓svg画像の色を変更しています。#F38200 */
.inquiry_counseling_box:hover .footer_botton_image {
  filter: invert(43%) sepia(85%) saturate(703%) hue-rotate(359deg) brightness(106%) contrast(106%);
}

.inquiry_counseling_box:hover .footer_botton_triangle {
  transform: translateX(.5rem);
}


.footer_text {
  width: 81rem;
  height: 7.2rem;
  margin-top: 1.8rem;
  margin-left: 0.3rem;
}

.footer_description {
  color: #FFFFFF;
  font-size: 1.6rem;
  line-height: calc(24em / 16);
  letter-spacing: 0;
}



.footer_logo_top_link {
  margin-left: .5rem;
  display: inline-block;
  height: 6.5rem;
  margin-bottom: 4rem;
}

.footer_logo_box {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.footer_logo_kyouei {
  width: 6.232rem;
  height: 6.5rem;
}

.footer_company_name {
  height: 5rem;
}

.footer_conpany_name {
  height: 5rem;
}

.footer_unordered_list {
  display: flex;
  gap: 2.9rem;
  align-items: center;
}

.footer_list_link {
  display: inline-flex;
  background: #FFFFFF;
  width: 19rem;
  height: 5rem;
  justify-content: center;
  align-items: center;
  border-radius: 2.5rem;
  font-size: 2rem;
  color: #000000;
  font-weight: 400;
  transition: color .3s, background-color .3s;
}

.footer_list_link:hover {
  background: #F38200;
  color: #FFFFFF;
}

.footer_list_link_contact {
  background-color: #0B284C;
  color: #FFFFFF;
}

.footer_list_link_contact:hover {
  color: #0B284C
}

@media screen and (max-width:699.98px) {

  .container_footer {
    padding: 2.5rem 1.5rem 8rem 1.5rem;
    background-position: 34% top;
  }

  .container_footer_text {
    grid-template-columns: 5.4rem 1fr;
    grid-template-rows: 5rem 1fr;
    padding: 1.5rem 2rem 12rem 2rem;
    margin-bottom: 3rem;
  }

  .footer_text_logo {
    width: 4.314rem;
    height: 4.5rem;
    margin-top: 0.5rem;
    grid-row-end: 2;

  }

  .inquiry_counseling_box {
    width: 25rem;
    height: 4rem;
    align-items: flex-start;
    margin-top: 0;
    padding: 0;
  }

  .inquiry_counseling {
    font-size: 2rem;
    margin-top: 0.5rem;
  }

  .footer_botton_circle {
    margin: 0;
  }


  .footer_text {
    width: 30.5rem;
    margin: 0 auto;
    margin-top: 2.5rem;
  }

  .footer_description {
    font-weight: 400;
  }

  .footer_logo_top_link {
    margin-bottom: 2rem;
  }

  .footer_logo_top_link {
    height: 4.5rem;
  }

  .footer_logo_box {
    gap: 0.4rem;
  }

  .footer_logo_kyouei {
    width: 4.314rem;
    height: 4.5rem;
  }

  .footer_company_name {
    width: 21.329rem;
    height: 4.5rem;
  }

  .footer_unordered_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    column-gap: 2.5rem;
  }

  .footer_list_link {
    width: 16rem;
    font-size: 1.5rem;
    height: 4rem;
  }

}