/* common
---------------------------------------------------------------------------- */
.m-child-mv::before {
  background-image: url(../../../images/company/group/img_mv_pc.webp);
}

.m-child-mv-ttl-en {
  width: min(18.5005208333vw, 355.21px);
  aspect-ratio: 355.21/79;
}

@media screen and (max-width: 767px) {
  .m-child-mv::before {
    background-image: url(../../../images/company/group/img_mv_sp.webp);
  }
  .m-child-mv-ttl-en {
    width: 46.5786666667vw;
  }
  .m-child-mv-ttl-group {
    padding-bottom: 5.3333333333vw;
  }
}
/* p-group
---------------------------------------------------------------------------- */
.p-group {
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.p-group::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 60.6rem;
  aspect-ratio: 606/540;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(./../../../images/company/group/bg_group_01.webp);
}

.p-group-ttl {
  font-size: 3.6rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.p-group-ttl span {
  display: inline-block;
  color: #fff;
  background-color: #002C81;
  padding-inline: 0.3em;
}

.p-group-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0 8rem;
  margin-top: 6rem;
}

.p-group-wrap-txt {
  width: 68rem;
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
  font-weight: 400;
  word-break: normal;
}
.p-group-wrap-txt span {
  font-weight: 700;
}
@supports (-moz-appearance: none) or (-webkit-hyphens: none) {
  .p-group-wrap-txt {
    letter-spacing: 0.02em;
  }
}

.p-group-wrap-img {
  width: 80rem;
  aspect-ratio: 800/450;
  margin-right: calc(50% - 50vw);
}
.p-group-wrap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 1921px) {
  .p-group-wrap-img {
    width: 41.6666666667vw;
  }
}

.p-group-organization {
  width: 100%;
  max-width: 110rem;
  margin-inline: auto;
  margin-block: 12rem -12rem;
  box-shadow: 0 0 1rem rgba(24, 67, 151, 0.15);
}
.p-group-organization img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-group-container {
  padding-block: 22rem 12rem;
  position: relative;
  padding-left: 2rem;
  margin-right: 2rem;
}

.p-group-container::before,
.p-group-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
}

.p-group-container::before {
  z-index: -1;
  width: 69.8rem;
  aspect-ratio: 698/328;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(./../../../images/company/group/bg_group_02.webp);
}

.p-group-container::after {
  z-index: -2;
  top: 0;
  width: 100%;
  max-width: 173rem;
  background-color: #002C81;
}
@media (min-width: 1921px) {
  .p-group-container::after {
    max-width: 90.1041666667vw;
  }
}

.p-group-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 8rem;
}

.p-group-item {
  display: grid;
  grid-template-columns: 3rem 23rem 1fr;
  grid-template-rows: 3rem 1fr;
  position: relative;
}

.p-group-item-img {
  grid-column: 1/3;
  width: 26rem;
  aspect-ratio: 260/146;
  box-shadow: 0 0 0.6rem rgba(24, 67, 151, 0.15);
}
.p-group-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-group-item-body {
  grid-column: 2/4;
  padding-block: 4rem;
  padding-inline: 4rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.p-group-item-body::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: #00085D;
  clip-path: polygon(100% 0, 100% calc(100% - 3rem), calc(100% - 3rem) 100%, 0 100%, 0 0);
}

.p-group-item-ttl {
  font-size: 2.4rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #fff;
  padding-left: 22rem;
  margin-bottom: 3rem;
}

.p-group-item-txt {
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
  font-weight: 400;
  color: #fff;
  margin-top: auto;
}

.p-group-pageLink {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: min(1.0416666667vw, 20px);
  padding-block: 10rem 12rem;
}

@media screen and (max-width: 767px) {
  .p-group {
    padding-top: 13.3333333333vw;
  }
  .p-group::after {
    width: 84vw;
  }
  .p-group-ttl {
    font-size: 5.8666666667vw;
    line-height: 1.5;
  }
  @supports (-moz-appearance: none) or (-webkit-hyphens: none) {
    .p-group-ttl {
      letter-spacing: 0.03em;
    }
  }
  .p-group-wrap {
    flex-direction: column-reverse;
    gap: 10.1333333333vw;
    margin-top: 8vw;
  }
  .p-group-wrap-txt {
    width: 100%;
    font-size: 4.2666666667vw;
  }
  .p-group-wrap-img {
    width: 94.6666666667vw;
  }
  .p-group-organization {
    max-width: 78.6666666667vw;
    aspect-ratio: 295/420;
    margin-block: 15.2vw -16vw;
    box-shadow: 0 0 2.6666666667vw rgba(24, 67, 151, 0.15);
  }
  .p-group-container {
    padding-block: 24vw 16vw;
    padding-left: initial;
    margin-right: initial;
  }
  .p-group-container::before {
    width: 84vw;
  }
  .p-group-container::after {
    max-width: initial;
  }
  .p-group-items {
    grid-template-columns: 1fr;
    gap: 8vw;
  }
  .p-group-item {
    grid-template-columns: 5.3333333333vw 30.9333333333vw 1fr;
    grid-template-rows: 4vw 1fr;
  }
  .p-group-item-img {
    width: 36.2666666667vw;
    box-shadow: 0 0 1.6vw rgba(24, 67, 151, 0.15);
  }
  .p-group-item-body {
    padding-block: 4vw 8vw;
    padding-inline: 5.3333333333vw;
    min-height: 56.5333333333vw;
  }
  .p-group-item-body::after {
    clip-path: polygon(100% 0, 100% calc(100% - 5.3333333333vw), calc(100% - 5.3333333333vw) 100%, 0 100%, 0 0);
  }
  .p-group-item-ttl {
    font-size: 4.2666666667vw;
    line-height: 1.5;
    padding-left: 29.3333333333vw;
    margin-bottom: 4.8vw;
  }
  .p-group-item-ttl._spmt {
    margin-top: 1.8666666667vw;
  }
  .p-group-item-txt {
    font-size: 4vw;
    line-height: 1.8;
  }
  .p-group-pageLink {
    grid-template-columns: repeat(2, 1fr);
    gap: 4.2666666667vw 2.6666666667vw;
    padding-block: 10.4vw;
  }
}
