@charset "UTF-8";

/******************************
common
******************************/
.flow{
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 5rem;
}
.flow > div{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}
.flow > div > dt{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  writing-mode: vertical-rl;
  width: 80px;
}
.flow > div > dt span{
  color: #6E6E6E;
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 5px;
}
.flow > div > dt::before,
.flow > div > dt::after{
  content: "";
  position: absolute;
  top: 0;
  left: 60px;
  height: 100%;
}
.flow > div > dt::before{
  background: #818F99;
  width: 1px;
}
.flow > div > dt::after{
  border-top: 1px solid #818F99;
  border-bottom: 1px solid #818F99;
  width: 20px;
}
.flow > div > dd{
  padding-bottom: 3rem;
  width: calc(100% - 100px);
}
.flow ul{
  display: flex;
  flex-wrap: wrap;
}
.flow ul li{
  border-bottom: 1px solid #818F99;
  gap: 3rem;
  padding: 2rem 0;
  width: 100%;
}
.flow .step{
  color: #818F99;
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1;
  width: 60px;
}
.flow .step span{
  font-size: 2rem;
  font-weight: 300;
}
.flow .step .num{
  font-size: 5rem ;
  font-weight: bold;
}
.flow .content{
  width: calc(100% - 90px);
}
.flow .content .ttl{
  font-size: 1.8rem;
  font-weight: bold;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .flow > div > dt {
    width: 40px;
  }
  .flow > div > dt::before,
  .flow > div > dt::after{
    left: 40px;
  }
  .flow > div > dt span{
    font-size: 1.8rem;
  }
  .flow > div > dd {
    width: calc(100% - 70px);
  }
  .flow ul li{
    gap: 0;
  }
  .flow .step {
    flex-direction: row;
    align-items: center;
    gap: .5rem;
    width: 100%;
  }
  .flow .step span {
    font-size: 1.6rem;
    font-weight: 500;
  }
  .flow .step .num {
    font-size: 3rem;
    font-weight: bold;
  }
  .flow .content {
    width: 100%;
  }

}