*,*:before,*:after{
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
*{
  margin: 0;
  padding: 0;
}
a{
  color: inherit;
  text-decoration: none;
}
body{
  font-family: 'Arial','メイリオ','Meiryo','Osaka','ヒラギノ角ゴ ProN W3','Hiragino Kaku Gothic ProN',sans-serif;
  background: #fcfcfc;
}

header{
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 35px;
  margin: 5px auto;
  color: #4040BB;
}
#title{
  position: absolute;
  bottom: 0;
  padding: 0 5%;
  font-size: 17px;
}
#title span{
  font-size: 14px;
}
#menu-btn img{
  width: 35px;
  display: block;
  position: absolute;
  top: 0;
  right: 8px;
}
nav{
  display: none;
  padding:15px 24px 25px 0;
  border-bottom: solid .5px #ccc;
  text-align: right;
  background-color: #fcfcfc;
  opacity: .97;
  font-size: 20px;
}
.nav-works{
  line-height: 28px;
  font-size: 16px;
  font-weight: bold;
}
.menu-close{
  margin:10px 5px 0 0;
  font-size: 10px;
}
#nav-input:checked ~ nav {
  display: block;
  position: absolute;
  top: 40px;
  width: 100%;
}
.nav-hidden{
  display:none;
}

.contact-block{
  width: 90%;
  max-width: 600px;
  margin: 30px auto;
  padding: 0 15px 5px 15px;
  border: solid .7px #999;
  box-shadow: 0 0 1px #ccc;
  font-size: 14px;
}
.contact-block h1{
  width: 100%;
  margin: 10px auto;
  padding: 7px 15px 1px 12px;
  border-left: solid 7px #4040bb;
  background: #d4d4d4;
  font-size: 22px;
  font-weight: normal;
}
.mail{
  width: 100%;
  margin: 10px auto;
  border: dotted 1.5px #4040bb;
  text-align: center;
  background: #f9f9f9;
}
.mail h2{
  padding-top: 5px;
  font-size: 16px;
  font-weight: normal;
}
.mail .mailimg{
  width: 90%;
  max-width: 180px;
  margin: auto;
  padding: 5px 0;
}
.mail img{
  display: block;
  width: 100%;
}
.mail p{
  width: 100%;
  padding: 5px 0;
}
.mail p a{
  text-decoration: underline;
}
