html{
	font-size: 62.5%;
	counter-reset: number 0;
}

body{
	background: #000;
	color: #fff;
	position: relative;
	font-family: source-han-sans-japanese, sans-serif;
	font-weight: 500;
    font-size:2rem;/* 16px*/
    line-height: 1.35;
	text-align: justify;
	height:100%;
}

body:before {
	content: "";
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-image:url("../images/common/bk.jpg");
	background-size: 100% 100vh;
	z-index:-2;
}

/*
.bg2 {
	position: fixed;
	content: "";
	display: block;
	top:0;
	left:0;
	z-index:-1;
	width:100%;
	height:100%;
	background-image: url("../images/common/bk_earth.png");
	background-size: contain;
	background-position :  center bottom;
	background-repeat: no-repeat;
	background-attachment:scroll;
	overflow: hidden;
}
*/


header {
	margin: 0;
	padding: 1em 0 0;
	color: #fff;
}

header article {
	width:100%;
}

header article h1 {
	width:1000px;
	margin: 1em auto;
	text-align: center;
	position: relative;
	padding: 0em 0;
}

header section h1 img#Title {
	width:100%;
	height: auto;
}

footer {
	background:rgba(14,61,143,1.00);
	color: #fff;
	text-align: center;
	margin: 5em 0 0 0;
	height: 8em;
	padding: 1em 0 1em 0 ;
	position: absolute;/*←絶対位置*/
    bottom: 0; /*下に固定*/
	width:100%;
}

footer article {
	margin: 0 auto;
}

footer article ul {
	text-align: right;
	margin-bottom: 2em;
}

footer article ul li {
	float: right;
	margin-left: 2em;
}


footer article ul a {
	color: #fff;
	font-size: 1.4rem;
	font-weight: 300;
}

footer p {
	clear: both;
	margin: 2em;
}

main {
	margin: 0 0 ;
	padding: 0em 0 12em 0;
}

main article {
	width:1000px;
	box-sizing: border-box;
	margin: 4em auto;
	background: rgba(0,0,0,.60);
	padding: 1em;
}

main img {
	width:100%;
	height: auto;
}



h1 {
    font-size: 36px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2.4rem + ((1vw - 0.64rem) * 2.1429));/* 24px~36pxで可変*/
    line-height: 1.3;
}

h2 {
    font-size: 30px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2.6rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    line-height: 1.3;
	text-align: center;
}

h3 {
    font-size: 24px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    line-height: 1.3;
	text-align: center;
	color: #fff;
	font-weight: 900;
	font-style: normal;
}

ol, ul {
	text-align: center;
	margin: 0.5em 0 0 0;
}

em {
	font-style: normal;
	color: #F00;
}

strong {
	font-style: normal;
	font-weight: 600;
	color: #F00;
}

section p {
	margin: 0.25em;
}

section ol li img,
article h1 img {
	width:100%;
	height: auto;
}


main section {
	width: 800px;
	margin: 2em auto;
	position: relative;
	padding: 1em

}

main section::before{
	content: "";
	display: block;
	position: absolute;
	width: 900px;
	height: 8em;
	top:-7.99em;
	left: 0;
}

main section::after{
	content: "";
	display: block;
	position: absolute;
	width: 1000px;
	height: 8em;
	bottom:-8em;
}

main h2.number {
 position: relative;
  margin: 30px;
  text-align: center;
}

main h2.number:before,
main h2.number:after {
  position: absolute;
  z-index: 0;
  bottom: -10px;
  display: block;
  content: '';
  border: 1em solid #d90606;
}

main h2.number:before {
  left: -30px;
  border-left-width: 15px;
  border-left-color: transparent;
}

main h2.number:after {
  right: -30px;
  border-right-width: 15px;
  border-right-color: transparent;
}

main h2.number span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1rem 2rem;
  color: #fff;
  background: #fa4141;
}

main h2.number span:before,
main h2.number span:after {
  position: absolute;
  bottom: -20px;
  display: block;
  width: 10px;
  height: 10px;
  content: '';
  border-style: solid;
  border-color: #b70505 transparent transparent transparent;
}

main h2.number span:before {
  left: 0;
  border-width: 10px 0 0 10px;
}

main h2.number span:after {
  right: 0;
  border-width: 10px 10px 0 0;
}

main h2.number2 {
  position: relative;
  margin: 1rem -10px;
  padding: 1rem 2rem;
  background:rgba(13,41,156,1.00);
	color: #fff;
}

main h2.number2:before,
main h2.number2:after {
  position: absolute;
  content: '';
}

main h2.number2:before {
  bottom: -10px;
  left: 0;
  width: 0;
  height: 0;
  border-top: 10px solid rgba(0,24,129,1.00);
  border-left: 10px solid transparent;
}

main h2.number2:after {
  right: 0;
  bottom: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid rgba(0,24,129,1.00);
  border-right: 10px solid transparent;
}

main section h4 {
	margin: 1em auto;
	text-align: center;
}


