.wp-block-embed-youtube div {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.wp-block-embed-youtube div iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

img {
  max-width: 100% !important;
}

/* ------------------------------------------
SP
------------------------------------------ */
@media screen and (max-width: 750px) {
  .works_contents p,
  .block-editor-block-list__layout p {
    margin-bottom: 1em;
  }
  .works_contents > h2,
  .block-editor-block-list__layout > h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    margin-top: 2em;
    margin-bottom: 30px;
    letter-spacing: 1px;
    padding: 10px;
    line-height: 1.5;
    background: linear-gradient(130deg, #ffa2d4 60%, #ff83c5 60%);
  }
  .works_contents > h3,
  .block-editor-block-list__layout > h3 {
    margin-top: 2em;
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: #333;
    padding-left: 10px;
    letter-spacing: 1px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0) linear-gradient(transparent 60%, #ffa2d4 0%) repeat scroll 0 0;
  }
  .works_contents > h4,
  .block-editor-block-list__layout > h4 {
    margin-top: 2em;
    font-size: 1.6rem;
    font-weight: bold;
    border-left: 5px #ffa2d4 solid;
    padding-left: 10px;
    margin-bottom: 20px;
  }
  .works_contents > h5,
  .works_contents > h6,
  .block-editor-block-list__layout > h5,
  .block-editor-block-list__layout > h6 {
    margin-top: 2em;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .works_contents > ul,
  .block-editor-block-list__layout > ul {
    border-radius: 10px;
    background-color: #D3E6FD;
    list-style: disc;
    padding: 30px 30px 30px 60px;
    margin-bottom: 30px;
    box-sizing: border-box;
  }
  .works_contents .wp-block-gallery,
  .block-editor-block-list__layout .wp-block-gallery {
    margin-bottom: 40px;
  }
  .works_contents .wp-block-button > a,
  .block-editor-block-list__layout .wp-block-button > a {
    background-color: #ffa2d4;
    color: #fff;
    line-height: 1.5;
    font-size: 1.6rem;
  }
}
/* ------------------------------------------
PC
------------------------------------------ */
@media screen and (min-width: 751px) {
  .works_contents p,
  .block-editor-block-list__layout p {
    margin-bottom: 1em;
  }
  .works_contents > h2,
  .block-editor-block-list__layout > h2 {
    margin-top: 2em;
    font-size: 2.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: 1px;
    padding: 15px;
    line-height: 1.5;
    background: linear-gradient(130deg, #ffa2d4 60%, #ff83c5 60%);
  }
  .works_contents > h3,
  .block-editor-block-list__layout > h3 {
    margin-top: 2em;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
    padding-left: 10px;
    letter-spacing: 1px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0) linear-gradient(transparent 60%, #ffa2d4 0%) repeat scroll 0 0;
  }
  .works_contents > h4,
  .block-editor-block-list__layout > h4 {
    margin-top: 2em;
    font-size: 1.8rem;
    font-weight: bold;
    border-left: 5px #ffa2d4 solid;
    padding-left: 10px;
    margin-bottom: 20px;
  }
  .works_contents > h5,
  .works_contents > h6,
  .block-editor-block-list__layout > h5,
  .block-editor-block-list__layout > h6 {
    margin-top: 2em;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .works_contents > ul,
  .block-editor-block-list__layout > ul {
    border-radius: 10px;
    background-color: #D3E6FD;
    list-style: disc;
    padding: 30px 30px 30px 60px;
    margin-bottom: 30px;
    box-sizing: border-box;
  }
  .works_contents .wp-block-gallery,
  .block-editor-block-list__layout .wp-block-gallery {
    margin-bottom: 40px;
  }
  .works_contents .wp-block-embed-youtube div,
  .block-editor-block-list__layout .wp-block-embed-youtube div {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }
  .works_contents .wp-block-embed-youtube div iframe,
  .block-editor-block-list__layout .wp-block-embed-youtube div iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }
  .works_contents .wp-block-button > a,
  .block-editor-block-list__layout .wp-block-button > a {
    background-color: #ffa2d4;
    color: #fff;
    line-height: 1.5;
    font-size: 1.6rem;
  }
}
}