
    body {
      margin: 0;
      font-family: 'Helvetica Neue', sans-serif;
      background-color: #f5f5f5;
    }

    header, footer {
      background-color: #003366;
      color: white;
      text-align: center;
      padding: 1em;
    }

    header h1 {
      font-size: clamp(16px, 5vw, 22px);
      margin: 0;
      white-space: nowrap;
    }

nav {
  background-color: #006699;
  padding: 0.5em;
  text-align: center;
  overflow-x: auto;
  white-space: nowrap;
}

nav::-webkit-scrollbar {
  display: none;
}

    .nav-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      padding: 10px;
    }

    .nav-container a {
      display: inline-block;
      background-color: #00557f;
      color: white;
      padding: 10px 16px;
      border-radius: 8px;
      text-align: center;
      min-width: 120px;
      text-decoration: none;
      font-weight: bold;
      font-size: 14px;
    }

    .nav-container a:hover {
      background-color: #007acc;
    }

main {
  padding: 2em;
  max-width: 95%;
  margin: 0 auto;
}


.left-align {
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.paragraph-tight {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}



main img.main-img {
  display: block;
  margin: 2em auto;
  margin-top: 2em;
  max-width: 60%; /* デスクトップ用 */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


.br-sp {
  display: none;
}

.pc-space {
  display: inline;  /* PCではスペースを表示 */
}

@media (max-width: 600px) {
  .pc-space {
    display: none;  /* スマホでは非表示 */
  }

  .br-sp {
    display: block;
  }


  header h1 {
    white-space: normal;
    font-size: 18px;
  }

  .left-align {
    margin-left: 1em;
    margin-right: 1em;
  }

  .mobile-br { display: inline; }

  /* スマホでは写真を大きく */
  main img.main-img {
    max-width: 100%;
  }
}


  .mobile-br {
    display: inline;  
  }

  .mobile-space {
    padding-left: 1.6em;
  }




.instagram-section {
  max-width: 800px;
  margin: 25px auto 35px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.instagram-section h2 {
  text-align: center;
  color: #003366;
  margin: 0 0 15px;
}

.instagram-media {
  max-width: 100% !important;
  width: 100% !important;
}


h2 {
  color: #003366;
  text-align: center;
}

@media (max-width: 600px) {
  main {
    padding: 1em;
    text-align: center;
  }
}



/* ===== 予定表ページ ===== */

.calendar-info {
  text-align: center;
}


/* ===== お問い合わせページ ===== */

.container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  background: white;
  padding: 20px;
  box-sizing: border-box; /* ←追加 */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.container h1 {
  margin-top: 0;
  text-align: center;
  color: #003366;
}

.container label {
  display: block;
  margin-top: 15px;
  text-align: left;
}

.container input,
.container textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.container button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #00557f;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

.container button:hover {
  background: #007acc;
}

/* スマホ用 */
@media (max-width: 600px) {
  .container {
    padding: 15px;
  }
}


/* ===== お知らせページ ===== */

.news-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.news-list li {
  background: white;
  margin: 10px 0;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
}


.news-list li span {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #00557f;
  margin-bottom: 8px;
  border-left: 4px solid #d9534f;
  padding-left: 8px;
}

.news-list li p {
  margin: 5px 0;
  line-height: 1.6;
}

.highlight-win {
  font-size: 24px;
  font-weight: bold;
  color: #d9534f;
  text-align: center;
  margin-top: 10px;
  background-color: #fff3cd;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


/* ===== チーム紹介ページ ===== */

.players-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-content: center;
}

.player-card {
  background-color: white;
  border: 1px solid #ccc;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
}

    
.player-card img {
  width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 8px;
  flex-shrink: 0;
}


.br-sp {
  display: none;
}


@media (max-width: 600px) {
  .br-sp {
    display: inline;
  }
  .br-sp::after {
    content: "\A";
    white-space: pre;
  }

  header h1 {
    font-size: clamp(16px, 5vw, 22px);
  }

  main {
    padding: 1em;
    text-align: center;
  }

  .team-info {
    padding-left: 1em;
  }
}
@media (min-width: 768px) {
  .players-container {
    grid-template-columns: repeat(3, 1fr);
}
  .player-card {
    max-width: none; 
  }
}

.team-info {
  text-align: left;
  max-width: 600px;
  margin: 0 auto 2em auto;
}

.player-card > div {
  text-align: center;
  width: 100%;
}

.player-card p {
  line-height: 1.6;
}

.back-link {
  margin: 2em auto 0;
  text-align: center;
}

.back-link a {
  display: inline-block;
  padding: 10px 16px;
  background-color: #00557f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.back-link a:hover {
  background-color: #007acc;
}

.player-card a {
  pointer-events: none;
  cursor: default;
}

.player-name {
  color: #0033cc;
  font-weight: bold;
}



/* ===== 2025、2026年度 試合結果ページ ===== */

table {
  max-width: 100%;
  width: 100%;
  table-layout: auto;
  word-wrap: break-word;
}

td {
  width: 90px;
  word-break: break-word;
  text-align: center;
  vertical-align: middle;
}

td:nth-child(2) {
  white-space: nowrap;
}

.pc-add::after {
  content: "";
}

@media (min-width: 601px) {
  .pc-add::after {
    content: "争奪チャンピオン大会";
    margin-right: 2em;
  }
}

@media (max-width: 600px) {
  .br-sp {
    display: inline;
  }

  .br-sp::after {
    content: "\A";
    white-space: pre;
  }

  table {
    width: 100%;
    margin: 0 auto;
  }
}

.back-link {
  margin: 2em auto 0;
  text-align: center;
}

.back-link a {
  display: inline-block;
  padding: 10px 16px;
  background-color: #00557f;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.back-link a:hover {
  background-color: #007acc;
}


/* ===== 体験練習申込みフォーム ===== */

.form-page label {
  display: block;
  margin-top: 15px;
  color: #444;
  text-align: left;
}

.form-page input,
.form-page select,
.form-page textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 14px;
}

.form-page button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background-color: #00557f;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.form-page button:hover {
  background-color: #007acc;
}

.form-page {
  max-width: 800px;
  width: calc(100% - 40px);
  margin: 20px auto;
  background: white;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


/* ===== 年度選択 共通 ===== */

.year-select,
.year-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.year-card,
.year-links a {
  display: block;
  background: white;
  color: #003366;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.2s;
  text-align: center;
}

.year-card:hover,
.year-links a:hover {
  background: #f5f5f5;
  transform: translateY(-3px);
}

.year-card span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #666;
  font-weight: normal;
}


/* ===== トップページ 最新のお知らせ ===== */

.home-news {
  max-width: 800px;
  margin: 25px auto 35px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.home-news h2 {
  text-align: center;
  color: #003366;
  margin: 0 0 15px;
}
.news-item {
  padding: 10px 5px;
  border-bottom: 1px solid #ddd;
  line-height: 1.6;
}
.news-item span {
  display: inline-block;
  margin-right: 15px;
  color: #555;
}
.news-item a {
  color: #00557f;
  text-decoration: none;
}
.news-item a:hover {
  text-decoration: underline;
}
.more-link {
  text-align: right;
  margin: 15px 0 0;
}
.more-link a {
  color: #00557f;
  text-decoration: none;
}
.more-link a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .home-news {
    margin: 20px 10px 30px;
    padding: 15px;
  }
  .home-news h2 {
    font-size: 20px;
  }
  .news-item {
    padding: 10px 0;
    text-align: left;   /* ←これを追加 */
  }
  .news-item span {
    display: block;
    margin-right: 0;
    margin-bottom: 3px;
    font-size: 14px;
  }
  .news-item a {
    font-size: 15px;
  }
  .more-link {
    margin-top: 12px;
  }
}
@media (max-width: 600px) {
  .instagram-section {
    margin: 20px 10px 30px;
    padding: 15px;
  }
  .instagram-section h2 {
    font-size: 20px;
  }
}



