/* Objective-C テーマ CSS */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  background-color: #f5f7fa;
  color: #222;
  margin: 0;
  padding: 2em;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

h1, h2, h3 {
  color: #007aff;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

p {
  font-size: 1.1em;
}

a {
  color: #007aff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

header h1 {
  font-size: 2.2em;
  margin-bottom: 0.2em;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2em;
  list-style: none;
  padding: 0;
  margin: 2em 0;
  border-bottom: 2px solid #ccc;
  padding-bottom: 1em;
}

nav li a {
  font-weight: bold;
  font-size: 1em;
  color: #007aff;
  padding: 0.5em 1em;
  border-radius: 6px;
  transition: background 0.2s ease-in-out;
}

nav li a:hover {
  background-color: rgba(0, 122, 255, 0.1);
}

section {
  margin-bottom: 3em;
  padding: 1em;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

pre {
  background-color: #f0f0f5;
  padding: 1em;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.95em;
  line-height: 1.6;
  font-family: Menlo, Consolas, monospace;
  color: #333;
}

code {
  background-color: #eaeaea;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: Menlo, Consolas, monospace;
  font-size: 0.95em;
}

textarea {
  width: 100%;
  max-width: 100%;
  height: 120px;
  padding: 1em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  box-sizing: border-box;
}

button {
  padding: 0.6em 1.2em;
  font-size: 1em;
  background-color: #007aff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background-color: #005ecb;
}

footer {
  text-align: center;
  margin-top: 4em;
  color: #666;
  font-size: 0.9em;
}
