@charset "utf-8";
#mortgage {
    max-width: 1200px;
    margin: 0 auto;
}

#Page-mortgage .flowBox {
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    padding-left: 20px;
}

#Page-mortgage .flowBox .inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    margin: 0 0 30px 0;
}

.flowBox .inner-img {
    width: 100%;
    margin-bottom: 10px;
}

.flowBox .inner-img img {
    width: 100%;
    max-width: 240px;
}

.inner-contents {
    /* width: calc( 100% - 60px ); */
    width: 100%;
}

.inner-arrow {
    width: 40px; /* 矢印の幅 */
    height: 100%; /* 矢印の高さ */ 
    min-height: 100px;
    background: linear-gradient(#f5fbf6,#4caf50); /* 長方形部分の色 */
    position: relative; /* 三角形部分を作るための相対位置 */
}

.inner-arrow::after {
    content: '';
    position: absolute;
    bottom: -20px; /* 三角形部分の高さと一致させる */
    left: 0;
    border-width: 20px 20px 0 20px; /* 上辺の幅を0にして下向きの三角形を形成 */
    border-style: solid;
    border-color: #4CAF50 transparent transparent transparent; /* 下向きの三角形の色を設定 */
  }

  .stepTitle {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #aaa;
    margin-bottom: 0;
  }

  .stepTheme {
    font-weight: bold;
    font-size: 1.6rem;
    color: #cdb690;
  }


  .step-bar, .step-bar-bullet {
    position: relative;
    margin-bottom: 60px;
}

.step-bar::before {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    background: #004175;
    /* left: -52.5px; */
    left: -22.5px;
    /* border-radius: 50%; */
    top: 14px;
}

.step-bar-bullet::before {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    background: #004175;
    /* left: -52.5px; */
    left: -22.5px;
    /* border-radius: 50%; */
    top: 14px;
}

.step-bar::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background: linear-gradient(#004175,#cdb690);
    /* left: -49.5px; */
    left: -19.5px;
    top: 25px;
}

@media screen and (max-width: 1399.98px) {
    .step-bar::after {
        /* height: calc(100% + 1575px); */
    }
    }
    
    @media screen and (max-width: 1200px) {
    .step-bar::after {
        /* height: calc(100% + 1740px); */
    }
    }
    
    @media screen and (max-width: 992.98px) {
    .step-bar::after {
        /* height: calc(100% + 1990px); */
    }
    }
    
    
    @media screen and (max-width: 767px) {
    .sp_none{
        display: none;
    }
    
    .pc_none{
        display: block;
    }
        
        .step-bar::after {
        /* height: calc(100% + 105px); */
    }
        
        .icon_img {
        background-size: 100px;
    }
        
        .icon07{
        background-size: 100px;
    }
        
        
    }
    
    @media screen and (max-width: 560px) {
    .step-bar::after {
        /* height: calc(100% + 530px); */
    }
    }
    
    /* @media screen and (max-width: 477px) {
    .step-bar::after {
        height: calc(100% + 55px);
    }
    } */

    @media screen and (min-width: 992px) {
        #Page-mortgage .flowBox .inner {
            flex-direction: row;
            justify-content: flex-start;
            width: 100%;
            height: 100%;
            flex-wrap: wrap;
            margin: 0 0 30px 0;
            padding: 20px 0;
        }

        .flowBox .inner-contents {
                /* width: calc( 100% - 60px ); */
                width: calc( 100% - 330px );
        }

        .flowBox .inner-img {
            width: 300px;
        }

        .flowBox .inner-img img {
            max-width: 90%;
        }
    }