@charset "utf-8";

/* KSCコーポレートロゴヘッダ*/
.site-header .header-logo.corporate {
    background-color: #ffffff;
}

/* KNMコンテンツ下、メニューボックス */
section#content-box .pageTitleTop .content-open {

	display: none;

}

/* 検索フォーム */
form#searchForm {

	padding: 0 0.5em;
	margin: 2em auto;

}

/* 検索フォーム、テキストボックス周り */
form#searchForm .keywordBox {
	display: flex;
	justify-content: center;
    align-items: center;
    max-width: 530px;
    margin:0 auto;
	padding: 50px 0 10px;
    font-size: 16px;

}

form#searchForm .keywordBox input[type=text] {
    width: calc(100% - 130px);
    border: none;
    border-radius: 25px;
    background-color: #E5E5E5;
    padding: 10px 21px;
    height: 50px;
    outline: none;
}
form#searchForm .keywordBox input[type=text]:focus {
    background-color: #E4F0F2;
}

form#searchForm .keywordBox button {
    width: 120px;
    border: none;
    border-radius: 25px;
    padding: 10px 21px;
    height: 50px;
    outline: none;
    margin-left: 10px;
    background-color: #333;
    color: #FFF;
    font-weight: bold;
    transition: .3s all;

}

/* KNMコンテンツ下、会社別カテゴリ周り */
form#searchForm .categoryBox {

	width: 100%;
	max-width: 768px;
	margin: 0.5em auto;
	display: flex;

}

form#searchForm .categoryBox label {

	margin-right: 1em;
	display: inline-block;
	cursor: pointer;

}

form#searchForm .categoryBox label input {

	margin-right: 0.5em;

}

form#searchForm .categoryBox dt,
form#searchForm .categoryBox dd {

	display: block;

}

form#searchForm .categoryBox dt {

	white-space: nowrap;
	padding: 0 0.5em;

}

/* 検索フォーム、オプション周り */
form#searchForm .optionBtn {


	text-align: center;


}

form#searchForm .optionBtn input {

	padding: 0.5em 2em;
	padding-left: 2.5em;
	font-size: 1.2em;
	color: #ffffff;
	background-color: #8e8e8e;
	border: 1px solid #333333;
	border-radius: 0.5rem;
	background-repeat: no-repeat;
	background-position: 1em center;
	background-image: url(../img/search_option.svg);
	background-size: 1em;
	cursor: pointer;
	transition: all .3s ease-in-out;

}

form#searchForm .optionBtn input:hover {

	background-color: #555555;

}

form#searchForm .searchOptionBox {

	padding: 1em 0;
	margin: 0.5em 0;
	display: none;

}

form#searchForm .searchOptionBox dl {
	display: flex;
	margin-bottom: 0.5em;
}

form#searchForm .searchOptionBox dt {
	width: 12em;
	display: block;
	padding: 0.5em;
}

form#searchForm .searchOptionBox span {
	padding: 0.5em 1em;
	display: inline-block;
	background-color: #cccccc;
	border-radius: 0.5rem;
	cursor: pointer;
	margin-right: 0.5em;

}

form#searchForm .searchOptionBox span.checked {


	background-color: #555555;
	color: #ffffff;

}

/* 検索フォーム、検索結果 */
#resultSection .resultBox {

	display: flex;
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: 1px solid #cccccc;

}

#resultSection .noresult {

	border: 1px solid #b60014;
	padding: 2em;
	text-align: center;
	color: #b60014;
	margin: 3em auto;
	width: 100%;
	max-width: 980px;


}

#resultSection .resultBox .resultImg img {

	width: 100%;
	display: block;
	border: 1px solid #cccccc;

}

#resultSection .resultBox .resultText {

	padding: 0 1em;

}

#resultSection .resultBox a {

	transition: all .3s ease-in-out;
	word-break: break-all;

}

#resultSection .resultBox .resultText h4 {

	font-size: 1.2em;
	margin-bottom: 1em;

}

#resultSection .resultBox a span.link {

	display: block;
	padding: 1em;
	text-decoration: none !important;
	color: #1357a5;

}

#resultSection .resultBox a span.link i {

	margin-right: 0.5em;

}


#resultSection .resultBox:hover a {

	text-decoration: underline;
	color: #b60014;

}

#resultSection .overImgBox {

	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 430px;
	padding: 1em;
	border: 1px solid #cccccc;
	display: none;
	background-color: rgba(0, 0, 0, 0.6);
	text-align: center;
	z-index: 50;

}

#resultSection .overImgBox a {

	display: inline-block;
	margin: auto;

}

#resultSection .overImgBox img {

	width: 100%;
	max-width: 400px;
	display: block;

}

/* 検索フォーム、ページ送りボタンまわり */
#resultSection .pageBox {

	position: relative;
	display: block;
	margin: 3em auto;

}

#resultSection .pageBox .resultTotal {

	margin-top: 0.5em;

}

#resultSection .pageBox button {

	padding: 0.2em 1em;
	border: 1px solid #8e8e8e;
	background-color: #555555;
	color: #ffffff;
	cursor: pointer;
	margin: 0 0.2em;

}

#resultSection .pageBox button.disabled {

	cursor: auto;
	background-color: #cccccc;
	color: #333333;

}

#resultSection .pageBox span {

	padding: 0 0.2em;

}

#resultSection .pageBox .leftBox,
#resultSection .pageBox .rightBox {

	display: inline-block;
	position: absolute;
	top: 0;

}

#resultSection .pageBox .centerBox {

	text-align: center;

}

#resultSection .pageBox .centerBox button {

	display: none;
	padding: 0.5em 1em;

}

#resultSection .pageBox .centerBox button.active {

	background-color: #b60014;
	cursor: auto;

}

#resultSection .pageBox .leftBox {

	left: 0;

}

#resultSection .pageBox .rightBox {

	right: 0;

}

/* 検索フォーム、おすすめボックス */
#resultSection .relatedContent {

	display: flex;
	text-align: center;
	flex-wrap: wrap;

}

#resultSection .relatedContent h3 {


	display: block;
	width: 100%;
	text-align: left;

}

#resultSection .relatedContent .relatedContentBox {

	width: 30%;
	padding: 0 0.5em;

}

#resultSection .relatedContent .relatedContentBox a {

	display: inline-block;

}

#resultSection .relatedContent .relatedContentBox a img {

	width: 100%;
	border: 1px solid #cccccc;

}



@media(min-width:769px) {

	/* 検索フォーム、検索結果 */
	#resultSection .resultBox .resultImg img {

		width: 240px;

	}

	#resultSection .resultBox .resultText {
        width: 80%;
    }
}


@media(max-width:768px) {

	form#searchForm .categoryBox {

		display: block;

	}

	form#searchForm .categoryBox dd {

		margin: auto;
		padding: 0 0.5em;
		width: 95%;

	}


	/* 検索フォーム、検索結果 */
	#resultSection .resultBox {

		flex-wrap: wrap-reverse;

	}

	#resultSection .resultBox .resultImg {

		text-align: center;
		display: block;
		width: 100%;

	}

	#resultSection .resultBox .resultImg a {

		display: block;

	}

	#resultSection .resultBox .resultImg img {

		width: 100%;
		max-width: 320px;
		display: inline-block;

	}

	/* 検索フォーム、ページ送りのテキスト非表示 */
	#resultSection .pageBox span {

		display: none;

	}

	#resultSection .pageBox .resultTotal span {

		display: inline-block;

	}


}