@charset "utf-8";
:root {
  --base-color : #394862;
  --emphasis-color: #394862;
  --emphasis-text-color: white;
  --bg-color: #394862;
  --bg-color2: #231f20;
  --ets-color: white;
}

* {
	font-family: "Open Sans", "Noto Sans JP", Arial;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 400;
	margin: 0;
	padding: 0;
	user-select: none;
	opacity: 1;
}
html {
}
body {
  background-color: var(--bg-color2);
}
img {
	vertical-align: top;
}
span.bold-text {
	font-weight: bold;
}
.error_message {
	color: red;
	font-weight: bold;
}
.button-area {
	margin: 0.8em auto;
}
.button {
	cursor: pointer;
	padding: 2px 4px;
	border-radius: 5px;
}
.text-bold {
	font-weight: bold;
}




/* Header&Footer */
#main-header {
}
.start-page {
	background-color: white;
}
header {
	width: 1140px;
	height: 60px;
	margin: 0 auto;
}
header #main-logo {
	float: left;
	margin-top: 10px;
}
header #main-logo img {
	height: 30px;
	padding-top: 5px;
}
header #control-area {
	float: right;
	margin-top: 20px;
	margin-right: 30px;
}
header #control-area a {
	background-color: #eeeeee;
	padding: 5px 10px;
	border-radius: 10px;
	text-decoration: none;
	margin-right: 5px;
	color: #000000;
}
header #control-area a.disable {
	background-color: #666666;
	color: #999999;
}
footer {
	width: 1140px;
	margin: 0 auto;
	padding-top: 5px;
	color: var(--ets-color);
	text-align: center;
	font-size: 12px;
}
#footer-area{
}


/* Index */
body#top-index {
	background-color: var(--bg-color);

}
#main-title-area {
	background-color: var(--bg-color);
}
#main-title {
	width: 1024px;
	min-height: 788px;
	margin: 0 auto;
	background-image: url('../images/main-title.png');
}
#login {
	padding-top: 470px;
	text-align: center;
}
#login table {
	width: 512px;
	margin: 0 auto;
}
#login table th {
	width: 40%;
	color: white;
	text-align: right;
	padding-right: 1em;
}
#login table td {
	width: 60%;
	text-align: left;
}
#login table td input {
	width: 70%;
	padding: 2px;
}
#login div.button {
	margin-bottom: 1em;
}
#login div.button input {
	padding: 2px 6px ;
	border-radius: 5px;
}
#login a {
	color: white;
}

#activate {
	padding-top: 430px;
	text-align: center;
}
#activate table {
	width: 512px;
	margin: 0 auto;
}
#activate table caption {
	color: white;
	margin-bottom: 1em;
}
#activate table th {
	width: 45%;
	color: white;
	text-align: right;
	padding-right: 1em;
}
#activate table td {
	width: 55%;
	text-align: left;
}
#activate table td input {
	width: 70%;
	padding: 2px;
}
#activate div.button {
	margin-bottom: 1em;
}
#activate div.button input {
	padding: 2px 6px ;
	border-radius: 5px;
}
#activate p {
	color: white;
	margin-bottom: 1em;
}
#activate a {
	color: white;
}

.start-button1 {
	padding-top: 410px;
	text-align: center;
}
.start-button1 p {
	color:white;
	width: 400px;
	margin: 0 auto;
	text-align: left;
	font-weight: normal;
	font-size: 14px;
}
.start-button1 a {
	font-size: 18px;
	font-weight: bold;
	border: solid 1px black;
	border-radius: 25px;
	background-color: #809980;
	padding: 5px 20px;
	text-decoration: none;
	color: #ffffff;
	display:inline-block;
	width: 250px;
}
.start-button1 a:hover {
	background-color: #99cc99;
}

