/* /css/top.css */

/* --- 基本設定 --- */
:root {
  --primary-color: #8A2BE2;
  --secondary-color: #4169E1;
  --text-light: #e5e7eb;
  --text-dark: #f9fafb;
  --text-muted: #9ca3af;
  --bg-dark-start: #111827; /* Deep Charcoal - グラデーション開始色 */
  --bg-dark-end: #1f2937;   /* Night Blue - グラデーション終了色 */
  --bg-light: #1f2937;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-radius: 0px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  margin: 0;
  background-color: var(--bg-dark-start);
  background-image: radial-gradient(circle at top, var(--bg-light) 0%, var(--bg-dark-start) 60%);
  opacity: 0;
  transition: opacity 0.5s;
}
body.loaded {
  opacity: 1;
}
* {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}

/* --- ヘッダー --- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 30px;
  background-color: transparent;
  z-index: 100;
  transition: background-color 0.3s, box-shadow 0.3s;
}
#header.scrolled {
  background-color: rgba(17, 24, 39, 0.8);
  background-image: url('/images/header-bg-texture.png'); /* ★ここに背景画像を追加！★ */
  background-size: 300px; /* テクスチャのサイズ */
  background-repeat: repeat; /* テクスチャを繰り返し表示 */
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-light);
}
.header-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}
.header-nav a {
  color: var(--text-light);
  font-weight: 700;
  position: relative;
  padding-bottom: 5px;
  font-size: 0.8rem; /* ← この行を追加 */
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.header-nav a:hover::after {
  transform: scaleX(1);
}
.header-menu-toggle { display: none; }

/* --- ヒーローセクション --- */
#hero {
  height: 100vh;
  position: relative;
  margin-top: -80px; /* ヘッダーの高さ分、上に引き上げる（数値は調整してください）*/

  top: 0; /* ★★★ この1行を追加 ★★★ */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: zoom-pan 20s infinite alternate cubic-bezier(0.25, 0.1, 0.25, 1);
}
@keyframes zoom-pan {
  0% { transform: scale(1) translateX(0); }
  100% { transform: scale(1.1) translateX(-2%); }
}
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.5));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}
.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin: 0 0 20px;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0.9;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.hero-button {
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-button.primary {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
}
.hero-button.secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}
.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- 共通セクションスタイル --- */
.content-section {
  padding: 100px 30px;
}
.content-section.bg-light {
  background-color: var(--bg-light);
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.03), transparent);
}
.section-container {
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 60px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.section-header .section-title {
  text-align: left;
  margin: 0;
}
.section-more-link {
  font-weight: 700;
  color: var(--primary-color);
  transition: color 0.3s;
}
.section-more-link:hover {
  color: var(--secondary-color);
}

/* --- 各セクションのカード/リストスタイル --- */
.value-cards, .item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 40px;
  background-color: var(--bg-light); /* ★背景色を少し濃く！★ */
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}
.value-card .icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.value-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.value-card p {
  color: var(--text-muted);
}
.feature-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.feature-image {
  height: 500px;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.8s, opacity 0.8s;
}
.feature-image.is-visible {
    transform: scale(1);
    opacity: 1;
}
.feature-content .section-title {
  text-align: left;
}
.feature-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-muted);
}
.feature-button {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.2s;
}
.feature-button:hover {
  transform: scale(1.05);
}
.item-card {
  background-color: var(--bg-dark-start);
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.05), transparent);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-color);
  position: relative;
}
.item-card::before { /* ★光る線を追加！★ */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.3s;
}
.item-card:hover::before {
  opacity: 1;
}
.item-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-color: rgba(255, 255, 255, 0.2);
}
.card-image {
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

/* ★プレイヤーカードの画像は 9:16（縦長）に！★ */
#players .card-image {
  aspect-ratio: 9 / 16;
}

/* ★ショップとTIPSのカード画像は 16:9（横長）に！★ */
#shops .card-image,
#tips .card-image {
  aspect-ratio: 16 / 9;
}

