@charset "UTF-8";
.block-editor * {
    color: var(--color-font);
}

.entry-content{
    margin-top: 40px;
}

/* 見出し */
.editor-styles-wrapper h1,
.content-post h1 {
    padding: 0 20px 15px;
    margin-bottom: 20px;
    position: relative;
    font-size: 2.6rem;
    border-bottom: solid 1px var(--color-font);
    font-family: var(--font-sub);
    font-weight: var(--weight-bold);
}

.editor-styles-wrapper h2,
.content-post h2 {
    padding: 0 10px 5px;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-sub);
    border-bottom: solid 2px var(--color-font);
}

.editor-styles-wrapper h3,
.content-post h3 {
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 5px 10px;
    font-size: 2rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-sub);
    color: #fff;
    background-color: #000;
}

.editor-styles-wrapper h4,
.content-post h4{
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 10px 0px;
    position: relative;
    font-size: 1.6rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-sub);
    text-align: center;
    color: var(--color-main);
    border-top: solid 1px var(--color-main); 
    border-bottom: solid 1px var(--color-main); 

    &::after{
        content: "";
        width: 10px;
        aspect-ratio: 1 / 1;
        position: absolute;
        left: 50%;
        bottom: -1px;
        border-left: 1px solid var(--color-main);
        border-bottom: solid 1px var(--color-main);
        background-color: #fff;
        transform: translate(-50%,50%) rotate(-45deg);
    }
}

.editor-styles-wrapper h5,
.content-post h5{
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 10px 0px;
    font-size: 1.6rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-sub);
    text-align: center;
    color: var(--color-main);
    border-bottom: solid 1px var(--color-main); 
}

.editor-styles-wrapper h6,
.content-post h6{
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 10px 0px;
    font-size: 1.4rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-sub);
    text-align: center;
    color: var(--color-main);
    border-bottom: dashed 1px var(--color-main); 
}

/* 吹き出し */
.editor-styles-wrapper .is-style-fukidashi,
.content-post .is-style-fukidashi{
    padding: 30px 20px;
    margin-bottom: 40px;
    line-height: 1.6;
    box-sizing: border-box;
    position: relative;
    font-size: 1.8rem;
    font-weight: var(--weight-bold);
    font-family: var(--font-sub);
}

.editor-styles-wrapper .is-style-fukidashi::before,
.editor-styles-wrapper .is-style-fukidashi::after,
.content-post .is-style-fukidashi::before,
.content-post .is-style-fukidashi::after{
    content: "";
    border-top: 2px solid var(--color-main);
    width: 40px;
    height: 1px;
    position: absolute;
    left: 0;
}
.editor-styles-wrapper .is-style-fukidashi::before,
.content-post .is-style-fukidashi::before {
    top: 10px;
    transform: rotate(-18deg);
}
.editor-styles-wrapper .is-style-fukidashi::after,
.content-post .is-style-fukidashi::after {
    bottom: 10px;
    transform: rotate(18deg);
}

/* 段落 */
.editor-styles-wrapper p,
.content-post p {
    margin-bottom: 30px;
    line-height: 2;
}

/* リンク */
.editor-styles-wrapper a,
.content-post a {
	font-family: var(--font-base);
    font-weight: var(--weight-bold);
	color: var(--color-main);
	transition: 500ms;
    border-bottom: 1px solid var(--color-main);
}
.editor-styles-wrapper a:hover,
.content-post a:hover{
	opacity: 0.6;
	color: var(--color-main);
}

.editor-styles-wrapper a[target="_blank"],
.content-post a[target="_blank"] {
    margin-right: 5px;
    padding-right: 15px;
    display: inline-block;
    position: relative;
    border-bottom: 1px solid var(--color-main);
}

.editor-styles-wrapper a[target="_blank"]::after,
.content-post a[target="_blank"]::after {
    margin-top: 2px;
    width: 10px;
    aspect-ratio: 1 / 1;
    content:"";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url(../1_img/base/icon-window.svg);
    background-repeat: no-repeat;
    background-size: 100% auto;
}

/* リスト li */
.editor-styles-wrapper ul,
.content-post ul:not(.main-img ul) {
    padding-left: 0px;
    list-style: none!important;
}

.editor-styles-wrapper ul > li,
.content-post ul:not(.main-img ul) > li {
    margin-left: 0;
    padding-left: 20px;
    position: relative;
}

.editor-styles-wrapper ul > li + li,
.content-post ul:not(.main-img ul) > li + li {
    margin-top: 5px;
}

.editor-styles-wrapper ul > li::after,
.content-post ul:not(.main-img ul) > li::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--color-main);
    left: 0;
    top: calc(0.5em - 1px);
}

/* リスト ol */
.editor-styles-wrapper ol,
.content-post ol {
    padding-left: 0px;
    list-style: none;
    counter-reset: item;
}

.editor-styles-wrapper ol > li,
.content-post ol > li {
    margin-left: 0;
    padding-left: 20px;
    position: relative;
}

.editor-styles-wrapper ol > li + li,
.content-post ol > li + li {
    margin-top: 10px;
}

.editor-styles-wrapper ol > li::after,
.content-post ol > li::after {
    counter-increment: item;
    content: counter(item)'.';
    position: absolute;
    left: 0;
    top: 0;
}


.editor-styles-wrapper li ul,
.editor-styles-wrapper li ol,
.content-post li ul,
.content-post li ol{
    margin-top: 10px;
}

/* figure */
.editor-styles-wrapper figure,
.content-post figure{
    margin-bottom: 40px;
}

/*================================   スマホ   ================================*/
@media all and (max-width: 768px) {
    .entry-content{
        margin-top: 20px;
    }
    .entry-img{
        width: calc(100% + 40px);
        transform: translateX(-20px);
    }

    /* 見出し */
    .editor-styles-wrapper h1 {
        margin-bottom: 20px;
    }

    .editor-styles-wrapper h2 {
        margin-bottom: 20px;
    }

    .editor-styles-wrapper h3 {
        margin-bottom: 20px;
    }

    /* 吹き出し */
    .editor-styles-wrapper .is-style-fukidashi {
        margin-bottom: 20px;
    }

    /* 段落 */
    .editor-styles-wrapper p {
        margin-bottom: 20px;
    }
}