/* ==== 全体設定 ==== */
body {
  margin: 0;
  padding-top: 120px;
  /* 固定ヘッダー分の余白 */
  font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==== ヘッダー全体 ==== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #025738, #2ECC71, #025738);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: background 0.4s ease, padding 0.3s ease;
}



/* ==== 上段：ロゴ + SNS ==== */
.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 10px 24px;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

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

.sns-links a svg {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sns-links a svg:hover {
  transform: scale(1.2) rotate(8deg);
  opacity: 0.9;
}

/* ==== 下段：ナビゲーション ==== */
.header-bottom {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(90deg, #025738, #2ECC71, #025738);
  padding: 10px 40px;
}

.header-bottom ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-bottom ul li {
  position: relative;
  flex: 1;
  text-align: center;
}

.header-bottom ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.4s ease;
}

.header-bottom ul li:hover::after {
  background: linear-gradient(180deg, #2ECC71, #a8e063);
}

.header-bottom ul li a {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: opacity 0.3s ease;
}


.nav-icon {
  width: 20px;
  /* ←ちょうど良い大きさ */
  height: auto;
  margin-left: 6px;
  /* 文字との隙間 */
  vertical-align: middle;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.header-bottom ul li a:hover .nav-icon {
  transform: scale(1.15);
  opacity: 1;
}

.header-bottom ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #fff;
  transition: width 0.3s ease, background 0.3s ease;
}

.header-bottom ul li a:hover::after {
  width: 100%;
  background: linear-gradient(90deg, #00ff8c, #ffffff);
}

/* ==== フルスクリーン画像セクション ==== */
.visual {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==== 挨拶・動画セクション（2カラムコンパクト） ==== */
.greeting-columns-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  gap: 40px;
  flex-wrap: wrap;
}

.greeting-left,
.greeting-right {
  flex: 1;
  min-width: 300px;
  position: relative;
  z-index: 2;
}

.greeting-left h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #025738;
  animation: fadeInUp 1s ease forwards;
}

.greeting-left p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #333;
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.3s;
}

.btn-primary {
  display: inline-block;
  padding: 16px 36px;
  background: linear-gradient(90deg, #2ECC71, #00FF8C);
  color: #fff;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.4s ease forwards;
  animation-delay: 0.6s;
}

.btn-primary:hover {
  background-color: #27ae60;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.greeting-right {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 1s ease forwards;
}

.greeting-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 20s ease-in-out;
  animation: zoomVideo 20s infinite alternate;
}

.greeting-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 16px;
}

/* ==== クラブロゴ + 10周年文字 横並び ==== */
.greeting-header {
  display: flex;
  align-items: center;
  gap: 12px;
  /* ロゴと文字の間隔 */
  margin-bottom: 20px;
}

.greeting-logo {
  width: 80px;
  height: auto;
  transition: transform 0.3s ease;
}

.greeting-logo:hover {
  transform: scale(1.05);
}

.greeting-anniversary {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  line-height: 1.2;
  transition: transform 0.3s ease;
}

.greeting-anniversary:hover {
  transform: scale(1.05);
}

/* ==== アニメーション ==== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes zoomVideo {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

/* ==== アニメーション ==== */


/* ===== ジュニアユース セクション（白背景版） ===== */
.junior-youth {
  background: #f8f9fa;
  padding: 100px 20px;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  color: #333;
}

.junior-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.junior-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #025738;
  margin-bottom: 12px;
}

.junior-header p {
  font-size: 1.2rem;
  margin-bottom: 60px;
  color: #555;
  line-height: 1.8;
}

/* ==== 情報ボックス ==== */
.junior-info {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
  flex-wrap: wrap;
}

.label {
  font-weight: 700;
  color: #025738;
  width: 25%;
  min-width: 100px;
}

.value {
  width: 70%;
  line-height: 1.7;
  color: #333;
}

