/* === ベース設定 === */
body {
  margin: 0;
  padding: 0;
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  background-color: #eaf2fb; /* 淡い青背景 */
}

/* === コンテンツ全体 === */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
}

/* === ヘッダー === */
.header {
  background-color: #ffffff;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #1e3a8a;
  border-bottom: 1px solid #ddd;
}

.header button {
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.header button:hover {
  background-color: #1d4ed8;
}

/* === タブメニュー === */
.tab-menu {
  display: flex;
  justify-content: space-around;
  background-color: #ffffff;
  border-bottom: 2px solid #ccc;
}

.tab-menu a {
  flex: 1;
  text-align: center;
  padding: 0.8rem;
  font-size: 1rem;
  text-decoration: none;
  color: #555;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.tab-menu a.active {
  color: #2563eb;
  border-bottom: 3px solid #2563eb;
  font-weight: bold;
}

/* === 募集カード === */
.recruit-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 1.2rem;
  margin-top: 1rem;
}

.recruit-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: #1e3a8a;
}

.recruit-card p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  color: #333;
}

/* === フッターナビゲーション === */
.footer-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ccc;
  z-index: 1000;
}

.footer-nav a {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: #888;
  text-decoration: none;
}

.footer-nav a.active {
  color: #2563eb;
  font-weight: bold;
}

/* === スマホ対応 === */
@media screen and (max-width: 480px) {
  .header {
    font-size: 1rem;
    padding: 0.8rem;
  }

  .header button {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .tab-menu a {
    font-size: 0.85rem;
    padding: 0.6rem;
  }

  .recruit-card {
    padding: 1rem;
  }

  .recruit-card h3 {
    font-size: 1rem;
  }

  .recruit-card p {
    font-size: 0.9rem;
  }

  .footer-nav a {
    font-size: 0.75rem;
    padding: 0.5rem 0;
  }
}

.card-link {
  text-decoration: none;
  color: inherit;
}