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

body{
	position: relative;
	font-family: source-han-sans-japanese, sans-serif;
	font-weight: 500;
    font-size:2rem;/* 16px*/
    line-height: 1.75;
	text-align: justify;
	min-height: 100vh;
	background: url("../images/allstar/bk.png");
	background-repeat: repeat-y;
	background-size: contain;
	background-position: center top;
}

header {
	margin:20px 0 0 0;
	padding: 1em 0 0;
}

header section {
	width:100%;
	padding: 0px 0;
}

header section h1 {
	width:1000px;
	margin: 0em auto;
	text-align: center;
	position: relative;
	padding: 0em 0;
	border-radius: 0.25em;
}

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


main {
	margin: 0 0 ;
	padding: 3em 0 8em 0;
}

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

footer section {
	margin: 0;
}

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

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


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

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


section {
	width:1000px;
	box-sizing: border-box;
}

main section {
	margin: 0em auto 4em auto;
	padding: 1em;
	background: rgba(235,255,235,0.9);
	border-radius: 1em;
}

footer section {
	margin: 0 auto;
}

article {
	width:90%;
	margin: 0em auto 2em;
	padding: 1em;
}

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: 24px;/* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));/* 20px~24pxで可変*/
    line-height: 1.3;
}

h2.number::before {
	counter-increment: number 1;
	content: counter(number) " ";
	background: rgb(255,0,0);
	color: #fff;
	display: inline-block;
	width:1.5em;
	text-align: center;
	margin-right: 0.25em;
	padding-bottom: 0.1em;
}

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;
	background: rgb(115,0,0);
	color: #fff;
}

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,
section h1 img {
	width:100%;
	height: auto;
}

section h2 {
	text-align: center;
	color: rgba(10,52,104,1);
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ecad00+0,f0ea4c+50,ecad00+100 */
background: #ecad00; /* Old browsers */
background: -moz-linear-gradient(left,  #ecad00 0%, #f0ea4c 50%, #ecad00 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  #ecad00 0%,#f0ea4c 50%,#ecad00 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  #ecad00 0%,#f0ea4c 50%,#ecad00 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecad00', endColorstr='#ecad00',GradientType=1 ); /* IE6-9 */
	padding: 5px;
}

section article {
}

section article ul {
	margin:1em 0;
}

section article ul li img {
	height:auto;
}

section#Entry {
	padding: 0;
	text-align: center;
	position: fixed;
	z-index: 100;
	bottom:8em;
	right: 0;
	width:380px;
	background:rgba(255,255,255,0.95);
	border: 0;
	border-radius: 0.5em 0 0 0.5em;
	opacity:0;
	animation-name:entryarea;
	animation-duration:1s; 
	animation-fill-mode: forwards;
}
@keyframes entryarea {
	0% {
		opacity: 0;
		transform: translateX(200px);
	}
	50%{
		opacity: 1;
		transform: translateX(0);
	}
	100% {
		opacity:1;
 		transform: translateX(0);
	} 
}

section article p.present {
	text-align: center;
	margin: 1em auto 5em auto;
	width:90%;
}

section article p.present img {
	width:100%;
}

section#Entry h1 {
	margin: 0.5em 0.5em 0 0.5em;
}

section#Entry article {
	background: rgba(255,255,255,0);
	margin: 0 auto;
	padding: 0 0 0.5em 0;
}

section#Entry article::after {
	content: none;
}


section#Entry p a {
	color: #D46900;
	text-decoration: none;
}

section#Entry p.btn a {
	font-size: 2.4rem;
	padding: 5px;
	display: block;
	width:100%;
	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;
}

#BackHome {
	color: #fff;
	text-decoration: none;
	padding: 2em 0 0 0;
	display: inline-block;
}

#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;
}

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;
}
.hidden {
	visibility: hidden;
	height: 0;
}

.center {
	text-align: center;
}

footer {
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#006b07+0,008a00+52,002400+100 */
background: rgb(0,107,7); /* Old browsers */
background: -moz-linear-gradient(-45deg,  rgba(0,107,7,1) 0%, rgba(0,138,0,1) 52%, rgba(0,36,0,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg,  rgba(0,107,7,1) 0%,rgba(0,138,0,1) 52%,rgba(0,36,0,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  rgba(0,107,7,1) 0%,rgba(0,138,0,1) 52%,rgba(0,36,0,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006b07', endColorstr='#002400',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

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

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


@media screen and (max-width: 960px) {/* 640px以下*/
	
	section#Goldrush article dl dt ,
	section#Haraimodoshi article dl dt {
		float: none;
		font-size: 2rem;
	}
	
	section#Goldrush article dl dd ,
	section#Haraimodoshi article dl dd {
		margin-left: 0;
		font-size: 2rem;
	}
	
	section#Yaoh article dl dt ,
	section#Yaoh article dl dd {
		font-size: 2rem;
	}

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

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

	header section h1 img#Kappa1 {
		position: absolute;
		bottom: 2%;
		right: 0%;
		width:20%;
		height: auto;
	}
	main {
		padding: 3em 0 18em;
	}
	section {
		width:98%;

		box-sizing: border-box;
	}

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

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

	
	section#Entry h1 {
		display: none;
		}
	#pageTop {
		bottom: 5em;
	}
	
	footer {
		padding-top: 3em;
		padding-bottom: 8em;
	}
	
	footer section ul  {
		margin-right: 1em;
	}
	footer section ul li {
		float: none;
	}

	footer section ul li img {
		width:100%;
	}
	
	h1{
        font-size: 2.4rem;/* 24px*/
    }
    h2, h3 {
        font-size: 2rem;/* 20px*/
    }
	
	section article#No1 li {
		width:calc(100%/3);
	}

	section article#No1 li:nth-of-type(n+5) {
		width:calc(100%/3);
	}

	section article img {
		width:100%;
		height: auto;
	}

	section article#No1 div#No1box div#No1Note {
		width:100%;
		float: none;
	}

	section article#No1 div#No1box div#Grab {
		display: none;
	}

	section article::after {
		height: 1em;
	}
}
