@charset "utf-8";

.pageimage{
  background: url("../../img/works/mainimage.jpg") no-repeat center center;
  background-size: cover;
}
#works .inner{
  max-width: 1200px;
}
.works_entrylist{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
}
.works_entry{
  width: 31.03448275862069%;
  margin-bottom: 50px;
}
.works_entrylist::after{
  content: "";
  display: block;
  width: 31.03448275862069%;
}
.entry_category{
  margin: 10px 0 20px;
}
.entry_category div{
  background: rgb(23,45,94);
  background: linear-gradient(90deg, rgba(23,45,94,1) 0%, rgba(43,82,172,1) 30%, rgba(23,45,94,1) 100%);
  color: #FFF;
  display: inline-block;
  font-size: 14px;
  padding: 5px 20px;
  border-radius: 30px;
}
.works_entry h4{
  font-size: 18px;
  margin-bottom: 15px;
}
.entrybtn{
  text-align: center;
}
.entrybtn a{
  background: linear-gradient(176deg,#C24B4D 0%,#C24B4D 50%,#B31E21 50%,#B31E21 100%);
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  color: #FFF;
  text-decoration: none;
  width: 100%;
  max-width: 240px;
  margin: 20px auto 0;
}
.entrybtn a:hover{
  opacity: 0.8;
}
.pager{
  text-align: center;
  margin-top: 50px;
}
.pager a,.pager span{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  margin: 0 5px;
}
.pager a{
  border: 1px solid #666;
  color: #000;
  text-decoration: none;
}
.pager span,.pager a:hover{
  color: #FFF;
  background: #B20000;
  border: 1px solid #B20000;
}
.entry_container{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.entry_main{
  width: 70.68965517241379%;
}
.entry_side{
  width: 25.86206896551724%;
}
.entry_head .entry_category {
  margin: 20px 0 15px;
}
.entry_head h1{
  font-size: 24px;
  line-height: 160%;
  border-bottom: 1px solid #23438A;
  padding-bottom: 10px;
}
.entry_detail h2,.entry_detail p,.entry_detail img{
  margin-top: 30px;
}
.entry_detail h2{
  border-left: 6px solid #B31E21;
  font-size: 21px;
  position: relative;
  padding-left: 14px;
}
.entry_detail h2::before{
  background: #8B8B8B;
  content: "";
  width: 6px;
  height: 100%;
  display: block;
  margin-right: 10px;
  position: absolute;
  left: 0;
}
.entry_detail figcaption{
  font-size: 14px;
  margin-top: 10px;
}
.entry_side{
  background: #F7F7F7;
}
.entry_side h3{
  background: #23438A;
  color: #FFF;
  font-size: 18px;
  padding: 10px;
}
.side_inner{
  padding: 20px 20px 40px;
}
.side_category a{
  display: block;
  color: #000;
  text-decoration: none;
  background: #FFF;
  padding: 6px 10px;
  margin-bottom: 10px;
  transition: 0.5s;
}
.side_category a:hover{
  opacity: 0.6;
}
.sideentry{
  margin-bottom: 30px;
}
.sideentry:nth-child(5){
  margin-bottom: 0;
}
.sideentry .entry_category{
  margin: 10px 0 5px;
}
.sideentry a{
  text-decoration: none;
}
.sideentry a:hover{
  opacity: 0.6;
}
.sideentry h4{
  font-size: 16px;
  color: #000;
}


@media screen and (max-width: 768px){
  .entry_main{
    width: 100%;
    margin-bottom: 50px;
  }
  .entry_side{
    width: 100%;
    margin-bottom: 50px;
  }
  .entry_head h1 {
    font-size: 20px;
  }
  .entry_detail h2 {
    font-size: 18px;
  }
  .entry_detail h2,.entry_detail p,.entry_detail img{
    margin-top: 20px;
  }
  .works_entry{
    width: 100%;
  }
  .works_entrylist::after{
    display: none;
  }
  .pager {
    margin: 0 0 50px;
  }
}