.p-service-main {
  position: relative;
}
@media screen and (min-width: 835px) {
  .p-service-main {
    padding-bottom: min(8.333vw, 132px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-main {
    padding-bottom: min(25.333vw, 104.5px);
  }
}
.p-service-main__visual {
  width: 100%;
  overflow: hidden;
}
@media screen and (min-width: 835px) {
  .p-service-main__visual {
    border-radius: min(0.556vw, 8.8px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-main__visual {
    border-radius: min(2.133vw, 8.8px);
  }
}
.p-service-main__title {
  font-weight: var(--fw-500);
  line-height: var(--lh-150);
}
@media screen and (min-width: 835px) {
  .p-service-main__title {
    font-size: clamp(20.4px, 1.667vw, 26.4px);
    text-align: center;
    margin-top: min(4.167vw, 66px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-main__title {
    font-size: clamp(17px, 5.333vw, 22px);
    margin-top: min(10.667vw, 44px);
  }
}
.p-service-main__text {
  line-height: var(--lh-200);
}
@media screen and (min-width: 835px) {
  .p-service-main__text {
    font-size: clamp(13.6px, 1.111vw, 17.6px);
    text-align: center;
    margin-top: min(2.222vw, 35.2px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-main__text {
    font-size: clamp(11.9px, 3.733vw, 15.4px);
    margin-top: min(4vw, 16.5px);
  }
}

.p-service-section {
  width: 100%;
  position: relative;
}
@media screen and (min-width: 835px) {
  .p-service-section {
    padding-block: min(5.556vw, 88px);
  }
  .p-service-section::after {
    content: "";
    width: calc(100% - min(5.556vw, 88px));
    height: 100%;
    background-color: var(--bg-blue);
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
  }
  .p-service-section.--reverse::after {
    right: auto;
    left: 0;
  }
}
@media screen and (min-width: 835px) {
  .p-service-section + .p-service-section {
    margin-top: min(5.556vw, 88px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-section + .p-service-section {
    margin-top: min(16vw, 66px);
  }
}
.p-service-section__inner {
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 835px) {
  .p-service-section__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .--reverse .p-service-section__inner {
    flex-direction: row-reverse;
  }
}
@media screen and (min-width: 835px) {
  .p-service-section__content {
    flex: 1;
    padding-inline: 5.5555555556vw;
  }
}
@media screen and (min-width: 835px) and (min-width: 1681px) {
  .p-service-section__content {
    padding-inline: 8.3333333333vw;
  }
}
@media screen and (max-width: 834px) {
  .p-service-section__content {
    padding-inline: min(5.333vw, 22px);
    margin-top: min(10.667vw, 44px);
  }
}
.p-service-section__image {
  overflow: hidden;
}
@media screen and (min-width: 835px) {
  .p-service-section__image {
    width: min(50vw, 792px);
    border-top-right-radius: min(0.556vw, 8.8px);
    border-bottom-right-radius: min(0.556vw, 8.8px);
  }
  .--reverse .p-service-section__image {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: min(0.556vw, 8.8px);
    border-bottom-left-radius: min(0.556vw, 8.8px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-section__image {
    width: 100%;
  }
}
.p-service-section__image img {
  width: 100%;
}
.p-service-section__summary {
  display: flex;
  flex-wrap: wrap;
}
@media screen and (min-width: 835px) {
  .p-service-section__summary {
    justify-content: space-between;
    align-items: center;
  }
}
.p-service-section__title {
  color: var(--brand);
  font-weight: var(--fw-500);
  line-height: var(--lh-100);
}
@media screen and (min-width: 835px) {
  .p-service-section__title {
    font-size: clamp(27.2px, 2.222vw, 35.2px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-section__title {
    font-size: clamp(20.4px, 6.4vw, 26.4px);
    order: 1;
  }
}
@media screen and (max-width: 834px) {
  .p-service-section__link {
    margin-top: min(10.667vw, 44px);
    order: 3;
  }
}
@media screen and (min-width: 835px) {
  .p-service-section__text {
    font-size: clamp(13.6px, 1.111vw, 17.6px);
    margin-top: min(4.167vw, 66px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-section__text {
    font-size: clamp(11.9px, 3.733vw, 15.4px);
    margin-top: min(4.267vw, 17.6px);
    order: 2;
  }
}
.p-service-section__brands__title {
  font-weight: var(--fw-500);
  line-height: 2.2;
  padding-left: 0.5em;
  border-left: var(--border-blue) 2px solid;
}
@media screen and (min-width: 835px) {
  .p-service-section__brands__title {
    font-size: clamp(15.3px, 1.25vw, 19.8px);
    margin-top: min(4.167vw, 66px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-section__brands__title {
    font-size: clamp(13.6px, 4.267vw, 17.6px);
    margin-top: min(10.667vw, 44px);
  }
}
.p-service-section__brands__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media screen and (min-width: 835px) {
  .p-service-section__brands__list {
    gap: min(1.389vw, 22px);
    margin-top: min(1.389vw, 22px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-section__brands__list {
    gap: min(4vw, 16.5px);
    margin-top: min(5.333vw, 22px);
  }
}
.p-service-section__brands__link {
  width: 100%;
  height: 100%;
  background-color: var(--base);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
@media screen and (min-width: 835px) {
  .p-service-section__brands__link {
    height: min(4.167vw, 66px);
    padding: min(0.347vw, 5.5px) min(3.333vw, 52.8px);
  }
}
@media screen and (max-width: 834px) {
  .p-service-section__brands__link {
    border: var(--border-gray) solid 1px;
  }
}
@media screen and (max-width: 834px) and (min-width: 541px) {
  .p-service-section__brands__link {
    height: min(21.333vw, 88px);
    padding: min(1.333vw, 5.5px) min(10.667vw, 44px);
  }
}
@media screen and (max-width: 540px) {
  .p-service-section__brands__link {
    height: min(13.333vw, 55px);
    padding: min(2.133vw, 8.8px) min(3.2vw, 13.2px);
  }
}
.p-service-section__brands__link img {
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}
@media screen and (min-width: 835px) {
  .p-service-section__brands__link.--large {
    padding-inline: min(4.861vw, 77px);
  }
}
@media screen and (min-width: 835px) and (min-width: 1800px) {
  .p-service-section__brands__link.--large {
    padding-inline: 6.25vw;
  }
}
@media screen and (min-width: 835px) and (min-width: 2560px) {
  .p-service-section__brands__link.--large {
    padding-inline: 11.4583333333vw;
  }
}
@media screen and (max-width: 834px) and (min-width: 541px) {
  .p-service-section__brands__link.--large {
    padding-inline: min(24vw, 99px);
  }
}
@media screen and (max-width: 540px) {
  .p-service-section__brands__link.--large {
    padding-inline: min(8.533vw, 35.2px);
  }
}
.p-service-section__brands__link.--large img {
  width: 100%;
  max-height: none;
}
@media screen and (min-width: 835px) {
  .p-service-section__brands__link.--xlarge {
    padding-inline: min(4.861vw, 77px);
  }
}
@media screen and (min-width: 835px) and (min-width: 1800px) {
  .p-service-section__brands__link.--xlarge {
    padding-inline: 7.8125vw;
  }
}
@media screen and (min-width: 835px) and (min-width: 2560px) {
  .p-service-section__brands__link.--xlarge {
    padding-inline: 10.9375vw;
  }
}
@media screen and (max-width: 834px) and (min-width: 541px) {
  .p-service-section__brands__link.--xlarge {
    padding-inline: min(24vw, 99px);
  }
}
@media screen and (max-width: 540px) {
  .p-service-section__brands__link.--xlarge {
    padding-inline: min(8.533vw, 35.2px);
  }
}
.p-service-section__brands__link.--xlarge img {
  width: 100%;
  max-height: none;
}

/*
.p-service-news {
  &__slider {
    &__container {
      position: relative;
    }

    &__card {
      @include mq(md) {
        padding-right: fc_min(20);
      }
      @include mq(md, max) {
        padding-right: fc_min(20, sp);
      }
    }
    &__next,
    &__prev {
      @include mq(md) {
        top: fc_min(138);
      }
      @include mq(md, max) {
        @include mq(sm) {
          top: vw(172, $window-md);
        }
      }
      @include mq(sm, max) {
        top: fc_min(64, sp);
      }
    }
    &__next {
      @include mq(md) {
        right: calc(fc_min(24) * -1);
      }
      @include mq(md, max) {
        right: calc(fc_min(8, sp) * -1);
      }
    }
    &__prev {
      @include mq(md) {
        left: calc(fc_min(24) * -1);
      }
      @include mq(md, max) {
        left: calc(fc_min(8, sp) * -1);
      }
    }
    &__scrollbar {
      @include mq(md) {
        margin-top: fc_clamp(60);
      }
      @include mq(md, max) {
        margin-top: fc_min(40, sp);
      }
    }
  }
}
*/