/* ------------------------------------------- */
/* 1. サイト全体 */
/* ------------------------------------------- */

body {
    margin: 0;
    padding-top: 70px; 
}


/* ------------------------------------------- */
/* 1. ナビゲーションバーのカスタムカラー設定 */
/* ------------------------------------------- */

/* ブランドロゴ部分の背景色 */
.custom-brand-bg {
    background-color: #5782A2 !important;
    color: #fff !important; 
}

/* ブランドロゴを最前面に */
.brand-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 35px;
  z-index: 1050; /* 最前面 */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.custom-navbar-bg {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1030;
  background-color: #f1d033 !important;
  display: flex;
  align-items: center;

box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* パンくずリストをさらに下に */
.breadcrumb-bg {
  position: fixed;
  top: 20px; /* ロゴ + ナビバーの高さ分 */
  left: 0;
  width: 100%;
  height:35px;
  margin:0 0 50px 0; 
  z-index: 1040;
  background-color: #fcf4d4;
  padding: 5px ;
  border-radius: 5px;
}

.breadcrumb-bg .breadcrumb-item {
  line-height: 1;
}

.breadcrumb-bg a {
  color: #5782A2;   /* 通常時の色 */
  text-decoration: none; /* 下線を消したい場合 */
}

.breadcrumb-bg a:hover {
  color: #f1d033;   /* ホバー時の色 */
}


/* ------------------------------------------- */
/* 1-1. PCサイズ (lg以上) での表示制御の設定 (オフキャンバス移行後は無効化推奨) */
/* ------------------------------------------- */

/* Offcanvasを使うため、この部分は今回は無視してOKだが、構造維持のため残す */
   @media (min-width: 992px) {
    .navbar-expand-lg .navbar-toggler {
        display: block !important;
    }
} 

/* ------------------------------------------- */
/* 1. パンくずリストの背景 */
/* ------------------------------------------- */

.breadcrumb-bg {
    /* 背景色：ブランドカラー（黄色 #f1d033）に近い、とても薄い黄色 */
    background-color: #fcf4d4; 
    
    /* 上下左右に余白を確保 */
    padding:10px 10px 1px; 
    width: 100%;
    
    /* 角丸にして柔らかい印象に */
    border-radius: 5px; 
    
    /* パンくずリスト自体のデフォルトの上下マージンをリセット */
    margin-top: 20px;
    margin-bottom: 0 !important; 
    box-sizing: border-box;
}


/* ------------------------------------------- */
/* 2. プライバシーポリシー */
/* ------------------------------------------- */

/* ベースのスタイル */
body {
    background-color: #f8f9fa; /* 目に優しい薄いグレー */
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8; /* 行間を広めに取って読みやすく */
    margin: 0;
    padding: 0;

}


/* その代わり、メインコンテンツの上に余白を作る */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 150px 20px 50px 20px; /* ここで上下左右の余白を確保する */
}


/* コンテナの設定 */
.legal-container {
    max-width: 1100px; /* 読みやすい横幅 */
    margin: 0 auto;
}

/* カード風のデザイン */
.policy-card {
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* 柔らかな影 */
}

/* ヘッダー周り */
.policy-header {
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.policy-header h1 {
    font-size: 2rem;
    letter-spacing: 0.05em;
    margin: 0 0 10px 0;
}

.update-date {
    font-size: 0.9rem;
    color: #888;
}

/* 見出しの装飾 */
.policy-content h2 {
    font-size: 1.25rem;
    margin-top: 40px;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid #333; /* シンプルなアクセント */
}

.policy-content p {
    margin-bottom: 20px;
}


/* スマホ対応 */
@media (max-width: 600px) {
    .policy-card {
        padding: 30px 20px;
    }
    
    .policy-header h1 {
        font-size: 1.5rem;
    }
}


/* ------------------------------------------- */
/* 3. メインフッター */
/* ------------------------------------------- */

/* フッター全体の背景色と基本設定 */
.custom-footer {
    background-color: #f1d033 !important;
    color: #5782A2; /* 基本のテキストカラー */
    margin: 500px 0 0 0;
}

/* リンクテキストの色 */
.custom-footer a {
    color: #5782A2 !important;
    transition: color 0.3s ease; /* 色の変化を滑らかに */
}

/* ホバー時のリンク色 */
.custom-footer a:hover {
    color: #ffffff !important; /* ホバーで白に変身！ */
}

/* 水平線（hrタグやborder）の色 */
.custom-footer .border-top {
    border-top: 1px solid #5782A2 !important; /* 空色のライン */
    opacity: 1; /* Bootstrapのデフォルトの透明度をリセット */
}

/* 見出しも空色 */
.custom-footer h4, 
.custom-footer h5 {
    color: #5782A2;
}

/* 著作権表記（一番下）のテキストカラー */
.custom-footer .copyright {
    color: #5782A2 !important;
    opacity: 0.8; /* ほんの少しだけ透けさせる */
}
