@charset "utf-8";

/*----------------------------------------------------------------------
	Richtext
----------------------------------------------------------------------*/
#richtextArea {
  margin-top: 20px;
}

/* list */
#richtextArea ol:not([class]) {
  margin:0;
}
#richtextArea ol:not([class]) > li {
  list-style-type:none;
  counter-increment: cnt;
  margin-bottom: 10px;
}
#richtextArea ol:not([class]) > li:before {
  display: marker;
  content: "(" counter(cnt) ") ";
  margin-left:-1.8em;
}
#richtextArea ul:not([class]) {
  margin-left: 60px;
  margin-right: 30px;
  padding-bottom: 10px;
}
#richtextArea ul:not([class]) li {
  color: #000;
  text-indent: -12px;
  padding-left: 12px;
  margin-top: 5px;
}
#richtextArea ul:not([class]) li:before {
  background-color: #1b77b3;
  border-radius: 2px;
  content: "";
  display: inline-block;
  height: 4px;
  width: 4px;
  position: relative;
  top: -2px;
  margin-right: 8px;
}

/* table */
#richtextArea table {
  margin-bottom: 30px;
}

/*                　 　768px以上
======================================================= */
@media screen and (min-width: 768px), print {
  
  /* title */  
  #richtextArea h1 {
    height: 57px;
    width: 100%;
    padding: 0 20px;
    background: url(../img/common/bg_maintitle.png) no-repeat left center;
    font-size: 140%;
    font-weight: bold;
    line-height: 1.2;
     display: -webkit-flex;
     display: flex;
     -webkit-align-items: center;
     align-items: center;
  }
  #richtextArea h2 {
    clear: both;
    margin: 30px 20px 10px 25px;
    padding-left: 20px;
    background: url(../img/common/icon_bar_blue.png) no-repeat left 10px;
    font-size: 132%;
  }
  #richtextArea h3 {
    margin: 20px 30px 15px;
    padding: 0 12px;
    border-bottom: solid 1px #1b77b3;
    font-size: 124%;
    color: #1b77b3;
  }
  #richtextArea h4 {
    margin: 20px 44px 10px;
    font-size: 108%;
    font-weight: bold;
    color: #1b77b3;
  }
  
  /* indent */
  #richtextArea p:not([class]) { margin: 10px 40px 20px 55px; }
  #richtextArea table p:not([class]) { margin: 10px 0 10px 0; }
  #richtextArea ol:not([class]) { margin: 10px 40px 20px 65px; }
  
}

/* Hack */
  #richtextArea h1:not(:target) {
    padding-top: 17px\9;
  }
  @media all and (-ms-high-contrast: none) {
    #richtextArea h1:not(:target) {
        padding-top: 0px\9;
    }
  }



/*                　 　768px以上　1179px以下
======================================================= */
@media screen and (min-width: 768px) and (max-width: 1179px) {
}
/*                　 　767px以下
======================================================= */
@media screen and (max-width: 767px) {
  
  #richtextArea ul:not([class]) {
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 10px;
  }

  /* title */  
  #richtextArea h1 {
    height: 57px;
    padding: 0 10px;
    background: url(../img/common/bg_maintitle.png) no-repeat center center;
    font-size: 116%;
    font-weight: bold;
    line-height: 1.1;
     display: -webkit-flex;
     display: flex;
     -webkit-align-items: center;
     align-items: center;
  }
  #richtextArea h2 {
    margin: 30px 10px 10px;
    padding-left: 20px;
    background: url(../img/common/icon_bar_blue.png) no-repeat left 7px;
    font-size: 116%;
    font-weight: bold;
    line-height: 1.2;
  }
  #richtextArea h3 {
    margin: 20px 10px 15px;
    padding: 0 5px;
    border-bottom: solid 1px #1b77b3;
    font-size: 116%;
    color: #1b77b3;
  }
  #richtextArea h4 {
    margin: 20px 12px 10px;
    font-size: 108%;
    font-weight: bold;
    color: #1b77b3;
  }

  #richtextArea p:not([class]) { margin: 10px 12px 20px 12px; }
  #richtextArea table p:not([class]) { margin: 0; }
  #richtextArea ol:not([class]) { margin: 10px 12px 10px 12px; }

  .mt-image-left,
  .mt-image-right {
    float: none!important;
    display: block;
    margin: 0 auto 20px!important;
  }
}



