* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8fafc;
}

/* ヘッダースタイル */
.site-header,
.main-header {
  background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 20px;
}

.nav-brand .brand-link,
.logo-section .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333;
  text-decoration: none;
}

.logo-icon {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-brand h1,
.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1;
}

.logo-sub {
  font-size: 0.75em;
  opacity: 0.8;
  font-weight: 300;
  letter-spacing: 1px;
}

.main-nav .nav-menu,
.header-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  width: 100%;
}

.nav-brand h1 {
  font-size: 1.5em;
  margin: 0;
  display: flex;
  align-items: center;
  color: #333;
}

.nav-brand .brand-link {
  text-decoration: none;
}

.nav-menu a,
.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-link:hover,
.nav-link.active {
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-actions .cta-button {
  background: #ef4444;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.cta-button:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

/* ハンバーガーメニュー */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* フッタースタイル */
.site-footer,
.main-footer {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
  margin-top: 60px;
}

.footer-container,
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer .footer-section {
  color: #d1d5db;
}

.site-footer h3,
.site-footer h4 {
  color: #60a5fa;
  margin-bottom: 1rem;
}

.footer-section h4.footer-title {
  color: #60a5fa;
  margin-bottom: 20px;
  font-size: 1.1em;
  font-weight: 600;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 1.3em;
  font-weight: bold;
}

.footer-description {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #60a5fa;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9ca3af;
  font-size: 0.9em;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #60a5fa;
}

/* メインコンテンツの調整 */
.main-content,
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px;
}
/* レスポンシブ対応 - ヘッダー・フッター */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }
  
  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .header-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .main-nav .nav-menu,
.header-nav .nav-list {
    flex-direction: column;
    padding: 20px;
    gap: 0;
  }
  
  .nav-menu a,
