@charset "UTF-8";
@import url("reset.css");

html {
  height: 100%;
  line-height: 200%;
}

body{
  color: #333;
  font-family:'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

p {
  line-height: 180%;
  margin-bottom: .5em;
}

a {
  text-decoration: none;
}

@media screen and (max-width: 470px){
  img {
    width: 100%;
  }
}


/* 					 header */
#header {
  align-items: center;
  display: flex;
  height: 110px;
  margin: 0 auto;
  width: 800px;
}

h1 {
  height: 100px;
  margin-right: auto;
  width: 160px;
}
h1 a {
  background-image: url("../img/logo.png?210214");
  background-repeat: no-repeat;
  display: block;
  height: 100px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

#header ul {
  margin-right: 10px;
}

#header li {
  display: inline-block;
  margin: 0 10px;
  list-style: none;
  text-align: center;
}
#header li a {
  color: #ccc;
  display: block;
}
#header li .fas {
  font-size: 30px;
}
#header li span {
  color: #999;
  display: block;
  font-size: .8em;
  line-height: 150%;
}
#header li a:hover {
  color: #ddd;
}
#header li a:hover span {
  color: #ccc;
}

@media screen and (max-width: 799px){
   #header {
     width: 100%;
   }
}

@media screen and (max-width: 470px){
  #header {
    height: 100px;
    margin-left: 10px;
    width: auto;
  }
  h1 {
    height: 80px;
    margin-right: 0;
    width: 130px;
  }
  h1 a {
    background-size: 130px;
    height: 80px;
  }
  #header ul {
    margin-left: 0;
  }
  #header li {
    margin: 0 3px;
  }
  #header li .fas {
    font-size: 25px;
  }
}




#contents {
  flex: 1;
}



/* 					contacts */
#contacts {
  height: 150px;
  text-align: center;
}
#contacts i {
  font-size: 25px;
  vertical-align: middle;
}
#contacts li {
  display: inline-block;
}
#contacts li a {
  background: #9cd9ff;
  border-radius: 3px;
  color: #fff;
  display: block;
  height: 35px;
  line-height: 200%;
  width: 35px;
}
#contacts li a:hover {
  background: #cce6f4;
}


@media screen and (max-width: 470px){
  #contacts {
    height: auto;
  }

}


/* 							#footer */
#footer {
  color: #999;
  height: 2em;
  padding-top: 1em;
  text-align: center;
}

h6#copyright {
  font-size: 0.7em;
  font-weight: normal;
}



/* 			各ページ */
.top,
.prof,
.works {
  text-align: center;
}


/* トップページ */
body#top {
  background-image: url(../img/top_img_full_pc.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

#top #header li a {
  color: #fff;
}

#top #contents {
  display: flex;
}

.top div.top_img {
  margin: auto;
}

#top #copyright {
  color: #fff;
}

/* 			制作例 */
.works p {
  margin: 30px 0;
}

.w-smpl {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  margin-bottom: 20px;
  width: 800px;
}

.smpl {
  background: #eee;
  box-shadow: 0 1px 5px #888;
  height: 140px;
  margin: 10px;
  width: 140px;
}
.smpl a {
  align-items: center;
  display: flex;
  height: 140px;
  justify-content: center;
  overflow: hidden;
  width: 140px;
}
.smpl img {
  height: auto;
  width: auto;
}


@media screen and (max-width: 470px){
  body#top {
    background-image: url(../img/top_img_full_mb.jpg);
  }

  .works p {
    margin: 10px 0;
  }
  .w-smpl {
    width: 100%;
  }
  
  .smpl {
    margin: 4px;
    width: calc(50% - 10px);
  }
  .smpl a {
    border: 1px solid #fff;
    width: 100%;
  }


}







