body {
  background: #0f1117;
  color: #e5e7eb;
  font-family: system-ui, sans-serif;
  margin: 0;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 25px;
}

h1,
h2,
h3 {
  line-height: 1.4;
  margin-top: 1.6em;
}

p {
  margin: 0.8em 0;
}

.input-area {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 15px;
}

input {
  width: 420px;
  max-width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #1f2933;
  color: #fff;
}

button {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

.howto {
  display: block;
  text-align: center;
  margin-bottom: 20px;
  color: #60a5fa;
  text-decoration: none;
}

.loading {
  text-align: center;
  color: #9ca3af;
  display: none;
  margin-bottom: 10px;
}

#output {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

#output img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.2s;
}

#output img:hover {
  transform: scale(1.05);
}

.load-more {
  display: none;
  margin: 25px auto;
  width: 200px;
}

.description {
  background: #151a22;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 25px;
  color: #d1d5db;
}

.description ul {
  padding-left: 20px;
}

.description li {
  margin: 6px 0;
}

.note {
  margin-top: 10px;
  color: #9ca3af;
  font-size: 0.95rem;
}

.site-footer {
  text-align: center;
  padding: 30px 0;
  color: #9ca3af;
}

.site-footer a {
  color: #888;
  text-decoration: none;
}

.site-footer a:hover {
  color: #555;
  text-decoration: underline;
}

.footer-contact {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.footer-contact .material-icons {
  font-size: 16px;
  line-height: 1;
  position: relative;
  top: 1px; /* 0〜1pxで微調整 */
}

.site-header {
  background: #0b0e14;
  border-bottom: 1px solid #1f2933;
}

.nav-container {
  max-width: 900px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  color: #e5e7eb;
  text-decoration: none;
}

.site-header nav a {
  color: #9ca3af;
  margin-left: 16px;
  text-decoration: none;
}

.site-header nav a:hover {
  color: #ffffff;
}

img.favicon {
  display: inline-block;
  vertical-align: middle; /* 保険的に */
  width: 32px;
  height: 32px;
}

img.index-favicon {
  display: inline-block;
  vertical-align: middle; /* 保険的に */
  width: 24px;
  height: 24px;
  margin-right: 4px;
}

.description ul.site-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.description ul.site-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}