#sub_headimage{
	background-image: url(../img/flow/head_img.jpg);
}
/*-ー----------ナビ -----------------*/


.flow_navi {
  padding: 0 0px 0 0;
  list-style: none;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 1.3rem;
  width: 100%;
  margin: 125px auto;
}
 
.flow_navi li {
  display: block;
  white-space: nowrap;
  width:33.33%;
}
.flow_navi li a{
	padding-left:45px;
}
.flow_navi li:first-of-type a, li:first-of-type .a {
  border-left: 1px solid #dee0e4;
	padding-left:25px;
}
.flow_navi li:last-of-type a, li:last-of-type .a {
  border-right: 1px solid #dee0e4;
	padding-left:25px;
}
.flow_navi li.active a, li.active .a {
  background: #dee0e4;
}
.flow_navi li .a {
  cursor: default;
}
 
.flow_navi a, .a {
  border-top: 1px solid #dee0e4;
  border-bottom: 1px solid #dee0e4;
  padding: 12px 15px 12px 0px;
  display: block;
  position: relative;
  text-align: center;
  text-decoration: none;
  color: #336;
  background: #f4f4f4;
}
 
.flow_navi a:hover {
  background: #ecedef;
}


.flow_navi li.active a::after, ..flow_navi li.active .a::after {
  border-color: #dee0e4;
}
.flow_navi li:nth-of-type(1) {
  z-index: 4;
}
.flow_navi li:nth-of-type(2) {
  z-index: 3;
}
.flow_navi li:nth-of-type(3) {
  z-index: 2;
}

.flow_navi a:hover::after {
  border-color: #dee0e4;
}
.flow_navi a::after, .flow_navi .a::after {
  content: '';
  display: block;
  height: 120px;
  width: 120px;
  -webkit-transform: rotate(45deg) skew(10deg, 10deg);
          transform: rotate(45deg) skew(10deg, 10deg);
  position: absolute;
  top: -7px;
  z-index: -1;
  right: -30px;
  z-index: -1;
  background: inherit;
  border: 1px #c7c7c7 solid;
}


.flow_navi_step{
	background-color: #fff;
	font-size: 12px;
	font-weight: bold;
	line-height: 100%;
	color: #282828;
	margin: 0px auto 10px auto;
	display: inline-block;
	padding: 5px 28px;
	border-radius: 10px;
}
.flow_navi_name{
	font-size: 17px;
	font-weight: bold;
	color: #282828;
}
.flow_navi_period{
	font-size: 14px;
	font-weight: bold;
	color: #7b7b7b;
	display: inline-block;
	margin-left: 40px;
}


.flow_navi a span {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    margin: 0 auto;
	margin-left: 20px;
	vertical-align: middle;
}
.flow_navi span:before {
    content: '';
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -7px;
}
.flow_navi span:after {
    content: '';
    width: 5px;
    height: 5px;
    border: 0px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 3px;
    margin-top: -3px;
}



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

.flow_navi {
  margin: 60px auto;
  width: 100%;
}

.flow_navi_step{
	font-size: 10px;
	margin: 0px auto 5px 20px;
	display: inline-block;
	padding: 3px 14px;
	border-radius: 8px;
}
.flow_navi_name{
	font-size: 12px;
	line-height: 120%;
	margin-left: 20px;
}
.flow_navi_period{
	font-size: 12px;
	margin-left: 24px;
}
.flow_navi a span {
	margin-left: 4px;

}
.flow_navi a::after, .flow_navi .a::after {
  content: '';
  display: block;
  height: 116px;
  width: 116px;
  -webkit-transform: rotate(45deg) skew(20deg, 20deg);
          transform: rotate(45deg) skew(20deg, 20deg);
  position: absolute;
  top: -7px;
  z-index: -1;
  right: -30px;
  z-index: -1;
  background: inherit;
  border: 1px #c7c7c7 solid;
}
.flow_navi li:nth-of-type(1) {
  width: 32%;
}
.flow_navi li:nth-of-type(2) {
  width: 32%;
}
.flow_navi li:nth-of-type(3) {
  width: 36%;
}

.flow_navi li:nth-of-type(2) .flow_navi_name ,.flow_navi li:nth-of-type(2) .flow_navi_period,.flow_navi li:nth-of-type(2) .flow_navi_step{
 	 margin-left: 30px;
}
.flow_navi li:nth-of-type(3) .flow_navi_name ,.flow_navi li:nth-of-type(3) .flow_navi_period,.flow_navi li:nth-of-type(3) .flow_navi_step{
 	 margin-left: 25px;
}
	
}



/*-ー---------流れ　内容-----------------*/


#flow{
	margin: 105px 0;
}

.flow_line{
	width: 100%;
	display: flex;
	padding: 55px 0;
	border-bottom: solid 1px #cbcbcb ;
	justify-content: space-between;
}

.flow_image{
	width: 25%;
}
.flow_image img{
	width: 100%;
}
.flow_desc{
	width: 69%;
}

.flow_name{
	margin: 22px 0 50px 0;
	font-size: 25px;
	color: #232323;
	font-weight: bold;
}
.flow_name span{
	color: #3d6398;
	font-weight: bold;
	 height:50px;
	 width:50px;
	 border-radius:50%;
	 line-height:52px;
	 text-align:center;
	 border: solid 2px #3d6398;
	 display: inline-block;
	 margin-right: 20px;
}

.flow_desc p{
	line-height: 170%;
	color: #2a2a2a;
}



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

#flow{
	margin: 60px 0;
}

.flow_line{
	display: block;
	padding: 25px 0;
}
.flow_image{
	width: 60%;
}
.flow_desc{
	width: 100%;
}
.flow_name{
	margin: 15px 0 20px 0;
	font-size: 22px;
}
.flow_name span{
	 height:40px;
	 width:40px;
	 line-height:42px;
	 margin-right: 15px;
}

.flow_desc p{
	line-height: 170%;
	color: #2a2a2a;
}


}



























