/*
  /rakurakucloud/mailmarketing/asset/css/page/p-flow.css
  flowページFV以外用CSS
*/
.p-flow-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 50px 0 0;
}
.p-flow-item {
  position: relative;
  border-radius: 10px;
  padding: 60px 50px 50px;
  @media screen and (max-width: 840px) {
    padding: 60px 20px 50px;
  }
}
.p-flow-item__badge {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  @media screen and (max-width: 840px) {
    width: 70px;
    height: 70px;
  }
}
.p-flow-item__badge-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--rmailmarketing-dark);
}
.p-flow-item__badge-number {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--rmailmarketing-dark);
}
.p-flow-item__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  @media screen and (max-width: 840px) {
    flex-direction: column;
  }
  .c-cta {
    & .c-cta__link {
      @media screen and (max-width: 600px) {
        width: 270px;
        padding: 20px 17px;
      }
    }
  }
}
.p-flow-item__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.p-flow-item__title {
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--rmailmarketing-dark);
  text-align: center;
}
.p-flow-item__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}
.p-flow-item__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  @media screen and (max-width: 840px) {
    gap: 20px;
  }
}
.p-flow-item__content--gap-lg {
  gap: 50px;
}
.p-flow-item__card {
  background-color: var(--white);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.p-flow-item__card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  text-align: center;
}
.p-flow-item__card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  width: 100%;
}
.p-flow-item__text {
  text-align: left;
  width: 100%;
}
.p-flow-item__image-wrap {
  width: 224px;
  height: 150px;
  margin: 0;
  overflow: hidden;
}
.p-flow-item__cards-2col {
  display: flex;
  gap: 40px;
  @media screen and (max-width: 840px) {
    flex-direction: column;
    gap: 20px;
  }
}
.p-flow-item__card {
  flex: 1;
  gap: 20px;
}
.p-flow-item__text {
  text-align: left;
}
.p-flow-item__content-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.p-flow-item__link-block {
  border-top: 1px solid var(--gray-bg-01);
  padding: 20px 0 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p-flow-item__link-item {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.028em;
}
.p-flow-item__images-2col {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
  @media screen and (max-width: 600px) {
    flex-direction: column;
    gap: 20px;
  }
}
.p-flow-item__image-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.p-flow-item__frame-wrap {
  width: 400px;
  height: 280px;
  overflow: hidden;
  @media screen and (max-width: 840px) {
    width: 100%;
    height: auto;
  }
}
.p-flow-item__frame-wrap--border {
  width: 499px;
  height: 283px;
  border: 1px solid var(--gray-bg-02);
  @media screen and (max-width: 840px) {
    width: 100%;
    height: auto;
  }
}
.p-flow-item__image-caption {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
}
