@charset "utf-8";

.flow_bg {
  background-image: url("../img/front_bg.png");
}

.flow_wrapper {
  width: 100%;
}

.flow_title_pos {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 9.805rem;
}

.flow_title {
  display: flex;
  align-items: center;
  font-size: 3rem;
  line-height: 2em;
  letter-spacing: 0.1em;
  font-family: var(--NotoSans);
  font-weight: 500;
  color: #000000;
}

.flow_title_img_lft,
.flow_title_img_rt {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.flow_lft_set {
  width: 32.4rem;
  height: 6rem;
  margin-right: 3.6rem;
}

.flow_rt_set {
  width: 32.4rem;
  height: 6rem;
  margin-left: 3.6rem;
}

.flow_sentence_pos {
  width: 100%;
  padding-top: 1.65rem;
  padding-bottom: calc(10.7rem - 0.8rem);
  padding-right: 22rem;
  padding-left: 22rem;
}

.flow_sentence {
  font-size: 1.6rem;
  line-height: 2.5em;
  font-weight: 350;
  font-family: var(--NotoSans);
  color: #000000;
  text-align: center;
}

/* flow_item */
.use_flow {
  padding: 0 5rem;
}

.flow_pos_set {
  width: 100%;
  min-height: 27.5rem;
  height: auto;
  display: flex;
  background-color: #FFFFFF;
  border-radius: 1rem;
  box-shadow: 0 0.3rem 0.6rem #00000029;
  margin-bottom: 5rem;
}

.flow_pos_set:nth-last-of-type(1) {
  margin-bottom: 0;
}

.flow_item_pos {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 45.5rem;
  padding-left: 3rem;
}

.flow_item {
  font-size: 2.6rem;
  color: #CF5A4A;
  font-weight: 700;
  font-family: var(--NotoSans);
  line-height: calc(37em / 26);
}

.flow_item_set {
  font-size: 2.6rem;
  color: #000000;
  font-weight: 700;
  font-family: var(--NotoSans);
  line-height: calc(37em / 26);
}

.flow_content_pos {
  display: flex;
  align-items: center;
  width: 72.5rem;
  padding: 3rem 0;
}

.flow_content {
  color: #000000;
  font-size: 1.6rem;
  font-family: var(--NotoSans);
  font-weight: 350;
  line-height: 2.5em;
  margin: -0.8rem 0;
}

/* flow1 */
.frow_content_box {
  padding-top: calc(2rem + 4.5rem);
}

.flow_content_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22.3rem;
  height: 4.5rem;
  color: #FFFFFF;
  background: #122343;
  font-size: 2.4rem;
  font-family: var(--NotoSans);
  font-weight: 700;
  border-radius: 2.2rem;
  line-height: 1.66666666667em;
  letter-spacing: 0.1em;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 0.1rem solid #122343;
}
.flow_content_link::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.flow_content_link:hover {
  color: #122343;
}
.flow_content_link:hover::after {
  transform: scale(1, 1);
}

/* flow2 */
.flow_contract_img {
  position: absolute;
  top: calc(50% + 2.45rem);
  left: 27rem;
  width: 15rem;
  height: 11.3rem;
}

/* flow3 */
.flow_item3 {
  padding-top: 3.7rem;
}

.flow_service_img {
  position: absolute;
  top: calc(50% + 2.15rem);
  left: 27rem;
  width: 15rem;
  height: 11.2rem;
}

/* flow4 */
.flow_certificate_img {
  position: absolute;
  top: calc(50% - 1.95rem);
  left: 28.6rem;
  width: 15rem;
  height: 15.7rem;
}

/* flow5 */
.flow_item5 {
  padding-top: 3.7rem;
}

.flow_meeting_img {
  position: absolute;
  top: calc(50% + 1.85rem);
  left: 28.6rem;
  width: 15rem;
  height: 11.3rem;
}

/* flow6 */
.flow_start_img {
  position: absolute;
  top: calc(50% + 0.45rem);
  left: 28.6rem;
  width: 15rem;
  height: 13.2rem;
}

/* flow7 */
.flow_item7 {
  padding-top: 3.7rem;
}

.flow_monitoring_img {
  position: absolute;
  top: calc(50% + 1.65rem);
  left: 31.1rem;
  width: 12rem;
  height: 11.7rem;
}

/* page_bottom */
.flow_page_bottom {
  position: relative;
  height: 30.9rem;
}

.flow_flower_img {
  position: absolute;
  top: 14.8rem;
  right: 12.5rem;
  width: 15rem;
  height: 13.9rem;
  object-fit: cover;
}

.fuwafuwa3 {
  animation: fuwafuwa3 4s ease-in-out infinite alternate;
  display: inline-block;
  transition: 1.5s ease-in-out;
}

@keyframes fuwafuwa3 {
  0% {
    transform:translate(0, 0) rotate(-9deg);
  }
  50% {
    transform:translate(0, -0.7rem) rotate(0deg);
  }
  100% {
    transform:translate(0, 0) rotate(9deg);
  }
}

