/* ========================================================
   湯河原ライフセービングクラブ - 共通スタイル
   Color tokens, typography, layout primitives, components
   ======================================================== */

:root {
  /* Brand colors */
  --navy: #0b2545;
  --navy-700: #143b6e;
  --navy-300: #6c8bb8;
  --red: #e30b1c;
  --red-700: #b8000e;
  --sky: #4ec3f7;
  --sky-200: #b9e6fb;
  --yellow: #ffd400;
  --yellow-200: #fff2a8;

  /* Neutrals (warm, slightly sandy) */
  --bg: #fbfaf6;
  --bg-2: #f3f1e9;
  --line: #e6e2d5;
  --ink: #1a2236;
  --ink-2: #4a5468;
  --muted: #7d8597;
  --white: #ffffff;

  /* Type */
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, -apple-system, sans-serif;
  --font-en: "Barlow", "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(11,37,69,.06), 0 2px 8px rgba(11,37,69,.04);
  --shadow-md: 0 6px 24px rgba(11,37,69,.08);

  /* Type scale */
  --fs-hero: clamp(2.4rem, 5vw, 4.2rem);
  --fs-h1: clamp(2rem, 3.6vw, 2.8rem);
  --fs-h2: clamp(1.6rem, 2.6vw, 2.1rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.0625rem; /* 17px */
  --fs-small: .9375rem;

  --header-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }

a { color: var(--navy-700); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
  margin: 0 0 .6em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-en);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow); }

section { padding-block: clamp(56px, 8vw, 104px); }
.section-bg-2 { background: var(--bg-2); }
.section-bg-navy {
  background: linear-gradient(180deg, #f6f8fb 0%, #eef1f6 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-bg-navy h2, .section-bg-navy h3 { color: var(--navy); }
.section-bg-navy .eyebrow { color: var(--red); }
.section-bg-navy .eyebrow::before { background: var(--red); }
.section-bg-navy p { color: var(--ink-2) !important; }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.25;
}
.brand-logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  display: block;
}
.brand-logo img,
.brand-logo svg {
  height: 100%;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .brand-text small { display: none; }
}
@media (max-width: 560px) {
  .brand-logo { height: 38px; }
  .brand-text { display: none; }
}
.brand small {
  display: block;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .15em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0; padding: 0;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-cta {
  white-space: nowrap;
  color: #fff !important;
  padding: 10px 20px;
  font-size: .85rem;
}
.nav a.is-active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
}
.nav-cta {
  margin-left: 8px;
}

/* Mobile nav */
.menu-toggle {
  display: none;
  background: none; border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  margin-left: auto;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy);
  margin: 6px auto;
  transition: transform .2s, opacity .2s;
}

