@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* CSS Document */
/* visual-editor */
:root {
    --yellow:#ffd300;
    --blue: #00afe0;
    --white: #ffffff;
    --gray: #c9c9c9;
    --orange: #f6b100;
    --baseColor: #faf9f5;
    --txtbasecolor:#222222;
    --transit-default: all .3s ease-in;
    --transit-org: all .5s cubic-bezier(0, 0, 0, 1.01);
    --opacity-default: 0.5;
}

body#tinymce{
    position: relative;
    padding: 1em !important;
    margin: 1em !important;
    background-image: none;
    background-color: #fff;
    border: 1px dashed #CCC;
    letter-spacing: 0.045em;
    max-width: 950px;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--txtbasecolor);
}
@media(max-width: 1024px){
    body#tinymce{
        margin: 1em auto!important;
        width: 90%;
        color: var(--txtbasecolor);
    }
}
body#tinymce.wp-editor::before{background: none;}
body#tinymce .editor_blk img{
    max-width:100%!important;
    width: auto!important;
}

/* single post set */
.editor_blk *{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.9785;
    color: var(--txtbasecolor);
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
}
.editor_blk h1{
    font-size: 20px;
    font-weight: bold;
}
.editor_blk h2{
    font-size: 19px;
    font-weight: bold;
}
.editor_blk h3,
.editor_blk h4{
    font-size: 18px;
    font-weight: bold;
}

.editor_blk img{
    max-width:100%!important;
    width: auto!important;
    margin:20px;
}
@media (min-width:768px){
    .editor_blk img{
        margin: 30px;
    }
}

/*list*/
.editor_blk ul, .editor_blk li{
    list-style: none;
}
.editor_blk ol, .editor_blk ul{
    margin: 22px auto;
}
.editor_blk dd{
    margin-left: 25px;
}
.editor_blk ul li,
.editor_blk ol li{
    padding-left: 1.25rem;
    position: relative;
}
.editor_blk ul li::before{
    content: "";
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5em;
    vertical-align: middle;
    position: absolute;
    left: 0;
    top:0.75em;
}

/*border-line*/
.editor_blk hr{
    color: #bbbbbb;
    margin: 15px 0;
}

/*link*/
.editor_blk a{
    text-decoration: underline;
    padding: 0 0.2em;
    color: var(--blue);
    overflow-wrap: anywhere;
}
.editor_blk a:hover{
    text-decoration: none;
}
.editor_blk a img:hover{
    opacity: 0.6;
}

/* align set */
.editor_blk .body .aligncenter{
    display: block;
    margin-left:auto;
    margin-right: auto;
}
.editor_blk .body .alignleft{
    float: unset;
    display: block;
    margin: 0 0 auto 0;
}
.editor_blk .body .alignright{
    float: unset;
    display: block;
    margin:0 0 0 auto;
}
.alignleft,.alignright{
    float: unset!important;
    margin: 0;
}

/* img align set */
.editor_blk img.aligncenter{
    display:block;
    margin:20px auto;
}
.editor_blk img.alignright{
    display:block;
    margin:20px 20px 20px auto;
}
.editor_blk img.alignleft{
    display:block;
    margin:20px auto 20px 20px;
}

@media (min-width:768px){
    .editor_blk img.aligncenter{
        margin:30px auto;
    }
    .editor_blk img.alignright{
        margin:30px 30px 30px auto;
    }
    .editor_blk img.alignleft{
        margin:30px auto 30px 30px;
    }
}

/* img inline */
.editor_blk .image-inline {
    display: inline-block;
    margin:20px;
}

@media (min-width:768px){
    .editor_blk .image-inline {
        margin:30px;
    }
}

/* table */
.editor_blk table{
    border-collapse: collapse;
    border-spacing: 0;
    margin: 30px 0px;
}
.editor_blk table tr{
    height: auto!important;
}
.editor_blk table td{
    padding: 13px;
    border-bottom: 1px solid var(--gray);
}
.editor_blk table{
    border-top: 1px solid var(--gray);
}
.editor_blk table tr td:nth-of-type(1){
    background: var(--baseColor); 
    color: var(--txtbasecolor);
    font-weight: bold;
}

