/*
  /rakurakucloud/jugyoinportal/asset/css/page/p-form-demo-fv.css
  フォーム（form/demo/index.php）ページFV用CSS＋次セクション用CSS
*/

.p-form-demo {
  /* m-form-col2__document-wrap の固定幅を解除し、画像本来の大きさで表示 */
  .m-form-col2__document-wrap {
    width: auto;
    margin: 20px 0 0 0;
    text-align: center;
    @media screen and (max-width: 840px) {
      width: auto;
      margin: 15px 0 0 0;
    }
  }
  .m-form-col2__image-document {
    max-width: 100%;
  }
}
.p-form-demo__box-text {
  margin: 15px 0 0 0;
  font-size: 17px;
  line-height: 1.6;
  font-weight: bold;
  @media screen and (max-width: 840px) {
    margin: 12px 0 0 0;
    font-size: 14px;
  }
}
.p-form-demo-catch {
  position: relative;
  width: fit-content;
  margin: 40px auto 0;
  padding: 0 30px;
  font-size: 18px;
  font-weight: bold;
  color: var(--rcloud-bg-main-02);
  @media screen and (max-width: 840px) {
    margin: 30px auto 0;
    padding: 0 24px;
    font-size: 14px;
  }
  &::before,
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 2px;
    height: 26px;
    background-color: var(--rcloud-bg-main-02);
    @media screen and (max-width: 840px) {
      height: 20px;
    }
  }
  &::before {
    left: 0;
    transform: translateY(-50%) rotate(-30deg);
  }
  &::after {
    right: 0;
    transform: translateY(-50%) rotate(30deg);
  }
}