@charset "UTF-8";

/*全体に適用される*/
body {
  margin: 0;
  background-color: #f5f5f5;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

/*class=cardのみに適用*/
.card {
  background-color: #fff;
  width: 800px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

header {
  background-color: #87cefa;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a {
  color: black;
  text-decoration: none;
}

.content {
  padding: 20px;
}

.nav {
  margin-bottom: 20px;
}

.nav a {
  margin-right: 20px;
  font-weight: bold;
  color: black;
  text-decoration: none;
}

.nav a:hover {
  text-decoration:underline;
}

.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #696969;
  padding: 5px 8px;
  margin: 0;
  font-size: 10px;
  background-color: white;
  width: 200px
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
}

.search-box::before {
  /*content: "🔍";*/
  margin-right: 10px;
}

.message-title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.message-item {
  background-color: #f1f1f1;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.message {
  margin-bottom: 10px;
  font-size: 14px;
}

.result-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 18px;
  color: #0077cc;
  text-decoration: underline;
}

img {
  width: 100%;
  border: 3px solid #696969;
  margin-bottom: 10px;
}

.page-number {
  position: static; /* デフォルトに戻す */
  text-align: center;
  margin-top: 10px;
  font-size: 1.2em;
  color: black; /* 背景色に合わせて調整 */
}