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

.catalog {
  width: 80vw;
  max-width: 1000px;
  margin: 0 auto;
}
.catalog h1 {
  position: relative;
  display: block;
  padding: 0 55px;
  font-size: 1.5rem;
  width: 15em;
  margin: 20px auto 50px;
}
.catalog h1:before, .catalog h1:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 2px;
  background-color: #004ea2;
}
.catalog h1:before {
  left:0;
}
.catalog h1:after {
  right: 0;
}
@media screen and (max-width: 767px) {
  .catalog h1 {
    font-size: 1.1rem;
    padding:  0 20px;
    margin: 40px auto 40px;
  }
  .catalog h1:before, .catalog h1:after {
    width: 10px;
  }
}
.catalog_wrapper {
  width: 96%;
  margin: 0 auto 60px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.catalog_wrapper.between {
  justify-content: space-between;
}
.catalog_wrapper .catalog_card {
  width: 25%;
  margin: 0 3%;
}
@media screen and (max-width: 767px) {
  .catalog_wrapper .catalog_card {
    width: 31%;
  }
}
@media screen and (max-width: 480px) {
  .catalog_wrapper {
    margin-bottom: 0;
  }
  .catalog_wrapper.between {
    justify-content: center;
  }
  .catalog_wrapper .catalog_card {
    width: 90%;
    margin: 0 0 60px;
  }
}
.catalog_wrapper .catalog_card .thumb {
  
}
.catalog_wrapper .catalog_card .thumb img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
}
.catalog_wrapper .catalog_card h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 3.5em;
}
.catalog_wrapper .catalog_card > a {
  display: block;
  width: 100%;
  height: 2.8em;
  border: 1px solid #004ea2;
  text-align: center;
  background: url("../images/pdf.svg") no-repeat 90% center;
  background-size: 25px auto;
  color: #004ea2;
  line-height: 2.8em;
  margin-top: 5px;
  transition : 0.3s;
}
.catalog_wrapper .catalog_card > a:hover {
  background-color: #e6efff;
}