body {
  margin: 0;
  font-family: sans-serif;
  padding-top: 100px;
  /* ヘッダー高さ分 */

}

header {
  position: fixed;
  /* スクロールしても固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #4cafef;
  /* 初期は不透明 */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: background 0.3s ease;
  /* 背景色をなめらかに変化 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

header.scrolled {
  background: rgba(76, 175, 239, 0.8);
  /* 半透明 */
}

.header-left {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo {
  position: absolute;
  top: auto;
  left: 1%;
  width: 60px;
  ;
  padding: 5px;
  top: 10px;
}



#nishikosai {
  /* 中央に配置 */
  font-size: 2.5em;
  font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;

  top: -10px;
  text-align: center;
  height: 80px;


}

@media (max-width: 768px) {
  header {
    height: 70px;
    padding: 10px 0;
  }

  .logo {
    top: 0;
  }

  body {
    padding-top: 70px;
  }

}

.maintext {
  font-size: xx-large;
  font-weight: bolder;
  text-align: center;
  margin-top: 20px;
}

#subtext {
  text-align: center;
}

#contents {
  text-align: center;
}

.index-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* PC: 横12枚 */
  gap: 10px;
  justify-items: center;
}

/* 画像サイズ調整 */
.index-container img {
  width: 100%;
  /* グリッドに合わせて可変 */
  height: auto;
  max-width: 300px;
  /* 最大幅制限 */
}

/* スマホ表示時（幅768px以下） */
@media (max-width: 768px) {
  .index-container {
    grid-template-columns: repeat(5, 1fr);
    /* スマホ: 横6枚 */
  }
}

.googlemap {

  right: 3%;
  size: 60%;
  color: white;
}

#footer {
  background-color: rgb(44, 44, 65);
  color: white;
  font-family: HG正楷書体-PRO;
}



footer {
  background-color: rgb(44, 44, 65);
  /* 背景を濃紺 */
  color: white;
  /* 文字を白に */
  padding: 20px;
  text-align: center;
  border-top: 2px solid white;
  /* 上の境界線を白 */
  margin-top: 0;
  /* 余計な隙間をなくす */
}




#botton-sentence {
  bottom: 0.1%;
  text-align: center;
}

.map {
  text-align: center;
  color: white;

}

.link {
  color: white;
  text-align: center;
}

.about-us {
  text-align: center;
}

h2 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;

}

.courtMap {
  width: 100vw;
  height: 60vh;
}

@media (max-width:768px) {
  .courtMap {
    width: 100vw;
    height: 40vh;
  }

}