@charset "UTF-8";

/* ==========================================================================
   flow.css
   ========================================================================== */

.o-m__flow-content {
  position: relative;
  margin-top: 15px;
  @media screen and (max-width: 768px) {
    margin-top: 20px;
  }
}

.o-m__flow-content_flow {
  display: flex;
  justify-content: space-between;
  @media screen and (max-width: 768px) {
    display: block;
    padding: 0;
  }
}

.o-m__flow-content_flow_data {
  width: calc((100% - 100px) / 5);
  position: relative;
  @media screen and (max-width: 1024px) {
    width: 20%;
    max-width: 180px;
  }
  @media screen and (max-width: 768px) {
    width: 100%;
    max-width: 100%;
    margin: 0 0 80px;
  }
  &:not(:last-child) {
    @media screen and (min-width: 769px) {
      margin-right: 25px;
    }
  }
  &:last-child {
    @media screen and (max-width: 768px) {
      margin: 0;
    }
  }
}

.o-m__flow-content_flow_data_circle {
  background-color: #fff;
  width: 68px;
  height: 68px;
  border-radius: 32px;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -34px;
  color: var(--rmeisai-primary);
  padding: 10px 0 0;
  font-weight: 700;
  line-height: 1.2;
  @media screen and (max-width: 768px) {
    width: 58px;
    height: 58px;
    left: 50%;
    transform: translateX(-50%);
    top: -29px;
  }
}

.o-m__flow-content_flow_data_circle._bg-color {
  background-color: var(--rmeisai-bg-sub-03);
}

.o-m__flow-content_flow_data_circle_text {
  font-size: 10px;
  display: block;
}

.o-m__flow-content_flow_data_circle_num {
  font-size: 24px;
  @media screen and (max-width: 768px) {
    font-size: 22px;
  }
}

.o-m__flow-content_flow_data_title_sub {
  font-size: 12px;
  @media screen and (max-width: 768px) {
    margin-left: 10px;
    display: inline-block;
  }
}

.o-m__flow-content_flow_data dd {
  line-height: 1.6;
  font-size: 14px;
  margin-top: 20px;
  @media screen and (max-width: 768px) {
    font-size: 14px;
    width: 260px;
    margin: 10px auto 0 auto;
    line-height: 1.4;
    width: 90%;
    max-width: 500px;
  }
}

.o-m__flow-content_flow_data dd .o-c__btn-text {
  margin-top: 20px;
  @media screen and (max-width: 768px) {
    margin: 10px auto 0;
    display: block;
  }
}

.o-m__flow-content_flow_data dd .o-c__btn-text a {
  @media screen and (max-width: 768px) {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}

.o-m__flow-content_flow_data dd .o-c__btn-text a span {
  @media screen and (max-width: 768px) {
    left: 80px;
  }
}

.o-m__flow-content_flow_data dt {
  background-color: var(--rmeisai-bg-sub-03);
  height: 100px;
  padding: 60px 0 30px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1px;
  color: var(--rmeisai-primary);
  font-weight: 700;
  text-align: center;
  @media screen and (max-width: 768px) {
    min-height: 0;
    width: 90%;
    max-width: 500px;
    height: 80px;
    margin: 0 auto;
    padding: 40px 0 25px 0;
    line-height: 1;
  }
  &:after {
    content: "";
    display: block;
    position: absolute;
    top: 44px;
    left: -25px;
    width: 24px;
    height: 24px;
    z-index: 10;
    background-image: url(/rakurakucloud/meisai/assets/image/icon/icon_000_arrow.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    transform: rotate(-90deg);
    @media screen and (max-width: 768px) {
      transform: rotate(0);
    }
    @media screen and (max-width: 768px) {
      top: -65px;
      left: 50%;
      width: 32px;
      height: 32px;
      background-size: cover;
      background-position: bottom;
      transform: translateX(-50%) rotate(0);
    }
  }
}

.o-m__flow-content_flow_data dt._line2 {
  height: 110px;
  @media screen and (min-width: 769px) {
    padding: 45px 0 30px;
    line-height: 1.3;
  }
  @media screen and (max-width: 768px) {
    height: 80px;
    line-height: 1;
    padding: 40px 0 25px 0;
  }
}

.o-m__flow-content_flow_data dt._white {
  background-color: #fff;
}

.o-m__flow-content_flow_data dt.no-arrow:after {
  display: none;
}

.o-m__flow-content_flow_data_checklist {
  text-align: left;
}

.o-m__flow-content_flow_data_checklist_item {
  position: relative;
  padding: 1px 0 0 25px;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: var(--rmeisai-primary);
    border-radius: 11px;
  }
  &::after {
    content: '';
    width: 8px;
    height: 6px;
    border-top: solid 2px #FFF;
    border-right: solid 2px #FFF;
    display: block;
    position: absolute;
    left: 4px;
    top: 6px;
    transform: rotate(135deg);
  }
}

.o-m__flow-content_flow_data_checklist_item + * {
  margin-top: 10px;
}

.o-m__flow-note_text {
  font-size: 10px;
  padding: 15px 0 0;
}

/*背景色ブルーの場合 */
/*---------------------------------------------------------- */

.f__common-bgcolor_blue .o-m__flow-content_flow_data_circle {
  background-color: var(--rmeisai-bg-sub-03);
}

.f__common-bgcolor_blue .o-m__flow-content_flow_data dt {
  background-color: #fff;
}
