@font-face {
	font-family: 'arrows';
	src:url('../fonts/arrows/arrows.eot');
	src:url('../fonts/arrows/arrows.eot?#iefix') format('embedded-opentype'),
		url('../fonts/arrows/arrows.woff') format('woff'),
		url('../fonts/arrows/arrows.ttf') format('truetype'),
		url('../fonts/arrows/arrows.svg#arrows') format('svg');
	font-style: normal;
}

body {
	padding: 0 !important;  /* 「アンカー広告」がページを押し下げないように指定 */
}

.prob-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
}

.prob-wrapper .bb-bookblock {
	width: 100%;
	height: 100%;
	-webkit-perspective: 2000px;
	perspective: 2000px;
}

.prob-side {
	width: 50%;
	float: left;
	height: 100%;
	overflow: hidden;
	background: #fff;
	/* Centering with flexbox */
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	-moz-box-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-moz-box-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.prob-firstpage h1 {
	font-size: 2.625em;
	line-height: 1.3;
	margin: 0;
	font-weight: 300;
	background: #fff;
}

.prob-firstpage h1 span {
	display: block;
	font-size: 60%;
	opacity: 0.3;
	padding: 0 0 0.6em 0.1em;
}

.prob-firstpage {
	text-align: center;
	padding-top: 10%;
	width: 50%;
	float: left;
	height: 100%;
}

.prob-allpage {
	text-align: center;
	padding-top: 0%;
	width: 100%;
	float: left;
	height: 100%;
}

.prob-toppage-title {
	text-align: center;
	padding-top: 20px;
	padding-left:3%;
	padding-right:3%;
	width: 100%;
	float: left;
	height: 100%;
	color:white;
	background: #26d;
}

.prob-toppage-title2 {
	text-align: center;
	padding-top: 20px;
	padding-left:3%;
	padding-right:3%;
	width: 100%;
	float: left;
	height: 100%;
	color:white;
	background: #07c;
}



.prob-endpage {
	text-align: center;
	padding-top: 20px;
	width: 100%;
	float: left;
	height: 100%;
	background:#259;
}

.prob-endpage #end {
	margin-top:40px;
}

.prob-probpage-title {
	text-align: center;
	padding-top: 20px;
	padding-left:5%;
	padding-right:5%;
	width: 100%;
	float: left;
	height: 100%;
	background: #07c;
	padding-bottom:1em;
}

.prob-anspage-title {
	text-align: center;
	padding-top: 20px;
	padding-left:5%;
	padding-right:5%;
	width: 100%;
	float: left;
	height: 100%;
	background:#080;
	color:white;
}

.prob-side p {
	padding: 8%;
	font-size: 1.8em;
	font-weight: 300;
}

.prob-wrapper h3 {
	font-size: 1.4em;
	font-weight: 300;
	margin: 0.4em 0 1em;
}


.prob-icon:before {
	font-family: 'arrows';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 30px;
	line-height: 40px;
	display: block;
	-webkit-font-smoothing: antialiased;
}

.prob-icon-first:before,
.prob-icon-last:before {
	content: "\e002";
}

.prob-icon-arrow-left:before,
.prob-icon-arrow-right:before {
	content: "\e003";
}

.prob-icon-arrow-left:before,
.prob-icon-first:before {
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}


/* No JS */
.no-js .prob-wrapper {
	height: auto;
}

.no-js .prob-content {
	height: 470px;
}

.pr1 {
	text-align:left;
	border: solid 1px #fff;
	background:#259;
	padding:0.5em;
	margin-top:0.5em;
	line-height:160%;
}

.pr2 {
	text-align:left;
	border: solid 1px #fff;
	background:#259;
	padding:0.5em;
	margin-top:0.5em;
	line-height:160%;
}

.probbox .pr1 {
	border: solid 1px #fff;
	background:#295;
	padding:0.5em;
	margin-top:0.5em;
}