/* ✅ 追加：画像を情報ボックス内におしゃれに配置 */
.info-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.info-images img {
  width: 48%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.info-images img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* ボタン */
.btn-selection {
  display: inline-block;
  background: linear-gradient(90deg, #2ECC71, #00FF8C);
  color: #fff;
  padding: 18px 50px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-selection:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(46, 204, 113, 0.4);
}


/* ====== スクール 背景 ====== */
.junior-u12 {
  position: relative;
  background: linear-gradient(135deg, #014421, #026738);
  /* 濃い緑 → 深緑 */
  color: #fff;
  padding: 120px 20px;
  text-align: center;
  overflow: hidden;
}

.junior-u12 .junior-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.junior-u12 .junior-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.junior-u12 .junior-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.junior-u12 .junior-content p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* ====== 情報ボックス ====== */
.junior-u12 .junior-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.junior-u12 .info-item {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  flex: 1 1 280px;
  padding: 20px;
  text-align: left;
}

.junior-u12 .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #025738;
}

.junior-u12 .info-item ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6;
}

.junior-u12 .cta-item {
  flex-basis: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.junior-u12 .btn-cta {
  display: inline-block;
  padding: 16px 36px;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #2ECC71, #00FF8C);
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.junior-u12 .btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* ====== レスポンシブ ====== */
@media (max-width: 1024px) {
  .junior-u12 .junior-content h2 {
    font-size: 2.5rem;
  }

  .junior-u12 .junior-content p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .junior-u12 .junior-content h2 {
    font-size: 2rem;
  }

  .junior-u12 .junior-content p {
    font-size: 1rem;
  }

  .junior-u12 .info-item {
    flex: 1 1 100%;
  }
}




/* スマホ対応 */
@media (max-width: 768px) {
  .info-images img {
    width: 100%;
  }

  .junior-header h2 {
    font-size: 2rem;
  }

  .btn-selection {
    padding: 14px 36px;
    font-size: 1rem;
  }
}

/* ===== ジュニアユース動画セクション ===== */
.junior-video-section {
  position: relative;
  width: 100%;
  height: 70vh;
  background: linear-gradient(135deg, #001a0f, #003b1a, #004d26);
  /* 深緑グラデーション: 黒に近い緑 → 鮮やかな深緑 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 動画コンテナ */
.video-container {
  position: relative;
  z-index: 2;
  width: 60%;
  max-width: 700px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
}

.video-container:hover {
  transform: scale(1.03);
}

/* 動画本体 */
.junior-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .junior-video-section {
    height: 55vh;
  }

  .video-container {
    width: 85%;
  }
}

.junior-section {
  padding: 60px 20px;
}

.junior-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.junior-description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #555;
}

.junior-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* 各スクール項目の横3カラム */
.junior-item {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  /* 左画像：中央テキスト：右動画 */
  gap: 20px;
  align-items: center;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 画像 */
.item-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* テキスト */
.item-text h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.item-text ul {
  padding-left: 20px;
}

.item-text li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* 動画 */
.item-video iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
}

/* CTA */
.btn-cta {
  display: inline-block;
  margin: 50px auto 0;
  padding: 14px 30px;
  background: #27ae60;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.3s;
}

.cta-item {
  text-align: center;
  margin-top: 40px;
}

.btn-cta {
  display: inline-block;
  margin: 0 auto;
}

.btn-cta:hover {
  background: #1f8f50;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .junior-item {
    grid-template-columns: 1fr;
    /* 1列に */
  }

  .item-video iframe,
  .item-img img {
    height: 180px;
  }
}

.timeline-section {
  padding: 40px 20px;
  background: #f8f8f8;
}

.timeline-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 4px;
  height: 100%;
  background: #27ae60;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 20px 20px 20px 60px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 8px;
  top: 25px;
  width: 16px;
  height: 16px;
  background: #27ae60;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #27ae60;
}

.timeline-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #27ae60;
}

.timeline-content p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

