.section-hero {
  background-image: url(../img/case/hero.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.pagenavi {
  text-align: center;
  position: relative;
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.15em;
}

.pagenavi .prev {
  width: 40%;
  text-align: right;
}

@media only screen and (max-width: 767px) {
  .pagenavi .prev {
    text-align: left;
  }
}

.pagenavi .prev a {
  display: inline-block;
  padding: 10px 34px;
  background-image: url(../img/common/ico-prev-arrow.png);
  background-repeat: no-repeat;
  background-position: 10%;
}

.pagenavi .prev a:hover {
  opacity: .7;
}

@media only screen and (max-width: 767px) {
  .pagenavi .prev a {
    padding: 10px 15px;
    background-position: 0%;
    background-size: 7px;
  }
}

.pagenavi .prev-post {
  text-align: left;
  padding-left: 34px;
}

@media only screen and (max-width: 767px) {
  .pagenavi .prev-post {
    padding-left: 0;
  }
}

.pagenavi .prev-post a {
  background-position: 0%;
}

.pagenavi .prev-post .category {
  font-size: 1.3rem;
}

.pagenavi .prev-post .category-sub::before {
  content: ":";
  margin: 0 0.2em;
}

.pagenavi .next {
  width: 40%;
  text-align: left;
}

@media only screen and (max-width: 767px) {
  .pagenavi .next {
    text-align: right;
  }
}

.pagenavi .next a {
  display: inline-block;
  padding: 10px 34px;
  background-image: url(../img/common/ico-next-arrow.png);
  background-repeat: no-repeat;
  background-position: 90%;
}

.pagenavi .next a:hover {
  opacity: .7;
}

@media only screen and (max-width: 767px) {
  .pagenavi .next a {
    padding: 10px 15px;
    background-position: 100%;
    background-size: 7px;
  }
}

.pagenavi .next-post {
  text-align: right;
  padding-right: 40px;
}

@media only screen and (max-width: 767px) {
  .pagenavi .next-post {
    padding-right: 0;
  }
}

.pagenavi .next-post a {
  background-position: 100%;
}

.pagenavi .next-post .category {
  font-size: 1.3rem;
}

.pagenavi .next-post .category-sub::before {
  content: ":";
  margin: 0 0.2em;
}

.pagenavi .btn {
  position: absolute;
  left: 50%;
  transform:translate(-50%, 0);
}

.pagenavi .btn a {
  display: block;
  width: 170px;
  background-image: url(../img/common/ico-prev-arrow.png);
  background-repeat: no-repeat;
  background-position: 10%;
  padding: 20px 0;
  font-size: 1.5rem;
}

.pagenavi .btn a:hover {
  opacity: .7;
}

@media only screen and (max-width: 767px) {
  .pagenavi .btn a {
    width: 125px;
    font-size: 1.3rem;
    padding: 10px 0;
    background-size: 7px;
  }
}


.main-wrapper {
  padding-bottom: 80px;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .page-bar-in {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 14px 25px 13px;
  }
}

.main-wrapper .page-bar .btn a {
  display: block;
  padding: 7px 11px 7px 40px;
  background-image: url(../img/common/ico-prev-arrow.png);
  background-repeat: no-repeat;
  background-position: 10%;
  letter-spacing: 0.15em;
  font-size: 1.5rem;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .page-bar .btn a {
    font-size: 1.1rem;
    padding: 3px 0px 2px 25px;
    background-size: 7px;
  }
}

.main-wrapper .page-bar .btn.fade {
  padding-right: 35px;
}

.main-wrapper .select {
  position: relative;
}

.main-wrapper .select::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #424242;
  border-left: 1px solid #424242;
  position: absolute;
  top: 43%;
  right: 20px;
  transform: translate(0, -50%) rotate(45deg);
  pointer-events: none;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .select::before {
    top: 40%;
    right: 20px;
  }
}

.main-wrapper .select::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-bottom: 1px solid #424242;
  border-right: 1px solid #424242;
  position: absolute;
  top: 57%;
  right: 20px;
  transform: translate(0, -50%) rotate(45deg);
  pointer-events: none;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .select::after {
    top: 60%;
    right: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .main-wrapper .select {
    margin: 40px 0;
    position: relative;
    width: 250px;
        display: flex;
    align-items: center;
  }
}

.main-wrapper .select p {
  display: inline-block;
  margin-right: 23px;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .select p {
    margin-right: 15px;
  }
}

.main-wrapper .select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: #fff;
  border-radius: 5px;
  width: 207px;
  line-height: 39px;
  padding: 0 18px;
  font-size: 1.5rem;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .select select {
    width: 170px;
    line-height: 40px;
    padding: 0 10px;
    font-size: 1.3rem;
    border: 1px solid #d6d6d6;
  }
}

.main-wrapper .section-works-list .content {
  padding: 80px 40px;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .section-works-list .content {
    overflow: hidden;
    padding: 0 0 40px;
  }
}

.main-wrapper .section-works-list ul {
  display: flex;
  flex-flow: row wrap;
  align-items: baseline;
  margin-left: -1em;
  margin-right: -1em;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .section-works-list ul {
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
  }
}

