@charset "UTF-8";
/*
  /rakurakucloud/mailmarketing/asset/css/object/module/m-flow.css
  導入の流れモジュール用CSS
*/
/* デモ画面_シンプルで使いやすい */
.m-flow {
  position: relative;
  margin: 50px 0 0;
  z-index: 0;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 240px;
    bottom: 0;
    background: var(--gray-bg-02);
    z-index: -1;
  }
}
.m-flow-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  @media screen and (max-width: 1024px) {
    display: block;
    width: 60%;
    padding: 0;
    margin: 0 auto;
  }
  @media screen and (max-width: 600px) {
    width: 100%;
  }
}
.m-flow-item {
  position: relative;
  width: calc((100% - 100px) / 5);
  @media screen and (max-width: 1024px) {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 70px 0 0;
    min-height: 0;
  }
  &:first-child {
    margin: 0;
  }
  &:last-child::after {
    content: none;
  }
  &::after {
    content: "";
    display: block;
    position: absolute;
    top: 33%;
    right: -25px;
    width: 30px;
    height: 30px;
    z-index: 10;
    transform: translateY(-50%);
    background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon-arrow-simple.svg) no-repeat bottom/contain;
    @media screen and (max-width: 1024px) {
      top: 100%;
      left: 49%;
      width: 29px;
      height: 50px;
      transform: rotate(90deg);
    }
  }
}
.m-flow-item-title {
  height: 220px;
  border-radius: 10px;
  padding: 58px 0 0;
  background: var(--white);
  @media screen and (max-width: 1024px) {
    width: 90%;
    margin: 0 auto;
    line-height: 1;
  }
}
.m-flow-item-title__text {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: var(--rmailmarketing-dark);
}
.m-flow-item-title__image{
  width: 150px;
  height: auto;
  margin: 20px auto 0;
}
.m-flow-sub-list {
  text-align: left;
  line-height: 1.6;
  margin: 20px 0 0;
  @media screen and (max-width: 1024px) {
    font-size: 14px;
    margin: 10px auto 0 auto;
    line-height: 1.4;
    width: 90%;
  }
}
.m-flow-sub-item {
  position: relative;
  padding: 1px 0 0 25px;
  margin: 0;
  font-size: 16px;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--rmailmarketing-dark);
    border-radius: 11px;
  }
  &::after {
    content: "";
    width: 8px;
    height: 6px;
    border-top: solid 2px var(--white);
    border-right: solid 2px var(--white);
    display: block;
    position: absolute;
    left: 4px;
    top: 10px;
    transform: rotate(135deg);
  }
}

/* 背景がrmailmarketing-bg-sub-03の場合のカラー反転用css */
.m-flow-list--sub {
  .m-flow-item__title {
    background: var(--white);
  }
}

.m-flow__operation {
  display: grid;
  grid-template-columns: minmax(100px, 440px) 1fr;
  align-items: center;
  gap: 0 40px;
  @media screen and (max-width: 840px) {
    display: block;
  }
}
.m-flow__image-wrap {
  padding: 10px;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}
.m-flow__pop {
  position: relative;
  font-size: var(--fz-m);
  margin: 0 0 23px;
  display: inline-block;
}
.m-flow-heading {
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  margin: 0 0 23px;
  @media screen and (max-width: 840px) {
    text-align: center;
    font-size: 20px;
  }
}
.m-flow__heading-large {
  font-size: 50px;
  font-weight: bold;
  @media screen and (max-width: 840px) {
    font-size: 30px;
  }
}
.m-flow__operation-text {
  font-size: 18px;
  padding: 20px 0 0;
}
.m-flow-3step {
  margin: 70px 0 0;
}
.m-flow__headline.m-flow__headline--tac {
  text-align: center;
}
.m-flow-3step__steps-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 30px;
}
.m-flow-3step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 3.3%;
  counter-reset: list-counter;
  @media screen and (max-width: 1024px) {
    display: block;
  }
}
.m-flow-3step-item {
  position: relative;
  background-color: var(--white);
  border-radius: 10px;
  padding: 50px 20px;
  @media screen and (max-width: 1024px) {
    margin: 0 0 50px;
  }
}
.m-flow-3step-item:before {
  position: absolute;
  counter-increment: list-counter;
  content: "" counter(list-counter);
  display: inline-block;
  font-size: 120px;
  top: 0;
  left: 5px;
  color: var(--rmailmarketing-bg-sub-03);
  line-height: 1;
}
.m-flow-3step-item:not(:last-of-type):after {
  position: absolute;
  content: "";
  top: 50%;
  right: -37px;
  width: 30px;
  height: 30px;
  background: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon_arrow-primary.svg) no-repeat center;
  transform: translateY(50%) rotate(-90deg);
  transform-origin: top left;
  @media screen and (max-width: 1024px) {
    top: initial;
    bottom: -40px;
    right: initial;
    left: 50%;
    transform: translateX(-50%) translateY(0%);
  }
}
.m-flow-3step-title {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 30px;
  z-index: 2;
}
.m-flow-3step__image-wrap {
  width: 200px;
  height: auto;
  margin: 0 auto;
}
.m-flow-3step__text {
  margin: 30px 0 0;
  font-size: 16px;
  text-align: center;
}
