@charset 'utf-8';

/* tab */
.gsc-refinementsArea,
.gsc-refinementHeader {
	background-color: var(--back) !important;
}
.gsc-refinementhInactive span,
.gsc-refinementhActive span {
	color: var(--text);
}
/* ad */
.gsc-adBlock {
	border-left: 5px solid;
	border-bottom-style: none !important;
}
/* misspelling */
.gs-spelling a {
	display: block;
	font-size: large;
}
/* branding logo */
.gcsc-branding a img {
	border-style: none;
}
/* contents */
.gsc-input input {
	outline-style: revert !important;
}
div.gsc-wrapper {
	max-width: none;
}
div.gsc-control-cse,
.gsc-webResult div.gsc-result,
.gsc-webResult div.gsc-result:hover { /* for dark-mode */
	background-color: var(--back);
	border-color: var(--back);
}
.gsc-result div.gs-title {
	overflow: visible; /* for focus-ring */
}
.gs-title:link,
.gs-spelling a,
.gcsc-find-more-on-google {
	color: var(--link) !important;
}
.gs-title:visited {
	color: var(--visited) !important;
}
.gs-webResult div.gs-visibleUrl {
	font-size: medium;
	color: var(--moderate) !important;
}
.gs-snippet {
	font-size: medium;
	color: var(--text) !important;
}
.gs-title b,
.gs-snippet b,
.gsc-url-top b,
.gsc-url-bottom b {
	border: 1px var(--match) solid; /* for high-contrast mode */
	background-color: var(--match);
	border-radius: 0.5em;
	font-size: inherit !important;
}
.gs-fileFormatType {
	font-weight: bold;
	color: var(--moderate) !important;
}
.gs-per-result-labels {
	text-align: right;
}
.gs-per-result-labels .gs-label {
	color: var(--fore) !important;
}
.gs-per-result-labels :first-child {
	display: none;
}
/* */
.gs-no-results-result div.gs-snippet {
	background-color: var(--back);
}
/* image search */
/* page */
.gsc-cursor-box .gsc-cursor-page {
	float: left;
	font-size: large;
	text-align: center;
	width: 4em;
	margin-bottom: 1em;
	border: 1px solid;
	border-radius: 0.5em;
}
.gsc-cursor-box .gsc-cursor-current-page {
	background-color: red !important;
	color: white !important;
}
/* */
#query-list {
	margin: 0.5em 0 1em;
}
#query-list ul {
	display: inline;
	list-style-type: none;
	padding-left: 0;
}
#query-list li {
	display: inline;
	margin-right: 1em;
}
#related-page h2 {
	margin-top: 0;
}
/* filetype */
.gs-title a[href*='.pdf']:after,
.gs-title a[href*='type=pdf']:after {
	content: url('../../images/icon/pdf.png');
	margin-left: 2px;
}
.gs-title a[href*='.ppt']:after {
	content: url('../../images/icon/ppt.png');
	margin-left: 2px;
}
/* favicon */
.gs-title a:before {
	content: url('../images/empty.png');
	margin-right: 2px;
}
.gs-title a[href*='//so-zou.jp']:before {
	content: url('../../images/favicon.png');
}
.gs-title a[href*='//allabout.co.jp']:before {
	content: url('../images/allabout_co_jp.png');
}
.gs-title a[href*='atmarkit.co.jp/']:before {
	content: url('../images/atmarkit_co_jp.png');
}
.gs-title a[href*='itmedia.co.jp/']:before {
	content: url('../images/itmedia_co_jp.png');
}
.gs-title a[href*='//e-words.jp']:before {
	content: url('../images/e-words_jp.png');
}
.gs-title a[href*='//gihyo.jp']:before {
	content: url('../images/gihyo_jp.png');
}
.gs-title a[href*='//www.ibm.com']:before {
	content: url('../images/ibm_com.png');
}
.gs-title a[href*='//developer.mozilla.org/']:before {
	content: url('../images/developer_mozilla_org.png');
}
.gs-title a[href*='//addons.mozilla.org/']:before {
	content: url('../images/addons_mozilla_org.png');
}
.gs-title a[href*='//www.w3.org']:before {
	content: url('../images/w3_org.png');
}
.gs-title a[href*='//windows.microsoft.com']:before,
.gs-title a[href*='//support.microsoft.com']:before {
	content: url('../images/microsoft_com.png');
}
.gs-title a[href*='//learn.microsoft.com']:before {
	content: url('../images/msdn_microsoft_com.png');
}
.gs-title a[href*='//web-tan.forum.impressrd.jp']:before {
	content: url('../images/web-tan_forum_impressrd_jp.png');
}
