@charset "utf-8";
/* CSS Document */

body {
	height: 100vh;
	overflow: hidden;
}
#maincontents {
	width: 100%;
}
#main {
	width: 100%;
	float: none;
	padding-top: 0;
	display: flex;
	flex-flow: column;
	height: calc(100vh - 211px);
}
.column-wrap {
	flex: 1;
	overflow: hidden;
}
.main-inner {
	display: flex;
	float: right;
	width: calc(100% - 200px);
	height: calc(100vh - 211px);
	min-height: 460px;
}
.chara-searchhead {
	width: 150px;
	padding-bottom: 0;
}
.mangatitle {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0;
}
.mangatitle a {
	overflow: visible;
}
.srch-control {
	width: 100%;
	display: flex;
	align-items: center;
}
.srch-operator,
.check-remove {
	margin: 0.5em 1em;
}
#reset-btn {
	background-color: #eee;
	border: 2px #eee solid;
	border-radius: 5px;
	padding: 0.5em;
	color: #ccc;
}
#reset-btn:focus {
	outline: 0;
}
#reset-btn.active {
	border: 2px #ccc solid;
	color: #000;
	cursor: pointer;
	transition: 0.3s;
}
#reset-btn.active:hover {
	background-color: #fff;
}
.srch-operator {
	display: flex;
	justify-content: space-between;
}
.srch-operator label {
	display: flex;
	margin: 0 0.5em;
}
.parent-wrap {
	width: calc((100% - 494px)/2);
	margin: 0;
	padding: 0 0.5em 0 1em;
	box-sizing: border-box;
	overflow-y: auto;
}
.parent-wrap::-webkit-scrollbar {
  width: 10px;
}
.parent-wrap::-webkit-scrollbar-track {
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: inset 0 0 2px #777; 
}
.parent-wrap::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
  box-shadow: none;
}
.parent-title {
	margin: 0.5em 0;
}
.parent-hr {
	border-top: 1px solid #eee;
	margin: 1em 0 0.5em; 
}
.parent {
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}
.parent.type-characterkeyword,
.characategory-wrap .parent:last-of-type {
	padding-bottom: 80px;
}
.parent li {
	font-size: 16px;
}
.parent li h2 {
	margin: 0.5em;
	font-size: 14px;
	border-left: 4px #ffb100 solid;
	padding-left: 0.5em;
}
.type-pos.parent li h2 {
	border-color: #539ad8;
}
.type-looks.parent li h2 {
	border-color: #f14714;
}
.child {
	display: flex;
	flex-wrap: wrap;
}
.type-looks .child li,
.type-characterkeyword .child li {
	margin: 0.25em;	
}
.type-zokusei .child li,
.type-pos .child li,
.type-looks .child li {
	margin: 0;
}
.radio {
	margin: 0.5rem;
}
.radio input[type="radio"] {
	position: absolute;
	opacity: 0;
}
.radio input[type="radio"] + .radio-label {
	color: #000;
	cursor: pointer;
}
.radio input[type="radio"] + .radio-label:before {
	content: '';
	background: #fff;
	border-radius: 100%;
	border: 1px solid #b4b4b4;
	display: inline-block;
	width: 1.4em;
	height: 1.4em;
	position: relative;
	top: -0.2em;
	margin-right: 0.25em; 
	vertical-align: top;
	cursor: pointer;
	text-align: center;
	transition: all 250ms ease;
}
.radio input[type="radio"]:checked + .radio-label {
	font-weight: bold;
}
.radio input[type="radio"] + .radio-label:hover:before {
	background-color: #ffdc8d;
	box-shadow: inset 0 0 0 4px #fff;
}
.radio input[type="radio"]:checked + .radio-label:before {
	background-color: #ffb100;
	box-shadow: inset 0 0 0 4px #fff;
}
.radio input[type="radio"]:focus + .radio-label:before {
	outline: none;
	border-color: #ffb100;
}
.type-zokusei .radio input[type="radio"] + .radio-label:before {
	border-color: #ffb100;
}
.type-pos .radio input[type="radio"] + .radio-label:before {
	border-color: #539ad8;
}
.type-pos .radio input[type="radio"] + .radio-label:hover:before {
	background-color: #92c1ea;
}
.type-pos .radio input[type="radio"]:checked + .radio-label:before {
	background-color: #539ad8;
}
.type-pos .radio input[type="radio"]:focus + .radio-label:before {
	border-color: #539ad8;
}
.type-looks .radio input[type="radio"] + .radio-label:before {
	border-color: #ff9372;
}
.type-looks .radio input[type="radio"] + .radio-label:hover:before {
	background-color: #ff9372;
}
.type-looks .radio input[type="radio"]:checked + .radio-label:before {
	background-color: #ff7349;
}
.type-looks .radio input[type="radio"]:focus + .radio-label:before {
	border-color: #ff9372;
}

.radio input[type="radio"]:disabled + .radio-label:before {
	box-shadow: inset 0 0 0 4px #f4f4f4;
	border-color: #b4b4b4;
	background: #b4b4b4;
}
.radio input[type="radio"] + .radio-label:empty:before {
	margin-right: 0;
}