main p a.entrybtn {
	font-size: 1.5rem;
	padding: 5px;
	display: block;
	width:50%;
	margin: 10px auto;
	box-sizing: border-box;
	background: #f9cb4d; /* Old browsers */
	background: -moz-linear-gradient(top,  #f9cb4d 0%, #fff7a0 32%, #ffe97c 60%, #e5c004 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #f9cb4d 0%,#fff7a0 32%,#ffe97c 60%,#e5c004 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #f9cb4d 0%,#fff7a0 32%,#ffe97c 60%,#e5c004 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9cb4d', endColorstr='#e5c004',GradientType=0 ); /* IE6-9 */
	color: #5F2900;
	border: 1px solid #5F2900;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
}

main p a.entrybtn:hover {
	background:#F9C284;
	color:#5F2900;
	border: 1px solid #5F2900;
	transition: 0.3s;
}

.doublebox div div {
	margin-top: 6em;
}

footer article {
	padding: 0 2em;
}
.hidden {
	visibility: hidden;
	height: 0;
}

.center {
	text-align: center;
}

#pageTop {
    background: #ddd none repeat scroll 0 0;
    border-radius: 10px;
    bottom: 2%;
    color: #fff;
    font-size: 2.4rem;
	width:2em;
	height:2em;
    padding: 5px;
    position: fixed;
    left: 2%;
    z-index: 10;
		line-height:1.8;
	text-decoration:none;
}

#pageTop:hover {
    background: #eebbc0 none repeat scroll 0 0;
}

@media (min-width: 1200px) {/* 1200px以上*/
    h1 {
        font-size: 3.6rem;/* 36px*/
    }
    h2, h3 {
        font-size: 3.0rem;/* 24px*/
    }
}

_:-ms-lang(x)::-ms-backdrop, footer {
	position: relative;
}


@media screen and (max-width: 999px) {/* 640px以下*/
	
/*
.bg2 {
	position: fixed;
	content: "";
	display: block;
	bottom: 5em;
	left:0;
	z-index:-1;
	width:100%;
	height:90%;
	background-image: url("../images/common/bk_earth.png");
	background-size: contain;
	background-position :  center bottom;
	background-repeat: no-repeat;
	background-attachment:scroll;
	overflow: hidden;
}
	*/
main section h4 {
	margin: 1em auto;
	text-align: center;
}
	article#Goldrush section dl dt ,
	article#Haraimodoshi  section dl dt {
		float: none;
		font-size: 2rem;
	}
	
	article#Goldrush section dl dd ,
	article#Haraimodoshi section dl dd {
		margin-left: 0;
		font-size: 2rem;
	}
	
	article#Yaoh section dl dt ,
	article#Yaoh section dl dd {
		font-size: 2rem;
	}

    body{
    	line-height: 2;
    }
	
	img {
		width:100%;
		height: auto;
	}
	header article h1 {
		width:100%;
	}


	header article h1 img#Title {
		width:100%;
		height: auto;
	}

	main {
		padding: 3em 0 23em;
	}
	
	main article {
		width:98%;
		box-sizing: border-box;
		padding: 0.5em;
	}

	main section {
		width: 100%;
		margin: auto;
		position: relative;
		box-sizing: border-box;
	}
	
	main section div {
		width:100%;
		box-sizing: border-box;
	}


	article#Entry {
		padding: 0;
		text-align: center;
		position: fixed;
		z-index: 100;
		bottom:0;
		right: 0;
		width:100%;
		background:rgba(255,255,255,0.9);
		border: 0;
		border-radius: 0;
		opacity:0;
	}

	main article ol.yotei li ,
	main article ol.yotei2 li {
		width:100%;
	}

	
	article#Entry h1 {
		display: none;
	}
	
	#pageTop {
		bottom: 5em;
	}
	
	footer {
		padding-top: 2em;
		padding-bottom: 12em;
	}
	
	footer article ul  {
		margin-right: 1em;
	}
	footer article ul li {
		float: none;
	}
	
	h1{
        font-size: 2.4rem;/* 24px*/
    }
    h2, h3 {
        font-size: 2rem;/* 20px*/
    }
	article#Goldrush table {
		margin-bottom: 1em;
	}
	article#Goldrush table th,
	article#Goldrush table td {
		white-space: inherit;
		font-size: 1.2rem;
	}
	
	article#Goldrush table#Table2 {
		margin-top: 1em;
		clear: both;
	}
	article#Goldrush table#Table1 {
		display: block;
		background: #fff;
	}
	
	article#Goldrush table#Table1 tr {
		display: block;
		width: 100%;
	}
	
	article#Goldrush table#Table1 thead ,
	article#Goldrush table#Table1 tbody {
		display: block;
		width:50%;
		white-space: inherit;
		float: left;
	}

	article#Goldrush table#Table1 th,
	article#Goldrush table#Table1 td {
		display: block;
		width:100%;
		height: 3rem;
	}
	article#Goldrush table#Table1 td {
		background: #fff;
	}

	article#Goldrush table#Table1 td img {
		height: 2.4rem;
		width:auto;
		padding-top: 0.3rem;
	}

	article#Goldrush table#Table2 td {
		font-size: 1.6rem;
	}

	article#Goldrush dl dd  ,
	article#Haraimodoshi dl dd  {
		line-height: 1.25;
		text-align: right;
		letter-spacing: 0;
	}

	article#Goldrush dl dd span ,
	article#Haraimodoshi dl dd span {
		display: block;
	}
	
	#pageTop {
		bottom: 5em;
	}
}
