@charset "utf-8";


a:link{color:#333; text-decoration:none;}
a:visited{color:#333;}
a:hover{color:#bf0d0d; text-decoration:none;}
a:active{color:#333;}

a.link{
	background:url(../img/cursor.png) no-repeat center left;
	padding-left:10px;
}

#head {
	background:#fff;
	padding:5px 2%;
	width:96%;
	z-index:99;
	border-bottom:1px solid #ddd;
	height:auto;
}

#head .inner {
	display:table;
	width:100%;
}

#head .inner div{
	display:table-cell;
	vertical-align:middle;
	width:33.33333%;
}

#head .inner div.txt br{
	display:none;
}


#head .inner div.logo{
	padding-top: 8px;
	text-align:center;
}

#frame {
	background:#fff;
	padding:15px 15px 0 15px;
	border:1px solid #ddd;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	text-align:center;
	line-height:1.5rem;
	margin: -193px 0 0 -400px;
	position: absolute; 
	top: 50%;
	left: 50%;
	width: 800px;
	overflow: hidden;
}

#frame .accessTxt {
	font-weight: bold;
	padding-bottom: 20px;
}

#frame_no {
	background:#fff;
	padding:15px;
	border:1px solid #ddd;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
	text-align:center;
	line-height:1.5rem;
	margin: -215px 0 0 -400px;
	position: absolute; 
	top: 50%;
	left: 50%;
	width: 800px;
	height: 430px;
}

#frame_no p{
	text-align:left;
	padding-bottom:25px;
}

#frame_no h1,
#frame h1 {
	background:#bf0d0d;
	font-size:1.2rem;
	color:#fff;
	font-weight:bold;
	padding:10px;
	margin-bottom:30px;
	width:100%;
	height:auto;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

#frame span {
	display:block;
	margin:20px 0 10px;
	font-size:1.2rem;
	font-weight:bold;
}
#frame span.red {
	color:#bf0d0d;
}
#frame #link {
	text-align:center;
	margin:20px 0;
	display:block;
}

#frame_no #link {
	text-align:center;
	margin:20px 0;
	display:block;
}

#frame #link a,
#frame_no #link a{
	background:#bf0d0d;
	color:#fff;
	padding:10px 40px;
	width:100px;
	margin:0 5px;
	-webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

#frame #link a{
	display: block;
	padding:10px;
	width:130px;
	text-align: center;
	font-size: .9rem;
}

#frame #link a:hover,
#frame_no #link a:hover{
	opacity:0.6;
}


#frame #link {
	width: 100%;
	overflow: hidden;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}


.boxinner {
	margin-top: 10px;
	overflow: hidden;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-box;
    display:-webkit-flexbox;
    display:-moz-flexbox;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:-ms-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}

#frame #link .yes {
	float: left;
	vertical-align: top;
	background: #eee;
	text-align: left;
	padding: 15px;
	position: relative;
	margin-right: 20px;
	width: 63%;
}

#frame #link .no {
	float: left;
	vertical-align: top;
	background: #eee;
	text-align: left;
	padding: 15px;
	position: relative;
	width: 26%;
}

#frame #link .no a {
	position: absolute;
	bottom: 30px;
	width: 175px;
}

#frame #link .yes p,
#frame #link .no p {
	font-weight: bold;
	font-size: 1.2rem;
}

#frame #link .yes p span,
#frame #link .no p span {
	display: inline;
	font-size: .9rem;
	padding-left: 15px;
	font-weight: 100;
}

#frame #link .yes .box {
	padding: 0 10px 10px 10px;
	overflow: hidden;
	float: left;
	text-align: center;
	color: #b22418;
}

#frame #link .yes a {
	border: 1px solid #bf0d0d;
	box-sizing: border-box;
	background: #fff;
	color: #bf0d0d;
}

#frame #link a i {
	font-size: 1.2rem;
	vertical-align: -1px;
	padding-right: 3px;
}