.main-wrapper .section-works-list ul li {
  width: calc(100% / 3 - 2em);
  margin-left: 1em;
  margin-right: 1em;
  font-size: 1.5rem;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .section-works-list ul li {
    width: calc(100% / 2 - 1em);
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
}

.main-wrapper .section-works-list ul li:not(:nth-last-of-type(-n+3)) {
  margin-bottom: 68px;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .section-works-list ul li:not(:nth-last-of-type(-n+2)) {
    margin-bottom: 1.5em;
  }
}

.main-wrapper .section-works-list ul li a {
  display: block;
  text-align: center;
  height: 100%;
}

.main-wrapper .section-works-list ul li a:hover {
  opacity: .7;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .section-works-list ul li a {
    padding: 0px;
  }
}

.main-wrapper .section-works-list ul li a .img img {
  width: 100%;
}

.main-wrapper .section-works-list ul li a .txt {
  padding: 0 30px 20px;
}

.main-wrapper .section-works-list ul li a .txt p:not([class]) {
  text-align: left;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .section-works-list ul li a .txt {
    padding: 0 10px 25px;
    font-size: 1.1rem;
  }
}

.main-wrapper .section-works-list ul li a .txt .main_cat {
  display: inline-block;
  background: #0d1929;
  color: #fff;
  padding: 0.2em 1.5em;
  border-radius: 50px;
  transform: translateY(-50%);
}

@media only screen and (max-width: 767px) {
  .main-wrapper .section-works-list ul li a .txt .main_cat {
    font-size: 1rem;
    padding: 0.2em 1.3em;
    display: block;
    width: 70px;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 767px) {
  .main-wrapper .section-works-list ul li a .txt .sub_cat {
    font-size: 1.1rem;
  }
}

.main-wrapper .section-works-list ul li a .txt .ttl {
  font-size: 1.9rem;
  margin-bottom: .4em;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .section-works-list ul li a .txt .ttl {
    font-size: 1.3rem;
    margin-bottom: 0.7em;
  }
}

.main-wrapper .section-works-list ul li.new {
  position: relative;
  overflow: hidden;
}

.main-wrapper .section-works-list ul li.new::after {
  content: "NEW";
  width: 150px;
  display: block;
  background: #cb0700;
  font-size: 1.5rem;
  text-align: center;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Cormorant Garamond', serif;
  transform: translate(-30%, 60%) rotate(-45deg);
}

@media only screen and (max-width: 767px) {
  .main-wrapper .section-works-list ul li.new::after {
    font-size: 1.1rem;
    transform: translate(-37%, 50%) rotate(-45deg);
  }
}

.main-wrapper .article {
  letter-spacing: 0.15em;
}

.main-wrapper .article .headline .thumbnail {
  padding-top: 40px;
  position: relative;
  margin-left: -15px;
  margin-right: -15px;
}
.main-wrapper .article .headline .thumbnail img {
  width: 100%;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .article .headline .thumbnail {
    padding-top: 10px;
  }
}

.main-wrapper .article .headline .thumbnail .category {
  position: absolute;
  bottom: 0;
  left: 40px;
  transform: translateY(50%);
  background: #0d1929;
  color: #fff;
  font-weight: 600;
  line-height: 50px;
  padding-left: 28px;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .article .headline .thumbnail .category {
    left: 13px;
    line-height: 38px;
    padding-left: 18px;
  }
}

.main-wrapper .article .headline .thumbnail .category.new::after {
  content: "NEW";
  display: inline-block;
  background: #cc0500;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  padding: 0 30px;
  vertical-align: top;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .article .headline .thumbnail .category.new::after {
    font-size: 1.5rem;
    padding: 0 20px;
  }
}

.main-wrapper .article .headline .thumbnail .category-sub {
  padding-right: 28px;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .article .headline .thumbnail .category-sub {
    padding-right: 18px;
  }
}

.main-wrapper .article .headline .thumbnail .category-sub::before {
  content: ":";
  margin: 0 0.2em;
}

.main-wrapper .article .headline .article-header {
  padding: 80px 0;
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 70px;
  border-bottom: 1px solid #dfdfdf;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .article .headline .article-header {
    padding: 50px 0 30px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
  }
}

.main-wrapper .article .headline .article-header .page-title {
  font-size: 2.9rem;
  font-weight: 600;
  margin-bottom: 28px;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .article .headline .article-header .page-title {
    font-size: 1.7rem;
    margin-bottom: 15px;
  }
}

.main-wrapper .article .content {
  padding-bottom: 82px;
  margin-left: 40px;
  margin-right: 40px;
  border-bottom: 1px solid #dfdfdf;
  line-height: 2;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .article .content {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.4rem;
  }
}

.main-wrapper .article .content p:not(:last-of-type) {
  margin-bottom: 30px;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .article .content p:not(:last-of-type) {
    margin-bottom: 15px;
  }
}

.main-wrapper .article .content img {
  margin-bottom: 48px;
  margin-top: 20px;
}

@media only screen and (max-width: 767px) {
  .main-wrapper .article .content img {
    max-width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
  }
}