.probbox .pr2 {
	text-align:left;
	border: solid 1px #fff;
	background:#295;
	padding:0.5em;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

.pr1 p, .pr2 p, .probbox .pr1 p, .probbox .pr1 p {
	font-size:90%;
	text-align:left;
}

.ar1 {
	border: solid 1px #fff;
	background:#295;
	padding:0.5em;
	margin-top:0.5em;
}

.ar2 {
	text-align:left;
	border: solid 1px #fff;
	background:#295;
	padding:0.5em;
	margin-top:0.5em;
	margin-bottom:0.5em;
}

.pr2 ol, .pr2 ul, .ar2 ol, .ar2 ul{
	margin-bottom:0px;
}

.al {
	list-style-type: upper-alpha;
}

.als {
	list-style-type: lower-alpha;
}

.kakko {
	border: solid 1px #fff;
	padding: 1px 1em;
	margin: 0px 5px;
}

.small {
	font-size:90%;
	text-align:left;
}

.small p {
	margin-top:1em;
	font-size:90%;
}

.gimg {
	margin-top:1em;
	width:100%;
}

.TS1 {
	margin:0.5em 0;
	font-size:80%;
}

.sub {
	margin-top:0.5em;
	padding:0.3em;
	background:#358;
	color:#eef;
	font-size:80%;
}

.ansbox {
	position: relative;
	margin-top:1em;
    padding: 0.5em 1em;
	border: solid 1px #fff;
    border-radius: 2px;
}
.ansbox .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 2px 9px;
    line-height: 1;
    font-size: 19px;
    background: #080;
    color: #fff;
    font-weight: bold;
}
.ansbox p {
    margin: 0; 
	padding: 0;
	font-size:1em;
}

.probbox {
	position: relative;
	margin-top:2em;
    padding: 0.5em 1em;
	border: solid 1px #fff;
	border-radius: 2px;
}
.probbox .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 2px 9px;
    line-height: 1;
    font-size: 0.7em;
    background: #080;
    color: #fff;
    font-weight: bold;
}

.probbox p {
    margin: 0; 
	padding: 0;
	font-size:0.7em;
}

.probbox .b1, .probbox .b2 {
	margin-bottom:1em;
	font-size:0.7em;
}

.probbox .ar1, .probbox .ar2, .probbox .pr1, .probbox .pr2, .probbox .TA1 .TR1 .TD1 {
	font-size:0.7em;
}

.TBOX {
	overflow:auto;
}
.TA1 {
	margin-top:1em;
	margin-right:1em;
	border:2px solid #fff;
}

.TD1 {
	padding: 4px;
	border:2px solid #fff;
	font-size:80%;
}

#float-menu {
    position: relative;
    width: 100px;
    height: 470px;
    margin-left: 110px;
    display: block;
    border: #e0e0e0 1px solid;
    z-index: 2;
	background-color: red;
	
}

.prob-startpage-title {
	text-align: center;
	padding-top: 20px;
	width: 100%;
	float: left;
	height: 100%;
	background: #66a;
	overflow:auto;
}

.prob-wrapper > navtsw {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 5px;
	left:5px;
	margin-top:2px;
	z-index: 1000;
	text-align: center;
}
.prob-wrapper > navt {
	width: 100%;
	height: 100px;
	position: absolute;
	left:0px;
	top: 0px;
	z-index: 900;
}
.prob-wrapper > navt .rectLeft {
	width: 40px;
	height: 40px;
	position:absolute;
	left:5px;
	top:70px;
	border-radius: 2px;
	background: #1baede;
	color: #fff;
	font-size: 0;
}
.prob-wrapper > navt .rectRight {
	width: 40px;
	height: 40px;
	position:absolute;
	right:5px;
	top:70px;
	border-radius: 2px;
	background: #1baede;
	color: #fff;
	font-size: 0;
}

.prob-wrapper > navt .rectExit {
	width: 40px;
	height: 40px;
	position:absolute;
	left:70px;
	top:5px;
	border-radius: 2px;
	color: #fff;
	font-size: 0;
	margin: 2px;
	margin-left:20px;
}

.prob-wrapper > navtssw {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 5px;
	left:5px;
	margin-top:2px;
	z-index: 1000;
	text-align: center;
}

.prob-wrapper > navts {
	width: 100%;
	height: 100px;
	position: absolute;
	top: 0px;
	left:0px;
	z-index: 900;
}
.prob-wrapper > navts .rectLeft {
	position: absolute;
	width: 40px;
	height: 40px;
	left:5px;
	top:70px;
	border-radius: 2px;
	background: #1baede;
	color: #fff;
	font-size: 0;
}
.prob-wrapper > navts .rectRight {
	position: absolute;
	width: 40px;
	height: 40px;
	right:5px;
	top:70px;
	border-radius: 2px;
	background: #1baede;
	color: #fff;
	font-size: 0;
}
.prob-wrapper > navts .rectNo {
	position: absolute;
	width: 40px;
	height: 40px;
	right:5px;
	top:120px;
	border-radius: 2px;
	background: #1baede;
	color: #fff;
	font-size: 0;
}
.prob-wrapper > navts .rectExit {
	position: absolute;
	width: 40px;
	height: 40px;
	left:70px;
	top:5px;
	border-radius: 2px;
	color: #fff;
	font-size: 0;
	margin: 2px;
}

