/* 乃木坂DB */
body {
	font-family: 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
}

/* 引用 */
blockquote {
	position: relative;
	padding: 10px 15px 10px 30px;
	box-sizing: border-box;
	border-left: solid 6px #58ad5a;
	color: #000000;
	background: #CEF9DC;
	width: 80%;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.22);
}

/* 取り消し線 # 2024/8/3 # */
.strike_thru {
	position: relative;
}
.strike_thru::after {
	position: absolute;
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	left: 0;
	/*background-color: #000000;*/
	border-top: solid 1px #800000;
	border-bottom: solid 1px #800000;
	top: 50%;
	margin-top: -2px;
}

/* H1は基本的に使わないようにする。*/
/* 記事のタイトルに使うのは可。*/
h1.blog, h1.db {
	display: inline-block;
	font-size: 1.2rem;
	padding: 0.5rem 0.8rem;
	color: #000;
	/*
	color: #fff;
	background: #094;
		-webkit-box-shadow: 5px 5px 0 #007032;
		box-shadow: 5px 5px 0 #007032;
	*/
}


h2.blog, h2.db {
	background: #eaf5f9;
	border-left: solid 10px #27acd9;
	padding: 0.3rem 3rem;
	display: inline-block;
	font-size: 1.2em;
}

/* ブログ、DB共通 */
h3.blog, h3.db {
	/*線の種類（二重線）太さ 色*/
	border-bottom: double 5px #FFC778;
	padding: 0.3rem 2rem;
	display: inline-block;
	font-size: 1.0em;
}

/* ブログ、DB共通 */
p.blog, p.db{
	text-indent: 1em;
	/*margin: 1.0em;*/
	/* margin: 0 auto 1.0em; */
	/*line-height: 240%;*/
	/* line-height: 160%; */
}

/* その他 */
/* 付箋タイプ */
.fusen {
	display: inline-block;
	position: relative;
	width: 80%;
	padding: .5em 1em;
	border-right: 27px solid #5835bf;
	background-color: #ffffc6;
	color: #000000;
}

.fusen::before {
	position: absolute;
	bottom: 2px;
	right: -20px;
	z-index: -1;
	transform: rotate(5deg);
	width: 100%;
	height: 50%;
	background-color: #d0d0d0;
	content: "";
	filter: blur(4px);
}

/* マーカー */
.marker {
	background:linear-gradient(transparent 60%, #ff6 60%);
}

/* フィルターのアイコン */
.filter-icon {
	width: 20px;
	height: 20px;
	clip-path: polygon(0% 0%, 100% 0%, 60% 50%, 60% 90%, 40% 100%, 40% 50%);
}

/* アイコンがアクティブなときの色 */
.active {
	background-color: blue;
}

.deactive {
	background-color: lightgrey;
}

/* 目次用（主にブログ）*/
/* 目次の見出し */
.toc_header {
	/* width: 160px; */
	/* width: 160px; */
	width: fit-content;
	height: 24px;
	/*height: 30px;*/
	color: #ff4500;
	/* border: solid 2px #ff4500; */	/* 枠線 */
	/* background-color: #ffea80; */
	/* border-radius: 8px; */
	/* text-align:center; */
	padding:10px 40px;
}

.toc_mark {
	display: inline-block;
	vertical-align: middle;
	font-size: 20px;
	color: #ff4500;
	line-height: 1;
	width: 0.8em;
}
.toc_mark > span {
	display: block;
	position: relative;
	height: 0.1em;
	background: currentColor;
	border-radius: 0.1em;
}
.toc_mark > span::before {
	content: '';
	position: absolute;
	top: 0;
	right: calc(100% + 0.1em);
	bottom: 0;
	margin: auto;
	width: 0.1em;
	height: 0.1em;
	background: currentColor;
	border-radius: 50%;
}
.toc_mark > span + span {
	margin-top: 0.22em;
}

/* 目次展開用のアイコン */
.toc_expand {
	display: inline-block;
	width: 22px;
	height: 16px;
	background: #ff4500;
	clip-path: polygon(0% 0%, 50% 100%, 100% 0%);
	cursor: pointer;
}

/* 目次折り畳み用のアイコン */
.toc_collaspe {
	display: inline-block;
	width: 22px;
	height: 16px;
	background: #ff4500;
	clip-path: polygon(0% 100%, 50% 0%, 100% 100%);
	cursor: pointer;
}

.toc_body {
	position: relative;
	width: fit-content;
	margin-top: 0px;
	background-color: #ffea80;
	border:0px solid #ECEEF1;
	padding: 16px 40px 16px;
	border-radius: 5%;
	font-size: 1rem;
	/* font-weight: 600; */
	font-weight: 400;
	line-height: 0.5rem;
}
	
	
.toc_body li a {
	text-decoration: none;
	line-height: 35px;
	color:#ff4500;
}

/* 外部リンクを開く */
.open_external_link {
	display: inline-block;
	vertical-align: middle;
	color: #333;
	line-height: 1;
	width: 0.9em;
	height: 0.9em;
	border: 0.1em solid currentColor;
	border-radius: 0.1em;
	background: #fff;
	box-sizing: content-box;
	position: relative;
	cursor: pointer;
}
.open_external_link > span {
	position: absolute;
	top: -0.2em;
	right: -0.2em;
	width: 45%;
	height: 45%;
	border: 0.1em solid currentColor;
	border-bottom: 0;
	border-left: 0;
	background: #fff;
	box-shadow: -0.1em 0.1em 0 0.1em #fff;
	box-sizing: border-box;
}
.open_external_link > span::before {
	content: '';
	position: absolute;
	top: -0.05em;
	right: -0.1em;
	width: 0.1em;
	height: 0.9em;
	background: currentColor;
	transform: rotate(45deg);
	transform-origin: top center;
}

