/* 銀行・支店検索フォームのスタイル */
.bank-search-form {
  margin-bottom: 20px;
  position: relative;
  width: 90%;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bank-search-form input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.bank-search-form input[type="text"]:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

.bank-search-form input[type="text"][readonly] {
  background-color: #f8f8f8;
  color: #666;
}

.bank-search-form input[type="text"]:disabled {
  background-color: #f8f8f8;
  color: #999;
  cursor: not-allowed;
}

/* アクセシビリティ対応 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* キーボード操作のフォーカス表示 */
.bank-suggestion-item[aria-selected="true"] {
  background-color: #e3f2fd;
  outline: 2px solid #2196f3;
}

.bank-suggestion-item:focus {
  outline: 2px solid #2196f3;
  background-color: #e3f2fd;
}

/* サジェスト候補のスタイル */
.bank-suggestions {
  display: none;
  position: absolute;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  font-size: 17px;
  line-height: 1.8;
}

.bank-suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.bank-suggestion-item:last-child {
  border-bottom: none;
}

.bank-suggestion-item:hover {
  background-color: #f0f7ff;
}

@media screen and (max-width: 767.98px) {
.bank-suggestions {
  width: calc(100vw - 15%);
}
}

