* {
	margin: 0;
	padding: 0;
	text-align: justify; text-justify: inter-ideograph;
}
body {
	background-color: #fff;
	font: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	text-decoration: none;
	list-style-type: none;
}
#basebox {
	width: 800px;
	background-color: #f7f8d9;
	margin: 0 auto;
}
/* ここからheadbox */
#headbox {
	width: 800px;
	height: 245px;
}
.ie6 #headbox {
	height: 215px;
}
.iphone #headbox {
	height: 250px;
}
.ie6 #p1,.ie7 #p1 {
	margin-bottom: -4px;
}
#p2a {
	float: left;
	width: 233px;
}
#p2b {
	float: right;
	width: 567px;
}
#pagelink {
	clear: both;
	position: relative;
	top: -138px;
	left: 470px;
	width: 26em;
	font-size: 12px;
	letter-spacing: -0.1em;
	text-align: right;
}
.mac.safari #pagelink {
	letter-spacing: -0.2em;
}
.iphone #pagelink {
	position: relative;
	top: -140px;
}

#pagelink a {
	color: #063;
	text-decoration: none;
}
#pagelink a:hover {
	color: #fff;
}
#gotoppage0 a {
    position: relative;
	top: -90px;
	left: 100px;
	font-size: 11.5px;
	color: #063;
}
.mac.safari #gotoppage0 a,.android #gotoppage0 a,.iphone #gotoppage0 a {
    letter-spacing: -0.1em;
}
#gotoppage0 a:hover {
    color: #393;
	border: 1px solid #393;
}

#seachbox {
	width: 205px;
	position: relative;
	top: -80px;
	left: 50px;
}
.ie6 #seachbox,.ie7 #seachbox {
	width: 210px;
	position: relative;
	left: 45px;
}
.android #seachbox {
	width: 195px;
	position: relative;
	left: 55px;
}
.iphone #seachbox {
	position: relative;
	left: 60px;
}

#pankuzbox {
    position: relative;
	top: -165px;
	left: 243px;
	width: 550px;
}
.chrome #pankuzbox {
    position: relative;
	top: -155px;
}
.android #pankuzbox {
    position: relative;
	top: -200px;
}
.iphone #pankuzbox {
    position: relative;
	top: -170px;
}

#pankuzbox a {
    font-size: 12px;
    color: #666;
	text-decoration: none;
}
#pankuzbox a:hover {
    color: #fc0;
	text-decoration: underline;
}
#pankuzbox span {
    color: #c90;
	font-size: 12px;
}

#banner01 {
	position: relative;
	top: -140px;
	left: 260px;
	width: 500px;
}
.ie6 #banner01,.ie7 #banner01 {
	position: relative;
	top: -150px;
}
.android #banner01 {
	position: relative;
	top: -185px;
}
.iphone #banner01 {
	position: relative;
	top: -155px;
}

/*------------------------------------[headboxここまで]--*/

#centerbox {
	width: 800px;
	height: auto;
	clear: both;
}
.ie7 #centerbox {
	margin-top: -20px;
}
.ie6 #centerbox {
	margin-top: -25px;
}
#uehako {
	position: relative;
	top: -45px;
	left: 45px;
	width: 755px;
	height: auto;
}
.webkit #uehako {
	height: 140px;
}
h1 {
	font-size: 12px;
	margin-right: 20px;
	margin-left: -20px;
	padding-left: 20px;
	color: #603;
	font-weight: bold;
	border-bottom: 1px solid #603;
}
.ie6 h1 {
	position: relative;
	top: -10px;
	margin-right: 20px;
	color: #603;
	font-weight: bold;
	border-bottom: 1px solid #603;
}
#sitahako {
	position: relative;
	top: -60px;
	left: 45px;
	width: 755px;
	height: auto;
}

#box1,#box2,#box4,#box5 {
	float: left;
	width: 250px;
	margin-top: 12px;
}
#box2 {
	margin-top: -8px;
}
.ie6 #box2 {
	margin-top: -16px;
}

#box3,#box6 {
	float: left;
	width: 255px;
	margin-top: 12px;
}
.ie6 #box1,#box2,#box4,#box5,#box6 {
	position: relative;
	top: 20px;
	float: left;
}
.ie6 #box1 {
	margin-top: -17px;
}
.ie6 #box3 {
	float: left;
	width: 255px;
	margin-top: 5px;
}

#mlmaga,#about,#gakko,#osusume {
    font-size: 12px;
	line-height: 150%;
}
#mlmaga a,#about a,#gakko a,#osusume a {
    text-decoration: none;
	color: #036;
}

ul {
	padding-left: 15px;
    font-size: 12px;
	list-style-type: none;
}
li a {
    text-decoration: none;
	color: #036;
}
.opera,.webkit li a {
	line-height: 1.25em;
}

#midasi {
    font-size: 12px;
    line-height: 150%;
}

/*#footlink {
	position: relative;
	top: 50px;
    color: #9c6;
    width: 600px;
	margin-left: 100px;
	font-size: 12px;
	text-align: center;
	text-decoration: none;
	line-height: 150%;
}
#footlink a {
	color: #9c6;
}
.iphone #footlink {
	font-size: 10px;
}
#footlink a:hover {
    color: #366;
}*/
#footbar {
	width: 800px;
	clear: both;
}
.ie6 #footbar {
	position: relative;
	top: 30px;
}
.webkit #footbar {
	position: relative;
	top: 30px;
}
.gecko #footbar {
	position: relative;
	top: 30px;
}

