/* markdown */

.markdown h2 {
	position: relative;
	color: #3E3E3E;
	margin: 50px 0 30px 0;
	padding: 15px 20px 18px 20px;
	background: #E3F7FF;
	line-height: 1.5em;
	font-size: 24px;
	font-weight: 700;
	border-top: 2px #3E3E3E solid;
	border-bottom: 2px #3E3E3E solid;
}

.markdown h2::before {
	position: absolute;
	content: '';
	top: -2px;
	right: 20%;
	width: 5%;
	height: 2px;
	background: #fff;
}

.markdown h2::after {
	position: absolute;
	content: '';
	bottom: -2px;
	left: 20%;
	width: 5%;
	height: 2px;
	background: #fff;
}

.markdown h3 {
	position: relative;
	padding: 0.5rem 0 0.5rem 1.25rem;
	margin: 50px 0 20px 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5rem;
	color: #3E3E3E;
}

.markdown h3::after {
	position: absolute;
	content: '';
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 7px;
	height: 65%;
	border-radius: 4px;
	background: #84C8E2;
}

.markdown h4,
.markdown h5,
.markdown h6 {
	display: inline-block;
	margin: 30px 0 20px 0;
	color: #333;
	font-size: 16px;
	line-height: 1.5em;
	padding: 0;
	border-bottom: 2px #84C8E2 solid;
}

.markdown p {
	line-height: 1.5em;
	font-size: 15px;
	padding: 0.67rem 0;
	color: #333;
}

.markdown br {
	display: block;
	content: '';
	padding: 0;
}

.markdown a {
	line-height: 1.67em;
	border-bottom: 1px #428bca solid;
	transition: 0.3s;
	word-wrap: break-word;
	word-break: break-all;
}

.markdown a:hover {
	border-bottom: 1px #84C8E2 solid;
	color: #84C8E2;
	transition: 0.3s;
}

.markdown strong {
	font-weight: 700;
	color: #333;
	background: linear-gradient(transparent 50%, rgba(92,188,230,0.25) 50%); 
	margin: 0 2px;
}


.markdown img {
	display: block;
	margin: 30px auto;
	text-align: center;
	max-width: 100%;
	border: 2px #eee solid;
}

.markdown ul {
	margin: 30px 0;
	padding: 20px 30px;
	background: #F7F7F7;
	color: #333;
	border-radius: 20px;
}

.markdown ul li {
	list-style-type: none !important;
	font-size: 15px;
	font-weight: 700 !important;
	line-height: 1.5rem;
	padding: 1.0rem 0 1.0rem 1.67rem;
	border-bottom: 2px #707070 dashed;
	position: relative;
}

.markdown ul li:before {
	position: absolute;
	content: '';
	top: 24px;
	left: 0.25rem;
	width: 10px;
	height: 10px;
	background: #84C8E2;
	border-radius: 50%;
}

.markdown ul li:last-child {
	border-bottom: none;
}

.markdown ul li ul {
	margin: 0;
	padding: 0.5rem 0 0 0.25rem;
}

.markdown ul li ul li {
	border-bottom: none;
	margin: 0;
	padding: 0 0 0 1.25rem;
	position: relative;
	font-size: 14px;
	font-weight: 400 !important;
}

.markdown ul li ul li:before {
	position: absolute;
	content: '';
	top: 9px;
	left: 0;
	width: 8px;
	height: 8px;
	background: #66C4ED;
	border-radius: 50%;
}

.markdown ul li ul li ul {
	margin: 0;
	padding: 0.25rem 0 0 0.25rem;
}

.markdown ol {
	margin: 30px 0;
	padding: 20px 30px 20px 50px;
	background: #F7F7F7;
	color: #333;
	border-radius: 20px;
	font-size: 15px;
	list-style: decimal;
}

.markdown ol li {
	margin: 10px 0;
	line-height: 1.5rem;
}

.markdown table {
	border-spacing: 0;
	border-collapse: separate;
	border: 2px #707070 solid;
	border-radius: 10px;
	margin: 30px auto 50px auto;
}

.markdown table thead th:first-child {
	border-radius: 7px 0 0 0;
}

.markdown table thead th:last-child {
	border-radius: 0 7px 0 0;
}

.markdown table tbody tr:last-child td:first-child {
	border-radius: 0 0 0 7px;	
}

.markdown table tbody tr:last-child td:last-child {
	border-radius: 0 0 7px 0;	
}

.markdown table th,.markdown table tr,.markdown table td {
	border: 1px #707070 solid;
}

