@charset "UTF-8";

/*********************************************************************************************
PC
*********************************************************************************************/

@media only screen and (min-width: 641px) {

html{
    height: 100%;
}

body {
    height: 100%;
	margin: 0;
	padding: 0;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, Osaka, sans-serif;
	font-size: 12px;
	line-height: 1.75em;
	color: #fff;
	width: 100%;
	text-align: center;
	background:#291d23 no-repeat;
	background-size: cover;
    animation: fadeIn 1s ease 0s 1 normal;
    -webkit-animation: fadeIn 1s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

#omikuji{
	position: relative;
	width: 100%;
    height: 100%;
}

.head{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 40px;
	padding: 12px 0;
	background: rgba(239, 215, 191, 0.3);
	font-size: 20px;
	font-weight: bold;
	line-height: 2.1em;
	letter-spacing: 0.2em;
	z-index: 10000;
}

.btn{
	position: absolute;
	bottom: 8%;
	left: 0px;
	width: 100%;
	z-index: 99999;
    text-shadow: none;
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}
.btn:hover{
	filter:alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}

.cover-start{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: auto;
	z-index: 100;
}
.cover-start img{
	width: 100%;
	height: auto;
}
.cover-start_sp{
	display: none;
}

.dice{
	top: 10%;
	width: 100%;
    text-align: center;
	z-index: 500;
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
.dice span{
	position: absolute;
	top: 65%;
	left: 0;
	width: 100%;
	z-index: 500;
	font-size: 20px;
	font-weight: bold;
	line-height: 2.1em;
	text-align: center;
	opacity: 0;
    animation: fadeIn 1s ease 2s 1 forwards;
    -webkit-animation: fadeIn 1s ease 2s 1 forwards;
}

.title{
	position: absolute;
	top: 160px;
	left: 0;
	width: 100%;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.6em;
	z-index: 1000;
}

.subtitle{
	position: absolute;
	top: 260px;
	left: 0;
	width: 100%;
	font-size: 22px;
	font-weight: bold;
	line-height: 1.4em;
	z-index: 1000;
}
.subtitle span{
	font-size: 16px;
	z-index: 1000;
}

.txt{
	position: absolute;
	top: 350px;
	left: 0;
	width: 100%;
	font-size: 14px;
	line-height: 2em;
	z-index: 1000;
}

.result{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 560px;
	background: url(../images/result.jpg) center no-repeat;
	z-index: 100;
}

}

/*********************************************************************************************
SP
*********************************************************************************************/

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

html{
    height: 100%;
}

body {
    height: 100%;
	margin: 0;
	padding: 0;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, Osaka, sans-serif;
	font-size: 12px;
	line-height: 1.75em;
	color: #fff;
	width: 100%;
	text-align: center;
	background:#2d2027 no-repeat;
	background-size: cover;
    animation: fadeIn 1s ease 0s 1 normal;
    -webkit-animation: fadeIn 1s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

#omikuji{
	position: relative;
	width: 100%;
    height: 100%;
}

.head{
	position: relative;
	top: 0px;
	left: 0px;
	height: 30px;
	padding: 10px 0;
	background: rgba(239, 215, 191, 0.3);
	font-size: 16px;
	font-weight: bold;
	line-height: 1.9em;
	letter-spacing: 0.2em;
	z-index: 10000;
}

.btn{
	position: absolute;
	bottom: 5%;
	left: 0px;
	width: 100%;
	z-index: 99999;
}
	.btn img {
		width: 80%;
		height: auto;
	}

.cover-start{
	display: none;
}
.cover-start_sp{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: url(../images/start_sp.jpg) center 0px no-repeat;
	background-size: 150%;
	z-index: 100;
}

.dice{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
    text-align: center;
	z-index: 500;
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
.dice span{
	position: absolute;
	top: 65%;
	left: 0;
	width: 100%;
	z-index: 500;
	font-size: 20px;
	font-weight: bold;
	line-height: 2.1em;
	text-align: center;
	opacity: 0;
    animation: fadeIn 1s ease 2s 1 forwards;
    -webkit-animation: fadeIn 1s ease 2s 1 forwards;
}

.result{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 360px;
	background: url(../images/result_sp.jpg) center -35px no-repeat;
	background-size: 150%;
	z-index: 100;
}
	
.title{
	position: absolute;
	top: 85px;
	left: 0;
	width: 100%;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.6em;
	z-index: 1000;
}

.subtitle{
	position: absolute;
	top: 150px;
	left: 0;
	width: 100%;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.4em;
	z-index: 1000;
}
.subtitle span{
	font-size: 11px;
	z-index: 1000;
}

.txt{
	position: absolute;
	top: 210px;
	bottom: 0;
	right: 0;
	left: 0;
	width: 80%;
	margin: 0 auto;
	font-size: 14px;
	line-height: 1.6em;
	z-index: 1000;
}

	
}

/*********************************************************************************************
SP - iPhone 5
*********************************************************************************************/

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

.head{
	height: 20px;
	font-size: 12px;
}
.dice span{
	top: 56%;
	font-size: 14px;
}
	.title{
		top: 64px;
	}
	.subtitle{
		top: 130px;
	}
	.txt{
		top: 190px;
		font-size: 13px;
	}

}