/* スマホ調整 */
@media (max-width: 600px) {
  .timeline-item {
    padding-left: 50px;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-dot {
    left: 0px;
  }
}

.match-schedule {
  padding: 80px 10%;
  background: linear-gradient(135deg, #021f11, #064d2f);
  color: #fff;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}

.match-schedule h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 60px;
  border-bottom: 3px solid #3cd070;
  display: inline-block;
  padding-bottom: 10px;
  letter-spacing: 2px;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.match-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-left: 4px solid #3cd070;
  border-radius: 10px;
  padding: 20px 30px;
  transition: all 0.3s ease;
}

.match-item:hover {
  background: rgba(60,208,112,0.12);
  transform: translateY(-2px);
}

.match-left {
  width: 35%;
}

.match-date {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
}

.match-league {
  font-size: 0.95rem;
  color: #9ce8b0;
}

.match-right {
  width: 65%;
  text-align: right;
}

.match-teams {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 600;
}

.score {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.score.win {
  color: #3cd070;
}

.score.lose {
  color: #ff6b6b;
}

.match-meta {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #ccc;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.match-status {
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.upcoming {
  border-left: 4px solid #ffc107;
  opacity: 0.9;
}

.upcoming .match-status {
  background: rgba(255,193,7,0.25);
  color: #ffd970;
}

.match-section {
  background: #f8f9fa;
  color: #333;
  padding: 80px 10%;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}

.match-section h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: #025738;
  border-bottom: 3px solid #3cd070;
  display: inline-block;
  padding-bottom: 10px;
  letter-spacing: 2px;
}

/* カードレイアウト */
.match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

/* カード全体 */
.match-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 28px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.match-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ロゴ画像 */
.match-logo {
  width: 70px;
  height: auto;
  margin-bottom: 12px;
}

/* 日付・大会名など */
.match-date {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #025738;
}

.match-league {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 16px;
}

/* チーム表示 */
.match-teams {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.score {
  font-size: 1.6rem;
  font-weight: 800;
  color: #333;
}

.score.win {
  color: #2ecc71;
}

.score.lose {
  color: #e74c3c;
}

.match-place {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 8px;
}

.match-status {
  font-size: 0.9rem;
  background: #025738;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 4px;
}

/* 状態別装飾 */
.match-card.upcoming .match-status {
  background: #f1c40f;
  color: #333;
}

.match-card.finished .match-status {
  background: #25a55f;
}


.news-section {
  background: #f9f9f9;
  padding: 80px 0;
  font-family: "Noto Sans JP", sans-serif;
}

.news-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}

.news-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #002a12;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 2px;
  position: relative;
}

.news-title span {
  display: block;
  font-size: 1rem;
  color: #00834e;
  margin-top: 6px;
  font-weight: 500;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border-left: 5px solid #00834e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 18px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.news-date {
  font-size: 0.9rem;
  color: #666;
  width: 90px;
  flex-shrink: 0;
}

.news-category {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  color: #fff;
  margin-right: 15px;
  flex-shrink: 0;
}

.category-info {
  background: #009688;
}

.category-event {
  background: #ff9800;
}

.category-match {
  background: #3f51b5;
}

.news-headline {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
  line-height: 1.5;
}

.news-more {
  text-align: center;
  margin-top: 40px;
}

.news-more-btn {
  display: inline-block;
  background: #00834e;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-more-btn:hover {
  background: #00b362;
  transform: translateY(-2px);
}


.achievements-section {
  padding: 40px 20px;
}

.achievements-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.achievements-item {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.achievements-item img {
  width: 85%;
  /* ← 大きめに */
  max-width: 380px;
  /* ← 大きい画像でもOK */
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.achievements-item img:hover {
  transform: scale(1.05);
}

/* ==== モーダル（画像拡大表示） ==== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal:target {
  display: flex;
}

.modal-bg {
  position: absolute;
  inset: 0;
}

.modal-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  animation: fadeIn 0.25s ease;
}

/* オープン時ふわっと表示 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* スマホ縦1列 */
@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: 1fr;
  }
}



.sponsor-section {
  background: #f8f9fa;
  padding: 80px 8vw;
  /* ← 横に余白をしっかり確保 */
  text-align: center;
}

.sponsor-category {
  margin-bottom: 80px;
}

.sponsor-category h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0a3d2e;
  margin-bottom: 40px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.sponsor-category h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1d5c43, #58a676);
  margin: 10px auto 0;
  border-radius: 2px;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px 80px;
  /* ← 横方向にさらにゆとりを持たせる */
  max-width: 1200px;
  /* ← ロゴ群の最大幅を制限して中央寄せ */
  margin: 0 auto;
}

.sponsor-logos.large img {
  width: 320px;
  height: auto;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.2));
}

