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

body{
	background: #000;
	color: #000;
	position: relative;
	font-family: source-han-sans-japanese, sans-serif;
	font-weight: 500;
	background-image: url("../img/common/back.jpg");
	background-size: 100%, auto;
	background-position : top top;
	background-repeat: repeat-y, no-repeat;
    font-size:1.6rem;/* 16px*/
    line-height: 1.35;
	text-align: justify;
	height:100%;
}

body::before {
	content: "";
	display: block;
	position: fixed;
	top:0;
	left:0;
	z-index:-1;
	width:100%;
	height:100vh;
	background-image: url("../img/common/back.jpg");
	background-size: cover, cover;
	background-position : center center;
	background-repeat: no-repeat, no-repeat;
	background-attachment:fixed, fixed;
}

.mybox{
	background:#fff;
	border: 3px solid #333;	/* 線の太さ・種類・色 */
	margin: 15px 10px; /* 外側の余白 上下・左右 */
	padding: 20px; /* 内側の余白 */
	position: relative;
	z-index: 0;
}

.mybox:after{
	background:#fff;
	border: 2px solid #000;	/* 線の太さ・種類・色 */
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	width: 99.6%;
	height: 99.6%;
	z-index: -1;
		transform: rotate(-0.5deg);

}
main {
}

footer {
	
}

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

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

h2 span {
	display: block;
	text-align: right;
	font-size: 0.875em;
}

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(0,0,0);
	color: #ff0;
}

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

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


/*-- header --*/
header {
	background: rgba(0,0,0,0.65);
}

header article {
	width:100%;
}

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

/*-- footer --*/
footer {
	background: rgba(0,0,0,0.75);
	color: #fff;
	text-align: center;
	margin: 0;
	height: 8em;
	padding: 1em 0 2em 0 ;
	width:100%;
}

footer section {
	margin: 0 auto;
	width: 1000px;
}

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

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

/*-- main --*/
main {
	margin: 0 0 ;
	padding: 1em 0 2em 0;
}

main article {
	width:1000px;
	margin: 0em auto 4em auto;
	box-sizing: border-box;
}



main article p {
	margin: 0.5em;
}

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

main article section {
	width:100%;
	box-sizing: border-box;
	margin: 0em auto 4em auto;
	padding: 1em;
	text-shadow:1px 1px 0 #000,-1px 1px 0 #000,1px -1px 0 #000,-1px -1px 0 #000;
	color: #fff;
}

main article section h2 {
	text-shadow: none;
}


/* ここはコピーしなくてOK　*/
main section p.btn {
	text-align: center;
	padding-top: 2em;
	width:100%;
}



/* ここから下がボタンのCSS　*/
main section p.btn a {
	display: inline-block;
	width: 60%;
	text-align: center;
	font-size: 2.4rem;
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
	padding: .25em 2em;
	border-radius: 4px;
	background-image: linear-gradient(-90deg, #FF006E, #FFD500);
	transition: .5s;
	background-size: 250%;
}

main section p.btn2 {
	text-align: center;
	padding-top: 2em;
	width:100%;
}

main section p.btn2 span {
	display: inline-block;
	width: 60%;
	text-align: center;
	font-size: 2.4rem;
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
	padding: .25em 2em;
	border-radius: 4px;
	background: #666666;
}

main section p.btn a:hover {
	background-position: right center;
}

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

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

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

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

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

@media screen and (max-width: 960px) {/* 640px以下*/
	
	body{
		line-height: 2;
		font-size: 1.6rem;
	}
	
	body::before {
		height: 100vh;
		background-size:100vh;
		background-position : center center;
		background-repeat: no-repeat;
		background-attachment:fixed;
	}
	
	img {
		width:100%;
		height: auto;
	}
	
	
	header article h1 {
		width:100%;
	}

	header article h1 img#Title {
	}

	main {
		width:100%;
		padding: 0em 0 1em;
	}

	main article {
		width:98%;
		box-sizing: border-box;
	}

	#pageTop {
		bottom: 0em;
	}
	
	footer {
		width:100%;
		padding-top: 3em;
		padding-bottom: 8em;
	}
	
	footer section {
		width:100%;
	}
	
	footer section ul	{
		margin-right: 1em;
	}
	footer section ul li {
		float: none;
	}
	
	h1{
		font-size: 2.4rem;/* 24px*/
	}
	h2, h3 {
		font-size: 2rem;/* 20px*/
	}

	/* ここから下がボタンのCSS　*/
	main section p.btn a {
		width: 80%;
		font-size: 1.6rem;
		color: #FFF;
		margin: 1em auto
	}
	/* ここから下がボタンのCSS　*/
	main section p.btn2 span {
		width: 80%;
		font-size: 1.6rem;
		color: #FFF;
		margin: 1em auto
	}

}
