body.page-home .nav-left a[href="home.html"] {
    color: #00eef9;
}
h2 {
	color: #0361f9;
	font-size: 1.5rem;
	margin: 0 auto;
    font-weight: bold;
    border-bottom: 2px solid silver;
	text-align: center;
}
.index {
    align-items: center;
    box-shadow: 0 0 17px #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-height: calc(100vh - 300px);
	margin: 0 auto;
	text-align: left;
	z-index: 10;
    object-fit: cover;
}
.index-inner {
    width: 100%;
    max-width: 1000px;
	z-index: 3;
	position: relative;
}
.announce {
    background-color: gray;
    color: #ffffff;
    text-align: center;
}
.about,
.venue,
.news,
.supporter {
    border-radius: 8px;
    padding: 30px 60px ;
    text-align: left;
    z-index: 3;
}
.about-wrapper {
    display: flex;
    place-items: center;
}
.about img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 8px;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin: 15px;
    box-shadow: 10px 10px 0 #5557b8;
}
.block {
    display: flex;
    gap: 5px;
    align-items: stretch;
}

.venue {
    flex: 1;
}

.block-1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.supporter {
    padding-bottom: 126px;
}
.slider {
    width: 100%;
    max-width: 600px;
    max-height: 360px;
    overflow: hidden;
    position: relative;
    margin: auto;
    border-radius: 8px;
    aspect-ratio: 5/3;
}

.slider-track {
    display: flex;
    transition: transform 2s ease-in-out;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide figcaption {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    width: 100%;
    text-align: right;
    font-size: 0.8em;
    padding: 5px 10px;
}
.slide a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide a::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.slide a:hover::after {
    opacity: 1;
}

.slide a img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.slide a:hover img {
    transform: scale(1.05);
    filter: brightness(70%);
}
.source-hidden {
    display: none;
}
p.venue-source {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}
p.venue-source a {
    text-decoration: underline;
}
.news-list li {
    display: flex;
	flex-wrap: wrap;
    line-height: 1.5;
}
.new-label {
    color: #03c7fd;
    font-weight: bold;
    margin-left: 8px;
}

.supporter img.p1 {
  max-width: 400px;
  max-height: 300px;
}

.supporter img.p2 {
  max-width: 200px;
  max-height: 200px;
}

.supporter img {
  display: block;
  margin: 30px auto; /* 中央寄せしたい場合 */
}

.supporter {
  text-align: center;
  margin: 60px 0;
}

/* グリッド本体 */
.supporter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 30px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* リンク */
.supporter-grid a {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 共通画像設定 */
.supporter-grid img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 大きめロゴ */
.supporter-grid img.p1 {
  max-width: 400px;
  max-height: 300px;
}

.supporter img.p1 {
    width: 100%;      /* 親コンテナに合わせて横幅を広げる */
    max-width: 400px; /* 元の最大サイズ */
    height: auto;     /* 縦横比維持 */
    display: block;
    margin: 0 auto;   /* 中央寄せ */
}

/* 通常ロゴ */
.supporter-grid img.p2 {
  max-width: 200px;
  max-height: 200px;
}
@media (max-width: 800px) {
    .index-inner {
    width: 100%;
    max-width: 989px;
    }
    .block {
    display: block;
    }
    .slider {
    width: 80%;
    }
    .venue img {
	max-width: 600px;
	object-fit: cover;
	object-position: center;
    aspect-ratio: 5/3;
    }
    .about-wrapper {
        display: block;
    }
}

@media (max-width: 570px) {
    .about,
    .venue,
    .news,
    .supporter {
        margin: 20px 10px 20px 10px;
        padding: 0;
        z-index: 3;
    }
    .about-wrapper {
        display: block;
    }
    .supporter img {
    max-width: 300px;
    max-height: 300px;
    }  
}

@media (max-width: 570px) {
  .about,
  .venue,
  .news,
  .supporter {
      margin: 20px 10px 20px 10px;
      padding: 0;
      z-index: 3;
  }
  .about-wrapper {
      display: block;
  }

  /* p1は一番大きいロゴ用 */
  .supporter img.p1 {
      max-width: 90%;  /* 画面幅の90%まで */
      height: auto;    /* アスペクト比を維持 */
  }

  /* p2は通常ロゴ用 */
  .supporter img.p2 {
      max-width: 150px; /* 画面幅に合わせて微調整 */
      height: auto;
  }
}