/*
  /rakurakucloud/mailmarketing/asset/css/page/p-lp-eightteam-02.css
  lp/eightteam/02 page styles
*/
.p-lp-eightteam-02 {
  .m-panel-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    .m-panel-item {
      margin: 0;
      height: 100%;
    }
    @media screen and (max-width: 1200px) {
      grid-template-columns: repeat(2, 1fr);
      gap: 35px;
    }
    @media screen and (max-width: 840px) {
      grid-template-columns: 1fr;
      &:last-child {
        padding: 0;
      }
    }
  }
  .m-panel-item {
    padding: 50px 30px;
  }
  .m-panel-item__column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .m-panel-item__image-wrap {
    display: grid;
    place-items: center;
    width: 150px;
    height: 150px;
    background-color: var(--white);
    border-radius: 50%;
    margin: 0 auto;
  }
  .m-panel-item__image {
    width: 100px;
    height: 100px;
  }
  .m-panel-item-title {
    color: var(--rmailmarketing-dark);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
  }
  .m-reason-column-item__text {
    margin: 0;
  }
  .c-heading-lead {
    margin: auto auto 60px;
    @media screen and (max-width: 840px) {
      margin: auto auto 30px;
    }
  }
  .l-footer-copy {
    padding: 55px 0 70px;
    @media screen and (max-width: 840px) {
      padding: 20px 0 70px;
    }
  }
  .m-cta__inner {
    padding: 65px 0;
    @media screen and (max-width: 1024px) {
      min-height: 350px;
      padding: 40px 0;
    }
    .m-cta__image1-wrap {
      position: absolute;
      bottom: -42px;
    }
    .m-cta__image2-wrap {
      position: absolute;
      bottom: -33px;
    }
    .m-cta__column {
      gap: 25px;
    }
    @media screen and (max-width: 840px) {
      min-height: inherit;
      padding: 60px 0;
    }
  }
  .m-cta-content {
    margin: 0 auto;
    .m-cta__column {
      gap: 25px;
      @media screen and (max-width: 840px) {
        gap: 0;
      }
    }
  }
  & .c-cta {
    & .c-cta__link {
      padding: 27px 25px 27px;
    }
  }
}

