@import url("https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Noto+Sans+JP:wght@300;400;500;700&family=Work+Sans:wght@400;500&display=swap");
.page_title__wrap {
  min-height: unset;
}

.page-kv {
  margin-bottom: 0;
}
@media screen and (min-width: 1300px) {
  .page-kv {
    position: relative;
  }
  .page-kv::before {
    content: "";
    display: block;
    width: 17%;
    height: 1px;
    background-color: #59554C;
    position: absolute;
    left: 0;
    top: 100px;
  }
}

.works {
  padding-top: 70px;
  width: 90%;
  margin: 0 auto;
}
@media screen and (min-width: 960px) {
  .works {
    padding-top: 35px;
  }
}
@media screen and (min-width: 1300px) {
  .works {
    width: 80%;
    margin-right: 0;
    padding-top: 0;
  }
}
@media screen and (min-width: 1300px) {
  .works__inner {
    width: 90%;
    margin: 0 auto;
  }
}
.works h1 {
  font-size: 20px;
  position: relative;
  margin-top: 21px;
}
@media screen and (min-width: 960px) {
  .works h1 {
    font-size: 24px;
  }
}
.works .job_cat {
  display: block;
  margin-bottom: 8px;
  margin-top: 4px;
}
@media screen and (min-width: 960px) {
  .works .job_cat {
    margin-top: 10px;
  }
}
.works__meta {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 18px;
  margin-bottom: 8px;
  margin-top: 4px;
}
@media screen and (min-width: 960px) {
  .works__meta {
    margin-top: 10px;
  }
}
.works__meta span:first-child {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}
.works__meta2 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 18px;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding-bottom: 15px;
  margin-bottom: 10px;
}
.works__gallery {
  display: grid;
  gap: 5px;
  grid-template-areas: "big" "btns" "info";
}
@media screen and (min-width: 960px) {
  .works__gallery {
    grid-template-areas: "big btns ." "info btns .";
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 16px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    grid-template-columns: 6fr 3fr 1fr;
  }
}
@media screen and (min-width: 1300px) {
  .works__gallery {
    -webkit-box-pack: left;
    -webkit-justify-content: left;
        -ms-flex-pack: left;
            justify-content: left;
  }
}
.works__img {
  width: 100%;
  position: relative;
  grid-area: big;
}
.works__img img {
  display: none;
  width: 100%;
}
.works__img img.active {
  display: block;
}
.works__info {
  width: 100%;
  grid-area: info;
}
.works__btns {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 5px;
  grid-area: btns;
}
@media screen and (min-width: 960px) {
  .works__btns {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
.works__btns input {
  display: none;
}
.works__btns input:checked + label::before {
  background-color: #ffffff;
  opacity: 0.6;
}
.works__btns label {
  position: relative;
  display: block;
  cursor: pointer;
}
.works__btns label::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #59554C;
  opacity: 0.3;
}
.works__btns label img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
     object-fit: cover;
}
.works__voice {
  margin: 32px auto 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: 1200px;
  gap: 30px 55px;
}
@media screen and (min-width: 960px) {
  .works__voice {
    margin-top: 52px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
.works__voice__item {
  border-bottom: 1px #59554C solid;
}
@media screen and (min-width: 960px) {
  .works__voice__item {
    width: 50%;
  }
}
.works__voice__item p {
  border-bottom: 1px #59554C solid;
  font-weight: 700;
  font-size: 16px;
}
@media screen and (min-width: 960px) {
  .works__voice__item div {
    width: 90%;
    margin: 40px auto 35px;
  }
}
.works .movie {
  width: 100%;
  margin: 32px auto 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width: 1200px;
  gap: 30px 55px;
}
@media screen and (min-width: 960px) {
  .works .movie {
    margin-top: 52px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
.works .movie video {
  max-width: 800px;
}

.slider p {
  width: 90%;
  margin: 104px auto 30px;
  border-bottom: 1px #59554C solid;
}
@media screen and (min-width: 960px) {
  .slider p {
    width: 100%;
    margin-top: 124px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 0 5%;
  }
}
.slider .submit {
  display: block;
  width: 90%;
  padding-right: 40px;
  margin: 0 auto;
  position: relative;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (min-width: 960px) {
  .slider .submit {
    padding-right: 0;
  }
  .slider .submit:hover::after {
    background-color: #ffffff;
    right: -25px;
  }
  .slider .submit:hover a {
    color: #ffffff;
    background-color: #59554C;
    border-color: #ffffff;
  }
}
.slider .submit::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  position: absolute;
  right: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  pointer-events: none;
  background-color: #59554C;
}
@media screen and (min-width: 960px) {
  .slider .submit::after {
    right: 0;
    -webkit-transition: right 0.3s;
    transition: right 0.3s;
  }
}
.slider .submit.single {
  max-width: 650px;
  margin-top: 30px;
  margin-bottom: 104px;
}
@media screen and (min-width: 960px) {
  .slider .submit.single {
    margin-top: 40px;
    margin-bottom: 124px;
  }
}
.slider .submit a {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  height: 50px;
  background-color: #ffffff;
  border: 2px #59554C solid;
  -webkit-appearance: none;
  color: #59554C;
  cursor: pointer;
  text-decoration: none;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width: 960px) {
  .slider .submit a {
    font-size: 20px;
    height: 75px;
  }
}

.page_title.load {
  width: 90%;
}