@charset "UTF-8";

/* ベース設定 */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Helvetica Neue", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #333;
  background: #fff;
  padding-top: 50px;
}
h1, h2 {
  font-weight: bold;
  margin: 0;
}
h2 {
  font-size: 1.5em;
}

/* レイアウト */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f5f5f5;
  padding: 0 1em;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#headerInner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width:800px;
  margin:0 auto;
}
nav a {
  margin-left: 0.2em;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 0.8em;
}

@media screen and (min-width: 480px) {  
  nav a {
    font-size: 1em;
  }
}

nav a:hover {
  text-decoration: underline;
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1em 1em 1em;
}
section {
  margin-bottom: 2em;
}
ul {
  padding-left: 1.2em;
}
/* About */
.aboutInner{
  display:flex;
}
.aboutInnerImg{
  width:150px;
  margin:0.5em 1em;
}
/* service */
.service ul{
  margin:0;
}
/* works ギャラリー */
.work-gallery{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.work-item {
  display: flex;
  flex-direction: column;
  font-size: 0.9em;
  width: 48%;
  margin-bottom:0.5em;
}

@media screen and (max-width: 799px) {
  .work-item {
    width: 100%;
  }
}

.work-item img {
  width: 100%;
  height: auto;
  display: block;
  background: #eee;
  padding: 0.2em;
}
.work-item h3{
  margin:.2em 0;
  font-size:1em;
}

.work-item p{
  margin:0 0 0.2em 0;
  flex-grow: 1;
}

/* contact note */
.contact-note {
  font-style: italic;
  color: #666;
}

/* フッター */
footer {
  text-align: center;
  padding: 1em 0;
  background-color: #f5f5f5;
  font-size: 0.8em;
}

.sns-icons {
  margin-bottom: 0.5em;
}
.sns-icons a {
  margin: 0 0.3em;
  display: inline-block;
}
.sns-icons img {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}