form.search-form {
  margin-bottom: 50px;
}
.buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
}
.reset-button {
  border: #000E64 2px solid;
  color: #000E64;
  border-radius: 50px;
  min-width: 280px;
  max-width: 100%;
  text-align: center;
  transition: .3s;
  padding: 15px 20px;
  position: relative;
  font-weight: bold;
  margin: 0;
  display: block;
  cursor: pointer;
  font-size: 16px;
}
.buttons .submit-button {
  margin: 0;
}
h3.card-title {
  font-size: 1rem;
}
ul.works {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 2em;
}
ul.works li {
  width: 30%;
}
ul.works li .list-item {
  text-align: center;
}
ul.works li .list-item img {
  width: 440px;
  height: 330px;
  object-fit: cover;
}
ul.works li .list-item .list-detail {
  width: 100%;
  margin-top: 1em;
  justify-content: flex-start;
  display: flex;
  flex-wrap: wrap;
  font-size: .8rem;
}
.list-detail div {
  border-bottom: #D6D6D6 1px solid;
  padding-bottom: 1em;
  margin-bottom: 1em;
  text-align: left;
}
.list-detail div.e_type {
  width: 100%;
}
.list-detail div.e_place {
  width: 40%;
}
.list-detail div.e_color {
  width: 60%;
}
ul.works li .list-item .list-detail label {
  color: #999;
  padding-right: 1em;
}
ul.works li .list-item .list-option .e_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 1em;
}
ul.works li .list-item .list-option .e_tags span {
  padding: 0.6em 1em;
  background: #FFF;
  border: #D6D6D6 1px solid;
  border-radius: 0.2em;
  color: #999999;
  font-size: .8rem;
  line-height: 1;
}
.btn-more {
  margin-bottom: 1em;
  position: relative;
  background: #000E64;
  color: #FFF;
  padding: 1em 3em 1em 1.5em;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.6em;
  transition: all 0.2s 0s ease;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 2px solid transparent;
}
a.btn-more:after {
  position: absolute;
  right: 0px;
  font-family: "Font Awesome 5 Free";
  content: "\f061";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
  right: 1em;
  top: 1.1em;
}
a.btn-more:hover {
  border: #000E64 2px solid;
  background: #FFF;
  color: #000E64;
}
a.btn-more:hover span.arrow:before,
a.btn-more:hover span.arrow:after {
  background-color: #000E64;
}

.pager .pagination {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-bottom: 3em;
}

.pager .pagination li {
  padding: 0;
  display: inline-block;
  width: 3em;
  height: 3em;
  text-align: center;
  position: relative;
}


.pager .pagination li a{
  width: 100%;
  height: 100%;
  text-align: center;
  display:flex;
  background:#000E64;
  border-radius: 3em;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all  0.3s ease;
}

.pager .pagination li a:hover,
.pager .pagination li a.active{
  color: #333;
  background: rgba(0, 14, 100, 0.3);
  border-radius: 3em;
}

@media only screen and (max-width: 767px){
  .search-form table tr {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
  }
  .search-form table th {
    display: block;
    width: 100%;
    padding: 0;
  }
  .search-form table th label {
    font-size: 2.8vmin;
  }
  .search-form table td {
    padding-top: 0.4em;
  }
  form.search-form input,
  form.search-form select {
    width: 100%;
    background: #FFF;
    border: #D6D6D6 1px solid;
    padding: 1em;
  }
  .custom-select::before {
    display: inline-block;
    right: 0;
    height: auto;
    border-radius: 0 4px 4px 0;
    background-color: #FFF;
  }
  .custom-select::after {
    position: absolute;
    top: 50%;
    right: 2em;
    transform: translate(50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-bottom: 3px solid #999999;
    border-right: 3px solid #999999;
  }
  .buttons {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    row-gap: 0.5em;
  }
  .reset-button,
  .buttons .submit-button {
    min-width: 60%;
    max-width: 100%;
    padding: 0.8em 1em;
    font-size: 2.8vmin;
  }
  form .submit-button:after {
    position: absolute;
    right: 1.5em;
    top: 1.1em;
  }
  ul.works li {
    width: 46%;
  }
  .list-detail div.e_type,
  .list-detail div.e_place,
  .list-detail div.e_color {
    width: 100%;
  }
  ul.works li .list-item img {
    width: 100%;
    height: 30vw;
    object-fit: cover;
  }
  .btn-more {
    font-size: 2.8vmin;

  }
  .pager .pagination li a.pre,
  .pager .pagination li a.next{
    width: 40%;
    height: 3em;
    text-align: center;
    display: flex;
  }

  .pager .pagination li a.pre,
  .pager .pagination li a.next{
    width: 100%;
    text-align: center;
  }
  .pager .pagination li {
    width: 9vmin;
    height: 9vmin;
    font-size: 3vmin;
  }
}


.detail-item {
  display: flex;
  justify-content: space-between;
}
.detail-item ul.e_images {
  width: 57%;
}
.detail-item .detail-description {
  width: 38%;
}
.detail-description ul li {
  display: flex;
  border-top: #e0e0e0 1px solid;
}
.detail-description ul li {
  display: flex;
  border-top: #e0e0e0 1px solid;
  padding: 0.8em 0.8em;
}
.detail-description ul li:nth-last-of-type(1) {
  border-bottom: #e0e0e0 1px solid;
}
.edetail label {
  color: #b2b2b2;
  font-size: 80%;
  min-width: 12em;
  display: inline-block;
}
.edetail {
  font-weight: 700;
}
.edetail._place label,.edetail._color label {
  min-width: 6em;
}
.edetail._place,.edetail._color {
  width: 50%;
}
.detail-item .detail-description .e_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
.detail-item .detail-description .e_tags span {
  padding: 0.5em 1.5em;
  background: #FFF;
  border: #e0e0e0 1px solid;
  border-radius: 2px;
  color: #999;
  font-size: .8rem;
  line-height: 1;
}
.detail-item .detail-description .e_note {
  margin-top: 2em;
}
.btn-back {
  background-color: #000E64;
  color: #FFF;
  border-radius: 50px;
  max-width: 100%;
  text-align: center;
  transition: .3s;
  padding: 1em 5em;
  position: relative;
  font-weight: bold;
  margin: 0 0 0 auto;
  display: inline-block;
  cursor: pointer;
  font-size: 16px;
}
.btn-back:after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f060";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
  left: 2em;
  top: 1em;
}
.btnarea {
  margin-top: 3em;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .detail-item {
    flex-wrap: wrap;
  }
  .detail-item ul.e_images {
    text-align: center;
  }
  .detail-item ul.e_images img {
    max-width: 70%;
  }
  .detail-item ul.e_images,
  .detail-item .detail-description {
    width: 100%;
  }
  .edetail label {
    font-size: 2vmin;
  }
  .edetail label {
    font-size: 2.6vmin;
  }
  .btn-back {
    font-size: 2.8vmin;
  }
  .btnarea {
    margin-top: 1em;
  }
  .edetail._place,
  .edetail._color {
    width: 100%;
  }
  .edetail._place,
  .edetail._color,
  .edetail._type,
  .edetail._area,
  .edetail._price {
    font-size: 3.2vmin;
    width: 100%;
  }
  .detail-item .detail-description .e_note {
    margin-top: 1em;
    margin-bottom: 1em;
  }

}
