@charset "utf-8";

@import url("https://kamogawa.mag2.com/common/css/custom/hmag.css");

ul {
	list-style: none;
}

img {
	border: 0;
}

#header{
	width: 100%;
	max-width: 780px;
}
#container{
	width: 100%;
	max-width: 800px;
}

div#container div#header div#logo{
 max-width: 780px;
	width: 100%;
}

#wrapper{
 max-width: 780px;
	width: 100%;
}
#wrapper.wide #content{
	max-width: 780px;
	width: 100%;
}

#footer {
    max-width: 780px;
    width: 100%;
}
div#container div#footer div#footer-menu{
	max-width: 780px;
	width: 100%;
}

/* box
---------------------------------------------------------------------*/
#box {
	margin: 0 auto;
	padding-top: 19px;
	max-width: 641px;
	width: 100%;
	background: url("https://present.mag2.com/speed/img/speed-frame01.gif") no-repeat;
	background-size: contain;
}

/* yymmddkinu.html
---------------------------------------------------------------------*/
#close #week {
	margin-bottom: 1em;
	margin-left: 60px;
	max-width: 500px;
	width: 100%;
	color: #008000;
	font-size: 116%;
	margin: 10px auto;
	text-align: center;
}

#close #week span {
	font-weight: bold;
}

#close #week ul li {
	display: inline;
}

#close #txt {
	margin-bottom: 1em;
	max-width: 510px;
	width: 100%;
	color: #00008b;
	text-align: center;
	margin: 0 auto;
}

#close #closing {
	margin-bottom: 1em;
	color: #00008b;
}

#close #mobile {
	margin-bottom: 2em;
}

#close #mobile a {
	color: #f00;
	font-weight: bold;
}

#sp-kuji {
	margin-bottom: 15px;
	margin-left: 60px;
	padding: 10px;
	width: 500px;
	background-color: #ffe4ca;
	text-align: left;
}

* html #sp-kuji {
	margin-left: 0;
}

*:first-child+html #sp-kuji {
	margin-left: 0;
}

#sp-kuji li {
	margin-top: 0.5em;
}

#sp-kuji li.title {
	margin-top: 0;
	font-weight: bold;
}

form#speedkuji {
	margin-top: 10px;
}

#rdemail {
	width: 200px;
	height: 30px;
}
#submit{
	height: 34px;
}
#flash {
	padding: 0 25px;
	font-size: 85%;
}


/* mipu.html
---------------------------------------------------------------------*/
#close {
	width: 100%;
	max-width: 641px;
	background: url("https://present.mag2.com/speed/img/speed-bg.gif");
	background-size: contain;
}

#close dt {
	padding: 10px 0;
	background: url("https://present.mag2.com/speed/img/kuji_box.gif") 400px center no-repeat;
	background-size: contain;
  background-position: 92% 0%;
	text-align: center;
}

#close dd {
	text-align: center;
	margin-top: 10px;
}

#close dd.title {
	margin: 1em 0;
	color: #00008b;
}

#close dd.title p {
	font-size: 123%;
}

#close dd p {
	font-weight: bold;
	line-height: 1.3;
}

#close dd span {
	color: #008000;
	font-weight: bold;
}

#close dd:last-child,
#close dd.last-child {
	padding-bottom: 35px;
	background: url("https://present.mag2.com/speed/img/speed-frame02.gif") bottom no-repeat;
	background-size: contain;
}

#object object{
	max-width: 400px;
  width: 90%;
}
dl.wchance dt img {
	max-width: 800px;
	width: 100%;
	height: auto;
}
dd.last-child iframe{
	max-width: 800px;
	width: 102%;
}

/* atariweb1.html
---------------------------------------------------------------------*/
#prize {
	max-width: 641px;
	width: 100%;	
	background: url("https://present.mag2.com/speed/img/speed-bg.gif");
	background-size: contain;
}

#prize dt {
	padding: 10px 0;
	min-height: 112px;
	text-align: center;
}

#prize dd {
	text-align: center;
}

#prize dd img {
	margin: 10px 0;
}

#prize dd p {
	color: #fff;
}

#prize dd.name {
	color: #f03;
	font-weight: bold;
}

#prize dd:last-child,
#prize dd.last-child {
	padding: 30px 0;
	background: url("https://present.mag2.com/speed/img/speed-frame02.gif") bottom no-repeat;
	background-size: contain;
	max-width: 641px;
  width: 100%;
}

#spkuji-catch img{
	max-width: 421px;
	width: 90%;
	height: auto;
}

.btm-link{
	margin-top: 15px;
}
#object {
	max-width: 400px;
  width: 100%;
}


/* hazureweb.html
---------------------------------------------------------------------*/
/* こちらもどうぞ */

dl#other {
	margin: 20px 0 30px 110px;
	max-width: 560px;
	width: 100%;
}

* html dl#other {
	margin-left: 105px;
	max-width: 565px;
	width: 100%;
}

