@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*　カテゴリーページ独自のCSS　*/

.cat_top {
    margin-bottom: 3em;
    border: 1px solid var(--color_border);
    padding: 1.25em;
}

.cat_top h2 {
    border-bottom: 1px solid var(--color_border);
    padding-bottom: 1em;
    font-size: 1.2em;
}

.cat_top ul {
    margin-top: 1em;
}

.cat_top li {
    margin: 0.25em 0;
}

/*　以下、single.css から流用追加CSSです。　*/


ol.is-style-index ol>li ol>li:before, ol.is-style-index>li li:before {
    border:none;
	content:"-" !important;　
    xxcontent: counters(toc,"h");
    counter-increment: toc;
    display: block;
    font-family: inherit;
    letter-spacing: -.1px;
    line-height: 1.1;
    padding: 0 0.5em 0 0;
    position: absolute;
    right: calc(100% + 0.5em);
    top: 0.25em;
    -webkit-transform: scale(.95);
    transform: scale(.95);
    white-space: nowrap;
    width: auto;
}

ol.is-style-index ol>li  ol>li,
ol.is-style-index>li li {
		margin-left: 0em;
}

.p-toc__link {
    font-weight: bold;
}

ol.is-style-index ol>li  ol>li a.p-toc__link,
ol.is-style-index>li li a.p-toc__link {
    font-weight: normal !important;
}

/*目次の間隔調整*/
.p-toc__list .p-toc__childList {
    margin-bottom: 1.5em;
    margin-top: 1em;
    padding-left: 0em;
}

/* カテゴリページのコンテンツ外上部タイトル 余白調整*/

@media (min-width: 600px)
.l-topTitleArea {
    min-height: 120px;
}
.l-topTitleArea {
    min-height: 5em;
}


/*目次をハイライト表示*/

a.p-toc__link.current {
  background-color: #ffd6d6 !important;
}


/* 見出しの余白調整 */

:root {
    --swl-block-margin: 1em;
}

 .post_content h2 {
    margin:2.5em 0 1.5em;
}


.post_content h3 {
    /* margin: 2em 0 1em; */
}
/*
.post_content h4 {
    margin: 0.7em 0 0.5em;
}
*/ 

li:before {
	color:var(--color_htag);
	
}

/********************************/

/*　H2に連番+スタイル　*/


.post_content {
  counter-reset: h2;  /* 'h2'という名前のカウンターを設定し、 0 で初期化する。 */
}
 .post_content h2::before {
  counter-increment: h2;  /* h2カウンターの値に1を加算 */
  content: counter(h2)  !important;   /* h2カウンターの値を表示 */
}


 .post_content h2{
    font-size: 1.7rem;
    text-align: center;
    color: #1a1a1a;
    /* border-bottom: 3px solid var(--color_htag); */
    background-color: #fff;
    /* display: flex; */
    border-left: 0;
    line-height: 2.2rem;
}

 .post_content h2:before {
left: 50%;
    top: -50%;
    content: counter(h2);
    background-color: var(--color_htag);
    border-radius: 50%;
    color: #fff;
    text-align: center;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    font-size: 1.5rem;
    margin-right: 1.2rem;
    margin-left: -1.5rem;
    flex-shrink: 0;
}




.post_content h2:after {
    position: absolute;
    top: 100%;
    left: 50%;
    content: "";
    height: 0;
    width: 0;
}



.post_content h2:after {
    border-radius: 20%;
    border: 10px solid;
    border-color: transparent;
    border-top-color: #1a1a1a57;
    margin-left: -10px;
}



/********************************/


/* コンテンツ内のSwell装飾スタイル　カスタム */

.is-style-border_left {
    font-size: 1.1em;
    margin-top: 2em;
    font-weight: bold;
    border-left: 2px solid var(--color_main);
    padding-left: 10px;
}


/*　アコーディオン　*/
.swell-block-accordion__title .swell-block-accordion__label {

    font-weight: bold !important;
    /* text-align: center; */
}

.swell-block-accordion__body {
    padding: 1em;
}

/* アコーディオンの見出しにH4使う場合 */
.post_content div.swell-block-accordion h2,
.post_content div.swell-block-accordion h3,
.post_content div.swell-block-accordion h4{
margin: 0 !important;
	font-size: inherit;
} 

.post_content div.swell-block-accordion h4::before {
    content: none;
}


/*　見出しをセンターライン */