.start-button2 {
	padding-top: 10px;
	text-align: center;
}
.start-button2 p {
	color:white;
	width: 400px;
	margin: 0 auto;
	text-align: left;
	font-weight: normal;
	font-size: 14px;
}
.start-button2 a {
	font-size: 18px;
	font-weight: bold;
	border: solid 1px black;
	border-radius: 25px;
	background-color: #808080;
	padding: 5px 20px;
	text-decoration: none;
	color: #ffffff;
	display:inline-block;
	width: 250px;
}
.start-button2 a:hover {
	background-color: #999999;
}
.start-button3 {
	padding-top: 10px;
	text-align: center;
}
.start-button3 p {
	color:white;
	width: 400px;
	margin: 0 auto;
	text-align: left;
	font-weight: normal;
	font-size: 14px;
}
.start-button3 a {
	font-size: 18px;
	font-weight: bold;
	border: solid 1px black;
	border-radius: 25px;
	background-color: #808080;
	padding: 5px 20px;
	text-decoration: none;
	color: #ffffff;
	display:inline-block;
	width: 250px;
}
.start-button3 a:hover {
	background-color: #999999;
}
.start-button4 {
	padding-top: 10px;
	text-align: center;
}
.start-button4 p {
	color:white;
	width: 400px;
	margin: 0 auto;
	text-align: left;
	font-weight: normal;
	font-size: 14px;
}
.start-button4 a {
	font-size: 18px;
	font-weight: bold;
	border: solid 1px black;
	border-radius: 25px;
	background-color: #998080;
	padding: 5px 20px;
	text-decoration: none;
	color: #ffffff;
	display:inline-block;
	width: 250px;
}
.start-button4 a:hover {
	background-color: #cc9999;
}
.mypage-button {
	padding-top: 30px;
	text-align: center;
}
.mypage-button a {
	font-size: 20px;
	font-weight: bold;
	border: solid 1px black;
	border-radius: 25px;
	background-color: lightgray;
	padding: 5px 20px;
	text-decoration: none;
	color: black;
}


/* main */
#main-container {
	width: 1024px;
	height: 788px;
	margin: 0 auto;
	box-sizing: border-box;
	border:solid 1px black; /* debug*/
	background-color: white;
}
#section-title {
	background-color: #eeeeee;
	height:30px;
}
#section-area {
	float: left;
	margin: 2px auto auto 5px;
}
#timer-area {
	float: right;
	margin: 2px 5px auto auto;
	font-size: 20px;
	font-weight: bold;
}


/* menu-page */
#preface {
	width: 850px;
	margin: 0.75em auto;
	padding: 0.5em;
/*	background-color: #fffff0;	/* debug */
/*	height: 4em; /* debug */
}
#menu {
	width: 720px;
	margin: 1em auto;
}
#menu .tab-area {
	width: 100%;
	display: flex;
}

#menu .tab {
	width: 144px;
	background-color: #999999;
	text-align: center;
	padding: 5px 0;
/*	float:left;*/
	color: #ffffff;
	text-decoration: none;
}
#menu .tabdefault {
	background-color: var(--emphasis-color);
}
.tab a{
	color: #ffffff;
	text-decoration: none;
}
#set2tab,#set3tab,#set4tab,#set5tab {
	background-color: #999999;
}
#set2table,#set3table,#set4table,#set5table {
	display: none;
}
.table-area {
	width: 720px;
	overflow-y: scroll;
	overflow-x: hidden;
	max-height: 510px;
}

table.menu-table {
	width: 705px;
	border-collapse: collapse;
	clear: both;
}
table.menu-table tr {
	border-collapse: collapse;
}
table.menu-table td {
	padding: 0.25em 1em;
	border: solid 1px #666666;
	border-collapse: collapse;
}
table.menu-table td:nth-of-type(1) {
  width: 250px;
}

table.menu-table a {
	color: #0000ff;
}
table.menu-table td>span.notactive {
	color: #b0b0b0;
}
#actual-start {
	text-align: center;
	margin: 1em;
}
#actual-start input {
	font-size: 24px;
	font-weight: bold;
	padding: 0px 15px;
	border-radius: 10px;
}
.logout {
	text-align: center;
	padding-top: 1em;
}
.logout a {
	color: white;
}


.pdf-button, 
.pdf-button2 {
	padding-top: 10px;
}
.pdf-button p,
.pdf-button2 p {
	color:white;
	width: 400px;
	margin: 0 auto;
	text-align: left;
	font-weight: normal;
	font-size: 14px;
}
.pdf-button a,
.pdf-button2 a {
	font-size: 18px;
	font-weight: bold;
	border: solid 1px black;
	border-radius: 25px;
	background-color: var(--base-color);
	padding: 5px 20px;
	text-decoration: none;
	color: #ffffff;
	display:inline-block;
	width: 275px;
}
.pdf-button2 a {
	width: auto;
}
.pdf-button a:hover,
.pdf-button2 a:hover {
	background-color: #004c6e;
}







/* content */


.bg-yellow {
	background-color: #ffff66;
}

#review-table table {
	width: 100%;
}

#review-table table,
#review-table tr,
#review-table td {
	border-collapse: collapse;
	border: solid 1px black;
	padding: 2px;
}
#review-table td.rev_no {
	width: 40px;
	font-size: 13px;
	text-align: center;
}
#review-table td.rev_question {
	width: 700px;
	font-size: 13px;
}
#review-table td.rev_answer {
	width: 12%;
	font-size: 13px;
	text-align: center;
}
#review-table td.res_no {
	width: 40px;
	font-size: 13px;
	text-align: center;
}
#review-table td.res_question {
	width: 700px;
	font-size: 13px;
}
#review-table td.res_answer {
	width: 80px;
	font-size: 13px;
	text-align: center;
}
#review-table td.res_question ul {
}
#review-table td.res_question li {
	font-size: 13px;
	margin-left: 3em;
}
dt.left {
	clear: both;
	float:left;
	font-size: 13px;
	font-weight: bold;
	width: 18%;
	text-align: right;
}
dd.right {
	float: right;
	width:78%;
	font-size: 13px;
}

