@charset "UTF-8";

/* =========================================================
   accessibility-tool
========================================================= */

#accessibilityTool {
	background-color: #F9F9F9;
	padding-top: 5px;
	height: 26px;
}
#accessibilityTool .pieceContainer {
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
}
/*
#accessibilityTool .pieceContainer {
	zoom: 1;	
}
*/
#accessibilityTool .pieceBody {
	font-size: 90%;
	position: absolute;
	right: 0px;
	top: 0px;
}

#headerBody .piece {
  margin-bottom: 0;
}


/* block-skip
----------------------------------------------- */
#nocssread {
  float: left;
}
#nocssread a {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
}
#nocssread a:focus,
#nocssread a.show {
  width: auto;
  height: auto;
  padding: 0 10px;
  background-color: #f2cfd8;
}

/* tools
----------------------------------------------- */

#accessibilityTool .pieceBody a {
  color: #000;
  text-decoration: none;
}
#accessibilityTool .pieceBody a:focus,
#accessibilityTool .pieceBody a:hover {
  color: #007832;
}

#accessibilityTool .pieceBody .fontSize a:focus,
#accessibilityTool .pieceBody .fontSize a:hover {
  background-color: #e2fab2;
}

.head-tools {
  width: 100%;
  margin: 0px;
  padding: 4px 0 3px 0;
  background-position: left top;
  text-align: right;
}
#furiganaAttention {
  padding-left: 15px;
  padding-top: 5px;
  background-color: #ececec;
  font-size: 120%;
  text-align: center;
}
.rubyOn #furiganaAttention {
  display: block;
}
.head-tools a {
  margin-right: 8px;
}
.head-tools img {
  margin-right: 3px;
  vertical-align: middle;
}

/* font-size
----------------------------------------------- */
img.font {
  margin-top: 3px;
}

/* 20140222 */

#fontsize,
#theme_color,
#furigana,
#readspeaker_button1 {
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #999;
	margin-right: 10px;
	padding-right: 10px;
	float: left;
	padding-top: 6px;
	padding-bottom: 3px;
}



#honyaku {
	float: left;
	padding-top: 2px;
}



/* font size */
#fontsize a {
	border: 1px solid #c4c5c5;
	background-color: #fdfdfd;
	font-size: 110%;
	line-height: 1;
	padding: 3px;
}
#fontsize a:focus,
#fontsize a:hover {
  background-color: #e2fab2;
}

/* Theme Color */
#theme_color a {	
	line-height: 1;
	padding: 3px;
	border: 1px solid #CCC;
}
#theme_color #themeBlack {
  background-color: #000;
  color: #fff;
}
#theme_color #themeBlue {
  background-color: #1745cc;
  color: #fff;
}


/* Furigana */


/* Read speaker Japan */
#readspeaker_button1 a {
	line-height: 1;
	background-image: url(../piece/images/read_speaker.gif);
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 25px;
}
#readspeaker_button1 img {
	display:none;
}

#xp1 {
	float: right;
	margin-top: 15px;
	margin-right: 10px;
}

/* 翻訳　*/
#honyaku a {
}


#fontsize a,
#theme_color a,
#furigana  a,
#readspeaker_button1 a {
	color: #000;
	text-decoration: none;
}


/* navigationNotice
----------------------------------------------- */
#navigationNotice {
  padding: 6px 10px;
  background-color: #dddddd;
  font-weight: bold;
}

/* clearfix
----------------------------------------------- */
#accessibilityTool .pieceContainer:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  font-size: 0;
  visibility: hidden;
}



/* Responsive Design
----------------------------------------------- */
@media screen and (max-width: 960px) {
  #accessibilityTool .pieceContainer {
	width: 98%;
  }
  #accessibilityTool #fontsize,
  #accessibilityTool #theme_color {
    display: none;
  }
}


@media screen and (max-width: 600px) {
	#accessibilityTool #fontsize,
	#accessibilityTool #theme_color,
	#accessibilityTool #furigana {
    display: none;
  }

#honyaku a {
	background-image: url(../piece/images/multi_language.png);
	background-repeat: no-repeat;
	background-position: left center;
	height: 23px;
	width: 170px;
	text-indent: -9999em;
	display: block;
	margin-right: 10px;
}

}
