/*
Theme Name: Komoro Sports Association
Theme URI: https://www.komoro-sports.com/
Author: CTK
Version: 1.0
*/

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: #222;
  background: #fff;
}

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

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

/* =========================
   Variables
========================= */
:root {
  --container: 1100px;
  --accent: #1b4fa3;
  --bg-light: #f5f7fa;
}

/* =========================
   Header
========================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo a {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
}

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

.hero-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.35);
}

.hero-text h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.3;
  text-align: center;
}

/* =========================
   Page Hero
========================= */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 280px;
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.4);
}

.page-title {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

/* =========================
   Content
========================= */
.page-content {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1.25rem;
}

.page-content h2 {
  margin-top: 3rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent);
  font-size: 1.6rem;
}

.page-content p {
  margin-top: 1rem;
}

/* =========================
   Sections
========================= */
.content-section {
  padding: 5rem 0;
}

.content-section.bg-light {
  background: var(--bg-light);
}

.content-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .content-grid.reverse {
    direction: rtl;
  }

  .content-grid.reverse > * {
    direction: ltr;
  }
}

/* =========================
   Cards
========================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.card__title {
  font-weight: 700;
}

.card__meta {
  display: block;
  margin-top: .5rem;
  font-size: .85rem;
  color: #666;
}

/* =========================
   Footer
========================= */
.site-footer {
  background: #111;
  color: #fff;
  padding: 2rem 1.25rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  font-size: .85rem;
}
/* =========================
   Global Navigation
========================= */
.global-nav {
  display: none;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
}

.nav-list a {
  font-size: .95rem;
  font-weight: 500;
}

/* PC表示 */
@media (min-width: 960px) {
  .global-nav {
    display: block;
  }
}

/* SP（今回は非表示、必要なら後でハンバーガー追加） */
