@charset "UTF-8";
/* CSS Document */

#top {
background-image: url(images/top.jpg);
}
#about .line {
border: solid 0.5px #ccc;
width: 1px;
height: 200px;
margin: 0 auto;
}
#about ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 50px 0;
}
#about li {
width: 50%;
}
#about .a1 li p {
text-align: left;
line-height: 2em;
margin-bottom: 80px;
}
#about .a1 li:nth-child(2) p {
margin-top: 50px;
margin-left: 50px;
}
#about .a2 li:nth-child(2) {
padding-left: 40px;
}
#about .a2 li:nth-child(2) p {
margin-bottom: 80px;
}
#works .etc{
width: 80%;
margin: 20px auto 0;
padding: 20px;
font-size: 24px;
line-height: 1.8em;
text-align: center;
border: solid 1px #ccc;
background-color: #e6e6e6;
font-weight: 500;
} 
#about .a4 li {
width: 25%;
} 




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

#about .line {
height: 100px;
}
#about ul {
display: block;
}
#about li {
width: 100%;
}
#about .a1 li p {
margin-bottom: 20px;
}
#about .a1 li:first-child img {
margin-bottom: 40px;
}
#about .a1 li:nth-child(2) p {
margin-top: 20px;
margin-left: 0px;
}
#about .a2 li:nth-child(2) {
padding-left: 0px;
}
#about .a2 li:nth-child(2) p {
margin-bottom: 20px;
}
#works .etc {
font-size: 16px;
}
#about .a4  {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#about .a4 li {
width: 48%;
margin-bottom: 20px;
} 



}