#frame #link .yes .box a {
	width: 150px;
}

#frame #link .yes a {
	float: left;
	margin: 10px 0 0 0;
}
#frame #link .yes .box a:nth-child(2) {
	margin-left: 5px;
}

#frame #link .yes .box a:nth-child(3) {
	margin-left: 5px;
}


@media only screen and (max-width: 980px){

#frame {
	margin: -245px 0 0 -305px;
	width: 610px;
	/*height: 490px;*/
}

#frame_no {
	margin: -205px 0 0 -305px;
	width: 610px;
	height: 450px;
}

#frame p,
#frame_no p {
	line-height:1.4rem;
	font-size:0.9rem;
}

#frame span {
	display:block;
	margin:20px 0;
	font-size:1.1rem;
	font-weight:bold;
}

#frame #link a{
	background:#bf0d0d;
	color:#fff;
	padding:10px 40px;
	width:100px;
	margin:0 5px;
	-webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
	

#frame #link .yes {
	float: none;
	text-align: left;
	padding: 15px;
	position: relative;
	margin-right: 0;
	width: 100%;
}

#frame #link .no {
	float: none;
	vertical-align: top;
	background: #eee;
	text-align: left;
	padding: 15px;
	position: relative;
	width: 100%;
	margin-top: 10px;
}

#frame #link .no a {
	position: relative;
	bottom: auto;
	width: 470px;
	margin: 10px 0 0;
}

#frame #link .yes p,
#frame #link .no p {
	font-weight: bold;
	font-size: 1.2rem;
}

#frame #link .yes p span,
#frame #link .no p span {
	display: inline;
	font-size: .9rem;
	padding-left: 15px;
	font-weight: 100;
}

#frame #link .yes .box {
	overflow: hidden;
	float: left;
	text-align: center;
	color: #b22418;
	padding: 0;
}

#frame #link .yes a {
	border: 1px solid #bf0d0d;
	box-sizing: border-box;
	background: #fff;
	color: #bf0d0d;
}

#frame #link .yes .box a {
	width: 160px;
}

#frame #link .yes .box a:nth-child(3) {
	width: 218px;
}

#frame #link .yes .box2 {
	float: left;
	position: relative;
	margin-left: 15px;
}

#frame #link .yes .box2 a {
	position: absolute;
	bottom: 15px;
	width: 175px;
	padding-left: 0;
	padding-right: 0;
}


}

@media only screen and (max-width: 640px){

#head .inner div.txt br{
	display:inherit;
}

#head .inner div{
	font-size:0.7rem;
}

#head .inner div.logo img{
	text-align:center;
	width:100px;
}

#head .inner div.menu img{
	width:40px;
}

#frame,
#frame_no{
	margin:20px 3% 0;
	position: relative; 
	top: auto;
	left: auto;
	width: 94%;
	height: auto;
}

#frame #link a{
	display:block;
	text-align:center;
	margin:0 auto 10px;
}

#frame #link .no a {
	width: 100%;
	box-sizing: border-box;
}

#frame #link .yes .box {
	width: 100%;
	overflow: hidden;
	text-align: center;
	color: #b22418;
}

#frame #link .yes a {
	border: 1px solid #bf0d0d;
	box-sizing: border-box;
	background: #fff;
	color: #bf0d0d;
	padding-left: 0px;
	padding-right: 0px;
}

#frame #link .yes .box a {
	width: 100%;
	margin-left: 0;
}

#frame #link .yes .box a:nth-child(2) {
	margin-left: 0;
}
#frame #link .yes .box a:nth-child(3) {
	width: 100%;
	margin-left: 0;
}

#frame #link .yes .box2 {
	float: none;
	width: 100%;
	position: relative;
	margin-left: 0;
}

#frame #link .yes .box2 a {
	position: inherit;
	bottom: auto;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

#frame #link .yes p span,
#frame #link .no p span {
	display: block;
	font-size: .8rem;
	padding: 0;
	margin: 0;
}

}