@charset "utf-8";

.kerning {
	letter-spacing: -4px;
}
.kerning-014 {
	letter-spacing: -1px;
}

body.index > .main-container .contents > .textBlock {
	padding: 30px 0 50px 0;
}

body > .main-container header nav .cardlist {
	margin-top: 15px;
	margin-bottom: 15px;
}
@media screen and (max-width: 780px) {
	body > .main-container header nav .cardlist {
		margin-top: 0;
		margin-bottom: 0;
	}
}

body > .main-container .contents > nav.chapter {
	display: block;
	text-align: right;
	margin-bottom: 25px;
}
body > .main-container header > nav.cate-nav .cate-select-wrapper,
body > .main-container .contents > nav.cate-nav .cate-select-wrapper {
	display: none;
}
@media screen and (max-width: 780px) {
	body > .main-container header > nav.cate-nav .cate-link-wrapper,
	body > .main-container .contents > nav.cate-nav .cate-link-wrapper {
		display: none;
	}
	body > .main-container header > nav.cate-nav .cate-select-wrapper,
	body > .main-container .contents > nav.cate-nav .cate-select-wrapper {
		display: block;
	}
}
body > .main-container .contents > nav.attribute {
	display: block;
	text-align: right;
	margin-bottom: 25px;
}
body > .main-container .contents > nav a {
	text-decoration: none;
}
body > .main-container .contents > nav a.active {
	font-weight: bold;
}
body > .main-container .contents > nav a:hover {
	text-decoration: underline;
}
body > .main-container .contents > nav a::before {
	content: "▶";
	display: inline-block;
	margin-right: 3px;
	font-size: 70%;
}
body > .main-container .contents > nav a.active::before {
	content: "▼";
}
body > .main-container .contents > nav.chapter a {
	padding: 0 5px 0 5px;
	white-space: nowrap;
}
body > .main-container .contents > nav.chapter a:nth-last-child(1) {
	padding-right: 0;
}
body > .main-container .contents > nav.attribute > span {
	padding-right: 10px;
}
body > .main-container .contents > nav.attribute a {
	display: inline-block;
	border-left: 1px solid #333333;
	padding: 0 5px 0 5px;
	margin-bottom: 3px;
}
body > .main-container .contents > nav.attribute a:nth-last-child(1) {
	padding-right: 0;
}
@media screen and (max-width: 780px) {
	body > .main-container .contents > nav.attribute a {
		padding: 0 0 0 5px;
		margin-bottom: 3px;
	}
}


body > .main-container .contents > #card-block {
}
body > .main-container .contents > .copyright {
	margin-top: 70px;
}

body > .main-container .contents > .search-info {
	display: none;
}
body > .main-container .contents > .search-info.active {
	display: block;
	text-align: center;
	margin: 25px 0;
}
body > .main-container .contents > .search-info > div {
	display: inline-block;
	width: 500px;
	color: #FFF;
	background-color: #333333;
	border: 0;
	border-radius: 5px;
}
body > .main-container .contents > .search-info > div dl{
	margin: 10px;
	text-align: left;
}
body > .main-container .contents > .search-info > div dl dt{
	display: inline-block;
	width: 13%;
	font-weight: bold;
	vertical-align: top;
}
body > .main-container .contents > .search-info > div dl dd{
	display: inline-block;
	width: 85%;
}
body > .main-container .contents > .search-info > div dl.hits dt{
	vertical-align: bottom;
}
body > .main-container .contents > .search-info > div dl.hits dd > span{
	font-size: 150%;
	margin: 0 5px;
}
body > .main-container .contents > .search-info > div dl.condition{
	padding-top: 10px;
	border-top: 1px dotted #999999;
}
body > .main-container .contents > .search-info > div dl.condition dd {
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
}
body > .main-container .contents > .search-info > div dl.condition dd > p {
	display: flex;
	flex-direction: column;
}
body > .main-container .contents > .search-info > div dl.condition dd a.condition-btn {
	background: #000;
	padding: 5px 10px;
	text-decoration: none;
	border-radius: 4px;
}
body > .main-container .contents > .search-info > div dl.condition dd a.condition-btn::before {
	content: "+";
	vertical-align: baseline;
	line-height: 1;
	margin-right: 3px;
}
body > .main-container .contents > .search-info > div dl.condition dd a.condition-btn:hover {
	text-decoration: underline;
}
body > .main-container .contents > .search-info > div dl.condition dd > span{
	display: block;
}
/* #fancybox-content {
	border: 0 !important;
	width: 100% !important;
	background: transparent;
	box-shadow: 0 0 6px 3px rgb(255 255 255 / 40%);
} */
body.search_form .contents {
	padding-bottom: 60px;
}
body.search_form > .main-container {
	max-width: 100%;
}
@media screen and (max-width: 780px) {
	body > .main-container .contents > .search-info > div {
		width: 90vw;
	}
	body > .main-container .contents > .search-info > div dl dt {
		width: 13vw;
	}
	body > .main-container .contents > .search-info > div dl dd {
		width: 70vw;
	}
}

