/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f7f7f7;
  color: #222;
}

/* ヘッダー */
header {
  background: #333;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  font-weight: bold;
  font-size: 20px;
}
header h2 {
    display: block;
    margin: 0;
    padding: 5px 0 10px;
    line-height: 0;
    max-height: 0;
    font-weight: 700;
    font-size: 0.8em;
    color: #f0f0c0;
    text-shadow: 1px 1px 1px #000;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .8);
    letter-spacing: 1px;
}
header h1 {
    display: block;a
    margin: 0;
    padding: 0px 0 0px;
    line-height: 0;
    max-height: 0;
    color: #eee;
    background: 0 0;
    font-family: 'Anton', sans-serif;
    font-size: 2em;
    text-decoration: none;
    text-shadow: 3px 3px 5px #000;
    letter-spacing: 2px;
}
header nav {
    margin-top: auto;
}

header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
header li {
  margin-left: 20px;
}

/* 左サイドバー */
.sidebar {
  position: fixed;
  top: 100px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar a {
  text-decoration: none;
  color: #444;
  font-size: 24px;
}
.sidebar a:hover {
  color: #d33;
}

/* 本文と右サイド */
.container {
  display: flex;
  margin: 20px 20px 20px 80px; /* 左に余白（サイドバー分） */
}
article {
  flex: 3;
  padding-right: 20px;
}
aside {
  flex: 1;
  background: #eee;
  padding: 10px;
  text-align: center;
}
.image-box img {
  max-width: 100%;
  border: 1px solid #ccc;
}
.image-box p {
  margin-top: 5px;
  font-size: 14px;
}

/* フッター */
footer {
  text-align: center;
  font-size: 14px;
  padding: 0;
}
footer p{
  background: #222;
  color: white;
  margin: 0;
  padding: 5px 0;
  text-align: center;
  font-size: 14px;
}