.p-containerPartner {
  background: -webkit-gradient(linear, left top, left bottom, from(#b82634), color-stop(45%, #b82634), color-stop(78%, #f4b5ad), to(#f7ddd9));
  background: linear-gradient(180deg, #b82634 0%, #b82634 45%, #f4b5ad 78%, #f7ddd9 100%);
}

.p-containerPartner__inner {
  padding-bottom: 140px;
  width: 1168px;
  margin-inline: auto;
}

@media screen and (max-width: 1366px) {
  .p-containerPartner__inner {
    padding-bottom: 10.2489019034vw;
    width: 85.505124451vw;
  }
}

.p-containerPartner__img {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.p-containerPartner__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1168/500;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.p-containerPartner__content {
  margin-top: 66px;
  display: grid;
  grid-template-columns: 489px 1fr;
  gap: 96px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media screen and (max-width: 1366px) {
  .p-containerPartner__content {
    margin-top: 4.831625183vw;
    grid-template-columns: 35.7979502196vw 1fr;
    gap: 7.027818448vw;
  }
}

@media screen and (max-width: 1200px) {
  .p-containerPartner__content {
    width: 80%;
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media screen and (max-width: 600px) {
  .p-containerPartner__content {
    width: 100%;
  }
}

.p-containerPartner__title {
  margin-top: -4px;
}

@media screen and (max-width: 1200px) {
  .p-containerPartner__title {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-inline: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-containerPartner__title div {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.p-containerPartner__title div:nth-child(2) {
  margin-top: 10px;
  margin-left: 217px;
}

@media screen and (max-width: 1366px) {
  .p-containerPartner__title div:nth-child(2) {
    margin-top: 0.7320644217vw;
    margin-left: 15.8857979502vw;
  }
}

@media screen and (max-width: 1200px) {
  .p-containerPartner__title div:nth-child(2) {
    margin-left: 0;
  }
}

.p-containerPartner__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 30px;
}

@media screen and (max-width: 1366px) {
  .p-containerPartner__text {
    gap: 2.196193265vw;
  }
}

.l-service .p-topService {
  padding-top: 124px;
}

@media screen and (max-width: 1366px) {
  .l-service .p-topService {
    padding-top: 9.0775988287vw;
  }
}

.l-service .p-topService__read {
  margin-top: 30px;
}

@media screen and (max-width: 1366px) {
  .l-service .p-topService__read {
    margin-top: 2.196193265vw;
  }
}

.l-service .p-topService__content {
  margin-top: 4px;
}

.l-service .p-topService__card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

/* hover判定を持つaタグは動かさず、中のwrapperだけ拡大する */
.l-service .p-topService__card .p-topService__card--wrapper {
  -webkit-transform: translateZ(0) scale(1);
          transform: translateZ(0) scale(1);
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transition: -webkit-transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  transition: -webkit-transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s, -webkit-transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

@media (any-hover: hover) {
  .l-service .p-topService__card:hover {
    z-index: 2;
  }

  .l-service .p-topService__card:hover .p-topService__card--wrapper {
    -webkit-transform: translateZ(0) scale(1.03);
            transform: translateZ(0) scale(1.03);
    -webkit-transition-delay: 0s;
            transition-delay: 0s;
  }
}

.l-service .p-topService__card:nth-of-type(1) {
  margin-top: 100px;
}

@media screen and (max-width: 600px) {
  .l-service .p-topService__card:nth-of-type(1) {
    margin-top: 50px;
  }
}

.l-service .p-topService__card:nth-of-type(2) {
  margin-top: 50px;
}

@media screen and (max-width: 600px) {
  .l-service .p-topService__card:nth-of-type(2) {
    margin-top: 50px;
  }
}

.l-service .p-topService__card:nth-of-type(3) {
  margin-top: 0px;
}

@media screen and (max-width: 900px) {
  .l-service .p-topService__card:nth-of-type(3) {
    margin-top: 50px;
  }
}

.l-service .p-topService__img {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
}

@media screen and (max-width: 1280px) {
  .l-service .p-topService__img {
    height: 23.4375vw;
  }
}

@media screen and (max-width: 900px) {
  .l-service .p-topService__img {
    height: 33.3333333333vw;
  }
}

@media screen and (max-width: 600px) {
  .l-service .p-topService__img {
    height: 250px;
  }
}

@media screen and (max-width: 450px) {
  .l-service .p-topService__img {
    height: 55.5555555556vw;
  }
}

.l-service .p-topService__text {
  margin-top: 24px;
}

.l-service .p-topService__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
}

.l-service .p-topService__link {
  position: absolute;
  margin-top: 18px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.l-service .p-topService__link div {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.l-service .p-topService__link div::after {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background-image: url("../images/img_arrow-right.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-transition: background-image 0.2s ease, -webkit-transform 0.25s ease;
  transition: background-image 0.2s ease, -webkit-transform 0.25s ease;
  transition: transform 0.25s ease, background-image 0.2s ease;
  transition: transform 0.25s ease, background-image 0.2s ease, -webkit-transform 0.25s ease;
}

.l-service .p-topService__link div p {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 40px;
  margin: 0;
  padding-bottom: 0;
  line-height: 1;
  border-bottom: none;
}

.l-service .p-topService__link div p::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: #a0a0a0;
}

.l-service .p-pageFlow {
  padding-top: 60px;
}