.cardlist > ul {
	position: relative;
	font-size: 0;
}
.cardlist > ul::after {
	position: absolute;
	content: "";
	display: block;
	bottom: 0;
	left: -100px;
	width: 1100px;
	height: 1px;
	background-image: url("../../common/img/bk_line.jpg");
	background-size: 100% auto;
}
.cardlist > ul:nth-last-child(1)::after {
	background: none;
}
.cardlist > ul li {
	position: relative;
	display: inline-block;
	text-align: center;
	padding-top: 25px;
	padding-bottom: 25px;
	vertical-align: top;
}
.cardlist > ul li::after {
	position: absolute;
	content: "";
	display: block;
	bottom: 0px;
	right: -1px;
	height: 100%;
	width: 1px;
	border-right: 1px solid #999999;
}
.cardlist > ul:nth-child(1) li::after {
	position: absolute;
	content: "";
	display: block;
	bottom: 0px;
	right: -1px;
	height: 100%;
	width: 1px;
	border-right: 0;
	background-image: url("../../common/img/bk_line_top.jpg");
	background-position: bottom;
	background-size: 100% 100%;
}
.cardlist > ul:nth-last-child(1) li::after {
	position: absolute;
	content: "";
	display: block;
	top: 0px;
	right: -1px;
	height: 100%;
	width: 1px;
	border-right: 0;
	background-image: url("../../common/img/bk_line_bottom.jpg");
	background-position: bottom;
	background-size: 100% 100%;
}
.cardlist > ul:nth-child(1):nth-last-child(1) li::after {
	background-image: url("../../common/img/bk_line_only.jpg");
}
.cardlist > ul:nth-child(1):nth-last-child(1) li:nth-last-child(1)::after {
	border-right: 0;
	background: none;
}
.cardlist > ul.list-split-4 li {
	position: relative;
	width: 25%;
}
.cardlist > ul.list-split-4 li:nth-child(4)::after {
	border-right: 0;
	background: none;
}
.cardlist > ul.list-split-4.list-single li:nth-child(4n)::after {
	border-right: 0;
	background: none;
}
@media screen and (min-width: 781px) {
	.cardlist > ul.list-split-4.list-single {
		position: relative;
	}
	.cardlist > ul.list-split-4.list-single::before {
		position: absolute;
		content: "";
		inset: 0;
		pointer-events: none;
		background-image:
			linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0)),
			linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0)),
			linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0));
		background-size: 1px 100%, 1px 100%, 1px 100%;
		background-position: 25% center, 50% center, 75% center;
		background-repeat: no-repeat;
	}
	.cardlist > ul.list-split-4.list-single > li::after {
		display: none;
	}
	.cardlist > ul.list-split-4.list-single > li:nth-child(n + 5):nth-child(4n + 1)::before {
		position: absolute;
		content: "";
		top: 0;
		left: 0;
		width: 400%;
		height: 1px;
		background-image: url("../../common/img/bk_line.jpg");
		background-size: 100% auto;
		background-repeat: no-repeat;
	}
}
.cardlist > ul.list-split-3 li {
	position: relative;
	width: 33%;
}
.cardlist > ul.list-split-3 li:nth-child(3)::after {
	border-right: 0;
	background: none;
}
.cardlist > ul.list-split-2 li {
	position: relative;
	width: 49%;
}
.cardlist > ul.list-split-2 li:nth-child(2)::after {
	border-right: 0;
	background: none;
}
.cardlist > ul.list-split-1 {
}
.cardlist > ul.list-split-1 li {
	position: relative;
	width: 33%;
}
.cardlist > ul:nth-child(1):nth-last-child(1).list-split-1 li::after {
	position: absolute;
	content: "";
	display: block;
	bottom: 0px;
	right: -1px;
	height: 100%;
	width: 1px;
	border-right: 0;
	background-image: url("../../common/img/bk_line_only.jpg");
	background-position: bottom;
	background-size: 100% 100%;
}
.cardlist > ul li .faq {
	width: 60%;
	height: 23px;
	margin: auto;
	text-align: right;
}
.cardlist > ul li .faq > a {
	display: inline-block;
	background-image: url(../img/icon_faq.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	text-indent: 9999px;
	width: 73px;
	height: 23px;
	overflow: hidden;
}
.cardlist > ul li .cardname {
	display: block;
	width: 60%;
	margin: -20px auto auto auto;
	text-align: left;
}

.chapter-attribute-list {
	position: relative;
}
.chapter-attribute-list::before,
.chapter-attribute-list::after {
	position: absolute;
	content: "";
	inset: 0;
	pointer-events: none;
	z-index: 2;
}
.chapter-attribute-list::before {
	background-image:
		linear-gradient(to right, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0)),
		linear-gradient(to right, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0));
	background-size: 100% 1px, 100% 1px;
	background-position: center 33.333%, center 66.666%;
	background-repeat: no-repeat;
}
.chapter-attribute-list::after {
	background-image:
		linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0)),
		linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0));
	background-size: 1px 100%, 1px 100%;
	background-position: 33.333% center, 66.666% center;
	background-repeat: no-repeat;
}
.chapter-attribute-list > ul.attribute-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 0;
	margin: 0;
	list-style: none;
}
.chapter-attribute-list > ul.attribute-grid::after {
	display: none;
}
.chapter-attribute-list > ul.attribute-grid > li {
	display: block;
	padding: 25px 0;
}
.chapter-attribute-list > ul.attribute-grid > li::after {
	display: none;
}
.chapter-attribute-list > ul.attribute-grid > li::before {
	display: none;
}
.chapter-attribute-list > ul.attribute-grid > li > a {
	display: block;
	text-decoration: none;
}