.item-card:hover .card-image {
  transform: scale(1.05);
}
.card-content {
  padding: 20px;
}
.card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.card-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
/* --- FAQセクションのスタイル --- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background-color: var(--bg-dark);
  padding: 25px 30px;
  border-left: 4px solid var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s;
}
.faq-item:hover {
  background-color: rgba(255,255,255,0.05);
}
.faq-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item h3::after {
  content: '▼';
  font-size: 0.8rem;
  transition: transform 0.4s;
}
.faq-item.is-open h3::after {
  transform: rotate(180deg);
}
.faq-item p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* ★ここを修正！より速く、スムーズに！★ */
}
.faq-item.is-open p {
  padding-top: 15px;
}
.faq-q, .faq-a {
  font-size: 1.5rem;
  font-weight: 900;
  margin-right: 15px;
  line-height: 1.2;
}
.faq-q {
  color: var(--primary-color);
}
.faq-a {
  color: var(--secondary-color);
}

/* --- フッター --- */
#footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 30px;
  text-align: center;
}
.footer-container h2 {
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 15px;
}
.footer-cta-button {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.2s;
}
.footer-cta-button:hover {
  transform: scale(1.05);
}
.copyright {
  margin-top: 40px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* --- アニメーション --- */
.content-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s, transform 0.8s;
}
.content-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 80px;
    transition: right 0.4s ease-in-out;
  }
  .header-nav.is-active {
    display: block;
    right: 0;
  }
  .header-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .header-nav li {
    width: 100%;
  }
  .header-nav a {
    display: block;
    width: 100%;
    padding: 20px 30px;
    text-align: center;
    font-size: 1.2rem;
  }
  .header-nav a:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  }
  .header-nav a::after {
    display: none;
  }

  .header-menu-toggle {
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    cursor: pointer;
  }
  .header-menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 5px;
    transition: all 0.4s;
  }
  .header-menu-toggle span:nth-child(1) { top: 10px; }
  .header-menu-toggle span:nth-child(2) { top: 19px; }
  .header-menu-toggle span:nth-child(3) { top: 28px; }

  .header-menu-toggle.is-active span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
  }
  .header-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .header-menu-toggle.is-active span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
  }

  .hero-bg-image {
    animation: pan-right 30s infinite alternate cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  @keyframes pan-right {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
  }

  .hero-content h1 { font-size: 1.9rem; }
  .hero-content p { font-size: 1.1rem; }
  .feature-container, .list-container { grid-template-columns: 1fr; }
  .feature-image { order: -1; height: 300px; margin-bottom: 30px; }
  .section-title { font-size: 1.4rem; }
  .section-header { flex-direction: column; gap: 15px; }
  .section-header .section-title { text-align: center; }


  /* プレイヤー一覧ページをモバイルで2列表示にする */
  .players-list-page .players-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; /* カード間の余白を調整 */
  }

  /* ▼▼▼【モバイル用】文字サイズ調整＆説明文非表示 ▼▼▼ */
  .players-list-page .card-image-overlay {
    padding: 1rem; /* 内側の余白を少し詰める */
  }
  .players-list-page .card-image-overlay [data-player-element="name"] {
    font-size: 1.2rem; /* 文字サイズを小さく調整 */
    margin: 0; /* 下の余白をなくす */
  }
  .players-list-page .card-image-overlay [data-player-element="description"] {
    display: none; /* 説明文を非表示にする */
  }
  /* ▲▲▲【モバイル用】文字サイズ調整＆説明文非表示 ▲▲▲ */

}
/*
* ===============================================
*  【追加】下層ページ共通＆プレイヤー一覧専用スタイル
* ===============================================
*/

/* 下層ページ共通のヒーローセクション */
.page-hero {height: 45vh; /* ★高さを少し調整★ */
   min-height: 400px;
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   text-align: center;
   color: var(--text-light);
   overflow: hidden;
 }
 #page-hero .hero-bg-image { /* ★トップページと同じ背景画像と動きを適用！★ */
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-position: center;
   z-index: -1;
   animation: zoom-pan 20s infinite alternate cubic-bezier(0.25, 0.1, 0.25, 1);
 }
 #page-hero::after { /* ★トップページと同じオーバーレイを適用！★ */
   content: '';
   position: absolute;
   inset: 0;
   background: linear-gradient(to top, rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.4));
 }
