@charset "UTF-8";

/* ==========================================================================
  requirement.css
========================================================================== */

.requirement {
  padding: 80px 0 50px;
}

.requirement .anchor__list li {
  width: calc((100% - 16%) / 3);
}

.requirement .box__title span {
  max-width: 900px;
}

.requirement-table {
  padding: 0 20px 55px;
}

.requirement-table .table__label {
  width: 145px;
}

.flow__item {
  display: flex;
  align-items: flex-start;
}

.flow__number {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-navy);
  border-radius: 100vmax;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-white);
  margin: 0 30px 50px 0;
  flex-shrink: 0;
  z-index: 2;
  font-size: 2rem;
  position: relative;
}

.flow__item:last-of-type .flow__number {
  margin: 0 30px 10px 0;
}

.flow__item:not(:last-child) .flow__number::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -42px;
  width: 1px;
  height: 33px;
  background-color: var(--color-navy);
  display: block;
  transform: translateX(-50%);
}

.flow__item:not(:last-child) .flow__number::before {
  content: "";
  position: absolute;
  left: 11px;
  bottom: -38px;
  width: 12px;
  height: 1px;
  background-color: var(--color-navy);
  transform: rotate(45deg);
  z-index: 1;
}

#box02 .flow__item:first-of-type {
  margin-bottom: 15px;
}

.flow__title {
  color: var(--color-navy);
  line-height: 1.4;
  font-weight: 600;
  padding: 10px 0px;
}

.flow__description {
  color: var(--color-black);
  line-height: 1.4;
}

@media screen and (max-width: 768px) {
  #page-requirement.page-sub h2 {
    letter-spacing: -1px;
    padding: 18px 0 18px 18px;
  }

  #page-requirement.page-sub h2 span {
    letter-spacing: 1px;
  }

  .requirement {
    padding: 30px 0 0;
  }

  .requirement .anchor__list li {
    width: calc((100% - 8.2%) / 2);
  }

  .requirement .box__title span {
    max-width: 100%;
  }

  .requirement-table {
    padding: 0 20px 30px;
  }

  .requirement-table .table__label {
    width: 75px;
  }

  .flow__number {
    width: 28px;
    height: 28px;
    margin: 0 15px 35px 0;
    font-size: 1.4rem;
  }

  .flow__item:last-of-type .flow__number {
    margin: 0 15px 10px 0;
  }

  .flow__item:not(:last-child) .flow__number::after {
    bottom: -30px;
    height: 25px;
  }

  .flow__item:not(:last-child) .flow__number::before {
    left: 8px;
    bottom: -27px;
    width: 6px;
  }

  .flow__title {
    padding: 5px 0px;
  }
}
