
/* コンテンツ関連 */

.carousel {
  max-width: 1200px;
  margin: 0 auto 10px;
}
.carousel.carousel-fade .carousel-item {
  display: block;
  opacity: 0;
  transition: opacity ease-out 3s;
}
.carousel.carousel-fade .carousel-item.active {
  opacity: 1 !important;
}
.carousel-item {
  position: relative;
  aspect-ratio: 16 / 9; /* 画像の比率に合わせて調整可能 */
  overflow: hidden;
}
.carousel-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を枠にフィットさせる */
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: white; /* 画像に対して見やすくする */
}
/* スマホ用にフォントサイズを調整 */
@media (max-width: 768px) {
  .overlay-text p {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  .overlay-text a {
    font-size: 14px !important;
  }
}

@media (max-width: 575.98px) {
  .overlay-text p {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .overlay-text a {
    font-size: 12px !important;
  }
}



/* フッター関連 */

footer nav.footer_navi {
  display: block;
  /* position: absolute; */
  /* top: 0; */
  text-align: center;
  background-color: #fff;
}
@media screen and (min-width: 1024px) {
  footer nav.footer_navi {
    display: block;
    /* position: absolute;
    top: 0; */
    width: 100%;
    height: 45px;
    line-height: 45px;
    transform: translate3d(0, 0, 0);
    margin-top: 10px;
  }
}
footer nav.footer_navi ul{
  margin: 0;
  padding: 10px 0;
}
footer nav.footer_navi ul li{
  list-style: none;
  display: inline-block;
  width: 18%;
  min-width: 90px;
}
footer nav.footer_navi ul li a{
  text-decoration: none;
  color: #272727;
}
footer nav.footer_navi ul li a:hover,
footer nav.footer_navi ul li.current a {
  color: #D8C7AB;
}

footer .footer-logo {
  margin: 0 auto;
}