.nav-link {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    border-radius: 0;
    color: white;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .header-actions {
    display: flex;
  }
  
  .header-actions .cta-button {
    padding: 8px 16px;
    font-size: 0.9em;
  }
  
  .logo-main {
    font-size: 1.2em;
  }
  
  .logo-sub {
    font-size: 0.7em;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}
.hero {
  text-align: center;
  margin: 40px 0;
}

.schedule-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.filter label {
  font-size: 0.9em;
}
select {
  padding: 5px;
}
.team-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .team-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .team-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  background: linear-gradient(145deg, #ffffff, #f5f7fa);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* チームカードコンテンツ */
.team-card-content {
  padding: 30px 25px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* デスクトップ用のスタイルを明示 */
@media (min-width: 769px) {
  .team-card-content {
    flex-direction: column;
    text-align: center;
  }
  
  .team-logo-container {
    margin-bottom: 20px;
    margin-right: 0;
  }
}

.team-list .team-logo-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-list .team-logo {
  width: 226px;
  height: 226px;
  border-radius: 8px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-list .team-logo-placeholder {
  width: 226px;
  height: 226px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-name {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.team-description {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-actions {
  margin-top: auto;
}

.detail-link {
  color: #007bff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.detail-link:hover {
  color: #0056b3;
}

/* データなしメッセージ */
.no-teams-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.no-teams-message h3 {
  color: #6c757d;
  margin-bottom: 10px;
  font-size: 20px;
}

.no-teams-message p {
  color: #adb5bd;
  font-size: 14px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .team-list {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px 15px;
  }
  
  .team-card-content {
    padding: 12px;
    flex-direction: row !important;
    text-align: left;
    align-items: center;
    justify-content: flex-start;
    min-height: 140px;
    max-height: 140px;
  }
  
  .team-logo-container {
    margin-bottom: 0 !important;
    margin-right: 15px;
    flex-shrink: 0;
    order: 1;
  }
  
  .team-logo,
  .team-logo-placeholder {
    width: 120px !important;
    height: 120px !important;
  }
  
  .team-logo-placeholder {
    font-size: 48px;
  }
  
  .team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    order: 2;
  }
  
  .team-name {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.1;
  }
  
  .team-description {
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .team-actions {
    margin-top: 0;
    align-self: flex-start;
  }
  
  .detail-link {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .team-list {
    gap: 8px;
    padding: 10px 5px;
  }
  
  .team-card {
    border-radius: 12px;
  }
  
  .team-card-content {
    padding: 6px;
    min-height: 97px;
    max-height: 97px;
  }
  
  .team-logo,
  .team-logo-placeholder {
    width: 85px !important;
    height: 85px !important;
  }
  
  .team-logo-placeholder {
    font-size: 34px;
  }
  
  .team-logo-container {
    margin-right: 8px;
  }
  
  .team-name {
    font-size: 14px;
    margin: 0 0 4px 0;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  
  .team-description {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 4px;
  }
  
  .detail-link {
    font-size: 10px;
  }
}
.btn {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  background: #0284c7;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
}
.team-detail img {
  max-width: 600px;
  width: 100%;
  margin: 20px 0;
}
.cta {
  text-align: center;
  margin: 20px 0;
}
footer {
  text-align: center;
  margin-top: 40px;
  color: #666;
}

/* スタッフ欄 */
#staff {
  margin-top: 40px;
}
.staff-member {
  border-top: 1px solid #ccc;
  padding: 10px 0;
}
.staff-member h3 {
  margin-bottom: 5px;
  font-size: 1.1em;
}
.staff-member p {
  margin: 2px 0;
  font-size: 0.9em;
}
/* --- カード全体 --- */
.team-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
  width: 260px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.team-card img:not(.team-logo) {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* --- タイトル --- */
.team-card h2 {
  font-size: 1.3em;
  margin: 0 0 8px;
  text-align: center;
}

/* --- 地域・レベル --- */
.team-card .meta {
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;
  margin-bottom: 12px;
}
.team-card .meta span {
  display: block;      /* 改行して縦並びに */
}

/* --- 費用リスト --- */
.team-card .fees {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.team-card .fees li {
  font-size: 0.9em;
  margin-left: 12px;
  position: relative;
}
.team-card .fees li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: #888;
}

/* --- コーチ --- */
.team-card p.coach {
  font-size: 0.95em;
  margin: 0 0 12px;
}

/* --- 実績 details --- */
.team-card details {
  font-size: 0.9em;
  margin-bottom: 12px;
}
.team-card details summary {
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 4px;
}

/* --- SNS リンク --- */
.team-card .sns {
  text-align: center;
  margin-top: 8px;
}
.team-card .sns a {
  display: inline-block;
  margin: 0 6px;
  font-size: 0.9em;
  text-decoration: none;
  color: #0077cc;
}
.team-card .sns a:hover {
  text-decoration: underline;
}

/* --- 詳細リンク --- */
.team-actions {
  text-align: center;
  margin-top: 12px;
}

.detail-link {
  display: inline-block;
  background: #0284c7;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9em;
  transition: background 0.2s ease;
}

.detail-link:hover {
  background: #0369a1;
}

/* チーム詳細ページのスタイル */
.team-detail-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.team-header {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.team-header .team-logo-container {
  flex-shrink: 0;
}

.team-header .team-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 5px;
}

.team-main-image {
  width: 300px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.team-basic-info h1 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #333;
}

.region-level {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 15px;
}

.description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
}

.team-content section {
  margin-bottom: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
}

.team-content h2 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 2px solid #0284c7;
  padding-bottom: 5px;
}

.fees-detail {
  list-style: none;
  padding: 0;
}

.fees-detail li {
  padding: 8px 0;
  font-size: 1.1em;
  border-bottom: 1px solid #e5e5e5;
}

.fees-detail li:last-child {
  border-bottom: none;
}

.activity-days {
  font-size: 1.2em;
  font-weight: bold;
  color: #0284c7;
  text-align: center;
  padding: 15px;
  background: #f0f9ff;
  border-radius: 8px;
  border-left: 4px solid #0284c7;
}

.achievements-list {
  list-style: none;
  padding: 0;
}

.achievements-list li {
  padding: 6px 0;
  font-size: 1em;
  position: relative;
  padding-left: 20px;
}

.achievements-list li::before {
  content: '🏆';
  position: absolute;
  left: 0;
  top: 6px;
}

.sns-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.sns-link {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.sns-link:hover {
  transform: translateY(-2px);
}

.sns-link.twitter {
  background: #1DA1F2;
  color: white;
}

.sns-link.instagram {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
}

.sns-link.youtube {
  background: #FF0000;
  color: white;
}

.sns-link.website {
  background: #4CAF50;
  color: white;
}

.instagram-embed {
  max-width: 500px;
  margin: 0 auto;
}

/* 報告ボタンセクション */
.report-section {
  margin-top: 40px;
  padding: 20px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  text-align: center;
}

.report-notice {
  margin-bottom: 15px;
  color: #856404;
  font-size: 1em;
}

.report-button {
  display: inline-block;
  background: #fd79a8;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.2s ease;
}

.report-button:hover {
  background: #e84393;
}

/* フォームページ用スタイル */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.form-description {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.report-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1em;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 5px rgba(2, 132, 199, 0.3);
}

.form-group input[readonly] {
  background-color: #f8f9fa;
  color: #6c757d;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.submit-button {
  background: #0284c7;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-button:hover:not(:disabled) {
  background: #0369a1;
}

.submit-button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.cancel-button {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cancel-button:hover {
  background: #5a6268;
}

.form-status {
  margin-top: 20px;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
}

.form-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .team-header {
    flex-direction: column;
  }
  
  .team-main-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .sns-links {
    justify-content: center;
  }
  
  .form-container {
    padding: 10px;
  }
  
  .report-form {
    padding: 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .submit-button,
  .cancel-button {
    width: 100%;
  }
}

/* フィルタ機能用スタイル */
.filter-section {
  background: #f8fafc;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* アコーディオンスタイル */
.filter-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: white;
}

.filter-accordion-header {
  background: #f9fafb;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
  user-select: none;
}

.filter-accordion-header:hover {
  background: #f3f4f6;
}

.filter-accordion-header h4 {
  margin: 0;
  font-size: 1.1em;
  font-weight: 600;
  color: #374151;
}

.accordion-icon {
  font-size: 0.9em;
  color: #6b7280;
  transition: transform 0.2s ease;
}

.filter-accordion-header.active .accordion-icon {
  transform: rotate(90deg);
}

.filter-accordion-content {
  padding: 20px;
  background: white;
  transition: all 0.3s ease;
  max-height: 1000px;
  overflow: hidden;
}

.filter-accordion-content.collapsed {
  max-height: 0;
  padding: 0 20px;
}

.filter-actions {
  margin-top: 20px;
  text-align: center;
}

/* 管理画面スタイル */
.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.admin-container h1 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 10px;
}

.admin-description {
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
}

.admin-section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.admin-section h2 {
  color: #374151;
  margin-bottom: 20px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 10px;
}

.tournament-form {
  max-width: 800px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
}

.form-group select,
.form-group input {
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.required {
  color: #ef4444;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.submit-btn {
  background: #10b981;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background: #059669;
}

.clear-btn {
  background: #6b7280;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.clear-btn:hover {
  background: #4b5563;
}

.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 6px;
  font-weight: 500;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.data-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}

.search-controls {
  display: flex;
  gap: 15px;
  flex: 1;
}

.search-controls input,
.search-controls select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.action-controls {
  display: flex;
  gap: 10px;
}

.export-btn,
.import-btn,
.template-btn {
  background: #3b82f6;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.export-btn:hover,
.import-btn:hover,
.template-btn:hover {
  background: #2563eb;
}

.results-table {
  overflow-x: auto;
}

.results-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}

.results-table th,
.results-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.results-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.results-table tr:hover {
  background: #f9fafb;
}

.edit-btn {
  background: #f59e0b;
  color: white;
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  margin-right: 5px;
}

.edit-btn:hover {
  background: #d97706;
}

.delete-btn {
  background: #ef4444;
  color: white;
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}

.delete-btn:hover {
  background: #dc2626;
}

.import-section {
  max-width: 600px;
}

.import-controls {
  margin-bottom: 20px;
}

.import-template {
  background: #f9fafb;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.import-template h3 {
  margin-top: 0;
  color: #374151;
}

.import-template pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 15px;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 14px;
  margin: 15px 0;
}

/* 検索可能セレクトボックス */
.searchable-select {
  position: relative;
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  padding: 12px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item.highlighted {
  background-color: #f3f4f6;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item.no-results {
  color: #6b7280;
  font-style: italic;
  cursor: default;
}

.dropdown-item.no-results:hover {
  background-color: white;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .data-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-controls {
    flex-direction: column;
  }
  
  .action-controls {
    justify-content: center;
  }
  
  /* スマホでのチームカード表示を変更 */
  .team-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
  }
  
  .team-card {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    width: 100%;
    height: auto;
    min-height: 80px;
    text-align: left;
  }
  
  .team-card img:not(.team-logo) {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .team-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
  }
  
  .team-card h2 {
    font-size: 1.1em;
    margin: 0 0 4px 0;
    text-align: left;
    line-height: 1.3;
  }
  
  .team-card .description {
    font-size: 0.85em;
    line-height: 1.3;
    margin: 0;
    color: #666;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  .team-card .meta,
  .team-card .fees,
  .team-card p.coach,
  .team-card details,
  .team-card .sns,
  .team-actions {
    display: none;
  }
}

.filter-section h3 {
  margin: 0 0 15px;
  color: #374151;
  font-size: 1.2em;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.filter-group label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #4b5563;
  font-size: 0.9em;
}

.filter-group select,
.filter-group input {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: white;
  font-size: 0.9em;
  color: #374151;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-group input::placeholder {
  color: #9ca3af;
}

.clear-filters-btn {
  padding: 8px 16px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.9em;
  cursor: pointer;
  transition: background 0.2s ease;
  height: fit-content;
}

.clear-filters-btn:hover {
  background: #dc2626;
}

/* 比較機能用スタイル */
.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

.compare-mode-button,
.compare-execute-button,
.compare-cancel-button {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compare-mode-button {
  background: #22c55e;
  color: white;
}

.compare-mode-button:hover {
  background: #16a34a;
}

.compare-execute-button {
  background: #3b82f6;
  color: white;
}

.compare-execute-button:hover {
  background: #2563eb;
}

.compare-cancel-button {
  background: #ef4444;
  color: white;
}

.compare-cancel-button:hover {
  background: #dc2626;
}

/* 固定比較ボタン */
.fixed-compare-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 3px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 15px 20px;
  display: none;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.fixed-compare-buttons.visible {
  display: block;
}

.fixed-compare-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.fixed-compare-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: auto;
}

.selected-teams-count {
  font-weight: bold;
  color: #3b82f6;
  font-size: 1.1em;
}

.fixed-compare-actions {
  display: flex;
  gap: 15px;
}

.fixed-compare-buttons .compare-execute-button,
.fixed-compare-buttons .compare-cancel-button {
  padding: 10px 20px;
  min-width: 120px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .fixed-compare-buttons {
    padding: 12px 15px;
  }
  
  .fixed-compare-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .fixed-compare-info {
    margin-right: 0;
    justify-content: center;
  }
  
  .fixed-compare-actions {
    width: 100%;
    justify-content: center;
  }
  
  .fixed-compare-buttons .compare-execute-button,
  .fixed-compare-buttons .compare-cancel-button {
    flex: 1;
    min-width: auto;
  }
}

.compare-notice {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 6px;
  padding: 15px;
  margin: 20px 0;
  text-align: center;
}

.compare-notice p {
  margin: 5px 0;
  color: #92400e;
}

.selected-count {
  font-weight: bold;
}

/* 比較モード時のチームカード */
.team-card.compare-mode {
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.team-card.compare-mode:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.team-card.selected {
  border: 3px solid #3b82f6;
  background: #eff6ff;
}

.compare-checkbox {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 2px solid #d1d5db;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.compare-checkbox.checked {
  background: #3b82f6;
  border-color: #3b82f6;
}

.checkbox-icon {
  color: white;
  font-weight: bold;
  font-size: 16px;
}

/* 比較ページ用スタイル */
.compare-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.compare-description {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
  font-size: 1.1em;
}

/* 固定テーブルコンテナ */
.sticky-table-container {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 横スクロールヒント */
.scroll-hint {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: bold;
  z-index: 100;
  opacity: 1;
  animation: scrollHintPulse 3s infinite;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.scroll-hint.hidden {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.scroll-arrow {
  animation: scrollArrowMove 2s infinite;
  font-size: 1.2em;
}

@keyframes scrollHintPulse {
  0%, 100% { opacity: 0.9; transform: translateY(-50%) scale(1); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.05); }
}

@keyframes scrollArrowMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 30px;
  background: white;
  table-layout: auto;
}

/* 固定ヘッダー（1行目）のスタイル */
.comparison-table .team-name-row {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}

/* 固定列（1列目）のスタイル */
.comparison-table .item-header,
.comparison-table .item-name {
  position: sticky;
  left: 0;
  z-index: 10;
  background: #f1f5f9;
  border-right: 2px solid #e2e8f0;
}

/* 左上角のセル（1行目1列目）は最前面に */
.comparison-table .team-name-row .item-header {
  z-index: 30;
  background: #e2e8f0;
  border-right: 2px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
}

.header-row {
  background: #f8fafc;
}

.item-header {
  background: #e2e8f0;
  padding: 20px;
  font-weight: bold;
  color: #374151;
  width: 20%;
  min-width: 150px;
  vertical-align: top;
  white-space: nowrap;
}

.item-name {
  background: #f1f5f9;
  padding: 15px 20px;
  font-weight: bold;
  color: #475569;
  border-right: 2px solid #e2e8f0;
  vertical-align: top;
  width: 20%;
  min-width: 150px;
  white-space: nowrap;
}

.team-name-row {
  background: #f8fafc;
}

.team-name-cell {
  padding: 20px;
  text-align: center;
  border-left: 1px solid #e5e7eb;
  vertical-align: top;
  width: 200px;
  min-width: 180px;
  background: #f8fafc;
}

.team-name {
  font-size: 1.2em;
  font-weight: bold;
  color: #1f2937;
  margin: 10px 0 5px;
}

.team-location {
  color: #6b7280;
  font-size: 0.9em;
  margin: 0;
}

.team-compare-image {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.compare-row:nth-child(even) {
  background: #f9fafb;
}

.item-value {
  padding: 15px 20px;
  border-left: 1px solid #e5e7eb;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: top;
  line-height: 1.5;
  min-width: 180px;
  background: white;
}

.description-cell {
  max-width: 200px;
  word-wrap: break-word;
  font-size: 0.9em;
  line-height: 1.4;
}

.description-row .item-value {
  padding: 20px;
}

.link-row {
  background: #f8fafc;
}

.detail-link-small {
  display: inline-block;
  background: #0284c7;
  color: white;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85em;
  transition: background 0.2s ease;
}

.detail-link-small:hover {
  background: #0369a1;
}

.compare-actions {
  text-align: center;
  margin-top: 30px;
}

.back-button {
  display: inline-block;
  background: #6b7280;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.2s ease;
}

.back-button:hover {
  background: #4b5563;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .sticky-table-container {
    height: 80vh;
  }
  
  .comparison-table {
    font-size: 0.9em;
  }
  
  .team-compare-image {
    width: 60px;
    height: 45px;
  }
  
  .item-name,
  .item-value {
    padding: 10px 15px;
    min-width: 120px;
  }
  
  .item-header {
    padding: 15px;
    min-width: 120px;
  }
  
  .team-name-cell {
    min-width: 150px;
    padding: 15px;
  }
  
  .team-header {
    padding: 15px 10px;
  }
  
  .scroll-hint {
    font-size: 0.8em;
    padding: 6px 10px;
    right: 5px;
  }
  
  .scroll-arrow {
    font-size: 1.1em;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .compare-mode-button,
  .compare-execute-button,
  .compare-cancel-button {
    width: 100%;
    max-width: 300px;
  }
  
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    min-width: auto;
  }
}

/* チーム詳細ページのスタイル */
.team-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: #6b7280;
}

.breadcrumb a {
  color: #3b82f6;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.team-detail {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.team-header {
  display: flex;
  gap: 30px;
  padding: 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e5e7eb;
}

.team-image-container {
  flex-shrink: 0;
}

.team-main-image {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-placeholder-image {
  width: 200px;
  height: 150px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3em;
  color: #9ca3af;
}

.team-info {
  flex: 1;
}

.team-title {
  font-size: 2em;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 10px;
}

.team-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.team-region,
.team-level {
  background: #3b82f6;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.team-league-class {
  background: #dbeafe;
  color: #1e40af;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-left: 8px;
}

.team-description {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
}

.team-content {
  padding: 30px;
}

.team-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.team-section:last-of-type {
  border-bottom: none;
}

.team-section h2 {
  font-size: 1.5em;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-section h2::before {
  content: "⚽";
  font-size: 0.8em;
}

.fee-info,
.contact-info {
  margin: 0 15px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.fee-list,
.contact-list {
  display: grid;
  gap: 10px;
}

.fee-item,
.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #f9fafb;
  border-radius: 6px;
}

.fee-label,
.contact-label {
  font-weight: 600;
  color: #374151;
}

.fee-value {
  color: #059669;
  font-weight: 600;
  white-space: pre-line; /* 改行とスペースを保持 */
  display: inline-block; /* 改行を正しく表示するため */
  text-align: left; /* 左寄せ */
}

/* その他費用専用のスタイル */
.other-fee {
  text-align: left !important;
  display: block;
  white-space: pre-line;
}

/* 連絡先ボタンスタイル */
.contact-button {
  display: inline-block;
  padding: 8px 16px;
  margin: 0; /* マージンをリセット（flexboxのgapで制御） */
  background: #3b82f6;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none !important; /* すべてのボタンでボーダーなし */
  cursor: pointer;
}

.contact-button:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* 各SNSの色分け */
.contact-button.website {
  background: #059669;
}

.contact-button.website:hover {
  background: #047857;
}

.contact-button.email {
  background: #dc2626;
}

.contact-button.email:hover {
  background: #b91c1c;
}

.contact-button.x {
  background: #1f2937;
}

.contact-button.x:hover {
  background: #111827;
}

.contact-button.instagram {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.contact-button.instagram:hover {
  background: linear-gradient(45deg, #e08423 0%,#d6582c 25%,#cc1733 50%,#bc1356 75%,#ac0878 100%);
}

.contact-button.youtube {
  background: #dc2626;
}

.contact-button.youtube:hover {
  background: #b91c1c;
}

/* 連絡先ボタンを横並びにする */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.contact-item {
  display: inline-block;
}

/* 最初のボタンは左ボーダーなし */
.contact-item:first-child .contact-button {
  border-left: none !important;
}

/* 2番目以降のボタンは左ボーダーを追加 */
.contact-item:not(:first-child) .contact-button {
  border-left: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.coach-info,
.achievement-info,
.activity-info {
  background: #f9fafb;
  padding: 15px;
  margin: 0 15px;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
}

.achievement-list,
.activity-list,
.achievements-list,
.activity-days-list,
.coach-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.achievement-list li,
.activity-list li,
.achievements-list li,
.activity-days-list li,
.coach-list li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.achievement-list li:last-child,
.activity-list li:last-child,
.achievements-list li:last-child,
.activity-days-list li:last-child,
.coach-list li:last-child {
  border-bottom: none;
}

.achievement-list li::before,
.achievements-list li::before {
  content: "🏆";
  position: absolute;
  left: 0;
}

.activity-list li::before,
.activity-days-list li::before {
  content: "📅";
  position: absolute;
  left: 0;
}

.coach-list li::before {
  content: "👨‍🏫";
  position: absolute;
  left: 0;
}

.contact-item a {
  color: #3b82f6;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* 連絡先ボタンスタイル */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.website-btn {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.x-btn {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.instagram-btn {
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
}

.youtube-btn {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.email-btn {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
}

/* Instagram埋め込みスタイル */
.instagram-embed-container {
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center; /* 「Instagramで見る」をセンタリング */
}

.instagram-embed-container iframe {
  width: 100%;
  border: none;
  border-radius: 12px;
}

/* Instagram埋め込み内のテキストとリンクをセンタリング */
.instagram-embed-container p,
.instagram-embed-container a {
  text-align: center;
  margin: 0 auto;
  display: block;
}

.instagram-embed-container a {
  display: inline-block;
  margin-top: 10px;
}

.instagram-note {
  margin: 15px 0 0 0;
  text-align: center;
}

.instagram-link {
  color: #e91e63;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  background: #fce4ec;
  display: inline-block;
  transition: all 0.3s ease;
}

.instagram-link:hover {
  background: #f8bbd9;
  text-decoration: none;
}

.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.report-btn,
.back-btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 150px;
}

.report-btn {
  background: #ef4444;
  color: white;
}

.report-btn:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

.back-btn {
  background: #6b7280;
  color: white;
}

.back-btn:hover {
  background: #4b5563;
  transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .team-header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .team-logo-container {
    align-self: center;
  }
  
  .team-logo {
    width: 120px;
    height: 120px;
  }
  
  .team-image-container {
    align-self: center;
  }
  
  .team-main-image,
  .team-placeholder-image {
    width: 150px;
    height: 112px;
  }
  
  .team-title {
    font-size: 1.5em;
  }
  
  .team-meta {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .fee-item,
  .contact-item {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  
  .contact-buttons {
    justify-content: center;
  }
  
  .contact-button {
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }
  
  .instagram-embed-container iframe {
    height: 400px;
  }
  
  /* モバイル用マージン調整 */
  .fee-info,
  .contact-info {
    margin: 0 10px;
  }
  
  /* スマホ版：指導者・実績・活動日を料金情報と同じ見た目に */
  .coach-info,
  .achievement-info,
  .activity-info {
    margin: 0 10px;
    padding: 0;
    background: none;
    border: none;
  }
  
  .coach-info p,
  .achievements-list,
  .activity-days-list {
    padding: 10px;
    border-radius: 6px;
    margin: 0;
  }
  
  .achievements-list li,
  .activity-days-list li {
    padding: 8px 0;
    padding-left: 15px;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .achievements-list li:last-child,
  .activity-days-list li:last-child {
    border-bottom: none;
  }
}

/* U-12公式戦一覧ページのスタイル */
.tournaments-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.schedule-section {
  margin: 40px 0;
  text-align: center;
}

.schedule-section h2 {
  color: #1f2937;
  font-size: 1.8em;
  margin-bottom: 20px;
  border-bottom: 3px solid #3b82f6;
  padding-bottom: 10px;
  display: inline-block;
}

.schedule-image-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 0 auto;
  max-width: 800px;
}

.schedule-section .schedule-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.schedule-section .schedule-image:hover {
  transform: scale(1.02);
}

.tournament-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.tournament-image-container {
  text-align: center;
}

.tournament-image-container h2 {
  margin-bottom: 15px;
  color: #1f2937;
  font-size: 1.3em;
}

.tournament-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.tournament-image:hover {
  transform: scale(1.02);
}

.tournaments-detail {
  margin-top: 50px;
}

/* 大会結果フィルタテーブル */
.tournament-filter-table {
  margin-top: 15px;
}

.filter-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-table thead {
  background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
}

.filter-table th {
  padding: 12px 15px;
  text-align: left;
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-table th:last-child {
  border-right: none;
}

.filter-table tbody tr {
  border-bottom: 1px solid #e5e7eb;
}

.filter-table tbody tr:last-child {
  border-bottom: none;
}

.filter-table td {
  padding: 10px 15px;
  vertical-align: middle;
}

.filter-table select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-table select:hover {
  border-color: #87CEEB;
  box-shadow: 0 1px 3px rgba(135, 206, 235, 0.2);
}

.filter-table select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .filter-table {
    font-size: 12px;
  }
  
  .filter-table th,
  .filter-table td {
    padding: 8px 10px;
  }
  
  .filter-table select {
    font-size: 12px;
    padding: 6px 8px;
  }
}

.tournament-block {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
  border-left: 4px solid #3b82f6;
}

.tournament-block h2 {
  color: #1f2937;
  font-size: 1.5em;
  margin-bottom: 20px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 10px;
}

.tournament-info h3 {
  color: #374151;
  font-size: 1.2em;
  margin: 20px 0 10px 0;
}

.tournament-info p {
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 15px;
}

.tournament-info ul {
  list-style: none;
  padding-left: 0;
}

.tournament-info li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  color: #4b5563;
  line-height: 1.6;
}

.tournament-info li:before {
  content: "⚽";
  position: absolute;
  left: 0;
  color: #3b82f6;
}

/* U-12公式戦一覧のレスポンシブ対応 */
@media (max-width: 768px) {
  .schedule-section h2 {
    font-size: 1.4em;
  }
  
  .schedule-image-container {
    padding: 15px;
    margin: 0 10px;
  }
  
  .tournament-images {
    grid-template-columns: 1fr;
    gap: 20px;

  }
  
  .tournament-image-container {
    margin-bottom: 20px;
  }
  
  .tournament-block {
    padding: 20px;
  }
  
  .tournament-block h2 {
    font-size: 1.3em;
  }
}