@media screen and (max-width: 780px) {
	.cardlist > ul {
		display: flex;
		flex-wrap: wrap;
	}
	.cardlist > ul::after {
		left: -2.5vw;
		width: 100vw;
	}
	.cardlist > ul:not(:last-of-type)::after {
        background-image: none;
	}
	.cardlist > ul li {
		display: table-cell;
	}
	.cardlist > ul.list-split-4 li {
		width: 50%;
	}
	.cardlist > ul.list-split-4.list-single li {
		width: 50%;
	}
	.cardlist > ul.list-split-4.list-single {
		position: relative;
	}
	.cardlist > ul.list-split-4.list-single::before {
		position: absolute;
		content: "";
		inset: 0;
		pointer-events: none;
		z-index: 5;
		background-image: linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0));
		background-size: 1px 100%;
		background-position: 50% center;
		background-repeat: no-repeat;
	}
	.cardlist > ul:not(:last-of-type) li:nth-of-type(3)::after {
		position: absolute;
		content: "";
		display: block;
		bottom: 0px;
		right: -1px;
		height: 100%;
		width: 1px;
		border-right: 1px solid #999999;
		background-image: none;
	}
	.cardlist > ul li:nth-of-type(2)::after {
		position: absolute;
		content: "";
		display: block;
		bottom: 0;
		left: -50vw;
        width: 100vw;
		height: 1px;
		background-image: url("../../common/img/bk_line.jpg");
		background-size: 100% auto;
	}
	.cardlist > ul.list-split-4.list-single li::after {
		display: none;
		border: 0;
		background: none;
	}
	.cardlist > ul.list-split-4.list-single li:nth-child(n + 3):nth-child(2n + 1)::before {
		position: absolute;
		content: "";
		display: block;
		top: 0;
		left: 0;
		width: 200%;
		height: 1px;
		background-image: url("../../common/img/bk_line.jpg");
		background-size: 100% auto;
		background-repeat: no-repeat;
	}
	.cardlist > ul li img {
		width: 95%;
	}
	.cardlist > ul li .faq {
		width: 100%;
	}
	.cardlist > ul li .cardname {
		width: 85%;
	}
	.chapter-attribute-list > ul.attribute-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.chapter-attribute-list > ul.attribute-grid > li {
		display: block;
		padding: 15px 0;
	}
	.chapter-attribute-list > ul.attribute-grid > li::before,
	.chapter-attribute-list > ul.attribute-grid > li::after {
		display: none;
		border: 0;
		background: none;
	}
	.chapter-attribute-list::before {
		background-image:
			linear-gradient(to right, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0)),
			linear-gradient(to right, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0)),
			linear-gradient(to right, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0)),
			linear-gradient(to right, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0));
		background-size: 100% 1px, 100% 1px, 100% 1px, 100% 1px;
		background-position: center 20%, center 40%, center 60%, center 80%;
		background-repeat: no-repeat;
	}
	.chapter-attribute-list::after {
		background-image: linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0));
		background-size: 1px 100%;
		background-position: 50% center;
		background-repeat: no-repeat;
	}
	.chapter-attribute-list > ul.attribute-grid > li > a > img:first-child {
		width: 88%;
		height: auto;
	}
	.chapter-attribute-list > ul.attribute-grid > li > a > img:last-child {
		width: auto;
		max-width: 113px;
		height: auto;
	}
}