.markdown table thead {
	border-bottom: 1px #707070 solid;
}

.markdown table thead tr {
	background: #F7F7F7;
}

.markdown table thead th {
	color: #333;
	padding: 15px 30px;
	vertical-align: middle;
}

.markdown table tbody tr {
	border-spacing: 1px;
	max-width: 100%;
}

.markdown table tbody td {
	border-left: 1px #707070 solid;
	border-bottom: 1px #707070 solid;
	padding: 10px 15px;
	line-height: 1.5em;
	font-size: 15px;
	color: #333;
}

.markdown figure {
	margin: 30px 0;
	display: flex;
	justify-content: center;
	max-width: 100%;
}

.markdown figure.wp-block-table {
	display: block;
}

.markdown figure a {
	border-bottom: none;
}

.markdown figure.wp-block-gallery figure.wp-block-image {
	flex-direction: column;
}

.markdown figure.wp-block-gallery figure.wp-block-image img {
	margin: 0 auto 15px auto;
}

.markdown figure.wp-block-gallery figure.wp-block-image figcaption {
	text-align: center;
	font-size: 14px;
}

.markdown pre {
	padding: 20px;
	border-radius: 20px;
	margin: 30px 0;
	background: #2e3440ff;
	color: #fff;
	line-height: 1.33em;
	overflow-x: scroll;
}

.markdown p code {
	display: inline-block;
	margin: 5px;
	padding: 2px 7px 4px 7px;
	background: #2e3440;
	color: #fff;
	border-radius: 5px;
	line-height: 1.25em;
}

.markdown .wp-block-kevinbatdorf-code-block-pro:not(.code-block-pro-editor) pre code {
	overflow-x: scroll!important;
	padding-right: 16px!important;
}

.markdown .wp-block-embed__wrapper {
	width: 100%;
	max-width: 560px;
	aspect-ratio: 16 / 9;
}

.markdown .wp-block-embed__wrapper iframe {
	width: 100%;
	height: 100%;
}

.markdown .youtube_container {
	display: flex;
	vertical-align: middle;
	align-items: center;
	justify-content: center;
	margin: 30px 0;
}

/* link card(list_design_type2) */
.markdown .article_list_ul.list_design_type2 {
	padding: 0;
	background: none;
	border-radius: 0;
}

.markdown .list_design_type2 .article_list_li {
	padding: 15px 0;
	width: 100%;
	display: flex;
}

.markdown .list_design_type2 .article_list_value {
	flex: 1;
	display: flex;
}

.markdown .list_design_type2 .article_list_value_inner {
	flex: 1;
	display: flex;
	position: relative;
	background: #fff;
	border: 1px #3E3E3E solid;
	border-radius: 10px;
	overflow: hidden;
}

.markdown .list_design_type2 .article_list_value_left {
	width: 27.5%;
	min-width: 240px;
	max-width: 360px;
	display: flex;
}

.markdown .list_design_type2 .article_list_thumbnail {
	flex: 1;
	display: flex;
	padding: 20px 0 20px 20px;
}

.markdown .list_design_type2 .article_list_thumbnail_link {
	display: block;
	flex: 1;
	border-bottom: none;
}

.markdown .list_design_type2 .article_list_thumbnail_img {
	width: 100%;
	transition: 0.3s;
	margin: 0;
}

.markdown .list_design_type2 .article_list_thumbnail_link:hover .article_list_thumbnail_img {
	transform: scale(1.025);
	transition: 0.3s;
}

.markdown .list_design_type2 .article_list_value_right {
	flex: 1;
	padding: 0 0 0 10px;
}

.markdown .list_design_type2 .article_list_date {
	padding: 20px 20px 5px 20px;
}

.markdown .list_design_type2 .article_list_date_text {
	font-size: 14px;
	line-height: 1.5em;
	color: #8E8E8E;
	padding: 0;
}

.markdown .list_design_type2 .article_list_title {
	padding: 0;
}

.markdown .list_design_type2 .article_list_title_text {
	padding: 0;
	margin: 0;
	font-size: 18px;
}

.markdown .list_design_type2 .article_list_title_text::after {
	display: none;
}

.markdown .list_design_type2 .article_list_title_link {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.33em;
	color: #3E3E3E;
	transition: 0.3s;
	border-bottom: none;
}

.markdown .list_design_type2 .article_list_title_link:hover {
	color: #428bca;
	transition: 0.3s;
}

.markdown .list_design_type2 .article_list_border {
	margin: 0 20px;
	border-bottom: 1px #707070 dashed;
}

