/* ==== 共通リセットとレイアウト ==== */
body {
  margin: 0;
  font-family: sans-serif;
  background-color: #f9f9f9;
}

/* ==== ヘッダー ==== */
.header {
  position: relative;
  height: 60px;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 15px;
}

.header-icon {
  width: 30px;
  height: 30px;
}

/* ==== フッター ==== */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: #fff;
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.footer a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

/* ==== 検索フォーム ==== */
.search-form {
  margin: 20px auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.search-form input {
  padding: 8px;
  font-size: 16px;
  width: 60%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.search-form button {
  padding: 8px 12px;
  font-size: 16px;
  border: none;
  background-color: #3498db;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.search-form button:hover {
  background-color: #2980b9;
}

body {
  padding-bottom: 80px; /* ← フッターと被らないよう余白確保 */
}

main.main-content {
  padding-bottom: 80px; /* mainがあるページではこちらでもOK */
}

/* 共通にする例 */
main, header, footer {
  max-width: 600px;
  margin: 0 auto;
}
.footer {
  left: 0;
  right: 0;
}

/* common.css に追記またはselect-osi.cssに上書きで追加 */
footer.footer {
  max-width: 500px;
  margin: 0 auto;
}