#proborder {
	margin-left:20px;
	padding:5px;
}

pre {
	color:#fff;
}

.container {
	max-width:100%;
	background:#07c;
	overflow-y : scroll;
}

.container.ans {
	background:#080;
}

.container.top {
	background:#40a;
}

.container.start {
	background: #66a;
}

.prob-sp
{
	margin-right:2em;
}

#top_box {
	width:300px;
	margin:0 auto;
	text-align:left;
	border: 3px solid #fff;
	padding:1em;
	border-radius: 10px;        /* CSS3草案 */  
    -webkit-border-radius: 10px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 10px;   /* Firefox用 */  
}

.ret-box {
	margin-top:1em;
}

.box48 {
	border: 2px solid #fff;
	background:#fff;
	border-radius: 5px;        /* CSS3草案 */  
    -webkit-border-radius: 5px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 5px;   /* Firefox用 */
}

.qbox48 {
	margin-left:2em;
}

#startblock {
	width:100%;
	text-align:center;
	padding-top:1em;
	margin-bottom:1em;
	font-size:80%;
}
#startblock .small {
	font-size:60%;
	text-align:center;
}
#starthelp {
	color:white;
	margin:0 auto;
	border:solid 2px #fff;
	width:50%;
}
#starthelp tr td {
	padding:5px;
}

.howto {
	color:white;
	margin:1em auto;
	border:solid 2px #fff;
	width:80%;
	padding:1em;
	text-align:left;
}
.howto p {
	margin-bottom:1em;
}
.howto .cntr {
	text-align:center;
}
.cntr {
	margin-top:1em;
	margin-bottom:1em;
}
.mugen {
	color:#ffaaaa;
	font-weight:900;
	font-size:120%;
	margin-left: 5px;
	margin-right:5px;
}

/*====================
{{スマホを基本設計にする}}
 - 〜479px：SP縦
 - 480px〜599px：SP横
 - 600px〜959px：タブレット
 - 960px〜1279px：小型PC
 - 1280px〜：大型PC
====================*/




#modal_random{
	color:#000;
}



@media screen and (max-width: 61.75em){
	.prob-side {
		font-size: 70%;
	}
}

@media screen and (max-width: 33em){
	.prob-side {
		font-size: 60%;
	}
}

/* 〜479px：SP縦
------------------------------ */
h1 {
	font-size: 1.6em;
	line-height: 1.9;
	margin: 0;
	font-weight: 700;
	color: #fff;
}

h2 {
	font-size: 1.5em;
	line-height: 1.9;
	margin: 0;
	font-weight: 700;
	color: #fff;
}

p {
	font-size: 1.5em;
	line-height: 1.3;
	margin: 0;
	color: #fff;
	margin-top:5px;
}

a {
	color: #fff;
}

a:hover {
	color: #1bdeae;
	opacity:0.8;
}

#top_title {
	margin-top:10px;
}

#top_title2 {
	margin-bottom:1.5em;
}

#top_1 {
}

#top_2 {
	margin-bottom:20px;
}
#start {
	margin-top:0px;
}
#prob, #ans{
	margin-top:30px;
}

.copyright {
	left:10px;
	top:5px;
	text-align:right;
	margin-right:10px;
	font-size:1em;
	color:white;
}

.icon1 {
	margin-right:1em;
	padding:5px;
}

/* 飾り */
.box1 {
    position: relative;
	margin-left: 10px;
	margin-right: 10px;
    padding: 10px 10px 7px;
	border: solid 2px #FFC107;
}
.box1 p {
    margin: 0; 
    padding: 0;
}