/* .post_content h2 { */
    /* display: flex; */
    /* align-items: center; */
	/* text-align: center; */
	/* background: #fff; */
    /* color: var(--color_htag); */
/* } */
 
/* .post_content h2:before, */
/* .post_content h2:after { */
    /* content: ""; */
    /* height: 1px; */
    /* flex-grow: 1; */
    /* background-color: var(--color_htag); */
/* } */
 
/* .post_content h2:before { */
    /* margin-right: 1rem; */
/* } */
 
/* .post_content h2:after { */
    /* margin-left: 1rem; */
/* } */

/* .post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before { */
    /* position: static; */
    /* display: block; */
    /* pointer-events: none; */
/* } */

/*　見出しをセンターライン↑ */

/*　見出しをふきだし風に　*/


.post_content h3 {
	color: #fff;
    background-color: var(--color_htag);
    position: relative;
	text-align: center;
    padding: 1rem;
    border: 2px solid  var(--color_htag);
	    border-radius: 10px;
}

.post_content h3:before,
.post_content h3:after {
    position: absolute;
    left: 50%;
    content: "";
    height: 0;
    width: 0;
}

.post_content h3:before {
    top: 100%;
    border: 9px solid;
    border-color: transparent;
    border-top-color:  var(--color_htag);
    margin-left: -9px;
}

.post_content h3:after {
    top: 99%;
    border: 8px solid;
    border-color: transparent;
    border-top-color:  var(--color_htag);
    margin-left: -8px;
}

.post_content h3 p {
    color:  var(--color_htag);
    line-height: 1.5;
}




/*　見出しをふきだし風に　↑　*/




/*　H2　下向きの大きい吹き出し　*/


/* .post_content h2 { */
	    /* background-color: #fff; */
    /* position: relative; */
    /* padding: 0.8rem 0; */
    /* border-bottom: 5px solid; */
    /* color:var(--color_htag); */
		/* color:border-top-color:; */
    /* font-weight: bold; */
    /* font-size: 26px; */
    /* text-align: center; */
/* } */

/* .post_content h2:before, */
/* .post_content h2:after { */
    /* position: absolute; */
    /* top: 100%; */
    /* left: 50%; */
    /* content: ""; */
    /* height: 0; */
    /* width: 0; */
/* } */

/* .post_content h2:before { */
    /* border: 16px solid; */
    /* border-color: transparent; */
    /* xxborder-top-color: #474646; */
	 /* border-top-color:var(--color_htag); */
    /* margin-left: -16px; */
/* } */



/* .post_content h2:after { */
    /* border: 10px solid; */
    /* border-color: transparent; */
    /* border-top-color: white; */
    /* margin-left: -10px; */
/* } */



/*　ブロック装飾スタイル　角に折り目　↓　*/
.post_content .is-style-crease {
    background-color: #ffeded73;
}


/* リスト */
#main_content .post_content ul.is-style-crease li,
ul.is-style-crease li,
.has-border li{
	list-style-type: none;
   list-style: none!important;
	 margin: 0.25em 1em;
	}

.has-border li {
    padding-left: 0px !important;
}

#main_content .post_content ul.is-style-crease,
.has-border {
  xxfont-size: 13px;
  xxline-height: 1.8;
  list-style-type: none;
}

#main_content .post_content ul.is-style-crease li+li{
  margin-top: 5px;
}

#main_content .post_content ul.is-style-crease li ,
.has-border li{
  position: relative;
  padding-left: 25px;
}

#main_content .post_content ul.is-style-crease li:before, ul.is-style-crease li:before,
.has-border li:before,
.is-style-check_list li:before{
  content: "";
  position: absolute;
  width: 3px;
  height: 7px;
top: 0.5em;
    left: -15px;
  -webkit-transform: rotate(50deg);
  -ms-transform: rotate(50deg);
  transform: rotate(50deg);
  border-right: 1px solid #9c9c9c;
  border-bottom: 1px solid #9c9c9c;
}

.is-style-check_list li:before{
	left: 10px !important;
}
    




/*
.post_content h2 {
	    background-color: white;
    text-align: center;
    border-top: 20px solid;
    xxborder-right: 20px solid;
    padding: 0.75em 1em;
    color: var(--color_htag);
    border-radius: var(--swl-radius--2, 0px);
}
ふきだし*/


/*　右下のフローティングボタンのメニュー　*/
.c-fixBtn__label {
    font-size: 13px;
}