.p-lp-eightteam-02-problem {
  padding: 70px 0;
}
.p-lp-eightteam-02-problem-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  gap: 26.66px;
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.p-lp-eightteam-02-problem-item {
  position: relative;
  min-height: 227px;
  padding: 24px 15px 23px;
  border-radius: 10px;
  background-color: var(--gray-bg-02);
  display: flex;
  flex-direction: column;
  align-items: center;
  @media screen and (max-width: 840px) {
    min-height: auto;
  }
  &::after {
    content: "";
    position: absolute;
    top: 107px;
    right: -21px;
    width: 30px;
    height: 30px;
    background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon-arrow-simple-black.svg) no-repeat center/contain;
    @media screen and (max-width: 840px) {
      top: auto;
      right: auto;
      bottom: -20px;
      left: 50%;
      width: 20px;
      height: 20px;
      transform: translateX(-50%) rotate(90deg);
    }
  }
}
.p-lp-eightteam-02-problem-item--last {
  &::after {
    display: none;
  }
}
.p-lp-eightteam-02-problem-item__time {
  display: inline-grid;
  place-items: center;
  min-width: 120px;
  margin: 0 auto 10px;
  padding: 8px 16px;
  border-radius: 40px;
  background-color: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.p-lp-eightteam-02-problem-item__title {
  width: 100%;
  min-height: calc(18px * 1.45 * 2);
  margin: 0;
  color: var(--black);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  @media screen and (max-width: 840px) {
    font-size: 16px;
    min-height: auto;
  }
}
.p-lp-eightteam-02-problem-item__text {
  width: 100%;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

.p-lp-eightteam-02-solution {
  padding-bottom: 70px;
}
.p-lp-eightteam-02-solution-flow {
  margin: 0 auto 50px;
}
.p-lp-eightteam-02-solution-row {
  width: 100%;
}
.p-lp-eightteam-02-solution-head {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 0 30px;
  margin: 0 0 30px;
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.p-lp-eightteam-02-solution-head__label {
  display: grid;
  place-items: center;
  width: 150px;
  height: 46px;
  background-color: var(--black);
  border-radius: 24px;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  @media screen and (max-width: 840px) {
    margin: 0 auto;
    font-size: 20px;
  }
}
.p-lp-eightteam-02-solution-head__title {
  color: var(--black);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  @media screen and (max-width: 840px) {
    text-align: center;
    font-size: 20px;
  }
}
.p-lp-eightteam-02-solution-head__title-name {
  font-family: "Roboto", sans-serif;
}
.p-lp-eightteam-02-solution-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: space-between;
  gap: 25px;
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    width: 90%;
    margin: 0 auto;
  }
  @media screen and (max-width: 600px) {
    width: 100%;
  }
}
.p-lp-eightteam-02-solution-item {
  position: relative;
  min-height: 210px;
  padding: 20px 10px 24px;
  background-color: var(--white);
  border-radius: 10px;
  text-align: center;
  @media screen and (max-width: 840px) {
    min-height: auto;
  }
  &::after {
    content: "";
    position: absolute;
    top: 90px;
    right: -23px;
    width: 30px;
    height: 30px;
    background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon-arrow-simple-black.svg) no-repeat center/contain;
    @media screen and (max-width: 840px) {
      top: auto;
      right: auto;
      bottom: -20px;
      left: 50%;
      width: 20px;
      height: 20px;
      transform: translateX(-50%) rotate(90deg);
    }
  }
}
.p-lp-eightteam-02-solution-list--after {
  .p-lp-eightteam-02-solution-item {
    &::after {
      background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon-arrow-simple.svg) no-repeat center/contain;
    }
  }
}
.p-lp-eightteam-02-solution-item--last {
  &::after {
    display: none;
  }
}
.p-lp-eightteam-02-solution-item__title {
  margin: 0;
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.p-lp-eightteam-02-solution-item__image-wrap {
  width: 80px;
  height: 80px;
  margin: 10px auto;
}
.p-lp-eightteam-02-solution-item__text {
  color: var(--black);
  font-size: 14px;
  line-height: 1.7;
  @media screen and (max-width: 680px) {
    margin: 28px 0 0;
  }
}
.p-lp-eightteam-02-solution-arrow {
  display: flex;
  justify-content: center;
  margin: 30px auto;
  @media screen and (max-width: 840px) {
    margin: 20px auto;
  }
  &::before {
    content: "";
    display: block;
    width: 68px;
    height: 80px;
    background: url(/rakurakucloud/mailmarketing/asset/image/lp/eightteam/02/figure-eightteam-2arrows.svg) no-repeat center/contain;
  }
}
.p-lp-eightteam-02-case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 580px));
  justify-content: center;
  gap: 40px;
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.p-lp-eightteam-02-case-item {
  min-height: 244px;
  padding: 30px 20px;
  border-radius: 10px;
  background-color: var(--white);
}
.p-lp-eightteam-02-case-item__header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}
.p-lp-eightteam-02-case-item__industry {
  padding: 3px 10px;
  border-radius: 5px;
  background-color: var(--gray-bg-02);
  color: var(--black);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}
.p-lp-eightteam-02-case-item__meta {
  padding: 3px 10px;
  border-radius: 5px;
  background-color: var(--gray-bg-02);
  color: var(--black);
  font-size: 14px;
  line-height: 1.4;
}
.p-lp-eightteam-02-case-item__comment {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.p-lp-eightteam-02-case-item__result-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}
.p-lp-eightteam-02-case-item__result {
  padding: 6px 20px;
  border-radius: 17px;
  background-color: var(--rmailmarketing-dark);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.p-lp-eightteam-02-cta__lead {
  margin: 20px 0 0;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  @media screen and (max-width: 840px) {
    font-size: 18px;
  }
}
.p-lp-eightteam-02-cta__note {
  margin: 20px 0 0;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
