@charset "UTF-8";

/*
HOME
----------------------------------*/
#home {
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* スライドショー */
.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slide-fade 18s infinite;
}
.slide-item:nth-child(2) {
  animation-delay: 6s;
}
.slide-item:nth-child(3) {
  animation-delay: 12s;
}
@keyframes slide-fade {
  0%   { opacity: 0; }
  8.3% { opacity: 1; }
  25%  { opacity: 1; }
  33.3%{ opacity: 0; }
  100% { opacity: 0; }
}
#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.home-content {
  text-align: center;
  position: relative;
  z-index: 2;
  color: #fff;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.home-content > * {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}
.home-content .page-title {
  animation-delay: 0.2s;
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  font-size: 5.5rem;
  color: #fff; /* 背景と被るためここは白のまま */
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
  -webkit-text-stroke: 0;
  padding: 0 0 60px;
  margin: 0;
  text-transform: uppercase;
}
.home-content p {
  animation-delay: 0.5s;
  font-size: 1.5rem;
  margin: 0 0 50px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}
.home-content .button {
  animation-delay: 0.8s;
}

/*
モバイル版 (HOME専用)
--------------------------------*/
@media (max-width: 900px) {
  .home-content .page-title {
    font-size: 3.5rem;
  }
  .home-content p {
    font-size: 1.125rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .home-content .page-title {
    font-size: 2.5rem;
  }
  .home-content p {
    font-size: 1rem;
  }
  .home-content .button {
    font-size: 1.125rem;
    padding: 14px 28px;
  }
}
