@charset "utf-8";
/* CSS Document */
.image-container {
    position: relative;
    width: 100%;
    height: 800px; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
	background: url("../img/swaiper-img-bg.jpg");
	background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
}

.image-container img {
    max-width: 450px;
    opacity: 0;
    transition: opacity 8s; /* 2秒間のトランジション */
}
.image-container .slide-title2 {
  font-family: 'Cinzel', "Klee One", serif;
  font-size: 4rem;
  font-weight: normal;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: left;
  color: #8d817b; 
  letter-spacing: 0.05em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.image-container .slide-title2{
	animation: fadeOut 6s ease forwards;
}
@keyframes fadeOut {
  0% {
    opacity: 1; /* 開始時：完全に表示 */
  }
  100% {
    opacity: 0; /* 終了時：完全に透明 */
  }
}
@media only screen and (max-width: 1024px) {
  html {
    -webkit-text-size-adjust: 100%;
  }
  .image-container {
    height: max(70vh, 70vw);
  }
}
@media only screen and (max-width: 599px) {
	.image-container .slide-title2 {
		font-size: 2.5rem;
	text-align: center
	}
	.image-container img {
    max-width: 320px;
}
}
