@charset "utf-8";

/* ======================================================
  * Main
====================================================== */
.Main__inner {
  margin: 0 auto;
  width: 1200px;
  padding: 0 20px;
}
.home-content-wrap {
  display: flex;
  flex-flow: row wrap;
}
.home-content-wrap__body {
  flex-grow: 1;
  width: calc(100% - 305px - 35px);
}

/* ======================================================
  * Contents
====================================================== */
/* ------------------------------------------------------
  * home-scroll
------------------------------------------------------ */
.home-scroll__wrap {
  position: relative;
}
.home-scroll__wrap.scroll-fixed {
  width: 100%;
  background-color: #f2f5f8;
  z-index: 9;
}
.home-scroll__inner {
  padding: 12px 20px;
  background-color: #f2f5f8;
}
.home-search-wrap {
  margin-top: 30px;
  padding: 28px 20px;
  background-color: #f2f5f8;
}

/*=== 検索窓 ===*/
.home-search {
  width: 940px;
  margin: 0 auto;
}
.home-search-scroll {
  position: relative;
}
.home-search-scroll.search-fixed {
  position: fixed;
  top: 0;
  left: 50%;
  width: 1160px;
  padding: 15px;
  background-color: #f2f5f8;
  transform: translateX(-50%);
  z-index: 9999;
}
.home-search__fieldset {
  display: flex;
  border: 1px solid #5f6b78;
  border-radius: 3px;
}
.home-search__input {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 10px;
  border: none;
  outline: none;
  flex-grow: 1;
  border-radius: 1px 0 0 1px;
}
.home-search__input::placeholder {
  color: #b1b1b1;
}
.home-search__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  width: 115px;
  height: 40px;
  border: none;
  outline: none;
  color: #fff;
  background-color: #5f6b78;
  border-radius: 0 1px 1px 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}
.home-search__submit:hover {
  opacity: .7;
}
.home-search__icon {
  display: block;
  margin-right: 9px;
}
.home-search__auxiliary {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 10px;
  background-color: #fff;
}


/*=== 共通レイアウト ===*/
#gspHederPageInfo {
  font-size: 80%;
  color: #70757A;
  margin: 15px 0 3px;
}
#bold {
  font-weight: bold;
}


/*=== 広告レイアウト ===*/
#ad {
  margin-bottom: 15px;
}
#adTitle {
  color: black;
  text-decoration: none;
  font-size: 70%;
}
#adLine1 {
  color: #1A0DAB;
  font-size: 120%;
}
#adLine2 {
  font-size: 80%;
}
#adLine3 {
  font-size: 80%;
}
#adPhone {
  font-size: 80%;
}


/*=== 検索結果レイアウト ===*/
#r {
  margin-bottom: 30px;
}
#r div:nth-child(2) {
  font-size: 13px;
  color: #006400;
  line-height: 25px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#r div:nth-child(3) {
  font-size: 13px;
  color: #212121;
  line-height: 23px;
}
#resTitle {
  padding-top: 7px;
  color: #1A0DAB;
  font-size: 120%;
}
#resContains {
  font-size: 80%;
}


/*=== ページングレイアウト ===*/
.pagination-wrap {
  margin-top: 40px;
  text-align: center;
}
ul.pagination {
  display: inline-block;
  padding: 0;
  margin: 0;
}
ul.pagination li {
  display: inline;
}
ul.pagination li a {
  float: left;
  min-width: 30px;
  height: 30px;
  margin: 5px;
  color: #232b35;
  text-decoration: none;
  line-height: 30px;
  background-color: #f0f1f2;
  transition: background-color .3s;
}
ul.pagination li a.active {
  background-color: #5f6b78;
  color: #fff;
}
ul.pagination li a:hover:not(.active) {
  opacity: 0.7;
}
ul.pagination li a#pagePrev,
ul.pagination li a#pageNext {
  position: relative;
  margin: 5px 20px;
  text-decoration: underline;
  background-color: transparent;
}
ul.pagination li a#pagePrev:hover,
ul.pagination li a#pageNext:hover {
  text-decoration: none;
}
ul.pagination li a#pagePrev::before,
ul.pagination li a#pageNext::after {
  content: "";
  display: inline-block;
  position: relative;
  top: -2px;
  left: 0;
  width: 8px;
  height: 8px;
  margin: 0 10px;
  border-top: 2px solid #5f6b78;
  border-right: 2px solid #5f6b78;
  transform: rotate(-135deg);
}
ul.pagination li a#pageNext::after {
  transform: rotate(45deg);
}


/*=== もしかして表示 ===*/
.srch_maybe {
  margin-bottom: 20px;
  font-size: small;
}
.srch_maybe ul {
  display: inline;
}
.srch_maybe li {
  display: inline;
  margin-left: 15px;
}
.srch_maybe a:link {
  color: #1a0dab;
}
.srch_maybe a:hover {
  color: #cc3434;
}


