@charset "UTF-8";
/* カラー */
/* media query */
/* SP縦から */
/* SP横から */
/* タブレット縦から */
/* フルワイド */
.main-visual {
  width: 100%;
  height: 400px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: 100px;
  position: relative;
}
@media all and (max-width: 896px) {
  .main-visual {
    background-color: #fff;
    height: 280px;
    margin-top: 60px;
  }
}
.main-visual .pankuzu {
  position: absolute;
  top: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
  padding-right: 30px;
}
.main-visual .pankuzu li {
  color: #000;
}
.main-visual .pankuzu li:nth-child(n+2)::before {
  content: "/";
  padding: 0 15px;
}
.main-visual .pankuzu li a {
  color: #000 !important;
}
.main-visual h2 {
  width: 100%;
  height: 100%;
  color: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  font-size: 9rem;
  position: relative;
}
@media all and (max-width: 896px) {
  .main-visual h2 {
    font-size: 3.8rem;
  }
}
.main-visual h2 .jp {
  position: absolute;
  font-size: 2.1rem;
  top: 70%;
  left: 50%;
  -webkit-transform: translate(-50%, -70%);
          transform: translate(-50%, -70%);
  text-align: center;
}
@media all and (max-width: 896px) {
  .main-visual h2 .jp {
    font-size: 1.6rem;
  }
}

main {
  margin-bottom: 80px;
}
main .works {
  padding-top: 0px !important;
  color: #000 !important;
  width: 90% !important;
}
@media all and (max-width: 896px) {
  main .works {
    padding-bottom: 0px !important;
  }
}

.grid__ul {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, 26%);
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  grid-gap: 3%;
  margin-top: 80px;
  margin-bottom: 60px;
}
@media all and (max-width: 896px) {
  .grid__ul {
    grid-template-columns: repeat(auto-fit, 45%);
    grid-gap: 40px;
  }
}
@media all and (max-width: 480px) {
  .grid__ul {
    grid-gap: 20px;
  }
}
.grid__ul li {
  margin-bottom: 30px;
}
@media all and (max-width: 896px) {
  .grid__ul li {
    position: relative;
  }
}
@media all and (max-width: 896px) {
  .grid__ul li::after {
    content: none;
  }
}

.paging {
  margin-top: 80px;
}

@media all and (max-width: 480px) {
  .works a div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}