@charset "UTF-8";

main {
  .imgArea {
    position: relative;
    width: 100%;
    height: 200px;
    z-index: -1;

    img {
      height: 100%;
      width: 100%;
      display: block;
      object-fit: cover;
    }
  }
  .textContain {
    width: 90%;
    margin: 0 auto;

    .caseTitle {
      position: relative;
      left: 15px;
      font-size: 2rem;
      margin-bottom: 60px;
    }

    .caseTitle::before {
      position: absolute;
      left: -15px;
      content: "";
      display: inline-block;
      width: 5px;
      height: 38px;
      background-color: var(--blue);
      margin-bottom: 20px;
    }

    .caseText {
      font-size: 1.2rem;
      margin: 10px;
    }
  }
}

@media screen and (min-width: 768px) {
  main {
    .imgArea {
      height: 400px;
    }

    .textContain {
      .caseTitle {
        left: 25px;
        font-size: 3rem;
        margin-bottom: 60px;
      }

      .caseTitle::before {
        left: -25px;
        height: 60px;
      }
      .caseText {
        font-size: 1.2rem;
        margin: 30px;
      }
    }
  }
}
