/* =============================
   Global Colors & Variables
================================ */
:root {
  --bg: #050814;
  --bg-alt: #0c111f;
  --accent: #39b3ff;
  --accent-soft: rgba(57,179,255,0.15);
  --text-main: #f4f7fc;
  --text-muted: #b8c0d7;
  --border-soft: #1c2435;
  --max-width: 1040px;
}

/* =============================
   Reset & Base
================================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "ヒラギノ角ゴ ProN", "Yu Gothic", "Meiryo", sans-serif;
  background: radial-gradient(circle at top, #111a2f 0, #050814 55%, #020309 100%);
  color: var(--text-main);
  line-height: 1.8;
}

/* =============================
   Header Navigation
================================ */
header {
  border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(to right, rgba(3,10,25,0.9), rgba(7,16,35,0.9));
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.nav-title {
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 18px;
}

.nav-links a:hover {
  color: var(--accent);
}

/* =============================
   Main
================================ */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 16px 80px;
}

/* =============================
   Hero Section
================================ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 24px;
  padding: 32px 20px;
  margin: 16px 0 32px;
  border-radius: 26px;
  background: radial-gradient(circle at top left, rgba(57,179,255,0.16), transparent 55%),
              radial-gradient(circle at bottom right, rgba(85,63,255,0.22), transparent 55%),
              linear-gradient(135deg, #060919, #050814);
  border: 1px solid rgba(100,130,255,0.3);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

/* === K Program Badge === */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(210, 215, 230, 0.9);
  font-size: 0.85rem;
  color: #1f2937;
  margin-bottom: 18px;
}

a.hero-badge {
  text-decoration: none;
}

a.hero-badge:hover {
  opacity: 0.9;
}

.badge-logo {
  height: 40px;
  width: auto;
}

.hero-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.hero-badge-text span {
  font-size: 0.8rem;
  color: #4b5563;
}

/* === Hero text === */
.hero-title {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.3;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-highlight {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e5e7eb;
  background: none;
  border: none;
  padding: 0;
}

.hero-list {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.2em;
}

/* === Hero Visual === */
.hero-visual {
  margin-top: 32px;
  text-align: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-caption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #6b7280;
}

/* =============================
   Generic Sections
================================ */
section {
  margin-bottom: 40px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(5, 9, 24, 0.9);
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}

section:nth-of-type(even) {
  background: rgba(7, 12, 28, 0.92);
}

h2 {
  font-size: 1.3rem;
  margin: 0 0 10px;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

p {
  margin: 6px 0 10px;
  font-size: 0.95rem;
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tagline {
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.last-updated-wrap {
  margin-top: 4px;
}

/* =============================
   News Page
================================ */
.news-section {
  padding: 20px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
  margin-top: 20px;
}

.news-card {
  background: rgba(6, 10, 30, 0.95);
  border: 1px solid rgba(55, 92, 190, 0.7);
  padding: 10px;
  border-radius: 12px;
}

.news-card img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.news-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* =============================
   Footer
================================ */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 18px 16px 30px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #040713;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* =============================
   Responsive
================================ */
@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 16px;
  }
  .hero-visual {
    order: -1;
  }
  .nav-links {
    display: none;
  }
}

.member-list {
  list-style: none;
  padding-left: 0;
}

.member-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* === Image Card (inline figure) === */
.image-card {
  margin: 32px auto;
  text-align: center;
}

.image-card img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.image-caption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