.page-hero h1 {
   font-size: 3rem;
   font-weight: 900;
   text-shadow: 0 2px 10px rgba(0,0,0,0.5);
   margin: 0 0 10px;
 }
.page-hero p {
   font-size: 0.9rem;
   opacity: 0.9;
 }

/* 導入文セクション */
.section-lead {
  max-width: 800px;
  margin: 0 auto; /* ★ヒーローセクションと独立させたため、マージンを調整★ */
  padding: 0 20px;
  font-size: 1.0rem;
  line-height: 1.8;
  color: var(--text-muted);
  text-align: center;
}

/* 検索ボックス */
.search-box-players {
  background-color: var(--bg-dark);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
}
.search-form-players {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: center;
}
.search-form-players input,
.search-form-players select {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  background-color: var(--bg-light);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: border-color 0.3s;
}
.search-form-players input:focus,
.search-form-players select:focus {
  outline: none;
  border-color: var(--primary-color);
}
.search-form-players button {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: var(--primary-color);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.3s;
}
.search-form-players button:hover {
  background: var(--secondary-color);
}

/* プレイヤーカードのグリッド調整 */
.players-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
#players-list .item-card .card-image {
  aspect-ratio: 9 / 16;
}


/* ★レスポンシブ用のヒーローセクション調整★ */
@media (max-width: 768px) {
  .page-hero {
    height: 40vh;
    min-height: 350px;
  }
.page-hero h1 { /* ★スマホでのタイトル表示を調整！★ */
    font-size: 2.5rem; /* 少し大きく */
    line-height: 1.3;  /* 行間を調整 */
 }
}
/* ショップカードのグリッド調整 */
.shops-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
#shops-list .item-card .card-image {
  aspect-ratio: 16 / 9; /* ★16:9（横長）に設定！★ */
}

/*
* ===============================================
*  【追加】メニュー展開時にメインコンテンツをぼかす魔法
* ===============================================
*/

/* メインコンテンツの表示・非表示の切り替えを滑らかにする準備 */
#main-content {
    padding-top: 1px; /* ★ヘッダーの高さ分、コンテンツ全体を下に下げる！★ *//* ★ここの数字を小さくして、上に詰める！★ */
    transition: opacity 0.5s, filter 0.5s;
}

/* ★メニュー展開時に、メインコンテンツをぼかすためのスタイル★ */
body.nav-open #main-content {
    opacity: 0.3; /* ★トップページでは、より暗くぼかすとオシャレ！★ */
    filter: blur(8px);
    pointer-events: none;
}
#footer {
  text-align: center;
  padding: 40px;
  background: var(--bg-footer);
  color: var(--text-muted);
  position: relative;
  z-index: 2;
  /* ★ここからスマホのスクロールスナップ用の設定を追加！★ */
  scroll-snap-align: start; /* スナップの基点にする */
  min-height: 100vh; /* ★最低でも画面1つ分の高さを確保！★ */
  display: flex; /* ★中身を中央に配置するための魔法★ */
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ===============================================
 *  カード共通スタイル (v8 - 全ページテキスト視認性向上版)
 * =============================================== */

/* カード全体のコンテナ設定 (共通) */
.item-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* ホバー時のカードの動き (共通) */
.item-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 
              inset 0 4px 0 0 var(--primary-color);
}

/* カード画像 (共通) */
.card-image {
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease-out;
  position: relative;
  z-index: 1;
}

.item-card:hover .card-image {
  transform: scale(1.05);
}

/* テキストコンテナ (共通) */
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  pointer-events: none;
}

/*
 * ===============================================
 *  全カード共通のテキストスタイル（フチ＋影）
 * ===============================================
 */
.item-card .card-content h3 {
  color: #fff;
  text-shadow: 
    -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
    0px 2px 8px rgba(0, 0, 0, 0.8);
}

