body{ 
	margin-right: auto;
	margin-left : auto;
	width:432px;
}

span   { font-size:14px; font-weight:bold; }
strong { color:#ff6699; font-weight:bold;}
div    { width:100%; height:100%; margin:3px;}

table {
	margin-top: 0px;
	margin-bottom: 0px;
}

#title { color:#59b1eb; }
#qns    { color:#cc00cc; }
#ans    { color:#6699ff; }
#qn2    { color:#000099; }
#an2    { color:#000099; }

.mainboard {
	width:  368px;
	border-collapse:separate;
	border-spacing:2px;
}

#leftside {
	width:  250px;
	vertical-align:top;
}

#rightside{
	width:  110px;
	vertical-align:top;
}

table.certification{
	margin: 0 auto;
	border: 2px solid #333;
	border-color: #59b1eb;
	color: #59b1eb;
	outline: none;
	font-size:14px;
	font-weight:bold;
}

table input {
  border: 2px solid #59b1eb;
  border-radius: 4px;   /* 角を丸くする場合 */
}

input:focus {
	outline: none;
	border: 2px solid #ff7f50;
	box-shadow: 0 0 4px rgba(255, 127, 80, 0.5);
}

table input[type="submit"] {
  color: #59b1eb;
}

input[type="submit"]:hover {
  color: #ff7f50;
  border: 2px solid #ff7f50;
	outline: none;
}

table.right{
	margin-left : auto ;
	margin-right : 0 ;
}

.box {
	border: 2px solid #333;
	border-color: #59b1eb;
	height:360px;
	padding:5px;
	word-break:break-all;
	word-rap:break-word;
	overflow-wrap:break-word;
}

.button {
	display: inline-block;
	width:  96px;
	height: 32px;
	text-align: center;
	text-decoration: none;
	line-height: 32px;
	background-color: #fff;
	border: 2px solid #333;
	border-color: #59b1eb;
	color: #59b1eb;
	outline: none;
	font-size:14px;
	font-weight:bold;
}
.button,
.button::before,
.button::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.button:hover {
	background-color: #59b1eb;
	color: #fff;
}

.switchbox {
	width: 100px;
}

.half {
	width:  45px;
}

.switch input {
    display: none;
}
.switch label {
    padding: 0px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
	border: 2px solid #333;
	border-color: #59b1eb;
}

.switch label:before {
    padding: 0px 10px;
    content: 'O N';
    background: #59b1eb;
    color: #fff;
}
.switch label:after {
    padding: 0px 10px;
    content: 'OFF';
    background: #fff;
    color: #59b1eb;
}
.switch input:checked + label:before {
    background: #fff;
    color: #59b1eb;
}
.switch input:checked + label:after {
    background: #59b1eb;
    color: #fff;
}
