img{vertical-align: middle; border: none;}
div.clear{clear: both;}

/*共通*/
.hdg-b{margin-top: 0px; color: #000;}

/*IE8アクセラレータ*/
p.ieaccelerator{
	margin: -59px 3px 20px;
	padding: 0px;
	text-align: right;
}

/*意味エリア*/
div.meanarea{
	/*float: left;*/
	/*max-width: 900px;*/
}

@media screen and (min-width: 481px){
div.glossary_term{display: flex; justify-content: space-between;}
div.initialword{display: flex; justify-content: space-between;}

/*検索メニューエリア*/
div.searchwords{
	/*float: right;*/
	width: 278px;
	margin-left: 22px;
	margin-top: 85px;
}
}

@media screen and (max-width: 480px){
div.searchwords{margin-left: 0px!important; margin-top: 35px; font-size: 150%!important;}
div.topsearchwords{font-size: 150%!important;}
}

.searchwords h2,
.topsearchwords h2{
	margin: 0px;
	padding: 1px 5px;
	border-width: 1px 0px;
/*
	border-style: solid;
	border-color: #ccc #fff #eee;
	filter:progid:DXImageTransform.Microsoft.Gradient(Enabled=1,GradientType=0,StartColorStr='#eeeeee',EndColorStr='#ffffff');
	background: -webkit-gradient(linear,center top, center bottom, from(#eeeeee), to(#ffffff));
	background: -moz-linear-gradient(top, #eeeeee, #ffffff);
*/
}
/*用語検索窓*/
div.searchwords p{
	margin: 10px 0px 50px;
	text-align: center;
}
div.searchwords p input#word{
	/*width: 138px;*/
	font-size: 1.8rem;
	padding: 6px 5px;
}
@media screen and (max-width: 480px){
div.searchwords p input#word{
	border-width: 3px;
}
div.topsearchwords p input#word{
	border-width: 3px;
}
}

/*トップ画面での用語検索窓*/
div.topsearchwords p{
	margin: 10px 0px 50px;
}
div.topsearchwords p input#word{
	/*width: 200px;*/
	font-size: 1.8rem;
	padding: 6px 5px;
}

