@keyframes fadein {
  from {
    opacity: 0;
    visibility: visible;
  }
  to {
    opacity: 1;
    visibility: visible;
  }
}
@keyframes fadeout {
  from {
    opacity: 1;
    visibility: visible;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes scroll {
  0% {
    transform: translate(0);
  }
  100% {
    transform: translate(-100%);
  }
}
.header_case {
  padding-top: 0;
  background-color: #4987db;
  color: #fff;
}
.header_case h1 {
  margin-top: 2.67vw;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 5.47vw;
  line-height: 1.5;
}

.header_case_txt {
  padding: 6.4vw 6.4vw 5.33vw;
}

.case_company {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 4.27vw;
  line-height: 1.3;
}

.case_job {
  margin-top: 2.67vw;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 4.27vw;
  line-height: 1.3;
}

.case_info {
  margin-top: 8vw;
  font-size: 3.2vw;
  white-space: pre-wrap;
}

.case_content {
  padding: 10.67vw 4vw 5.33vw;
}

@media (min-width: 768px) {
  .header_case {
    max-width: 130rem;
  }
  .header_case h1 {
    margin-top: 1rem;
    font-size: 2.56rem;
  }
  .header_case_inner {
    display: flex;
    align-items: stretch;
    width: 100%;
  }
  .header_case_img {
    width: 41.25%;
  }
  .header_case_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .header_case_txt {
    padding: 3.7rem 4.5rem;
    width: 58.75%;
  }
  .case_company {
    font-size: 2rem;
  }
  .case_job {
    margin-top: 1rem;
    font-size: 2rem;
  }
  .case_info {
    margin-top: 2.5rem;
    font-size: 1.4rem;
  }
  .case_content {
    margin: 0 auto;
    padding: 8.8rem 0 4rem;
    max-width: 70rem;
  }
}