/* ============================
   ノースリーブス 共通スタイル
   ============================ */

:root {
  --primary: #0d1117;
  --accent: #e63946;
  --accent2: #f4a261;
  --navy: #1d2d50;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --border: #dee2e6;
  --shadow: 0 4px 20px rgba(0,0,0,0.15);
  --radius: 12px;
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-ja);
  background: var(--light);
  color: var(--primary);
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover { opacity: 0.75; }

img { max-width: 100%; }

/* ============================
   ヘッダー & ナビ
   ============================ */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.logo .shuttle {
  background: white;
  border-radius: 7px;
  padding: 3px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo .shuttle img {
  height: 30px;
  width: 63px !important;
  max-width: none !important;
  object-fit: contain;
  display: block;
}
.logo .team-name { color: var(--accent); }

nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  background: var(--accent);
  color: var(--white);
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================
   フッター
   ============================ */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 40px 24px;
  margin-top: 80px;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

footer .footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

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

footer p { font-size: 0.8rem; }

/* ============================
   セクション共通
   ============================ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 6px;
}

.section-sub {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

/* ============================
   カード共通
   ============================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ============================
   ボタン
   ============================ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: #c62a36;
  opacity: 1;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  opacity: 1;
}

/* ============================
   バッジ
   ============================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-red { background: var(--accent); color: white; }
.badge-orange { background: var(--accent2); color: white; }
.badge-navy { background: var(--navy); color: white; }
.badge-gray { background: var(--border); color: var(--gray); }

/* ============================
   レスポンシブ
   ============================ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-inner { padding: 0 16px; }
  nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--primary); padding: 16px; gap: 4px; }
  nav.open { display: flex; }
  .hamburger { display: flex; }
  .section { padding: 40px 16px; }
  .section-title { font-size: 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