.markdown .list_design_type2 .article_list_description {
	padding: 0 20px;
}

.markdown .list_design_type2 .article_list_description_text {
	font-size: 14px;
	color: #8E8E8E;
	padding: 0;
}

.markdown .list_design_type2 .article_list_bottom {
	display: flex;
	padding: 0 20px 20px 20px;
}

.markdown .list_design_type2 .article_list_readmore {
	padding: 0 0 0 20px;
}

.markdown .list_design_type2 .article_list_readmore_link {
	position: relative;
	display: block;
	color: #3E3E3E;
	font-size: 15px;
	padding: 15px 45px 15px 15px;
	margin: 0 5px 0 0;
	transition: 0.3s;
	white-space: nowrap;
}

.markdown .list_design_type2 .article_list_readmore_link:hover {
	transition: 0.3s;
	color: #428bca;
}

.markdown .list_design_type2 .article_list_readmore_link::before {
	position: absolute;
	top: 25px;
	right: 0;
	width: 30px;
	height: 1px;
	content: '';
	background: #3E3E3E;
	transition: 0.3s;
}

.markdown .list_design_type2 .article_list_readmore_link::after {
	position: absolute;
	top: 22px;
	right: -1px;
	width: 7px;
	height: 1px;
	content: '';
	background: #3E3E3E;
	transform: rotate(45deg);
	transition: 0.3s;
}

.markdown .list_design_type2 .article_list_readmore_link:hover::before,
.markdown .list_design_type2 .article_list_readmore_link:hover::after {
	background: #428bca;
	transition: 0.3s;
}

.markdown .list_design_type2 .article_list_readmore_link:hover::before {
	transform: translateX(5px);
}

.markdown .list_design_type2 .article_list_readmore_link:hover::after {
	transform: translateX(5px) rotate(45deg);
}

.markdown .list_design_type2 .article_list_value_label {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
}

.markdown .list_design_type2 .article_list_value_label_text {
	display: block;
	color: #fff;
	line-height: 1.5em;
	font-size: 14px;
	border-radius: 10px 0 10px 0;
	padding: 7px 12px;
}

/* gutenberg */

.markdown .wp-block-columns img {
	margin: 0 auto;
}

.markdown .wp-block-columns figure {
	margin: 30px auto 0 auto;
}

.markdown .wp-block-file a {
	padding: 3px 7px;
}

/* SP design break:768px */
@media screen and (max-width: 768px) {

	.markdown h2 {
		display: block;
		font-size: 16px;
		margin: 30px 0 20px 0;
		padding: 10px 10px 13px 10px; 
	}

	.markdown h3 {
		display: block;
		font-size: 15px;
		margin: 25px 0 15px 0;
	}

	.markdown h4, .markdown h5, .markdown h6 {
		font-size: 14px;
		margin: 20px 0 15px 0;
	}

	.markdown p {
		font-size: 14px;
	}

	.markdown a {
		line-height: 1.5em;
	}

	.markdown figure {
		margin: 15px auto;
	}

	.markdown img {
		margin: 15px auto;		
	}

	.markdown ul {
		margin: 15px 0;
		padding: 15px;
	}

	.markdown ul li {
		padding: 0.67rem 0 0.67rem 1.33rem;
		border-bottom: 1px #707070 dashed;
		font-size: 14px;
		line-height: 1.125rem;
		font-weight: 500!important;
	}

	.markdown ul li:before {
		width: 8px;
		height: 8px;
		top: 19px;
	}
	
	.markdown ol {
		margin: 15px 0;
		padding: 10px 15px 10px 35px;
	}
	
	.markdown ol li {
		font-size: 14px;
		line-height: 1.25rem;
	}

	.markdown .list_design_type2 .article_list_value_left {
		min-width: auto;
	}

	.markdown .list_design_type2 .article_list_value_label_text {
		font-size: 12px;
		padding: 4px 9px;
	}

	.markdown .list_design_type2 .article_list_thumbnail {
		padding: 35px 0 10px 10px;
	}

	.markdown .list_design_type2 .article_list_value_right {
		padding: 7px 15px 10px 15px;
	}

	.markdown .list_design_type2 .article_list_date {
		padding: 0 0 5px 0;
	}

	.markdown .list_design_type2 .article_list_title {
		padding: 0;
	}

	.markdown .list_design_type2 .article_list_title_link {
		font-size: 16px;
	}
	
	.markdown .article_single_author p {
		text-align: right;
	}
	
	.markdown .wp-block-file__embed {
		display: none;
	}

}
