/* =========================================
   Header Custom Styling
   ========================================= */

.site-header {
  background: #1b2e63;
  color: #fff;
  padding: 0.5rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 100;
}

.site-header a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-header a:hover {
  opacity: 0.8;
}

/* ロゴとタイトル */
.site-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  padding-left: 1rem;
}

/* ナビゲーション */
.main-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.95rem;
}

.main-navigation a {
  color: #f8f9fc;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  transition: background 0.25s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  background: #264bbd;
}

/* 検索アイコン */
.header-search {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.header-search svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  cursor: pointer;
  transition: fill 0.25s ease;
}

.header-search svg:hover {
  fill: #cdd3f3;
}

/* モバイル */
@media (max-width: 768px) {
  .main-navigation {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .site-title {
    font-size: 1rem;
  }
}