@charset "UTF-8";
.nm-result {
  display: grid;
}
@media print, screen and (width<768px) {
  .nm-result {
    row-gap: 24px;
  }
}
@media print, screen and (width>=768px) {
  .nm-result {
    row-gap: 32px;
  }
}

.nm-result-head {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
@media print, screen and (width<768px) {
  .nm-result-head {
    flex-direction: column;
  }
}
@media print, screen and (width>=768px) {
  .nm-result-head {
    justify-content: space-between;
    align-items: center;
  }
}
.nm-result-head__total {
  margin: 0;
}

.nm-data-total {
  display: flex;
  column-gap: 8px;
  align-items: baseline;
  font-size: 1.125rem;
  color: var(--color-sumi-700);
  margin: 0;
}
.nm-data-total__number {
  font-family: "EB Garamond", serif;
}
@media print, screen and (width<768px) {
  .nm-data-total__number {
    font-size: 1.5rem;
  }
}
@media print, screen and (width>=768px) {
  .nm-data-total__number {
    font-size: 2rem;
  }
}

.nm-result-loading,
.nm-result-error {
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 1.5;
}

.nm-result-main {
  display: grid;
}
@media print, screen and (width<768px) {
  .nm-result-main:has(.nm-transaction-case-card) {
    gap: 24px;
    grid-template-columns: 1fr;
  }
}
@media print, screen and (width>=768px) {
  .nm-result-main:has(.nm-transaction-case-card) {
    gap: 32px;
    grid-template-columns: repeat(3, 1fr);
  }
}

.nm-not-results {
  display: flex;
  align-items: center;
  column-gap: 10px;
  font-size: 1rem;
  color: var(--color-sumi-700);
  position: relative;
  border-top: solid 1px #ccc;
  margin: 0;
}
@media print, screen and (width<768px) {
  .nm-not-results {
    padding-top: 20px;
  }
}
@media print, screen and (width>=768px) {
  .nm-not-results {
    padding-top: 40px;
  }
}
.nm-not-results::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 0;
  background-image: url("/legalest-navi/common/images/svg-icons/icon_error.svg");
}

.nm-selected-conditions-view {
  background-color: #ffffff;
}
@media print, screen and (width<768px) {
  .nm-selected-conditions-view {
    padding: 20px;
  }
}
@media print, screen and (width>=768px) {
  .nm-selected-conditions-view {
    display: grid;
    column-gap: 16px;
    grid-template-areas: "heading detail-button" "contents contents";
    grid-template-columns: 1fr 303px;
    align-items: center;
    padding: 20px 30px;
  }
}
.nm-selected-conditions-view__heading {
  font-weight: normal;
  color: var(--color-gold-700);
  margin: 0;
}
@media print, screen and (width<768px) {
  .nm-selected-conditions-view__heading {
    font-size: 1.25rem;
  }
}
@media print, screen and (width>=768px) {
  .nm-selected-conditions-view__heading {
    grid-area: heading;
    font-size: 1.5rem;
  }
}
.nm-selected-conditions-view__contents {
  margin-top: 16px;
}
@media print, screen and (width>=768px) {
  .nm-selected-conditions-view__contents {
    grid-area: contents;
  }
}
@media print, screen and (width<768px) {
  .nm-selected-conditions-view__detail-button {
    margin: 24px auto 0;
  }
}
@media print, screen and (width>=768px) {
  .nm-selected-conditions-view__detail-button {
    grid-area: detail-button;
  }
}

.nm-selected-detail-button {
  display: flex;
  column-gap: 8px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 303px;
  color: #061b46;
  font-size: 1.125rem;
  text-align: center;
  line-height: 1;
  border: 1px solid #061b46;
  background-color: var(--color-sumi-50);
  padding: 20px;
  transition: all 0.25s;
  cursor: pointer;
}
.nm-selected-detail-button::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-color: var(--color-gold-700);
  -webkit-mask-image: url("/legalest-navi/common/images/svg-icons/icon_search.svg");
  mask-image: url("/legalest-navi/common/images/svg-icons/icon_search.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background-color 0.25s;
}
@media (hover: hover) {
  .nm-selected-detail-button:hover {
    color: #ffffff;
    border-color: var(--color-gold-700);
    background-color: var(--color-gold-700);
  }
  .nm-selected-detail-button:hover::before {
    background-color: #ffffff;
  }
}

