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

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

@media screen and (max-width: 767px) {
  .m-child-mv::before {
    background-image: url(../../../images/company/idea/img_mv_sp.webp);
  }
  .m-child-mv-ttl-en {
    width: 85.24vw;
  }
}
/* p-idea
---------------------------------------------------------------------------- */
.p-idea {
  padding-block: 10rem 12.7rem;
  position: relative;
}

.p-idea::before,
.p-idea::after {
  content: "";
  position: absolute;
}

.p-idea::before {
  bottom: 0;
  right: 0;
  z-index: -1;
  width: 111.3rem;
  aspect-ratio: 1113/659;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url(./../../../images/company/idea/bg_idea_pc.webp);
}

.p-idea::after {
  inset: 0;
  z-index: -3;
  width: 100%;
  height: calc(100% + 20rem);
  background-color: #F0F6FE;
}

.p-idea-items {
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

.p-idea-item {
  display: grid;
  grid-template-columns: auto 89rem;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5rem 2rem;
}

.p-idea-item-img {
  grid-column: span 2;
  width: 100%;
  aspect-ratio: 1200/215;
}
.p-idea-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-idea-item-txt {
  font-size: 2.4rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .p-idea {
    padding-block: 13.3333333333vw 16vw;
  }
  .p-idea::before {
    width: 100%;
    aspect-ratio: 375/224;
    background-image: url(./../../../images/company/idea/bg_idea_sp.webp);
  }
  .p-idea::after {
    height: 100%;
  }
  .p-idea-items {
    gap: 21.3333333333vw;
  }
  .p-idea-item {
    grid-template-columns: 1fr;
    gap: initial;
  }
  .p-idea-item-img {
    grid-column: initial;
    aspect-ratio: 335/130;
  }
  .p-idea-item-ttl {
    margin-top: 5.3333333333vw;
  }
  .p-idea-item-txt {
    font-size: 4.8vw;
    line-height: 1.5;
    margin-top: 7.2vw;
  }
}
/* p-action
---------------------------------------------------------------------------- */
.p-action {
  padding-block: 10rem;
  padding-left: 2rem;
  margin-right: 2rem;
  position: relative;
}

.p-action::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: -2;
  width: 100%;
  max-width: 173rem;
  height: 100%;
  background-color: #002C81;
}

.p-action-ttl {
  color: #fff;
}

.p-action-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4.8rem;
}

.p-action-item {
  display: grid;
  grid-template-columns: 13rem 1fr;
  grid-template-rows: auto 1fr;
  align-items: flex-start;
  gap: 1.8rem 3rem;
  padding-block: 4rem 4.4rem;
  padding-inline: 4rem;
  position: relative;
}

.p-action-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(./../../../images/company/idea/bg_action_item_pc.webp);
}

.p-action-item-img {
  grid-row: span 2;
  width: 100%;
  aspect-ratio: 1;
}
.p-action-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-action-item-ttl {
  font-size: 2.4rem;
  line-height: 1.4583333333;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #002C81;
}

.p-action-item-txt {
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .p-action {
    padding-block: 16vw;
    padding-left: initial;
    margin-right: initial;
  }
  .p-action::after {
    max-width: initial;
  }
  .p-action-items {
    grid-template-columns: 1fr;
    gap: 5.3333333333vw;
    margin-top: 9.8666666667vw;
  }
  .p-action-item {
    grid-template-columns: 18.6666666667vw 1fr;
    align-items: center;
    gap: 2.6666666667vw 4vw;
    padding-block: 5.3333333333vw 8vw;
    padding-inline: 5.3333333333vw;
  }
  .p-action-item::after {
    background-image: url(./../../../images/company/idea/bg_action_item_sp.webp);
  }
  .p-action-item-img {
    grid-row: initial;
  }
  .p-action-item-ttl {
    font-size: 5.8666666667vw;
    line-height: 1.5;
  }
  .p-action-item-txt {
    grid-column: span 2;
    font-size: 4vw;
    line-height: 1.5;
  }
}
/* p-idea-pageLink
---------------------------------------------------------------------------- */
.p-idea-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-idea-pageLink {
    grid-template-columns: repeat(2, 1fr);
    gap: 4.2666666667vw 2.6666666667vw;
    padding-block: 10.4vw;
  }
}