.box2 {
    position: relative;
	margin-left: 10px;
	margin-right: 10px;
    padding: 10px 10px 7px;
	border: solid 2px #81aa07;
	margin-top:10px;
}
.box2 p {
    margin: 0; 
    padding: 0;
}
/* 480px〜599px：SP横
------------------------------ */
@media screen and (min-width:480px) and (max-width:599px) {
	h1 {
		font-size: 1.6em;
		line-height: 1.9;
		margin: 0;
		font-weight: 700;
		color: #fff;
	}
	
	h2 {
		font-size: 1.4em;
		line-height: 1.9;
		margin: 0;
		font-weight: 700;
		color: #fff;
	}
	
	p {
		font-size: 1.3em;
		line-height: 1.3;
		margin: 0;
		color: #fff;
	}
	
	a {
		color: #fff;
	}
	
	a:hover {
		color: #1bdeae;
        opacity:0.8;
    }
	
	#top_title {
		margin-top:0px;
	}
	#top_1 {
	}
	#top_2 {
		margin-top:20px;
	}
	#start {
		margin-top:0px;
	}
	#prob, #ans{
		margin-top:30px;
	}
	.copyright {
		left:10px;
		top:5px;
		text-align:right;
		margin-right:10px;
		font-size:1em;
		color:white;
	}
	
/* 飾り */
	.box1 {
	    position: relative;
	    padding: 10px 10px 7px;
		border: solid 2px #FFC107;
		margin-left: 10px;
		margin-right: 10px;
	}
	.box1 p {
	    margin: 0; 
	    padding: 0;
	}
	.box2 {
		position: relative;
		margin-left: 10px;
		margin-right: 10px;
			padding: 10px 10px 7px;
		border: solid 2px #81aa07;
		margin-top:10px;
	}
	.box2 p {
		margin: 0; 
		padding: 0;
	}
}
/* 600px〜959px：タブレット
------------------------------ */
@media screen and (min-width:600px) and (max-width:959px) {
    h1 {
        font-size: 1.8em;
        line-height: 1.9;
        margin: 0;
        font-weight: 700;
        color: #fff;
    }
    
    h2 {
        font-size: 1.5em;
        line-height: 1.9;
        margin: 0;
        font-weight: 700;
        color: #fff;
    }
    
    p {
        font-size: 1.5em;
        line-height: 1.3;
        margin: 0;
        color: #fff;
    }
    
    a {
        color: #fff;
    }
    
    a:hover {
		color: #1bdeae;
        opacity:0.8;
    }
    
	#top_title{
		margin-top:30px;
	}
	#top_title2 {
		margin-bottom:2.0em;
	}
	
	#top_1 {
	}
	#top_2 {
		margin-top:20px;
	}
	#prob, #ans{
		margin-top:50px;
	}
	.copyright {
		left:10px;
		top:10px;
		text-align:right;
		margin-right:10px;
		font-size:1em;
		color:white;
	}
	
/* 飾り */
.box1 {
    position: relative;
    padding: 25px 10px 7px;
	border: solid 2px #FFC107;
	width:80%;
	margin: 0 auto;
}
.box1 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #FFC107;
    color: #ffffff;
    font-weight: bold;
}
.box1 p {
    margin: 0; 
    padding: 0;
}
	.box2 {
		position: relative;
		width:80%;
		margin: 0 auto;
		padding: 25px 10px 7px;
		border: solid 2px #81aa07;
		margin-top:10px;
	}
	.box2 .box-title {
		position: absolute;
		display: inline-block;
		top: -2px;
		left: -2px;
		padding: 0 9px;
		height: 25px;
		line-height: 25px;
		font-size: 17px;
		background: #81aa07;
		color: #ffffff;
		font-weight: bold;
	}
	.box2 p {
		margin: 0; 
		padding: 0;
    }
    #probn {
		margin-top:10%;
		margin-bottom:30px;
	}
	#ansn {
		margin-top:10%;
		margin-bottom:30px;
	}
    #end {
		margin-top:10%;
		margin-bottom:30px;
	}
	#endmsg {
		margin-top:10%;
		margin-bottom:30px;
	}
}
/* 960px〜1279px：小型PC
------------------------------ */
@media screen and (min-width:960px) and (max-width:1279px) {
    h1 {
        font-size: 1.9em;
        line-height: 1.9;
        margin: 0;
        font-weight: 700;
        color: #fff;
    }
    
    h2 {
        font-size: 1.6em;
        line-height: 1.9;
        margin: 0;
        font-weight: 700;
        color: #fff;
    }
    
    p {
        font-size: 1.5em;
        line-height: 1.3;
        margin: 0;
        color: #fff;
    }
    
    a {
        color: #fff;
    }
    
    a:hover {
		color: #1bdeae;
        opacity:0.8;
    }
    
	#top_title{
		margin-top:40px;
	}
	#top_title2 {
		margin-bottom:2.5em;
	}
	#top_1 {
	}
	#top_2 {
		margin-top:20px;
	}
	#prob, #ans{
		margin-top:50px;
	}
	.copyright {
		left:10px;
		top:10px;
		text-align:right;
		margin-right:10px;
		font-size:1em;
		color:white;
	}

	
	/* 飾り */
