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

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

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

    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;
      }
      footer {
        padding: 0;
        margin: 0;
      }
      .footer-li {
        float: none;
        margin-bottom: 0;
        list-style: none;
        margin: 0;
      }
      .footer-li li {
        margin: 0;
      }

      .footer-li a {
        display: block;
        text-decoration: none;
        padding: 5px 10px;
        background-color: rgb(13, 154, 108);
        color: #fff;
        border-bottom: 1px solid #fff;
      }



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



     /*  float*/
.left {float: none;
padding: -10px;}
.right {float: none;
        padding: -10px}

        /* table */
        .table-2 th,.table-2 td {
        	display: block;
        	width: 100%;
        }

/*-------  */
.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%*/

ul.row2 li {width: 95%;}

#page-top {
  position: fixed;
  bottom: 5px;
  left: 20px;
  z-index: 9999
}
#page-top a {
    display: block;
    font-size: 8px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}



  }

  @media screen and (min-width: 780px)
  {
    .koji-guide-contents .btn-detail {
      position: absolute;
      right: 10px;
      bottom: 10px;
  }

}
