main {
  background-size: cover;
}

.cases {
  position: relative;
  padding-top: 12px;
}
.cases__inner {
  position: relative;
}
.cases__top {
  display: grid;
  align-items: end;
  position: relative;
  margin-bottom: 212px;
  grid-template-columns: auto 48.7%;
  grid-template-rows: 1fr;
  -moz-column-gap: 30px;
       column-gap: 30px;
}
@media screen and (max-width: 1024px) {
  .cases__top {
    margin-bottom: 160px;
    grid-template-columns: 1fr;
  }
  .cases__top div {
    grid-area: 2/1/3/2;
  }
  .cases__top img {
    aspect-ratio: 1/0.775;
    -o-object-fit: cover;
       object-fit: cover;
  }
}
.cases__top::before, .cases__top::after {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background-color: var(--base-border-color);
  content: "";
}
.cases__top::after {
  top: auto;
  bottom: 0;
}
.cases__title {
  position: relative;
  margin-bottom: 65px;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  font-family: "IBM Plex Sans JP";
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1024px) {
  .cases__title {
    margin-top: 43px;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.1em;
  }
}
.cases__title::before, .cases__title::after {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background-color: var(--base-border-color);
  content: "";
}
.cases__title::after {
  top: auto;
  bottom: 0;
}
.cases__subtitle {
  margin-bottom: 72px;
  font-style: normal;
  font-weight: 700;
  font-size: 60px;
  line-height: 108%;
  font-family: "IBM Plex Sans JP";
}
.cases__subtitle span {
  color: var(--theme-color);
}
@media screen and (max-width: 1024px) {
  .cases__subtitle {
    margin-bottom: 30px;
    font-style: normal;
    font-weight: 700;
    font-size: 43px;
    line-height: 116%;
    font-family: "IBM Plex Sans JP";
    letter-spacing: 0.05em;
    font-feature-settings: "kern" off;
  }
}
.cases__text {
  width: 62%;
  margin-bottom: 43px;
  font-weight: 500;
  font-size: 14px;
  line-height: 170%;
  letter-spacing: 0.1em;
  text-align: justify;
  font-feature-settings: "palt";
}
@media screen and (max-width: 1024px) {
  .cases__text {
    width: 100%;
    margin-bottom: 0;
  }
}
.cases__contents {
  display: grid;
  position: relative;
  grid-template-columns: 48.8% 48.8%;
  grid-template-rows: repeat(4, auto);
  -moz-column-gap: 30px;
       column-gap: 30px;
}
@media screen and (max-width: 1024px) {
  .cases__contents {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}
.cases__work-item {
  position: relative;
  margin-bottom: 87px;
}
.cases__work-item:nth-of-type(odd)::before, .cases__work-item:nth-of-type(odd)::after {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background-color: var(--base-border-color);
  content: "";
}
.cases__work-item:nth-of-type(odd)::after {
  top: auto;
  bottom: 0;
}
@media screen and (max-width: 1024px) {
  .cases__work-item:nth-of-type(even)::before, .cases__work-item:nth-of-type(even)::after {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background-color: var(--base-border-color);
    content: "";
  }
  .cases__work-item:nth-of-type(even)::after {
    top: auto;
    bottom: 0;
  }
}
.cases__work-title {
  margin-bottom: 9px;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 111%;
  font-family: "IBM Plex Sans JP";
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1024px) {
  .cases__work-title {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 125%;
  }
}
.cases__work-desc {
  margin-bottom: 16px;
  color: #aeaeae;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 167%;
  font-family: "IBM Plex Sans JP";
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1024px) {
  .cases__work-desc {
    font-size: 14px;
    line-height: 157%;
  }
}
.cases__work-img {
  width: 100%;
  margin-bottom: 30px;
}
@media screen and (max-width: 1024px) {
  .cases__work-img {
    margin-bottom: 25px;
  }
}

.case-detail {
  position: relative;
  padding-top: 12px;
}
.case-detail::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background-color: var(--base-border-color);
  content: "";
}
@media screen and (max-width: 1024px) {
  .case-detail {
    padding-top: 100px;
  }
  .case-detail::before {
    content: none;
  }
}
.case-detail__inner {
  position: relative;
  margin-top: 172px;
}
.case-detail__inner::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background-color: var(--base-border-color);
  content: "";
}
@media screen and (max-width: 1024px) {
  .case-detail__inner {
    margin-top: 0;
  }
}
.case-detail__title {
  width: 50%;
  margin-bottom: 8px;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 125%;
  font-family: "IBM Plex Sans JP";
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1024px) {
  .case-detail__title {
    position: relative;
    width: 100%;
    font-size: 25px;
    line-height: 136%;
    letter-spacing: 0.05em;
  }
  .case-detail__title::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background-color: var(--base-border-color);
    content: "";
  }
}
.case-detail__desc {
  width: 30%;
  margin-bottom: 23px;
  color: #aeaeae;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 167%;
  font-family: "IBM Plex Sans JP";
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1024px) {
  .case-detail__desc {
    position: relative;
    width: 100%;
    font-size: 14px;
    line-height: 143%;
  }
  .case-detail__desc::before, .case-detail__desc::after {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background-color: var(--base-border-color);
    content: "";
  }
  .case-detail__desc::after {
    top: auto;
    bottom: 0;
  }
}
.case-detail__content {
  display: grid;
  width: 67.5%;
  padding-bottom: 100px;
  row-gap: 100px;
}
.case-detail__content p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  font-family: "Noto Sans JP";
  letter-spacing: 0.1em;
  text-align: justify;
  font-feature-settings: "palt";
}
@media screen and (max-width: 1024px) {
  .case-detail__content {
    width: 100%;
    row-gap: 75px;
  }
  .case-detail__content img {
    aspect-ratio: 1/0.634;
    -o-object-fit: cover;
       object-fit: cover;
  }
}/*# sourceMappingURL=cases.css.map */