/* === Basic Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media screen and (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
  background: #fafafa;
  line-height: 1.8;
}

/* === Layout === */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* === Header === */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #444;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #000;
}

/* === Section === */
.section {
  padding: 3rem 0;
  border-bottom: 1px solid #eaeaea;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* === Lists === */
.rulebook-list {
  list-style: none;
}

.rulebook-list > li {
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.rulebook-list strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.rulebook-list ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.rulebook-list li ul li {
  font-weight: 400;
  color: #555;
  margin-right: 1rem;
}

/* === Footer === */
.site-footer {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  padding: 1.5rem 0;
  border-top: 1px solid #e0e0e0;
}

.fa-heart {
  margin-right: 4px;
}

.box {
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  background: #f5f5f5;
}

h3 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: #999 solid 1px;
}

p + p {
  margin-top: 1rem;
}
