* {
  margin: 0; /* 外側の余白を0に設定 */
  padding: 0; /* 内側の余白を0に設定 */
  box-sizing: border-box; /* ボックスモデルをborder-boxに設定 */
}

/* 全体のフォント設定 */
body {
  font-family: 'Zen Kaku Gothic New', sans-serif; /* 本文用フォント */
  line-height: 1.6; /* 行間を設定 */
  color: #333; /* 基本的な文字色 */
}

/* 見出しのスタイル */
h1, h2, h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif; /* 見出し用フォント */
  letter-spacing: 0.1em; /* 文字間隔を広げてスポーティに */
  text-transform: uppercase; /* 大文字に変換してスポーティに */
}

h1 {
  font-size: 2.2rem; /* フォントサイズを設定 */
  margin-bottom: 1rem; /* 下部に余白を設定 */
  color: #bae306; 
  font-weight: 900; /* 最太 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* 立体感を出す */
}

h2 {
  font-size: 1.6rem; /* フォントサイズを設定 */
  margin-bottom: 0.8rem; /* 下部に余白を設定 */
  font-weight: 700; /* 太字 */
  color: #0c0675; /* 紺色に変更 */
}

h3 {
  font-size: 1.3rem; /* フォントサイズを設定 */
  margin-bottom: 0.6rem; /* 下部に余白を設定 */
  font-weight: 500; /* 中太 */
  color: #444; /* やや濃いグレー */
}

/* 段落のスタイル */
p {
  margin-bottom: 1rem; /* 下部に余白を設定 */
}

/* リンクのスタイル */
a {
  color: #0c0675; /* リンクの色を紺色に変更 */
  text-decoration: none; /* 下線を非表示 */
  transition: color 0.3s ease; /* 色の変化をアニメーション */
}

/* 共通のボタンスタイル */
.btn-primary {
  display: inline-block; /* インラインブロック要素にする */
  background-color: #0c0675;
  color: white; /* 文字色 */
  margin-top: 20px; /* 上部の余白 */
  padding: 10px 20px; /* ボタンの内側余白 */
  border-radius: 5px; /* 角を丸くする */
  font-weight: bold;  /* 太字にする */
  transition: all 0.3s ease;
}
/* 共通のボタンホバー時 */
.btn-primary:hover {
  background-color: #0a0559;
  color: white;
  transform: translateY(-2px);
}

a:hover {
  color: #0a0559; /* ホバー時の色を少し暗めの紺色に変更 */
}

#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* ビデオの幅を100%に設定 */
  height: 100%; /* ビデオの高さを100%に設定 */
  object-fit: cover; /* 動画をコンテナに合わせて拡大縮小 */
  z-index: 0; /* 背面に配置 */
}

/* ページタイトル共通スタイル */
.page-title-section {
    text-align: center;
    margin-bottom: 30px;
    text-align: center; /* タイトルを中央揃え */  
    padding: 40px 15px; /* 上下のパディングを少し増やして調整 */
    background-color: #f0f0f0; /* 背景色を少し濃いグレーに */
    border-bottom: 1px solid #eee;
}

.page-title-section h1 {
    font-size: 2.2em; /* 少し大きく */
    color: #0c0675; /* クラブカラーに統一 */
    margin-bottom: 10px; /* タイトルと説明文の間隔 */
}

.page-title-section p {
    font-size: 1em;
    color: #555;
    max-width: 600px; /* 説明文の最大幅 */
    margin: 0 auto; /* 中央寄せ */
}

/* フッターのスタイル */
footer {
  text-align: center; /* テキストを中央揃えに */
  padding: 20px; /* 内側に余白を設定 */
  background-color: #1a1a1a; /* 背景色を暗めのグレーに */
  color: white; /* 文字色を白に */
  margin-top: 40px; /* 上部に余白を設定 */
}

/* レスポンシブ設定 */
@media (min-width: 768px) {
  .content {
      padding: 30px; /* タブレット以上では余白を広げる */
  }
  
  h1 {
      font-size: 2.5rem; /* フォントサイズを大きく */
  }
}

