@charset "utf-8";

main {
	padding-top: 20px;
	flex-wrap: wrap;
}

#main {
	padding-top: 1.5em;
}
#page_head {
	width: 100%;
	/*background-color: #fff;*/
	border-radius: 16px;
	margin-bottom: 20px;
}
#page_head section {
	padding: 8px 0;
}
#page_head h2 {
	font-size: 1.8em;
	margin-top: 16px;
	margin-bottom: 0;
	text-align: center;
}
#page_head h2::before,
#page_head h2::after {
	display: none;
}
.pankuzu {
	background-color: #fff;
	border-radius: 8px;
	padding: 0 16px;
}
.pankuzu ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}
.pankuzu ul li {
	padding-right: 0.5em;
		white-space: nowrap;
}
.pankuzu ul li::after {
	content: " >";
}
.pankuzu ul li:last-child::after{
	display: none;
}
.pankuzu ul li:last-child {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
@media screen and (max-width: 768px){
	.pankuzu {
		padding: 0 8px;
		margin: 8px 0 0 0;
	}
}

#main_c {
	order: 1;
}
#main_menu{
	order: 0;
	width: 324px;
	position: relative;
}
/**/
#main.main_fix {
	position: relative;
	justify-content: flex-end;
}
#main.main_fix #main_menu {
	position: fixed;
	top: 150px;
	left: 5%;
	z-index: 97;
}
/**/

.menu_list {
	list-style: none;
	padding: 16px 0;
	margin: 0;
}
.menu_list a {
	display: inline-block;
	font-weight: 500;
	color: #333;
	margin-bottom: 0.5em;
	padding-left: 1.2em;
	position: relative;
}
.menu_list a::before {
	content: "";
	display: block;
	width: 1em;
	height: 2px;
	border-radius: 2px;
	background-color: #3a8ecb;
	position: absolute;
	left: 0;
	top: 0.75em;
}
.menu_list li:first-child a {
	font-size: 1.2em;
	padding-left: 0;
}
.menu_list li:first-child a::before {
	display: none;
}

#main_c {
	width: calc( 100% - 324px - 40px );
	transition: all 0.1s;
}
#main_c.single_area {
	width: 100%;
}
#main_c section,
#main_menu {
	background-color: #fff;
	border-radius: 16px;
	margin-bottom: 1.5em;
}
#main_c section {
	padding: 20px;
	min-height: 480px;
}
#main_menu {
	width: 324px;
	padding: 0;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
	transition: all 0.1s;
}
#main_menu section {
	padding: 16px;
}
.main_fix #main_menu {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	height: calc( 100vh - 150px );
	overflow-y: scroll;
}
.main_fix #main_menu section {
	padding-right: 0 !important;
	height: auto;
}

.main_inner {
	display: block;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	padding: 1em 0 4em 0;
}
.main_inner ul {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 1em;
	padding-bottom: 1em;
}
.main_inner li {
	padding-bottom: 0.5em;
}
.main_inner p {
	padding: 0.5em 0 0.5em 1em;
}

/**/
#kiji_list {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
#kiji_list dt {
	width: 25%;
	padding-top: 1em;
}
#kiji_list dd {
	width: 75%;
	margin: 0;
	padding-top: 1em;
	border-bottom: 1px dashed #ccc;
}
#kiji_list dt:nth-of-type(1),
#kiji_list dd:nth-of-type(1) {
	padding-top: 0;
}
#kiji_list dd h4 {
	padding: 0;
}
#kiji_list dd h4 a {
	color: inherit;
}
ul.tag {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0 0 0.5em 0;
}
ul.tag li {
	background-color: #7fc0ed;
	color: #fff;
	line-height: 1.2em;
	padding: 0.25em;
	font-size: 0.8em;
	margin: 2px 0.5em;
}
#kiji_list dt::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.4em;
    mask-image: url("../img/icon_book1.svg");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: #3a8ecb;
}
#kiji_list dt.important::before {
	background-color: #c1272d;
}
@media screen and (max-width: 768px){
	#kiji_list dt,
	#kiji_list dd {
		width: 100%;
	}
	#kiji_list dd h4 {
		font-size: 1.2em;
	}
}
/**/