.cardlist > .result-null { }
.cardlist > nav .btn-back {
	display: inline-block;
	margin-top: 25px;
	color: #d8d8d8;
	background-color: #333333;
	border: 0;
	padding: 7px 20px;
	border-radius: 5px;
	text-decoration: none;
}

.title_cardlist {
	position: relative;
	padding-bottom: 40px;
	margin-bottom: 25px;
}
.title_cardlist::after {
    position: absolute;
    content: "";
    display: block;
    bottom: 0;
    left: -100px;
    width: 1100px;
    height: 1px;
    background-size: 100% auto;
	background-image: url(../../common/img/bk_line.jpg);
}
.title_cardlist > ul li {
    padding-top: 8px;
    padding-bottom: 8px;
}
@media screen and (max-width: 780px) {
	.title_cardlist::after {
		left: -2.5vw;
		width: 100vw;
	}
}


/** menulist **/
.menulist > ul {
	position: relative;
	font-size: 0;
}
.menulist > ul::after {
	position: absolute;
	content: "";
	display: block;
	bottom: 0;
	left: -100px;
	width: 1100px;
	height: 1px;
	background-image: url("../../common/img/bk_line.jpg");
	background-size: 100% auto;
}
.menulist > ul:nth-last-child(1)::after {
	background: none;
}
.menulist > ul li {
	position: relative;
	display: inline-block;
	text-align: center;
	padding-top: 25px;
	padding-bottom: 25px;
	vertical-align: top;
}
.menulist > ul li::after {
	position: absolute;
	content: "";
	display: block;
	bottom: 0px;
	right: -1px;
	height: 100%;
	width: 1px;
	border-right: 1px solid #999999;
}
.menulist > ul:nth-child(1) li::after {
	border-right: 0;
	background-image: url("../../common/img/bk_line_top.jpg");
	background-position: bottom;
	background-size: 100% 100%;
}
.menulist > ul:nth-last-child(1) li::after {
	position: absolute;
	content: "";
	display: block;
	top: 0px;
	right: -1px;
	height: 100%;
	width: 1px;
	border-right: 0;
	background-image: url("../../common/img/bk_line_bottom.jpg");
	background-position: bottom;
	background-size: 100% 100%;
}
.menulist > ul:nth-child(1):nth-last-child(1) li::after {
	background-image: url("../../common/img/bk_line_only.jpg");
}
.menulist > ul:nth-child(1):nth-last-child(1) li:nth-last-child(1)::after {
	border-right: 0;
	background: none;
}
.menulist > ul.list-split-4 li {
	position: relative;
	width: 25%;
}
.menulist > ul.list-split-4 li:nth-child(4)::after {
	border-right: 0;
	background: none;
}
.menulist > ul.list-split-4.list-single li:nth-child(4n)::after {
	border-right: 0;
	background: none;
}
.menulist > ul li img {
	max-width: 100%;
}

@media screen and (min-width: 781px) {
	.menulist > ul.list-split-4.list-single {
		position: relative;
	}
	.menulist > ul.list-split-4.list-single::before {
		position: absolute;
		content: "";
		inset: 0;
		pointer-events: none;
		background-image:
			linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0)),
			linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0)),
			linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0));
		background-size: 1px 100%, 1px 100%, 1px 100%;
		background-position: 25% center, 50% center, 75% center;
		background-repeat: no-repeat;
	}
	.menulist > ul.list-split-4.list-single > li::after {
		display: none;
	}
	.menulist > ul.list-split-4.list-single > li:nth-child(n + 5):nth-child(4n + 1)::before {
		position: absolute;
		content: "";
		top: 0;
		left: 0;
		width: 400%;
		height: 1px;
		background-image: url("../../common/img/bk_line.jpg");
		background-size: 100% auto;
		background-repeat: no-repeat;
	}
}

.menulist.menulist-text > ul li {
	text-align: left;
	padding-top: 16px;
	padding-bottom: 16px;
	font-size: 14px;
	line-height: 1.5;
}
.menulist.menulist-text > ul li > a {
	position: relative;
	display: inline-block;
	max-width: 95%;
	margin-left: 18px;
	padding-left: 14px;
	text-decoration: none;
	font-family: var(--heading-font);
}
.menulist.menulist-text > ul li > a::before {
	position: absolute;
	content: "";
	left: 0;
	top: 0.5em;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 6px solid #ffffff;
}
.menulist.menulist-text > ul li > a:hover {
	text-decoration: underline;
}