/*=== 関連キーワード ===*/
.srch_rel {
  margin-top: 30px;
}
.srch_rel ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: hidden;
  height: 100%;
  margin-top: 10px;
}
.srch_rel li {
  margin-top: 10px;
  width: calc((100% - 20px) / 2);
  white-space: normal;
}
.srch_rel a {
  display: block;
  position: relative;
  padding: 4px 20px 4px 60px;
  font-size: 20px;
  line-height: 1.6;
  background-color: #f2f5f8;
  border-radius: 5px;
}
.srch_rel a::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 20px;
  width: 21px;
  height: 21px;
  background: url(../images/search_ic_001.png) no-repeat center / 21px 21px;
}
.srch_rel a:link {
  color: #232b35;
}
.srch_rel a:hover {
  text-decoration: underline;
}


/*=== サイドバー ===*/
.home-content-wrap__sidebar {
  flex-shrink: 0;
  width: 305px;
  margin: 60px 0 0 35px;
  font-size: 14px;
}
.side-item {
  margin-bottom: 15px;
}
.side-item dl {
  width: 280px;
  padding: 20px 0;
  border-top: dotted 1px #ccc;
}
.side-item dt {
  margin-bottom: 3px;
}
.side-item dd {
  margin-bottom: 5px;
}
.side-item a:link,
.side-item a:visited {
  color: #1a0dab;
}
.side-item a:hover img {
  opacity: 0.7;
}


/*=== 検索履歴ポップアップ ===*/
.searchHistoryPopup {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  border-top: 5px solid #ffd700;
  background-color: #fff;
  z-index: 100;
}
.searchHistoryPopup-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  font-size: 14px;
  line-height: 1.2;
}
.searchHistoryPopup-cont {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
.searchHistoryPopup-note {
  padding-left: 1em;
  text-indent: -1em;
}
.searchHistoryPopup-detail {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 20px;
}
.searchHistoryPopup-btn {
  appearance: none;
  display: block;
  position: relative;
  width: 100px;
  height: 35px;
  margin-left: 10px;
  padding: 4px 0;
  border: 1px solid #d2dce6;
  font-size: 14px;
  background-color: #f2f5f8;
  border-radius: 5px;
  cursor: pointer;
  transition: all .2s ease-out 0s;
}
.searchHistoryPopup-btn::after {
  content: "";
  display: block;
  position: absolute;
  top: 46%;
  right: 10px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #5f6b78;
  border-right: 2px solid #5f6b78;
  transform: rotate(45deg) translateX(-50%);
}
.searchHistoryPopup-btn:hover {
  opacity: 0.7;
}


/*=== 検索履歴 ===*/
.searchHistory {
  display: none;
}
.searchHistoryInner {
  position: static;
  width: 100%;
  margin-bottom: 20px;
}
.searchHistory .window {
  border-top: 1px solid #b5c0b8;
}
.searchHistory .option {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  background-color: #f2f5f8;
}
.searchHistory .option a.active {
  font-weight: bold;
  pointer-events: none;
}
.searchHistory .window .list a {
  border-top: solid 1px #f2f5f8;
}


.Footer {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  /*=== メインエリア ===*/
  .Header + * {
    padding-top: 111px;
  }
  .Main__inner {
    width: 100%;
    padding: 0 10px;
  }
  .home-content-wrap {
    display: block;
  }
  .home-content-wrap__body {
    width: 100%;
  }
  .home-scroll__inner {
    padding: 12px 15px;
  }
  .home-search-wrap {
    margin-top: 30px;
    padding: 12px 15px;
  }
  /*=== 検索窓 ===*/
   .home-search {
    width: 100%;
  }
  .home-search__input {
    height: 45px;
    width: 100%;
  }
  .home-search__submit {
    display: block;
    width: 50px;
    height: 45px;
    font-size: 0;
  }
  .home-search__icon {
    margin: auto;
  }
  .srchAssistBtn a, .srchAssistBtn a:hover {
    top: -33px;
    width: 19px;
    height: 19px;
  }
  /*=== 関連キーワード ===*/
  .srch_rel ul {
    display: block;
  }
  .srch_rel li {
    width: 100%;
  }
  .srch_rel a {
    padding: 10px 20px 10px 60px;
    font-size: 14px;
  }
  /*=== サイドバー ===*/
  .home-content-wrap__sidebar {
    width: 100%;
    margin: 40px 0 0;
  }
  .side-item {
    margin-bottom: 15px;
  }
  .side-item dl {
    width: 100%;
  }
  .side-item dd a {
    display: block;
    text-align: center;
  }
  /*=== 検索履歴ポップアップ ===*/
  .searchHistoryPopup-inner {
    padding: 10px;
  }
  .searchHistoryPopup-cont {
    display: block;
  }
  .searchHistoryPopup-detail {
    justify-content: space-between;
    margin: 10px 0 0;
  }
  .searchHistoryPopup-note {
    font-size: 12px;
  }
  .searchHistoryPopup-btn {
    width: calc((100% - 20px) / 3);
    margin: 0;
  }
}