@charset "utf-8";

/* ルビ振り */
/*
.js_ruby_nsi { display: none; }
.ruby_active .js_ruby_ari { display: none; }
.ruby_active .js_ruby_nsi { display: block; }
*/

/* やさしい日本語 */
.js_easy_nsi { display: none; }
.easy_active .js_easy_ari { display: none; }
.easy_active .js_easy_nsi { display: block; }

/* 音声読み上げ */
#voice_read {
	position: relative;
}
#voice_read .sound_box {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
	z-index: 100;
	border: 1px solid #cccccc;
	border-radius: 0px;
	background: #ffffff;
	color: #333333;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	min-width: 32rem;
	margin: 0px;
	padding: 10px 20px;
	text-align: center;
	white-space: nowrap;
}
#voice_read .sound_box.open {
	display: block;
}
#voice_read .sound_box .tsutaeru-speech {
	text-align: center;
}

/* 音声読み上げ 閉じるボタン（キーボード操作用） */
#js_sound_close_btn {
	width: 1px;
	height: 1px;
	padding: 0px;
	border: none;
	background: none;
	color: inherit;
	text-align: left;
	text-indent: -9999em;
	overflow: hidden;
	position: absolute;
	right: 0px;
	bottom: 0px;
}

/* 音声読み上げ（ボタン） */
button#js_sound_btn {
	display: inline-block;
	margin: 0px;
	padding: 0px;
	font-size: 1.4rem;
	line-height: 2rem;
	border: none;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 5px center;
	color: inherit;
	text-decoration: none;
	padding: 10px 10px 10px 30px;
	background-image: url("/img/common/icon-h-voice.png");
	padding-left: 35px;
}
button#js_sound_btn.open {
	background-image: url("/img/common/icon_clear_white.png");
	padding-left: 30px;
}

button#js_sound_btn .sound_open {
	display: inline-block;
}
button#js_sound_btn.open .sound_open {
	display: none;
}

button#js_sound_btn .sound_close {
	display: none;
}
button#js_sound_btn.open .sound_close {
	display: inline-block;
}