[class*="_pbox-"] {
  margin: 0;
  padding: 0;
}

._pbox-refine-1 {
  margin-bottom: 20px;
}

._pbox-refine-1 ._title {
  margin-bottom: 10px;
}

._pbox-refine-1 ._refs {
  border: 1px solid #ccc;
  list-style-type: none;
  margin: 0;
  padding: 20px 0;
}

@media screen and (max-width: 798px) {
  ._pbox-refine-1 ._refs {
    padding: 15px 0;
  }
}

._pbox-refine-1 ._refs ._ref {
  display: inline-block;
  white-space: nowrap;
  padding: 0 10px;
  /* for ie-7 */
  *display: inline;
  *zoom: 1;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media screen and (max-width: 798px) {
  ._pbox-refine-1 ._refs ._ref {
    white-space: pre-wrap;
    padding: 0 15px 0;
  }

  ._pbox-refine-1 ._refs ._ref:nth-child(n + 2) {
    margin-top: 10px;
  }
}

._pbox-refine-1 ._refs ._ref ._text {
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-size: 1.4rem;
}

._pbox-refine-2 {
}
._pbox-refine-2 ._refs {
  border: 1px solid #ccc;
  list-style-type: none;
  margin: 0;
  padding: 10px 0;
}
._pbox-refine-2 ._refs ._ref {
  display: inline-block;
  white-space: nowrap;
  padding: 0 10px;
  /* for ie-7 */
  *display: inline;
  *zoom: 1;
}

._pbox-search-status {
  margin: 10px 0;
  /*float: left;*/
}
._pbox-search-status ._kwd {
  font-weight: bold;
}
._pbox-search-status ._cstart {
  font-weight: bold;
}
._pbox-search-status ._cend {
  font-weight: bold;
}
._pbox-search-status ._totalhits {
  font-weight: bold;
}

._pbox-sort-selector {
  margin: 10px 0;
  text-align: right;
}

@media screen and (max-width: 798px) {
  ._pbox-sort-selector {
    text-align: left;
  }
}

._pbox-sort-selector ._sorts {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

._pbox-sort-selector ._title,
._pbox-sort-selector ._sort {
  display: inline-block;
  white-space: nowrap;
  padding: 0 10px;
  margin: 0;
  /* for ie-7 */
  *display: inline;
  *zoom: 1;
}

@media screen and (max-width: 798px) {
  ._pbox-sort-selector ._title {
    padding-left: 0;
  }
}

._pbox-sort-selector ._sort._selected {
  font-weight: bold;
}

._pbox-count-selector {
  margin: 10px 0;
  text-align: right;
}

@media screen and (max-width: 798px) {
  ._pbox-count-selector {
    text-align: left;
  }
}

._pbox-count-selector ._counts {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

._pbox-count-selector ._title,
._pbox-count-selector ._count {
  display: inline-block;
  white-space: nowrap;
  padding: 0 10px;
  margin: 0;
  /* for ie-7 */
  *display: inline;
  *zoom: 1;
}

@media screen and (max-width: 798px) {
  ._pbox-count-selector ._title {
    padding-left: 0;
  }
}

._pbox-count-selector ._count._selected {
  font-weight: bold;
}

._pbox-related {
  padding: 10px 0;
  margin: 10px 0;
}
._pbox-related ._title {
  margin-right: 15px;
}
._pbox-related ._kwd {
  margin-right: 10px;
}

.pbox-recommend {
  margin: 20px 0px;
  background: #F4F7FA;
  gap: 20px;
}

._pbox-recommend {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  padding: 20px 30px 30px 30px;
}

@media screen and (max-width: 798px) {
  ._pbox-recommend {
  align-items: center;
  padding: 15px 20px 20px 20px
  }
}

._pbox-recommend ._caption {
  font-weight: bold;
  font-size: 2rem;
  font-family: YakuHanMP, "Noto Serif JP", serif;
  color: #004F9D;
  line-height: 180%;
}

._pbox-recommend ._records > div:not(:first-child) {
  margin-top: 20px;
}
._pbox-recommend ._records ._record {
  padding: 0;
}

@media screen and (min-width: 799px) {
  ._pbox-recommend ._records ._record {
    position: relative;
    padding-left: 170px;
  }

  ._pbox-recommend ._records ._record:has(img){
    min-height: 116px;
  }
}

@media screen and (max-width: 798px) {
    ._pbox-recommend ._records ._record {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

._pbox-recommend ._title a{
  color: #004F9D;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  text-decoration: none;
}

@media screen and (min-width: 799px) {
  ._pbox-recommend ._records ._record ._image:has(img) {
    width: 140px;
    position: absolute;
    left: 0;
    top: 0;
    height: 116px;
    overflow: hidden;
    margin-right: 30px;
  }
}

._pbox-recommend ._records ._record ._image  {
  text-align: center;
}

._pbox-recommend ._records ._record ._image img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 798px) {
  ._pbox-recommend ._records ._record ._image img {
    width: 139px;
  }
}

._pbox-recommend ._records ._record ._title {
  margin-bottom: 5px;
}

@media screen and (max-width: 798px) {
  ._pbox-recommend ._records ._record ._title {
  margin-bottom: 0;
}
}

._pbox-recommend ._records ._record ._summary {
  overflow: hidden;
  font-size: 12px;
}

._pbox-recommend ._records ._record ._url {
  margin-top: 20px;
  overflow: hidden;
  font-size: 12px;
}

@media screen and (max-width: 798px) {
  ._pbox-recommend ._records ._record ._url {
    margin-top: 10px;
  }
}

._pbox-searchresult {
  margin-bottom: 20px;
}
._pbox-searchresult ._records ._record {
  padding: 10px;
  display: block;
  position: relative;
  margin-bottom: 30px;
}

._pbox-searchresult ._records ._record:last-child {
  margin-bottom: 0;
}

._pbox-searchresult ._records ._record:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}
._pbox-searchresult ._records ._record ._id {
  display: none;
}
._pbox-searchresult ._records ._record ._title {
  font-family: YakuHanMP, "Noto Serif JP", serif;
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.8;
  font-size: 2rem;
  text-decoration: none;
}

._pbox-searchresult ._records ._record ._title a {
  text-decoration: none;
  color: #004f9d;
}

._pbox-searchresult ._records ._record ._title a:hover {
  border-bottom: 1px solid #004f9d;
}

@media screen and (max-width: 798px) {
  ._pbox-searchresult ._records ._record ._title {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
}

._pbox-searchresult ._records ._record ._thumb {
  float: left;
}
@media screen and (max-width: 798px) {
  ._pbox-searchresult ._records ._record ._thumb {
    float: none;
    width: 100%;
    margin: 0 auto 15px;
    text-align: center;
  }
}

._pbox-searchresult ._records ._record ._thumb img {
  max-width: 150px;
  max-height: 150px;
  margin-right: 30px;
  border: 1px solid #ccc;
}

@media screen and (max-width: 798px) {
  ._pbox-searchresult ._records ._record ._thumb img {
    margin-right: 0;
  }
}

._pbox-searchresult ._records ._record ._thumb img:hover {
  border: 1px solid #666;
}
* html ._pbox-searchresult ._records ._record ._thumb img {
  width: expression(this.width > 150 ? "150px": "auto");
  height: expression(this.height > 150 ? "150px": "auto");
}

._pbox-searchresult ._records ._record ._pdfthumb {
  float: left;
}
._pbox-searchresult ._records ._record ._pdfthumb img {
  cursor: pointer;
  max-width: 150px;
  max-height: 150px;
  margin-right: 18px;
  border: 1px solid #ccc;
}
._pbox-searchresult ._records ._record ._pdfthumb img:hover {
  border: 1px solid #666;
}
* html ._pbox-searchresult ._records ._record ._pdfthumb img {
  width: expression(this.width > 150 ? "150px": "auto");
  height: expression(this.height > 150 ? "150px": "auto");
}

._pbox-searchresult ._records ._record ._pdfthumb ._pdfpage {
  text-align: center;
  font-size: 12px;
  margin-right: 18px;
}
._pbox-searchresult ._records ._record ._pdfthumbs {
}
._pbox-searchresult ._records ._record ._pdfthumbs ul {
  list-style: none;
  display: inline-block;
  margin: 0;
  padding: 0;
  font-size: 0;
}
._pbox-searchresult ._records ._record ._pdfthumbs ._pdfthumb {
  display: inline-block;
  margin-right: 5px;
}
._pbox-searchresult ._records ._record ._pdfthumbs ._pdfthumb:last-child {
  margin-right: 0;
}
._pbox-searchresult ._records ._record ._pdfthumbs ._pdfthumb ._pdfpage {
  text-align: center;
  font-size: 12px;
}
._pbox-searchresult ._records ._record ._pdfthumbs ._pdfthumb img {
  cursor: pointer;
  max-width: 80px;
  max-height: 80px;
  border: 1px solid #ccc;
}
._pbox-searchresult ._records ._record ._pdfthumbs ._pdfthumb img:hover {
  border: 1px solid #666;
}

._pbox-searchresult ._records ._record ._metaimg1 {
  margin-bottom: 5px;
}
._pbox-searchresult ._records ._record ._metaimg1 img {
  border: 1px solid #ccc;
}
._pbox-searchresult ._records ._record ._pdftitle,
._pbox-searchresult ._records ._record ._title {
  margin-bottom: 5px;
}
._pbox-searchresult ._records ._record ._nearby {
  font-size: 0.9em;
  margin-bottom: 5px;
  overflow: hidden;
}
._pbox-searchresult ._records ._record ._nearby em {
  font-weight: bold;
  font-style: normal;
  background-color: yellow;
}
._pbox-searchresult ._records ._record ._url {
  font-size: 0.9em;
  width: calc(100% - 180px);
  overflow: hidden;
  float: right;
}

@media screen and (max-width: 798px) {
  ._pbox-searchresult ._records ._record ._url {
    width: 100%;
    float: none;
    overflow: visible;
    word-break: break-all;
  }
}

._pbox-pagenav {
  margin-top: 60px;
  padding: 35px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
}

@media screen and (max-width: 768px) {
  ._pbox-pagenav {
    padding: 25px 0;
    margin: 40px 0 0;
  }
}

._pbox-pagenav ._navs {
  text-align: center;
  width: 1000px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  ._pbox-pagenav ._navs {
    width: auto;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
  }
}

._pbox-pagenav ._navs ._prev._noanc,
._pbox-pagenav ._navs ._prev {
  text-decoration: none;
  font-size: 2rem;
  color: #fff;
  padding: 0;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  pointer-events: all;
  cursor: pointer;
  position: relative;
  float: left;
}

@media screen and (max-width: 798px) {
  ._pbox-pagenav ._navs ._prev._noanc,
  ._pbox-pagenav ._navs ._prev {
    position: absolute;
    left: 0;
  }
}

._pbox-pagenav ._navs ._prev._noanc::before,
._pbox-pagenav ._navs ._prev::before {
  font-family: "icon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-indent: 0;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  color: #004f9d;
  margin-right: 20px;
  top: -2px;
  position: relative;
}

._pbox-pagenav ._navs ._prev._noanc::after,
._pbox-pagenav ._navs ._prev::after {
  content: "前へ";
  color: #000;
  position: absolute;
  display: inline-block;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  line-height: 1;
  font-size: 2rem;
}

._pbox-pagenav ._navs ._prev._noanc:hover::after,
._pbox-pagenav ._navs ._prev:hover::after {
  color: #004f9d;
}

@media screen and (min-width: 769px) {
  ._pbox-pagenav ._navs ._prev._noanc,
  ._pbox-pagenav ._navs ._prev {
    margin-top: 5px;
  }
}

@media screen and (max-width: 768px) {
  ._pbox-pagenav ._navs ._prev._noanc,
  ._pbox-pagenav ._navs ._prev {
    font-size: 1.4rem;
  }

  ._pbox-pagenav ._navs ._prev._noanc::after,
  ._pbox-pagenav ._navs ._prev::after {
    font-size: 1.4rem;
  }

  ._pbox-pagenav ._navs ._prev._noanc::before,
  ._pbox-pagenav ._navs ._prev::before {
    margin-right: 20px;
    font-size: 1.6rem;
    top: 0;
  }
}

._pbox-pagenav ._navs ._next {
  text-decoration: none;
  font-size: 2rem;
  color: transparent;
  padding: 0;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  pointer-events: all;
  cursor: pointer;
  position: relative;
  float: right;
}

@media screen and (min-width: 769px) {
  ._pbox-pagenav ._navs ._next {
    margin-top: 5px;
  }
}

@media screen and (max-width: 798px) {
  ._pbox-pagenav ._navs ._next {
    position: absolute;
    right: 0;
    top: 0;
  }
}

._pbox-pagenav ._navs ._prev._noanc,
._pbox-pagenav ._navs ._prev a {
  color: transparent;
  position: relative;
  z-index: 1;
  padding: 0 15px 0;
  display: inline-block;
  margin-left: -30px;
}

._pbox-pagenav ._navs ._next a {
  color: transparent;
  position: relative;
  z-index: 1;
  padding: 0 15px 0;
  display: inline-block;
  margin-right: -30px;
}

._pbox-pagenav ._navs ._next::after {
  font-family: "icon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-indent: 0;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  color: #004f9d;
  margin-left: 20px;
  top: -2px;
  position: relative;
  transform: rotate(180deg);
  display: inline-block;
}

._pbox-pagenav ._navs ._next::before {
  content: "次へ";
  color: #000;
  position: absolute;
  display: inline-block;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  line-height: 1;
  font-size: 2rem;
}

._pbox-pagenav ._navs ._next:hover::before {
  color: #004f9d;
}

@media screen and (max-width: 768px) {
  ._pbox-pagenav ._navs ._next {
    font-size: 1.4rem;
  }

  ._pbox-pagenav ._navs ._next::before {
    font-size: 1.4rem;
  }

  ._pbox-pagenav ._navs ._next::after {
    top: -1px;
  }
}

._pbox-pagenav ._page {
  list-style: none;
  margin: 0 0.5em;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

@media screen and (max-width: 798px) {
  ._pbox-pagenav ._page {
    margin: 40px 0.1em 0;
  }
}

._pbox-pagenav ._page a {
  width: 35px;
  height: 35px;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1;
  text-align: center;
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

@media screen and (min-width: 769px) {
  ._pbox-pagenav ._page a:hover::before {
    display: none;
  }
}

@media screen and (max-width: 798px) {
  ._pbox-pagenav ._page a {
    font-size: 1.8rem;
  }
}

._pbox-pagenav ._page a::before {
  position: absolute;
  width: 0.8em;
  height: 1px;
  background: #000;
  display: inline-block;
  bottom: 4px;
  content: "";
}

._pbox-pagenav ._page._cur {
  width: 35px;
  height: 35px;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1;
  text-align: center;
  color: #004f9d;
  font-weight: bold;
  text-decoration: none;
  position: relative;
}

@media screen and (max-width: 798px) {
  ._pbox-pagenav ._page._cur {
    font-size: 1.8rem;
  }
}

.pbox-pagenav + .pbox-searchresult {
  margin-top: 60px;
}

@media screen and (max-width: 798px) {
  .pbox-pagenav + .pbox-searchresult {
    margin-top: 30px;
  }
}

#proboOverlay .container {
  position: fixed;
  left: 50%;
  top: 40%;
  _position: absolute;
  height: auto;
  margin-left: -240px;
  margin-top: -180px;
  z-index: 10000;
  background-color: transparent;
}
#proboOverlay .container img {
  max-width: 480px;
  max-height: 450px;
  height: auto;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border: 2px solid #ccc;
  box-shadow: 5px 5px 3px #999;
  -moz-box-shadow: 5px 5px 3px #999;
  -webkit-box-shadow: 5px 5px 3px #999;
}
* html #proboOverlay .container img {
  width: expression(this.width > 480 ? "480px": "auto");
  height: expression(this.height > 450 ? "450px": "auto");
}

#proboOverlay {
  overflow: auto;
  height: 100%;
}

#proboViewer {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.6);
}

#proboViewer ._wrapper {
  background-color: #fefefe;
  margin: 5px auto;
  padding: 5px;
  border: 1px solid #888;
  width: 97%;
}
#proboViewer ._close {
  color: #666;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
