@charset "utf-8";

@import url("//kamogawa.mag2.com/common/css/custom/mag2.css");


/* WIRE-FRAME
--------------------------------------------------------- */

html {
	overflow-y: scroll; /* CSS3 */
}

body {
	text-align: center;
}

#outline {
	margin: 0 auto;
	width: 100%;
}

/* background-image 1px ズレ対策 IE6 用 */
* html #outline {
	padding-left: 1px;
}

/* background-image 1px ズレ対策 IE7 用 */
*:first-child + html #outline {
	margin-left: -1px;
	padding-left: 1px;
}

#container {
	margin: 0 auto;
	padding-top: 10px;
	width: 800px;
	text-align: center;
}

#header,
#wrapper,
#footer {
	margin-right: auto;
	margin-left: auto;
	clear: both;
	text-align: left;
}

#header {
	margin-bottom: 10px;
	width: 780px;
	min-height: 38px;
	max-height: 210px;
}

* html #header {
	height: 38px;
}

#wrapper {
	margin-bottom: 20px;
	width: 780px;
}

#wrapper #content {
	width: 550px;
	float: right;
}

.mrr #wrapper #content {
	float: left;
}

.wide #wrapper #content {
	float: none;
	width: 780px;
}

#wrapper #sidebar {
	width: 220px;
	float: left;
}

.mrr #wrapper #sidebar {
	float: right;
}

.wide #wrapper #sidebar {
	float: none;
	display: none;
}

#footer {
	width: 780px;
	min-height: 40px;
}

* html #footer {
	height: 40px;
}

/* CUSTOM STYLE
--------------------------------------------------------- */

#footer,
#footer address {
	position: relative;
	background-image: url("../img/dotline.gif");
	background-repeat: repeat-x;
}

#header {
	background-position: 0 100%;
}

#header ul li {
	position: absolute;
	bottom: 6px;
}

#header ul li#mypage {
	left: 155px;
}

#header ul li#mypage-assist {
	left: 250px;
	font-size: 85%;
}

#header ul li#beginner {
	right: 0;
}

#footer {
	background-position: 0 0;
	text-align: center;
}

#footer ul {
	padding: 5px 0;
}

#footer ul li:first-child,
#footer ul li.first-child {
	padding-left: 0;
	background-image: none;
}

#footer ul li {
	padding-left: 8px;
	display: inline;
	background: url("//img.mag2.com/mag2/common/par.gif") 0 no-repeat;
}

#footer .genre ul {
	padding-right: 8px;
	display: inline;
	background: url("//img.mag2.com/h/common/par_r.gif") 100% no-repeat;
}

#footer .genre li:first-child,
#footer .genre li.first-child {
	padding-left: 8px;
	background-image: url("//img.mag2.com/h/common/par_l.gif");
}

#footer address {
	padding: 5px 0;
	color: #666;
	background-position: 0 0;
	text-align: right;
}

#footer address span {
	margin-right: 0.5em;
}

#footer address p {
	margin-left: 0.5em;
	display: inline;
}

/* COMMON STYLE
--------------------------------------------------------- */

img {
	border: none;
	vertical-align: bottom;
}

ol,
ul {
	list-style: none;
}

.passive {
	color: #999;
}

.clearfix {
	display: inline-block; /* This warning is off the subject. */
}

.caution,
.error {
	color: #f00;
}


/* original STYLE
--------------------------------------------------------- */

p {
	line-height: 1.3;
}

div#content div#generator {
	padding: 20px;
	border: 2px solid #6be;
}

div#content div#generator h2 {
	margin-bottom: 20px;
}

div#generator p {
	padding: 0 0 10px;
	font-size: 108%;
}

div#content div#generator dl#a dd,
div#content div#generator dl#b dd,
div#content div#generator dl#as dd,
div#content div#generator dl#bs dd {
	color: #f60;
	text-align: right;
}

div#content div#generator dl#a,
div#content div#generator dl#b {
	padding-bottom: 20px;
	width: 370px;
}

div#content div#generator dl#a {
	position: absolute;
}

div#content div#generator dl#b {
	margin-left: 373px;
}

div#content div#generator dt {
	font-weight: bold;
	color: #036;
}

div#content div#generator dd img {
	padding: 3px;
	border: 2px solid #fc9;
	display: block;
}

form {
	padding: 0 40px 30px;
	margin-bottom: 20px;
}

form#pre-w {
	background: url("//img.mag2.com/magpre/pub_form/line.jpg") repeat-x bottom;
}

form dl.detail {
	margin: 10px 0;
	padding-bottom: 70px;
	background: url("//img.mag2.com/magpre/pub_form/arrow.jpg") no-repeat center bottom;
	color: #036;
	line-height: 1.2;
	font-weight: bold;
}

form dl.detail dt {
	padding: 3px 25px;
	background: url('//img.mag2.com/magpre/pub_form/arrow_s.gif') no-repeat 5px 4px;
	float: left;
	font-size: 108%;
	width: 135px;
}

form dd {
	padding: 3px 25px;
}

div#content form dd.cover p {
	margin: 0;
	padding: 0;
	font-size: 85%;
	clear: both;
	color: #f00;
}

form dl.detail dt.color {
	width: 20px;
}

form dd#w-sel,
form dd#s-sel {
	font-size: 108%;
}

form dd#w-sel input,
form dd#s-sel input {
	margin: 3px;
}

form dd input.title {
	width: 300px;
}

form input.copy {
	float: right;
}

form div {
	text-align: center;
}

.generate {
	width: 478px;
	height: 41px;
	border: none;
	background: #fff url('//img.mag2.com/magpre/pub_form/btn_gen.jpg') no-repeat;
	cursor: pointer;
}

form#pre-w div.form_smpl div {
	text-align: left;
}

form div.form_smpl div#w-preview,
form div.form_smpl div#s-preview {
	margin-bottom: -20px;
	text-align: left;
}

form div.form_smpl {
	margin: 20px auto 30px;
	padding: 10px;
	border: #fc9 2px solid;
}

form#pre-w div.form_smpl {
	width: 500px;
}

form#pre-s div.form_smpl {
	width: 160px;
	clear: both;
}

form#pre-w div.form_smpl p {
	width: 510px;
}

form#pre-s div.form_smpl p {
	width: 170px;
}

div#content div#generator form div.form_smpl p {
	margin-top: 12px;
	position: absolute;
	text-align: right;
	color: #f60;
	font-size: 98%;
}

.copy {
	width: 148px;
	height: 40px;
	border: none;
	background: #fff url('//img.mag2.com/magpre/pub_form/btn_copy.jpg') no-repeat;
	cursor: pointer;
}

textarea {
	margin: 10px 0;
	width: 650px;
	height: 100px;
	font-family: monospace;
	font-size: 93%;
}

div#generator form dl.modi {
	color: #036;
	line-height: 1.2;
}

div#generator form dl.modi dt {
	padding: 0 25px 3px;
	background: url('//img.mag2.com/magpre/pub_form/arrow_s.gif') no-repeat 5px 0;
	font-weight: bold;
	font-size: 108%;
}

div#generator form dl.modi dd {
	font-weight: 100;
}

div#generator form dl.modi dd p {
	padding: 5px;
	background-color: #e6e6e6;
	font-weight: bold;
	font-size: 123%;
}

div#generator form dl.modi dd p span {
	color: #f00;
}

div#generator form dl.modi dd span {
	color: #f00;
}

div#content div#generator dl#as {
	position: absolute;
}

div#content div#generator dl#bs {
	margin-left: 150px;
	width: 123px;
}

div#content div#generator div.sample {
	padding: 0 200px 100px;
}
