/* 乃木坂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: 180%;
	margin: 0.2em 10px 0px;
}

ul.blog{
	text-indent: 1em; margin: 1.0em; line-height: 180%;
}

li.blog{
	text-indent: 1em;
}

/* その他 */
/* 付箋タイプ */
.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;
	margin-left: 10px;
	clip-path: polygon(0% 0%, 100% 0%, 60% 50%, 60% 90%, 40% 100%, 40% 50%);
}

/* フィルターが使える状態 */
.filter_activated {
	background-color: #2675BC;
	cursor: pointer;
}
.filter_activated:hover {
	opacity: .5;
}

/* フィルターを適用している状態 */
.filter_applying {
	background-color: #ff1493;
}

/* フィルターが使えない状態 */
.filter_deactivated {
	background-color: #c6c6c6;
}

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

.deactive {
	background-color: lightgrey;
}
*/

/* 外部リンクを開く */
.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;
}


/* ボタンの標準的なスタイル */
.buttonStandard {
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 1.0rem;
	color: #fff;
	border: transparent;
	transition: .5s;
	margin-left: 10px;
}


.buttonActivated {
	background-color: #2675BC;
	cursor: pointer;
}
.buttonActivated:hover {
	opacity: .5;
}


.buttonDeactivated {
	background-color: #c6c6c6;
}

/* 右端に表示する閉じるアイコン */
.close_icon {
	/* display: block; */
	position: absolute;
	top  : 10px;
	right: 20px;
	width: 30px;
	height: 30px;
	background: #8B0000; /* ボタンの背景色 */
	cursor: pointer;
	text-align: right;
}
 
.close_icon::before, .close_icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 3px;
	height: 25px;
	background: #fff; /* バツ印の色 */
}
 
.close_icon::before {
	transform: translate(-50%,-50%) rotate(45deg);
}
 
.close_icon::after {
	transform: translate(-50%,-50%) rotate(-45deg);
}
.close_icon:hover {
	opacity: .5;
}

/* モーダルウィンドウ関連 */
.modal_block {
	display: block;
	/* width: 300px; */
	width: 400px;
	max-width: 80%;
	/* max-width: 100%; */
	height: 400px;
	position: fixed;
	z-index: 100;
	left: 45%;
	top: 40%;
	margin-top: 50px;
	margin-left:50px;
	/* margin-right:60%; */
	transform: translate(-50%, -50%);
	/* margin: -200px 0 0 -200px; */
	background: white;
	box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
}

.modal_closed {
	display: none;
}

.modal_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 50;
	background: rgba(0, 0, 0, 0.6);
}
.modal_body {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%; /* */
	overflow: auto; /* */
	padding: 20px 50px 20px 20px;

	/* 重要: スクロール制御 */
	max-height: 80%; /* 画面高さの80%を最大に */
	overflow: auto;  /* 溢れたら縦スクロール */
}


