html {
  font-family: "Noto Sans JP";
  letter-spacing: 0;
}
body {
  background: #fff;
}
.case-detail {
  width: 50%;
  margin: 24px auto 40px;
}
.card-detail__meta {
  display: flex;
  gap: 1.11vw;
  align-items: center;
}
.item__date {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.3;
  color: #303030;
}
.case-detail__tags {
  display: flex;
  gap: 8px;
}
.card__category {
  font-size: 15px;
  color: #555555;
  line-height: 1;
  padding: 6px 14px;
  background-color: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-weight: 500;
  font-family: "Noto Sans JP";
}
.case-detail__title {
  font-size: 2.22vw;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.11vw;
}
.case-detail__company {
  margin-top: 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px dotted #989898;
}
.case-detail__company img {
  width: 100%;
  height: 25vw;
  object-position: center;
  object-fit: cover;
}
.card__company {
  font-size: 18px;
  line-height: 1.78;
  font-weight: 700;
}
.case-detail__content {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.case__headeing {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 17px 16px 24px 16px;
}
.case__video,
.case__img {
  width: 100%;
  height: 30.83vw;
  border-radius: 24px;
}
.case__major-heading {
  font-size: 24px;
  font-weight: 700;
  color: #4a6ffe;
  padding-left: 12px;
  border-left: 4px solid #4a6ffe;
  line-height: 1.3;
}
.case__medium-heading {
  font-size: 18px;
  color: #4a6ffe;
  font-weight: 700;
  line-height: 1.3;
}
.case__text {
  font-size: 14px;
  line-height: 2.4;
}
strong {
  font-weight: 700;
}
.case__link {
  font-size: 15px;
  color: #4a6ffe;
  font-weight: 700;
  text-decoration: underline;
}
.case__img-2,
.case__video-2 {
  margin-bottom: 19px;
}
.case-detail__section {
  padding: 0 16px 30px;
  border-bottom: 1px solid #f2f2f2;
}
.case-detail__section-bottom {
  border-bottom: none;
}
.case-detail__section-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #1dd421;
}
.case-detail__text {
  font-size: 15px;
  line-height: 1.9;
  margin-top: 12px;
  color: #575757;
}
.case-detail__text a {
  font-size: 15px;
  font-weight: 500;
  line-height: 2.1;
  color: #4a6ffe;
  text-decoration: underline;
}
.btn--0302H {
  /* margin-bottom: 74px; */
}
.btn__link-text {
  color: #f2f2f2;
}
@media (max-width: 1024px) {
  .case-detail {
    width: 70%;
  }
}
@media (max-width: 768px) {
  .case-detail {
    width: 75%;
  }
  .case-detail__title {
    font-size: 4vw;
  }
  .case-detail__company img {
    width: 100%;
    height: 45.7vw;
  }
}
@media (max-width: 425px) {
  .case-detail {
    border-radius: 16px;
    width: 87.2%;
    margin-bottom: 32px;
    margin-top: 6px;
  }
  .card__category {
    font-size: 13px;
  }
  .case-detail__title {
    font-size: 24px;
    margin-top: 13px;
    line-height: 1.6;
  }
  .case-detail__company {
    margin-top: 24px;
    gap: 24px;
  }
  .case-detail__company-name {
    font-size: 16px;
  }
  .case-detail__content {
    margin-top: 24px;
  }
  .case-detail__section {
    padding: 0 4px 15px;
  }
  .case-detail__text {
    font-size: 13px;
    margin-top: 9px;
  }
  .case-detail__section-title {
    line-height: 1.6;
    font-size: 16px;
  }
  .btn__link {
    padding: 8px 9px 8px 29px;
  }
}

/* =============== 基本パラメータ（調整用） =============== */
.case-detail__company-logo {
  --gap: 8px; /* 白枠を内側に入れる距離（必要なら増減） */
  --thick: 2px; /* 線の太さ */
  --len: 8px; /* L字の長さ */
  --green: #1dd421; /* 緑の色 */
  position: relative;
  display: inline-block;
  overflow: hidden; /* コーナーがはみ出さないように */
  width: 100%;
}

/* 画像はラッパーいっぱいに */
.case-detail__company-logo .card__logo {
  display: block;
  width: 100%;
}

/* 四隅のL字ライン（＋左右中央の横棒） */
.case-detail__company-logo::after {
  content: "";
  inset: 0;
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background:
    /* 左上：縦 */ linear-gradient(var(--green), var(--green)) left
      0 top 0 / var(--thick) var(--len) no-repeat,
    /* 左上：横 */ linear-gradient(var(--green), var(--green)) left 0 top 0 /
      var(--len) var(--thick) no-repeat,
    /* 右上：縦 */ linear-gradient(var(--green), var(--green)) right 0 top 0 /
      var(--thick) var(--len) no-repeat,
    /* 右上：横 */ linear-gradient(var(--green), var(--green)) right 0 top 0 /
      var(--len) var(--thick) no-repeat,
    /* 左下：縦 */ linear-gradient(var(--green), var(--green)) left 0 bottom 0 /
      var(--thick) var(--len) no-repeat,
    /* 左下：横 */ linear-gradient(var(--green), var(--green)) left 0 bottom 0 /
      var(--len) var(--thick) no-repeat,
    /* 右下：縦 */ linear-gradient(var(--green), var(--green)) right 0 bottom 0 /
      var(--thick) var(--len) no-repeat,
    /* 右下：横 */ linear-gradient(var(--green), var(--green)) right 0 bottom 0 /
      var(--len) var(--thick) no-repeat,
    /* 中央左右の横棒（不要なら削除OK） */
      linear-gradient(var(--green), var(--green)) left 0 center / 10px
      var(--thick) no-repeat,
    linear-gradient(var(--green), var(--green)) right 0 center / 10px
      var(--thick) no-repeat;
}
