@charset "UTF-8";
/*
  /asset/css/object/module/m-flow.css
  導入の流れモジュール用CSS
*/
.m-flow {
  display: flex;
  justify-content: center;
  margin: 40px 0 0 0;
  @media screen and (max-width: 600px) {
    right: 0;
  }
  @media screen and (max-width: 840px) {
    margin: 60px 0 0;
  }
}
.m-flow-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  @media screen and (max-width: 840px) {
    display: block;
    width: 60%;
    padding: 0;
    margin: 0 auto;
  }
  @media screen and (max-width: 600px) {
    width: 100%;
  }
  /* 3カラムの場合 */
  &.m-flow-item--column3 {
    justify-content: center;
    gap: 25px;
    .m-flow-item::after {
      top: 50%;
      @media screen and (max-width: 840px) {
        top: 100%;
      }
    }
  }
}
.m-flow-item {
  position: relative;
  width: calc((100% - 100px) / 5);
  @media screen and (max-width: 840px) {
    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: 26%;
    right: -25px;
    width: 24px;
    height: 24px;
    z-index: 10;
    transform: translateY(-50%);
    background: url(/asset/image/common/icon/icon_000_arrow_02.svg) no-repeat bottom/contain;
    @media screen and (max-width: 840px) {
      top: 100%;
      left: 49%;
      width: 29px;
      height: 50px;
      transform: rotate(90deg);
    }
  }
}

.m-flow-item .m-flow-item__title {
  height: 110px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 45px 0 30px;
  background: var(--rsaikenkanri-bg-sub-03);
  color: var(--rsaikenkanri-primary);
  @media screen and (max-width: 840px) {
    width: 90%;
    height: 90px;
    margin: 0 auto;
    line-height: 1;
  }
}
.m-flow-sub-list {
  text-align: left;
  line-height: 1.6;
  margin: 20px 0 0;
  @media screen and (max-width: 840px) {
    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: 10px 0 0;
  font-size: 14px;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: var(--rsaikenkanri-primary);
    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: 6px;
    transform: rotate(135deg);
  }
}

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