#proboViewer ._close:hover {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
#proboViewerInfo {
}
#proboViewerTab {
}
#proboViewerTab ._tabs {
  font-size: 0.9em;
  margin: 5px 0;
  overflow: hidden;
  width: 90%;
}
#proboViewerTab ._tabs ._tab {
  display: inline-block;
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px;
  transition: 0.3s;
  border: 1px solid #ccc;
}
#proboViewerTab ._tabs ._tab._selected {
  font-weight: bold;
  border-bottom: none;
  cursor: auto;
}
#proboViewerCont {
  /*overflow: auto;*/
  overflow-y: hidden;
  max-height: 90%;
}
#proboViewerCont ._pdfslide {
  position: relative;
  text-align: center;
}
#proboViewerCont ._pdfinfo {
  font-size: 0.9em;
  padding: 5px auto;
  width: 90%;
}
#proboViewerCont ._pdfrec {
  width: 200px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #ccc;
  display: inline-block;
  margin: 15px;
  text-align: center;
}
#proboViewerCont ._pdfrec ._pdfthumb {
  border-radius: 5px 5px 0 0;
  padding: 10px 10px 0 10px;
  max-width: 200px;
  max-height: 200px;
  height: auto;
  cursor: pointer;
}
#proboViewerCont ._pdfrec ._pdfthumb img {
  max-width: 180px;
  max-height: 180px;
  border: 1px solid #ccc;
}
#proboViewerCont ._pdfrec ._pdfpage {
  padding: 5px;
}
#proboViewerCont ._pdfslide ._pdfthumb {
  max-width: 100%;
}
#proboViewerCont ._pdfslide ._pdfthumb img {
  border: 1px solid #ccc;
  max-height: 800px;
  max-width: 99%;
}
#proboViewerCont ._pdfslide ._pdfprev,
#proboViewerCont ._pdfslide ._pdfnext {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: #666;
  font-weight: bold;
  font-size: 28px;
  transition: 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
}
#proboViewerCont ._pdfslide ._pdfprev:hover,
#proboViewerCont ._pdfslide ._pdfnext:hover {
  color: #000;
}
#proboViewerCont ._pdfnext {
  right: 0;
}
#proboViewerCont ._pdfslide ._pdfprev._noanc,
#proboViewerCont ._pdfslide ._pdfnext._noanc {
  visibility: hidden;
}
#proboViewerCont ._pdfslide ._pdfurl {
  position: relative;
  display: inline-block;
}
#proboViewerCont ._pdfslide ._pdfurlhint {
  visibility: hidden;
  white-space: nowrap;
  background-color: #555;
  color: #fff;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}
#proboViewerCont ._pdfslide ._pdfurl:hover ._pdfurlhint {
  visibility: visible;
  opacity: 1;
}

.contents-search {
  border-bottom: 1px solid #ddd;
  margin-bottom: 40px;
  padding-bottom: 50px;
}

@media screen and (max-width: 798px) {
  .contents-search {
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
}

.contents-search__input {
  width: calc(50 / 100 * 100%);
  margin: auto;
  position: relative;
  background-color: #f2f0e8;
}

@media screen and (max-width: 798px) {
  .contents-search__input {
    width: calc(90 / 100 * 100%);
  }
}

.contents-search__btn {
  display: block;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 48px;
  height: 48px;
  z-index: 0;
}

.contents-search__btn::after {
  font-family: "icon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-indent: 0;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "";
  font-size: 2.2rem;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  z-index: -1;
}

.contents-search__btn input[type="submit"] {
  position: absolute;
  right: 0px;
  top: 0px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: none;
  width: 48px;
  height: 48px;
  cursor: pointer;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  padding: 0;
  font-size: 0;
}
