
/* 全体 */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}

/* 中央のコンテナ */
.container {
  max-width: 500px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 見出し */
h2 {
  text-align: center;
  color: #333;
}

/* 入力ボックス */
input {
  padding: 10px;
  margin-top: 10px;
  width: 100%;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* ボタン */
button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  font-size: 16px;
  color: #fff;
  background-color: #007BFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* 検索結果ボックス */
.result {
  margin-top: 20px;
  padding: 15px;
  background: #eef;
  border-radius: 5px;
  display: none; /* 検索結果は最初は非表示 */
  font-size: 14px;
}

/* 案内ボックス（常時表示） */
.info-box {
  margin-top: 20px;
  padding: 20px 15px 25px;
  background: #fff;      /* 検索結果と同じ薄い青に統一 */
  border-radius: 10px;
  font-size: 14px;
}

.info-box li {
  line-height: 1.8;
  margin-bottom: 4px; /* ちょっとだけ項目同士の余白も足す */
}

/* リストのポッチと余白を消す */
.info-box ul {
  list-style: none;       /* ●を消す */
  padding-left: 0;        /* 左の余白を消す */
  margin: 0;              /* ついでにマージンもリセット */
}

/* リンクの見た目（任意） */
.info-box a {
  color: #007BFF;
  text-decoration: none;
}
.info-box a:hover {
  text-decoration: underline;
}

/* 問合せ先（常時表示） */
.contact-box {
  margin-top: 20px;
  padding: 20px 15px 25px;
  background: #fff;      /* 検索結果と同じ薄い青に統一 */
  border-radius: 10px;
  font-size: 14px;
}

.contact-box li {
  line-height: 1.8;
  margin-bottom: 4px; /* ちょっとだけ項目同士の余白も足す */
}

/* リストのポッチと余白を消す */
.contact-box ul {
  list-style: none;       /* ●を消す */
  padding-left: 0;        /* 左の余白を消す */
  margin: 0;              /* ついでにマージンもリセット */
}

/* リンクの見た目（任意） */
.contact-box a {
  color: #007BFF;
  text-decoration: none;
}
.contact-box a:hover {
  text-decoration: underline;
}

/* スピナー */
.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007BFF;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ローディング表示の行間・整え */
.loading-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
}

/* エラーメッセージ */
.error {
  color: red;
}

/* 全要素の幅計算をボーダー込みにする（横ズレ防止） */
*, *::before, *::after {
  box-sizing: border-box;
}