.box1 {
    position: relative;
    padding: 25px 10px 7px;
	border: solid 2px #FFC107;
	width:50%;
	margin: 0 auto;
}
.box1 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #FFC107;
    color: #ffffff;
    font-weight: bold;
}
.box1 p {
    margin: 0; 
    padding: 0;
}
	.box2 {
		position: relative;
		width:50%;
		margin: 0 auto;
		padding: 25px 10px 7px;
		border: solid 2px #81aa07;
		margin-top:10px;
	}
	.box2 .box-title {
		position: absolute;
		display: inline-block;
		top: -2px;
		left: -2px;
		padding: 0 9px;
		height: 25px;
		line-height: 25px;
		font-size: 17px;
		background: #81aa07;
		color: #ffffff;
		font-weight: bold;
	}
	.box2 p {
		margin: 0; 
		padding: 0;
    }
    #probn {
		margin-top:10%;
		margin-bottom:30px;
	}
	#ansn {
		margin-top:10%;
		margin-bottom:30px;
	}
    #end {
		margin-top:10%;
		margin-bottom:30px;
	}
	#endmsg {
		margin-top:10%;
		margin-bottom:30px;
	}
}
/* 1280px〜：大型PC
------------------------------ */
@media screen and (min-width:1280px) {
    h1 {
        font-size: 1.8em;
        line-height: 1.9;
        margin: 0;
        font-weight: 700;
        color: #fff;
    }
    
    h2 {
        font-size: 1.5em;
        line-height: 1.9;
        margin: 0;
        font-weight: 700;
        color: #fff;
    }
    
    p {
        font-size: 1.5em;
        line-height: 1.3;
        margin: 0;
        color: #fff;
    }
    
    a {
        color: #fff;
    }
    
    a:hover {
		color: #1bdeae;
        opacity:0.8;
    }
    
	#top_title{
		margin-top:40px;
	}
	#top_title2 {
		margin-bottom:2.6em;
	}

	#top_1 {
	}
	#top_2 {
		margin-top:20px;
	}
	#prob, #ans{
		margin-top:50px;
	}
	.copyright {
		left:10px;
		top:10px;
		text-align:right;
		margin-right:10px;
		font-size:1em;
		color:white;
	}
	