.item-card .card-content p {
  color: #e5e7eb;
  text-shadow: 
    -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000,
    0px 1px 6px rgba(0, 0, 0, 0.9);
}


/*
 * ===============================================
 *  ページごとの個別スタイル調整
 * ===============================================
 */

/* --- プレイヤー一覧ページ --- */
#players-list .item-card .card-image {
  aspect-ratio: 9 / 16;
}
#players-list .card-content h3 {
  font-size: 3.0rem;
}
#players-list .card-content p {
  font-size: 1.0rem;
}

/* --- ショップ一覧ページ --- */
#shops-list .item-card .card-image {
  aspect-ratio: 16 / 9;
}
#shops-list .card-content h3 {
  font-size: 1.5rem;
}
#shops-list .card-content p {
  font-size: 0.9rem;
}

/* --- トップページ「おすすめプレイヤー」 --- */
#players .item-card .card-image {
    aspect-ratio: 9 / 16;
}
#players .card-content h3 {
  font-size: 3rem;
}
#players .card-content p {
  font-size: 1.0rem;
}

/* --- トップページ「おすすめのダーツバー」 --- */
#shops .item-card .card-image {
    aspect-ratio: 16 / 9;
}
#shops .card-content h3 {
  font-size: 1.1rem;
}
#shops .card-content p {
  font-size: 0.7rem;
}

/* ★★★ ここからが追加部分です ★★★ */
/* --- ダーツ上達のコツ 一覧ページ --- */
#tips-list .item-card .card-image {
  aspect-ratio: 16 / 9; /* 横長の画像に設定 */
}
#tips-list .card-content h3 {
  font-size: 2.0rem; /* 一覧ページ用の文字サイズ */
}
#tips-list .card-content p {
  font-size: 1.0rem; /* 一覧ページ用の文字サイズ */
}

/* --- トップページ「ダーツ上達のコツ」 --- */
#tips .item-card .card-image {
    aspect-ratio: 16 / 9; /* 横長の画像に設定 */
}
#tips .card-content h3 {
  font-size: 1.5rem; /* トップページ用の文字サイズ */
}
#tips .card-content p {
  font-size: 0.9rem; /* トップページ用の文字サイズ */
}
/* ★★★ ここまでが追加部分です ★★★ */


/*
* ===============================================
*  【追加】パンくずリストのスタイル
* ===============================================
*/
.breadcrumb-container {
  padding: 80px 30px 0px;
  background-color: var(--bg-dark-start);
}
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: var(--primary-color);
}
.breadcrumb span {
  margin: 0 8px;
}
/* ===============================================
 *  プロ団体紹介ブロック スタイル
 * =============================================== */

/* ブロックを横並びにするためのラッパー */
.org-promo-container {
  display: flex;
  flex-wrap: wrap; /* スマホでは縦並びになるように */
  gap: 30px;
  justify-content: center;
}

/* ブロック本体のラッパー */
.org-promo-block-wrapper {
  flex: 1 1 400px;
  max-width: 550px;
}

/* リンク付きブロック本体 */
.org-promo-block {
  display: flex;
  gap: 20px;
  background: var(--bg-light);
  padding: 25px;
  border: 1px solid var(--border-color);
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-out;
  height: 100%; /* 高さを揃える */
}

/* 画像コンテナ */
.org-promo-image-container {
  flex-shrink: 0;
  width: 120px;
  align-self: flex-start; /* 画像を上揃えに */
}

.org-promo-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストコンテンツ */
.org-promo-content {
  color: var(--text-muted);
}

.org-promo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 5px 0;
}

.org-promo-catch {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 0 0 15px 0;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.org-promo-description {
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0 0 15px 0;
}

.org-promo-description strong {
  color: var(--text-light);
}

.org-promo-link {
  display: inline-block;
  font-weight: bold;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

/* ===============================================
 *  【共通】インタラクティブな演出
 * =============================================== */

/* --- 1. ホバー時の浮き上がり効果 --- */

/* プロ団体紹介ブロックのホバー効果 */
.org-promo-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-color: var(--primary-color);
}
/* 「3つの体験」カードのホバー効果 */
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-color: var(--secondary-color); /* 色を少し変えてアクセントに */
}


