#space-match #space-detail h2 {
  margin: 0 0 0.2em;
  font-size: 21px;
  font-weight: bold;

}

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



#space-match .sort-wrap {
  margin: -40px 0 0;
  padding: 0 0 10px 0;
  float: right;
}
}
@media screen and (max-width: 767px) {
  div#space-match .sort-wrap {
    margin: 20px 0 0;
    float: none;
  }
  div#space-match .wrap{
    margin: 0 30px -60px;
    width: auto;
  }
  div#space-match .archive-list li {
    width: calc(50% - 16px);
    margin: 0 8px 16px;
  }
  div#space-match .text-wrap .title{
    font-size: 12px;
  }
  div#space-match #contact .wrap{
    margin: 0;
  }
}

#space-match .sort-wrap select {
  padding: 10px 36px 10px 10px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"></path></svg>') no-repeat right center;
  background-size: 24px;
  font-size: 14px;
}

#space-match .archive-list {
  font-size: 0;
  clear: both;
}

@media screen and (max-width: 767px) {
  #space-match .archive-list {
    margin: 0 auto;
    width: calc(100% + 24px);
/*    max-width: 560px;*/
  }
  #space-match p.result{
    margin-bottom: 0.2em;
  }
}


#space-match .archive-list .image{
	width: 317px;
	height: 208px;
	overflow: hidden;
}
#space-match .archive-list .image img{
  vertical-align: middle;
}
@media screen and (max-width: 767px) {
	#space-match .archive-list .image{
	width: 100%;
  height: 27.5vw;
	display: block;
	}
  div#space-match .text-wrap .title{
    margin-top: 8px;
  }
  div#space-match > .section{
    padding-top: 10px;
  }
}
#space-match .archive-list .image img{
	margin: 0 auto;
	border-radius: 10px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#space-match .text-wrap .title {
    font-size: 16px;
    margin: 0;
    font-weight: 700;
    margin: 12px 0 2px;
}

#space-match .archive-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}
#space-match .archive-list li{
    display: block;
    color: #000;
    width: calc(33.33% - 24px);
    margin: 30px 12px 16px;
    box-sizing: border-box;
}
#space-match .archive-list li a{
	color: #000;
}
#space-match .archive-list li a:hover{
	color: #e40;
}