@charset "utf-8";

.search-condition + h1 {
	margin: .5rem 0;
}

@media screen and (max-width: 640px) {
	.wysiwyg-view thead {
		display: none;
	}
}

.wysiwyg-view p {
	margin: 0 0 1em;
}

.wysiwyg-view ul {
	list-style-type: disc;
	padding-left: 3rem;
}

.wysiwyg-view h2 {
	background: url('../../images/fc2/common.png') no-repeat -0.1rem -64.5rem;
	background-size: 92.2rem auto;
	height: 4rem;
	line-height: 4rem;
	font-size: 1.6rem;
	font-weight: bold;
	padding-left: 3rem;
	margin-top: 3rem;
	margin-bottom: 1em;
	color: #ffffff !important;
}

.wysiwyg-view h3 {
	background: url('../../images/fc2/common.png') no-repeat -0.1rem -85rem;
	background-size: 92.2rem auto;
	height: 4rem;
	line-height: 4rem;
	font-size: 1.6rem;
	font-weight: bold;
	padding-left: 1em;
	margin-top: 3rem;
	margin-bottom: 1em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: inherit !important;
}

.wysiwyg-view h4 {
	background: url('../../images/fc2/common.png') no-repeat -0.1rem -98.7rem;
	background-size: 92.2rem auto;
	font-size: 1.4rem;
	font-weight: bold;
	padding-left: 1.8rem;
	padding-top: 0;
	color: inherit !important;
}

.wysiwyg-view .blue-wrap h2,
.wysiwyg-view h2.blue {
	background-position: -0.1rem -48.1rem;
}

.wysiwyg-view .blue-wrap h3,
.wysiwyg-view h3.blue {
	background-position: -0.1rem -68.6rem;
}

.wysiwyg-view .blue-wrap h4,
.wysiwyg-view h4.blue {
	background-position: -0.1rem -89.1rem;
}

.wysiwyg-view .green-wrap h2,
.wysiwyg-view h2.green {
	background-position: -0.1rem -52.2rem;
}

.wysiwyg-view .green-wrap h3,
.wysiwyg-view h3.green {
	background-position: -0.1rem -72.7rem;
}

.wysiwyg-view .green-wrap h4,
.wysiwyg-view h4.green {
	background-position: -0.1rem -91.5rem;
}

.wysiwyg-view .orange-wrap h2,
.wysiwyg-view h2.orange {
	background-position: -0.1rem -56.3rem;
}

.wysiwyg-view .orange-wrap h3,
.wysiwyg-view h3.orange {
	background-position: -0.1rem -76.8rem;
}

.wysiwyg-view .orange-wrap h4,
.wysiwyg-view h4.orange {
	background-position: -0.1rem -93.9rem;
}

.wysiwyg-view .purple-wrap h2,
.wysiwyg-view h2.purple {
	background-position: -0.1rem -60.4rem;
}

.wysiwyg-view .purple-wrap h3,
.wysiwyg-view h3.purple {
	background-position: -0.1rem -80.9rem;
}

.wysiwyg-view .purple-wrap h4,
.wysiwyg-view h4.purple {
	background-position: -0.1rem -96.3rem;
}

.wysiwyg-view .white-wrap h2,
.wysiwyg-view h2.white {
	background-position: -0.1rem -64.5rem;
}

.wysiwyg-view .white-wrap h3,
.wysiwyg-view h3.white {
	background-position: -0.1rem -85rem;
}

.wysiwyg-view .white-wrap h4,
.wysiwyg-view h4.white {
	background-position: -0.1rem -98.7rem;
}

a.cardlink {
	display: block;
	padding: 1rem;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
	border: solid 1px #666666;
	color: inherit;
}

a.cardlink:hover {
	text-decoration: none;
}

a.cardlink img {
	display: block;
	float: left;
	width: 25%;
	height: auto;
	object-fit: cover;
}

a.cardlink .cont {
	width: 74%;
	float: right;
	text-align: left;
}

a.cardlink .title {
	display: block;
	font-weight: bold;
	margin-bottom: .5em;
}

a.cardlink .desc {
	display: block;
	font-size: .8em;
	margin: 0;
}

.tocs-container {
	background: #fafafa;
	padding: 1em;
	margin: 1em auto 2em;
}

.tocs-container .toc-title {
	text-align: center;
	position: relative;
	line-height: 2rem;
}

.tocs-container .btn-toc-toggle {
	display: inline-block;
	cursor: pointer;
}

.tocs-container .btn-toc-toggle:after {
	content: "目次を隠す";
	font-size: .9em;
	cursor: pointer;
}

.tocs-container.hide-toc-list .btn-toc-toggle:after {
	content: "目次を表示";
}

.tocs-container .toc-list {
	list-style-type: none !important;
	counter-reset: li;
	padding: 0;
	margin: 0;
}

.tocs-container.hide-toc-list .toc-list {
	display: none;
}

.st-mybox {
	position: relative;
	margin: 25px 0;
	padding: 0 20px;
	border: solid 2px #BDBDBD;
	border-radius: 5px;
}

.st-mybox > p {
	position: absolute;
	display: inline-block;
	top: -8px;
	left: 10px;
	padding: 0 10px;
	line-height: 1;
	margin-bottom: 10px;
	color: #757575;
	font-weight: bold;
	background: #ffffff;
}

.st-mybox > ul {
	margin: 20px 0 15px;
	font-weight: bold;
}

@media screen and (max-width: 640px) {
	#container {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

@media screen and (min-width: 641px) {
	.tocs-container .toc-title {
		margin-top: 1em;
		margin-bottom: .5em;
		font-size: 1.65rem;
	}

	.tocs-container .toc-list {
		padding: 1em 60px 1em;
	}
}
