.inner {
  width: 100%;
  max-width: 1100px;
  margin: 0px auto;
}

h2 {
  margin: 0;
  padding: 0;
}

.case {
  background-color: #fff;
  padding: 60px 0;
}

.case-sub-title {
  font-size: 60px;
  font-weight: 500;
  letter-spacing: 3px;
  margin: 0;
  color: #6e808d;
}

.case-01 {
  background-color: #eef2f7;
  padding: 60px 0;
}

.case-titile {
  font-size: 20px;
  letter-spacing: 1.5px;
  color: #6e808d;
}

.case-box {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.case-box-img01 {
  width: 250px;
}

.case-box-img02 {
  width: 300px;
}

.case-item {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.case-item-box {
  display: flex;
  align-items: center; /* ← baselineではなくこれ */
  gap: 30px;
  margin-bottom: 25px;
}

.case-item-title {
  width: 150px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 22px;
  background: #6e808d;
  color: #fff;
  text-align: center;
  padding: 5px 15px;
}

.case-item-txt {
  flex: 1; /* 残りのスペースを使う */
  font-size: 20px;
}

/* case-02 */

.case-02 {
  background-color: #eef2f7;
  padding: 30px 0;
}

.case-02-title {
  font-size: 50px;
  padding: 30px 0;
}

.case-02-imgbox {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  justify-content: space-between;
}

.case-02-img {
  width: 20%;
  height: auto;
}

.case-02-box {
  display: block;
  position: relative;
}

.case-02-box::after {
  content: "LP Design";
  position: absolute;
  bottom: -25px;
  left: 0;
  font-size: 130px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  .case-01 {
    background-color: #eef2f7;
    padding: 30px 20px;
  }
  .case-02 {
    background-color: #eef2f7;
    padding: 20px;
  }

  .case-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-around;
  }

  .case-box-img01 {
    width: 200px;
    margin: 0 auto;
  }

  .case-item-title {
    width: 150px;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 15px;
    background: #6e808d;
    color: #fff;
    text-align: center;
    padding: 5px 1px;
  }

  .case-item-txt {
    flex: 1;
    font-size: 15px;
  }

  .case-02-imgbox {
    display: grid;

    grid-template-columns: 2fr 2fr;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
  }

  .case-02-img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .case-02-box::after {
    content: "LP Design";
    position: absolute;
    bottom: 0px;
    left: 0;
    font-size: 55px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.04);
  }

  .case-02-title {
    font-size: 30px;
    padding: 20px 0;
  }
}