/**/
.post_area {
}
.post_date_area {
	display: flex;
	flex-wrap: wrap;
	border-bottom: 1px solid #e0f2ff;
	position: relative;
}
.post_date_area span {
	color: #3a8ecb;
	font-weight: 600;
}
.post_date_area span::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.4em;
    mask-image: url("../img/icon_book1.svg");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: #3a8ecb;
}
.post_date_area span.important::before {
	background-color: #c1272d;
}
.post_content_area {
	padding: 2em 0;
}
@media screen and (max-width: 768px){
	.post_date_area span {
		display: block;
		width: 100%;
	}
}
/**/

h2,h3,h4,h5,h6 {
	color: #3a8ecb;
	position: relative;
	padding-bottom: 0.2em;
	clear: both;
}
h2 {
	font-size: 2em;
	margin-bottom: 1em;
}
h3 {
	font-size: 1.5em;
	margin: 2.4em 0 1.2em 0;
}
h4 {
	font-size: 1.2em;
	padding-top: 1.2em;
}
h5 {
	font-size: 1.1em;
	padding-top: 1em;
}
h6 {
	font-size: 1em;
	padding-top: 1em;
}
h2::before,
h2::after,
h3::before,
h3::after {
	content: "";
	display: block;
	height: 4px;
	border-radius: 4px;
	position: absolute;
	bottom: 0;
	left: 0;
}
h2::before,
h3::before {
	width: 100%;
	background-color: #e0f2ff;
}
h2::after {
	width: 50%;
	background-color: #7fc0ed;
}
h3::after {
	width: 30%;
	background-color: #7fc0ed;
}
.sec_title {
	text-align: center;
}
.sec_title:nth-child(n+3) {
	margin-top: 4em;
}
.sec_title span {
	display: inline-block;
	background-color: #7fc0ed;
	color: #fff;
	border-radius: 16px;
	padding: 16px;
	position: relative;
}
.sec_title::before {
	content: "";
	display: block;
	width: 100%;
	height: 4px;
	border-radius: 4px;
	background-color: #e0f2ff;
	position: absolute;
	top: calc( 50% - 4px );
}
.sec_title::after {
	display: none;
}

table {
	min-width: 50%;
}
table, th, td {
	border-collapse: collapse;
    border:1px solid #666;
}
th, td {
	padding: 0.5em;
}
th {
	background-color: #e0f2ff;
}

.mark {
	/*padding-bottom: 2em;*/
}
.mark_btn {
	display: block;
	text-align: center;
	position: relative;
	color: #3a8ecb;
	clear: both;
	cursor: pointer;
}
.mark_btn::before,
.mark_btn.active::before {
	content: "+";
	font-weight: 600;
	font-size: 1.5em;
	display: block;
	width: 100%;
}
.mark_btn.active::before {
	content: "-";
}
/*.mark_btn::after {
	content: "";
	display: inline-block;
	width: 1.2em;
	height: 1.2em;
	margin-left: 0.2em;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	background-color: #3a8ecb;
	mask-image: url("../img/icon_pointer.svg");
}*/
h3:has(.tgl_btn) {
	padding-right: 1em;
	cursor: pointer;
}
.tgl_btn::after,
.tgl_btn.active::after {
	content: "+";
	display: block;
	position: absolute;
	right: 0;
	top: 0;
}
.tgl_btn.active::after {
	content: "-";
}

@media screen and (max-width: 768px){
	main,
	#main {
		padding-top: 0;
	}
	#menu_area {
		padding: 12px 0;
	}
	#main_c {
		order: 0;
	}
	#main_menu{
		order: 2;
	}
	#main_c,
	#main_menu {
		width: 100%;
	}
	#main_c section {
		padding: 0;
	}
	
	#sp_menu_btn {
		top: 100px;
	}
	
	h2 {
		font-size: 1.5em;
	}
	h3 {
		font-size: 1.2em;
	}
	h4,h5 {
		font-size: 1em;
	}
}

