html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: black;
  color: #333333;
  font-size: 16px;
}

/* パンくずリスト */
.breadcrumb {
  position: static;
  margin-top: 2px;/* ← パンくずリストの位置高さ */
  display: flex;
  width: 300px;
  background-color: #ff8c00;
  opacity: 0.55;
  border-radius: 10px;
  padding: 2px 2px;
  font-size: 14px;
  box-sizing: border-box;
  gap: 0.5em;
  font-weight: bold;
}
.breadcrumb > div {
  flex: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3em;
  color: #333;
}
.breadcrumb a {
  color: #fff;
  text-decoration: none;
}
.breadcrumb span {
  color: #006699;
}
.breadcrumb .breadcrumb-arrow {
  flex: 0.2;
  color: #333;
}

/* バックナンバー切替 */
#backnumber-container {
  height: 260px;
  width: 130px;
  overflow: hidden;
  position: relative;
  margin-top: 4px;
}

.link-set {
  position: absolute;
  height: 780px; /* 260 × 3 */
  top: 0;
  left: 0;
  width: 100%;
  transition: transform 0.6s ease;
}

.backnumber-page {
  height: 260px;
  box-sizing: border-box;
  padding: 2px;
  color: #ffffff;
  font-size: 15px;
  line-height: 0.9;
  overflow: hidden;
}
.backnumber-page a {
  color: #ffffff;
  opacity: 0.7;
  text-decoration: none;
  display: block;
  letter-spacing: 0.2px;
}
#backnumber-buttons a {
  color: #ffffff;
  opacity: 0.7;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.2px;
}
#backnumber-buttons a:hover {
  opacity: 1.0;
}

/* 日記 */
.diary-wrapper {
  width: 830px;
  margin: 0 auto; /* 枠全体を中央に配置 */
  overflow-y: auto;
  max-height: 440px; /* 必要に応じて調整 */
  scrollbar-base-color: #ffff99;
  box-sizing: border-box;
}

.diary-content {
  width: 660px;
  margin: 0 auto; /* 日記枠を中央に配置 */
  text-align: left; /* テキストは左揃え */
  padding-bottom: 400px;
}
.diary-title {
  margin-left: 20px;
}
.diary-title {
  margin-left: 20px;
}
.diary-entry img {
  max-width: 100%;
  height: auto;
  margin: 8px 4px;
}
.diary-floatimg {
  float: right;
  margin: 0 0 12px 25px; /* 上 右 下 左の余白 */
  max-width: 200px;      /* 固定幅でもOK */
  height: auto;
  border-radius: 6px;
}