@media(max-width: 767px){
    .editor_blk table td{
        display: block;
        width: 100%!important;
        height: auto!important;
    }
    .editor_blk table tr td:first-child{
        border-bottom: none;
    }
    .editor_blk table tr:not(:last-of-type) td:first-of-type{
        border-bottom: none;
    }
}

/* 横並びブロック */
body#tinymce.editor_blk .post_flexblk .image{
    background: rgb(150 150 125 / 0.3);
    position: relative;
}
body#tinymce.editor_blk .post_flexblk .text{
    background: rgb(150 122 150 / 0.3);
    position: relative;
}
body#tinymce.editor_blk .post_flexblk .image::after{
    content: "画像ブロック";
    color: rgb(255 255 255 / 0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
}
body#tinymce.editor_blk .post_flexblk .text::after{
    content: "テキストブロック";
    color: rgb(255 255 255 / 0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
}

.editor_blk .post_flexblk{
    display: grid;
    gap: 30px;
    margin: 30px 0;
    width: 100%;
}
.editor_blk .post_flexblk .image{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.editor_blk .post_flexblk .image img{
    margin: 0!important;
}
.editor_blk .post_flexblk._imageright .image{order: 1;}
.editor_blk .post_flexblk._imageright .text{order: 2;}
@media (min-width: 1024px){
    .editor_blk .post_flexblk{
        grid-template-columns: 1fr 1fr;
    }
    .editor_blk .post_flexblk._imageright .image{order: 2;}
    .editor_blk .post_flexblk._imageright .text{order: 1;}
}


/* caption */
/* .editor_blkt .wp-caption{
    padding-top: 4px;
    border: 1px solid #eee;
    border-radius: 3px;
    background-color: #f5f6f7;
    text-align: center;
    max-width: 100%;
}
.editor_blk .wp-caption .wp-caption-text,
.editor_blk .gallery .gallery-caption{
    font-size: 0.8em;
    margin: 2px;
}
.editor_blk .wp-caption img{
    margin: 0;
    padding: 0;
    border: 0 none;
}
.editor_blk .wp-caption-dd{
    margin: 0;
    padding: 0 4px 5px;
    font-size: 11px;
    line-height: 17px;
} */

/* ----------------------
        original style 
------------------------*/
/* 見出し1 */
.editor_blk .item01{
    font-size: 20px;
    background: var(--baseColor);
    padding-left: 1.25em;
    position: relative;
    font-weight: bold;
    margin-bottom: 20px;
}
.editor_blk .item01:not(:first-child){
    margin-top: 50px;
}
.editor_blk .item01::before{
    content: "";
    width: 10px;
    height: 100%;
    background: var(--blue);
    position: absolute;
    top: 0;
    left: 0;
}
/* 見出し2 */
.editor_blk .item02{
    font-size: 20px;
    padding-left: 1.25em;
    position: relative;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 1px solid #bbbbbb;
    padding-bottom: 5px;
}
.editor_blk .item02::before{
    content: "";
    width: 10px;
    height: 1em;
    background: var(--blue);
    position: absolute;
    top: 0.575em;
    left: 0;
}
.editor_blk .item02:not(:first-child){
    margin-top: 50px;
}
/* 見出し3 */
.editor_blk .item03{
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 1px solid #bbbbbb;
}
.editor_blk .item03:not(:first-child){
    margin-top: 50px;
}
/* 見出し4 */
.editor_blk .item04{
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 18px;
}
.editor_blk .item04:not(:first-child){
    margin-top: 40px;
}

@media (min-width:768px){
    .editor_blk .item01:not(:first-child){margin-top: 60px;}
    .editor_blk .item02:not(:first-child){margin-top: 60px;}
    .editor_blk .item03:not(:first-child){margin-top: 60px;}
    .editor_blk .item04:not(:first-child){margin-top: 50px;}
}