/* ------------------------------------------- */
/* 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. テキストボックス */
/* ------------------------------------------- */


/* 1. 背景の設定（ドット柄） */
body {
  margin: 0;
  padding-top: 90px;
  background-color: #fcf4d4;
  /* 2pxの白い円を20px間隔で配置する指定 */
  background-image: radial-gradient(#ffffff 2px, transparent 2px);
  background-size: 20px 20px;
}

/* 2 & 3. レイアウトの設定 */
.about-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  gap: 70px;
}

.text-content {
  flex: 1; /* 左側を広げる */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 見出し（h2）のスタイル */
.info-box h2 {
  color: #5782A2;
  font-size: 1.30rem;
  margin-bottom: 10px;
  
  /* 下線をテキスト幅に収めるための魔法 */
  display: inline-block; 
  border-bottom: 3px solid #f1d033;
  padding-bottom: 4px; /* テキストと線の間の余白 */
}

/* 本文（p）のスタイル */
.info-box p {
  color: #666666; /* 読みやすい濃いめのグレー */
  line-height: 1.6; /* 行間を少し広げて読みやすく */
  margin-top: 5px;
}

.info-box {
  background: rgba(255, 255, 255, 0.8); /* 少し透け感のある白で文字を読みやすく */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}


/* ------------------------------------------- */
/* 2-1. テキストリスト化 */
/* ------------------------------------------- */

.creation-item {
  margin-top: 15px;
  margin-bottom: 20px;
  border-left: 4px solid #f1d033; /* アクセントカラーの縦線 */
  padding-left: 15px;
}

.creation-item h3 {
  font-size: 1rem;
  color: #5782A2;
  margin: 0 0 5px 0;
  font-family: 'Georgia', serif; /* ちょっとオシャレなフォントに */
}

.creation-item p {
  margin: 0;
  font-size: 0.9rem;
}


/* ------------------------------------------- */
/* 2-2. ボタン */
/* ------------------------------------------- */

/* ボタンの基本デザイン */
.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 50px; /* 丸みのあるボタン */
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

/* Profileボタン：落ち着いたブルー */
.btn-profile {
  background-color: #5782A2;
  color: #ffffff;
  border: 2px solid #5782A2;
}

/* Shopボタン：温かみのあるイエロー */
.btn-shop {
  background-color: #f1d033;
  color: #ffffff;
  border: 2px solid #f1d033;
}

/* ホバーした時：色が反転する演出 */
.btn:hover {
  background-color: transparent;
  color: #5782A2; /* Shopなら #f1d033 に変えてもOK */
  transform: scale(1.05); /* 少しだけ大きくなる */
}

/* ポリシーリンクのデザイン */
.policy-links {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed #ccc;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.policy-links a {
  color: #666;
  font-size: 0.8rem;
  text-decoration: underline;
}

.policy-links a:hover {
  color: #5782A2;
}


/* ------------------------------------------- */
/* 2-3. 画像 */
/* ------------------------------------------- */

.image-aside {
  flex: 0 0 350px; /* 画像の幅を固定 */
}

.image-aside img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.image-aside img {
  width: 100%;
  height: auto;
  
  /* 1. 角を丸くする（好みに合わせて数値を変えてみて！） */
  border-radius: 20px;
  
  /* 2. 柔らかい影をつける（水平 垂直 ぼかし 広がり 色） */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  
  /* 3. アニメーションの準備（0.3秒かけて変化させる） */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 4. マウスを乗せた（ホバーした）時の動き */
.image-aside img:hover {
  /* 少し上に浮かせる */
  transform: translateY(-10px);
  /* 影を少し強くして、浮いている感を強調する */
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

/* 親要素：2枚を重ねるための土台 */
.image-hover-container {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.image-hover-container img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: opacity 0.5s ease, transform 0.3s ease; /* 変化を滑らかに */
}

/* 2枚目の画像を上に重ねる */
.img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0; /* 最初は隠しておく */
}

/* マウスを乗せた時の動き */
.image-hover-container:hover .img-hover {
  opacity: 1; /* ホバー画像を表示 */
}

.image-hover-container:hover .img-base {
  /* 下の画像も少し浮かせるならこれ */
  transform: translateY(-10px);
}

.image-hover-container:hover .img-hover {
  /* 上の画像も一緒に浮かせる */
  transform: translateY(-10px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

/* 4. モバイル対応（レスポンシブ） */
@media (max-width: 768px) {
  .image-aside {
    display: none; /* モバイルでは画像を非表示 */
  }
  
  .about-container {
    justify-content: center;
  }
}


/* ------------------------------------------- */
/* 3. メインフッター */
/* ------------------------------------------- */

/* フッター全体の背景色と基本設定 */
.custom-footer {
    background-color: #f1d033 !important;
    color: #5782A2; /* 基本のテキストカラー */
}

/* リンクテキストの色 */
.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; /* ほんの少しだけ透けさせる */
}

