*{
    margin: 0;
    padding: 0;
  }
  body{
  margin: 0 auto;
  width: 910px;
  font: 14px/1.4 "メイリオ","Meiryo",arial,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
  color:#252525;
  background: #ffffff;
  max-width: 100%;
  }
  .wrapper{
    padding: 0 20px;
  }
  a{
    color:#006898;
    text-decoration:none;
  }
  a:hover{
    color:#2cafe3;
  }
  .clear{
    clear:both;
  }
  
  .main {
    padding: 20px 0;
  }
  .main h2{
    margin-bottom: 10px;
    padding: 2px 10px 0px 15px;
    line-height: 40px;
    font-size: 15px;
    color: #ffffff;
    background-image: url(../image/heading2.png);
    }
  /*----------------------------top-bar（最上部）--------------------------*/
  .top-bar{
    display: flex;
    width: 100%;
  }
  .top-bar img{
    margin-top: 40px;
    max-width: 100%;
  }
  .top-bar .logo{
    width: 50%;
  }
  .top-bar .tel{
    margin-left: auto;
    width: 30%;
  }
  .top-bar .tel img{
    margin-top: 5px;
    object-fit: contain;
  }
  .top-bar .fa{
    display: none;
    margin-top: 50px;
    font-size: 30px;
  }
  
  /*------------------------menu----------------------------*/
  #menu {
    cursor: pointer;
  }
  .sp_menu_toggle {
    display: none;
  }
  .sp_menu_toggle li{
    position: relative;
    top: 60px;
    right: 45px;
    list-style: none;
    width: 480px;
    height: 15px;
    padding-left: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    background: #f5f5f5;
    border-bottom:1px solid #2cafe3;
  }
  .sp_menu_toggle li a{
    font-size: 14px;
    font-weight: bold;
    text-align: center;
  }
  
  /*----------------------------nav-bar--------------------------*/
  .nav-bar{
    display: flex;
    width: 100%;
  }
  .nav-bar li{
    list-style: none;
    width: calc(100% / 7);
  }
  .nav-bar li a img{
    max-width: 100%;
  }

  /*-----------------------footer(最下部)-----------------------*/
.footer{
    clear:both;
    padding: 10px 0 10px;
    border-top: 1px solid #006898;
    white-space: nowrap;
  }  
  .footer .logo{
    float:left;
    padding: 10px 0 5px;
    width: 25%;
    } 
  .footer .logo img{
    max-width: 100%;
  }
  
  .footer .box{
    display: inline-block;
    width: 25%;
    margin-top: 10px;
    color: #006898;
    
  }
  .footer .box2{
    display: inline-block;
    width: 25%;
    margin-top: 10px;
  }
  .footer .box3{
    display: inline-block;
    width: 25%;
    margin-top: 10px;
  }
  .footer .logo-sp{
    display: none;
  }
  
  /*---------------------------adress--------------------------*/
  address{
   padding-bottom: 1rem;
   margin-top: 60px;
   text-align: center;
   font-style:normal;
   font-size: 12px;
  }

  /*-------------------------レスポンシブ対応-------------------*/
 /* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
    body{
      width: 610px;
    }
  
    /*--top-bar--*/
    .top-bar img{
      margin-top: 20px;
    }
    .top-bar .logo{
      width: 40%;
    }
    .top-bar .logo img{
      margin-left: 40px;
    }
    .top-bar .tel{
      width: 40%;
    }
    .top-bar .tel img{
      margin-top: 8px;
    }
    .top-bar .fa{
      display: flex;
      margin-top: 28px;
      font-size: 30px;
    }
    
    /*--nav-bar--*/
    .nav-bar{
      display: none;
    }
    
    /*--menu-bar--*/
    .sp_menu_toggle li{
      position: relative;
      top: 65px;
      right: 45px;
      list-style: none;
      width: 640px;
      height: 16px;
      padding-left: 10px;
      padding-top: 14px;
      padding-bottom: 14px;
      background: #f5f5f5;
      border-bottom:1px solid #2cafe3;
      z-index: 100;
    }
    .sp_menu_toggle li:last-child{
      border-bottom: none;
    }
    .sp_menu_toggle li a{
      font-size: 14px;
      font-weight: bold;
      padding-left: 15px;
    }

     /*--footer--*/
  .footer .logo{
    display: none;
  }
  .footer .logo img{
    width: 100%;
    margin-top: 100px;
  }
  .footer .box{
    margin-left: 4%;
    width: 32%;
  }
  .footer .box2{
    width: 32%;
  }
  .footer .box3{
    width: 32%;
  }
  .footer .logo-sp{
    display: block;
    width: 100%;
    margin-top: 20px;
  }
  .footer .logo-sp img{
    position: absolute;
    width: 30%;
    left: 50%;
    transform: translateX(-50%);
  }

  address{
    margin-top: 120px;
    font-size: 14px;
   }
}

/* スマートフォン 縦(ポートレート) */
@media only screen and (max-width:480px){
    body{
      width: 450px;
    }
  
    /*--top-bar--*/
    .top-bar img{
      margin-top: 30px;
    }
    .top-bar .tel img{
      margin-top: 15px;
    }
  
    /*--menu-bar--*/
    .sp_menu_toggle li{
      position: relative;
      top: 60px;
      right: 45px;
      list-style: none;
      width: 480px;
      height: 15px;
      padding-left: 10px;
      padding-top: 12px;
      padding-bottom: 12px;
      background: #f5f5f5;
      border-bottom:1px solid #2cafe3;
      z-index: 100;
    }
    .sp_menu_toggle li:last-child{
      border-bottom: none;
    }
    .sp_menu_toggle li a{
      font-size: 14px;
      font-weight: bold;
      padding-left: 15px;
    }

    /*--footer--*/
  .footer{
    top: 500px;
  }
  .footer a{
    font-size: 10px;
  }
  .footer .logo{
    width: 50%;
  }
  .footer .logo img{
    margin-top: 100px;
  }
  address{
    margin-top: 150px;
    font-size: 10px;
   }
}

/*0〜414px*/
@media (max-width: 414px){
    body{
      width: 414px;
    }
    /*--top-bar--*/
    .top-bar img{
     margin-top: 30px;
     max-width: 100%;
     object-fit: cover;
   }
   .top-bar .logo{
     width: 40%;
   }
   .top-bar .logo img{
     margin-left: 1rem !important;
   }
   .top-bar .tel{
     width: 40%;
   }
   .top-bar .tel img{
     margin-left: 0 !important;
   }
    /*--menu-bar--*/
    .sp_menu_toggle li{
     height: 10px;
   }

   /*--footer--*/
  .footer{
    top: 500px;
  }
  .footer a{
    font-size: 10px;
  }
  .footer .logo-sp img{
    width: 50%;
  }
  address{
    font-size: 10px;
  }
}