@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  background-color: #F0F0F0;
  color: #000;
  font-family:'meiryo', serif;
}
a {
  color: #000;
  text-decoration: none;
}
a :hover{
  opacity: 0.6;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
#nav{
    color: #000;
    padding:10px;
}

.wrapper {
  width: 100%;
  max-width: 1032px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
.inner{
    display: flex;
    padding:20px 0 30px 0;
}
.site-title{
    width: 100px;
    margin-right: 40px;
}
#header{
    height:80px;
    display: flex;
    justify-content: space-between;
}
#nav li{
    margin-right: 40px;
}
#header ul{
  display: flex;
}

/* メインビジュアル */
#mainvisual img{
  width: 100%;
  max-width: 1920px;
  height: 420px;
  object-fit: cover;
  margin-bottom: 80px;
}

/* アバウト */
#about{
  margin-bottom: 100px;
}
section .section-title{
  margin-bottom: 80px;
}
section p{
  margin-bottom: 30px;
}
section .list{
  margin-bottom: 30px;
  font-weight: bold;
}
#about li{
  margin-bottom: 20px;
  color: brown;
}
/* メールフォーム */
#contact{
  margin-bottom: 80px;
}
 #contact dl{
  flex-wrap: wrap;
 }
 .button{
  text-align: center;
  background-color: #000;
  display: block;
 }
.button input{
  color: #fff;
  padding: 10px 50px;
 }
 #contact dt{
  width: 15%;
  float: left;
 }

 #contact dd{
  margin-left:150px;
  margin-bottom: 10px;
 }
 #contact dd input, #contact dd textarea{
  width: 100%;
  border: solid 1px #c8c8c8;
  background-color: #fff;
 }
 #contact dd textarea{
  height: 180px;
 }
 .button{
  margin: auto;
  width: 199px;
 }
 .button:hover{
  opacity: 0.7;
 }
 form{
  margin-bottom: 50px;
 }


/* フッター */
#footer{
  padding:50px 180px;
  background-color: #fff;
}
.footer-title{
  width: 100px;
}
.flex{
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}
#footer p{
  text-align: left;
  font-size: small;
}

/* スマホ */

@media screen and (max-width: 600px) {
  .logo{
    width: 80px;
    margin:8px 0;
}
.inner{
    padding:0;
}
#nav{
    padding: 10px;
}
#nav li:first-of-type {
    margin-left: 0;
}
#nav li{
    margin-left:30px;
    margin-right:0;
}
#header{
    display: block;
    margin-bottom: 10px;
}
.section-title{
    margin-bottom:34px;
}
.section-title .ja{
    margin-bottom: ;
}
.wrapper{
    display: block;
}

/* ハンバーガーメニュー */
#nav{
  width: 300px;
  background: #fff;
  padding: 25px;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  opacity: 0;
  overflow-y: auto;
  transition: 0.5s;
  z-index: 20;
  }
  #nav li:first-of-type {
      margin-left: 30px;
  }

  .open #nav {
      left: 0;
      opacity: 1;
    }
    #nav ul.nav-menu {
      margin-bottom: 30px;
    }
    #nav ul{
      display: block;
    }
    #nav ul li {
      padding: 10px 0;
    }
    .hamburger {
      width: 30px;
      height: 30px;
      cursor: pointer;
      position: fixed;
      top: 22px;
      right: 18px;
      transition: 0.5s;
      z-index: 20;
    }
    .hamburger span {
      width: 30px;
      height: 2px;
      background-color: #121212;
      border-radius: 4px;
      display: block;
      position: absolute;
      left: 0;
      transition: 0.5s;
    }
    .hamburger span:nth-child(1) {
      top: 4px;
    }
    .hamburger span:nth-child(2) {
      top: 14px;
    }
    .hamburger span:nth-child(3) {
      bottom: 4px;
    }
    .open .hamburger span {
      background-color: #fff;
    }
    .open .hamburger span:nth-child(1) {
      transform: translateY(10px) rotate(-315deg);
    }
    .open .hamburger span:nth-child(2) {
      opacity: 0;
    }
    .open .hamburger span:nth-child(3) {
      transform: translateY(-10px) rotate(315deg);
    }
    #mask {
      display: none;
      transition: 0.5s;
    }
    .open #mask {
      width: 100%;
      height: 100%;
      background-color: #000;
      cursor: pointer;
      display: block;
      opacity: 0.8;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 10;
    }


   /* mainvisual */

   #mainvisual {
    width: 100%;
    margin-bottom: 10px;
}


#about .img {
    width: 100%;
}

#about  .section-title{
  margin-bottom: 50px;
}
#contact  .section-title{
  margin-bottom: 50px;
}

/* コンタクトフォーム */

#contact dt{
  float: none;
  width: 100%;
  margin-top: 10px;
 }
 #contact dd{
  margin:0;
 }

 /* フッター */
 #footer .flex{
  display: block;
 }

 #footer{
  padding:30px;
}
}