@charset "utf-8";

@import url("reset.css");

img {
	max-width: 100%;
	height: auto;
	width: auto;
}

h1 {
	font-size: 20px;
	line-height: 40px;
	height: 40px;
	margin-top: 0px;
	padding-left: 10px;
	font-weight: normal;
}

/*共通部分*/
html {
	height: 100%;
}

body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo,
		Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 12px;
	letter-spacing: 0.1em;
	height: 100%;
	background-color: #fdfdfd;
}

#container {
	width: 100%;
	min-height: 100%;
	height: auto;
	background-image: url(./../img/back_leaf.jpg);
	background-repeat: repeat-y;
	background-position: center top;
}

header {
	background: url(./../img/head_bg.jpg) repeat-x;
	width: 100%;
	height: 40px;
}
#step_navi a{
	text-decoration: none;	
}
#step_navi a:link { color: #000000; }
#step_navi a:visited { color: #000000; }
#step_navi a:hover { color: #000000; }
#step_navi a:active { color: #000000; }
#step_navi{
	display:table-cell;
	width:20%;
	background-color:#a9c9c9;
}
#step_navi h1{
	font-size:110%;
}
#step_navi h2{
	font-size:100%;
}
#step_navi>div{
	text-align:center;
	margin-bottom:10px;
}
#step_navi>div:first-child{
	padding-bottom:10px;
	border-bottom:solid 1px;
	border-color:#a9dfdf;
}

#step_navi h1{
	text-align:left;
}
#step_navi h3{
	font-size:90%;
}
#step_navi li{
	text-align:left;
	margin-top:5px;
	padding:10px;
}
#step_navi li *{
	color: #ffffff;
}
#step_navi li span{
	padding-left:5px;
}
#step_navi .activeStep *{
	color: #f5e100!important;
	/*color: #000000!important;*/
	font-weight: bolder!important;
}
.tufsbanner{
	
    background: rgba(0, 0, 0, 0) url("./../img/head_bg.jpg") repeat-x scroll 0 0;
    height: 40px;
    width: 100%;
}
.tufsbanner img {
    float: left;
    height: 33px;
    width: 33px;
}
.tufsbanner h1 {
    background: transparent none repeat scroll 0 0;
    color: #ffffff;
    float: left;
    font-size: 26px;
    font-weight: normal;
    height: auto;
    line-height: 38px;
    margin: 0;
    padding: 2px 0 0 10px;
    width: auto;
}



#path {
	background-color: #735a62;
	color: #FFF;
    height: auto;
    line-height: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    width: 980px;	
}

#path * {
	color: #FFF;
}

#path span:after {
	content: " > ";
}

#path span:last-child:after {
	content: none;
}

#path span:nth-child(1) {
	margin-left: 1em;
}

#sub_menu {
	background-color: #d1ceca;
	display:table;
 	width: 100%;
 	margin-left: auto;
    margin-right: auto;
    padding-top: 5px;	
 }
#titleText {
	display:table-cell;
}
#titleText span:nth-child(2):before {
	content: " (";
}

#titleText span:nth-child(2):after {
	content: ")";
}
#showIndication{
	margin-top:5px;
	display:table-cell;
	text-align:right;
	vertical-align:middle;
}

#content_box {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
    margin-top:10px;
	width: 980px;
	display:table	;
}

#main_content{
	display:table-cell;
	padding-left:10px;
}
#pageInfo {
	margin-bottom: 1.5em;
	width:100%;
	background: #fff7d9;
	
}

.instruction { /*解説文*/
	font-size: 130%;
	/*margin:5px;*/
	padding:10px;
	display:table-cell;
}

#partCtlButtons {
	display: none;
}

#movieRolePlay, #movieReplayButtons, #ownTarnMessage, #movieCtlButtons,
	#practiceCtlButtons {
	display: none;
	padding: 0;
}
#moviePane{
	margin-top:10px;
}
/***DialogText***/
.vocabDiv {
	display: none;
}

.lineImg {
	display: inline-block;
	width: 23px;
	font-size: 23px;
	padding: 0 7px;
	vertical-align: top;
	text-align: center;
	color: #FFF;
	font-weight: bold;
	border-radius: 10px; /* CSS3草案 */
	-webkit-border-radius: 10px; /* Safari,Google Chrome用 */
	-moz-border-radius: 10px; /* Firefox用 */
}