.nm-selected-conditions {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  font-size: 0.875rem;
  line-height: 1.7;
  color: #333333;
}
.nm-selected-conditions__item {
  display: grid;
}
@media print, screen and (width<768px) {
  .nm-selected-conditions__item {
    grid-template-columns: calc(104px + 1em) 1fr;
    column-gap: 15px;
  }
}
@media print, screen and (width>=768px) {
  .nm-selected-conditions__item {
    grid-template-columns: calc(106px + 1em) 1fr;
    column-gap: 10px;
  }
}
.nm-selected-conditions__item + .nm-selected-conditions__item {
  margin-top: 16px;
}
.nm-selected-conditions__name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-navy-950);
}
.nm-selected-conditions__name::after {
  content: "：";
  display: block;
}
.nm-selected-conditions__data {
  font-size: 0.875rem;
  color: var(--color-navy-950);
  word-break: break-word;
}

.nm-case-pager {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 374.99px) {
  .nm-case-pager {
    column-gap: 10px;
  }
}
@media screen and (min-width: 375px) {
  .nm-case-pager {
    column-gap: 20px;
  }
}
@media print, screen and (width>=768px) {
  .nm-case-pager {
    column-gap: 40px;
  }
}
.nm-case-pager__buttons, .nm-case-pager__numbers {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 374.99px) {
  .nm-case-pager__buttons, .nm-case-pager__numbers {
    column-gap: 10px;
  }
}
@media screen and (min-width: 375px) {
  .nm-case-pager__buttons, .nm-case-pager__numbers {
    column-gap: 16px;
  }
}
.nm-case-pager__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 21px;
  height: 21px;
  color: var(--color-navy-800);
  font-size: 1.125rem;
  font-family: "EB Garamond", serif;
  line-height: 1;
  border-radius: 50%;
  transition-duration: 0.3s;
  transition-property: color, background-color;
  position: relative;
}
@media (hover: hover) {
  .nm-case-pager__button:hover {
    color: var(--color-gold-100);
    background-color: var(--color-navy-800);
  }
  .nm-case-pager__button:hover::before {
    background-color: var(--color-gold-100);
  }
}
.nm-case-pager__button.is-current {
  color: var(--color-gold-100);
  background-color: var(--color-navy-800);
}
.nm-case-pager__button:focus-visible {
  outline: 2px solid var(--color-navy-800);
  outline-offset: 2px;
}
.nm-case-pager__button--first::before, .nm-case-pager__button--prev::before, .nm-case-pager__button--next::before, .nm-case-pager__button--last::before {
  content: "";
  display: block;
  width: 21px;
  height: 21px;
  background-color: var(--color-navy-800);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.nm-case-pager__button--first::before {
  -webkit-mask-image: url("/legalest-navi/common/images/svg-icons/icon_pager-first.svg");
  mask-image: url("/legalest-navi/common/images/svg-icons/icon_pager-first.svg");
}
.nm-case-pager__button--prev::before {
  -webkit-mask-image: url("/legalest-navi/common/images/svg-icons/icon_pager-prev.svg");
  mask-image: url("/legalest-navi/common/images/svg-icons/icon_pager-prev.svg");
}
.nm-case-pager__button--next::before {
  -webkit-mask-image: url("/legalest-navi/common/images/svg-icons/icon_pager-next.svg");
  mask-image: url("/legalest-navi/common/images/svg-icons/icon_pager-next.svg");
}
.nm-case-pager__button--last::before {
  -webkit-mask-image: url("/legalest-navi/common/images/svg-icons/icon_pager-last.svg");
  mask-image: url("/legalest-navi/common/images/svg-icons/icon_pager-last.svg");
}
