/*-----------------------
  body
-------------------------*/
body{
  padding-top: 60px;
  }
  .wrap{
  width: 1000px;
  margin: 0 auto;
  }


  /*-----------------------
    header
  -------------------------*/
  header{
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  padding: 10px 0;
  background-color: #fff;
  }
  header .wrap{
    display:flex;
    justify-content:flex-start;
    align-items: center;
      justify-content: space-between;
  }
  header .logo{
  width: 50%;
    display:flex;
    justify-content:flex-start;
    align-items: center;
  }
  header .logo img{
  height: 40px;
  width: auto;
  margin-right: 1em;
  }
  header .logo h1{
  font-size: 1.2rem;
  }
  header .contact{
  width: 45%;
    display:flex;
    justify-content:flex-end;
    align-items: center;
  }
  header .contact .tel{
  margin-right:2em;
  display: inline-block;
  }
  header .contact .tel a{
  font-size: 2rem;
  font-weight: bold;
  }
  header .contact .mail{
  background-color: #8CC128;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
    justify-content: center;
    align-items: center;
  width: 160px;
  height: 27px;
  position: relative;
  }

  header .contact.sp{
  display: none;
  }

  br.sp{
  display: none;
  }

  /*-----------------------
    title
  -------------------------*/
  h2.title{
  color: #126bf3;
  font-size: 5rem;
  text-align: center;
  font-weight: bold;
  }
  p.subtitle{
  font-size: 1.6rem;
  color: #87c137;
  padding: 0.5em 0;
  text-align: center;
  }

  /*-----------------------
    footer
  -------------------------*/
  footer{
  }


  /*-----------------------
    page-top
  -------------------------*/
  #page-top{
    width:40px;
    height:40px;
    display:block;
    position:fixed;
    right:5%;
    bottom:5%;
    cursor:pointer;
      -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
    z-index:998;
  }
  #page-top img{
    width:40px;
    height:40px;
  }
  #page-top:hover{
    opacity:0.8;
  }


  @media screen and (max-width:1000px) {
  body{
  padding-top:55px;
  }
  .wrap{
  width: 90%;
  margin: 0 auto;
  }
  header{
  padding: 5px 0;
  }
  header .logo{
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        width:65%;
  }
  header .logo h1{
  padding-top:0.5em;
  font-size: 1rem;
  }
  header .logo img {
      height:30px;
      width: auto;
      margin-right: 1em;
  }

  header .contact{
  display: none;
  }
  header .contact.sp{
    display:flex;
    justify-content:flex-end;
    align-items: center;
  }
  header .contact.sp img{
  height: 30px;
  width: auto;
  margin-left: 1em;
  }

  br.sp{
  display:block;
  }

  h2.title {
      color: #126bf3;
      font-size:5vw;
  }

  }
