
/* =====================
   ベース
===================== */
html, body {
  height: 100%;
  margin: 0;
}

body {
  background-color: #e6ffe6;
  font-family: sans-serif;
  text-align: left;
}

/* =====================
   ヘッダー
===================== */
.header {
  background-color: #eeeeee;
  padding: 15px 20px;

  display: flex;
  align-items: center;
  gap: 15px;
}

.header h1,
.header h3 {
  margin: 0;
}

/* 右側エリア（ログイン / ユーザー） */
.login-btn,
.user-menu {
  margin-left: auto;
}

/* ログインボタン */
.login-btn {
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #000;
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.login-btn:hover {
  background: #f0f0f0;
}

/* =====================
   ユーザーメニュー
===================== */
.user-menu {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  background: #eeeeee;
}

.user-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  background: #ddd;
  border-radius: 6px;
}

.user-menu[open] summary {
  background: #ccc;
}

.user-menu-content {
  position: absolute;
  top: 100%;
  right: 0;

  background: #ddd;
  padding: 10px;
  border-radius: 6px;

  z-index: 1000;
  white-space: nowrap;
}

.user-menu > div {
  display: none;
}

.user-menu[open] > div {
  display: block;
}

/* =====================
   メインコンテンツ
===================== */
.content {
  padding: 20px;
  text-align: left;
}

/* =====================
   外部リンクレイアウト
===================== */
.list-container {
  display: flex;
  gap: 30px;
}

.list-block {
  display: flex;
  flex-direction: column;
}

/* スクロールリスト */
.link-list {
  max-width: 300px;
  height: 500px;
  border: 1px solid #000;
  padding: 10px;
  background-color: #fff8cc;
  overflow-y: auto;
  border-radius: 8px;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.link-list::-webkit-scrollbar {
  display: none;
}

.link-list h3 {
  margin: 10px 0 5px;
}

.link-list a {
  display: block;
  padding: 8px;
  margin: 3px 0;
  text-decoration: none;
  color: #000;
  border-bottom: 1px solid #d0c98a;
}

.link-list a:last-of-type {
  border-bottom: none;
}

.link-list a:hover {
  background-color: #fff2a8;
}

/* =====================
   アコーディオン
===================== */
.accordion {
  background: #f2f2f2;
  border: 1px solid #000;
  border-radius: 6px;
  padding: 10px;
}

.accordion summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  padding: 8px;
  background: #f2f2f2;
}

.accordion .list-container {
  background: #f2f2f2;
  padding: 15px;
  margin-top: 10px;
  border-radius: 6px;
}

/* =====================
   ゲーム入口カード
===================== */
.game-entry {
  margin: 20px 0;
  padding: 15px;
  border: 2px solid #000;
  background: #f2f2f2;
  max-width: 300px;

  text-align: left;
  align-self: flex-start;
}

.game-entry h2 {
  font-size: 18px;
  margin-bottom: 5px;
}

.game-link {
  display: inline-block;
  padding: 10px 15px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.game-link:hover {
  background: #333;
}

/* =====================
   レスポンシブ
===================== */
@media (max-width: 767px) {
  .list-container {
    display: block;
  }

  .link-list {
    max-width: 100%;
    height: 300px;
  }
}