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



.head-line h1 {
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
}
.text {
    margin-top: 1rem;
    font-size: 1.3rem;
    text-align: center;
    width: auto;
    padding-top: 0px;
    max-width: 26ch;
    margin-left: auto;
    margin-right: auto;
    color: rgba(112,110,110,1.00);
    line-height: 1.7rem;
    font-weight: 400;
}



.gallery {
  display: grid;
  grid-template-columns: auto;
  grid-gap: 20px;
  margin-left: 20px;
  margin-right: 20px;
}
.item {
  font-size: 1.4rem;
  margin-top: 28px;
}
.item img {
  max-width: 300px;
  width: 100%;
    
}
.item p {
  height: 100px;
  font-size: 1.1rem;
  max-width: 300px;
  padding-bottom: 0px;
  padding-top: 49px;
}


@media (min-width:400px){
main .text {
    max-width: 35ch;
	
}
	.gallery{
		grid-template-columns: auto auto;
	}
.hornav li a {
}

}

@media (min-width:768px){
	.gallery {
    
    grid-template-columns: auto auto auto;
	}
main .text {
    max-width: 60ch;
    width: auto;
}

}


@media (min-width:1024px){
	.gallery {
    display: grid;
	grid-template-columns: auto auto auto auto;
	}
	
.gallery .item p {
    max-height: 122px;

}

}
