/*-----------------------------------------------------
  components.css（revA-2025-Full+）
  目的：共通UI（ボタン／バッジ／アーカイブヘッダ／
        ACFフォーム調整／トースト通知）
------------------------------------------------------*/

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  border-radius: 6px;
  border: 1px solid #003f88;
  background: #003f88;
  color: #fff;
  padding: .45em .9em;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover {
  background: #002d62;
}

.btn-add {
  background: #fff;
  color: #003f88;
  border: 1px solid #003f88;
}
.btn-add:hover {
  background: #003f88;
  color: #fff;
}

.btn-danger {
  background: #eee;
  border-color: #eee;
  color: #222;
}
.btn-danger:hover {
  background: #ccc;
}

/* Archive header */
.archive-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.archive-head h1 {
  font-size: 1.4rem;
  color: #003f88;
}

/* ACF field調整 */
.acf-field label {
  font-weight: 600;
  color: #222;
  margin-bottom: .3rem;
  display: inline-block;
}
.acf-input input, .acf-input textarea, .acf-input select {
  font-family: inherit;
  font-size: 1rem;
}

/* Toast */
.infohub-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 4px;
  opacity: 0;
  transition: opacity .2s;
  z-index: 3000;
}
.infohub-toast.show {
  opacity: 1;
}