.genderF .lineImg {
	background-color: #C22;
}

.genderM .lineImg {
	background-color: #22C;
}

.lineC .lineImg {
	background-color: #2C2;
}

.stsDiv {
	display: inline-block;
}

img.speaker {
	vertical-align: top;
	cursor: pointer;
	margin-right:15px;
}

.texts {
	display: inline-block;
}

/*状況表示や言語切替、Part選択などのボタンを配置したDiv*/
#infoPane {
	vertical-align: top;
	padding-top:5px;
}

/*状況表示切り替え用ボタン配置DIV*/
#sitViewChange {
	display: inline-block;
/*	width: 80px;*/
}
/*状況表示用*/
#situationTxtDiv {
	display: block;
	padding: 10px;
	cursor: pointer;
	line-height: 1.5em;
	background-color: #fff;
	filter: alpha(opacity = 70);
	-moz-opacity: 0.7;
	opacity: 0.7;
}

/*言語表示切り替えボタン配置DIV*/
#changeLangView {
	display: inline-block;
}

#dialogVideoCtrl {
	display: block;
	margin: 0 auto;
}

#dialogText {
	min-height: 2em;
	font-size: 150%;
	margin: 0 auto;
}

footer {
	width: 100%;
	height: 26px;
	bottom: 0px;
	background-color: #c78198;
	position: relative;
	text-align: center;
	color: #FFF;
	font-size: 120%;
}

.movieCotrol li {
	display: inline;
}

.trgLangDiv {
	display: none;
}

#vocabularyList {
	display: none;
	position: absolute;
	top: 100px;
	height: 100%;
	overflow: auto;
	cursor: pointer;
	border: 3px solid #FFF;
}

#vocabularyList table {
	background: #FFF;
}

#vocabularyList td, #vocabularyList th {
	border-left: 1px solid #888;
	border-bottom: 1px solid #888;
	padding: 0.15em;
}

#vocabularyList th {
	background-color: #9DCEFF;
	font-weight: bold;
	font-size: 130%;
	padding: 0.3em;
	text-align: center;
}

#vocabularyList tr:nth-child(2n) {
	background-color: #DBEEF9;
}

.nonVocabularyList .tgl-light+.tgl-btn {
	background: #E6E6E6 none repeat scroll 0 0;
	cursor: default;
}

.nonVocabularyList h4 {
	color: #DDD;
	cursor: default;
}

.nowLine {
	color: #666;
}

.nowSentence {
	color: #F00;
}

