/* ベース設定 */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #1e1a16; /* 深い茶色 */
  color: #f2e6c8; /* やや黄みがかったベージュ */
}

/* ヘッダー＆フッター */
.site-header,
.site-footer {
  background-color: #2b241e; /* 焦げ茶色 */
  color: #f7e8c5;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.avatar,
.site-logo,
.footer-logo {
  width: 40px;
  height: 40px;
}

/* ヘッダー各エリア */
.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-center form {
  display: flex;
}

.search-box {
  background: #3a2f27;
  color: #f2e6c8;
  border: 1px solid #6c5b4c;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
}

.search-box::placeholder {
  color: #c2b7a4;
}

.header-right a {
  color: #f7e8c5;
  text-decoration: none;
  margin-left: 12px;
  font-weight: 500;
}

.header-right a:hover {
  text-decoration: underline;
}

/* パンくずリスト */
.breadcrumb {
  background: #2b241e;
  color: #d8c3a5;
  padding: 8px 20px;
  font-size: 14px;
}

.breadcrumb a:not(:last-child)::after {
  content: '';
  color: #d8c3a5;
}

.breadcrumb a {
  color: #d8c3a5;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}
/* レイアウト全体 */
.container {
  display: flex;
  min-height: calc(100vh - 120px);
}

/* サイドメニュー */
.side-menu {
  width: 300px;
  background-color: #322922;
  padding: 20px;
  box-shadow: inset -1px 0 0 #4a3a2d;
  overflow-y: auto;
}

.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-menu li {
  margin-bottom: 12px;
}

.side-menu a {
  color: #f2e6c8;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 8px;
  display: block;
  border-radius: 6px;
}

.side-menu a:hover {
  background-color: #4b3d2f;
}

/* 広告 */
.ad-area {
  margin-top: 20px;
}

.square-ad {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #6b5b4a;
}

/* メインコンテンツ */
.main-content {
  flex-grow: 1;
  padding: 30px;
  background-color: #1e1a16;
}

/* フッターリンク */
.footer-links {
  text-align: center;
  margin-top: 10px;
}

.footer-links a {
  color: #d8c3a5;
  margin: 0 10px;
  text-decoration: none;
  font-size: 14px;
}

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