@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% - 280px - 35px);
}

/* ======================================================
  * Contents
====================================================== */
/* ------------------------------------------------------
  * home-scroll
------------------------------------------------------ */
.home-scroll__wrap {
  position: relative;
  background-color: #f2f2f2;
}
.home-scroll__wrap.scroll-fixed {
  width: 100%;
  z-index: 9;
}
.home-scroll__inner {
  width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  background-color: #f2f2f2;
}
.home-search-wrap {
  width: 1200px;
  margin: 30px auto 0;
  padding: 12px 20px;
  background-color: #f2f2f2;
}

/*=== 検索窓 ===*/
.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: #f2f2f2;
  transform: translateX(-50%);
  z-index: 9999;
}
.gsc-control-searchbox-only {
  border: 1px solid #666;
  background-color: #fff;
  border-radius: 50px;
  overflow: hidden;
}
.home-search form.gsc-search-box,
.home-search table.gsc-search-box,
.home-search .gsc-input-box,
.home-search .gsc-search-button,
.home-search table.gsc-search-box td.gsc-input,
.home-search .gsib_a,
.home-search .gsst_b {
  margin: 0;
  padding: 0;
  border: none;
}
.home-search input.gsc-input {
  height: 40px !important;
  padding: 10px !important;
  background-position: top 50% left 10px !important;
}
.home-search .gsst_a .gscb_a {
  color: #b3b3b3;
}
.home-search .gsst_a:hover .gscb_a,
.home-search .gsst_a:focus .gscb_a {
  color: #b3b3b3;
  opacity: 0.7;
}
.home-search .gsc-search-button-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 32px;
  margin: 4px;
  padding: 0;
  border: none;
  outline: none;
  color: #fff;
  background-color: #666;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}
.home-search .gsc-search-button-v2:hover {
  opacity: 0.7;
}
.gsc-search-button-v2 svg {
  width: 18px;
  height: 18px;
}



/*=== 共通レイアウト ===*/
#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%;
}


/*=== 検索結果レイアウト ===*/
#searchResult .gsc-control-cse {
  padding: 0;
}
#searchResult .gs-result a.gs-image {
  border: none;
}
#searchResult .gs-web-image-box,
#searchResult .gs-promotion-image-box {
  margin-right: 10px;
}


/*=== ページングレイアウト ===*/
#searchResult .gsc-results .gsc-cursor-box {
  margin: 30px 0 20px;
}
#searchResult .gsc-results .gsc-cursor {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#searchResult .gsc-results .gsc-cursor-box .gsc-cursor-page {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin: 5px;
  padding: 2px;
  color: #232b35;
  font-size: 16px;
  text-align: center;
  background-color: #f2f2f2;
}
#searchResult .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
  color: #fff;
  background-color: #666;
}
#searchResult .gsc-results .gsc-cursor-box .gsc-cursor-page:hover {
  text-decoration: none;
  opacity: 0.7;
}


/*=== もしかして表示 ===*/
.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: #f2f2f2;
  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: 280px;
  margin: 57px 0 0 35px;
  font-size: 14px;
}
.side-item {
  margin-bottom: 15px;
}
.side-item dl {
  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;
}


@media screen and (max-width: 768px) {
  /*=== メインエリア ===*/
  .Header + * {
    padding-top: 106px;
  }
  .Main__inner {
    width: 100%;
    padding: 0 10px;
  }
  .home-content-wrap {
    display: block;
  }
  .home-content-wrap__body {
    width: 100%;
  }
  .home-scroll__inner {
    width: 100%;
    padding: 12px 15px;
  }
  .home-search-wrap {
    width: 100%;
    padding: 12px 15px;
  }
  /*=== 検索窓 ===*/
   .home-search {
    width: 100%;
  }
  /*=== ページングレイアウト ===*/
  #searchResult .gsc-results .gsc-cursor {
    justify-content: flex-start
  }
  /*=== 関連キーワード ===*/
  .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;
  }
}