table.score_detail td {
	padding: 2px;
	font-size: 13px;
}
table.score_detail td.score {
	width: 30px;
	text-align: center;
}



.bg-gray{
	background-color: #eeeeee;
}


.pre-time-text {
	width: 300px;
	margin: 3em auto 0 auto;
	padding-left:1em;
	background-color: #000000;
	color: #ffffff;
	font-weight: bold;
}
.res-time-text {
	width: 300px;
	margin: 1px auto 0 auto;
	padding-left:1em;
	background-color: #000000;
	color: #ffffff;
	font-weight: bold;
}


.writing-direction {
	border: solid 1px #000000;
	padding: 4px 8px;
	user-select: none;
}
.writing-question {
	border: solid 1px #000000;
	padding: 4px 8px;
	margin-bottom: 4px;
	user-select: none;
}

.right-content-writing {
	float: right;
	width: 500px;
	height: 628px;
	border: 1px solid #000000;
	overflow-y: scroll;
	padding: 4px;
	margin-top: -2px;
	user-select: none;
}
.left-content-writing {
	float: left;
	width: 510px;
	height: 636px;
	padding: 0;
	border: 1px solid #000000;
	margin-top: -2px;
}

.writing-ctrl-area {
	width: 490px;
	height: 40px;
	padding: 10px 10px 0 10px;
	background-color: #e0e0e0;
}
.write_btn {
	background-color: #0000a0;
	color: #ffffff;
	border-radius: 5px;
	padding: 4px;
	width:70px;
}
.word_cnt {
	float: right;
	padding-top: 15px;
}

.writing-area {
	width: 492px;
	height: 576px;
	overflow-y: scroll;
	resize: none;
	padding: 4px 8px;
}



.left-content-discussion {
	float: left;
	width: 434px;
	height: 730px;
	padding: 8px;
}
.right-content-discussion {
	float: right;
	width: 554px;
	height: 703px;
	padding: 8px;
}

.dr-question {
	margin-top: 5em;
}
.dr-name {
	font-weight: bold;
	text-decoration: underline;
}
.st-discussion {
}
.st-name {
	font-weight: bold;
	text-decoration: underline;
}
.discussion-text {
    text-indent: 1em;
    margin-bottom: 10px;
}

.discussion-write-area {
	width: 560px;
	border: solid 1px #000000;
	height: 436px;
}

.discussion-ctrl-area {
	width: 540px;
	height: 40px;
	padding: 10px 10px 0 10px;
	background-color: #e0e0e0;
}
.discussion-area {
	width: 542px;
	height: 376px;
	overflow-y: scroll;
	resize: none;
	padding: 4px 8px;
}





/* Mypage */
#mypage-container {
	width: 1024px;
	min-height: 750px;
	margin: 0 auto 20px auto;
	box-sizing: border-box;
	border:solid 1px black; /* debug*/
	padding-bottom: 20px;
	position: relative;
}
.inner-container{
	width: 900px;
	margin: 0 auto;
}
.ng-over{
	background-color: rgba(0,0,0,0.3);
}

table.result_list {
	width: 890px;
/*	margin-top: 20px;*/
/*	border: solid 1px #999999;*/
	border-collapse: collapse;
		box-sizing: border-box;

}
table.result_list caption {
	text-align: left;
	font-weight: bold;
	font-size: 20px;
}
table.result_list caption p {
	text-align: right;
}
.table_title {
	text-align: left;
	font-weight: bold;
	font-size: 20px;
	margin-top: 20px;
}
.table_caption {
	text-align: right;
	width: 890px;
}
.result_list_area {
	width: 910px;
	height: 10em;
	overflow-y: scroll;
}
table.result_list tr {
	font-weight: bold;
	border: solid 1px #999999;
	border-collapse: collapse;
	box-sizing: border-box;
}
table.result_list th {
	font-weight: bold;
	border: solid 1px #999999;
	border-collapse: collapse;
	padding: 2px 4px;
	font-size: 14px;
	box-sizing: border-box;
}
table.result_list td {
	border: solid 1px #999999;
	border-collapse: collapse;
	padding: 2px 4px;
	text-align: center;
	font-size: 14px;
	box-sizing: border-box;
}
table.result_list td a {
	font-size: 14px;
}
table.result_list th.r_mode,    table.result_list td.r_mode     {	width: 120px;	}
table.result_list th.r_testid,  table.result_list td.r_testid   {	width: 130px;	}
table.result_list th.r_datetime,table.result_list td.r_datetime {	width: 170px;	}
table.result_list th.r_read,    table.result_list td.r_read     {	width: 115px;	}
table.result_list th.r_listen,  table.result_list td.r_listen   {	width: 115px;	}
table.result_list th.r_write,   table.result_list td.r_write    {	width: 115px;	}
table.result_list th.r_speak,   table.result_list td.r_speak    {	width: 115px;	}

