@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');

/*----------------------------------------------------------- 
    お問合せ 進捗バー CSS
------------------------------------------------------------*/
.step_wrap{
    margin-top: 0rem;
}
.step_area {
	margin:2rem auto ;
    margin-left: 2rem;
    padding: 0;
    height: 10rem;
    height: 7rem;
    box-sizing: border-box;
}
.step_area ul {
    display: flex;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
	list-style: none;
}

.step_area ul li {
    height: 7rem;
}
.step_area .step_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 7rem;
    align-items: center;
}

.step_area .step_text .title1 {
	font-size:1.2rem;
	display:inline-block;
	line-height:1.4rem;
    width: 100%;
    text-align: center;

}
.step_area .step_text .title2 {
	font-size:1.8rem;
	display:block;
	line-height:1.4em;
    text-align: center;
}
.step_area ul li.step01 {
	width: calc(30%);
    margin-right: 3%;
    position: relative;

}

.step_area ul li.step02 {
	width: calc(30%);
    margin-right: 3%;
    position: relative;
}
.step_area ul li.step03 {
	width: calc(40%);
    margin-right: 3%;
    position: relative;
}

/*step progress info (classにactiveの有無で判断)*/
.step_area ul li.step01.active,
.step_area ul li.step02.active,
.step_area ul li.step03.active {
    position: relative;
    background-size: 2.5rem 100%;
	background-color: var(--progress-curr-color);
	color:#FFFFFF;
}
.step_area ul li.step01.active #arrow1,
.step_area ul li.step02.active #arrow2{
    position: absolute;
    left : 100%;
    top:0;
    width: 0;
    height: 0;
    border-left:2rem solid  var(--progress-curr-color);
    border-top: 3.5rem solid transparent;
    border-bottom: 3.5rem solid transparent;
}
.step_area ul li.step01 #arrow1,
.step_area ul li.step02 #arrow2{
    position: absolute;
    left : 100%;
    top:0;
    width: 0;
    height: 0;
    border-left:2rem solid  var(--progress-color);
    border-top: 3.5rem solid transparent;
    border-bottom: 3.5rem solid transparent;
}

.step_area ul li.step01,
.step_area ul li.step02,
.step_area ul li.step03{
	background:var(--progress-color);
    background-size: 2.5rem 100%;
	color:#000;
}
.step_area ul li.step01 .arrow{
    z-index: 3;
}
.step_area ul li.step02 .arrow{
    z-index: 2;
}
.step_area ul li.step03 .arrow{
    z-index: 1;
}

/* --------------------------------------------------
	以上が 767remを超えるＰＣ端末環境設定
----------------------------------------------------- */
/* --------------------------------------------------
	ここから 768rem以下のタブレッド端末環境設定
----------------------------------------------------- */
@media not all and (max-width: 768px) {
    .step_area .step_text .title1 {
        font-size:1.2rem;
        display:inline-block;
        line-height:1.4rem;
        text-align: center;
    }
    .step_area .step_text .title2 {
        display:block;
        line-height:1.4em;
        text-align: center;
    }

}
/* --------------------------------------------------
	ここから 480px以下のモバイル端末環境設定
----------------------------------------------------- */
@media screen and (max-width:480px){
    .step_area {
        height: 20rem;
        margin-bottom:2.5rem;
        margin-left: 0;
    }
    .step_area ul {
        display: flex;
        flex-direction: column;
    }
    .step_area ul li{
        width: 100%;
        height: 5rem;
        margin-bottom: 2rem;
        padding: 1rem 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .step_area ul li p {
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
    }
    .step_area .step_text .title1 {
        font-size:1.4rem;
        padding-top:0;
        padding-right:1rem;
    }
    .step_area .step_text .title2 {
        font-size:1.4rem;
        display:inline;
    }
    .step_area ul li.step01,
    .step_area ul li.step02,
    .step_area ul li.step03{
        width:100%;
    }
    /*step progress info (classにactiveの有無で判断)*/
    .step_area ul li.step01.active #arrow1,
    .step_area ul li.step02.active #arrow2{
        position: absolute;
        z-index: 10;
        left : calc(50% - (8vw / 2));
        top: 5.3rem;
        width: 0;
        height: 0;
        border-top: 4vw solid  var(--progress-curr-color);
        border-left:3.5vw solid transparent;
        border-right:3.5vw solid transparent;
        border-bottom: 3.5rem solid transparent;
    }
    .step_area ul li.step01 #arrow1,
    .step_area ul li.step02 #arrow2{
        position: absolute;
        z-index: 10;
        left : calc(50% - (8vw / 2));
        top: 5.3rem;
        width: 0;
        height: 0;
        border-top: 4vw solid  var(--progress-color);
        border-left:3.5vw solid transparent;
        border-right:3.5vw solid transparent;
        border-bottom: 3.5rem solid transparent;
    }
        
}    