dl#other dd {
	margin-left: 5px;
	float: left;
}

/* 広告 */

div#osusume {
	margin-bottom: 30px;
	margin-left: 115px;
	width:100%;
	max-width: 550px;
}

/* くじ付きおすすめメルマガ */

dl#kujitsuki {
	margin-left: 115px;
	max-width: 550px;
	width: 100%;
	background: url("https://present.mag2.com/img/common/kuji08_00.gif") no-repeat right top;
}

dl#kujitsuki dt {
	float: left;
	max-width: 260px;
	width: 100%;
	text-align: center;
}

dl#kujitsuki dd.txt {
	padding-top: 7px;
	padding-bottom: 7px;
	text-align: center;
}

* html dl#kujitsuki dd.txt {
	margin-left: 12px;
}

/* speed_voice.html
---------------------------------------------------------------------*/
body.voice div#content dl {
	margin-bottom: 20px;
	margin-left: 105px;
	max-width: 570px;
	width: 100%;
	background-color: #959;
}

body.voice div#content dl dt {
	padding-bottom: 2px;
	padding-left: 5px;
	color: #ff6;
	font-weight: bold;
}

body.voice div#content dl dd {
	padding: 5px 20px;
	background-color: #fee;
}

body.voice div#content dl dd div.name {
	color: #008000;
	font-weight: bold;
}

body.voice div#content dl dd.hen {
	border-top: 1px #959 solid;
	display: block;
	width: 100%;
	max-width: 530px;
}

body.voice div#content dl dd img {
	vertical-align: -4px;
}

body.voice div#content dl dd div.hen {
	padding: 3px 0 3px 20px;
	border-top: 1px #959 solid;
	background: url("https://img.mag2.com/lucky/present/guess/hen.gif") no-repeat;
}

body.voice div#content ul {
	margin-left: 105px;
	margin-bottom: 15px;
	max-width: 570px;
	width: 100%;
	text-align: center;
}

body.voice div#content ul li {
	margin-bottom: 0.5em;
	padding: 0 90px;
	max-width: 190px;
	width: 100%;
	font-size: 108%;
	font-weight: bold;
	display: inline;
}

body.voice div#content ul li a {
	padding: 0 20px;
	width: 190px;
}

/* ナビ */
body.voice div#content div#years {
	text-align: center;
}

body.voice div#content div#years ul {
	margin: 0 auto;
	width: 300px;
}

* html body.voice div#content div#years ul {
	margin-left: 0;
}

body.voice div#content div#years ul li {
	padding: 0 10px;
	width: 100px;
	display: inline;
	float: left;
}

body.voice div#content div#years ul li a {
	padding: 0;
	width: 100px;
}

body.voice div#content div#years ul li#navir {
	background: url("../img/navir.gif") 10px 1px no-repeat;
}

body.voice div#content div#years ul li#navil {
	background: url("../img/navil.gif") 90px 1px no-repeat;
}

.onl {
	padding-left: 240px;
}

* html .onl {
	padding-left: 120px;
}

/* 角丸の共通設定 */
.round:before {
	margin: 0;
	padding: 0;
	display: block;
	text-align: left;
}

/* 角丸の上の方 */
.round:before {
	content: url("https://present.mag2.com/speed/img/edge1.gif");
	background: transparent url("https://present.mag2.com/speed/img/edge2.gif") no-repeat scroll 100% 0%;
}

* html .round {
	padding-top: 3px;
}

*:first-child+html .round {
	padding-top: 3px;
}

/* rule.html , cookie.html
---------------------------------------------------------------------*/
#rule,
#cookie-txt,
#cookie,
#att {
	margin-left: 30px;
	padding: 10px;
	width: 700px;
	font-size: 108%;
}

#rule,
#att {
	background-color: #fee;
}

#cookie-txt {
	line-height: 1.3;
}

#cookie {
	margin-bottom: 15px;
	background-color: #fffccc;
}

#rule dt,
#cookie dt {
	color: #008000;
	font-weight: bold;
}

#att dt {
	color: #f00;
	font-weight: bold;
}

#rule dd {
	margin-top: 1em;
}

#cookie dd,
#att dd {
	margin-bottom: 1em;
}

#cookie dd:last-child,
#cookie dd.last-child,
#att dd:last-child,
#att dd.last-child {
	margin-bottom: 0;
}

/* failure.html , illegal.html
---------------------------------------------------------------------*/
body.failure div#content ul {
	margin: 10px 0;
	padding: 10px 15px;
	line-height: 1.5;
	color: #f03;
	background-color: #ffc;
	font-weight: bold;
	font-size: 108%;
}

@media only screen and (max-width : 510px ){
	#box{
		padding-top: 12px;
	}
	#close dt{
		background:none;
	}
	#pagetitle,#topicpath{
		display: none;
	}
	#close #txt{
		width: 90%;
	}
	dd.last-child iframe{
		width: 98%;
		height: 2135px;
	}
}