@charset "utf-8";
/* CSS Document */

@media screen { .imgInput input { display: none; } }

input, button, textarea, select{
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


/*==============================
ヘッダ
==============================*/

header{
  height: auto;
  padding: 150px 0;
}

header h2{
  position: relative;
  text-align: center;
  height: 40px;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
}

/*==============================
メイン
==============================*/
#flowWrap{
  width: 1000px;
  margin: 0 auto 50px;
  background-color: #06355c;
  padding: 50px;
  text-align: center;
}

#flowWrap > h3{
  display: inline-block;
  padding: 10px 50px;
  color: #fff;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  margin-bottom: 20px;
}

#flowWrap ul{
  width: 800px;
  margin: 0 auto;
}

#flowWrap ul li{
  display: flex;
  border-bottom: 1px solid #fff;
  padding: 30px;
}

.flowIcon{
  width: 100px;
  height: 100px;
  background-color: #fff;
  padding: 18px;
}

.flowIcon p{  
  font-size: 40px;
  font-weight: bold;
}

.flowIcon::before{
  content: "STEP";
  position: relative;
  font-size: 14px;
  font-weight: bold;
}

.flowText{
  width: calc(100% - 120px);
  text-align: left;
  margin-left: 20px;
}


.flowText h3,.flowText p{
  color: #fff;
}

.flowText h3{
  font-weight: bold;
}

.flowText p{
  font-weight: normal;
}

.paymentBox{
  width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 50px;
}

.paymentBox h3{
  color: #06355c;
}

@media screen and (max-width: 1000px) {
  #flowWrap{
    width: 600px;
    padding: 50px;
    text-align: center;
  }
  
  #flowWrap ul{
    width: 500px;
  }
  
  #flowWrap ul li{
    flex-wrap: wrap;
  }
  
  .flowIcon{
    margin: 0 auto 15px;
  }
  
  .flowText{
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
  
  .flowText h3{
    text-align: center;
  }
  
  .paymentBox{
    width: 500px;
  }
}

@media screen and (max-width: 800px) {
}

@media screen and (max-width: 600px){
  header{
    padding: 110px 0 50px;
  }
  #flowWrap{
    width: 350px;
    padding: 50px 20px;
    text-align: center;
  }
  
  #flowWrap ul{
    width: 100%;
  }
  
  #flowWrap ul li{
    flex-wrap: wrap;
  }
  
  .flowIcon{
    margin: 0 auto 15px;
  }
  
  .flowText{
    width: 100%;
  }
  
  .flowText h3{
    text-align: center;
  }
  
  .paymentBox{
    width: 100%;
  }
}