@charset "utf-8";
@import url('./customblock.css');

/*
// entry-content
///////////////////////////////////////////////////////////////*/

.entry-content{
	line-height: 2;
	font-size: 1.0rem;
}
.entry-content > *:first-child{
	margin-top: 0;
}

/* block */
.entry-content p,
.entry-content ul,
.entry-content .col,
.entry-content ol{
	margin-top: 1.5rem;
}

/* font */
.entry-content strong{
	background: linear-gradient(transparent 70%, var(--c-yellowB) 30%);
}

/* list */
.entry-content ul{
	margin-left: 2rem;
	list-style: disc;
}
.entry-content ol{
	border: 1px solid var(--c-text);
	padding: 1.5rem 1.5rem 1.5rem 3.5rem;
	list-style: decimal-leading-zero;
}
.entry-content ul li,
.entry-content ol li{
	padding-left: 0.5em;
}
.entry-content ol li::marker{
	font-weight: 900;
}


/* table */
.entry-content table{
	width: 100%;
	margin: 2rem auto;
}
.entry-content table tr{
	border-bottom: 1px solid var(--c-main);
}
.entry-content table tr:first-of-type{
	border-top: 1px solid var(--c-main);
}
.entry-content table tr th,
.entry-content table tr td{
	padding: 1rem;
	vertical-align: middle;
}
.entry-content table tr th{
	font-weight: 700;
	background: var(--c-main);
}
.entry-content table tr td{
	background: var(--c-white);
}

/* heading */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6{
	margin-top: 3rem;
	line-height: 1.5;
	font-weight: 700;
	position: relative;
}
.entry-content h1,
.entry-content h2{
	margin-top: 4rem;
}
.entry-content h5,
.entry-content h6{
	margin-top: 2rem;
}
.entry-content h2 + *,
.entry-content h3 + *,
.entry-content h4 + *,
.entry-content h5 + *{
	margin-top: 1rem;
}
.entry-content h6 + *{
	margin-top: 0.75rem;
}
.entry-content h2 + h3,
.entry-content h3 + h4,
.entry-content h4 + h5,
.entry-content h5 + h6{
	margin-top: 1.5rem;
}
.entry-content h1 + *{
	margin-top: 3rem;
}
.entry-content h1{
	font-size: 2rem;
}
.entry-content h2{
	font-size: 1.5rem;
	padding-bottom: 2rem;
}
.entry-content h2::before,
.entry-content h2::after{
	content: '';
	display: block;
	height: 3px;
	position: absolute;
	bottom: 1rem;
}
.entry-content h2::before{
	width: 100%;
	background-color: var(--c-main);
}
.entry-content h2::after{
	width: 3rem;
	background-color: var(--c-accent);
}
.entry-content h3{
	font-size: 1.25rem;
	font-weight: 900;
	color: var(--c-text);
}
.entry-content h4{
	font-size: 1.25rem;
}
.entry-content h5{
	font-size: 1.05rem;
}
.entry-content h6{
	font-size: 1rem;
	font-weight: inherit;
}
/* blockquote */
.entry-content blockquote{
	background: #eee;
	padding: 1.5rem;
}
.entry-content blockquote *:first-child{
	margin-top: 0;
}
.entry-content blockquote *:last-child{
	margin-bottom: 0;
}
.entry-content blockquote cite{
	font-size: 0.75rem;
	color: var(--c-text);
}
.entry-content .has-text-align-center{
	text-align: center;
}
.entry-content .has-text-align-right{
	text-align: right;
}
.entry-content label{
	display: block;
}
.entry-content label + label{
	margin-top: 1.5rem;
}

.entry-content pre{
	background-color: var(--c-main);
	padding: 1.5rem;
	font-size: 0.95rem;
}

/* a */
.entry-content a{
	color: var(--c-accent);
	font-weight: 700;
}
.entry-content a:hover{
	text-decoration: underline;
}
.entry-content .link a{
	text-decoration: none;
	color: var(--c-text);
}
.entry-content .link a:hover{
	color: #fff;
}

/* image */
.entry-content figure figcaption{
	font-size: 0.8rem;
	margin-top: 1rem;
}

/* test */
.entry-content em{
	color: var(--c-darkgray);
}
.entry-content figcaption{
	color: var(--c-darkgray);
}

.entry-content textarea,
.entry-content input[type=text],
.entry-content input[type=password],
.entry-content input[type=email],
.entry-content input[type=submit] {
	display: block;
	border: none;
	outline: none;
	height: 3rem;
	margin: 0;
}
.entry-content textarea,
.entry-content input[type=text],
.entry-content input[type=email],
.entry-content input[type=password]{
	border-radius: 5px;
	padding: 1rem;
	width: 100%;
	background: var(--c-bg);
}
.entry-content textarea{
	height: 7rem;
}
.entry-content input[type=checkbox],
.entry-content input[type=radio]{
	margin-right: 0.5em;
}
.entry-content input[type=submit]{
	border-radius: 5px;
	padding: 1rem;
	height: 4rem;
	text-align: center;
	width: 50%;
	margin: 1.5rem auto;
	background: var(--c-text);
	color: #fff;
}
.entry-content input[type=submit]:hover{
	opacity: 0.8;
	cursor: pointer;
}
.entry-content form .addition{
	color: var(--c-gray);
	margin-left: 1rem;
}
.entry-content form .need{
	color: var(--c-text);
	margin-left: 1rem;
}

/* box */
.entry-content .additionalBox{
	border: 1px solid var(--c-border);
	padding: 1.5rem;
	font-size: 0.95em;
}
.entry-content .additionalBox span{
	display: block;
	padding: 0.5rem 1.5rem;
	margin: -1.5rem -1.5rem 1rem -1.5rem;
	background-color: var(--c-main-light);
}

/* toc */
.entry-content #toc_container{
	background-color: var(--c-main);
	width: 100%;
	border: 1px solid var(--c-gray);
	border: none;
	padding: 2rem;
	margin: 1.5rem 0;
	line-height: 1.5;
	font-weight: 700;
}
.entry-content #toc_container .toc_list{
	counter-reset: count 0;
}
.entry-content #toc_container .toc_list li + li,
.entry-content #toc_container .toc_list li > ul{
	margin-top: 0.5rem;
}
.entry-content #toc_container .toc_list > li + li{
	margin-top: 0.75rem;
}
.entry-content #toc_container .toc_list li a{
	color: var(--c-text);
}
.entry-content #toc_container .toc_list > li{
	position: relative;
	padding-left: 2rem;
}
.entry-content #toc_container .toc_list > li::before{
	position: absolute;
	left: 0;
	top: 0;
	content: counter(count, decimal-leading-zero);
	counter-increment: count 1;
	color: var(--c-accent);
	font-weight: 900;
}
.entry-content #toc_container .toc_list > li li{
	font-size: 0.9rem;
	list-style-type: disc;
	color: var(--c-grayD);
}
.entry-content #toc_container .toc_list > li li a{
	color: var(--c-grayD);
}

@media all and (min-width:0px) and (max-width:960px) {
	.entry-content{
		font-size: 0.9rem;
	}
	.entry-content h1{
		font-size: 2rem;
	}
	.entry-content h2{
		font-size: 1.4rem;
	}
	.entry-content h3{
		font-size: 1.25rem;
		font-weight: 700;
	}
	.entry-content h4{
		font-size: 1.25rem;
		font-weight: 700;
	}
}
