@charset "utf-8";

/*-------------------toppage-----------------*/

.span02 {
  display: inline-block;
  background: url(../images/top/sendai/span01.png) repeat-x left bottom;
  padding-bottom: 15px;
  color:#666;
}

#s20{
  position: relative;
  background: #fbf5f7;
}
#s20::before{
  content: " ";
  position: absolute;
  left: 0;
  top:0;
  width:100%;
  height: 100px;
  background: url("../images/top/kitakyusyu/bg04.png");
}

#s20 .container{
  position: relative;
  z-index: 2;
}
#s20 h2{
    padding-top: 40px;
    background-size:cover;
  background: url("../images/top/kitakyusyu/dokujisystem_bg.png") no-repeat left 58% top;  
}
#s20 ul{
  display: flex;
  flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px !important;
}


  #s20 ul li{
    width: 33%;
    margin: 0;
    padding: 5px !important;
    font-size:90%;
  }
  #s20 ul li:nth-of-type(4),#s20 ul li:nth-of-type(5){
    margin: 0 1%;
  }

#s20 ul li p{
  text-align: center;
  font-size:95%;
    line-height: 1.5em;
}


/**/

#s08{
  background: rgb(251, 245, 247);
  position: relative;
}
  #s08 .en img{
    height: 41px;
  }
  .flow li figure{
    width: 100%;
    text-align: center;
  }
  .flow li .text{
    width: 100%;
  }
  .flow-inner{
    padding-top: 10px;
    padding-bottom:10px;
  }
  .flow-inner h3 {
    display: inline-block;
    font-size:110%;
    background: #ff001a;
    color: #fff;
    padding: 10px 40px;
}
  .flow-inner section{
    border-bottom:solid 2px #fff;
    padding-bottom: 10px;
  }
  .flow-inner section.flow-sec4{
    border-bottom: none;
    padding-bottom: 0;
  }
  .flow-inner .inner1{
    background: none;
  }
  .flow-inner ul{
    background-size:20%;
    background-position: right top 28%;
  }
  .flow-inner ul li:first-of-type::after,.flow-inner ul li:nth-of-type(2)::after{
    content: none;
  }
  .flow-inner ul li:first-of-type{
    padding-right: 0;
    margin-bottom: 5%;
  }
  .flow-inner ul li:first-of-type p,.flow-inner ul li:nth-of-type(2) p,.flow-inner ul li:nth-of-type(3) p{
    padding: 0 3%;
  }
  .flow-inner ul li:nth-of-type(3) {
    margin-top: -30%;
    padding-right: 45%;
    background: url(../images/top/kitakyusyu/flow/flow_bg2.png) right 7% bottom 5% no-repeat;
}
  .flow-inner ul li:nth-of-type(2){
    margin-top: 0;
    padding-left: 0;
      margin-bottom: 10%;
  }
  .flow-inner ul li:nth-of-type(3){
    margin-top: 0;
    padding-right: 0;
    background-position: right 2% top 0;
  }
  .flow-sec1,.flow-sec2,.flow-sec3{
    margin-bottom: 10px;
  }
  .flow-sec2 p,.flow-sec3 p,.flow-sec4 p{
    width: 100%;
    padding: 0 3%;
    font-size:90%;
  }
  .flow-sec4 .boxstyle01 p{
    width: 100%;
    padding: 0 3%;
  }
  .flow-sec4 .boxstyle01 figure{
    width: 100%;
    margin-bottom: 10px;
  }
  .flow-sec4 .enjoy{
    background: none;
    padding-right: 0;
  }


/*●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●
↑spサイズ
----------------------------------
↓pcサイズ
●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●●*/