@charset "UTF-8";
.editor {
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 1.6rem;
}
.editor p > a {
  display: inline-block;
}
.editor h2 {
  font-size: 2.6rem;
  border-bottom: 2px dotted #33b558;
  padding-bottom: 12px;
  line-height: 1.7;
  margin-bottom: 30px;
  font-weight: 500;
  position: relative;
}
.editor h3 {
  font-size: 2rem;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .editor h3 {
    border-radius: 3px;
  }
}
.editor h3 {
  padding: 13px 20px 13px 40px;
  line-height: 1.65;
  margin-bottom: 25px;
  position: relative;
  font-weight: 500;
}
.editor h3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  background: #33b558;
  width: 5px;
  height: calc(100% - 35px);
  border-radius: 90px;
}
.editor h4 {
  font-size: 2rem;
  line-height: 1.7;
  padding-left: 23px;
  display: block;
  margin-bottom: 10px;
  position: relative;
  font-weight: 500;
}
.editor h4::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 8px;
  background: #33b558;
  border-radius: 90px;
}
.editor bold {
  font-weight: 500;
}
.editor ul {
  list-style-type: disc !important;
}
.editor ul > li {
  margin-left: 1.5em;
  padding: 0;
  font-size: 1.6rem;
}
.editor ol {
  list-style-type: decimal !important;
  padding-left: 1.5em;
}
.editor a {
  color: #33b558;
  text-decoration: underline;
}
.editor a:hover {
  text-decoration: none;
}
.editor a[target=_blank] {
  display: inline-block;
  padding-right: 20px;
  background: url("/kaigo/lib/cmn_img/icon_link_gr.png") no-repeat center right 4px/11px 11px;
}
.editor p {
  line-height: 2;
  font-size: 1.6rem;
}
.editor table {
  border-top: 1px solid #CCC;
  border-left: 1px solid #CCC;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.editor table th, .editor table td {
  background-color: #FFF;
  border-right: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  line-height: 1.4;
  padding: 15px;
  text-align: left;
}
.editor table th {
  background-color: #efeae3;
  text-align: center;
  font-weight: 500;
}
td .editor table:nth-child(1) {
  background-color: #e4e4e4;
  text-align: center;
}
.editor em {
  font-style: italic;
}
.editor iframe {
  display: block;
  margin: 0 auto;
}
.editor img {
  max-width: 100%;
  height: auto !important;
  text-align: center;
  display: block;
  margin: 0 auto;
}
.editor img.emojione {
  display: inline;
}
.editor .cmn_ofi img {
  height: 100% !important;
}
.editor .scrollTbl {
  overflow-x: auto;
  margin-bottom: 20px;
}
.editor .scrollTbl table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  margin-bottom: 0;
}

/*デバイスの横幅が768px以下の場合*/
@media only screen and (max-width: 768px) {
  .editor {
    font-size: 1.4rem;
  }
  .editor h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }
  .editor h3 {
    font-size: 1.5rem;
    padding: 10px 20px 9px 30px;
    margin-bottom: 25px;
  }
  .editor h3::before {
    left: 15px;
    height: calc(100% - 29px);
    width: 3px;
  }
  .editor h4 {
    font-size: 1.5rem;
    padding-left: 17px;
    margin-bottom: 5px;
  }
  .editor h4::before {
    width: 6px;
    height: 6px;
    top: 9px;
  }
  .editor ul li {
    font-size: 1.4rem;
  }
  .editor p {
    font-size: 1.4rem;
  }
  .editor table {
    width: 100% !important;
    max-width: 100% !important;
  }
  .editor table td, .editor table th {
    padding: 2%;
  }
  .editor iframe {
    width: 100%;
    height: auto;
  }
}