#pmg {
  
  padding-top: 60px;
}
#pmg div.wrap {
  
  display: flex;
  width: 980px;
  margin: 0 auto;
}
#pmg div.wrap div.box1:not(:first-child){
    margin-left: 25px;
}
#pmg div.wrap div.box1 {
  
  width: 270px;
  padding: 20px 19px 30px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  gap: 40px;
  display: flex;
  flex-direction: column;

}
#pmg div.wrap div.box1 div.text {
  
  display: flex;
  justify-content: space-between;
}
#pmg div.wrap div.box1 div.text h2 {
  
  font-size: 20px;
  font-weight: bold;
}
#pmg div.wrap div.box1 div.text a {
    padding: 2px 15px 3px;
  font-weight: 400;
  font-size: 12px;
  color: #666;
  line-height: 1.417em;
  border: 1px solid #f4f4f4;
  border-radius: 11px;
}
#pmg div.wrap div.box1 a {
 
  display: flex;
  align-items: center;
}
#pmg div.wrap div.box1 a .img{
  
  width: 75px;
  height: 76px;
  border-radius: 5px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#pmg div.wrap div.box1:nth-child(1) a:nth-child(2) .img{
  background-image: url(../img/pmg1.jpg)
}
#pmg div.wrap div.box1:nth-child(1) a:nth-child(3) .img{
  background-image: url(../img/pmg2.jpg)
}
#pmg div.wrap div.box1:nth-child(1) a:nth-child(4) .img{
  background-image: url(../img/pmg3.jpg)
}
#pmg div.wrap div.box1:nth-child(2) a:nth-child(2) .img{
  background-image: url(../img/pmg4.jpg)
}
#pmg div.wrap div.box1:nth-child(2) a:nth-child(3) .img{
  background-image: url(../img/pmg5.jpg)
}
#pmg div.wrap div.box1:nth-child(2) a:nth-child(4) .img{
  background-image: url(../img/pmg6.jpg)
}
#pmg div.wrap div.box1:nth-child(3) a:nth-child(2) .img{
  background-image: url(../img/pmg7.jpg)
}
#pmg div.wrap div.box1:nth-child(3) a:nth-child(3) .img{
  background-image: url(../img/pmg8.jpg)
}
#pmg div.wrap div.box1:nth-child(3) a:nth-child(4) .img{
  background-image: url(../img/pmg9.jpg)
}
#pmg div.wrap div.box1 a h3 {
  
  font-weight: 500;
  font-size: 14px;
  color: #222;
  line-height: 1.429em;
  padding-left: 15px;
}
#pmg div.wrap div.box1 a h3 span{
  
  font-weight: 700;
  font-size: 16px;
  color: #222;
  letter-spacing: -0.020em;
  line-height: 1.444em;
  display: block;
}
#pmg div.wrap div.box1 a p {
  
}