/* 共通スタイル */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff8f0;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* ①フォント読み込み（ファイルの最初の方でOK） */
@font-face {
  font-family: 'CorporateLogoM';
  src: url('background/fonts/Corporate-Logo-Medium-ver3.otf') format('opentype');
  font-display: swap;
}
/* ①フォント読み込み（ファイルの最初の方でOK） */
@font-face {
  font-family: 'にくまるフォント';
  src: url('background/fonts/07にくまるフォント.otf') format('opentype');
  font-display: swap;
}
 /* ヘッダー4800x300 */
header { 
  width: 100%;
  height: 130px;
  /* 高さお好み */
  background: url('background/pageimages/header.webp') no-repeat center center;
  background-size: cover;
  position: fixed; /* 追加: 画面上部に固定 */
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* ネイビーの影 */
  flex-shrink: 0; /* 追加：ヘッダーが縮まないように */
}
/* コンテナ */
.container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
  min-height: calc(100vh - 130px); /* ヘッダーの高さを差し引く */
  box-sizing: border-box;
  gap: 20px;
  flex-wrap: nowrap;
  padding-top: 130px; /* ヘッダーとの間に余白 */
}
/* 左カラム */
.sidebar-left {
  width: 220px;
  background: #f2c474;
  background-image: url('background/pageimages/pattern.webp');
  background-repeat: repeat;
  background-size: 250px 250px;
  padding: 20px;
  box-sizing: border-box;
  height: 100%;
  text-align: center;
  font-size: 15px;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}
.sidebar-left a {
  display: block;
  margin: 8px 0;
  padding: 8px 12px;
  text-decoration: none;
  color: #612d00;
  font-weight: bold;
  border-radius: 0px;
  transition: background-color 0.3s, color 0.3s;
  font-size: 15px;
}
.sidebar-left a:hover {
  background-color: #ffe08a;
  color: #612d00;
}
.sidebar-left a.no-hover:hover {
  background-color: transparent;
  color: inherit;
  cursor: default;
}
/* 白背景 */
.sidebar-left .youtube-embed {
  display: block;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: white;
  position: relative;
  width: 180px;
  padding-top: 50%;
  box-sizing: border-box; /* パディングを含めて幅を計算 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
/* リンク全体をホバー対象にする */
.sidebar-left .youtube-embed a {
  display: block;
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: inherit;
  cursor: default;
}
/* 画像を挿入 */
.sidebar-left .youtube-embed img {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%); /* 中央に移動 */
  max-width: 88%; /* 画像が外枠からはみ出ないように */
  max-height: 88%; /* 画像が外枠からはみ出ないように */
  margin: 0 auto; /* 中央寄せ */
  object-fit: contain; /* 画像が歪まないように表示 */
  transition: filter 0.3s ease; /* ホバー時のアニメーション */
}
/* ホバー時に画像を暗くする */
.sidebar-left .youtube-embed a:hover img {
  filter: brightness(0.88); /* 画像を暗くする */
  background-color: transparent;
  color: inherit;
  cursor: default;
}
/* 中央カラム */
.content {
  flex: 1;
  min-width: 0;
  padding: 20px;
  box-sizing: border-box;
}
/* iFrameのラッパー */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px; /* 最大幅を制限 */
  padding-top: 177.78%; /* 9:16のアスペクト比 */
  overflow: hidden;
}
/* iFrame自体 */
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* 右カラム */
.sidebar-right {
  width: 220px;
  padding: 20px;
  box-sizing: border-box;
  margin-left: auto;
  flex-shrink: 0;
}
.sidebar-right img {
  width: 100px;
  border-radius: 50%;
  display: block;
  margin-bottom: 10px;
}
.sidebar-right h3 {
  margin: 5px 0;
  color: #d35400;
}
.sidebar-right p {
  margin: 2px 0;
  font-size: 0.9em;
}
/* 見出し */
h2 {
  color: #d35400;
  border-bottom: 2px solid #d35400;
  display: inline-block;
  padding-bottom: 5px;
}
/* モバイル右カラム */
.sidebar-right-mobile {
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  margin-top: auto;
  flex-shrink: 0;
}
.sidebar-right-mobile img {
  width: 100px;
  border-radius: 50%;
  display: block;
  margin-bottom: 10px;
}
.sidebar-right-mobile h3 {
  margin: 5px 0;
  color: #d35400;
}
.sidebar-right-mobile p {
  margin: 2px 0;
  font-size: 0.9em;
}
/* フッター */
footer {
  background-color: #d35400;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: auto;
  flex-shrink: 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 128, 0.1);
}
footer a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}
footer a:hover {
  color: #fff2e0;
}
/* ダウンロードボタン */
a.button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #d35400;
  color: white;
  text-decoration: none;
}
a.button:hover {
  background: #ff7f50;
}
/* NEW!プレイヤーを使いやすくする */
audio {
  width: 100%;
  max-width: 350px;
  margin-top: 10px;
}
/* NEW!曲ごとの区切りを分かりやすく */
.song {
  padding-bottom: 20px;
  border-bottom: 1px dashed #f2c474;
  margin-bottom: 30px;
}
/* ブログリスト */
ul.blog-list {
  list-style: none;
  padding-left: 0;
}
ul.blog-list li {
  margin-bottom: 8px;
}
ul.blog-list li a {
  color: #d35400;
  text-decoration: none;
}
ul.blog-list li a:hover {
  color: #ff7f50;
}
/* ブログ日時 */
.blog-date {
  font-size: 0.9em;
  color: #1a0080;
  margin-bottom: 10px;
}
/* 更新履歴 */
.update-log h4 {
  margin-top: 20px;
  font-size: 1.1em;
  color: #e65100;
}
.update-log ul {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
}
.update-log li {
  font-size: 0.9em;
  color: #333;
  margin-bottom: 4px;
}
.blog-post {
  margin-bottom: 40px; /* 下の余白を広げる（お好みで20〜60pxくらい） */
}
    /* 記事内の強調スタイル */
    .blog-post strong {
      color: #d35400;
      font-weight: bold;
    }
    /* コード表示用 */
    .blog-post code {
      background-color: #f8f8f8;
      padding: 2px 5px;
      border-radius: 3px;
      font-family: monospace;
      color: #c00;
    }
    /* 引用ブロック */
    .blog-post blockquote {
      background-color: #fff8f0;
      border-left: 4px solid #d35400;
      padding: 10px 15px;
      margin: 15px 0;
      font-style: italic;
      color: #555;
    }
    /* 見出し調整 */
    .blog-post h3 {
      color: #994618;
  /* border-bottom: 1px solid #e65100; */  /* ←消したいならここをコメントアウト */
      padding-bottom: 5px;
      margin-top: 25px;
    }
    /* 箇条書きスタイル */
    .blog-post ul {
      margin-left: 20px;
    }
    .blog-post li {
      margin-bottom: 8px;
    }