/* 飾り */
.box1 {
    position: relative;
    padding: 25px 10px 7px;
	border: solid 2px #FFC107;
	width:50%;
	margin: 0 auto;
}
.box1 .box-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #FFC107;
    color: #ffffff;
    font-weight: bold;
}
.box1 p {
    margin: 0; 
    padding: 0;
}
	.box2 {
		position: relative;
		width:50%;
		margin: 0 auto;
		padding: 25px 10px 7px;
		border: solid 2px #81aa07;
		margin-top:10px;
	}
	.box2 .box-title {
		position: absolute;
		display: inline-block;
		top: -2px;
		left: -2px;
		padding: 0 9px;
		height: 25px;
		line-height: 25px;
		font-size: 17px;
		background: #81aa07;
		color: #ffffff;
		font-weight: bold;
	}
	.box2 p {
		margin: 0; 
		padding: 0;
    }
    #probn {
		margin-top:10%;
		margin-bottom:30px;
	}
	#ansn {
		margin-top:10%;
		margin-bottom:30px;
	}
    #end {
		margin-top:10%;
		margin-bottom:30px;
	}
	#endmsg {
		margin-top:10%;
		margin-bottom:30px;
	}
}
@media screen and (orientation: landscape) {
	/* 横向きの場合のスタイル */

	.nav-box{
		display:flex;
		margin:0 auto;
		width:480px;
	}
	
	.s_b{
	}

	.order1 {
		order: 1;
	  }
	  .order2 {
		order: 2;
	  }
	  .order3 {
		order: 3;
	  }
	  .order4 {
		order: 4;
	  }
	  .order5 {
		order: 5;
	  }
	  .order6 {
		order: 6;
	  }
	  .order7 {
		order: 7;
	  }
	  .order8 {
		order: 8;
	  }
	
	.prob-wrapper > nav {
		width: 100%;
		height: 40px;
		margin: 1em auto 0;
		position: fixed;
		bottom: 20px;
		z-index: 1000;
		text-align: center;
	}


	.prob-wrapper > nav .rect {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1baede;
		color: #fff;
		font-size: 0;
		margin: 2px;
	}

	.prob-wrapper > nav .rectFirst {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1baede;
		color: #fff;
		font-size: 0;
		margin: 2px;
		margin-Right:20px;
	}
	
	.prob-wrapper > nav .rectLast {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		color: #fff;
		font-size: 0;
		margin: 2px;
		margin-left:20px;
	}

	.prob-wrapper > nav .rectExit {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		color: #fff;
		font-size: 0;
		margin: 2px;
		margin-left:20px;
	}


	.prob-wrapper > nav .rectAP {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1b8040;
		color: #fff;
		font-size: 0;
		margin: 2px;
	}
	
	.prob-wrapper > nav .rectAS {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1bdeae;
		color: #fff;
		font-size: 0;
		margin: 2px;
	}

	.prob-wrapper > nav .rectsok {
		display: inline-block;
		width: 80px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1baede;
		color: #fff;
		font-size: 0;
		margin: 2px;
		margin-left:10px;
	}

	.prob-wrapper > nav .rectsno {
		display: inline-block;
		width: 80px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1baede;
		color: #fff;
		font-size: 0;
		margin: 2px;
	}

	.prob-wrapper > nav a:hover {
		opacity: 0.6;
		color: #1bdeae;	
	}
}
@media screen and (orientation: portrait) {
	/* 縦向きの場合のスタイル */

	.nav-box{
		display:flex;
		margin:0 auto;
		height:88px;
		width:300px;
		flex-wrap: wrap;
	}

	.s_b{
		display:inline-block;
		margin:0 auto;
		width:130px;
		height:44px;
		padding-bottom:0px;
	}

	.order1 {
		order: 1;
	  }
	  .order2 {
		order: 2;
	  }
	  .order3 {
		order: 3;
	  }
	  .order4 {
		order: 4;
	  }
	  .order5 {
		order: 5;
	  }
	  .order6 {
		order: 7;
	  }
	  .order7 {
		order: 6;
	  }
	  .order8 {
		order: 8;
	  }

	  .prob-wrapper > nav {
		width: 100%;
		margin: 1em auto 0;
		position: fixed;
		bottom: 20px;
		z-index: 1000;
		text-align: center;
	}
	
	.prob-wrapper > nav .rect {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1baede;
		color: #fff;
		font-size: 0;
		margin: 2px;
	}
	
	.prob-wrapper > nav .rectFirst {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1baede;
		color: #fff;
		font-size: 0;
		margin: 2px;
		margin-Right:20px;
	}
	
	.prob-wrapper > nav .rectLast {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		color: #fff;
		font-size: 0;
		margin: 2px;
		margin-left:20px;
	}

	.prob-wrapper > nav .rectAP {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1b8040;
		color: #fff;
		font-size: 0;
		margin: 2px;
	}
	
	.prob-wrapper > nav .rectAS {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1bdeae;
		color: #fff;
		font-size: 0;
		margin: 2px;
	}

	.prob-wrapper > nav .rectExit {
		display: inline-block;
		width: 40px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		font-size: 0;
		margin: 2px;
	}

	.prob-wrapper > nav .rectsok {
		display: inline-block;
		width: 80px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1baede;
		color: #fff;
		font-size: 0;
		margin: 2px;
		margin-left:10px;
	}

	.prob-wrapper > nav .rectsno {
		display: inline-block;
		width: 80px;
		height: 40px;
		text-align: center;
		border-radius: 2px;
		background: #1baede;
		color: #fff;
		font-size: 0;
		margin: 2px;
		margin-left:10px;
		margin-right:10px;
	}

	.prob-wrapper > nav a:hover {
		opacity: 0.6;
		color: #1bdeae;	
	}
	
	#probn {
		margin-top:10%;
		margin-bottom:30px;
	}
	#ansn {
		margin-top:10%;
		margin-bottom:30px;
    }
	#end {
		margin-top:10%;
		margin-bottom:30px;
	}
	#endmsg {
		margin-top:10%;
		margin-bottom:30px;
    }
    #start {
        margin-top:10%;
    }
    
}
