@charset "utf-8";

/* CSS Document */
.hidden{
  display:none;
}
#wrap_siteSearch{
  margin-top: 8rem;
}
#wrap_siteSearch a[href*=".pdf"]::after,
#wrap_siteSearch a[href*=".PDF"]::after{
  content:none;
}
#area_siteSearch_result a[href*=".pdf"]::after, 
#area_siteSearch_result a[href*=".PDF"]::after, 
#area_siteSearch_result a[href$="xlsx"]::after, 
#wrap_siteSearch a[href$="xls"]::after,
#wrap_siteSearch a[href$="doc"]::after,
#wrap_siteSearch a[href$="docx"]::after{
  content:none;
}
#wrap_siteSearch a[href*=".pdf"] h2::before, 
#wrap_siteSearch a[href*=".PDF"] h2::before,
#wrap_siteSearch a[href$="xlsx"] h2::before, 
#wrap_siteSearch a[href$="xls"] h2::before,
#wrap_siteSearch a[href$="doc"] h2::before,
#wrap_siteSearch a[href$="docx"] h2::before{
  color: #373737;
  font-size: 1.3rem;
}
#wrap_siteSearch a[href*=".pdf"] h2::before, 
#wrap_siteSearch a[href*=".PDF"] h2::before{
  content: " [PDF] ";
}
#wrap_siteSearch a[href*=".xlsx"] h2::before, 
#wrap_siteSearch a[href*=".xls"] h2::before{
  content: " [XLS] ";
}
#wrap_siteSearch a[href*=".doc"] h2::before, 
#wrap_siteSearch a[href*=".docx"] h2::before{
  content: " [DOC] ";
}

.area_input_btn .btn_cmn{
  width: 100%;
  padding-right: 1.5rem;
}
/*よく検索されるワード*/
#area_suggest{
  margin-top: 2rem;
  display: flex;
}
#area_suggest p{
  font-weight: bold;
  white-space: nowrap;
}
#area_suggest .ul_suggest{
  display: flex;
  margin-left: 3rem;
  flex-wrap: wrap;
}
#area_suggest .ul_suggest li{
  border: solid 0.1rem #ddd;
  padding: 0 0.8rem;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
#area_suggest .ul_suggest li:hover{
opacity: 0.7;
}

/*ヒットした件数*/
#area_hitNumber{
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 96rem;
  margin: 3rem auto 0;
}
#area_hitNumber .flex_row{
  flex-wrap: nowrap;
}
#area_hitNumber .flex_row:first-of-type{
  align-items: baseline;
}
#area_hitNumber p{
  white-space: nowrap;
  margin-right: 1rem;
}
#area_hitNumber #hitword{
  font-size: 2.5rem;
  margin-right: 0.5rem;
}
#area_hitNumber .box_select select {
  padding: 0 1rem;
  width: 7rem;
}
#area_hitNumber .box_select::after{
  top:0.2rem
}

/*ヒット一覧*/
.ul_siteSearch_result li{
  border-bottom: solid 0.1rem #ddd;
  padding: 2.5rem 0;
}
.ul_siteSearch_result a{
  color: inherit;
  text-decoration: none;
}
.ul_siteSearch_result h2{
  color: #293382;
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 0.5rem
}
.ul_siteSearch_result .result_url{
  font-size: 1.2rem;
  color: #8a8a8a;
  text-decoration: underline;
  margin-top: 1rem;
}
.ul_siteSearch_result li:hover .result_url{
  text-decoration: none;
}
/*Pagination*/
#area_pagination{
  margin: 5rem auto 8rem;
}
.ul_pagination{
  display: flex;
  justify-content: center;
}
.page_numbers{
  border: solid 0.1rem #ddd;
  border-radius: 0.5rem;
  display: flex;
  margin: 0 0.5rem;
  line-height: 1;
  font-weight: bold;
  color: #8a8a8a;
  cursor: pointer;
  padding: 0.8rem 1.2rem;
}

.page_numbers.current_page{
  color: #FFF;
  background-color: #293382;
}
.next.page_numbers::before,
.prev.page_numbers::before{
  font-family: Material Icons;
  padding-left: 0.4rem;
}
.next.page_numbers::before{
  content: "\e5e1";
}
.prev.page_numbers::before{
  content: "\e5e0";
}

/*-------------------タブレット以下用-------------------*/
@media screen and (max-width: 1024px) {
  #wrap_siteSearch{
    margin-top: 5rem;
  }
  .area_input_btn{
    flex-direction: row;
    align-items: stretch;
  }
  .area_input_btn input{
    flex: 1;
  }
  .area_input_btn .box_btn{
    flex-basis: 10rem;
    margin-top: 0;
    margin-left: 1rem;
  }
  /*よく検索されるキーワード*/
  #area_suggest{
    flex-direction: column;
  }
  #area_suggest .ul_suggest {
    margin-left: 0;
    flex-wrap: wrap;
  }
  #area_suggest .ul_suggest li{
    margin-bottom: 0.5rem;
  }
  /*ヒットした件数*/
  #area_hitNumber{
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  #area_hitNumber .flex_row:first-of-type{
    flex-direction: column;
  }
  #area_hitNumber .flex_row:last-of-type{
    align-self: flex-end;
  }

}