body {
  background: silver;
  font-family: "MS Pゴシック", serif;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 100%;
  width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #666;
  padding: 10px 20px 30px;
  box-sizing: border-box;
}

h1 {
  background: #036;
  color: #fff;
  text-align: center;
  font-size: 24px;
  padding: 10px 0;
  margin: 0 -20px 10px;
}

input[type="file"],
button {
  font-size: 1em;
  padding: 6px 10px;
  margin: 0 10px 10px 0;
}

button:disabled {
  background-color: #ccc;
  color: #888;
  cursor: not-allowed;
}

#result {
  overflow-x: auto;
  font-size: 0.95em;
}

#hitCount {
  font-weight: bold;
  margin-bottom: 10px;
  color: #036;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95em;
  table-layout: fixed;
}

th,
td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}

th:nth-child(1),
td:nth-child(1) {
  width: 130px;
}

th:nth-child(2),
td:nth-child(2) {
  width: 50%;
}

th:nth-child(3),
td:nth-child(3) {
  width: 130px;
  word-break: break-word;
}

th:nth-child(4),
td:nth-child(4) {
  width: 110px;
  word-break: break-word;
}

th {
  background-color: #eee;
}

a {
  color: #00f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 820px) {
  .container {
    width: 100%;
    padding: 10px;
  }

  h1 {
    margin: 0 -10px 10px;
  }
}

.notice {
  border-left: 5px solid #007acc;
  background: #eef6fb;
  padding: 10px;
  margin: 15px 0;
  color: #036;
  font-size: 0.95em;
}
