@charset "UTF-8";

.flow_chart_content{
  position: relative;
}
.flow-chart-txt-wrap{
  position: absolute;
  border: 2px solid #BFBFBF;
  height: 330px;
  transform: translate(-100px, -40px);
  width: calc(100% + 80px) !important;
  margin: 0 !important;
  max-width: 1200px;
}
.flow-chart-txt{
  display: block !important;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px !important;
  writing-mode: vertical-rl;
  text-orientation: upright;
  text-align: center;
  height: 100%;
  margin: 0 !important;
  letter-spacing: 8px;
  line-height: 40px;
  font-weight: bold;
  color: #fff;
  background-color: #bfbfbf;
}

@media screen and (max-width: 767px){
  .flow-chart-txt-wrap{
    height: 500px;
    transform: translate(-24px, -30px);
    width: calc(100% + 48px) !important;
  }
  .flow-chart-txt{
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: 100% !important;
    height: 30px;
    line-height: 30px;
  }
  .border-long-sp{
    margin-bottom: 80px !important;
  }
}

@media screen and (max-width: 396px){
  .flow-chart-txt-wrap{
    height: 556px;
  }
}

@media screen and (max-width: 395px){
  .flow-chart-txt-wrap{
    height: 586px;
  }
}