@charset "utf-8";

div#contents{
  overflow: hidden;
  /*background: url(../img/bg-txt-flow.png) no-repeat 70% 0%;*/
} 

section.block{
  position: relative;
  clear: both;
  padding-right: 0;
  padding-left: 0;
}


/*body#flow h2.sst{
  margin-bottom: 130px;
}*/
.fontB {
  font-weight: bold;
}
#flow #contents .inner {
  position: relative;
  width: 960px;
  margin: 0 auto;
}


.flowbox {
  position: relative;
  width: 100%;
  margin: 0 auto 80px;
  padding: 40px 0;
  border: solid 4px #f3f0eb;
  border-radius: 32px;
  display: flex;
  /*height: 300px;*/
  flex-direction:row;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
}
.flowbox .box-title {
  position: absolute;
  display: inline-block;
  top: -10px;
  left: 40px;
  padding: 0 10px;
  line-height: 1;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  color: #b8322e;
  background: #FFF;
  font-weight: bold;
}
.flowbox img {
  width: 200px;
  margin-right: 60px;
}
.flowbox .point {
  width: 16px;
  position: absolute;
  top: 16px;
  left: -37px;
}
.flowbox .point span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0;
  background: #000;
}
.flowbox .txtbox {
  width: 620px;
  position: relative;
}
.flowbox .txtbox h3.st {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
}
#contents .flowbox .txtbox p {
  font-size: 14px;
  margin-bottom: 10px;
}
#contents .flowbox .txtbox p:last-child {
  margin-bottom: 0;
}
#contents .flowbox .txtbox p {
  font-size: 14px;
  margin-bottom: 10px;
}
#contents .flowbox .txtbox p.tel {
  font-size: 16px;
  font-family: 'Josefin Sans', sans-serif;
}
#contents .flowbox .txtbox p.tel a {
  font-size: 24px;
  font-weight: bold;
}
.flow_line {
  width: 16px;
  height: 100%;
  padding: 64px 0 212px 0;
  position: absolute;
  top: 0;
  left: 263px;
}
.flow_line span {
  background: #000;
  display: block;
  width: 1px;
  height: 100%;
  margin: 0 auto;
}




/*tabletlandscape 769over 1024under//////////////////////////////////////*/
@media print, screen and (min-width : 769px) and (max-width: 1024px){

h2.st {
    padding-top:70px;
}

.fbox{
  text-align: center;
}

.fbox img.fl ,
.fbox img.fr {
    float: none;
    margin-top:0;
    margin-right:0;
}

}



/*smartphone/////////////////////////////////////////////*/
@media print, screen and (max-width : 768px) {

div#contents{
    background-size: 80%;
} 

#mainvisual .inner {
    margin-top: 60px;
}
h2.st {
    padding-top:70px;
}

body#flow h2.sst{
  margin-bottom: 55px;
}

h3.st {
    font-size: 18px;
}

div#contents {
  overflow: visible;
}

/*body#flow #contents p{
  padding: 0 50px;
  text-align: left;
}*/

#flow #contents .inner {
  width: 100%;
}
.flowbox {
  width: 90%;
  margin: 0 auto 40px;
  padding: 30px 20px;
}
.flowbox .box-title {
  position: absolute;
  top: -10px;
  left: 20px;
}
.flowbox img {
  width: 60%;
  margin: 0;
}
.flowbox .txtbox h3.st {
  color: #b8322e;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}
#contents .flowbox .txtbox p.tel {
  text-align: center;
}
.flowbox .point {
  display: none;
}
.flow_line {
  display: none;
}

}