* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 1.5rem 1rem;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #222;
  text-align: center;
}

h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.back-link {
  margin-bottom: 2rem;
}

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

header img {
  width: 400px;
}

.lang-switch {
  text-align: right;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.project {
  margin-bottom: 2rem;
}

.project p {
  margin-left: 1.5rem;
}

.project p.indented {
  margin-left: 3rem;
}

ul {
  margin: 0 0 1rem 1.5rem;
}

code {
  font-family: Menlo, Consolas, monospace;
  font-size: 0.9em;
}

pre {
  background-color: #f5f5f5;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  line-height: 1.5;
}

.figure {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto 1rem;
}

section > :not(h2) {
  margin-left: 1.5rem;
}

section > ul {
  margin-left: 3rem;
}

section > ol {
  margin-left: 3rem;
}

.steps > li {
  margin-bottom: 1.5rem;
}

.commands dt {
  font-weight: 600;
}

.commands dd {
  margin: 0 0 0.75rem 1.5rem;
}
