

/* 全体リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* ===== ヘッダー ===== */
.site-header {
  background: url('https://via.placeholder.com/1200x300') no-repeat center/cover;
  color: #fff;
  padding: 10px 20px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 50px;
  height: auto;
}

/* ナビ（PC版） */
.nav ul {
  display: flex;
  list-style: none;
}

.nav ul li {
  margin-left: 20px;
}

.nav ul li a {
  color: #6666CC;
  text-decoration: none;
  font-weight: bold;
}

/* ===== ハンバーガーボタン ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* 開閉時のアニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* ===== メイン ===== */

.site-main {
  display: flex;
  flex-wrap: wrap;
  background-color: #ffffff;
  padding: 20px;
}

.content {
  flex: 2;
  min-width: 250px;
  padding: 20px;
  background-color: #fff;
  margin-right: 20px;
}

.sidebar {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  background-color: #ddd;
}
.site-main {
  display: flex;
  flex-wrap: wrap;
  background-image: url("path/to/your/papyrus-background.jpg"); /* 羊皮紙の画像URLを指定 */
  background-size: cover; /* 背景画像を適切に表示 */
  background-color: #f4e5c3; /* 羊皮紙風の色 */
  padding: 20px;
  font-family: serif; /* 古代風フォントを適用 */
}

.content {
  flex: 2;
  min-width: 250px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.8); /* 半透明の背景 */
  margin-right: 20px;
  border: 1px solid #d3b983; /* 縁取り */
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* 影 */
}

.sidebar {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  background-color: #d3b983; /* 羊皮紙風の色 */
  border: 1px solid #a9936b; /* 縁取り */
}
/* ===== フッター ===== */
.site-footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.footer-nav ul {
  list-style: none;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav ul li {
  margin: 0 10px;
}

.footer-nav ul li a {
  color: #fff;
  text-decoration: none;
}

.copy {
  font-size: 0.9em;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  /* ハンバーガー表示 */
  .hamburger {
    display: flex;
  }

  /* ナビはデフォルト非表示 */
  .nav {
    display: none;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    margin-top: 10px;
  }

  .nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .nav ul li {
    margin: 10px 0;
  }

  /* ハンバーガーONで表示 */
  .nav.active {
    display: block;
  }

  .site-main {
    flex-direction: column;
  }

  .content {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

