.top-image {
  height: 450px;
  background: url("../images/top.jpg") center / cover no-repeat;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-center-img {
  max-width: 80%;
  height: auto;
}

/* ===== トップ お知らせ（アーカイブ流用） ===== */

.top-news-archive-style {
  margin: 100px 0;
  width: 100%;
}

.top-news-line {
  margin: 0;
  padding: 0;
}

.top-news-flex {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.top-news-more {
  margin: 15px 0 0 0;
  padding: 0;
}

.top-news-more a {
  text-decoration: none;
  color: rgb(64, 64, 64);
}

.top-news-more a:hover {
  opacity: 0.5;
}



section.content-list {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
	width: 100%;
  height: auto;
	margin: 20px auto;
	padding: 0;
}

.image-item {
  display: block;
  position: relative;
  width: 250px;
  height: 100%;
  padding: 0;
  margin: 0;
}

.image-item:hover {
  opacity: 0.5;
}

.image-item img {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  margin: 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.image-text {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  writing-mode: vertical-rl;
  text-orientation: upright;
  pointer-events: none;
}

.image-text.image-text1 {
  color: black;
}
/* .image-text.image-text2 {

}
.image-text.image-text3 {

}
.image-text.image-text4 {

} */


@media (max-width: 1024px) {
  .content-list {
    justify-content: space-between;
    height: auto;
  }

  .image-item {
    width: 48%;
    height: auto;
    margin-bottom: 20px;
  }

  .image-text {
    font-size: 24px;
  }
}


@media (max-width: 500px) {
  .top-news-flex {
    flex-direction: column;
  }

  .top-news-flex .news-archive-width {
    width: 100%;
  }

  .image-item {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }
  
  .image-text {
    font-size: 24px;
  }
}