/* 공통 스타일 (모든 페이지에 연결됨) */
body {
  font-family: "Noto Sans JP", Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f9fafc;
  color: #333;
}
h1 {
  text-align: center;
  margin-bottom: 30px;
}
nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
nav a {
  background-color: #2F80ED;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.2s;
}
nav a:hover {
  background-color: #1e63c7;
}
section, .loto-section {
  background: white;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  font-size: 14px;
}
th, td {
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: center;
}
th {
  background-color: #f2f2f2;
}
button {
  background-color: #F2994A;
  color: white;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s;
}
button:hover {
  background-color: #e88a3c;
}
select {
  padding: 10px;
  font-size: 16px;
  margin: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.result p {
  margin: 10px 0;
  font-size: 18px;
  font-weight: bold;
  color: #2F80ED;
}
#copy-button {
  background-color: #2F80ED;
  font-size: 14px;
  margin-top: 10px;
}
.next-date {
  margin-top: 20px;
  font-size: 16px;
  color: #555;
  text-align: center;
}
