@charset "UTF-8";

.p-contents {
  padding: 5.6rem 0 10.4rem;
  background-image: url(../img/bg_contents.jpg);
  background-size: 100px;
  background-repeat: repeat;
}

.p-contents__heading {
  width: 136.6rem;
  margin: 0 auto;
}

.p-contents__container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100rem;
  max-width: 100%;
  margin: 0 auto;

  @media (max-width:768px) {
    flex-flow: column;
  }
}

.p-free__container img {
  margin: 0;
}

.p-contents__box {
  flex: 1 1 50%;
  width: 50%;
  padding: 3rem 3.2rem;
  box-sizing: border-box;

  @media (max-width:768px) {
    flex: 1 1 100%;
    width: 100%;
    padding: 2.5rem 2rem;
  }
}

.p-contents__box+.p-contents__box {
  border-left: 2px dotted #c6a9a3;

  @media (max-width:768px) {
    border-left: none;
  }
}

.p-contents__title {
  margin-top: 0.5rem;
  color: #ea1914;
  font-size: 2rem;
  font-weight: 700;

  @media (max-width:768px) {
    font-size: 1.8rem;
  }
}

.p-contents__catch {
  padding-bottom: 1rem;
  color: #e81524;
  font-size: 1.4rem;
  font-weight: 500;
  border-bottom: 2px solid #e81524;

  @media (max-width:768px) {
    margin-top: 0.5rem;
    padding-bottom: 1rem;
    font-size: 1.4rem;
  }
}

.p-contents__text {
  margin-top: 1rem;
  line-height: 1.7333;
  font-weight: 500;

  @media (max-width:768px) {
    font-size: 1.4rem;
  }
}

.p-contents__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24.4rem;
  height: 3.6rem;
  margin-top: 2rem;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  background-color: #ee1525;
  border-radius: 1.8rem;
  transition: .3s background-color;

  .small {
    padding: 0 .05em;
    font-size: 0.8571em;
  }

  &:hover {
    opacity: 1;
    background-color: #258426;
  }

  @media (max-width:768px) {
    width: 17.7rem;
    height: 3rem;
    font-size: 1.5rem;
    border-radius: 1.5rem;
  }
}

.p-contents__link {
  display: inline-block;
  margin-top: .5rem;
  font-size: 1.5rem;
  font-weight: 700;
  border-bottom: 1px solid #000;

  @media (max-width:768px) {
    font-size: 1.5rem;
  }
}