@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* CSS Document */
/* visual-editor */

body#tinymce{
    position: relative;
    padding: 1em !important;
    margin: 2em 1em 2em 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", serif;
}
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;
    box-sizing: border-box;
}
.editor_blk h1{
    font-size: 24px;
    font-weight: 600;
}
.editor_blk h2{
    font-size: 21px;
    font-weight: 600;
}
.editor_blk h3{
    font-size: 18px;
    font-weight: 600;
}
.editor_blk img{
    max-width:100%!important;
    width: auto!important;
    margin:5px;
}

/*list*/
.editor_blk ul, .editor_blk li{
    list-style: inherit;
}
.editor_blk ol, .editor_blk ul{
  padding-left: 25px;
  margin: 22px auto;
}
.editor_blk ul{
  list-style-type: disc;
}
.editor_blk dd{
  margin-left: 25px;
}
.editor_blk ul li,
.editor_blk ol li{
  margin: 0.2em;
}

/*border-line*/
.editor_blk hr{
  color: #dfdfdf;
  margin: 20px 0;
}

/*link*/
.editor_blk a{
    text-decoration: underline;
    padding: 0 0.2em;
    color: #0080C2!important;
}
.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:15px auto;
}
.editor_blk img.alignright{
  display:block;
  margin:15px 15px 15px auto;
}
.editor_blk img.alignleft{
  display:block;
  margin:15px auto 15px 15px;
}

/* img inline */
.editor_blk .image-inline {
    display: inline-block;
    margin:10px;
}

/* 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: 1px solid #dbdbdb;
}
.editor_blk table tr td:nth-of-type(1){
    background: #014789;
    border: 1px solid #dbdbdb;
    color: #fff;
    text-align: center;
}

/* 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 
------------------------*/
/* item L */
.editor_blk .l-item{
    position: relative;
    font-size:20px;
    color: #005f88;
    font-weight: bold;
    margin-bottom: 25px;
    margin-top:25px;
    width: 100%;
    padding: 13px 1em;
    border-top: 1px solid #01738a;
    border-bottom: 1px solid #01738a;
}

/* item M */
.editor_blk .m-item{
    padding-left: 16px;
    font-weight: bold;
    position: relative;
    font-size:18px;
    margin-bottom: 15px;
    margin-top:15px;
}
.editor_blk .m-item::before{
  content: "";
  width: 4px;
  height: 100%;
  background:#01738a;
  position: absolute;
  top: 0;
  left: 0;
}

/* item S */
.editor_blk .s-item{
  padding-left:1.05em;
  position: relative;
  font-size:16px;
  font-weight:600;
  margin-bottom: 10px;
  margin-top: 4px;
}
.editor_blk .s-item::before{
  content: "";
  width:0.8em;
  height:0.8em;
  border-radius: 50px;
  background:#005f88;
  position: absolute;
  top: 0.55em;
  left: 0;
}

/*==========================
      　　  media
===========================*/
@media(max-width: 1024px){
    body#tinymce{
        margin: 1em auto!important;
        width: 90%;
    }
}
@media(max-width: 767px){
    .editor_blk h1{
        font-size: 18px;
    }
    .editor_blk .l-item{
        font-size: 18px;
    }
    .editor_blk h2,.editor_blk .m-item{
        font-size: 16px;
    }
    .editor_blk h3,.editor_blk .s-item{
        font-size: 15px;
    }
    .editor_blk table td{
       display: block;
       width: 100%!important;
       height: auto!important;
    }
    .editor_blk table tr td:not(:nth-of-type(1)){
        border-top: none;
    }
    .editor_blk table tr:not(:last-of-type) td:last-of-type{
        border-bottom: none;
    }
}