@charset "UTF-8";

/*-------------------------------------------*/
/*	PC
/*-------------------------------------------*/

@media screen and (min-width: 900px) {
  
  /* =====================
    flow
  ===================== */

  #flow::before {
    content: '';
    width: calc((100vw - 1100px) / 2 + 80px);
    height: 100%;
    display: block;
    background: var(--color-sub-gray);
    opacity: .2;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }

  .flow_list {
    counter-reset: number 0; 
  }

   .flow_item {
    counter-increment: number 1;
    padding-bottom: 60px;
    position: relative;
  }

  .flow_item::before {
    content: '';
    width: 1px;
    height: 100%;
    display: block;
    background: var(--color-main-black);
    position: absolute;
    bottom: 0;
    left: 40px;
  }

  .flow_item:last-of-type::before {
    display: none;
  }

  .flow_item:last-of-type {
    margin-bottom: 0;
  }

  .flow_item .ttl {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 35px;
    position: relative;
  }

  .flow_item .ttl span {
    display: inline-block;
    min-width: 228px;
    padding: 25px;
    border: 1px solid rgba(9, 9, 21, 0.2);
    background: #fff;
  }

  .flow_item .ttl::before {
    content: 'STEP.'counter(number,decimal-leading-zero);
    font-family: var(--font-marcellus);
    color: var(--color-sub-gold);
    background: var(--color-main-black);
    width: 90px;
    height: 25px;
    line-height: 25px;
    font-size: 14px;
    text-align: center;
    border-radius: 2px;
    position: absolute;
    top: -12px;
    left: 0;
  }

  .flow_item .text {
    max-width: 1060px;
    width: 97%;
    padding-left: 120px;
  }
  
}

/*-------------------------------------------*/
/*	SP
/*-------------------------------------------*/

@media screen and (max-width: 899px) {
    
  #flow::before {
    content: '';
    width: calc((100vw - 1100px) / 2 + 80px);
    height: 100%;
    display: block;
    background: var(--color-sub-gray);
    opacity: .2;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }

  .flow_list {
    counter-reset: number 0; 
  }

   .flow_item {
    counter-increment: number 1;
    padding-bottom: 40px;
    position: relative;
  }

  .flow_item::before {
    content: '';
    width: 1px;
    height: 100%;
    display: block;
    background: var(--color-main-black);
    position: absolute;
    bottom: 0;
    left: 20px;
  }

  .flow_item:last-of-type::before {
    display: none;
  }

  .flow_item:last-of-type {
    margin-bottom: 0;
  }

  .flow_item .ttl {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
  }

  .flow_item .ttl span {
    display: inline-block;
    min-width: 170px;
    padding: 18px 15px;
    border: 1px solid rgba(9, 9, 21, 0.2);
    background: #fff;
  }

  .flow_item .ttl::before {
    content: 'STEP.'counter(number,decimal-leading-zero);
    font-family: var(--font-marcellus);
    color: var(--color-sub-gold);
    background: var(--color-main-black);
    width: 70px;
    height: 23px;
    line-height: 23px;
    font-size: 12px;
    text-align: center;
    border-radius: 2px;
    position: absolute;
    top: -12px;
    left: 0;
  }

  .flow_item .text {
    padding-left: 50px;
    padding-right: 10px;
  }
  
}
