/* ==========================================================================
   福江サッカー・スポーツ少年団 (FSSS) 公式ホームページ スタイルシート
   モバイルファースト・レスポンシブデザイン
   ========================================================================== */

:root {
  --fsss-yellow: #fde000;
  --fsss-yellow-light: #fffbe0;
  --fsss-navy: #000b8c;
  --fsss-navy-dark: #000654;
  --fsss-gold: #b8a325;
  --fsss-gold-dark: #8c7b18;
  --fsss-text: #1f2430;
  --fsss-muted: #5a6275;
  --fsss-bg: #ffffff;
  --fsss-surface: #f8f9fc;
  --fsss-border: #e2e6ef;
  --fsss-danger: #d93025;
  --fsss-success: #188038;
  --max-width: 980px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 11, 140, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 11, 140, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", "Noto Sans JP", sans-serif;
  color: var(--fsss-text);
  background-color: var(--fsss-bg);
  line-height: 1.75;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--fsss-navy);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.85;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--fsss-navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 8px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--fsss-yellow);
  border-bottom: 4px solid var(--fsss-yellow);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111;
  text-decoration: none;
}

.brand-title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  margin: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: contain;
}

/* Mobile Hamburger Button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: var(--fsss-navy);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Navigation Bar */
.site-nav {
  background-color: var(--fsss-navy);
  display: none;
}

.site-nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-link {
  display: block;
  color: #ffffff;
  padding: 13px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.05em;
}

.nav-link:hover,
.nav-link.is-active {
  background-color: var(--fsss-gold);
  color: #111;
  opacity: 1;
}

@media (min-width: 768px) {
  .header-top {
    justify-content: center;
    padding: 16px 20px;
    gap: 24px;
  }

  .brand-title {
    font-size: 1.75rem;
  }

  .brand-logo {
    width: 68px;
    height: 68px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: block !important;
  }

  .nav-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 780px;
  }

  .nav-item {
    border-bottom: none;
  }

  .nav-link {
    padding: 10px 8px;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Section Headings (Matching Original Wix Emblem + Serif Header Style)
   ========================================================================== */
.section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--fsss-gold-dark);
  margin-bottom: 28px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-header-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.section-header-text {
  text-align: center;
}

.section-en {
  display: block;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #111;
  line-height: 1.2;
}

.section-ja {
  display: block;
  font-size: 0.9rem;
  color: var(--fsss-muted);
  margin-top: 2px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .section {
    padding: 52px 0;
  }

  .section-en {
    font-size: 1.55rem;
  }
}

/* ==========================================================================
   Hero Slider (Home Page)
   ========================================================================== */
.hero-section {
  padding: 20px 0 12px;
}

.hero-slider {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-md);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.hero-btn {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.hero-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ==========================================================================
   Information List (Home Page Top 5 News)
   ========================================================================== */
.info-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 680px;
}

.info-item {
  border-bottom: 1px solid var(--fsss-border);
}

.info-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 8px;
  color: var(--fsss-text);
  transition: background-color 0.15s ease;
}

.info-link:hover {
  background-color: var(--fsss-yellow-light);
  opacity: 1;
}

.info-date {
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
  min-width: 130px;
}

.info-title {
  font-size: 0.98rem;
  color: var(--fsss-text);
}

.info-more-wrap {
  text-align: center;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-primary {
  background-color: var(--fsss-navy);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--fsss-navy-dark);
  color: #fff;
  opacity: 1;
}

.btn-outline {
  background-color: #fff;
  color: var(--fsss-navy);
  border: 2px solid var(--fsss-navy);
}

@media (min-width: 640px) {
  .info-link {
    flex-direction: row;
    align-items: baseline;
    gap: 24px;
  }
}

/* ==========================================================================
   Instagram Gallery Section
   ========================================================================== */
.ig-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ig-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--fsss-border);
  box-shadow: var(--shadow-sm);
  color: #111;
  font-weight: 700;
}

.ig-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.ig-handle {
  color: var(--fsss-muted);
  font-weight: 500;
}

.ig-embed-container {
  max-width: 680px;
  margin: 0 auto 20px;
}

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

.ig-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eee;
  box-shadow: var(--shadow-sm);
}

.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ig-card:hover img {
  transform: scale(1.04);
}

.ig-card-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
  font-size: 0.75rem;
  padding: 20px 8px 8px;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

/* ==========================================================================
   Sponsors Section
   ========================================================================== */
.sponsor-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 620px;
  margin: 0 auto 24px;
}

