/*--------------------------------------------------------------

ヘッダーサイズ切替処理

--------------------------------------------------------------*/

/* ====== 479px以下（縦）Total 320px　====== */
@media only screen and (max-width:479px)  {
	
#header{
	width:100%;
	height:38px;
	background-color:#FFF;
	position:fixed;
	left:0;
	top:0;
	z-index:100;
}
#header .logo {
	width:200px;
	float:left;
}

#header-btn{
	width:77px;
	float:right;
}

#header-btn .cp {
	width:125px;
	float:left;
}

#header-btn .menu {
	width:77px;
	float:left;
	cursor:pointer;
}


/*プルダウンメニュー*/
#panel{
	position:fixed;
	top: 38px;
	right: 0px;
	z-index: 200;
	line-height:0;
	width: 100%;
	background: #E63727;
	overflow: hidden;
}

#panel ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#panel li {
	display: block;
	position: relative;
}

#panel li:not(:last-child){
	border-bottom: 3px solid #FFF;
}

#panel a {
	padding: 5px 20px;
	height: 40px;
	line-height: 40px;
	font-size: 14px;
	display: block;
	color: #FFF;
	text-decoration: none;
}

}


/* ====== 480px以上（横）Total 480px ====== */
@media only screen and (min-width:480px)  {
	
#header{
	width:100%;
	height:58px;
	background-color:#FFF;
	position:fixed;
	left:0;
	top:0;
	z-index:100;
}
#header .logo {
	width:350px;
	float:left;
}

#header-btn{
	width:116px;
	float:right;
}

#header-btn .cp {
	width:188px;
	float:left;
}

#header-btn .menu {
	width:116px;
	float:left;
	cursor:pointer;
}

/*プルダウンメニュー*/
#panel{
	position:fixed;
	top: 58px;
	right: 0px;
	z-index: 200;
	line-height:0;
	width: 100%;
	background: #E63727;
	overflow: hidden;
}

#panel ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#panel li {
	width:49.5%;
	float:left;
	display: block;
	position: relative;
	box-sizing: border-box;
}

#panel li:nth-child(odd){
	border-right:3px solid #FFF;
}

#panel li:nth-child(1){
	border-bottom: 3px solid #FFF;
}

#panel li:nth-child(2){
	border-bottom: 3px solid #FFF;
}

#panel li:nth-child(3){
	border-bottom: 3px solid #FFF;
}

#panel li:nth-child(4){
	border-bottom: 3px solid #FFF;
}

#panel li:nth-child(5){
	border-bottom: 3px solid #FFF;
}

#panel li:nth-child(6){
	border-bottom: 3px solid #FFF;
}

#panel a {
	padding: 5px 10px;
	height: 40px;
	line-height: 40px;
	font-size: 14px;
	display: block;
	color: #FFF;
	text-decoration: none;
}

}


/*--------------------------------------------------------------

スマホ用

--------------------------------------------------------------*/


.sp-contents {
	width:100%;
	background:url(../images/back_star.png);
	position:relative;
	min-height:100%;
	margin-top:12%;
	padding-bottom:20px;
	background-color:#00C;
}


div#MainImage{
	margin-bottom:30px;
	position:relative;
	padding-top:15%;
	margin-top:-15%;
}

/*「メインイメージ」内の応募する緑ボタンGIF*/
div#sp-green-oubo-btn1{
	position:absolute;
	width:50%;
	bottom:13%;
	left:27.5%;
}


/*-----SNS-------*/
.social {
	position:absolute;
	bottom:7%;
	left:50%;
	width:290px;
	margin-left:-100px;
}

.social-footer {
	margin:0 auto;
	margin-bottom:20px;
	text-align:center;
	margin-top:20px;
}

div#about-btn{
	width:95%;
	margin:0 auto;
	margin-top:20px;
}

div#about-btn .odds{
	float:left;
	width:49%;
}

div#about-btn .keiba{
	float:right;
	width:49%;
}


div#lay2col-btn{
	width:95%;
	margin:0 auto;
	margin-top:10px;
}

/*新規会員登ボタンGIF*/
div#lay2col-btn #sp-new-member-btn {
	float:left;
	width:49%;
}


div#lay2col-btn #sp-new-member-btn2 {
}


/*応募ボタンGIF*/
div#lay2col-btn #sp-oubo-btn {
	float:right;
	width:49%;
}

div#about-btn{
	width:95%;
	margin:0 auto;
	margin-top:20px;
	margin-bottom:20px;
}

div#about-btn .odds{
	float:right;
	width:49%;
}

div#about-btn .keiba{
	float:left;
	width:49%;
}

div#SpAboutCampArea{
	clear:both;
	width:95%;
	margin:0 auto;
	position:relative;
}

/*アンカー用*/
div#SpAboutCampAreaLink{
	width:95%;
	margin:0 auto;
	padding-top:13%;
	margin-top:-13%;
}

/*「キャンペーンについて」内の応募する緑ボタン*/
div#SpAboutCampArea #sp-green-oubo-btn2{
	position:absolute;
	width:90%;
	top:29.5%;
	left:5%;
}

div.need-member-area{
	width:95%;
	margin:0 auto;
	margin-top:15px;
}

div#SpCampFlowArea{
	width:95%;
	margin:0 auto;
	padding-top:15%;
	margin-top:-15%;
}

div#SpOdds4stepArea{
	width:95%;
	margin:0 auto;
	padding-top:15%;
	margin-top:-15%;
}


div#SpEasyKeibaArea{
	width:95%;
	margin:0 auto;
	position:relative;
}

div#SpEasyKeibaArea .check-btn{
	position:absolute;
	width:45%;
	height:auto;
	bottom:7%;
	left: 5%;
}


div#SpOddsParkArea{
	width:95%;
	margin:0 auto;
	padding-top:15%;
	margin-top:-15%;
}

div#SpKeibaArea{
	width:95%;
	margin:0 auto;
	position:relative;
}

/*アンカー用*/
div#SpKeibaAreaLink{
	width:95%;
	margin:0 auto;
	padding-top:10%;
	margin-top:-10%;
}

div#SpOddsParkOptionArea{
	width:95%;
	margin:0 auto;
	margin-top:20px;
}

div#SpInquiryArea{
	width:95%;
	margin:0 auto;
	margin-top:20px;
}




/*ページの先頭へ*/
div.page-top-btn{
	width:95%;
	margin:0 auto;
	margin-top:20px;
	margin-bottom:20px;
}
