/* 詳細検索の中身を1枚の白パネルにまとめ、外側に壁紙の余白を残す。 */
.ds-page {
  box-sizing: border-box;
  width: min(1200px, calc(100% - 32px));
  margin: 16px auto;
  padding: 12px;
  background: #F4F6F8;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}
body.p6d .ds-page .ds-search,
body.p6d .ds-page .p7-focus,
body.p6d .ds-page #pcShelf,
body.p6d .ds-page .ds-layout {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
body.p6d .ds-page .ds-search {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  padding: 0 0 8px;
  background: transparent;
  border: 0;
}
.ds-qbox {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
  background: #fff;
  border: 1px solid #9aa3b5;
  border-radius: 10px;
  overflow: hidden;
}
body.p6d .ds-page .ds-qbox input[type="search"] {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.ds-qbtn {
  flex: 0 0 46px;
  width: 46px;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid #9aa3b5;
  border-radius: 0;
  background: #fff;
  color: #1d316d;
  cursor: pointer;
}
.ds-qbtn:hover { background: #eef3ff; }
.ds-home {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background-color: #0c3483;
  background-image: linear-gradient(to top, #0c3483 0%, #a2b6df 100%, #6b8cce 100%, #a2b6df 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.ds-home:hover {
  color: #fff;
  background-color: #081f52;
  background-image: linear-gradient(to top, #081f52 0%, #0c3483 100%);
}
body.p6d .ds-filters { background: #fff; }
body.p6d .ds-filters .opt:hover,
body.p6d .ds-filters .facet > summary:hover { background: #E8F2FF; }
body.p6d .ds-filters .opt.is-selected,
body.p6d .ds-filters .opt.is-selected:hover,
body.p6d .ds-filters .facet.is-chosen > summary { background: #d4e6fa; }
body.p6d #more {
  border-color: #0c3483;
  background-color: #0c3483;
  background-image: linear-gradient(to top, #0c3483 0%, #a2b6df 100%, #6b8cce 100%, #a2b6df 100%);
  color: #fff;
  font-weight: 700;
}
body.p6d #more:hover {
  border-color: #081f52;
  background-color: #081f52;
  background-image: linear-gradient(to top, #081f52 0%, #0c3483 100%);
  color: #fff;
}
.page-top {
  position: fixed;
  right: calc(12px + env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  box-sizing: border-box;
  display: inline-flex;
  min-width: 60px;
  min-height: 48px;
  margin: 0;
  padding: 7px 10px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #082d70;
  border-radius: 24px;
  background-color: #0c3483;
  background-image: linear-gradient(to bottom, #5279bd 0%, #0c3483 62%, #081f52 100%);
  box-shadow: 0 3px 9px rgba(8, 31, 82, .34);
  color: #fff;
  font: 800 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  opacity: .94;
}
.page-top[hidden] { display: none; }
.page-top-arrow { font-size: 18px; line-height: 1; transform: translateY(-1px); }
.page-top:hover { background-image: linear-gradient(to bottom, #658bd0 0%, #164a91 62%, #0a2a62 100%); opacity: 1; }
.page-top:focus-visible { outline: 3px solid rgba(22, 74, 128, .34); outline-offset: 3px; }
.page-top:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .28); }
@media (prefers-reduced-motion: reduce) {
  .page-top { transition: none; }
}
@media (max-width: 599px) {
  .ds-page { width: calc(100% - 16px); margin: 8px auto; padding: 8px; }
  .page-top { right: calc(8px + env(safe-area-inset-right, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
}
