/* 基本リセット & 全体スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  color: #2c3e50;
  background-color: #f4f8fb;
  line-height: 1.6;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #0b2545;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 2px;
}

/* ナビゲーション (PC時) */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #134074;
}

/* ハンバーガーボタン (初期状態は非表示) */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  transition: transform 0.3s, opacity 0.3s;
}

/* ヒーローエリア */
.hero {
  height: 60vh;
  background: linear-gradient(135deg, #0b2545 0%, #134074 50%, #8da9c4 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* セクション設定 */
.section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.section h2 {
  font-size: 1.8rem;
  color: #0b2545;
  margin-bottom: 1.5rem;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #8da9c4;
  margin: 0.5rem auto 0;
}

/* カードレイアウト */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card h3 {
  color: #134074;
  margin-bottom: 0.5rem;
}

/* インフォメーション */
.info-box {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: left;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-box p {
  margin-bottom: 0.5rem;
}

/* フッター */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #0b2545;
  color: #ffffff;
  margin-top: 4rem;
  font-size: 0.9rem;
}

/* モバイル対応（レスポンシブ） */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0b2545;
    clip-path: circle(0% at 100% 0%);
    transition: clip-path 0.4s ease-in-out;
  }

  /* メニューが開いた状態 */
  .nav-menu.active {
    clip-path: circle(150% at 100% 0%);
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 1.5rem 0;
    text-align: center;
  }

  /* ハンバーガーのアニメーション (X印に変形) */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}