@charset "utf-8";
/* -----------------------------
 common.css
----------------------------- */

/* リセット */
@import url("./destyle.css");

/* ------------------------------
 general
------------------------------ */

/* ------------------------------
 basis
------------------------------ */
body {
	font-family: Yu Gothic, sans-serif;
	font-size: small;
	line-height: 150%;
	margin: 20px 4px;

}

header {
	width: 500px;
	max-width: 100%;
	margin: auto;
}

main {
	display: flex;
	justify-content: center;
	align-items: stretch;
}

article {
	order: 2;

	width: 500px;
	max-width: 100%;
	margin: 0px 10px;
}

aside#sub {
	order: 1;

	width: 160px;
	max-width: 100%;
}

aside#sub > div {
	margin-bottom: 5px;
	text-align: center;
}

aside#sub > div a {
	color: #0000ff;
}

aside#sub > div:nth-of-type(2) a {
	color: #990000;
}

aside#sub section {
	margin-bottom: 10px;
}

aside#sub section h3 {
	margin-bottom: 5px;
	padding: 2px;
	background-color: #006699;
	font-weight: bold;
	color: #FFFFFF;
}

aside#sub section button {
	margin-bottom: 3px;
	padding: 3px;
	width: 80px;
	border: 1px solid #A4A4A4;

	background: #fefefe; /* Old browsers */
	background: -moz-linear-gradient(top,  #fefefe 0%, #f0f0f0 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #fefefe 0%,#f0f0f0 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #fefefe 0%,#f0f0f0 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#f0f0f0',GradientType=0 ); /* IE6-9 */
}


aside#sub section nav dl dt a {
	font-weight: normal;
	color: #0000ff;
}

aside#sub section nav dl a:hover {
	background-color: #DDE4E6;
}

/* ------------------------------
aside#sub section nav dl dt:first-of-type {
	text-align: center;
}

aside#sub section nav dl dt:first-of-type a {
	color: #184575;
}
------------------------------ */




aside#sub section nav dl dt span {
	color: #990000;
}

aside#sub section nav dl dd:not(:last-of-type) {
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #A0A0A0;
}

aside#ads {
	order: 3;

	width: 160px;
	max-width: 100%;
}

footer {
display: flex;
flex-wrap: wrap;

padding: 10px;
padding-bottom: 0px;
border: 1px solid #666666;



	width: 840px;
	max-width: 100%;
	margin: auto;

	color: #666666;
}

footer > div {
	width: 50%;
	overflow: hidden;
}

footer div #f-bm {
	float: left;
	display: block;
	margin: 0px 10px 5px 0px;
	padding: 1px;
	width: 120px;
	border: 1px solid #666666;
	text-align: center;
	overflow: hidden;
}

footer div:first-child > p {
	float: left;
}

footer #copy {
	font-style: italic;
}

footer div:nth-of-type(2) div {
	float: right;
	width: 126px;
	text-align: center;
}


/* ------------------------------
 down
------------------------------ */
#down {
	padding: 10px;
	background-color: #FEEFB4;
}

#down .result {
	min-height: 150px;
	margin: 10px 0px;
	padding: 10px;
	border: 2px dotted #BFBFBF;
	background-color: #FFFFFF;
}

#down .result progress {
	width: 200px;
}

#down .result .progress {
	margin-left: 10px;
}

#down .result .bps {
	margin-left: 10px;
}

#down .result .answer {
	color: #FF0000;
}

#down button {
	padding: 7px 15px;
	border: 1px solid #000000;
	background-color: #CCCCCC;
	font-size: large;
}

#down button.progress {
	background-color: #FF0000;
}


/* ------------------------------
 up
------------------------------ */
#up {
	padding: 10px;
	background-color: #FEEFB4;
}

#up .result {
	min-height: 150px;
	margin: 10px 0px;
	padding: 10px;
	border: 2px dotted #BFBFBF;
	background-color: #FFFFFF;
}

#up .result progress {
	width: 200px;
}

#up .result .progress {
	margin-left: 10px;
}

#up .result .bps {
	margin-left: 10px;
}

#up .result .answer {
	color: #FF0000;
}

#up button {
	padding: 7px 15px;
	border: 1px solid #000000;
	background-color: #CCCCCC;
	font-size: large;
}

#up button.progress {
	background-color: #FF0000;
}