@charset "utf-8";
/* CSS Document */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000; /* 他の要素より手前に表示 */
  background-color: #fff; /* 必要に応じて背景色も設定 */
}

.header img {
  width: 100%;
  height: auto;
  display: block;
}


body {
  margin: 0;
  font-family: sans-serif;
  text-align: center;
  background-color: #f5f5f5;
}

.slideshow {
  margin-top: 200px; /* ヘッダー画像の高さに合わせて調整 */
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.slide {
  display: none;
  width: 100%;
  height: auto;
  animation: fadeZoom 1s ease-in-out;
}

.slide.active {
  animation: fadeZoom 1s ease-in-out;
}

.link-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

.link-images a {
  position: relative;
  display: block;
  width: 80%;
  margin: 10px 0;
  text-decoration: none;
  color: #000;
}

.link-images a img {
  width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
  transition: transform 0.3s;
}

.link-images a .caption {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  padding: 5px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.link-images a:hover .caption {
  opacity: 1;
}



.link-images a:hover img {
  transform: scale(1.05);
}

.footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: #fff;
  font-size: 14px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffcc00; /* 好きなカラーコードに変更可 */
}
