@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

.article h1 {
    border-bottom: 2px solid #333333;/*下線*/
}

.article h2,
.under-entry-content h2,
.sidebar h3 {
    position: relative;
    padding: .5em 0 .5em 1em;
    border-left: none;
    border-bottom: 3px solid #333333;
	background-color: #ffffff;
	color: #333333;
}

.article h2::before,
.under-entry-content h2::before,
.sidebar h3::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #333333;
    content: '';
}

.article h2::after,
.under-entry-content h2::after,
.sidebar h3::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #333333;
    content: '';
}

.article h3 {
    position: relative;
    padding: .5em .7em .4em;
	border-left: none;
    border-bottom: 3px solid #333333;
	color: #333333;
}

.article h3::before,
.article h3::after {
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.article h3::before {
    background-color: #333333;
}

.article h3::after {
    bottom: -11px;
    background-color: #fff;
}

.article h4 {
    border-bottom: 3px double #333333;
}

.article h5 {
    border-bottom: 3px dotted #333333;
}

.under-entry-content h2 {
	font-size: 22px;
    padding: .5em 0 .2em 1em;
    border-bottom: 2px solid #333333;
}

.sidebar h3 {
	font-size: 20px;
    padding: .3em 0 .2em 1em;
    border-bottom: 2px solid #333333;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/************************************
** MathJax関連
************************************/
/* 数式を左寄せ */
.MathJax_Display {
  text-align: left !important;
  text-indent: 0em !important;
}

/* はみでた数式のスクロール */
div.scroll{
  overflow-x: auto;
  overflow-y: hidden;
}