main .free {
  margin-bottom: 5rem;
}
main .free .content {
  padding: 1.4rem 0 3rem;
  border: solid var(--color-pink);
  border-radius: 1.6rem;
  border-width: 0.2rem 0.2rem 0.6rem;
}
main .free .content .label img {
  margin-left: -1px;
  transform: translateZ(0);
}
main .free .content .content__item__inner {
  display: grid;
  grid-template-columns: 26rem 1fr;
  column-gap: 6.4rem;
}
main .free .content .content__item {
  margin-top: 1.6rem;
}
main .free .content .content__item h2 {
  position: relative;
  padding: 0 0 1rem 2.4rem;
  margin-bottom: 3.6rem;
  color: var(--color-pink);
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0;
}
main .free .content .content__item h2::before,
main .free .content .content__item h2::after {
  content: "";
  position: absolute;
  display: inline-block;
  left: 0;
  vertical-align: middle;
  width: 0.3rem;
  border-radius: 0.15rem;
  background: none;
}
main .free .content .content__item h2::before {
  top: 0;
  height: 50%;
  background: var(--color-pink);
}
main .free .content .content__item h2::after {
  bottom: 0.5rem;
  height: 49%;
  background: #ffe201;
}
main .free .content .content__item h2 .sub {
  display: block;
  margin-top: 1.4rem;
  font-size: 2rem;
  color: #de6c9f;
  font-weight: 700;
}
main .free .content .content__item .content__item__inner {
  padding: 0 3rem;
}
main .free .content .content__item .content__item__inner .thumbnail {
  margin-left: 2rem;
}
main .free .content .content__item .content__item__inner .detail {
  overflow: hidden;
}
main .free .content .content__item .content__item__inner .detail .title {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
}
main .free .content .content__item .content__item__inner .detail .person {
  margin-bottom: 4.2rem;
}
main .free .content .content__item__inner .detail .button {
  width: 27.7rem;
  height: 4.7rem;
  display: grid;
  place-items: center;
  margin-inline: auto;
  color: #fff;
  background: var(--color-pink);
  border-radius: 2.3rem;
}
main .free .content .content__item__inner .detail .button:hover {
  opacity: 0.6;
}

@media (min-width: 768px) and (max-width: 1024px) {
  main .free .content .content__item__inner {
    column-gap: 3.6rem;
  }
  main .free .content .content__item h2 {
    font-size: 2.7rem;
  }
  main .free .content .content__item h2 .sub {
    font-size: 1.5rem;
  }
  main .free .content .content__item .content__item__inner .detail .title {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 767px) {
  main .free {
    margin-bottom: 4rem;
  }
  main .free .content {
    padding: 1.4rem 0 2.6rem;
  }
  main .free .content .label img {
    width: 34%;
  }
  main .free .content .content__item h2 {
    margin: 2rem 0 0.8rem 1.4rem;
    padding: 0 0 1rem 1.6rem;
    font-size: 2rem;
  }
  main .free .content .content__item h2::before,
  main .free .content .content__item h2::after {
    width: 0.2rem;
    border-radius: 0.2rem;
  }
  main .free .content .content__item h2::before {
    top: 0.1rem;
  }
  main .free .content .content__item h2::after {
    bottom: 0.8rem;
    height: 45%;
  }
  main .free .content .content__item h2 .sub {
    margin-top: 0.8rem;
    font-size: 1.2rem;
  }
  main .free .content .content__item .content__item__inner {
    grid-template-columns: 13rem 1fr;
    column-gap: 2.4rem;
    padding: 0 1.4rem;
  }
  main .free .content .content__item .content__item__inner .thumbnail {
    margin-left: 0rem;
  }
  main .free .content .content__item .content__item__inner .detail .title {
    margin-bottom: 2.2rem;
    font-size: 1.5rem;
    line-height: 2.4rem;
  }
  main .free .content .content__item .content__item__inner .detail .person {
    font-size: 1.2rem;
  }
  main .free .content .content__item__inner .detail .button {
    max-width: 15.3rem;
    width: 100%;
    height: 3.1rem;
    font-size: 1.2rem;
  }
}