@media (max-width: 1024px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    z-index: 99;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .3s ease, padding .3s ease, visibility .3s;
    margin: 0;
    display: block;
  }
  .nav.is-open {
    max-height: 480px;
    padding: 16px 24px 24px;
    visibility: visible;
  }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 8px 0 0; width: 100%; text-align: center; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 16px rgba(227,11,28,.25);
}
.btn-primary:hover { background: var(--red-700); color:#fff; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--navy);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--red); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

.arrow::after {
  content: "→";
  font-family: var(--font-en);
  transition: transform .2s;
}
.arrow:hover::after { transform: translateX(3px); }

/* ========== Placeholder image system ==========
   <div class="ph" data-ph="hero" data-ph-label="吉浜海水浴場ヒーロー写真"></div>
   Replace by setting background-image or wrapping a real <img>.
*/
.ph {
  position: relative;
  width: 100%;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(11,37,69,.04) 0 12px,
      rgba(11,37,69,.08) 12px 24px
    ),
    linear-gradient(135deg, var(--sky-200), var(--bg-2));
  border: 1px dashed rgba(11,37,69,.18);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ph::after {
  content: attr(data-ph-label);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: 8px 14px;
  background: rgba(255,255,255,.8);
  border-radius: 4px;
  color: var(--ink-2);
  max-width: 80%;
}
.ph[data-ph="hero"] { aspect-ratio: 16 / 9; }
.ph[data-ph="square"] { aspect-ratio: 1 / 1; }
.ph[data-ph="portrait"] { aspect-ratio: 3 / 4; }
.ph[data-ph="wide"] { aspect-ratio: 21 / 9; }
.ph[data-ph="card"] { aspect-ratio: 1 / 1; }

/* ========== Cards ========== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky);
}
.card-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 画像ラッパー共通：アスペクト比はラッパー側で指定し、img は内部を埋める */
.ylsc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-body { padding: 20px 22px 22px; }
.card-meta {
  display: flex; gap: 12px; align-items: center;
  font-size: .8rem; color: var(--muted);
  margin-bottom: 8px;
  font-family: var(--font-en);
  letter-spacing: .05em;
}
.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sky-200);
  color: var(--navy);
}
.tag-red { background: #ffe2e5; color: var(--red-700); }
.tag-yellow { background: var(--yellow-200); color: #6b5400; }
.tag-navy { background: var(--navy); color: #fff; }

/* ========== Footer ========== */
.site-footer {
  background: var(--navy);
  color: #c9d4e8;
  padding: 64px 0 28px;
  margin-top: 0;
}
.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.8fr 0.9fr;
  gap: 32px;
}
.site-footer a { color: #c9d4e8; }
.site-footer a:hover { color: var(--sky); }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer li { margin: 6px 0; font-size: .88rem; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  display:flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-brand-line {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
}
.footer-brand-line .brand-logo {
  height: 56px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.footer-brand-line strong { color: #fff; font-size: 1.05rem; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ========== Mobile fixed CTA ========== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(11,37,69,.08);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  z-index: 90;
}
.mobile-cta .btn { flex: 1; padding: 12px; font-size: .9rem; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ========== Utilities ========== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
/* ========== Team Grid ========== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

.text-center { text-align: center; }
.lead { font-size: 1.15rem; line-height: 1.85; color: var(--ink-2); }
.divider {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--sky) 66% 100%);
  border: 0;
  margin: 0;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: min(720px, 86vh);
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute; inset: 0; z-index: -2;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background:
    repeating-linear-gradient(135deg, rgba(78,195,247,.18) 0 16px, rgba(78,195,247,.32) 16px 32px),
    linear-gradient(135deg, var(--sky) 0%, var(--navy) 100%);
  display: flex; align-items: flex-start; justify-content: flex-end;
}
.hero-slide:nth-child(2) { background: linear-gradient(135deg, #1d6fa5 0%, #0b2545 100%); }
.hero-slide:nth-child(3) { background: linear-gradient(135deg, #4ec3f7 0%, #143b6e 100%); }
.hero-slide:nth-child(4) { background: linear-gradient(135deg, #7fb8d4 0%, #0b2545 100%); }
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,37,69,.55) 0%, rgba(11,37,69,.35) 50%, rgba(11,37,69,.7) 100%);
}
.hero-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 2;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.4);
  cursor: pointer; padding: 0;
  transition: background .2s, width .2s;
}
.hero-dot.is-active { background: var(--yellow); width: 28px; border-radius: 999px; }
.hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .02em;
}
.hero p.lead { color: rgba(255,255,255,.92); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-tagline {
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: .3em;
  font-size: .9rem;
  color: var(--yellow);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-tagline::before, .hero-tagline::after {
  content: ""; width: 32px; height: 2px; background: var(--yellow);
}

/* page hero (smaller, for sub-pages) */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: clamp(60px, 9vw, 110px) 0 clamp(48px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 360px at 85% -10%, rgba(78,195,247,.35), transparent 70%),
    radial-gradient(600px 240px at 0% 110%, rgba(227,11,28,.18), transparent 70%);
}
.page-hero > .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 680px; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero .eyebrow::before { background: var(--yellow); }

/* breadcrumbs */
.crumbs {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
  font-family: var(--font-en);
  letter-spacing: .08em;
}
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* notice bar (海況・お知らせ) */
.notice-bar {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 600;
  font-size: .92rem;
}
.notice-bar .container {
  display: flex; align-items: center; gap: 14px;
  padding-block: 10px;
  flex-wrap: wrap;
}
.notice-bar .label {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-en);
  font-size: .72rem;
  letter-spacing: .15em;
  padding: 3px 10px;
  border-radius: 4px;
}

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 0; }
.timeline .year {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--red);
  letter-spacing: .04em;
}
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
}

/* form */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.full { grid-template-columns: 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.field .req {
  color: var(--red);
  font-size: .8rem;
  margin-left: 4px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(78,195,247,.25);
}
.field textarea { min-height: 140px; resize: vertical; }
.help { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* radios */
.radio-group { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .radio-group { grid-template-columns: 1fr; } }
.radio-card {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  display: flex; align-items: flex-start; gap: 10px;
}
.radio-card:hover { border-color: var(--sky); }
.radio-card input { margin-top: 4px; }
.radio-card.is-active { border-color: var(--red); background: #fff5f6; }
.radio-card strong { color: var(--navy); display: block; }
.radio-card span { font-size: .85rem; color: var(--muted); }

/* sponsor row */
.sponsor-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .sponsor-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .sponsor-row { grid-template-columns: repeat(2, 1fr); } }
.sponsor-row .ph[data-ph="square"] {
  aspect-ratio: 3 / 2;
  background:
    linear-gradient(135deg, #fff, #f3f1e9);
}

/* feature/activity card */
.activity {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.activity:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.activity-body { padding: 22px 24px 26px; }
.activity-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .15em;
  color: var(--red);
  margin-bottom: 6px;
}
.activity h3 { margin-bottom: 8px; }

/* safety highlight */
.safety {
  background: linear-gradient(135deg, #f6f8fb 0%, #e9eef5 100%);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.safety::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(255,212,0,.22), transparent 60%),
    radial-gradient(420px 200px at 0% 100%, rgba(227,11,28,.10), transparent 60%);
  pointer-events: none;
}
.safety h3 { color: var(--navy); }
.safety .eyebrow { color: var(--red); }
.safety .eyebrow::before { background: var(--red); }
.safety > .container > p,
.safety > p { color: var(--ink-2); }
.safety .grid { position: relative; }
.safety-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
}
.safety-item h4 {
  color: var(--red);
  font-size: .95rem;
  margin: 0 0 6px;
  letter-spacing: .04em;
}
.safety-item p { margin: 0; font-size: .92rem; color: var(--ink-2); line-height: 1.7; }

/* article (blog post) */
.article-body {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--ink-2);
}
.article-body h2 { margin-top: 2em; font-size: 1.5rem; }
.article-body h3 { margin-top: 1.6em; font-size: 1.2rem; }
.article-body p { margin-bottom: 1.2em; }
.article-body blockquote {
  margin: 1.5em 0;
  padding: 16px 22px;
  border-left: 4px solid var(--sky);
  background: var(--bg-2);
  color: var(--ink);
  border-radius: 0 8px 8px 0;
}

/* filter chips */
.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-2);
  transition: all .15s;
}
.chip:hover { border-color: var(--sky); }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.tag-gray { background: #e6e2d5; color: var(--ink-2); }

/* 記事本文ページネーション */
.wp-pagenavi, .navigation.pagination {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 48px;
}
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 600; font-size: .9rem; color: var(--ink-2);
  transition: all .15s;
}
.page-numbers:hover { border-color: var(--sky); color: var(--navy); }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.page-numbers.dots { border: 0; min-width: auto; }

/* ========== Gallery ========== */
.gallery-grid {
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
}
.gallery-link {
  display: block;
  position: relative;
  overflow: hidden;
}
.gallery-link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-item:hover .gallery-link img {
  transform: scale(1.06);
}
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(11,37,69,.75));
  color: #fff;
  font-size: .82rem;
  padding: 24px 12px 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Sponsors ========== */
.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  padding: 12px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.sponsor-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--sky);
}
.sponsor-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.sponsor-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(20%);
  transition: filter .2s;
}
.sponsor-item:hover .sponsor-logo {
  filter: grayscale(0%);
}
.sponsor-name-only {
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.4;
}

/* スポンサー募集中プレースホルダー */
.sponsor-recruiting {
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--navy);
  opacity: .55;
  transition: opacity .2s;
}
.sponsor-item:hover .sponsor-recruiting {
  opacity: 1;
}
.sponsor-recruiting-label {
  display: block;
  font-family: var(--font-en);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--muted);
}
.sponsor-recruiting .sponsor-name-only {
  font-size: .85rem;
  color: var(--navy);
}

/* ========== Mobile adjustments ========== */
@media (max-width: 560px) {
  /* 文字サイズ縮小 */
  body { font-size: .875rem; }
  .lead { font-size: .95rem; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }

  /* ページヘッダー高さ縮小 */
  .page-hero { padding: 28px 0 22px; }

  /* セクション余白を少し詰める */
  section { padding-block: 40px; }

  /* ボタン */
  .btn { padding: 12px 20px; font-size: .875rem; }
}

/* Google Maps 埋め込み */
.map-embed {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