/* --- 2. 個別のホバーアニメーション --- */

/* プロ団体紹介ブロックのリンクテキストの動き */
.org-promo-block:hover .org-promo-link {
  transform: translateX(5px);
  color: var(--primary-color);
}
/* 「3つの体験」カードのアイコンの動き */
.value-card:hover .icon {
  transform: scale(1.1) rotate(-5deg); /* 少し大きくして傾ける */
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


/* --- 3. マウス追従の光エフェクト --- */

/* 光エフェクトの準備（共通） */
.org-promo-block,
.value-card{
  position: relative; /* 光の位置の基準点にする */
  overflow: hidden;   /* はみ出した光を隠す */
}

/* 光本体のスタイル（共通） */
.org-promo-block::before,
.value-card::before {
  content: '';
  position: absolute;
  /* JSから座標を受け取る */
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: radial-gradient(circle closest-side, hsla(271, 76%, 53%, 0.3), transparent);
  border-radius: 50%;
  transition: width 0.4s ease-out, height 0.4s ease-out;
  pointer-events: none;
  z-index: 0;
}

/* ホバー時に光を大きくする（共通） */
.org-promo-block:hover::before,
.value-card:hover::before{
  width: 300px;
  height: 300px;
}


/* ===============================================
 *  【追加修正】プロ団体紹介ブロックのモバイル対応
 * =============================================== */

/* モバイル表示 (画面幅768px以下) の時だけ適用 */
@media (max-width: 768px) {

  /* ブロック本体のレイアウトを縦並びに変更 */
  .org-promo-block {
    flex-direction: column; /* 要素を縦に並べる */
    align-items: center;    /* 全体を中央揃えに */
    text-align: center;     /* テキストも中央揃えに */
    padding: 20px;
  }

  /* 画像コンテナの調整 */
  .org-promo-image-container {
    width: 150px; /* 画像の最大幅を少し大きめに設定 */
    margin-bottom: 15px; /* 画像とテキストの間に隙間を空ける */
  }

  /* キャッチコピーの調整 */
  .org-promo-catch {
    font-size: 1rem; /* 少し大きくして目立たせる */
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  /* 説明文の調整 */
  .org-promo-description {
    font-size: 0.9rem; /* 少し大きくして読みやすく */
  }

  /* リンクテキストの調整 */
  .org-promo-link {
    font-size: 1rem; /* 少し大きくしてタップしやすく */
  }

}

/* ===============================================
 *  【専用スタイル】各一覧ページのカードデザイン
 * =============================================== */

/* --- ▼▼▼ ショップ一覧ページ専用のスタイル ▼▼▼ --- */
.shops-list-page .item-card {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background-color: #1a1a2e;
}

.shops-list-page .item-card .card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.4s ease;
}

.shops-list-page .card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 70%);
  color: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.shops-list-page .card-image-overlay [data-shop-element="name"] {
  font-size: 1.0rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.shops-list-page .card-image-overlay [data-shop-element="description"] {
  font-size: 0.8rem;
  color: #e0e0e0;
  margin: 0;
  line-height: 1.5;
}

.shops-list-page .item-card:hover .card-image {
  transform: scale(1.05);
}


/* ===============================================
 *  【専用スタイル】プレイヤー一覧ページのカード (修正版)
 * =============================================== */

/* カード全体のスタイル */
.players-list-page .item-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  background-color: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: all 0.4s ease;
}
.players-list-page .item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 208, 255, 0.2);
}

/* 画像レイヤー */
.players-list-page .item-card .card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: all 0.4s ease;
}
.players-list-page .item-card:hover .card-image {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* テキストを重ねるためのオーバーレイ */
.players-list-page .card-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 10%, rgba(0, 0, 0, 0) 100%);
  text-align: center;
}