p.termsearch input[type="submit"] {
    font-size: 1.8rem;
    color: #333333;
    font-weight: 700;
    border: 1px solid #b8b8b8;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
    padding: 4px 10px;
    background: #f1e767;
    background: -webkit-gradient(linear, left top, left bottom, from(#fdfbfb), to(#ebedee));
    background: -webkit-linear-gradient(top, #fdfbfb 0%, #ebedee 100%);
    background: linear-gradient(to bottom, #fdfbfb 0%, #ebedee 100%);
    -webkit-box-shadow: inset 1px 1px 1px #fff;
    box-shadow: inset 1px 1px 1px #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / 18%);
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 10px;
}

p.termsearch input:hover[type="submit"] {
    background: -webkit-gradient(linear, left bottom, left top, from(#fdfbfb), to(#ebedee));
    background: -webkit-linear-gradient(bottom, #fdfbfb 0%, #ebedee 100%);
    background: linear-gradient(to top, #fdfbfb 0%, #ebedee 100%);
}


/*頭文字から用語を探す*/
div.kigou{
	margin: 10px 0px 0px;
	padding: 0px;
}
div.alphabet{
	clear: both;
	margin: 4px 0px;
	padding: 4px 0px;
	border-width: 1px 0px;
	border-style: dotted;
	border-color: #999;
}
div.katakana{
	clear: both;
	margin: 0px 0px 15px;
}

div.kigou p,
div.alphabet p,
div.katakana p{
	clear: both;
	margin: 0px;
	padding: 0px;
}
/*トップ画面での頭文字*/
.topsearchwords div.kigou p,
.topsearchwords div.alphabet p,
.topsearchwords div.katakana p{
	display: inline;
}

/*その他画面での頭文字*/
.searchwords div.kigou p,
.searchwords div.alphabet p,
.searchwords div.katakana p{
	display: inline;
}

div.kigou a,
div.alphabet a,
div.katakana a{
	color: #1e50a2;
	display: block;
	float: left;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	margin: 3px 2px;
	padding: 1px;
	background-color: #eee;
	border-width: 0px 1px 1px 0px;
	border-style: solid;
	border-color: #ccc #ddd;
	filter:progid:DXImageTransform.Microsoft.Gradient(Enabled=1,GradientType=0,StartColorStr='#ffffff',EndColorStr='#dddddd');
	/*
	background: -webkit-gradient(linear, 開始位置, 終了位置, from(開始色), color-stop(追加位置, 追加色), to(終了色))

	background: -moz-linear-gradient(方向, 開始する色, 終了する色); 
	*/
	background: -webkit-gradient(linear,center top, center bottom, from(#ffffff), to(#dddddd));
	background: -moz-linear-gradient(top, #ffffff, #dddddd);
}

@media screen and (max-width: 480px){
div.kigou a,
div.alphabet a,
div.katakana a{
	margin: 5px 5px!important;
}
}

div.kigou a:visited,
div.alphabet a:visited,
div.katakana a:visited{
	color: #660099;
}
div.kigou a{
	width: 50px;
	letter-spacing: 1px;
}
div.alphabet a,
div.katakana a{
	width: 30px;
}

@media screen and (max-width: 480px){
div.kigou a{
	width: 70px!important;
}
div.alphabet a,
div.katakana a{
	width: 40px!important;
}
}

div.kigou a:hover,
div.alphabet a:hover,
div.katakana a:hover{
	background-color: #fcc;
	text-decoration: underline;
	border-color: #999;
	filter:progid:DXImageTransform.Microsoft.Gradient(Enabled=1,GradientType=0,StartColorStr='#ffffff',EndColorStr='#d4f5ff');
	background: -webkit-gradient(linear,center top, center bottom, from(#ffffff), to(#d4f5ff));
	background: -moz-linear-gradient(top, #ffffff, #d4f5ff);
}


/*各画面*/
h2 {
	font-size: 2.4rem!important;
}
h3 strong{
	font-size: 150%;
}
h3 small{
	font-size: 90%;
}

h3.relateditem {
	margin-top: 40px;
	margin-bottom: 5px;
	font-size: 110%;
}

/*該当用語なし*/
p.notfound{margin: 27px 0px 2px 10px;}
p.noresult{margin: 27px 0px 2px 10px;}

/*結果リスト*/
/*ul.hitwords {margin-left: 1.25em;}*/
ul.hitwords li {margin-bottom: 0.25em;}
ul.hitwords li a{font-size: 110%; font-weight: bold; color: #1e50a2;}
ul.hitwords li a:visited{color: #660099;}
ul.hitwords li a:hover{text-decoration: underline;}
ul.hitwords li small{margin: 0px 0px 0px 7px; color: #555; font-size: 80%;}

div.meanarea ul li{margin-left: 1.25em; list-style-type: disc;}
div.meanarea ul li a:hover{text-decoration: underline;}

/*意味画面 他の含む語*/
div.containword{
	margin: 10px 0px 25px;
	padding: ;
}
div.containword ul.hitwords li a{font-weight: normal;}


/*用語解説意味画面*/
p.meaning{
	margin-bottom: 20px;
	line-height: 130%;
}

/*検索誘導*/
div.searchqa{
	margin: 0 0 50px;
}
div.searchqa p img{
	margin-right: 4px;
}


/*文字数オーバー*/
p.wordover{
	margin: 30px 0px;
	padding: 40px 0px;
	text-align: center;
	border-width: 1px 0px;
	border-style: solid;
	border-color: #aaa;
	font-weight: bold;
}

/*エラー画面*/
p.busy{
	margin: 20px 0px;
	padding: 15px;
	border: 2px solid #f55;
	line-height: 150%;
}