.nm-mv-slider-layout {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  padding-bottom: 12px;
  color: var(--color-sumi-700);
}
@media print, screen and (width<768px) {
  .nm-mv-slider-layout {
    margin-right: -24px;
    margin-left: -24px;
  }
}
@media print, screen and (width>=768px) {
  .nm-mv-slider-layout {
    padding: 0;
  }
}
@media print, screen and (width>=768px) {
  .nm-mv-slider-layout__title {
    position: absolute;
    right: 0;
    bottom: 12px;
  }
}

.nm-site-title {
  margin: 0;
  font-size: 0.6875rem;
  color: var(--color-sumi-700);
  text-align: right;
}
@media print, screen and (width<768px) {
  .nm-site-title {
    padding: 0 24px;
  }
}
@media print, screen and (width>=768px) {
  .nm-site-title {
    position: absolute;
    right: 0;
    bottom: 12px;
  }
}

.nm-mv-slider-items {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
}
@media print, screen and (width>=768px) {
  .nm-mv-slider-items {
    position: absolute;
    bottom: 56px;
    left: 0;
    padding: 0;
  }
}
.nm-mv-slider-items__item {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.nm-mv-slider-items__item--progressbar {
  position: relative;
  width: 160px;
}

.nm-mv-slider img {
  width: 100%;
  height: auto;
}

.nm-mv-slider-progressbar {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 7px !important;
  margin-top: 7px;
  background-color: transparent;
}
.nm-mv-slider-progressbar::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  content: "";
  background-color: rgba(41, 56, 87, 0.15);
}
.nm-mv-slider-progressbar__fill {
  position: relative;
  top: -2px;
  width: 0;
  height: 1px;
  background-color: var(--color-gold-700);
  transform: translateY(-50%);
}
.nm-mv-slider-progressbar__point {
  position: relative;
  top: 1px;
  width: 7px;
  height: 7px;
  content: "";
  background-color: var(--color-gold-700);
  border-radius: 50%;
  transition-duration: 2000ms;
  transform: translateY(-50%);
}

.nm-mv-slider-prev,
.nm-mv-slider-next {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 20px;
  height: 20px;
  margin-top: 0;
}
.nm-mv-slider-prev .nm-icon,
.nm-mv-slider-next .nm-icon {
  width: 20px;
  height: 20px;
  color: var(--color-navy-800);
}

.nm-mv-slider-fraction {
  display: flex;
  gap: 20px;
  padding: 0 12px;
  font-family: "EB Garamond", serif;
  font-size: 0.8125rem;
  color: var(--color-navy-800);
}

.nm-solution-layout__heading {
  display: flex;
  flex-direction: column;
  margin: 0;
}
@media print, screen and (width>=768px) {
  .nm-solution-layout__heading {
    flex-direction: row;
    column-gap: 16px;
    align-items: baseline;
  }
}
@media print, screen and (width>=768px) {
  .nm-solution-layout__heading .nm-en-heading__jp {
    font-size: 1.5rem;
  }
}
.nm-solution-layout__img {
  width: 100%;
  max-width: 655px;
  height: auto;
  padding-top: 32px;
}
@media print, screen and (width>=768px) {
  .nm-solution-layout__img {
    max-width: 1040px;
    padding-top: 40px;
  }
}
.nm-solution-layout__text {
  margin-top: 24px;
  color: var(--color-gold-100);
}
@media print, screen and (width>=768px) {
  .nm-solution-layout__text {
    text-align: center;
  }
}

.nm-top-parallax-area {
  width: 100%;
  height: 140px;
}
@media print, screen and (width>=768px) {
  .nm-top-parallax-area {
    height: 200px;
  }
}
.nm-top-parallax-area::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100vh;
  content: " ";
  background-image: url(/legalest-navi/images/ph_top_parallax_sp.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
@media print, screen and (width>=768px) {
  .nm-top-parallax-area::before {
    background-image: url(/legalest-navi/images/ph_top_parallax_pc.jpg);
  }
}

.nm-top-service-layout {
  position: relative;
  display: grid;
  gap: 24px;
}
@media print, screen and (width>=768px) {
  .nm-top-service-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 160px;
    align-items: flex-start;
  }
  .nm-top-service-layout::after {
    position: absolute;
    top: 0;
    left: 50%;
    display: inline-block;
    width: 1px;
    height: 100%;
    content: "";
    background-color: rgba(41, 56, 87, 0.15);
  }
}
@media print, screen and (width>=768px) {
  .nm-top-service-layout__title {
    position: sticky;
    top: 64px;
    left: 0;
    padding-top: 64px;
    margin-top: -64px;
  }
}
.nm-top-service-layout__contents {
  display: grid;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(41, 56, 87, 0.15);
}
@media print, screen and (width>=768px) {
  .nm-top-service-layout__contents {
    border-top: none;
  }
}

.nm-top-pages-wrap {
  display: grid;
}
@media print, screen and (width>=768px) {
  .nm-top-pages-wrap {
    position: relative;
    grid-template-columns: repeat(2, 1fr);
    border-right: 1px solid rgba(41, 56, 87, 0.15);
    border-left: 1px solid rgba(41, 56, 87, 0.15);
  }
  .nm-top-pages-wrap::after {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    content: "";
    background-color: rgba(41, 56, 87, 0.15);
  }
}

.nm-top-pages-layout {
  position: relative;
  padding: 32px 0 40px;
  text-decoration: none;
}
@media print, screen and (width>=768px) {
  .nm-top-pages-layout {
    padding: 64px 56px;
  }
}
@media print, screen and (width<768px) {
  .nm-top-pages-layout:not(:first-child)::before {
    position: absolute;
    top: 0;
    left: -24px;
    width: calc(100% + 48px);
    height: 1px;
    content: "";
    background-color: rgba(41, 56, 87, 0.15);
  }
}
@media print, screen and (width>=768px) {
  .nm-top-pages-layout:nth-child(2n) {
    padding-left: 88px;
  }
}
.nm-top-pages-layout__heading-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nm-top-pages-layout__heading-block .nm-heading--level-1 {
  font-size: 2rem;
}
@media print, screen and (width>=768px) {
  .nm-top-pages-layout__heading-block .nm-heading--level-1 {
    font-size: 2.5rem;
  }
}
.nm-top-pages-layout__heading-block .nm-ripple-link-layout__icon {
  transform: translateX(12px);
}
.nm-top-pages-layout__lead {
  margin: 20px 0 0;
  font-size: 0.8125rem;
}

@media print, screen and (width>=960px) {
  .nm-news-layout {
    display: flex;
    gap: 0 80px;
  }
  .nm-news-layout__heading {
    flex-shrink: 0;
  }
  .nm-news-layout__lists {
    flex-grow: 1;
  }
}
