@charset "utf-8";

.footer {
      position: relative;
    z-index: 5;
}

.footer__swiper-container,
.footer__swiper,
.footer__swiper-wrapper,
.footer__swiper-slide {
  position: relative;
}

.footer__swiper-container{
  max-width: 1121px;
  margin-inline: auto;
  padding: 0 60px;
}
@media screen and (min-width: 1100px) {
  .footer__swiper-container{
    padding: 0 110px;
  }
}

.footer__swiper-slide {
  max-width: 272px; 
}

.footer__slide-link {
  aspect-ratio: 272 / 75;
  width: 100%;
  height: auto;
}
@media screen and (min-width: 1024px) {
 .footer__slide-link {
     width: 272px;
  }
}

.footer__slide-link:hover,
.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.8;
}

.swiper-button-prev,
.swiper-button-next {
  top: unset;
  bottom: unset;
  left: unset;
  right: unset;
  margin: 0;
  padding: 0;
  transition: opacity 0.3s;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
}

.swiper-button-prev,
.swiper-button-next {
  top: 35%;
  translate: 0 -50%;
  width: 40px;
  height: 40px;

  svg {
    width: 100%;
    height: 100%;
  }
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width: 1024px) {
  .footer__top {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__top-item {
    padding: 75px 20px 63px;
  background: #F8F8F7;
  border-top: 1px solid #D9D9D9;
  position: relative;
  transition: background 0.3s;

  &:first-of-type {
    border-top: none;
  }
}
@media screen and (min-width: 1024px) {
  .footer__top-item {
    border-top: none;
    border-left: 1px solid #D9D9D9;
    
      &:first-of-type {
    border-left: none;
  }
  }
}

.footer__top-item:hover {
  background: #A4D4C2;

  &::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 65px;
    background: url('../images/footer-top.svg') center / contain no-repeat;
    width: 109px;
    height: 63px;
  }
}

.footer__btn {
  margin: 30px auto 0;
  padding: 9px 20px;
  background: #377E5E;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  width: 284px;
  justify-content: space-between;
}
.footer__btn p {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
}

.c6688 p {
  font-size: 23px;
  font-weight: 500;
}
.c6622 p {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400;
}

.footer__btn::before {
  content: "";
  background: url('../images/icon-mail.svg') center / contain no-repeat;
  width: 21px;
  height: 17px;
}
.footer__btn-tel::before {
  content: "";
  background: url('../images/icon-tel-white.svg') center / contain no-repeat;
  width: 20px;
  height: 26px;
}
.footer__btn-calendar::before {
  content: "";
  background: url('../images/calendar.svg') center / contain no-repeat;
  width: 27px;
  height: 27px;
}

.footer__btn::after {
  content: "";
  background: url('../images/arrow-footer.svg') center / contain no-repeat;
  width: 35px;
  height: 40px;
}

.footer__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
pointer-events: none;
  }
}

.footer__video img {
  object-fit: cover;
}

.footer__bottom-wrap {
  display: flex;
  align-items: start;
  flex-direction: column;
  padding-top: 265px;
      z-index: 5;
}
@media screen and (min-width: 1000px) {
  .footer__bottom-wrap {
      padding-top: 465px;
    display: grid;
    grid-template-columns: 320px 1fr;
  }
}
@media screen and (min-width: 1100px) {
  .footer__bottom-wrap {
    grid-template-columns: 456px 1fr;
  }
}

.footer__bottom-item {
  border-top: 1px solid #9B9B9B;
      padding: 40px 20px 40px 30px;
}
@media screen and (min-width: 1100px) {
.footer__bottom-item {
    padding: 44px min(calc(97 / 1366 * 100vw), 97px) 40px min(calc(92 / 1366 * 100vw), 92px);
  }
}

.footer__logo {
  width: 236px;
  height: auto;
  &:hover {
    opacity: 0.8;
  }
}

.footer__bottom-list {
  flex-grow: 1;
  width: 100%;
  border-left: 1px solid #9B9B9B;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width: 768px) {
  .footer__bottom-list {
    grid-template-columns: repeat(3, 1fr);
  }
}


.footer__bottom-link {
  padding: 39px 20px;
  border: 1px solid #9B9B9B;
  text-align: center;
  border-right: none;
  font-size: 12px;
  transition: all 0.3s;

}
@media screen and (min-width: 1000px) {
  .footer__bottom-link {
    white-space: nowrap;
  }
}
@media screen and (min-width: 1300px) {
  .footer__bottom-link {
    padding: 38px; 
  }
}

.footer__bottom-link:nth-of-type(-n+8) {
  border-left: unset;
}
@media screen and (min-width: 768px) {
  .footer__bottom-link:nth-of-type(-n+8) {
    border-left: 1px solid #9B9B9B;
  }
  .footer__bottom-link:nth-of-type(-n+6) {
    border-bottom: none;
  }
  .footer__bottom-link:nth-of-type(1),
  .footer__bottom-link:nth-of-type(4) {
    border-left: none;
  }
  .footer__bottom-link:nth-of-type(7) {
    border-left: none;
  }
}

.footer__bottom-list02 {
  grid-template-columns: repeat(1, 1fr);
}
@media screen and (min-width: 768px) {
  .footer__bottom-list02 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer__bottom-list02 .footer__bottom-link {
  padding: 13px;
      display: grid;
    place-items: center;
}
.footer__bottom-list02 .footer__bottom-link:last-of-type {
  padding: 35px 20px;
}

.footer__bottom-link:hover{
  background-color: rgba(255, 255, 255, 0.08);
}

.c9020 {
  position: relative;
  padding-left: 40px;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    background: url('../images/icon-tel-white.svg') center / contain no-repeat;
    width: 26px;
    height: 34px;
  }
}

.footer__bottom-link-web {
  position: relative;
  font-size: 14px;
  z-index: 0;


  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    backdrop-filter: blur(30px);
    --webkit-backdrop-filter: blur(30px);
    background-color: rgba(255, 255, 255, 0.08);
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    z-index: -1;
  }
}

.c3092.c3092-2 {
  position: relative;
  padding-left: 41px;

  &::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    background: url('../images/calendar.svg') center / cover no-repeat;
    width: 27px;
    height: 27px;
    pointer-events: none;
  }
}

.footer__copyright {
  border-top: 1px solid #9B9B9B;
      position: relative;
    z-index: 5;
}