span.movePageButtonDisabled {
	width: 60px;
	color: #EEE;
	text-shadow: 0 -1px 0px #A0A0A0, 0 -2px 0px #A0A0A0;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	display: inline-block;
	text-decoration: none;
	border: 1px solid #8a8a8a;
	padding: 0.5em 0;
	border-radius: 5px;
	background: #b0c6d4;
	background-image: -webkit-linear-gradient(top, #b0c6d4, #96a6b0);
	background-image: -moz-linear-gradient(top, #b0c6d4, #96a6b0);
	background-image: -ms-linear-gradient(top, #b0c6d4, #96a6b0);
	background-image: -o-linear-gradient(top, #b0c6d4, #96a6b0);
	background-image: linear-gradient(to bottom, #b0c6d4, #96a6b0);
	margin: 0 0.3em;
	cursor: default;
}

a.movePageButton {
	width: 60px;
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
	text-shadow: 0 -1px 0px #225588, 0 -2px 0px #225588;
	text-align: center;
	display: inline-block;
	text-decoration: none;
	border: 1px solid #225588;
	padding: 0.5em 0;
	border-radius: 5px;
	background: #3498db;
	background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
	background-image: -moz-linear-gradient(top, #3498db, #2980b9);
	background-image: -ms-linear-gradient(top, #3498db, #2980b9);
	background-image: -o-linear-gradient(top, #3498db, #2980b9);
	background-image: linear-gradient(to bottom, #3498db, #2980b9);
	margin: 0 0.3em;
}

a.movePageButton:hover {
	background: -moz-linear-gradient(rgba(34, 85, 136, 0.4),
		rgba(34, 85, 136, 0.9));
	background: -webkit-gradient(linear, 100% 0%, 100% 100%, from(rgba(34, 85, 136, 0.4)),
		to(rgba(119, 170, 221, 0.9)));
}

input[type="button"] {
	background: #3498db;
	background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
	background-image: -moz-linear-gradient(top, #3498db, #2980b9);
	background-image: -ms-linear-gradient(top, #3498db, #2980b9);
	background-image: -o-linear-gradient(top, #3498db, #2980b9);
	background-image: linear-gradient(to bottom, #3498db, #2980b9);
	-webkit-border-radius: 4;
	-moz-border-radius: 4;
	border-radius: 4px;
	font-family: Arial;
	color: #ffffff;
	font-size: 15px;
	padding: 5px 10px 5px 10px;
	border: solid #1f628d 1px;
	text-decoration: none;
	margin: 0 4px;
	-webkit-box-shadow: 1px 1px 3px #666666;
	-moz-box-shadow: 1px 1px 3px #666666;
	box-shadow: 1px 1px 3px #000;
	font-weight: bold;
	cursor: pointer;
}

input[type="button"]:active {
	background: #4da7de;
	background-image: -webkit-linear-gradient(top, #4da7de, #4ba6e3);
	background-image: -moz-linear-gradient(top, #4da7de, #4ba6e3);
	background-image: -ms-linear-gradient(top, #4da7de, #4ba6e3);
	background-image: -o-linear-gradient(top, #4da7de, #4ba6e3);
	background-image: linear-gradient(to bottom, #4da7de, #4ba6e3);
}

input[type="button"]:hover {
	background: #4da7de;
	background-image: -webkit-linear-gradient(top, #4da7de, #4ba6e3);
	background-image: -moz-linear-gradient(top, #4da7de, #4ba6e3);
	background-image: -ms-linear-gradient(top, #4da7de, #4ba6e3);
	background-image: -o-linear-gradient(top, #4da7de, #4ba6e3);
	background-image: linear-gradient(to bottom, #4da7de, #4ba6e3);
}

input[type="button"][disabled] {
	background: #bfbfbf;
	background-image: -webkit-linear-gradient(top, #bfbfbf, #7d7d7d);
	background-image: -moz-linear-gradient(top, #bfbfbf, #7d7d7d);
	background-image: -ms-linear-gradient(top, #bfbfbf, #7d7d7d);
	background-image: -o-linear-gradient(top, #bfbfbf, #7d7d7d);
	background-image: linear-gradient(to bottom, #bfbfbf, #7d7d7d);
	border: 1px solid #7d7d7d;
	color: #CCC;
	cursor: default;
}

#movieRolePlay {
	margin-bottom: 10px;
}

#btnGroup {
	border-top: 1px solid #666;
	padding-top: 5px;
	background-color: #333;
	color: #FFF;
	display:table;
	width:100%;
}

#controls {
	display: table-cell;
}

#pageMoveButtons {
	display: table-cell;
	text-align: right;
	vertical-align:top;
}

.pronDiv {
	display: none;
}

@media screen and (max-width: 1023px) {
	header h1{
		font-size: 110%;
	}
	#path {
		width:100%;
	}

	#content_box{
		width:100%;
	} 
	#step_navi{
		display:none;
	}
}
@media screen and (max-width: 640px) {
	.tufsbanner h1 {
		font-size:100%;
	}
	#path{
		margin-top:0px;
		font-size:120%;
	}
	#navis{
		padding-top:2px;
		padding-bottom:2px;
	}
	#main_content{
		padding-left: 0px;
	}
	video{
		width:100%;
	}
	.instruction,	/*解説文*/
	#selectTitle	/*ページ移動プルダウン*/
	{
		font-size:130%;
	}
	#dialogText
	{
		font-size:130%;
	}
	#vocabularyList{
		font-size:130%;
	}
	input[type="button"] {
		margin-bottom:10px;
	}	

	a.movePageButton {
		margin-bottom:10px;
	}
	#navis>span:first-child span{
		display:none;
	}
}