.sponsor-item {
  display: block;
  background: #fff;
  border: 1px solid var(--fsss-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

.sponsor-item img {
  width: 100%;
  height: auto;
}

.sponsor-recruit-box {
  max-width: 620px;
  margin: 0 auto;
  background-color: var(--fsss-gold);
  color: #111;
  text-align: center;
  padding: 22px 16px;
  border-radius: var(--radius-sm);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
}

.sponsor-recruit-box p {
  margin: 6px 0;
  font-size: 1rem;
}

.sponsor-recruit-box .sponsor-fee {
  font-size: 0.92rem;
  margin-top: 10px;
}

/* ==========================================================================
   Contact Section (Yellow Full-Width Band Matching Original Site)
   ========================================================================== */
.contact-band {
  background-color: var(--fsss-yellow);
  padding: 36px 16px 48px;
  margin-top: 16px;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form-frame {
  width: 100%;
  height: 1080px;
  min-height: 640px;
  border: none;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .contact-form-frame {
    height: 1200px;
  }
}

.contact-placeholder-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.contact-form-mock {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 560px) {
  .contact-row-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.btn-submit-dark {
  width: 100%;
  background: #111;
  color: #fff;
  padding: 13px;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
}

.btn-submit-dark:hover {
  background: #2b2b2b;
}

.contact-direct-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #ccc;
  font-size: 0.9rem;
  color: #333;
  text-align: center;
}

/* ==========================================================================
   Team Profile Page (team.html)
   ========================================================================== */
.team-emblem-box {
  text-align: center;
  margin: 24px auto 36px;
}

.team-emblem-img {
  width: 220px;
  height: 220px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.team-org-sub {
  font-size: 0.95rem;
  margin: 0;
  color: #333;
}

.team-org-main {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 4px 0 0;
}

.purpose-text {
  text-align: center;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 2.1;
  max-width: 680px;
  margin: 0 auto;
}

.policy-list {
  max-width: 680px;
  margin: 0 auto;
  padding-left: 24px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  line-height: 2;
}

.policy-list li {
  margin-bottom: 12px;
}

.map-wrapper {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--fsss-border);
  aspect-ratio: 16 / 10;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.schedule-box,
.fee-box {
  max-width: 680px;
  margin: 0 auto;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
}

.schedule-list {
  padding-left: 22px;
  line-height: 2;
}

/* 活動日時：パソコンは3列で揃え、スマホは縦に積む（全角スペースでの位置合わせは使わない） */
.schedule-list li {
  margin-bottom: 6px;
}

.schedule-list .sch-day {
  display: inline-block;
  min-width: 9em;
}

.schedule-list .sch-time {
  display: inline-block;
  min-width: 11em;
}

.schedule-list .sch-place {
  display: inline-block;
}

@media (max-width: 600px) {
  .schedule-list li {
    line-height: 1.7;
    margin-bottom: 12px;
  }

  .schedule-list .sch-day {
    display: block;
    min-width: 0;
    font-weight: 700;
  }

  .schedule-list .sch-time,
  .schedule-list .sch-place {
    display: block;
    min-width: 0;
  }
}

.schedule-notes {
  margin-top: 16px;
  padding-left: 12px;
  font-size: 0.92rem;
  color: #333;
  line-height: 1.9;
}

.fee-list {
  padding-left: 22px;
  line-height: 2.1;
}

/* ==========================================================================
   Coach Page (coach.html)
   ========================================================================== */
.coach-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 620px;
  margin: 0 auto;
}

.coach-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--fsss-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.coach-photo {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

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

.coach-name {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

@media (min-width: 580px) {
  .coach-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
    padding: 24px;
  }

  .coach-info {
    text-align: left;
    padding-top: 8px;
  }
}

/* ==========================================================================
   Join Page (join.html)
   ========================================================================== */
.join-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
  align-items: start;
}

.join-flyer-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--fsss-border);
}

.join-text-wrap h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.45rem;
  margin-top: 0;
  margin-bottom: 18px;
}

.join-text-wrap p {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.02rem;
  line-height: 2.1;
  margin-bottom: 16px;
}

.join-contact-box {
  margin-top: 24px;
  padding: 20px;
  background: var(--fsss-yellow-light);
  border: 2px solid var(--fsss-yellow);
  border-radius: var(--radius-md);
}

@media (min-width: 720px) {
  .join-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
  }
}

/* ==========================================================================
   News List & Detail (news.html / news-detail.html)
   ========================================================================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.news-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--fsss-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #f0f2f7;
}

.news-card-body {
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: 0.85rem;
  color: var(--fsss-muted);
  margin-bottom: 6px;
}

.news-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.45;
}

.news-card-title a {
  color: var(--fsss-text);
}

.news-card-excerpt {
  font-size: 0.92rem;
  color: #444;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
}

.news-read-more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fsss-navy);
}

@media (min-width: 620px) {
  .news-card {
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 20px;
  }

  .news-card-thumb {
    aspect-ratio: 1 / 1;
    height: 220px;
  }
}

/* News Detail */
.article-detail {
  max-width: 680px;
  margin: 0 auto;
  padding: 12px 0 40px;
}

.article-back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--fsss-navy);
}

.article-date {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 6px;
}

.article-title {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--fsss-gold);
}

.article-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 24px;
}

.article-gallery img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.article-body {
  font-size: 1rem;
  line-height: 1.9;
  color: #222;
}

.article-body p {
  margin: 0 0 1.2em;
}

.article-body h2,
.article-body h3 {
  margin: 1.5em 0 0.6em;
  border-left: 4px solid var(--fsss-navy);
  padding-left: 10px;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--fsss-border);
  gap: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
}

.footer-bar {
  background-color: var(--fsss-gold);
  color: #222;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-bottom {
  background-color: var(--fsss-yellow);
  height: 36px;
}