@media screen and (max-width: 699.98px) {
  .flow_wrapper {
    width: 100%;
  }

  .flow_title_pos {
    padding-top: 2.8rem;
  }

  .flow_title {
    display: flex;
    align-items: center;
    font-size: 2rem;
    letter-spacing: 0;
  }

  .flow_title_img_lft,
  .flow_title_img_rt {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .flow_lft_set {
    width: calc(32.4rem * (9.5 / 32.4));
    height: calc(6rem * (9.5 / 32.4));
    margin-right: 1.65rem;
  }

  .flow_rt_set {
    width: calc(32.4rem * (9.5 / 32.4));
    height: calc(6rem * (9.5 / 32.4));
    margin-left: 1.65rem;
  }

  .flow_sentence_pos {
    width: 37.5rem;
    padding-top: calc(2.58rem - 0.8rem);
    padding-bottom: calc(3.4rem - 0.8rem);
    padding-right: 3.75rem;
    padding-left: 3.75rem;
  }

  .flow_sentence {
    font-size: 1.6rem;
    line-height: 2.5em;
    font-weight: 350;
    font-family: var(--NotoSans);
    color: #000000;
    text-align: left;
    margin: -0.8rem 0;
  }

  /* flow_item */
  .use_flow {
    padding: 0 1.5rem;
  }

  .flow_pos_set {
    width: 100%;
    min-height: unset;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    background-color: #FFFFFF;
    border-radius: 1rem;
    box-shadow: 0 0.3rem 0.6rem #00000029;
    margin-bottom: 2.5rem;
    padding: 4rem 1rem;
  }

  .flow_pos_set:nth-last-of-type(1) {
    margin-bottom: 0;
  }

  .flow_item_pos {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    padding: 0;
  }


  .flow_item {
    font-size: 2rem;
    color: #CF5A4A;
    font-weight: 700;
    font-family: var(--NotoSans);
    line-height: calc(29em / 20);
  }

  .flow_item_set {
    font-size: 2rem;
    color: #000000;
    font-weight: 700;
    font-family: var(--NotoSans);
    line-height: calc(29em / 20);
  }

  .flow_content_pos {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
  }

  .flow_content {
    color: #000000;
    font-size: 1.6rem;
    font-family: var(--NotoSans);
    font-weight: 350;
    line-height: 2.5em;
    margin: -0.8rem 0;
  }

  /* flow1 */
  .frow_content_box {
    padding-top: 0;
  }

  .flow_content_link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22.3rem;
    height: 4.5rem;
    color: #FFFFFF;
    background: #122343;
    font-size: 2.4rem;
    font-family: var(--NotoSans);
    font-weight: 700;
    border-radius: 2.2rem;
    line-height: 1.66666666667em;
    letter-spacing: 0.1em;
    margin: 0 auto;
    margin-top: 2.3rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 0.1rem solid #122343;
  }

  .flow_content_link::after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
  }

  .flow_content_link:hover {
    color: #122343;
  }

  .flow_content_link:hover::after {
    transform: scale(1, 1);
  }

  /* flow2 */
  .flow_item_pos2 {
    padding-bottom: 13.7rem;
  }

  .flow_contract_img {
    position: absolute;
    top: unset;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15rem;
    height: 11.3rem;
  }

  /* flow3 */
  .flow_item_pos3 {
    padding-bottom: 13.6rem;
  }

  .flow_item3 {
    padding-top: 0;
  }

  .flow_service_img {  
    position: absolute;
    top: unset;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15rem;
    height: 11.2rem;
  }

  /* flow4 */
  .flow_item_pos4 {
    padding-bottom: 18.1rem;
  }

  .flow_certificate_img {
    position: absolute;
    top: unset;
    bottom: 0;
    left: 8.9rem;
    width: 15rem;
    height: 15.7rem;
  }

  /* flow5 */
  .flow_item_pos5 {
    padding-bottom: 13.7rem;
  }

  .flow_item5 {
    padding-top: 0;
  }

  .flow_meeting_img {
    position: absolute;
    top: unset;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15rem;
    height: 11.3rem;
  }

  /* flow6 */
  .flow_item_pos6 {
    padding-bottom: 15.6rem;
  }

  .flow_start_img {
    position: absolute;
    top: unset;
    bottom: 0;
    left: 8.9rem;
    width: 15rem;
    height: 13.2rem;
  }

  /* flow7 */
  .flow_item_pos7 {
    padding-bottom: 14.1rem;
  }

  .flow_item7 {
    padding-top: 0;
  }

  .flow_monitoring_img {
    position: absolute;
    top: unset;
    bottom: 0;
    left: 12.9rem;
    width: 12rem;
    height: 11.7rem;
  }

  /* page_bottom */
  .flow_page_bottom {
    position: relative;
    height: 8rem;
  }

  .flow_flower_img {
    position: absolute;
    top: 4.3rem;
    right: 1.5rem;
    width: 4rem;
    height: 3.7rem;
    object-fit: cover;
  }

  .fuwafuwa3 {
    animation: fuwafuwa3 4s ease-in-out infinite alternate;
    display: inline-block;
    transition: 1.5s ease-in-out;
  }

  @keyframes fuwafuwa3 {
    0% {
      transform:translate(0, 0) rotate(-9deg);
    }
    50% {
      transform:translate(0, -0.7rem) rotate(0deg);
    }
    100% {
      transform:translate(0, 0) rotate(9deg);
    }
  }
}