.sponsor-logos.medium img {
  width: 240px;
  height: auto;
  filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.15));
}

.sponsor-logos.small img {
  width: 170px;
  height: auto;
  filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sponsor-logos img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.app-footer {
  background: #000;
  color: #fff;
  padding: 60px 5% 40px;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

.app-footer__logo {
  margin-bottom: 40px;
}

.app-footer__logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.app-footer__emblem,
.footer-logo {
  height: 80px;
  /* ロゴの高さ */
  width: auto;
  margin-bottom: 10px;
  object-fit: contain;
  /* 画像比率維持 */
}

.app-footer__logotype {
  font-size: 1.2rem;
  letter-spacing: 2px;
  font-weight: 700;
}

/* フッター内列 */
.app-footer__menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #00b894;
}


/* --- 画像バナー全体 --- */
.footer-banners {
  width: 100%;
  display: flex;
  justify-content: center;
  /* ← 横中央に配置 */
  align-items: center;
  margin: 40px auto 20px;
}

/* 中身2カラムを完全中央にするための内側コンテナ */
.footer-banners-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

  /* 真ん中に固定 */
  justify-items: center;
  align-items: center;

  /* 幅を広げすぎない */
  max-width: 700px;
  width: 100%;
}

/* --- カード枠 --- */
.footer-banners a {
  width: 100%;
  max-width: 260px;
  /* ← カードの幅を一定に */
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid rgba(0, 128, 64, 0.4);
  aspect-ratio: 16 / 10;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 画像 */
.footer-banner-img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

/* ホバー効果 */
.footer-banners a:hover {
  transform: scale(1.05);
  border-color: #2ecc71;
  box-shadow: 0 8px 16px rgba(0, 128, 64, 0.25);
}

/* スマホ対応 */
@media (max-width: 600px) {
  .footer-banners-inner {
    grid-template-columns: 1fr;
  }
}

/* フッター下部 */
.footer-bottom {
  margin-top: 20px;
  border-top: 1px solid #333;
  padding-top: 20px;
}

.footer-bottom p {
  color: #777;
  font-size: 0.8rem;
  margin-top: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .app-footer__menu {
    flex-direction: column;
    gap: 20px;
  }

  .app-footer__emblem,
  .footer-logo {
    height: 60px;
  }

  .app-footer__logotype {
    font-size: 1rem;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .match-section {
    padding: 60px 5%;
  }

  .match-section h2 {
    font-size: 2rem;
  }

  .match-teams {
    font-size: 1.1rem;
  }

  .score {
    font-size: 1.4rem;
  }
}

/* ==== レスポンシブ ==== */
@media (max-width: 1024px) {
  .greeting-columns-compact {
    flex-direction: column;
    margin: 60px 20px;
    gap: 30px;
  }

  .greeting-left h2 {
    font-size: 1.8rem;
  }

  .greeting-left p {
    font-size: 1rem;
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .header-bottom ul {
    display: none;
  }

  .logo {
    font-size: 1.4rem;
  }

  .sns-links a svg {
    width: 26px;
    height: 26px;
  }

  .greeting-left h2 {
    font-size: 1.6rem;
  }

  .greeting-left p {
    font-size: 0.95rem;
  }
}