/* ▼▼▼ ここのセレクタを修正！ ▼▼▼ */
/* プレイヤー名のスタイル */
.players-list-page .card-image-overlay [data-player-element="name"] {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(90, 222, 255, 0.7);
}

/* ▼▼▼ ここのセレクタを修正！ ▼▼▼ */
/* 説明文のスタイル */
.players-list-page .card-image-overlay [data-player-element="description"] {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ホバー時に説明文をフワッと表示 */
.players-list-page .item-card:hover .card-image-overlay [data-player-element="description"] {
  opacity: 1;
}

/* --- ▼▼▼ トップページ専用のスタイル（今は空） ▼▼▼ --- */
/* 将来的にトップページのデザインを変えたい場合はここに書く */
.top-page .item-card {
  /* ここにトップページカード用のスタイルを書く */
}
/* ===============================================
 *  【トップページ専用】カードデザイン
 * =============================================== */

/* --- ▼▼▼ トップページの「注目のプロプレイヤー」専用スタイル ▼▼▼ --- */
/* (プレイヤー一覧ページからスタイルを完全にコピー) */

/* カード全体のスタイル */
.top-page #players .item-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 9 / 16; /* プレイヤー一覧と同じ縦長比率に */
  border-radius: 12px;
  background-color: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: all 0.4s ease;
}
.top-page #players .item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 208, 255, 0.2);
}

/* 画像レイヤー */
.top-page #players .item-card .card-image {
  /* 画像はHTMLのstyle属性で指定されているので、ここでは指定不要 */
  transition: all 0.4s ease;
}
.top-page #players .item-card:hover .card-image {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* テキストを重ねるためのオーバーレイ (card-contentをオーバーレイとして扱う) */
.top-page #players .item-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0) 100%);
  text-align: center;
}

/* プレイヤー名のスタイル */
.top-page #players [data-player-element="name"] {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(90, 222, 255, 0.7);
}

/* 説明文のスタイル */
.top-page #players [data-player-element="description"] {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.6;
  margin: 0;
  opacity: 0; /* 通常時は非表示 */
  transition: opacity 0.4s ease;
}

/* ホバー時に説明文をフワッと表示 */
.top-page #players .item-card:hover [data-player-element="description"] {
  opacity: 1;
}


/* --- ▼▼▼ トップページの「おすすめショップ」「ヒント」共通スタイル ▼▼▼ --- */
/* (ショップ一覧ページからスタイルをコピー) */
/* ▼▼ トップページ「おすすめのダーツバー」— overlay版に対応 ▼▼ */
.top-page #shops .item-card {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background-color: #1a1a2e;
}

.top-page #shops .item-card .card-image {
  transition: transform 0.4s ease;
}
.top-page #shops .item-card:hover .card-image {
  transform: scale(1.05);
}

/* ここを .card-content → .card-image-overlay に変更 */
.top-page #shops .item-card .card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 70%);
  color: #fff;
}

/* タイトルと説明のサイズ指定も data属性に合わせて */
.top-page #shops [data-shop-element="name"] {
  font-size: 1.0rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}
.top-page #shops [data-shop-element="description"] {
  font-size: 0.8rem;
  color: #e0e0e0;
  margin: 0;
  line-height: 1.5;
}

.top-page #shops .item-card:hover .card-image,
.top-page #tips .item-card:hover .card-image {
  transform: scale(1.05);
}
/* === YouTube風フィルタバー（差し替え/追加分） === */
.players-search .chips-scroll{
  position: relative;                 /* ← ヒントを重ねるため */
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 4px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;      /* スナップで気持ちよく */
}
.players-search .chips-scroll::-webkit-scrollbar{ display:none; }
.players-search .chip{ scroll-snap-align: start; }

