*,
::before,
::after {
  box-sizing: border-box;
}

.kv {
  background-repeat: no-repeat;
  background-position: 50% 0;
}
@media screen and (min-width: 769px) {
  .kv {
    display: flex;
    align-items: center;
    height: min(350px, 23.334vw);
    margin-top: 10rem;
    background-image: url(../img/mv.jpg);
    background-size: cover;
  }
}
@media screen and (max-width: 768px) {
  .kv {
    margin-top: 12rem;
    padding-top: 75rem;
    background-image: url(../img/sp/mv.jpg);
    background-size: contain;
  }
}

@media screen and (min-width: 769px) {
  .kv_content {
    width: min(1500px, 100vw);
    margin: 0 auto;
    padding-left: min(165px, 11vw);
  }
}
@media screen and (max-width: 768px) {
  .kv_content {
    display: flex;
    flex-direction: column;
    padding: 0 6rem 7.5rem;
  }
}

.kv_ttl {
  position: relative;
  display: flex;
  flex-direction: column;
  font-weight: 700;
  line-height: 1;
}
@media screen and (min-width: 769px) {
  .kv_ttl {
    font-size: min(51px, 3.4vw);
    padding-bottom: min(5px, 0.334vw);
  }
}
@media screen and (max-width: 768px) {
  .kv_ttl {
    font-size: 7rem;
    margin-left: 11.5rem;
    padding-bottom: 0.4rem;
  }
}
.kv_ttl::before {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  background-color: #d90b18;
}
@media screen and (min-width: 769px) {
  .kv_ttl::before {
    left: min(-30px, -2vw);
    width: min(11px, 0.734vw);
  }
}
@media screen and (max-width: 768px) {
  .kv_ttl::before {
    left: -4.2rem;
    width: 1.5rem;
  }
}
.kv_ttl .en {
  fill: #d90b18;
}
@media screen and (min-width: 769px) {
  .kv_ttl .en {
    width: min(257px, 17.134vw);
    height: min(22px, 1.467vw);
    margin-top: min(15px, 1vw);
  }
}
@media screen and (max-width: 768px) {
  .kv_ttl .en {
    width: 41.6rem;
    height: 3.5rem;
    margin-top: 1.5rem;
  }
}

@media screen and (min-width: 769px) {
  .kv_txt {
    margin-top: min(25px, 1.667vw);
    letter-spacing: 0.1em;
    line-height: 1.778em;
    font-size: 1.8rem;
  }
  .kv_txt > p {
    line-height: inherit;
    font: inherit;
  }
  .kv_txt > p:first-of-type {
    margin-top: -0.388em;
  }
  .kv_txt > p:last-of-type {
    margin-bottom: -0.388em;
  }
}
@media screen and (max-width: 768px) {
  .kv_txt {
    margin-top: 5rem;
    line-height: 1.834em;
    font-size: 2.4rem;
  }
  .kv_txt > p {
    line-height: inherit;
    font: inherit;
  }
  .kv_txt > p:first-of-type {
    margin-top: -0.416em;
  }
  .kv_txt > p:last-of-type {
    margin-bottom: -0.416em;
  }
}

@media screen and (min-width: 769px) {
  .works_sec + .works_sec {
    padding-top: min(180px, 12vw);
  }
}
@media screen and (max-width: 768px) {
  .works_sec + .works_sec {
    padding-top: 10rem;
  }
}

