/* style.css */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  color: #333;
  background: #fff;
}

header {
  background: #f8f8f8;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 18px;
  font-weight: 600;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #0055aa;
  padding: 5px 8px;
  border-radius: 3px;
}

nav a:hover {
  background: #e6f0ff;
}

.main-wrapper {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
}

main h1 {
  font-size: 22px;
  margin-bottom: 15px;
}

main h2 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 8px;
}

main p, main li, main dt, main dd {
  line-height: 1.7;
}

aside {
  font-size: 14px;
}

aside h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

aside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

aside li {
  margin-bottom: 5px;
}

aside a {
  text-decoration: none;
  color: #0055aa;
}

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

.sidebar-image {
  margin-top: 15px;
  text-align: center;
}

.sidebar-image img {
  max-width: 100%;
  height: auto;
}

footer {
  margin-top: 30px;
  padding: 15px;
  text-align: center;
  font-size: 13px;
  color: #777;
  border-top: 1px solid #ddd;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .main-wrapper {
    grid-template-columns: 1fr;
  }
}