/* 右端フェード＆矢印ヒント（横にスワイプ誘導） */
.players-search .chips-scroll::after{
  content:"";
  position:absolute;
  right:0; top:0;
  width:52px; height:100%;
  pointer-events:none;
  background:
    linear-gradient(to left, rgba(17,24,39,0.95), rgba(17,24,39,0)); /* フェード */
  opacity:1; transition:opacity .2s;
}
.players-search .chips-scroll::before{
  content:"";
  position:absolute;
  right:12px; top:50%;
  width:18px; height:18px;
  transform:translateY(-50%);
  pointer-events:none;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity:.75; transition:opacity .2s;
}
/* スクロール済/末尾ではヒントを消す */
.players-search .chips-scroll.is-scrolled::before{ opacity:.4; }
.players-search .chips-scroll.is-end::after,
.players-search .chips-scroll.is-end::before{ opacity:0; }
.players-search .chips-scroll.no-scroll::after,
.players-search .chips-scroll.no-scroll::before{ display:none; }

/* チップ（ちょいだけ小さくして収まり改善） */
.players-search .chip{
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .9rem;
  background: #272c36;
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,.12);
}
.players-search .chip:hover{ background:#303545; }
.players-search .chip.is-active{
  background:#fff; color:#111827; border-color: transparent;
  font-weight: 800;
}

/* 極端に狭い端末では“自動で折り返し”に切替（ヒントは非表示） */
@media (max-width: 420px){
  .players-search .chips-scroll{
    overflow-x: visible;
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .players-search .chips-scroll::after,
  .players-search .chips-scroll::before{ display:none; }
  .players-search .chip{ font-size: .88rem; padding: 7px 12px; }
}
/* ====== Players: フィルタUIをダークなピル型に整える ====== */
.players-search .filters-row.main{ align-items:center; gap:10px; }

/* 共通：入力・セレクト・ボタンのリセット＋ベース */
.players-search input[type="search"],
.players-search input#budget,
.players-search select#tour,
.players-search select#minRating,
.players-search #resetFilters{
  -webkit-appearance: none;
  appearance: none;
  height: 44px;
  line-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #1f2530;                       /* ダーク面 */
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,.14);    /* うっすら枠 */
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
  font-size: 16px;                            /* iOSズーム防止 */
  transition: box-shadow .2s, border-color .2s, background .2s;
}

/* プレースホルダーを淡く */
.players-search input::placeholder{ color:#9aa3b2; opacity:.9; }

/* フォーカス時はグラデっぽい外枠 */
.players-search input:focus,
.players-search select:focus{
  outline: none;
  border-color: transparent;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.12),
    0 0 0 4px rgba(138,43,226,.45);           /* var(--primary-color)寄り */
}

/* セレクトの矢印をカスタム（白▽） */
.players-search select#tour,
.players-search select#minRating{
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;

  /* ← 改行ナシ・%エンコードで安全 */
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

/* クリアボタンはゴースト→ホバーで反転 */
.players-search #resetFilters{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text-light);
  font-weight: 700;
}
.players-search #resetFilters:hover{
  background: #fff;
  color: #111827;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
  transform: translateY(-1px);
}

/* 検索×アイコンなどの装飾を消す（Safari/Chrome） */
.players-search input[type="search"]::-webkit-search-decoration,
.players-search input[type="search"]::-webkit-search-cancel-button,
.players-search input[type="search"]::-webkit-search-results-button,
.players-search input[type="search"]::-webkit-search-results-decoration{ display:none; }

/* 数値入力のスピンボタンを消す（予算欄が数値の場合の保険） */
.players-search input[type="number"]::-webkit-outer-spin-button,
.players-search input[type="number"]::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.players-search input[type="number"]{ -moz-appearance:textfield; }

/* モバイルでの詰まり改善 */
@media (max-width: 768px){
  .players-search .filters-row.main{ gap:8px; }
  .players-search input[type="search"],
  .players-search input#budget,
  .players-search select#tour,
  .players-search select#minRating,
  .players-search #resetFilters{ height: 42px; line-height: 42px; }
}
/* FAQプロライセンスの注意書きだけセンター＆リンク強調 */
#faq-pro-license .result-count {
  text-align: center;
}

#faq-pro-license .result-count a.ext-link {
  color: var(--pink-accent);           /* 目に入るアクセント色 */
  text-decoration: underline;          /* クリックできる感 */
  text-underline-offset: 3px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}



