.wysiwyg__text-area {
    font-size: 16rem;
    line-height: 175%;
}

/* ---------- リスト ---------- */
ul {
    margin-bottom: 20rem;
    padding-left: 2em;
}
ul li{
    font-size: 16rem;
    line-height: 175%;
    margin-bottom: 20rem;
}
ul li:last-of-type{
    margin-bottom: 0;
}
ol {
    margin-bottom: 20rem;
    padding-left: 2em;
}
ol li{
    font-size: 16rem;
    line-height: 175%;
    margin-bottom: 20rem;
}
ol li:last-of-type{
    margin-bottom: 0;
}
@media screen and (min-width: 600px), print{
    ul li{
        font-size: 18rem;
    }
    ol li{
        font-size: 18rem;
    }
}
/* ---------- END: リスト ---------- */

.wysiwyg__text-area > h2 {
    font-weight: bold;
    font-size: 20rem;
    line-height: 150%;
    margin-bottom: 20rem;
    color: var(--mgNavy);
}
.wysiwyg__text-area > h3 {
    font-weight: bold;
    font-size: 18rem;
    line-height: 150%;
    letter-spacing: 0.05em;
    margin-bottom: 20rem;
}
.wysiwyg__text-area > h4 {
    font-weight: bold;
    font-size: 16rem;
    line-height: 150%;
    letter-spacing: 0.05em;
    margin-bottom: 20rem;
}
.wysiwyg__text-area > p {
    font-size: 16rem;
    line-height: 175%;
    margin-bottom: 20rem;
    word-break: break-all;
}
.wysiwyg__text-area > p > a {
    display: block;
    color: var(--mgLogoBlue);
    font-weight: bold;
}
.wysiwyg__text-area > p > a:hover {
    text-decoration: underline;
}
/* 店舗・ATM詳細 */
.atm__wysiwyg > p{
    font-size: 14rem;
    line-height: 150%;
}
/* END: 店舗・ATM詳細 */
/* 投稿タイプ「お知らせ」には、こちらのモディファイアクラスを付与 */
.wysiwyg__text-area--topic > h2 {
    color: var(--mgBlack);
    font-weight: bold;
    font-size: 20rem;
    line-height: 150%;
    margin-bottom: 20rem;
}
.wysiwyg__text-area--topic > h3 {
    font-weight: bold;
    font-size: 18rem;
    line-height: 150%;
    letter-spacing: 0.05em;
    margin-bottom: 20rem;
}
.wysiwyg__text-area--topic > h4 {
    font-weight: bold;
    font-size: 16rem;
    line-height: 150%;
    margin-bottom: 20rem;
}
/* 横ライン */
.wysiwyg__text-area hr {
    border: none;
    background-color: var(--mgGray);
    width: 100%;
    height: 1rem;
    margin-bottom: 20rem;
}
/* アンカーリンクボックス */
.wysiwyg__text-area .wysiwyg__anchor-link-list {
    border: 1rem solid var(--mgGray);
    padding: 20rem;
    margin-bottom: 60rem;
}
.wysiwyg__text-area .wysiwyg__anchor-link-list > li {
    font-size: 14rem;
    line-height: 150%;
    margin-bottom: 16rem;
    text-decoration: underline;
    padding-left: 1em;
    text-indent: -1em;
    list-style: none;
}
.wysiwyg__text-area .wysiwyg__anchor-link-list > li::before {
    position: relative;
    top: -0.5rem;
    display: inline-block;
    content: '';
    background-image: url(../images/icon/triangle-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 10rem;
    height: 9rem;
    margin-right: 6rem;
}
.wysiwyg__text-area .wysiwyg__anchor-link-list > li:last-of-type {
    margin-bottom: 0;
}
.wysiwyg__text-area .wysiwyg__anchor-link-list > li > a {
    color: var(--mgBlack);
    font-size: 14rem;
    line-height: 150%;
    width: fit-content;
}
.wysiwyg__text-area .wysiwyg__anchor-link-list > li > a:hover{
    color: var(--mgLogoBlue);
}
@media screen and (min-width: 600px), print{
    .wysiwyg__text-area {
        font-size: 18rem;
    }
    .wysiwyg__text-area > h2 {
        font-size: 24rem;
        letter-spacing: 0.05em;
    }
    .wysiwyg__text-area > h3 {
        font-size: 20rem;
    }
    .wysiwyg__text-area > p {
        font-size: 18rem;
    }
    .atm__wysiwyg > p{
        font-size: 16rem;
    }
    /* 投稿タイプ「お知らせ」には、こちらのモディファイアクラスを付与 */
    .wysiwyg__text-area--topic > h2 {
        font-size: 24rem;
        line-height: 150%;
        letter-spacing: 0.05em;
    }
    .wysiwyg__text-area--topic > h3 {
        font-size: 20rem;
    }
    .wysiwyg__text-area--topic > h4 {
        letter-spacing: 0.05em;
    }
    /* アンカーリンクボックス */
    .wysiwyg__text-area .wysiwyg__anchor-link-list {
        padding: 30rem 40rem;
        margin-bottom: 80rem;
    }
    .wysiwyg__text-area .wysiwyg__anchor-link-list > li {
        font-size: 16rem;
        margin-bottom: 20rem;
        padding-left: 1em;
        text-indent: -1em;
    }
    .wysiwyg__text-area .wysiwyg__anchor-link-list > li::before {
        width: 12rem;
        height: 10rem;
        margin-right: 8rem;
    }
    .wysiwyg__text-area .wysiwyg__anchor-link-list > li > a {
        font-size: 16rem;
    }
}


/* ---------- 画像 ---------- */

.size-full {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 40rem;
}
.size-large {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 40rem;
}
.size-medium {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 40rem;
}
@media screen and (min-width: 600px), print{
    .size-full {
        margin-bottom: 60rem;
    }
    .size-large {
        display: inline-block;
        width: calc((100% - 36rem) / 2);
        margin: 0 36rem 40rem 0;
    }
    .size-large:nth-of-type(2n) {
        margin-right: 0;
    }
    .size-medium {
        display: inline-block;
        width: calc((100% - 64rem) / 3);
        margin: 0 32rem 40rem 0;
    }
    .size-medium:nth-of-type(3n) {
        margin-right: 0;
    }
    .size-full.aligncenter {
        display: block;
        margin: 0 auto 60rem;
    }
    .size-large.aligncenter {
        display: block;
        margin: 0 auto 40rem;
    }
    .size-medium.aligncenter {
        display: block;
        margin: 0 auto 40rem;
    }
    .alignleft {
        float: left;
    }
    .alignright {
        float: right;
        margin-right: 0;
        margin-left: 36rem;
    }
}

.pc-img {
    display: none;
}
@media screen and (min-width: 600px), print{
    .sp-img {
        display: none;
    }
    .pc-img {
        display: inline-block;
    }
}


/* ---------- スタイル ---------- */

/* 英字本文 */
.wysiwyg__text-en {
    font-family: var(--Roboto);
    font-size: 16rem;
    line-height: 150%;
    letter-spacing: 0.02em;
}

/* キャプション */
.wysiwyg__text-caption {
    font-size: 14rem;
    line-height: 175%;
}

/* 固有タイトル */
.wysiwyg__h2-text{
    color: var(--mgBlack);
    font-weight: bold;
    font-size: 20rem;
    line-height: 150%;
}

/* 文中リンク */
.wysiwyg__link {
    font-size: 16rem;
    line-height: 175%;
    margin-bottom: 20rem;
    cursor: pointer;
    color: var(--mgLogoBlue);
    font-weight: bold;
    word-break: break-all;
}
.wysiwyg__link--fs14-16{
    font-size: 14rem;
}
.wysiwyg__link:hover {
    text-decoration: underline;
}
.wysiwyg__link--media{
    color: var(--mgBlack);
    font-weight: normal;
    text-decoration: underline;
}
.wysiwyg__link--media:hover{
    color: var(--mgLogoBlue);
}
.wysiwyg__link--pdf::before{
    content: "";
    display: inline-block;
    background-image: url(../images/icon/pdf-icon.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 16rem;
    height: 16rem;
    position: relative;
    bottom: -2rem;
    margin-right: 8rem;
}
.wysiwyg__link--excel::before{
    content: "";
    display: inline-block;
    background-image: url(../images/icon/excel.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 16rem;
    height: 18rem;
    position: relative;
    bottom: -2rem;
    margin-right: 8rem;
}
.wysiwyg__link--word::before{
    content: "";
    display: inline-block;
    background-image: url(../images/icon/word.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 16rem;
    height: 18rem;
    position: relative;
    bottom: -2rem;
    margin-right: 8rem;
}
.wysiwyg__link--external::after{
    content: "";
    display: inline-block;
    background-image: url(../images/icon/external-icon-blue.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width: 10rem;
    height: 10rem;
    position: relative;
    bottom: 2rem;
    margin: 0 4rem;
}
@media screen and (min-width: 600px), print{
    .wysiwyg__link {
        font-size: 18rem;
    }
    .wysiwyg__link--fs14-16{
        font-size: 16rem;
    }
    .wysiwyg__link--external::after{
        bottom: 4rem;
    }
}

/* 枠線付きリスト */
.wysiwyg__text-area .wysiwyg__border-box {
    border: 1rem solid var(--mgBrightBlue);
    padding: 12rem;
    margin-bottom: 28rem;
}
.wysiwyg__text-area .wysiwyg__border-box > li{
    font-size: 14rem;
    line-height: 150%;
    margin-bottom: 10rem;
    list-style: none;
}
.wysiwyg__text-area .wysiwyg__border-box > li:last-of-type{
    margin-bottom: 0;
}
@media screen and (min-width: 600px), print{
    .wysiwyg__text-area .wysiwyg__border-box {
        padding: 12rem 20rem;
        margin-bottom: 32rem;
    }
}

/* ぶら下げインデント（1文字分） */
.wysiwyg__text-indent{
    text-indent: -1em;
    padding-left: 1em;
}
/* 入れ子用インデント（1文字下げ） */
.wysiwyg__text-indent--second{
    text-indent: -1em;
    padding-left: 2em;
}
/* ぶら下げインデント（2文字分） */
.wysiwyg__text-indent-2{
    text-indent: -2em;
    padding-left: 2em;
}
/* 入れ子用インデント（2文字下げ） */
.wysiwyg__text-indent-2--second{
    text-indent: -1em;
    padding-left: 3em;
}

@media screen and (min-width: 600px), print{

    /* 英字本文 */
    .wysiwyg__text-en {
        font-size: 18rem;
    }

}


/* ---------- 表テーブル ---------- */
.wysiwyg__text-area > table {
    font-size: 14rem;
    line-height: 150%;
    width: 100%;
    margin-bottom: 20rem;
}
.wysiwyg__text-area th {
    background-color: var(--mgPaleGray);
    font-weight: normal;
    padding: 12rem;
    border: 1rem solid var(--mgGray);
}
.wysiwyg__text-area td {
    padding: 12rem;
    border: 1rem solid var(--mgGray);
    vertical-align: middle;
}
@media screen and (min-width: 600px), print{
    .wysiwyg__text-area > table {
        font-size: 16rem;
    }
    /* .wysiwyg__text-area th {
        padding: 12rem;
    }
    .wysiwyg__text-area td {
        padding: 12rem;
    } */
}

/* お問い合わせブロック */
.wysiwyg__text-area--inquity > p{
    font-size: 14rem;
}
@media screen and (min-width: 600px), print{
    .wysiwyg__text-area--inquity > p{
        font-size: 16rem;
    }
}