/*
 * 件数とボタンを1行に並べる（島根版 master-shimane-202607 の style.css から移植）
 * データセット内のキーワード検索欄は持たないため、検索欄の指定は移していない
 * 埼玉の css/saitama/style.css にも p-searchHit があり、__button に検索欄の幅を引いた
 * width: calc(100% - 390px) が付いているので、ここで width: auto に戻す
 */
.p-searchHit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  border-bottom: 1px dashed #e5e5e5;
  padding: .5em 0 1em;
}
.p-searchHit__count {
  display: flex;
  align-items: center;
  width: auto;
}
.p-searchHit__button {
  display: flex;
  width: auto;
  margin-left: auto;
}
.p-searchHit .__count {
  color: #006ce3;
  font-size: 216%;
  font-family: "Roboto", sans-serif;
  padding-right: .1em;
}
.p-searchHit__btns {
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 959px) {
  .p-searchHit {
    flex-direction: column;
    align-items: stretch;
    padding-top: 1em;
  }
  .p-searchHit__count, .p-searchHit__button {
    width: 100%;
  }
}

/* まとめてダウンロードのボタンの下に注釈を並べる */
.p-searchHit__button {
  flex-direction: column;
  align-items: flex-end;
}

.p-bundle-download-note {
  font-size: 86%;
  line-height: 1.5;
  margin: .5em 0 0;
  text-align: right;
}

/* 合計サイズが上限を超えるときの案内 */
.p-bundle-download-over {
  color: #ff0033;
  border: 1px solid #ff0033;
  border-radius: .5em;
  background: #fff;
  font-size: 93%;
  line-height: 1.5;
  padding: .5em .85em;
  margin: 0;
}

/* クリック後に無効化したダウンロードボタン */
a.c-btn.is-disabled,
a.c-btn.is-disabled:hover,
a.c-btn.is-disabled:focus {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}
