html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.8;
}
.record-box {
  max-width: 1100px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.record-item {
  background: white;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(15,23,42,0.06);
  border: 1px solid #e2e8f0;
}

.record-number {
  display: block;
  font-size: 36px;
  font-weight: bold;
  color: #0f172a;
}

.record-label {
  display: block;
  margin-top: 8px;
  color: #64748b;
}

.record-number.win {
  color: #16a34a;
}

.record-number.lose {
  color: #dc2626;
}

/* ===== HEADER ===== */
header {
  background: #800020;
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}

.header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.logo-link {
  color: inherit;
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  height: 58px;
}

.logo small {
  display: block;
  color: #f3d6dc;
  font-size: 12px;
}

.logo h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: 1px;
}

.right-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 4px;
}

.menu a:hover {
  border-bottom: 2px solid white;
}

.sns {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sns img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 8px;
  transition: 0.2s;
}

.sns img:hover {
  transform: scale(1.1);
}

/* ===== COMMON ===== */
main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 86px 22px;
}

section {
  margin-bottom: 96px;
}

.button {
  display: inline-block;
  background: #800020;
  color: white;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.button-white {
  background: white;
  color: #800020;
}

.card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 34px;
}

.section-en {
  color: #800020;
  font-weight: bold;
  letter-spacing: 0.22em;
  font-size: 13px;
  margin: 0 0 10px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.03em;
}

.section-lead {
  color: #475569;
  font-size: 17px;
  margin: 0;
}

/* ===== HERO ===== */
.hero {
  min-height: 680px;
  background:
    linear-gradient(90deg, rgba(15,23,42,0.88), rgba(15,23,42,0.42)),
    url("IMG_1180.jpeg");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 22px;
}

.hero-tag {
  font-size: 15px;
  letter-spacing: 0.18em;
  font-weight: bold;
  color: #f3d6dc;
  margin-bottom: 20px;
}

.hero h2 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.16;
  margin: 0 0 28px;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 780px;
  font-size: 18px;
  color: #e2e8f0;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== TOP PAGE ===== */
.news-section {
  margin-top: 0;
}