.child input[type="checkbox"] {
	display: none;
}
.child .charagenre-label {
	display: block;
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 17px;
	height: 30px;
	font-size: 15px;
	line-height: 30px;
	padding: 0 0.7em;
	background: #fff;
	box-shadow: 0 0 2px #ddd;
	color: #000;
	cursor: pointer;
	transition: .3s;
}
.child input[type="checkbox"]:checked + .charagenre-label {
	background: #9378bd;
	box-shadow: none;
	color: #000;
	font-weight: bold;
}

.type-characterkeyword .child .charagenre-label {
	border-color: #6fea4d;
	color: #209800;
}
.type-characterkeyword .child .charagenre-label:hover,
.type-characterkeyword .child input[type="checkbox"]:checked + .charagenre-label {
	background: #16e216;
}
.type-looks .child .charagenre-label {
	border-color: #ff9372;
	color: #f14714;
}
.type-looks .child .charagenre-label:hover,
.type-looks .child input[type="checkbox"]:checked + .charagenre-label {
	background: #ff7349;
}

#chara-search {
	width: 494px;
	box-sizing: border-box;
	/*height: calc(100vh - 251px);*/
	overflow-y: auto;
}
#chara-search::-webkit-scrollbar {
  width: 10px;
}
#chara-search::-webkit-scrollbar-track {
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: inset 0 0 2px #777; 
}
#chara-search::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
  box-shadow: none;
}
.search-list {
	width: 100%;
}
.search-list .s-chara:last-of-type {
	padding-bottom: 80px;
}
.about-charaserch {
	padding: 1em;
}
.about-charaserch ol {
	font-size: 18px;
	line-height: 1.7em;
}
.about-charaserch ol li {
	margin-bottom: 0.7em;
}
.noItem {
	margin: 1em;
}
#sidebar {
	margin: 0 10px;
}
.srch-50on li.srch-50on-mini {
	padding-left: 0;
}
.srch-50on li.srch-50on-mini a {
	font-size: 93%;
	font-weight: bold;
	font-family: Arial,Helvetica,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
	color: #000;
}
.charasrch-btn {
	margin: 0 0 10px;
}
.charasrch-btn a {
	display: flex;
	text-align: left;
	align-items: center;
}
.charasrch-btn img {
	width: 50px;
	height: auto;
	display: block;
}
.charasrch-btn span {
	font-weight: bold;
}


#footer {
	padding-top: 15px;
	height: 25px;
	width: 100%;
}
#footer_l {
	float: none;
	width: 100%;
	display: flex;
	justify-content: center;
	height: 25px;
}

@media (max-width: 767px) {
	body {
		height: auto;
		overflow: auto;
	}
	#main {
		display: block;
		height: auto;
	}
	.main-inner {
		float: none;
		width: 100%;
		flex-direction: column;
		height: auto;
		min-height: auto;
	}
	#chara-search {
		width: 100%;
		height: calc(100vh - 400px);
		min-height: 320px;
	}
	.parent-wrap .parent:last-of-type {
		padding-bottom: 0;
	}
	.parent-wrap {
		width: 100%;
		height: 33vh;
		padding: 0;
	}
	.parent-wrap.keyword-wrap {
		height: 120px;
	}
	.type-characterkeyword > li {
		width: 100%;
		height: 90px;
		overflow-x: scroll;
	}
	.type-characterkeyword .child {
		height: 80px;
		width: 4300px;
	}
	.looks-wrap {
		height: 190px;
		border-bottom: 1px #ccc solid;
	}
	.type-looks > li {
		width: 95%;
		height: 50px;
		overflow-x: scroll;
		display: flex;
		align-items: center;
		margin: auto;
	}
	.type-looks.parent li h2 {
		white-space: nowrap;
	}
	.type-looks .child {
		height: 40px;
		width: 1600px;
	}
	.characategory-wrap {
		display: flex;
	}
	.type-zokusei,
	.type-pos {
		width: 45%;
		margin: 0 2.5%;
	}
	.parent-hr {
		display: none;
	}
	.srch-control {
		justify-content: space-between;
	}
	.search-list {
		padding: 0 0 24px;
	}
	.mangatitle img {
		width: 104px;
		height: auto;
	}
	#reset-btn {
		font-size: 12px;
	}
	.about-charaserch-title img {
		width: 92px;
		height: auto;
	}
	.about-charaserch ol {
		font-size: 14px;
	}
	.s-chara span {
		font-size: 10px;
	}
	.parent-title {
		margin: 0;
		padding-top: 1px;
		border-top: 1px #ccc solid;
	}
	.parent-title img {
		width: 160px;
		height: auto;
	}
	.type-characterkeyword .child .charagenre-label:hover,
	.type-looks .child .charagenre-label:hover {
		background: #fff;
	}
	.radio input[type="radio"] + .radio-label:hover:before,
	.type-pos .radio input[type="radio"] + .radio-label:hover:before {
		background-color: #fff;
	}
	#sidebar {
		margin: 1em 0 0;
	}
	.charasrch-btn {
		margin: 10px auto;
		width: 94%;
	}
}