@media screen and (max-width: 780px) {
	.menulist > ul.list-split-4 li {
		position: relative;
		width: 50%;
	}
	.menulist > ul li img {
		max-width: 95%;
	}
	.menulist > ul:nth-last-child(n + 2)::before {
		position: absolute;
		content: "";
		display: block;
		top: calc(12.4vw + 50px);
		left: -2.5vw;
		width: 100vw;
		height: 1px;
		background: url("../../common/img/bk_line.jpg") no-repeat;
		background-size: 100% auto;
	}
	.menulist > ul:nth-child(-n + 1) li:nth-child(3n)::after {
		border-right: 1px solid #999999;
		background: none;
	}
	.menulist > ul::after {
		left: -2.5vw;
		width: 100vw;
	}
	.menulist > ul li:nth-child(2n)::after {
		background: none;
		border: 0;
	}
	.menulist > ul.list-split-4.list-single {
		position: relative;
	}
	.menulist > ul.list-split-4.list-single::before {
		position: absolute;
		content: "";
		inset: 0;
		pointer-events: none;
		z-index: 5;
		background-image: linear-gradient(to bottom, rgba(153, 153, 153, 0), #999 12%, #999 88%, rgba(153, 153, 153, 0));
		background-size: 1px 100%;
		background-position: 50% center;
		background-repeat: no-repeat;
	}
	.menulist > ul.list-split-4.list-single li::after {
		display: none;
		border: 0;
		background: none;
	}
	.menulist > ul.list-split-4.list-single li:nth-child(n + 3):nth-child(2n + 1)::before {
		position: absolute;
		content: "";
		display: block;
		top: 0;
		left: 0;
		width: 200%;
		height: 1px;
		background-image: url("../../common/img/bk_line.jpg");
		background-size: 100% auto;
		background-repeat: no-repeat;
	}
	.menulist.menulist-text > ul li {
		font-size: 3.2vw;
		padding-top: 12px;
		padding-bottom: 12px;
	}
	.menulist.menulist-text > ul li > a {
		margin-left: 10px;
	}
}

.result-info {
	display: block;
	text-align: right;
}

.pagenation {
	display: none;
}
.pagenation.active {
	display: block;
	text-align: center;
	margin-top: 25px;
}
.pagenation > a.no,
.pagenation > a.prev,
.pagenation > a.next {
	text-decoration: none;
	padding: 5px;
	display: inline-block;
	border: 1px solid #999999;
	margin: 0 3px;
	min-width: 18px;
	line-height: 1;
}
.pagenation > a.active {
	background-color: #999999;
}
.pagenation > a.prev,
.pagenation > a.next {
	padding-left: 7px;
	padding-right: 7px;
	font-size: 10px;
}
.pagenation > a.disabled {
	opacity: 0.35;
	cursor: default;
}
.pagenation > .ellipsis {
	display: inline-block;
	margin: 0 4px;
	vertical-align: middle;
}

body > .main-container .contents > form {
	width: 95%;
	margin: 50px auto 0 auto;
	border-top: 1px solid #222222;
}

.form-group {
	border-bottom: 1px solid #222222;
	padding-top: 15px;
	padding-bottom: 15px;
}
.form-group dt{
	display: inline-block;
	width: 15%;
	vertical-align: top;
}
.form-group dt > span{
	display: block;
	color: #d8d8d8;
	background-color: #333333;
	padding: 8px 0;
	border-radius: 5px;
	text-align: center;
}
/* .form-group.job dt > span{
	padding: 78px 0;
} */
.form-group.job dd .select2-container {
	max-width: 100%;
}
.form-group.job dd .select2-container .select2-selection--multiple {
	border-radius: 3px;
	border: 1px solid #bbb;
	background: #999;
	min-height: auto;
	line-height: 1.8;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
	color: #000;
}
.select2-container--default .select2-results>.select2-results__options {
	background: #999;
}
.select2-container--default .select2-results__option[aria-selected=true] {
	color: #999;
}
.form-group dd{
	display: inline-block;
	margin-left: 5%;
	width: 75%;
	line-height: 30px;
}
.form-group dd > label {
	white-space: nowrap;
}
.form-group.type dd > label {
	display: inline-block;
	margin-right: 10px;
}
@media screen and (max-width: 780px) {
	.form-group.type dd > label {
		margin-right: 0;
	}
}

.form-group.keyword dd > input {
	border: 1px solid #bbb;
	border-radius: 2px;
	background-color: #999999;
	color: #FFF;
	width: 25%;
	padding: 3px;
	margin-right: 10px;
}
@media screen and (max-width: 780px) {
	.form-group.keyword dd > input {
		width: 100%;
		box-sizing: border-box;
		margin: 0;
	}
	.form-group.keyword dd > input:nth-child(2),.form-group.keyword dd > input:nth-child(3) {
		display: none;
	}
}

.form-group.card_name dd > input {
	border: 1px solid #bbb;
	border-radius: 2px;
	background-color: #999999;
	color: #FFF;
	width: 25%;
	padding: 3px;
	margin-right: 10px;
}
@media screen and (max-width: 780px) {
	.form-group.card_name dd > input {
		width: 100%;
		box-sizing: border-box;
		margin: 0;
	}
	.form-group.card_name dd > input:nth-child(2),.form-group.card_name dd > input:nth-child(3) {
		display: none;
	}
}

.form-group.attribute dd > label {
	display: inline-flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
}

.form-group select.job {
	background-color: #999999;
	color: #FFF;
	border-radius: 3px;
	width: 150px;
	height: 170px;
	margin-right: 2%;
}
@media screen and (max-width: 780px) {
	.form-group.job dt > span {
		padding: 8px 0;
	}
	.form-group select.job {
		height: auto;
	}
	.form-group select.job:nth-child(2),.form-group select.job:nth-child(3) {
		display: none;
	}
}

.form-group select::-webkit-scrollbar
{
	width:5px;
	background:#eee;
}
form-group select::-webkit-scrollbar:horizontal
{
	height:5px;
}
form-group select::-webkit-scrollbar-button
{
	width:5px;
	height:5px;
	background:#666;
}
form-group select::-webkit-scrollbar-piece
{
	background:#eee;
}

.form-group select.category {
	background-color: #999999;
	color: #FFF;
	border-radius: 3px;
	width: 150px;
	height: 170px;
	margin-right: 2%;
}
@media screen and (max-width: 780px) {
	.form-group.category dt > span {
		padding: 8px 0;
	}
}

.form-group.cost select {
	background-color: #999999;
	color: #FFF;
	border-radius: 3px;
	width: 70px;
}
.form-group.cost dd > span {
	display: inline-block;
	margin: 0 2%;
}

.form-group.power select {
	background-color: #999999;
	color: #FFF;
	border-radius: 3px;
	width: 70px;
}
.form-group.power dd > span {
	display: inline-block;
	margin: 0 2%;
}

body > .main-container .contents > form > nav {
	margin-top: 25px;
	text-align: center;
}
body > .main-container .contents > form button {
	display: inline-flex;
	color: #d8d8d8;
	border: 1px solid #d8d8d8;
	min-height: 25px;
	margin-left: 18px;
	border-radius: 5px;
	text-decoration: none;
	align-items: center;
	justify-content: center;
}
body > .main-container .contents > form button.btn-primary {
	background-color: #333333;
}

/* ============================================
   search_index 2-column grid layout
   ============================================ */
body.search_index .contents > form {
	border-top: none;
	margin-top: 30px;
}

body.search_index .form-row {
	display: flex;
}

body.search_index .form-group {
	flex: 1;
	padding: 0;
	display: flex;
	flex-direction: column;
}

body.search_index .form-group:last-child {
	border-right: none;
}

body.search_index .form-group dt {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	padding: 6px 12px;
}

body.search_index .form-group dt > span {
	display: inline-flex;
	min-width: 109px;
	min-height: 16px;
	border-radius: 0;
	color: #d8d8d8;
	background: #333333;
	align-items: center;
	justify-content: center;
	font-size: 13px;
}

body.search_index .form-group dd {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 14px;
	line-height: 2;
}

/* クリア button */
body.search_index .clear-btn {
	background: none;
	border: 1px solid #555;
	color: #999;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 3px;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
}
body.search_index .clear-btn:hover {
	background: #444;
	color: #ccc;
}

/* keyword / card_name inputs */
body.search_index .form-group.keyword dd > input,
body.search_index .form-group.card_name dd > input {
	width: 100%;
	margin-right: 6px;
	box-sizing: border-box;
}
body.search_index .form-group.keyword dd > input {
	width: 30%;
}

/* type / rare / ability / icon labels */
body.search_index .form-group.type dd > label,
body.search_index .form-group.rare dd > label,
body.search_index .form-group.ability dd > label,
body.search_index .form-group.icon dd > label {
	display: inline-block;
	white-space: nowrap;
	margin-right: 0;
}

/* Attribute icon labels */
body.search_index .attr-icon-label {
	display: inline-block;
	margin: 2px 4px 2px 0;
	cursor: pointer;
	vertical-align: middle;
}
body.search_index .attr-icon-label input[type="checkbox"] {
	display: none;
}
body.search_index .attr-icon-label .attr-sprite {
	display: inline-block;
	width: 26px;
	height: 26px;
	border: 1px solid #bcbbbb;
	border-radius: 3px;
	background-image: url("../img/spritesheet.png");
	background-repeat: no-repeat;
	background-size: auto;
	vertical-align: middle;
}
body.search_index .attr-icon-label input[type="checkbox"]:checked + .attr-sprite {
	border: 2px solid #FFFFFF;
	background-color: #525252;
}

/* default: gray (_g), hover: white (_w), checked: color */
body.search_index .attr-sprite.attr-fire {
	background-position: -78px -26px;
}
body.search_index .attr-sprite.attr-ice {
	background-position: -52px -52px;
}
body.search_index .attr-sprite.attr-wind {
	background-position: -52px -104px;
}
body.search_index .attr-sprite.attr-earth {
	background-position: 0 -26px;
}
body.search_index .attr-sprite.attr-thunder {
	background-position: -104px 0;
}
body.search_index .attr-sprite.attr-aqua {
	background-position: -104px -78px;
}
body.search_index .attr-sprite.attr-shine {
	background-position: -26px -78px;
}
body.search_index .attr-sprite.attr-dark {
	background-position: -26px 0;
}
body.search_index .attr-sprite.attr-multi {
	background-position: -104px -104px;
}

body.search_index .attr-icon-label:hover .attr-sprite.attr-fire {
	background-position: 0 -52px;
}
body.search_index .attr-icon-label:hover .attr-sprite.attr-ice {
	background-position: -78px -52px;
}
body.search_index .attr-icon-label:hover .attr-sprite.attr-wind {
	background-position: -78px -104px;
}
body.search_index .attr-icon-label:hover .attr-sprite.attr-earth {
	background-position: -26px -26px;
}
body.search_index .attr-icon-label:hover .attr-sprite.attr-thunder {
	background-position: -104px -26px;
}
body.search_index .attr-icon-label:hover .attr-sprite.attr-aqua {
	background-position: 0 -104px;
}
body.search_index .attr-icon-label:hover .attr-sprite.attr-shine {
	background-position: -52px -78px;
}
body.search_index .attr-icon-label:hover .attr-sprite.attr-dark {
	background-position: -52px 0;
}
body.search_index .attr-icon-label:hover .attr-sprite.attr-multi {
	background-position: 0px -130px;
}

body.search_index .attr-icon-label input[type="checkbox"]:checked + .attr-sprite.attr-fire {
	background-position: -52px -26px;
}
body.search_index .attr-icon-label input[type="checkbox"]:checked + .attr-sprite.attr-ice {
	background-position: -26px -52px;
}
body.search_index .attr-icon-label input[type="checkbox"]:checked + .attr-sprite.attr-wind {
	background-position: -26px -104px;
}
body.search_index .attr-icon-label input[type="checkbox"]:checked + .attr-sprite.attr-earth {
	background-position: -78px 0;
}
body.search_index .attr-icon-label input[type="checkbox"]:checked + .attr-sprite.attr-thunder {
	background-position: -78px -78px;
}
body.search_index .attr-icon-label input[type="checkbox"]:checked + .attr-sprite.attr-aqua {
	background-position: -104px -52px;
}
body.search_index .attr-icon-label input[type="checkbox"]:checked + .attr-sprite.attr-shine {
	background-position: 0 -78px;
}
body.search_index .attr-icon-label input[type="checkbox"]:checked + .attr-sprite.attr-dark {
	background-position: 0 0;
}
body.search_index .attr-icon-label input[type="checkbox"]:checked + .attr-sprite.attr-multi {
	background-position: -104px -104px;
}

/* job and chapter select2 */
body.search_index .form-group.chapter dd .select2-container {
	width: 90% !important;
	max-width: 340px;
}

/* category select2 */
body.search_index .form-group.category dd .select2-container {
	width: 90% !important;
	max-width: 340px;
}

/* job select2 */
body.search_index .form-group.job dd .select2-container {
	width: 90% !important;
	max-width: 340px;
}

/* category select2 */
body.search_index .form-group.category dd .select2-container {
	width: 90% !important;
	max-width: 340px;
}

/* job select2 */
body.search_index .form-group.job dd .select2-container {
	width: 90% !important;
	max-width: 340px;
}
body.search_index .cost-btn-label {
    display: inline-flex;
    margin: 0;
    padding: 0;
    min-width: 30px;
    min-height: 30px;
    align-items: center;
    justify-content: center;
}
body.search_index .cost-btn-label input[type="checkbox"] {
	display: none;
}
body.search_index .cost-btn-label > span {
	display: inline-block;
	border: 1px solid #bcbbbb;
	border-radius: 3px;
	color: #ccc;
	cursor: pointer;
	min-width: 28px;
	text-align: center;
	font-size: 13px;
	transition: background 0.12s, color 0.12s;
}
body.search_index .cost-btn-label:hover > span {
	background: #555;
	color: #fff;
}
body.search_index .cost-btn-label input[type="checkbox"]:checked + span {
	background: #777;
	color: #fff;
	border-color: #aaa;
}

body.search_index .type-btn-label {
	display: inline-flex;
	margin: 0 8px 4px 0;
	padding: 0;
	align-items: center;
	justify-content: center;
}
body.search_index .type-btn-label input[type="checkbox"] {
	display: none;
}
body.search_index .type-btn-label > span {
	display: inline-block;
	border: 1px solid #bcbbbb;
	border-radius: 3px;
	color: #ccc;
	cursor: pointer;
	padding: 2px 10px;
	text-align: center;
	font-size: 13px;
	line-height: 1.6;
	transition: background 0.12s, color 0.12s;
}
body.search_index .type-btn-label:hover > span {
	background: #555;
	color: #fff;
}
body.search_index .type-btn-label input[type="checkbox"]:checked + span {
	background: #777;
	color: #fff;
	border: 2px solid #FFF;
}

/* power selects */
body.search_index .form-group.power select.power {
	background-color: #555;
	color: #fff;
	border-radius: 3px;
	width: 80px;
}
body.search_index .form-group.power dd > span {
	display: inline-block;
	margin: 0 8px;
}

/* submit button */
body.search_index .contents > form > nav {
	padding: 20px 0;
}
body.search_index .contents > form > nav button {
	padding: 9px 40px;
	font-size: 14px;
	cursor: pointer;
}

.select-wrapper {
	text-align: right;
}
.opusselect,
.cate-select {
	border: 1px solid #6e6e6e;
	background: #000000;
	color: #FFF;
	padding: 5px 10px;
	width: 200px;
	text-align: left;
	margin-bottom: 25px;
}
.opusselect:hover,
.cate-select:hover {
	border-color: #FFFFFF;
}


@media screen and (max-width: 780px) {
	body.search_index .form-row {
		flex-direction: column;
	}
	body.search_index .form-group {
		border-right: none;
	}
	body.search_index .form-group.keyword dd > input,
	body.search_index .form-group.card_name dd > input {
		width: 90%;
	}
	body.search_index .chapter-select,
	body.search_index .form-group.job dd .select2-container,
	body.search_index .form-group.category dd .select2-container {
		width: 100% !important;
		max-width: 100%;
	}
	.opusselect,
	.cate-select {
		margin-bottom: 15px;
	}
}

.select2-container--default .select2-selection--multiple {
    border-radius: 3px;
    border: 1px solid #bbb;
    background: #999;
    min-height: auto;
    line-height: 1.8;
}

.select2-container--default .select2-results>.select2-results__options {
	text-align: left;;
}

#fancybox-content.search-condition-content {
	background: #000 !important;
	box-shadow: 0 0 6px 3px rgb(255 255 255 / 25%);
	overflow: visible !important;
}

.search-condition-content .select2-container--open,
#search-condition-modal .select2-container--open {
	z-index: 1000005;
}

.select2-container--default .select2-results > .select2-results__options {
	max-height: min(36vh, 260px);
	overflow-y: auto;
}

#search-condition-modal {
	background: #000;
	color: #fff;
	padding: 12px 14px;
	overflow: visible;
}

#search-condition-modal form {
	width: 100%;
	margin: 0;
	border-top: 0;
}

body.search_index #search-condition-modal form > nav {
	text-align: center;
	margin-top: 18px;
	padding-top: 8px;
}

body.search_index #search-condition-modal form > nav button {
	display: inline-flex;
	padding: 9px 40px;
	font-size: 14px;
	cursor: pointer;
	margin-left: 0;
	color: #d8d8d8;
	background-color: #333333;
	border: 1px solid #d8d8d8;
	border-radius: 5px;
	align-items: center;
	justify-content: center;
	-webkit-appearance: none;
	appearance: none;
}