.section-title {
  background-image: url(../img/subpage_title_bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.section-title-en {
  font-size: 80px;
  color: #187fc3;
  /*font-family: "Area Variable", Arial, sans-serif;*/
  padding: 160px 30px 0 30px;
}
.section-title-ja {
  font-size: 32px;
  /*font-family: "A-OTF 見出ゴMB31 Pr5", sans-serif;*/
  font-weight: bold;
  line-height: 30px;
  padding: 0 30px 160px 30px;
}
@media (max-width: 800px) {
  .section-title-en {
    font-size: clamp(40px, calc(100vw / 10), 80px);
    padding: 100px 30px 10px;
    line-height: 62px;
  }
  .section-title-ja {
    font-size: clamp(18px, calc(100vw / 42), 32px);
    padding: 10px 30px 100px 30px;
    line-height: 10px;
  }
}
@media (max-width: 480px) {
  .section-title-en {
    padding: 50px 0 0;
    font-size: 32px;
    line-height: 32px;
  }
  .section-title-ja {
    padding: 18px 0 60px;
    line-height: 6px;
  }
}
.work {
  padding: 150px 30px;
  max-width: 1300px;
  margin: 0 auto;
}
.work-all {
  background: #f2f5f8;
}
.tag {
  display: flex;
  gap: 10px;
}
.tag-snsm {
  color: #fff;
  font-weight: bold;
  background-color: #187fc3;
  padding: 8px 18px;
  border-radius: 20px;
}
.tag-snsin {
  font-weight: bold;
  color: #fff;
  background-color: #c35a18;
  padding: 8px 18px;
  border-radius: 20px;
}
.work-wrapper {
  display: flex;
  column-gap: 90px;
}
.case {
  background-color: #fff;
  padding: 90px 70px;
  border-radius: 20px;
  margin-bottom: 100px;
  box-shadow: 0 0 10px #e2e2e2;
}
.case-la {
  background-color: #fff;
  padding: 90px 70px;
  border-radius: 20px;
  box-shadow: 0 0 10px #e2e2e2;
}
.case-name {
  font-size: 32px;
  padding: 30px 0;
  font-weight: bold;
}
.case-sub-title {
  font-size: 20px;
  font-weight: bold;
  max-width: 780px;
  padding: 30px 0;
}
.case-company {
  width: 200px;
  position: sticky;
  top: 110px;
  align-self: flex-start;
}
.scroll-link {
  font-weight: bold;
  color: #b3b3b3;
  font-size: 18px;
  padding: 15px 0;
  position: relative;
  max-width: 250px;
  width: 100%;
  display: inline-block;
  transition: color 0.2s ease, font-size 0.2s ease;
}
.scroll-link.active {
  color: #187fc3;
}

.scroll-link::after {
  content: "";
  position: absolute;
  background-color: #b3b3b3;
  height: 1px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 250px;
}
.scroll-link:hover {
  color: #187fc3;
}
.case-step {
  display: flex;
  column-gap: 40px;
  background-color: #f2f5f8;
  padding: 30px 30px;
  margin-bottom: 20px;
  width: 100%;
}
.case-step-title {
  font-size: 32px;
  font-weight: bold;
  white-space: nowrap;
  width: 100px;
  flex-shrink: 0;
}
.case-person-img img {
  width: 100%;
}
.case-person-img {
  padding: 20px 0 10px;
}
.case-comment-title {
  padding: 30px 0 10px;
  font-weight: bold;
  font-size: 24px;
}
.case-comment {
  max-width: 780px;
}
.contact-book-wrapper {
  background-color: #f2f5f8;
}
.youtube {
  width: 100%;
  aspect-ratio: 16/9;
}
.youtube img{
  width: 100%;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}
.work-wrapper > div:first-child {
  flex: 1;
  min-width: 0;
}

@media (max-width: 1180px) {
  .work-wrapper {
    column-gap: 40px;
  }
  .case,
  .case-la {
    padding: 70px 40px;
  }
  .case-name,
  .case-step-title {
    font-size: clamp(16px, calc(100vw / 36), 32px);
  }
  .case-sub-title {
    font-size: 16px;
  }
  .case-comment-title {
    font-size: clamp(16px, calc(100vw / 44), 24px);
  }
}
@media (max-width: 910px) {
  .case-step {
    display: block;
  }
  .case-step-text {
    margin-top: 5px;
  }
}
@media (max-width: 820px) {
  .scroll-link {
    font-size: 16px;
  }
  .case-company {
    width: 160px;
  }
  .work-wrapper {
    column-gap: 20px;
  }
}
@media (max-width: 580px) {
  .work-wrapper {
    display: block;
  }
  .case-company {
    display: none;
  }
  .work {
    padding: 80px 15px;
  }
  .case,
  .case-la {
    padding: 20px 15px;
  }
  .case {
    margin-bottom: 60px;
  }
  .case-step {
    padding: 10px;
  }
  .case-name {
    padding: 10px 0 20px;
  }
  .tag-snsm,
  .tag-snsin {
    font-size: 10px;
    padding: 3px 12px;
  }
  .case-comment-title {
    padding: 20px 0 10px;
  }
}
