/* 全体のフォント設定 */
body {
  font-family: "Arial", sans-serif;
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* ヘッダー */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #cccccc;
  padding: 20px 0;
  position: relative;
}

/* ヘッダー画像 */
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('http://ao.gmobb.jp/nanami/image/titleimg.jpg');
  background-size: cover;
  background-position: left top;
  z-index: -1;
}

/* ヘッダー内のコンテナ */
.header-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* サイトタイトル（ロゴと重なる位置） */
.site-title a {
  font-size: 2.5em;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  margin: 0;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* 左上に黒字でブログ名を表示 */
.blogname-left-top {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9999;
  font-size: 18px;
  font-weight: bold;
  color: #000 !important; /* ←黒を強制指定 */
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 8px;
  border-radius: 4px;
}

/* 月別アーカイブ */
.month-archive {
  font-size: 0.9em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.month-archive a {
  color: #333;
  text-decoration: none;
  margin-right: 10px;
}

.month-archive a:hover {
  color: #0077cc;
}

/* 記事全体の囲い */
.entry-wrap {
  width: 1280px;
  max-width: 100%;
  margin: 40px auto;
  padding: 30px;
  background-color: #ffffff;
  border: 2px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* 日付 */
.entry-date {
  background-color: #3399ff;
  color: white;
  padding: 8px 10px;
  text-align: center;
  font-size: 1em;
  margin-bottom: 10px;
  border-radius: 6px;
  display: inline-block;
  width: 100%;
}

/* 記事タイトル */
.entry-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #333;
  padding: 14px;
  margin-bottom: 10px;
  border-bottom: 2px solid #3498db;
  display: inline-block;
  text-align: center;
  width: 100%;
}

/* 記事本文 */
.entry-content {
  line-height: 1.7;
  font-size: 16px;
  padding: 10px 0;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  width: 90%;
  text-align: center;
}

/* サイドバー */
.sidebar {
  width: 280px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  margin-top: 20px;
  float: right;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* フッター */
footer {
  background-color: #ffffff;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9em;
  color: #777;
  border-top: 1px solid #cccccc;
}

footer a {
  color: #0077cc;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ヘッダー画像用のコンテナ */
.header-image-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 20px;
  background-color: #ffffff;
}

.header-image {
  height: auto;
  max-width: 100%;
  display: block;
}

/* gmobb画像をちゃんと表示させるCSS */
.entry-content img[src*="gmobb.jp"] {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1em auto;
  border: none;
}

