/*
ここに独自の CSS を追加することができます。

詳しくは上のヘルプアイコンをクリックしてください。
*/
article.page h4
{
    position: relative;
    padding: 0 1em;
    height: 50px;
    line-height: 50px;
    color: #fff; /* テキスト色 */
    background: #B92A2C; /* 背景色 */
    font-size: 1.5em; /* フォントサイズ */
    font-weight: bold; /* フォント太さ */
	  margin-top:10px;
}

article.page h4:before,
article.page h4:after {
    content: '';
    position: absolute;
}
article.page h4:before {
    top: 100%;
    left: 0;
    border-width: 0 15px 15px 0;
    border-style: solid;
    border-color: transparent;
    border-right-color: #808080; /* 折り返しの色 */
}
article.page h4:after {
    top: 0;
    right: 0;
    z-index: 2;
    border-width: 25px 20px;
    border-style: solid;
    border-color: transparent;
    border-right-color: #fff;
}


article.page h3
{
	 margin-top:30px;
   position: relative;
    padding: 9px;
    padding-left: 0px;
    font-weight: bold; /* フォント太さ */
    font-size: 2.0em; /* フォントサイズ */
}
article.page h3:before{
    content:''; 
    height: 7px; /* 線太さ */
    width: 100%;
    display: block; 
    position: absolute; 
    top: 38px;  /* 上からの距離 */
    left: 0px; 
    background-color: #B92A2C; /* 背景色 */
    filter: alpha(opacity=40);
    -moz-opacity: 0.40;
    -khtml-opacity: 0.40;
    opacity: 0.40;
    box-shadow: 0px 3px 3px 3px rgba(255,255,255, 0.3) inset;
}

article.page h5{
    position: relative;
    margin: 0 0 1.5em;
    padding: 0.5em 0.5em 0.5em 1.7em;
    color: #B92A2C; /* テキスト色 */
    font-size: 1.25em; /* フォントサイズ */
    font-weight: bold; /* フォント太さ */
    border-bottom: 3px solid #B92A2C; /* 下線：太さ 線の種類 色 */
}
article.page h5:before{
    content: "";
    position: absolute;
    background: #d48789; /* 上の□の色 */
    top: 0;
    left: 0.4em;
    height: 12px;
    width: 12px;
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}
article.page h5:after{
    content: "";
    position: absolute;
    background:#d26466; /* 下の□の色 */
    top: 1.0em;
    left: 0;
    height: 8px;
    width: 8px;
    transform: rotate(15deg);
    -moz-transform: rotate(15deg);
    -webkit-transform: rotate(15deg);
    -o-transform: rotate(15deg);
    -ms-transform: rotate(15deg);
}

article.page h6{
    margin: 0 0 1.0em;
    padding: 0.2em;
    border-left: 7px solid #B92A2C; /* 左線：太さ 線の種類 色 */
    border-bottom: 1px solid #B92A2C; /* 下線：太さ 線の種類 色 */
    font-size: 1.00em; /* フォントサイズ */
    font-weight: bold; /* フォント太さ */
}