.sec_head {
  text-align: center;
  font-weight: 700;
}
@media screen and (min-width: 769px) {
  .sec_head {
    margin-bottom: min(60px, 4vw);
    line-height: 1;
    font-size: 4.5rem;
  }
  .sec_head > h2 {
    line-height: inherit;
    font: inherit;
  }
  .sec_head > h2:first-of-type {
    margin-top: 0em;
  }
  .sec_head > h2:last-of-type {
    margin-bottom: 0em;
  }
}
@media screen and (max-width: 768px) {
  .sec_head {
    margin-bottom: 5rem;
    line-height: 1.334em;
    font-size: 3.6rem;
  }
  .sec_head > h2 {
    line-height: inherit;
    font: inherit;
  }
  .sec_head > h2:first-of-type {
    margin-top: -0.166em;
  }
  .sec_head > h2:last-of-type {
    margin-bottom: -0.166em;
  }
}
.sec_head .txt {
  position: relative;
  display: inline-block;
}
@media screen and (min-width: 769px) {
  .sec_head .txt {
    padding: 0 min(34px, 2.267vw) min(26px, 1.734vw);
  }
}
@media screen and (max-width: 768px) {
  .sec_head .txt {
    padding: 0 1.2rem 1.8rem;
  }
}
.sec_head .txt::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: linear-gradient(135deg, rgb(0, 0, 0) 0%, rgb(0, 0, 0) 50%, rgb(230, 0, 18) 50%, rgb(230, 0, 18) 100%);
}
@media screen and (min-width: 769px) {
  .sec_head .txt::before {
    width: 25.5rem;
    height: min(3px, 0.2vw);
  }
}
@media screen and (max-width: 768px) {
  .sec_head .txt::before {
    width: 17rem;
    height: 0.3rem;
  }
}
.sec_head .small {
  display: block;
}
@media screen and (min-width: 769px) {
  .sec_head .small {
    padding-top: 1.5rem;
    line-height: 1;
    font-size: 1.3rem;
  }
  .sec_head .small > em {
    line-height: inherit;
    font: inherit;
  }
  .sec_head .small > em:first-of-type {
    margin-top: 0em;
  }
  .sec_head .small > em:last-of-type {
    margin-bottom: 0em;
  }
}
@media screen and (max-width: 768px) {
  .sec_head .small {
    padding-top: 2rem;
    line-height: 1;
    font-size: 1.8rem;
  }
  .sec_head .small > em {
    line-height: inherit;
    font: inherit;
  }
  .sec_head .small > em:first-of-type {
    margin-top: 0em;
  }
  .sec_head .small > em:last-of-type {
    margin-bottom: 0em;
  }
}

@media screen and (min-width: 769px) {
  .sec_lead {
    line-height: 2em;
    font-size: 1.9rem;
    text-align: center;
  }
  .sec_lead > p {
    line-height: inherit;
    font: inherit;
  }
  .sec_lead > p:first-of-type {
    margin-top: -0.5em;
  }
  .sec_lead > p:last-of-type {
    margin-bottom: -0.5em;
  }
}
@media screen and (max-width: 768px) {
  .sec_lead {
    padding: 0 3rem;
    line-height: 1.75em;
    font-size: 2.4rem;
  }
  .sec_lead > p {
    line-height: inherit;
    font: inherit;
  }
  .sec_lead > p:first-of-type {
    margin-top: -0.375em;
  }
  .sec_lead > p:last-of-type {
    margin-bottom: -0.375em;
  }
}

@media screen and (min-width: 769px) {
  .works_img01 {
    width: min(1026px, 68.4vw);
    margin: min(82px, 5.467vw) auto 0;
  }
}
@media screen and (max-width: 768px) {
  .works_img01 {
    width: 65.9rem;
    margin: 4rem auto 0;
  }
}
.works_img01 span {
  font-size: 1.3rem;
  display: flex;
  justify-content: flex-end;
  padding-right: 1.2rem;
}
@media screen and (max-width: 768px) {
  .works_img01 span {
    font-size: 1.8rem;
  }
}

.zoom-img {
  position: relative;
  overflow: hidden;
}
.zoom-img img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  transition: scale 0.4s ease-out;
}

*:hover > .zoom-img img,
.zoom-img:hover img {
  scale: 1.1;
}