.news-list {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.news-item {
  display: grid;
  grid-template-columns: 120px 110px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid #e2e8f0;
  transition: 0.2s;
}

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

.news-item:hover {
  background: #fff7f9;
}

.news-date {
  color: #64748b;
  font-size: 14px;
  font-weight: bold;
}

.news-category {
  display: inline-block;
  background: #800020;
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-align: center;
}

.news-title {
  font-weight: bold;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.about-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 26px;
  display: block;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.philosophy-card {
  background: white;
  border-radius: 26px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
}

.philosophy-number {
  color: #800020;
  font-weight: bold;
  letter-spacing: 0.16em;
  font-size: 13px;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 12px;
  white-space: nowrap;
}

.message-box {
  background: #0f172a;
  color: white;
  border-radius: 32px;
  padding: 44px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.18);
}

.message-box p {
  color: #cbd5e1;
  font-size: 17px;
}

.contents-scroll {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 22px;
}

.content-card {
  min-height: 230px;
  background: white;
  border-radius: 28px;
  padding: 30px;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 34px rgba(15,23,42,0.05);
  transition: 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content-card:hover {
  transform: translateY(-6px);
}

.content-card small {
  color: #800020;
  font-weight: bold;
  letter-spacing: 0.18em;
}

.content-card h3 {
  font-size: 26px;
  margin: 12px 0;
}

.contact {
  background: #800020;
  color: white;
  border-radius: 34px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.contact p {
  color: #f3d6dc;
}

.contact a {
  color: white;
}

/* ===== SUB PAGE HERO ===== */
.page-hero {
  background: #800020;
  color: white;
  padding: 90px 20px;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero p {
  margin: 0 0 10px;
  color: #f3d6dc;
  font-weight: bold;
  letter-spacing: 3px;
  font-size: 14px;
}

.page-hero h2 {
  margin: 0;
  color: white;
  font-size: 42px;
  font-weight: bold;
}

/* ===== TEAM PAGE ===== */
.team-page section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

th, td {
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  width: 180px;
  color: #800020;
  font-weight: bold;
}

/* ===== PLAYERS PAGE ===== */
.players-page main {
  max-width: 1220px;
}

.players-page section {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.players-page .section-title {
  margin-bottom: 40px;
}
.players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* タブレット */
@media (max-width: 1100px) {
  .players-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ */
@media (max-width: 768px) {
  .players-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .record-box {
  grid-template-columns: repeat(2, 1fr);
}

.record-number {
  font-size: 28px;
}

  .player-photo {
    height: 220px;
  }

  .player-name {
    font-size: 20px;
  }

  .player-content {
    padding: 14px;
  }

  .player-info {
    font-size: 13px;
  }

  .message {
    font-size: 13px;
  }
  
}

/* 小さいスマホ */
@media (max-width: 480px) {
  .players-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .player-photo {
    height: 180px;
  }

  .player-name {
    font-size: 18px;
  }

  .player-info {
    font-size: 12px;
  }

  .message {
    display: none;
  }
}

.player-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(15,23,42,0.05);
  transition: 0.2s;
}

.player-card:hover {
  transform: translateY(-5px);
}

.player-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}

.player-content {
  padding: 22px;
}

.number {
  color: #800020;
  font-weight: 900;
  font-size: 40px;
  border-bottom: 2px solid #800020;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.player-name {
  font-size: 26px;
  font-weight: bold;
  margin: 4px 0 14px;
}

.player-info {
  margin: 8px 0;
  color: #475569;
  font-size: 15px;
}

.message {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  color: #334155;
}

/* ===== RESULTS PAGE ===== */

.recruit-page main {
  max-width: 1100px;
}

.recruit-page section {
  margin-bottom: 70px;
}

.recruit-page .card {
  font-size: 17px;
}

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 20px;
  margin-top: 24px;
}

.point {
  background: white;
  border-left: 6px solid #800020;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(15,23,42,0.04);
}

.point h3 {
  margin-top: 0;
  color: #800020;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(15,23,42,0.05);
}

.info-table th,
.info-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px;
  text-align: left;
}

.info-table th {
  width: 220px;
  background: #f8fafc;
  color: #800020;
}

.contact-box {
  background: #800020;
  color: white;
  border-radius: 18px;
  padding: 30px;
}

.contact-box a {
  color: white;
}

.contact-box .button {
  background: white;
  color: #800020;
}
.results-page main {
  max-width: 1100px;
}

.results-page section {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.results-page .section-title {
  margin-bottom: 30px;
}
.result-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.result-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.date {
  color: #64748b;
  font-size: 14px;
  font-weight: bold;
}

.match-title {
  font-size: 22px;
  font-weight: bold;
  margin: 4px 0 0;
}

.score {
  font-size: 28px;
  font-weight: bold;
}

.win {
  color: #16a34a;
}

.lose {
  color: #dc2626;
}

.summary {
  color: #475569;
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
.top-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #800020;
  color: white;
  padding: 12px 16px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

footer {
  background: white;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  padding: 34px 22px;
}

.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-logo {
  font-size: 22px;
  font-weight: bold;
  color: #800020;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
}

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

.copyright {
  max-width: 1220px;
  margin: 20px auto 0;
  font-size: 13px;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .header-inner {
    justify-content: center;
  }
  .info-table th {
  width: 120px;
}
  .news-item {
  grid-template-columns: 1fr;
  gap: 8px;
}

.news-category {
  width: fit-content;
}

  .right-menu {
    justify-content: center;
  }

  .menu {
    justify-content: center;
    gap: 12px;
  }

  .contact-menu {
    display: none;
  }

  .menu a {
    font-size: 13px;
  }

  .sns img {
    width: 24px;
    height: 24px;
  }

  .hero {
    min-height: 560px;
  }

  .hero h2 {
    font-size: 42px;
  }

  .section-head,
  .about-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .philosophy-grid,
  .contents-scroll {
    grid-template-columns: 1fr;
  }

  .philosophy-card h3 {
    white-space: normal;
    font-size: 20px;
  }

  .message-box,
  .contact {
    padding: 30px;
  }

  .page-hero h2 {
    font-size: 30px;
  }

  .player-photo {
    height: 280px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

 .copyright {
  text-align: center;
}

}  /* ← ここで @media を閉じる */

.page-hero {
  background: #800020;
  color: white;
  padding: 90px 20px;
}

.page-hero p,
.page-hero h2 {
  color: white;
}
.results-page .page-hero {
  background: #800020 !important;
  color: white !important;
  padding: 90px 20px;
}

.results-page .page-hero p {
  color: #f3d6dc !important;
}

.results-page .page-hero h2 {
  color: white !important;
}
.players-page .page-hero {
  background: #800020 !important;
  color: white !important;
  padding: 90px 20px;
}

.players-page .page-hero p {
  color: #f3d6dc !important;
}

.players-page .page-hero h2 {
  color: white !important;
}
@media (max-width: 600px) {
  .team-page table,
  .team-page tbody,
  .team-page tr,
  .team-page th,
  .team-page td {
    display: block;
    width: 100%;
  }

  .team-page tr {
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .team-page th {
    border-bottom: none;
    padding: 0 0 4px;
    color: #800020;
    font-size: 14px;
  }

  .team-page td {
    border-bottom: none;
    padding: 0;
    color: #0f172a;
  }
  @media (max-width: 768px) {
  .player-info {
    font-size: 12px;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .player-content {
    padding: 12px;
  }

  .player-name {
    font-size: 18px;
  }

  .number {
    font-size: 30px;
  }
}
  .history-item {
  border-left: 4px solid #800020;
  padding-left: 20px;
  margin-bottom: 24px;
}

.history-item strong {
  color: #800020;
  font-size: 18px;
}
}