#faq-pro-license .result-count a.ext-link:hover {
  text-decoration-thickness: 3px;      /* ホバーで更にわかりやすく */
}
/* ===== Players 検索UI：セパレーター（ヘアライン＋行ラベル） ===== */

:root {
  --sep-color: rgba(255,255,255,0.16);   /* 線の基本色 */
  --sep-color-sp: rgba(255,255,255,0.12);/* SPで少し薄め */
  --sep-label-bg: rgba(0,0,0,0.35);      /* ラベルの背景 */
  --sep-label-border: rgba(255,255,255,0.18);
  --sep-label-text: rgba(255,255,255,0.85);
}

/* 全体のまとまりをうっすら浮かせる（任意） */
.players-search .filters-bar{
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
}

/* ① 上段：基本フィルタの下にヘアライン */
.players-search .filters-row.main{
  padding-bottom: 14px;
  margin-bottom: 14px;
  position: relative;
}
.players-search .filters-row.main::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:1px;
  background: var(--sep-color);
  transform: scaleY(.5);     /* 高解像度での“髪の毛ライン”対策 */
  transform-origin: 0 100%;
}

/* ② 各チップ行：上にヘアライン＋左に小さな行ラベル */
.players-search .chips-scroll{
  position: relative;
  padding-top: 18px;   /* ラベル分のクリアランス */
  margin-top: 16px;
}

/* ライン */
.players-search .chips-scroll::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:1px;
  background: linear-gradient(
    to right,
    transparent 0,
    var(--sep-color) 16px,
    var(--sep-color) calc(100% - 16px),
    transparent 100%
  );
  transform: scaleY(.5);
  transform-origin: 0 0;
}

/* ラベル（aria-labelの値をそのまま表示） */
.players-search .chips-scroll::after{
  content: attr(aria-label);
  position:absolute;
  top:-11px; left:0;
  display:inline-block;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--sep-label-text);
  background: var(--sep-label-bg);
  border: 1px solid var(--sep-label-border);
  border-radius: 999px;
  padding: 4px 8px;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* 一番最初のチップ行は線＆ラベルを出さない（“予算”行が先頭なら外観すっきり） */
.players-search .chips-scroll:first-of-type{
  padding-top: 0;
  margin-top: 0;
}
.players-search .chips-scroll:first-of-type::before,
.players-search .chips-scroll:first-of-type::after{
  display:none;
}

/* モバイルはさらに薄めに＆ラベルサイズ微調整 */
@media (max-width:768px){
  .players-search .filters-row.main::after{
    background: var(--sep-color-sp);
  }
  .players-search .chips-scroll::before{
    background: linear-gradient(
      to right,
      transparent 0,
      var(--sep-color-sp) 12px,
      var(--sep-color-sp) calc(100% - 12px),
      transparent 100%
    );
  }
  .players-search .chips-scroll::after{
    font-size: 11px;
    top:-10px;
    padding: 3px 7px;
  }
}
/* ===== Shops 検索UI：セパレーター（Playersの流用） ===== */
.players-search .filters-bar{
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
}
.players-search .filters-row.main{
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed rgba(255,255,255,0.14);
}
.players-search .chips-scroll{
  position: relative;
  padding-top: 12px;
  margin-top: 12px;
}
.players-search .chips-scroll::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:1px;
  background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.12) 10%, rgba(255,255,255,0.12) 90%, transparent 100%);
}
.players-search .chips-scroll:first-of-type{ padding-top:0; margin-top:0; }
.players-search .chips-scroll:first-of-type::before{ display:none; }
@media (max-width:768px){
  .players-search .filters-row.main{ border-bottom-color: rgba(255,255,255,0.10); }
  .players-search .chips-scroll::before{
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.10), transparent);
  }
}
/* タイトルバッジ自体を消す */
.shops-list-page .players-search .chips-scroll[aria-label]::before,
.shops-list-page .players-search .chips-scroll[aria-label]::after{
  content: none !important;
}

