@charset "utf-8";
/* ==============================
   基本リセットとベーススタイル
   ============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
/* スムーススクロールを有効にする */
scroll-behavior: smooth;
}
body {
font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
color: #000;
line-height: 1.6;
padding-top: 70px; /* ヘッダーが重なって本文が隠れないようにする */
font-size: 18px;
}
nav{
border-top: none;
}

/* ==============================
   ヘッダー（PC・スマホ共通）
   ============================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
    background-color: #0a568e;
    color: #fff;
/* ▼▼ ここから追加・変更 ▼▼ */
    position: fixed; /* ヘッダーを画面に固定 */
    top: 0;          /* 画面の一番上に配置 */
    left: 0;         /* 画面の左端から配置 */
    width: 100%;     /* 横幅を画面いっぱいに */
    z-index: 1000;   /* スクロール時に他のコンテンツより前面に表示 */
    /* ▲▲ ここまで ▲▲ */
}
.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}
[id] {
    scroll-margin-top: 70px; 
}
/* ==============================
   ナビゲーション（PC向けデフォルト）
   ============================== */
.nav-menu ul {
    display: flex;
    list-style: none;
}
.nav-menu li {
    margin-left: 30px;
}
.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}
.nav-menu a:hover {
    color: #3498db;
}

/* ハンバーガーアイコン（PCでは非表示） */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 100;
}
.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
}

/* ==============================
   メインコンテンツ
   ============================== */
.main-content {
    padding: 40px 20px;
    text-align: center;
}
/* ナビゲーション全体のスタイル */
.breadcrumb-nav {
  width: 100%;
  padding: 12px 16px;
  background-color: #f9f9f9; /* 背景色（薄いグレー） */
  box-sizing: border-box;
}

/* リスト自体のスタイル */
.breadcrumb {
  display: flex;
  flex-wrap: wrap; /* スマホ等で画面が狭い場合は折り返す */
  list-style: none;
  margin: 0 auto;
  padding: 0;
  font-size: 16px; /* フォントサイズ */
  color: #333;
}

/* 各リスト項目のスタイル */
.breadcrumb-item {
  display: flex;
  align-items: center;
}

/* リンクのスタイル */
.breadcrumb-item a {
  color: #0056b3; /* リンク色 */
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

/* リンクへのホバー（マウスオーバー）時 */
.breadcrumb-item a:hover {
  color: #003d82;
  text-decoration: underline;
}

/* 区切り文字（>）の自動挿入設定 */
.breadcrumb-item + .breadcrumb-item::before {
  content: ">"; /* 記号（ / などにも変更可能） */
  display: inline-block;
  padding: 0 10px;
  color: #6c757d;
  font-size: 12px;
}

/* 現在のページ（末尾）のスタイル */
.breadcrumb-item.active {
  color: #6c757d; /* リンクでないためグレーアウト */
  font-weight: bold; /* 現在地を強調 */
}
/* ==============================
   レスポンシブ対応（スマホ向け）
   ============================== */
@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #34495e;
        transition: right 0.3s ease;
        z-index: 99;
        padding-top: 80px;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }
    .nav-menu li {
        margin: 0 0 20px 0;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}