
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Noto Sans JP", sans-serif; line-height: 1.7; color: #333; background: #fff; }
header { background: #1E3A8A; color: #fff; position: fixed; top: 0; width: 100%; z-index: 1000; }
header .header-inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }
header h1 { font-size: 1.2rem; }
nav { display: flex; flex-wrap: wrap; justify-content: center; background: #1E3A8A; }
nav a { color: #fff; padding: 10px 15px; text-decoration: none; }
nav a:hover, nav a.active { background: #334b9b; border-radius: 4px; }
.menu-toggle { display: none; font-size: 1.5rem; background: none; border: none; color: white; }
main { padding: 90px 20px 40px; max-width: 1000px; margin: auto; }
/*
.hero { text-align: center; padding: 40px 0; }
.hero h2 { font-size: 2rem; color: #1E3A8A; margin-bottom: 20px; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 20px; }
.card { border: 1px solid #ccc; border-radius: 8px; padding: 20px; background: #f9f9f9; transition: 0.3s; }
.card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
*/
footer { text-align: center; font-size: 0.9rem; background: #F3F4F6; padding: 20px; margin-top: 40px; }
.cta { text-align: center; margin-top: 40px; }
.btn { display: inline-block; padding: 10px 20px; background: #1E3A8A; color: #fff; border-radius: 4px; text-decoration: none; }
.btn:hover { background: #334b9b; }
.container {
      max-width: 800px;
      margin: 40px auto;
      padding: 0 20px;
}



/* ====== Hero ====== */
.hero {
  background: linear-gradient(rgba(10,37,64,0.7), rgba(10,37,64,0.7)), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 140px 20px 100px;
  margin-top: 58px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: #1e4b7a;
  color: #fff;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #16385b;
}

/* ====== セクション共通 ====== */
main section {
  margin: 80px 0;
  text-align: center;
}

h2 {
  font-size: 1.6rem;
  color: #000000;
  margin-bottom: 1.5rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #b8d2ec;
  margin: 10px auto 0;
}

p {
  font-size: 1rem;
  color: #000000;
}

/* ====== カード（事業紹介） ====== */
.cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  flex: 1;
  min-width: 260px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card h3 {
  color: #0a2540;
  margin-bottom: 0.8rem;
}

.card .btn {
  display: inline-block;
  margin-top: 1rem;
  background: #1e4b7a;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.card .btn:hover {
  background: #16385b;
}

/* ====== 代表メッセージ、採用、CTA ====== */
.message-preview, .recruit, .cta {
  background: #f2f5f9;
  border-radius: 10px;
  padding: 2rem;
}

.cta {
  background: #c4d6e9;
  color: #fff;
}

.cta .btn-primary {
  background: #fff;
  color: #0a2540;
}

.cta .btn-primary:hover {
  background: #e6e6e6;
}



@media (max-width: 768px) {
  nav { display: none; flex-direction: column; }
  nav.open { display: flex; }
  .menu-toggle { display: block; }
}





 .filter-buttons {
      margin-bottom: 20px;
    }
    .filter-buttons button {
      margin: 5px;
      padding: 8px 16px;
      border: none;
      border-radius: 20px;
      background: #eee;
      cursor: pointer;
      font-weight: bold;
    }
    .filter-buttons button.active {
      background: #333;
      color: white;
    }
    .project {
      display: none;
      background: #fff;
      padding: 20px;
      margin-bottom: 20px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    .project.visible {
      display: block;
    }
