@charset "UTF-8";

html{
  font-size: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body{
  color: black;
}

li{
  list-style: none;
}

img{
  max-width: 100%;
  
}

.wrapper{
  max-width: 960px;
  margin: 0 auto ;
  padding: 0 4%;
  font-size: 1rem;
}

.section-title{
  margin-bottom: 5%;
  text-align: center;
  margin-top: 70px;
}


#header{ 
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding-top: 30px;
 
}

#header h1{
  font-weight: 400;
  
}

#header ul{
  display: flex;
  padding: 30px 0;
}

#header li{
  margin-left: 20px;

}

#header a{
  color: black;
  text-decoration: none; 
}


#header img{
  width: 20px;
  height: 20px;
}

#mainvisual img{
  object-fit: cover;
  height: 420px;
  width: 100%;
  max-width: 1920px;
  margin-top: 30px;
}



#about p {
  text-align: left;
  font-size: 15px;
  margin: 30px;
}

#works-visual{
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

#works img{
  width:33%;
  margin-bottom: 23px;
  padding: 10px;
 
}

#news dl{
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid lightgray;
  margin-bottom: 20px;
  width: 100%;
}

#news dt{
  width: 20%;
  padding: 15px;
  border-bottom: solid 1px lightgray;
}

#news dd{
  width: 80%;
  border-bottom: solid 1px lightgray;
  padding: 15px;
}

#contact dl{
  display: flex;
  flex-wrap: wrap;
}

#contact dt{
  width: 15%;
}

#contact dd{
  width: 75%;
  margin-bottom: 15px;
}

#contact dd input,
#contact dd textarea{
  width: 100%;
  border: 1px solid lightgray;
  padding: 10px;
  outline: non
}

#contact dd textarea{
  height: 150px;
}

#contact .botton{
  text-align: center;
}

#contact .botton input{
  height: 60px;
  width: 200px;
  background-color: black;
  color: white;
  border: 1px solid black;
  margin: 20px;
  margin-bottom: 150px;
}

#contact .botton input:hover{
  background-color: white;
  color: black;
}

#footer{
  text-align: center;
  background-color: black;
  color: white;
  font-size: 8px;
  padding: 10px 10px;
}




@media screen and (max-width: 600px) {

  
#header{
  flex-direction: column;

}
 

#works img{
 width: 100%;
 flex-direction: column;
 height: auto;
}

#news dl{
  flex-direction: column;

}

#news dt{
  width: auto;
  border-bottom: none;
  padding-bottom: 0;

}

#news dd{
  width: auto;
  padding-top: 0;
}

#contact dl{
  flex-direction: column;
}

#contact dt{
  width: auto;

}

#contact dd{
  width: auto;
}
}