@media (min-width: 1024px) {
  .content {
      padding: 40px; /* デスクトップでは更に余白を広げる */
  }
}

/* =============================
   管理画面（admin）共通スタイル
   ============================= */
.admin-header {
  background-color: #0c0675;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: relative;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.admin-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  flex: 1;
  text-align: center;
}
.admin-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0;
  order: -1;
}
.admin-hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.admin-hamburger.active span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.admin-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.admin-hamburger.active span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}
.admin-nav-desktop {
  display: none;
}
.admin-nav-desktop ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
}
.admin-nav-desktop li {
  margin: 0;
}
.admin-nav-desktop a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: block;
}
.admin-nav-desktop a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.admin-nav-desktop a.current {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: bold;
}
.admin-nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: #1a1a1a;
  padding-top: 80px;
  transition: right 0.5s ease;
  z-index: 999;
  overflow-y: auto;
}
.admin-nav-mobile.active {
  right: 0;
}
.admin-nav-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.admin-nav-mobile li {
  border-bottom: 1px solid #333;
}
.admin-nav-mobile a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 18px 25px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.admin-nav-mobile a:hover {
  background-color: #333;
  color: #bdd810;
}
.admin-nav-mobile a.current {
  background-color: #0c0675;
  font-weight: bold;
}
.user-info {
  padding: 20px 25px;
  background-color: #0611e3;
  color: white;
  border-bottom: 2px solid #333;
}
.user-info .username {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 5px;
}
.user-info .status {
  font-size: 0.9rem;
  opacity: 0.8;
}
.logout-link {
  background-color: #dc3545 !important;
}
.logout-link:hover {
  background-color: #c82333 !important;
}
.admin-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}
.admin-overlay.active {
  display: block;
}
.admin-content {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}
.admin-content h1 {
  color: #0c0675;
  margin-bottom: 20px;
  font-size: 1.8rem;
}
.btn-admin {
  display: inline-block;
  background-color: #0c0675;
  color: white;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}
.btn-admin:hover {
  background-color: #0a0d46;
  color: white;
}
.btn-cancel {
  display: inline-block;
  background-color: gray;
  color: white;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn-edit {
  background-color: #28a745;
}

.btn-delete {
  background-color: #dc3545;
}

.btn-edit:hover {
  background-color: #218838;
}

.btn-delete:hover {
  background-color: #c82333;
}
.nav-icon {
  margin-right: 8px;
  font-size: 1.1rem;
}
.fade-in {
  animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 768px) {
  .admin-hamburger {
    display: none;
  }
  .admin-nav-desktop {
    display: block;
  }
  .admin-nav-mobile {
    display: none;
  }
  .admin-overlay {
    display: none !important;
  }
  .admin-title {
    text-align: left;
    font-size: 1.5rem;
  }
  .admin-content {
    max-width: 1200px;
    padding: 30px;
    margin: 20px auto;
  }
}
@media (min-width: 1024px) {
  .admin-header {
    padding: 20px 40px;
  }
  .admin-title {
    font-size: 1.8rem;
  }
  .admin-nav-desktop a {
    font-size: 1rem;
    padding: 10px 15px;
  }
}

/* ユーザー管理ページのユーザー名の背景色を白に */
.user-name {
  background: #fff !important;
  color: #333 !important;
  padding: 0;
  border-radius: 0;
}

/* ユーザー管理ページのリスト全体と各ユーザー行の背景色を白に */
.users-list {
  background: #fff !important;
}
.user-item {
  background: #fff !important;
}

/* ユーザーリスト用の .user-info には背景色をつけない */
.users-list .user-info {
  background: none !important;
  color: #333 !important;
  border-bottom: none !important;
  padding: 0 !important;
}

/* 管理画面ヘッダー用の .user-info だけ青背景にしたい場合 */
.admin-header .user-info {
  background-color: #0c0675;
  color: white;
  border-bottom: 2px solid #333;
  padding: 20px 25px;
}