table.result_list th.spacer,
table.result_list td.spacer {
	width: 1px;
	padding: 0px;
}

.table_caption2 {
	text-align: right;
	width: 520px;
}
.table_caption2 span {
	font-weight: bold;
}
.request_result_area {
	width: 520px;
	height: 5em;
	overflow-y: scroll;
}

table.request_result {
	width: 500px;
/*	margin-top: 20px;*/
/*	border: solid 1px #999999;*/
	border-collapse: collapse;
}
table.request_result caption {
	text-align: left;
	font-weight: bold;
	font-size: 20px;
}
table.request_result caption p {
	text-align: right;
}
table.request_result caption span {
	font-weight: bold;
}
table.request_result tr {
	font-weight: bold;
	border: solid 1px #999999;
	border-collapse: collapse;
}
table.request_result th {
	font-weight: bold;
	border: solid 1px #999999;
	border-collapse: collapse;
	padding: 2px 4px;
	font-size: 14px;
}
table.request_result td {
	border: solid 1px #999999;
	border-collapse: collapse;
	padding: 2px 4px;
	text-align: center;
	font-size: 14px;
}
table.request_result th.rr1,table.request_result td.rr1 {		width: 200px;	}
table.request_result th.rr2,table.request_result td.rr2 {		width: 200px;	}
table.request_result th.rr3,table.request_result td.rr3 {		width:  80px;	}


table#scoring_request {
/*	width: 800px;*/
	margin-top: 20px;
/*	border: solid 1px #999999;*/
	border-collapse: collapse;
}
table#scoring_request caption {
	text-align: left;
	font-weight: bold;
	font-size: 20px;
}
table#scoring_request tr {
	font-weight: bold;
	border: solid 1px #999999;
	border-collapse: collapse;
}
table#scoring_request th {
	font-weight: bold;
	border: solid 1px #999999;
	border-collapse: collapse;
	padding: 2px 4px;
	text-align: left;
}
table#scoring_request td {
	border: solid 1px #999999;
	border-collapse: collapse;
	padding: 2px 4px 2px 2em;
	text-align: left;
}

.link {
	color: blue;
}
.back_link {
	margin-top: 20px;
	padding-left: 20px;
	bottom: 20px;
/*	position: absolute;*/
}





/* Request Form */

#form-container {
	width: 1024px;
	min-height: 750px;
	margin: 0 auto 20px auto;
	box-sizing: border-box;
	border:solid 1px black; /* debug*/
	padding-bottom: 20px;
	position: relative;
}
.form_caution {
  padding: 20px 50px;
}
#request_form {
	width: calc(766px - 4em);
	padding: 0 2em;
	border:solid 1px #ccc;
	margin: 0 auto;
	max-height: 600px;
	overflow-y: scroll;
}
#request_dl {
/*	width: 750px;*/
	margin: 0 auto;
}
#request_dl dt {
	font-weight: bold;
	padding-top: 1em;
}
#request_dl dd {
	padding-left: 5em;
}
#request_dl dd input#userid {
	width: 400px;
}
#request_dl dd input#testid {
	width: 200px;
}
#request_dl dd input#setno {
	width: 50px;
}
#request_dl dd input#task1,
#request_dl dd input#task2,
#request_dl dd input#task3,
#request_dl dd input#task4 {
	width: 500px;
}
#request_dl dd.textarea {
	margin-left: -2em;
}
#request_dl dd #write1,
#request_dl dd #write2 {
	margin-left: 2em;
	width: 400px;
	height: 100px;
}
#request_dl dd #write1:disabled,
#request_dl dd #write2:disabled {
	background-color: white;
	user-select: none;

}

input#writing_load {
	border: solid 1px #cccccc;
	background-color: white;
	color: blue;
	margin-left: 2em;
	cursor: pointer;
}

input#request_go {
	width: 300px;
	margin-left: 10em;
	margin-top: 2em;
	margin-bottom: 2em;
	padding-top: 4px;
	padding-bottom: 4px;
}
#send_error {
	padding-left: 10em;
}