.works_button {
  position: relative;
  display: block;
  border: solid 1px #dcdddd;
  overflow: hidden;
}
@media screen and (min-width: 769px) {
  .works_button {
    width: min(1000px, 66.667vw);
    margin: min(185px, 12.334vw) auto 0;
  }
}
@media screen and (max-width: 768px) {
  .works_button {
    width: 63rem;
    margin: 5rem auto 0;
  }
}
.works_button .txt {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: flex;
  align-items: center;
  font-weight: 700;
}
@media screen and (min-width: 769px) {
  .works_button .txt {
    left: min(75px, 5vw);
    line-height: 1;
    font-size: 3.6rem;
  }
  .works_button .txt > p {
    line-height: inherit;
    font: inherit;
  }
  .works_button .txt > p:first-of-type {
    margin-top: 0em;
  }
  .works_button .txt > p:last-of-type {
    margin-bottom: 0em;
  }
}
@media screen and (max-width: 768px) {
  .works_button .txt {
    left: 5rem;
    line-height: 1;
    font-size: 3.1rem;
  }
  .works_button .txt > p {
    line-height: inherit;
    font: inherit;
  }
  .works_button .txt > p:first-of-type {
    margin-top: 0em;
  }
  .works_button .txt > p:last-of-type {
    margin-bottom: 0em;
  }
}
@media screen and (min-width: 769px) {
  .works_button .txt .arrow {
    width: min(16px, 1.067vw);
    margin-left: min(20px, 1.334vw);
  }
}
@media screen and (max-width: 768px) {
  .works_button .txt .arrow {
    width: 1.6rem;
    margin-left: 2rem;
  }
}

.works_list {
  display: grid;
}
@media screen and (min-width: 769px) {
  .works_list {
    grid-template-columns: repeat(3, 1fr);
    -moz-column-gap: min(17px, 1.134vw);
         column-gap: min(17px, 1.134vw);
    width: min(1000px, 66.667vw);
    margin: min(25px, 1.667vw) auto 0;
  }
}
@media screen and (max-width: 768px) {
  .works_list {
    row-gap: 2rem;
    width: 63rem;
    margin: 3rem auto 0;
  }
}

