/*@mixin font-size($size: 24, $base: 10) {
  font-size: ($size / $base) * 1rem;
}*/
/* cleafix
------------------------------------------------------------ */
.u_cf {
  *zoom: 1;
}

.u_cf:after {
  content: "";
  display: block;
  clear: both;
}

/***************************************************
  flow.css
***************************************************/
.l_gNav .l_gNav_nav01 .menu01 > li:nth-child(4) > a::before {
  display: block;
}

/* #flow.index
------------------------------------------------------------ */
#flow.flow .tabBlock {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin: 0 -2rem;
}

#flow.flow .tabBlock::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background-color: #ccc;
}

#flow.flow .tabBlock .tab_label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: calc(50% - 4rem);
  margin: 0 2rem 6rem;
  padding: 3rem 0;
  border: 2px solid #d2d2e7;
  border-radius: 5px;
  background-color: #f5f5ff;
  color: #1d2088;
  font-size: 2.4rem;
  font-weight: bold;
  text-align: center;
  order: -1;
}

#flow.flow .tabBlock .tab_label > span {
  display: block;
  font-size: 2rem;
}

#flow.flow .tabBlock .tab_label > span::before {
  content: "";
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  border: 18px solid transparent;
  border-top: 18px solid #f5f5ff;
  z-index: 2;
}

#flow.flow .tabBlock .tab_label > span::after {
  content: "";
  position: absolute;
  bottom: -41px;
  left: 50%;
  transform: translateX(-50%);
  border: 20px solid transparent;
  border-top: 20px solid #d2d2e7;
  z-index: 1;
}

#flow.flow .tabBlock .tab_label.is_red {
  border: 2px solid #f599a0;
  background-color: #fff6f7;
  color: #e60012;
}

#flow.flow .tabBlock .tab_label.is_red > span::before {
  border-top: 18px solid #fff6f7;
}

#flow.flow .tabBlock .tab_label.is_red > span::after {
  border-top: 20px solid #f599a0;
}

#flow.flow .tabBlock .tab_content {
  width: calc(50% - 4rem);
  margin: 0 2rem;
}

#flow.flow .tabBlock .tab_switch {
  display: none;
}

@media only screen and (max-width: 767px) {
  #flow.flow .tabBlock {
    margin: 0;
  }
  #flow.flow .tabBlock::before {
    display: none;
  }
  #flow.flow .tabBlock .tab_label {
    width: 50%;
    margin: 0 0 3rem;
    padding: 1rem .5rem;
    border: 2px solid #d2d2e7;
    border-radius: 5px;
    background-color: #f5f5ff;
    color: #1d2088;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    order: -1;
  }
  #flow.flow .tabBlock .tab_label > span {
    display: block;
    font-size: 1.2rem;
  }
  #flow.flow .tabBlock .tab_label > span::before {
    display: none;
    bottom: -26px;
    border: 13px solid transparent;
    border-top: 13px solid #f5f5ff;
    z-index: 2;
  }
  #flow.flow .tabBlock .tab_label > span::after {
    display: none;
    bottom: -31px;
    border: 15px solid transparent;
    border-top: 15px solid #d2d2e7;
  }
  #flow.flow .tabBlock .tab_label.is_red > span::before {
    border-top: 13px solid #fff6f7;
  }
  #flow.flow .tabBlock .tab_label.is_red > span::after {
    border-top: 15px solid #f599a0;
  }
  #flow.flow .tabBlock .tab_content {
    display: none;
    width: 100%;
    margin: 0 1rem;
  }
  #flow.flow .tabBlock .tab_switch {
    display: none;
  }
  #flow.flow .tabBlock .tab_switch:checked + .tab_label > span::before,
  #flow.flow .tabBlock .tab_switch:checked + .tab_label > span::after {
    display: block;
  }
  #flow.flow .tabBlock .tab_switch:checked + .tab_label + .tab_content {
    display: block;
  }
}
