.page pre{background:black;color:#fff;}/*test code*/

/* ################ Wordpress Add Custom CSS 色設定 ############### */
form#worpress_custom_css_form tr,
form#worpress_custom_css_form td{
display:block;
}
form#worpress_custom_css_form textarea{
height:500px;
font-size:13px;
font-family: Verdana;
color:#ffeba2;
background:#921f1f;
}


.graywaku {
    padding: 20px;
    background: #fff;
    border: 1px #ccc solid;
    box-shadow: 0 2px 3px 0 #ddd;
    margin-bottom: 25px;
}

/*リスト(ul)*/
#toc_container ul li:before{display: none;}
#wrapper #contents #main .page ul li{
position: relative;
background: none;
margin: 1.0em 0;
}
#wrapper #contents #main .page ul li:before{
content: '\f0da';
font-family: FontAwesome;
color: #B20000;
margin-top:0.2em;
position: absolute;
top:0;
left: 0.5em;
}

/*番号リスト(ol)*/
#wrapper #contents #main .page ol{counter-reset: li;}
#wrapper #contents #main .page ol li{
position: relative;
list-style: none;
margin: 1.0em 0 1.0em 2.5em;
}
#wrapper #contents #main .page ol li:before {
content: counter(li) "";
counter-increment: li;
position: absolute;
top:0;
left: -2.0em;
width: 1.5em;
height: 1.5em;
text-align: center;
background: #B20000;
border-radius: 50px;
color: #fff;
line-height: 1.5;
}

/*h2*/
#main .page h2{
    position: relative;
    color: #fff;
    font-size: 1.35em;
    text-shadow: 2px 2px 1px #333;
    border: 1px dashed rgba(255,255,255,0.5);
    padding: 0.5em 1.0em;
    background-image: none;
    background-color: #f7636a;
    box-shadow: 0px 0 0 4px #f7636a, 0 4px 0 0 #f7636a, 0 -4px 0 0 #f7636a, 0px 6px 3px -1px rgba(0,0,0,0.33);
}
#main .page h2:before{
    content: '';
    width: 15px;
    height: 15px;
    background: #f7636a;
    position: absolute;
    left: 20px;
    bottom: -9px;
    border-bottom: 1px dashed rgba(255,255,255,0.8);
    border-left: 1px dashed rgba(255,255,255,0.8);
    box-shadow: 0px 0 0 4px #f7636a, 0 4px 0 0 #B20000, 0px 6px 3px -1px rgba(0,0,0,0.33);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/*h3*/
#main .page h3{
position: relative;
font-size: 1.4em;
border: none;
border-bottom:solid 2px #999;
}
#main .page h3:before{
content: '';
width: 7px;
height: 100%;
position: absolute;
left:0;
bottom:-2px;
background:#B20000;}

/*h4*/
#main .page h4{border-bottom: dotted 2px #B20000;}

/*スマホ・タブレット表示*/
@media only screen and (max-width: 640px){
  #main .page h2{
  font-size: 1.2em;
  margin-left:-8px;
  margin-right:-8px;
  }
  #main .page h3{font-size: 1.2em;}
  #main .page h4{font-size: 1.0em;}
}
