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

    h1.sub-p {
      font-size: 14px;
    }

    h2 {
    line-height: 1.1em;
    font-size: 13px;
    }

    h2.st-1 {
      font-size: 15px;
      padding-bottom: 5px;
      margin-top: 20px;
      text-align: center;
    }

    h3.style2 {
      color: #218380;
      font-size: 20px;
    }


    .contact a {
      max-width: 250px;
    }

    header {width: 100%;
            height: auto;}

    .head {display: none;}


     .ap-point {
       position: relative;
       margin-bottom: 20px;
     }
     .ap-point li {
       font-size: 18px;
       margin-bottom: 20px;
       list-style: none;
     }

     .ap-img {
       position: absolute;
       width: 65%;
       height: auto;
       top: 10px;
       right: 5px;
     }


    #g-navi {width: 100%;
             height: auto;
             box-sizing: border-box;
           }

       #g-navi ul {width: 100%;}

       .glo-navi {display: flex;
                justify-content:space-around;
                text-align: center;
              }


       #g-navi ul li {font-size: 12px;
       }



    #content {width: 100%;
             height: auto;
             margin: auto;
           }



     #main-content {width: 99%;
                  margin: auto;
                    float: none;
                    margin-top: 20px;
                }

      #main-content::before {
        content: "";
        display: block;
        clear: both;
      }


    body {font-size: 13px;
         letter-spacing: 0.2em;
         line-height: 1.2em;
         font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI","Noto Sans Japanese","ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
         overflow-x: hidden;
     }



     /*  float*/
.left {float: none;
padding: 0;}
.right {float: none;
        padding: 0;}

/*-------  */
.rank-left img,.rank-right img {
  width: 30%;
  height: auto;
}

.rank-right .rank-text {
  margin-right: 100px;
}
.rank-left .rank-text {
  margin-left: 100px;
}


/* flex------ */
.flex4 {
  width: 50%;
}/*pcで25%*/


/* ----box----- */
.box3-title h3 {
left: 5px;
font-size: 16px;
max-width: 320px;
}
.offer-flow h2 {
  left: 10px;
}

/* ballon01 */
.ballon01 .faceicon {
float: none;
}
.chatting {
  margin-left: 10px;
}


  }
