.content {
  overflow: hidden;
}

.content p {
  margin-top: 30px;
}

h2 {
  margin-bottom: 30px;
  text-align: center;
}

h3 {
  margin-top: 30px;
  padding: 0px 40px 0px;
  display: inline-block;
  border-bottom: 2px solid #666;
  text-align: center;
}

.content_04 {
  text-align: center;
}

/*コンテンツ04--sub1*/
.cont04_sub1_comment_wrapper {
  font-size: 1.8rem;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
  padding: 50px 0 30px 70px;
  background-image: url(../images/rec_cont04_sub1.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.cont04_sub1_comment_wrapper p {
  margin: 0;
}

.cont04_sub1_comment {
  display: inline-block;
}

.cont04_sub1_comment:nth-child(2) {
  padding-left: 2em;
}

.cont04_sub1_comment span {
  font-size: 2.1rem;
  font-weight: bold;
}

@media screen and (max-width: 751px) {
  .cont04_sub1_comment_wrapper {
    font-size: 1.6rem;
    display: inline-block;
    padding: 10px 0 10px 100px;
  }

  .cont04_sub1_comment {
    display: block;
  }

  .cont04_sub1_comment,
  .cont04_sub1_comment:nth-child(2) {
    padding-left: 1rem;
  }

  .cont04_sub1_comment span {
    font-size: 1.8rem;
  }
}

/*コンテンツ04--sub1--終了*/

/*コンテンツ04--sub2*/
.cont04_sub2 {
  text-align: left;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
  height: 300px;
}

.cont04_sub2_wrapper {
  display: inline-block;
  padding: 50px;
  background-color: #658dc6;
  opacity: 0.99;
}

.cont04_sub2_wrapper p {
  font-size: 1.8rem;
  line-height: 1.6em;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.cont04_sub2_wrapper p span {
  padding-left: 1em;
}

.cont04_sub2_img_wrapper {
  position: absolute;
  right: 0;
  width: 60%;
  height: 300px;
  overflow: hidden;
}

.cont04_sub2_img_wrapper img {
  width: 100%;
}

@media screen and (max-width: 751px) {
  .cont04_sub2_wrapper {
    padding: 30px;
  }

  .cont04_sub2_wrapper p {
    font-size: 1.5rem;
  }

  .cont04_sub2_img_wrapper {
    width: 70%;
    right: 10;
  }
}

@media screen and (max-width: 376px) {
  .cont04_sub2 {
    height: 250px;
  }
}

/*コンテンツ04--sub2--終了*/

/*コンテンツ04--sub4*/
.cont04_sub4 {
  margin-top: 80px;
}

.cont04_sub4 h3 {
  margin-bottom: 30px;
}

.cont04_sub4 p {
  text-align: left;
  margin: 20px 10px;
}
.cont04_sub4 img {
  width: 100%;
}
.cont04_sub4_img_wrapper {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
}
.cont04_sub4_img_caption {
  font-size: 1.3rem;
  color: #666;
  margin-top: 0px;
}
.con04_sub4 section {
  margin-bottom: 50px;
  text-align: left;
}

.cont04_sub4_title {
  font-size: 1.6rem;
  border-left: 8px solid #658dc6;
  padding: 0.5rem;
}

.cont04_sub4_border {
  display: flex;
  align-items: center;
}

.cont04_sub4_border:before {
  border-top: 1px solid #333;
  content: '';
  width: 2rem;
  margin-right: 1rem;
}

.cont04_sub4_border:after {
  border-top: 1px solid #333;
  content: '';
  flex-grow: 1;
  margin-left: 1rem;
}

/*コンテンツ04--sub4--終了*/

/*コンテンツ04--sub5*/
.cont04_sub5 {
  text-align: left;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
}

.cont04_sub5 p {
  line-height: 1.8em;
  padding: 30px;
  padding-left: 0;
  color: #333;
  background-color: rgba(255, 255, 255, 0.8);
  width: 450px;
  opacity: 0.99;
  margin: 0;
}

.cont04_sub5_imgPc {
  position: absolute;
  right: 0;
  top: 10%;
  width: 70%;
}

@media screen and (max-width: 751px) {
  .cont04_sub5_imgPc {
    display: none;
  }

  .cont04_sub5 {
    width: 375px;
    background: linear-gradient(-135deg, #05fbff, #1e00ff);
    margin-right: auto;
    margin-left: auto;
    box-shadow: 0 10px 10px rgba(1, 73, 184, 0.05), 0 10px 10px rgba(1, 73, 184, 0.07);
  }

  .cont04_sub5_wrapper {
    margin: auto;
    width: 100%;
  }

  .cont04_sub5 p {
    background-color: rgb(254, 254, 254);
    padding-left: 30px;
    padding-right: 20px;
    color: #666;
  }
}

@media screen and (max-width: 376px) {
  .cont04_sub5 {
    width: 325px;
  }

  .cont04_sub5 p {
    width: 280px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 1.3rem;
  }
}

/*コンテンツ04--sub5--終了*/