@media screen and (min-width: 769px) {
  .works_list_item {
    box-shadow: min(10px, 0.667vw) min(10px, 0.667vw) min(5px, 0.334vw) min(-5px, -0.333vw) rgba(0, 0, 0, 0.1);
  }
}
@media screen and (max-width: 768px) {
  .works_list_item {
    position: relative;
    height: 21rem;
    box-shadow: 1rem 1rem 1rem -0.1rem rgba(0, 0, 0, 0.1);
  }
}
.works_list_item a {
  transition: 0.2s linear;
}
@media screen and (min-width: 769px) {
  .works_list_item a {
    display: block;
    padding-bottom: min(65px, 4.334vw);
  }
}
@media screen and (max-width: 768px) {
  .works_list_item a {
    display: grid;
    padding: 8.8rem 0 4.5rem 2.5rem;
    grid-template-columns: max-content auto auto;
  }
}
.works_list_item a:hover {
  opacity: 0.5;
}
@media screen and (max-width: 768px) {
  .works_list_item:nth-child(3) a {
    padding-top: 7rem;
    padding-bottom: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .works_pict {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
  }
}

@media screen and (min-width: 769px) {
  .works_pict_img01 {
    width: min(177px, 11.8vw);
    margin: 0 auto min(36px, 2.4vw);
    padding-top: min(54px, 3.6vw);
  }
}
@media screen and (max-width: 768px) {
  .works_pict_img01 {
    right: 3.7rem;
    width: 10.5rem;
  }
}

@media screen and (min-width: 769px) {
  .works_pict_img02 {
    width: min(231px, 15.4vw);
    margin: 0 auto min(33px, 2.2vw);
    padding-top: min(41px, 2.734vw);
  }
}
@media screen and (max-width: 768px) {
  .works_pict_img02 {
    right: 2rem;
    width: 14.2rem;
  }
}

@media screen and (min-width: 769px) {
  .works_pict_img03 {
    width: min(211px, 14.067vw);
    margin: 0 auto min(35px, 2.334vw);
    padding-top: min(50px, 3.334vw);
  }
}
@media screen and (max-width: 768px) {
  .works_pict_img03 {
    right: 3rem;
    width: 13.3rem;
  }
}

.works_list_num {
  font-weight: 700;
  text-align: center;
}
@media screen and (min-width: 769px) {
  .works_list_num {
    line-height: 1;
    font-size: 6.2rem;
  }
  .works_list_num > p {
    line-height: inherit;
    font: inherit;
  }
  .works_list_num > p:first-of-type {
    margin-top: 0em;
  }
  .works_list_num > p:last-of-type {
    margin-bottom: 0em;
  }
}
@media screen and (max-width: 768px) {
  .works_list_num {
    grid-area: 1/1/3/2;
    margin-right: 4rem;
    line-height: 1.076em;
    font-size: 5.3rem;
  }
  .works_list_num > p {
    line-height: inherit;
    font: inherit;
  }
  .works_list_num > p:first-of-type {
    margin-top: -0.037em;
  }
  .works_list_num > p:last-of-type {
    margin-bottom: -0.037em;
  }
}
.works_list_num > p {
  display: inline-block;
  border-bottom: solid #e60012;
}
@media screen and (min-width: 769px) {
  .works_list_num > p {
    padding-bottom: min(12px, 0.8vw);
    border-bottom-width: min(2px, 0.134vw);
  }
}
@media screen and (max-width: 768px) {
  .works_list_num > p {
    padding-bottom: 1.3rem;
    border-bottom-width: 0.2rem;
  }
}

.works_list_head {
  font-weight: 700;
}
@media screen and (min-width: 769px) {
  .works_list_head {
    margin-top: min(28px, 1.867vw);
    line-height: 1;
    font-size: 2.8rem;
    text-align: center;
  }
  .works_list_head > h3 {
    line-height: inherit;
    font: inherit;
  }
  .works_list_head > h3:first-of-type {
    margin-top: 0em;
  }
  .works_list_head > h3:last-of-type {
    margin-bottom: 0em;
  }
}
@media screen and (max-width: 768px) {
  .works_list_head {
    grid-area: 1/2/2/4;
    line-height: 1.143em;
    font-size: 2.8rem;
  }
  .works_list_head > h3 {
    line-height: inherit;
    font: inherit;
  }
  .works_list_head > h3:first-of-type {
    margin-top: -0.071em;
  }
  .works_list_head > h3:last-of-type {
    margin-bottom: -0.071em;
  }
}
.works_list_head > h3 {
  position: relative;
  display: inline-block;
}
.works_list_head > h3::before {
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  background: url(../img/ico_arrow.svg) no-repeat 0 0;
  background-size: contain;
}
@media screen and (min-width: 769px) {
  .works_list_head > h3::before {
    right: min(-25px, -1.666vw);
    width: min(15px, 1vw);
    height: min(25px, 1.667vw);
  }
}
@media screen and (max-width: 768px) {
  .works_list_head > h3::before {
    right: -3rem;
    width: 1.6rem;
    height: 2.5rem;
    margin-left: 1rem;
  }
}

@media screen and (min-width: 769px) {
  .works_list_txt {
    margin-top: min(25px, 1.667vw);
    line-height: 1.334em;
    font-size: 2.4rem;
    text-align: center;
  }
  .works_list_txt > p {
    line-height: inherit;
    font: inherit;
  }
  .works_list_txt > p:first-of-type {
    margin-top: -0.166em;
  }
  .works_list_txt > p:last-of-type {
    margin-bottom: -0.166em;
  }
}
@media screen and (max-width: 768px) {
  .works_list_txt {
    grid-area: 2/2/3/4;
    margin-top: 2rem;
    line-height: 1.334em;
    font-size: 2.4rem;
  }
  .works_list_txt > p {
    line-height: inherit;
    font: inherit;
  }
  .works_list_txt > p:first-of-type {
    margin-top: -0.166em;
  }
  .works_list_txt > p:last-of-type {
    margin-bottom: -0.166em;
  }
}/*# sourceMappingURL=works.css.map */