/* スマホ用の記述 */

html{
  padding:0;
}
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background:rgb(250, 250, 250); 
  margin-top: 20px;

}

section{
  width:100%;
}

.header-container{
  width:480px;
  height:40px;
  background:black;
  display:flex;
  position: fixed;
  left:50%;
  transform:translate(-50%, -50%);

}

.image1{
  height:35px;
  padding-left:7px;
}

header ul{
  margin:0;
  margin-left: auto;
  margin-right:auto;
  padding:0px;
}

header li{
  float: left;
  list-style: none;
  width:80px;
  height: 40px;
  text-align: center;
  border-left: 1px solid white;
  line-height: 2.4em;
}

header li:last-child{
  border-right: 1px solid white;
}

header li:hover{
  background:rgb(0, 64, 148);
}

header a{
  font-size:12px;
  font-family: sans-serif;
  font-weight: lighter;
  color:white;
  text-decoration: none;
  display:block;
}

.infomation{
  background-image: url("stripe.png");
  background-size:5px;
  height:120px;
  display:flex;
  width:480px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom:40px;
}

.infomation h3{
  display:none;
}

.element{
  margin-left: auto;
  margin-right: auto;
  display:flex;
}

.infomation .image2{
  height:110px;
  margin-top: 35px;
}

.infomation .image3{
  height:120px;
  margin-top:35px;
  margin-left: 25px;
}

.facebook{
  width:150px;
  height:30px;
  font-size: 18px;
  font-family: sans-serif;
  font-weight: lighter;
  color:white;
  background:#1877f2;
  text-align:center;
  text-decoration: none;
  border-radius: 3px;
  margin-left: 25px;
  margin-top:75px;
  line-height: 1.7em;
  letter-spacing: 0.5px;
}

.service{
  background:white;
  width:480px;
}

.service h1{
  font-size: 35px;
  font-family: sans-serif;
  font-weight: lighter;
  letter-spacing: 2px;
  color:gray;
  text-align:center;
  margin:0;
  padding-top:25px;
  padding-bottom:25px; 
}

.direction{
  width:380px;
  margin-left: auto;
  margin-right:auto;
  margin-bottom:60px;
}

.service h2{
  margin:0;
  font-size: 25px;
  font-family: sans-serif;
  font-weight: lighter;
  color:gray;
  margin-bottom:5px;
}

.service1{
  width:380px;
  height:auto;
  border-radius: 2.5%;
  margin-left:auto;
  margin-right:auto;
  margin-bottom:10px;
}

.direction p{
  font-size: 12px;
  font-family: sans-serif;
  font-weight: lighter;
  width:380px;
  color:gray;
  margin:0;
}

.service h3{
  font-size: 5px;
  font-family: sans-serif;
  font-weight: lighter;
  color:gray;
  text-indent: 8em;
  padding-bottom:35px;

}



@media (min-width:480px) {
 
  header{

  }
  .header-container{
    width:1000px;
    height:60px;
    margin-left: auto;
    margin-right:auto;
    border-top:150px solid rgb(250, 250, 250);
  }

  .top-image{
    width:250px;
    margin-top:20px;
    margin:0;
    padding-top: 2px;
  }

  .image1{
    padding-top:7px;
    padding-left: 25px;
    width:80px;
    height:auto;
  }

  header li{
    width:130px;
    height: 60px;
    line-height: 3.7em;
  }

  header a{
    font-size:15px;
    font-family: sans-serif;
    font-weight: lighter;
    color:white;
    text-decoration: none;
    letter-spacing: 1px;
  }
  
  section {
    width:1000px;
    height:auto;
    display:flex;
    margin-left: auto;
    margin-right:auto;
  }

  .infomation{
    height:2400px;
    width:250px;
    margin:0;
    margin-top:105px;
    position:fixed;
  }

  .element{
    margin-left: auto;
    margin-right: auto;
    display:flex;
    flex-direction: column;
    height:auto;
    width:250px;
    position: relative;
  }

  .infomation .image2{
    width:210px;
    height:auto;
    margin:0;
    margin-top:20px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .infomation .image3{
    width:200px;
    height:auto;
    margin-left: auto;
    margin-right: auto;
  }
  
  .facebook{
    width:200px;
    height:30px;
    font-size: 20px;
    line-height: 1.4em;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    margin-top:50px;
  }

  .service{
    width:750px;
    height:auto;
    border-left:250px solid white;
    margin-top:105px;
  }

  .service h1{
    margin-top:50px;
    font-size:50px;
    margin-bottom:20px;
  }

  .service h2{
    line-height: 1em;
    margin-bottom:10px;
    margin-top:15px;
  }

  .service h3{
    display:none;
  }

  .direction{
    width:450px;
    justify-content: center;
  }
  
  .service1{
    width:450px;
    height:900;
  }

  .direction p{
    font-size: 14px;
    font-family: sans-serif;
    font-weight: lighter;
    line-height:1.9em;
    width:450px;
    margin-bottom:100px;
  }

  .infomation h3{
    font-family: sans-serif;
    font-weight: lighter;
    font-size: 5px;
    text-indent: 3.7em;
    display:flex;
    position: absolute;
    left:0;
    bottom:10px;
  }
}

