
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: white;
  z-index: 9999;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body {
  padding-top: 60px; /* ヘッダーの高さ分だけ空ける */
}


/* 最初の見出し */
/* メンバー選択グリッド */
.member-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4列 */
  gap: 20px;
  margin-top: 20px;
}

.member-table {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.member-table img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s;
}

.member-table:hover img {
  transform: scale(1.05);
}

/* 説明ボックス */
.setumei-box {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  font-size: 14px;
  line-height: 1.6;
}


/*=================
説明ボックス
===================*/
.setumei-box {
  width: 50vw; /* 横長 */
  height: 30vh;
  margin: 20px auto; /* 横中央寄せ＋上下余白 */
  border: 3px solid #000;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
  background-color: #f9f9f9;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);

  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}

.setumei-box::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}


/*=============================
要素中央に
=============================*/
.page-section {
  text-align: center; /* 見出し・テキスト・画像を中央寄せ */
}

.page-section img {
  display: block;
  margin: 0 auto;
  max-width: 100%; /* 画像が画面幅を超えないように */
  height: auto;
}

.setumei-box {
  width: 60vw; /* PCの時の横幅 */
  max-width: 600px;
  height: 30vh;
  border: 3px solid #000;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
  background-color: #f9f9f9;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  margin: 20px auto; /* 中央寄せ */

  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}
.setumei-box::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .setumei-box {
    width: 90vw; /* スマホではほぼ全幅 */
    height: auto; /* 高さはコンテンツに合わせる */
    max-height: 50vh; /* 長すぎる場合は縦スクロール */
  }
}