/* =============================================
   ASPA OSAKA — Modern CSS
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ocean:      #0a4a6e;
  --ocean-mid:  #1a6fa0;
  --ocean-light:#e8f4f8;
  --gold:       #c8963e;
  --gold-light: #f5e9d0;
  --sand:       #f8f6f2;
  --text:       #1a1a1a;
  --text-mid:   #555;
  --text-light: #888;
  --white:      #fff;
  --radius:     6px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ocean);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  z-index: 999;
}
.skip-link:focus { left: 8px; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand img { height: 40px; width: auto; }

.global-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.global-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  color: var(--ocean);
  background: var(--ocean-light);
}

/* ハンバーガー */
.menu-button {
  display: none;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.menu-button .menu-label { display: none; }

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

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 6%;
  background: linear-gradient(90deg, rgba(10,74,110,.78) 0%, rgba(10,74,110,.4) 55%, transparent 100%);
}

.hero-kicker {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  max-width: 520px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 13px;
  color: rgba(255,255,255,.88);
  max-width: 400px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =============================================
   BUTTONS
   ============================================= */
.button {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}

.button:hover { opacity: .88; transform: translateY(-1px); }

.button-primary { background: var(--gold); color: var(--white); }

.button-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.75);
}

.button-secondary.dark {
  color: var(--ocean);
  border-color: var(--ocean);
}

/* =============================================
   STATS
   ============================================= */
.stats {
  background: var(--ocean);
  padding: 44px 20px;
}

.stats-inner {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,.18);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.02em;
}

.stat-unit {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.72);
  margin-top: 10px;
  letter-spacing: .04em;
}

/* =============================================
   SECTION HEADING
   ============================================= */
.section-heading {
  text-align: center;
  margin-bottom: 36px;
}

.section-heading p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-heading h2 {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--ocean);
  line-height: 1.5;
}

.section-heading.compact { margin-bottom: 20px; }
.section-heading.compact h2 { font-size: 17px; }

/* =============================================
   COUNTRIES / FLAGS
   ============================================= */
.countries {
  background: var(--ocean-light);
  padding: 52px 20px;
}

.flag-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 22px;
}

.flag-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform .2s;
}

.flag-grid a:hover { transform: translateY(-3px); }

.flag-grid img {
  width: 52px;
  height: auto;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.flag-grid span {
  font-size: 10px;
  color: var(--ocean);
  font-weight: 500;
  text-align: center;
}

/* =============================================
   INTRO CARDS
   ============================================= */
.intro-cards {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.intro-card {
  display: flex;
  gap: 0;
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}

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

.intro-card img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  flex-shrink: 0;
}

.intro-card > div {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.intro-card h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ocean);
  line-height: 1.4;
}

.intro-card p {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.7;
}

.intro-card a {
  font-size: 12px;
  font-weight: 700;
  color: var(--ocean-mid);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  transition: gap .2s;
}

.intro-card a::after { content: '→'; }
.intro-card a:hover { gap: 8px; }

/* Feature card（画像なし） */
.feature-card { flex-direction: column; }

.feature-mark {
  padding: 16px 20px 10px;
  font-size: 28px;
  font-weight: 900;
  color: rgba(255,255,255,.25);
  letter-spacing: -.02em;
  line-height: 1;
  background: var(--ocean);
}

.member-card .feature-mark { background: var(--gold); }

.feature-card > div { padding: 20px; }

/* =============================================
   NEWS AREA
   ============================================= */
.news-area {
  background: var(--sand);
  padding: 60px 20px;
}

.news-area > div {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

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

.news-list { border-top: 2px solid var(--ocean); }

.news-list li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  align-items: baseline;
}

.news-list time {
  color: var(--text-light);
  font-size: 11px;
  white-space: nowrap;
}

.news-list a {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  transition: color .2s;
}

.news-list a:hover { color: var(--ocean-mid); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ocean-mid);
  transition: gap .2s;
}

.text-link::after { content: '→'; }
.text-link:hover { gap: 8px; }

/* =============================================
   JOIN / CTA
   ============================================= */
.join-section {
  background: var(--ocean);
  padding: 64px 20px;
  text-align: center;
}

.join-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.join-inner h2 {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.join-inner p {
  font-size: 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.8;
}

.join-inner .hero-actions { justify-content: center; }

.join-inner .button-primary {
  background: var(--white);
  color: var(--ocean);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0d2a3a;
  color: rgba(255,255,255,.65);
  padding: 52px 20px 32px;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.footer-grid h2 {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.footer-grid li { font-size: 12px; line-height: 2.2; }

.footer-grid a { color: rgba(255,255,255,.6); transition: color .2s; }
.footer-grid a:hover { color: var(--white); }

.copyright {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 11px;
  text-align: center;
  color: rgba(255,255,255,.35);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
}

/* =============================================
   RESPONSIVE — 768px
   ============================================= */
@media (max-width: 768px) {
  .global-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 20px 20px;
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .global-nav.is-open { display: flex; }

  .global-nav a {
    width: 100%;
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
  }

  .menu-button { display: flex; }

  .hero-image { height: 300px; }

  .hero-content {
    background: linear-gradient(180deg, rgba(10,74,110,.7) 0%, rgba(10,74,110,.5) 100%);
    padding: 24px 20px;
  }

  .stats-inner { grid-template-columns: repeat(3, 1fr); }

  .intro-cards { grid-template-columns: 1fr; padding: 40px 16px; }

  .news-area > div { grid-template-columns: 1fr; gap: 40px; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   RESPONSIVE — 480px
   ============================================= */
@media (max-width: 480px) {
  .hero-image { height: 240px; }
  .hero-content h1 { font-size: 17px; }

  .stat-item { padding: 12px 8px; }
  .stat-num { font-size: 26px; }
  .stat-unit { font-size: 14px; }

  .intro-card { flex-direction: column; }
  .intro-card img { width: 100%; height: 160px; }
  .intro-card > div { padding: 16px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}
