/** common query input area **/
.search .search_text {
  height: 40px;
  width: calc(100% - 62px) !important;
  padding: 5px 10px;
  border: 1px solid #081f51;
  box-sizing: border-box;
}
.search .search_result {
  font-size: 83.333%; /* reset user agent stylesheet */
  display: inline-block;
  height: 40px;
  width: 60px !important;
  margin-left: -6px;
  background-color: #081f51;
  border: 1px solid #081f51;
  box-sizing: border-box;
  cursor: pointer;
  color: #fff;
  position: relative;
}
.search .search_result.disabled {
  background-color: darkgray;
}
button.search_result:focus:before {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  bottom: -4px;
  left: -4px;
  border: 2px solid #081f51;
  border-radius: 5px;
}

/** query input area **/
.search_input {
  max-width: 1200px;
  margin: 0 auto;
  clear: both;
}
.search_input h1 {
  margin: 1em 2em;
  font-size: 120%;
}
.search_input_core {
  max-width: 480px;
  margin: 0 auto;
}
.search_input_core .search_detail_open_close a {
  text-decoration: underline;
  cursor: pointer;
  color: -webkit-link;
}
.search_input_core_button, .search_input_core_button .search {
  overflow: hidden;
}
.search_input_core_button .center_position {
  float: none;
}
.search_input_core_button .left_position {
  float: left;
}
.search_input_core_button .right_position {
  float: right;
}
body:not(.dev-mb) .search_input_core, 
body:not(.dev-mb) .search_input_core_button {
  text-align: center;  
}
body:not(.dev-mb) .search_input_core + div {
  max-width: 800px;
  margin: 0 auto;
  text-align: right;
}
body:not(.dev-sp):not(.dev-mb):not(.dev-tb) .search_custom_core{
  max-width: 1000px;
  margin: 0 auto;
}
.search {
  margin: 0.5em 0;
}
.detail_link {
  text-align: right;
}
/*.search_detail_link {
  text-align: right;
}*/
/*.search_detail.hidden {
  display: none;
}*/
.search_date {
  margin: 1em 0;
}
/*.search_date_input {
  margin-left: 1em;
}*/
.search_frame {
  text-align: center;
}
.search_frame_centered {
  display: inline-block;
  text-align: left;
}
.search_frame_fieldset {
  max-width: 52em;
  border-width: 2px;
  border-style: groove;
  border-color: ThreeDFace;
  border-radius: 5px;
  margin-bottom: 1em;
  display: inline-block;
  vertical-align: top;
}
.search_frame_category_fieldset {
  width: 15em;
  border-width: 2px;
  border-style: groove;
  border-color: ThreeDFace;
  border-radius: 5px;
  margin-bottom: 1em;
  display: inline-block;
  vertical-align: top;
}
.search_category_list {
  width: 15em;
  list-style: none;
  padding-left: 0em;
  height: 9em;
  overflow: auto;
}
.search_category_list li {
  display: inline-block;
  width: 48%;
  white-space: nowrap;
}
.search_category_list li div {
  overflow: hidden;
  text-overflow: ellipsis;
}
.search_form > .input.select {
  max-width: 800px;
  margin: 0 auto;
  text-align: right;
}
/** result output area **/
.search_output {
  max-width: 800px;
  margin: 0 auto;
}
.search_status {
  text-align: right;
  font-size: 90%;
}
.frame_area {
  margin: 1.5em 0;
}
.frame_area .hidden {
  display: none;
}
.frame_count {
  white-space: nowrap;
}
.frame_item {
  display: inline-block;
  width: 230px;
  padding: 8px;
  margin: 4px;
  border-width: 1px 1px 1px 5px;
  border-style: solid;
  border-color: rgb(8,31,81);
  /* 以下3点リーダーによる省略用 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame_show_all a {
  text-decoration: none;
}
.category_area {
  margin: 1.5em 0;
}
.category_area .hidden {
  display: none;
}
.category_count {
  white-space: nowrap;
}
.category_item {
  display: inline-block;
  width: 230px;
  padding: 8px;
  margin: 4px;
  border-width: 1px 1px 1px 5px;
  border-style: solid;
  border-color: rgb(8,31,81);
  /* 以下3点リーダーによる省略用 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page_title {
  /*
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  */
}
.page_date, .page_frame, .page_category {
  color: DarkSlateGray;
  margin-right: 1em;
}
.page_text {
  margin-top: 0.5em;
  margin-bottom: 1.5em;
  line-height: 1.5em;
  max-height: 4.5em;
  overflow: hidden;
}
.attach_title {
  margin-top: 1.5em;
  margin-left: 2em;
  color: DarkSlateGray;
}
.attach_text {
  margin-top: 0.5em;
  margin-bottom: 1.5em;
  margin-left: 2em;
  line-height: 1.5em;
  max-height: 4.5em;
  overflow: hidden;
}
.pages_no {
  text-align: center;
  margin: 2em;
}
.more_search {
  float: right;
}
.more_search div {
  display: inline-block;
}

/** paginator **/
.paginator {
  text-align: center;
}
.paginator_position {
  color: #999 !important;
  text-align: right;
}
.pagination {
  display: block;
  margin-left: -0.3125rem;
  min-height: 1.5rem;
}
.pagination li {
  float: none;
  display: inline-block;
}
.pagination li a {
  border-radius: 3px;
  transition: background-color 300ms ease-out;
  background: none;
  color: #999 !important;
  display: block;
  font-size: 1em;
  padding: 0.0625rem 0.625rem 0.0625rem;
  text-decoration: none !important;
}
.pagination .prev a, .pagination .next a, .pagination .first a, .pagination .last a {
  border: 1px solid #ddd;
  color: white !important;
  background: #248403;
}
.pagination .prev a:hover, .pagination .next a:hover, .pagination .first a:hover, .pagination .last a:hover {
  border: 1px solid #ddd;
  color: white !important;
  background: #112B4C;
}
.pagination .disabled a {
  background-color: #e6e6e6;
  pointer-events: none;
}
/*グーグルカスタム検索用*/
.gs_form {
  text-align: center;
}

/*詳細検索開閉ボタン用*/
.cms-public .search_detail_open_close {
  overflow: hidden;
}
.cms-public .search_detail_open_close:after {
  content: "";
  display: block;
  clear: both;
}
