.border-gradient {
  padding-bottom: 5px;
  text-align: left;
  border-bottom: 2px solid #1d96b6;
  border-image: linear-gradient(to right, #1d96b6 5%, #5d514f 5%);
  border-image-slice: 1;
  font-weight: bold;
}

.rent-section {
  padding-top: 100px;
}

.rent-text {
  line-height: 2;
  font-size: 18px;
}

.rent-service {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 560px) {
  .rent-text {
    font-size: 16px;
  }
  .rent-section {
    padding-top: 65px;
  }
}

.rent-service li {
  position: relative;
  text-align: center;
  line-height: 1.5;
}

.rent-service a {
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000;
  transition: .3s;
}

.rent-service a img {
  display: none;
}

.rent-service a:hover {
  opacity: .8;
}


.rent-service li a::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  height: 2px;
  width: 45px;
  background: #1d96b6;

}

.rent-service li::before {
  left: 0;
}

.rent-service li:last-child::after {
  right: 0;
}

@media only screen and (max-width: 560px) {
  .rent-service {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: normal;
    gap: 0;
  }

  .rent-service li {
    width: 50%;
  }

  .rent-service li a {
    padding: 5px;
    height: 100%;
    border: 1px solid;
    text-align: left;
  }

  .rent-service li a::after {
    content: none;
  }

  .rent-service li a img {
    display: block;
  }

  .rent-service li:nth-child(2) a {
    border-left: none;
  }

  .rent-service li:nth-child(3) a{
    border-top: none;
  }


  .rent-service li::before,
  .rent-service li:last-child::after {
    content: none;
  }
}

.rent-content {
  display: flex;
  gap: 25px;
  width: 85%;
  margin: 65px auto 0;
}

.rent-content__img {
  width: min(100%,340px);
  margin: 0 auto;
}

.rent-content__text {
  flex: 1;
  line-height: 2;
}

.rent-content__text p ~ p {
  margin-top: 30px;
}

@media only screen and (max-width: 560px) {
  .rent-content {
    flex-direction: column;
    width: 100%;
    margin-top: 45px;
  }
}

.rent-gallery {
  margin: 30px auto 0;
  width: 85%;
}

.rent-gallery h3 {
  margin-bottom: 10px;
  font-size: 18px;
}


.rent-gallery__item {
  position: relative;
}

.btn-flex__area {
  margin-top: 55px;
  display: flex;
  justify-content: center;
  gap: 5vw;
}

.btn-inversion {
  position: relative;
  display: grid;
  place-content: center;
  padding: 15px;
  line-height: 1.5;
  width: min(100%,370px);
  color: #000;
  border: 2px solid #1d96b6;
  text-align: center;
  transition: .3s;
}

.btn-inversion:hover {
  background: #1d96b6;
  color: #fff;
}

.btn-inversion::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 10px;
  height: 20px;
  background: #1d96b6;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.btn-inversion:hover::after {
  background: #fff;
}

@media only screen and (max-width: 560px) {
  .btn-flex__area {
    flex-direction: column;
    gap: 20px;
  }
  .btn-inversion {
    width: 100%;
  }
}

/* モーダル */
.modaal-outer-wrapper {
  overflow: hidden;
}

@media only screen and (max-width: 1140px) {
  .modaal-gallery-control {
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
  }
  .modaal-gallery-prev {
    left: 5px;
  }
  .modaal-gallery-next {
    right: 5px;
  }
  .modaal-gallery-control:after,
  .modaal-gallery-control:before {
    top: 12px;
    left: 19px;
  }
  .modaal-gallery-prev:after,
  .modaal-gallery-prev:before {
    left: 17px;
  }
}


#header {
  z-index: 999;
}

/* スライダー */
.swiper-button-next,
.swiper-button-prev {
  visibility: hidden;
}

@media only screen and (max-width: 560px) {
  .swiper-button-next,
  .swiper-button-prev {
    visibility: visible;
  }
}
.swiper-button-next,
.swiper-button-prev {
  color: #1d96b6;
}
.swiper-button-prev {
  left: -35px;
}
.swiper-button-next {
  right: -35px; 
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
}

