/* ----- テキスト ----- */
.wysiwyg__text-area {
    word-wrap: break-word;
}
.wysiwyg__text-area hr {
    margin-bottom: 40rem;
}
.wysiwyg__text-area section {
    margin-bottom: 40rem;
}
.wysiwyg__text-area section:last-of-type {
    margin-bottom: 0;
}
.wysiwyg__text-area p {
    font-size: 16rem;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.64rem;
}
.wysiwyg__text-area p strong {
    font-weight: 600;
}
.wysiwyg__news-text-area p {
    margin-bottom: 40rem;
}
.wysiwyg__text-area p.wp-caption-text {
    font-size: 13rem;
    margin-top: 5rem;
}
.wysiwyg__text-area h1 {
    font-size: 22rem;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 1.6rem;
    margin-bottom: 40rem;
}
.wysiwyg__text-area h2 {
    font-size: 20rem;
    font-weight: 600;
    line-height: 160%;
    margin-bottom: 20rem;
}
.wysiwyg__text-area h3 {
    font-size: 18rem;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 1.28rem;
    margin-bottom: 20rem;
}
.wysiwyg__text-area h4 {
    font-size: 16rem;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 1.28rem;
    margin-bottom: 20rem;
}
.wysiwyg__text-area h5 {
    font-size: 16rem;
    font-weight: 600;
    line-height: 160%;
    letter-spacing: 1.28rem;
    margin-bottom: 20rem;
}
.wysiwyg__text-area dt {
    font-size: 16rem;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.64rem;
    margin-bottom: 10rem;
}
.wysiwyg__text-area dd {
    font-size: 16rem;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.64rem;
    margin-bottom: 15rem;
}
.wysiwyg__text-area ul {
    margin-bottom: 10rem;
}
.wysiwyg__text-area li {
    font-size: 16rem;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.64rem;
    margin-bottom: 10rem;
}
.wysiwyg__text-area a {
    display: block;
    color: var(--Black, #1B2D33);
    overflow-wrap: break-word;
    text-decoration: underline;
    margin-bottom: 10rem;
    margin-bottom: 15rem;
}
.wysiwyg__news-text-area a {
    display: inline;
}
.wysiwyg__text-area .guidelines__back-to-top {
    display: block;
    color: var(--Black, #1B2D33);
    font-size: 16rem;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.64rem;
    margin-top: 60rem;
    text-decoration: underline;
    margin-bottom: 0;
}
.wysiwyg__text-area a.filmfreeway {
    margin-top: 10rem;
}
@media screen and (min-width: 768px) {
    .wysiwyg__text-area p{
        font-size: 22rem;
    }
    .wysiwyg__text-area section {
        margin-bottom: 60rem;
    }
    .wysiwyg__text-area p.wp-caption-text {
        font-size: 18rem;
    }
    .wysiwyg__text-area h1 {
        font-size: 32rem;
        margin-bottom: 60rem;
    }
    .wysiwyg__text-area h2{
        font-size: 28rem;
    }
    .wysiwyg__text-area h3{
        font-size: 24rem;
    }
    .wysiwyg__text-area dt {
        font-size: 22rem;
        margin-bottom: 15rem;
    }
    .wysiwyg__text-area dd {
        font-size: 22rem;
        margin-bottom: 20rem;
    }
    .wysiwyg__text-area li {
        font-size: 22rem;
        margin-bottom: 20rem;
    }
    .wysiwyg__text-area a {
        margin-bottom: 20rem;
    }
    .wysiwyg__text-area a:hover {
        text-decoration: none;
    }
    .wysiwyg__text-area .guidelines__back-to-top {
        font-size: 22rem;
        margin-top: 80rem;
        margin-bottom: 0;
    }
    .wysiwyg__text-area .guidelines__back-to-top:hover {
        text-decoration: none;
    }
    .wysiwyg__text-area a.filmfreeway {
        width: 335rem;
        margin-top: 10rem;
    }
}


/* 画像スタイル */
.wysiwyg__text-area img {
    display: block;
    height: auto;
    max-width: 100%;
}
.wysiwyg__text-area img.size-medium,
.wysiwyg__text-area img.aligncenter,
.wysiwyg__text-area img.alignright {
    width: 100%;
}
.wysiwyg__text-area .wp-caption-text {
    margin-bottom: 40rem;
}
@media screen and (min-width: 768px) {
    .wysiwyg__text-area img.size-medium {
        width: 50%;
    }
    .wysiwyg__text-area img.aligncenter {
        margin: 0 auto;
    }
    .wysiwyg__text-area img.alignright {
        margin-left: auto;
    }
}


/* 2個以上の画像用ショートコード */
/* デフォルト */
.wysiwyg__image-area{
    display: flex;
    flex-direction: column;
}
.wysiwyg__image{
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
/* SP: Sサイズ */
.wysiwyg__image-block--sp-s{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.wysiwyg__image-area--sp-s{
    width: calc((100% - 19rem) / 2);
    margin-right: 19rem;
}
.wysiwyg__image--sp-s{
    width: 100%;
    height: 102rem;
}
@media screen and (min-width: 600px){
    /* デフォルト */
    .wysiwyg__image-block{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .wysiwyg__image-area{
        width: calc((100% - 36rem) / 2);
    }
    .wysiwyg__image{
        width: 100%;
    }
    .wysiwyg__text-area .wysiwyg__caption{
        color: var(--rnCaptionGray);
        font-weight: 500;
        font-size: 12rem;
        line-height: 160%;
        letter-spacing: 0.06em;
    }
    /* SP: Sサイズ */
    .wysiwyg__image-area--sp-s{
        width: calc((100% - 36rem) / 2);
    }
    .wysiwyg__image--sp-s{
        width: 100%;
    }
    /* PC: Sサイズ */
    .wysiwyg__image-block--pc-s{
        justify-content: start;
    }
    .wysiwyg__image-area--pc-s{
        width: calc((100% - 72rem) / 3);
    }
}
/* 画像が1枚の時中央揃え */
.wysiwyg__image-block--center{
    justify-content: center;
}


/* エディタスタイル */
.wysiwyg__notes-text {
    font-size: 14rem;
}
.no-copy {
    pointer-events: none;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
}
p:has(span.wysiwyg__simple-box),
li:has(span.wysiwyg__simple-box) {
    background-color: #BAE6F5;
    padding: 16rem;
    width: 100%;
}
@media screen and (min-width: 768px) {
    .wysiwyg__notes-text {
        font-size: 19rem;
    }
    p:has(span.wysiwyg__simple-box),
    li:has(span.wysiwyg__simple-box) {
        padding: 20rem;
    }
}


/* ---------- 表テーブル ---------- */
.wysiwyg__text-area > table {
    font-size: 16rem;
    font-weight: 300;
    line-height: 160%;
    letter-spacing: 0.64rem;
    width: 100%;
    margin-bottom: 40rem;
}
.wysiwyg__text-area th {
    color: var(--white, #FFF);
    background-color: #0B2D7D;
    font-weight: normal;
    padding: 12rem;
    border: 1rem solid #BDBDBD;
}
.wysiwyg__text-area td {
    padding: 12rem;
    border: 1rem solid #BDBDBD;
    vertical-align: middle;
}
.wysiwyg__text-area table p {
    margin-bottom: 0;
}
.wysiwyg__text-area table a {
    display: block;
    color: var(--white, #FFF);
    margin: 0;
}
.wysiwyg__text-area table .wysiwyg__notes-text {
    font-size: 12rem;
}
.wysiwyg__text-area table p:has(.wysiwyg__notes-text) {
    font-size: 12rem;
}
@media screen and (min-width: 600px), print{
    .wysiwyg__text-area > table {
        font-size: 16rem;
    }
    .wysiwyg__text-area table .wysiwyg__notes-text {
        font-size: 14rem;
    }
    .wysiwyg__text-area table p:has(.wysiwyg__notes-text) {
        font-size: 14rem;
    }
}
