:root {
    --color-01: #6f4f25;
}

/* リセット */
.sig-wysiwyg-text-area *,
:after,
:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.sig-wysiwyg-text-area a,
.sig-wysiwyg-text-area blockquote,
.sig-wysiwyg-text-area body,
.sig-wysiwyg-text-area button,
.sig-wysiwyg-text-area dd,
.sig-wysiwyg-text-area div,
.sig-wysiwyg-text-area dl,
.sig-wysiwyg-text-area dt,
.sig-wysiwyg-text-area figcaption,
.sig-wysiwyg-text-area figure,
.sig-wysiwyg-text-area form,
.sig-wysiwyg-text-area h1,
.sig-wysiwyg-text-area h2,
.sig-wysiwyg-text-area h3,
.sig-wysiwyg-text-area h4,
.sig-wysiwyg-text-area h5,
.sig-wysiwyg-text-area h6,
.sig-wysiwyg-text-area hr,
.sig-wysiwyg-text-area input,
.sig-wysiwyg-text-area li,
.sig-wysiwyg-text-area ol,
.sig-wysiwyg-text-area p,
.sig-wysiwyg-text-area pre,
.sig-wysiwyg-text-area time,
.sig-wysiwyg-text-area ul,
.sig-wysiwyg-text-area ol,
.sig-wysiwyg-text-area dl {
    margin: 0;
    padding: 0;
}

.sig-wysiwyg-text-area h1,
.sig-wysiwyg-text-area h2,
.sig-wysiwyg-text-area h3,
.sig-wysiwyg-text-area h4,
.sig-wysiwyg-text-area h5,
.sig-wysiwyg-text-area h6 {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

.sig-wysiwyg-text-area iframe,
.sig-wysiwyg-text-area img,
.sig-wysiwyg-text-area video {
    max-width: 100%;
}

.sig-wysiwyg-text-area img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
    border: 0;
    border-style: none;
}

.sig-wysiwyg-text-area b,
.sig-wysiwyg-text-area strong {
    font-weight: bolder;
}

.sig-wysiwyg-text-area ol,
.sig-wysiwyg-text-area ul {
    list-style: none;
}

.sig-wysiwyg-text-area ul li::marker {
    display: none;
}

.sig-wysiwyg-text-area time {
    display: block;
}

.sig-wysiwyg-text-area table {
    border-collapse: collapse;
}

/* wysiwygエディタ内 */
.sig-wysiwyg-text-area ul,
.sig-wysiwyg-text-area ol {
    margin: 1em 0;
    padding-left: 0;
}

.sig-wysiwyg-text-area ul li {
    margin: 0.5em 0;
    padding-left: 1em;
    font-size: inherit;
    position: relative;
}

.sig-wysiwyg-text-area ul li::before {
    content: "";
    width: 0.75em;
    height: 0.75em;
    display: inline-block;
    border-radius: 50%;
    background-color: var(--color-01);
    position: absolute;
    top: 0.5em;
    left: 0;
}

.sig-wysiwyg-text-area ol {
    list-style: none;
    counter-reset: number;
}

.sig-wysiwyg-text-area ol li {
    margin: 0.5em 0;
    padding-left: 1.5em;
    font-size: inherit;
    color: #666;
    position: relative;
}

.sig-wysiwyg-text-area ol li::before {
    content: counter(number);
    width: 1.5em;
    height: 1.5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    counter-increment: number;
    font-size: 0.8em;
    color: white;
    text-align: center;
    border-radius: 100%;
    background-color: var(--color-01);
    position: absolute;
    top: 0.45em;
    left: 0;
}

.sig-wysiwyg-text-area h2 {
    margin: 1em 0;
    padding: 0.5em 1em;
    font-weight: bold;
    font-size: 135%;
    color: white;
    line-height: 1.2;
    background-color: var(--color-01);
}

.sig-wysiwyg-text-area h3 {
    margin: 1em 0;
    padding: 0.5em;
    font-weight: bold;
    font-size: 125%;
    color: var(--color-01);
    border-left: 10px solid var(--color-01);
}

.sig-wysiwyg-text-area h4 {
    margin: 1.5em 0 1em;
    margin-right: auto;
    padding-left: 1.5em;
    font-weight: 900;
    font-size: 115%;
    color: var(--color-01);
    position: relative;
}

.sig-wysiwyg-text-area h4::before {
    content: "";
    width: 1em;
    height: 1em;
    display: inline-block;
    border-radius: 100%;
    background-color: var(--color-01);
    position: absolute;
    top: 0;
    left: 0;
}

.sig-wysiwyg-text-area iframe[src*="youtube"] {
    max-width: 100%;
    height: auto;
    margin-top: 1em;
    margin-bottom: 1em;

    aspect-ratio: 16 / 9;
}
