@charset "UTF-8";

/*=== メインエリア ===*/
.wrap {
  min-width: 1200px;
}
.main-inner {
  padding-bottom: 0;
}
.main-column {
  display: flex;
  flex-flow: row wrap;
  width: 1200px;
  margin: 0 auto;
}
.main-body {
  flex-grow: 1;
  width: calc(100% - 280px - 35px);
}
.main-side {
  flex-shrink: 0;
  width: 280px;
  margin: 57px 0 0 35px;
  font-size: 14px;
}


/*=== 上部：検索窓 ===*/
.serviceHeader {
  background-color: var(--color-bg-main);
}
.serviceHeader-inner {
  justify-content: center;
}
.serviceHeader-head {
  min-height: 40px;
}


/*=== 下部：検索窓 ===*/
.searchBottom {
  width: 1200px;
  margin: 30px auto 0;
  padding: 10px 20px;
  background-color: var(--color-bg-main);
}


/*=== 検索窓 ===*/
.search {
  width: 940px;
  margin: 0 auto;
}
.gsc-control-searchbox-only {
  border: 1px solid var(--color-deco);
  background-color: var(--color-bg-base);
  border-radius: 50px;
  overflow: hidden;
}
.search form.gsc-search-box,
.search table.gsc-search-box,
.search .gsc-input-box,
.search .gsc-search-button,
.search table.gsc-search-box td.gsc-input,
.search .gsib_a,
.search .gsst_b {
  margin: 0;
  padding: 0;
  border: none;
}
.search form.gsc-search-box {
  max-width: 100%;
}
.search input.gsc-input {
  height: 40px !important;
  padding: 10px !important;
  background-position: top 50% left 10px !important;
}
.search .gsst_a .gscb_a {
  color: var(--color-border);
}
.search .gsst_a:hover .gscb_a,
.search .gsst_a:focus .gscb_a {
  color: var(--color-border);
  opacity: 0.7;
}
.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: var(--color-bg-base);
  background-color: var(--color-deco);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}
.search .gsc-search-button-v2:hover {
  opacity: 0.7;
}
.gsc-search-button-v2 svg {
  width: 18px;
  height: 18px;
}
.search .gsib_b {
  width: 40px;
  height: auto;
}


/*=== 共通レイアウト ===*/
#gspHederPageInfo {
  font-size: 80%;
  color: var(--color-txt-sub);
  margin: 15px 0 3px;
}
#bold {
  font-weight: bold;
}


/*=== 広告レイアウト ===*/
#ad {
  margin-bottom: 15px;
}
#adTitle {
  color: var(--color-bg-accent);
  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 .gs-webResult.gs-result a.gs-title:link,
#searchResult .gs-webResult.gs-result a.gs-title:link b,
#searchResult .gs-imageResult a.gs-title:link,
#searchResult .gs-imageResult a.gs-title:link b {
  color: #1a0dab;
  font-size: 20px;
}
#searchResult .gsc-control-cse,
#searchResult .gsc-control-cse .gsc-table-result {
  font-size: 14px;
}


/*=== ページングレイアウト ===*/
#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: var(--color-txt-main);
  font-size: 16px;
  text-align: center;
  background-color: var(--color-bg-main);
}
#searchResult .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
  color: var(--color-bg-base);
  background-color: var(--color-deco);
}
#searchResult .gsc-results .gsc-cursor-box .gsc-cursor-page:hover {
  text-decoration: none;
  opacity: 0.7;
}


/*=== サイドバー ===*/
.side-item {
  margin-bottom: 15px;
}
.side-item dl {
  padding: 20px 0;
  border-top: dotted 1px var(--color-border);
}
.side-item dt {
  margin-bottom: 3px;
}
.side-item dt:not(:first-child) {
    margin-top: 20px;
}
.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: var(--color-bg-base);
  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 var(--color-deco);
  font-size: 14px;
  background-color: var(--color-bg-base);
  border-radius: 50px;
  cursor: pointer;
  transition: all .2s ease-out 0s;
}
.searchHistoryPopup-btn:hover {
  opacity: 0.7;
}
.searchHistoryPopup-btn::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 10px;
  width: 8px;
  height: 12px;
  background-color: var(--color-deco);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  transform: translateY(-50%);
}


/*=== 検索履歴 ===*/
.searchHistory {
  display: none;
  clear: both;
  position: relative;
  zoom: 1;
}
.searchHistoryInner {
  margin-bottom: 20px;
  z-index: 9999;
}
.searchHistory .window {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  zoom: 1;
}
.searchHistory .window .list li {
  position: relative;
}
.searchHistory .window .list li.on {
  background: #e9f7fc;
}
.searchHistory .window .list a {
  display: block;
  min-height: 20px;
  padding: 5px 5px 1px 5px;
  border-top: solid 1px var(--color-bg-main);
  color: var(--color-bg-sub);
  font-size: 16px;
}
.searchHistory .window .list a:hover {
  text-decoration: none;
}
.searchHistory .window .list a .atsearchstyle {
  background: none !important;
}
.searchHistory .window .list span {
  position: absolute;
  top: 0;
  right: 10px;
  width: 14px;
  height: 26px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
}
.searchHistory .window p.txt {
  padding: 1px 5px;
}
.searchHistory .inner {
  padding: 0 2px;
 }
.searchHistory .option {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
  font-size: 13px;
  text-align: right;
  line-height: 1.12;
  background-color: var(--color-bg-main);
}
.searchHistory .option li {
  display: inline;
  font-weight: bold;
}
.searchHistory .option li a {
  color: var(--color-txt-main);
  font-weight: normal;
}
.searchHistory .option li a.active {
  font-weight: bold;
  pointer-events: none;
}
.searchHistory .option li a:visited {
  color: var(--color-txt-main);
}
.searchHistory .option li a:hover {
  text-decoration: underline
}


@media print, screen and (max-width: 768px) {
  /*=== メインエリア ===*/
  .wrap {
    min-width: auto;
  }
  .main-column {
    display: block;
    width: 100%;
    padding: 0 15px;
  }
  .main-body {
    width: 100%;
  }
  .main-side {
    width: 100%;
    margin: 40px 0 0;
  }
  /*=== 上部：検索窓 ===*/
  .serviceHeader-inner {
    padding: 10px 15px;
  }
  .is-scrollingUp .serviceHeader-head {
    padding: 10px 15px;
    background-color: var(--color-bg-main);
  }
  /*=== 下部：検索窓 ===*/
  .searchBottom {
    width: 100%;
    padding: 10px 15px;
  }
  /*=== 検索窓 ===*/
  .search {
    width: 100%;
  }
  /*=== ページングレイアウト ===*/
  #searchResult .gsc-results .gsc-cursor {
    justify-content: flex-start
  }
  /*=== サイドバー ===*/
  .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;
  }
}