@charset "utf-8";

/* reset style */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td{
	padding:0;
	margin:0;
}
table{
	border-collapse: collapse;
	border-spacing:0;
}
fieldset,img{
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var{
	font-weight:normal;
	font-style:normal;
}
ol,ul{
	list-style:none;
}
caption,th{
	text-align:left;
}
h1,h2,h3,h4,h5,h6{
	font-weight:normal;
	font-size:100%;
}
q:before,q:after{
	content:'';
}
abbr,acronym{
	border:0;
}

/*layout*/
body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #000000;
	background-color: #ffffff;
	background-image: url(../img/bg_body.gif);
	background-repeat: repeat-x;
	background-position: left top;

}

#container {
	width: 830px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 30px;
	margin-top: 15px;
}
#main {
	background-color: #FFF;
	margin-top: 0px;
	border-radius: 10px;        /* CSS3草案 */
	-webkit-border-radius: 10px;    /* Safari,Google Chrome用 */
	-moz-border-radius: 10px;   /* Firefox用 */
	padding-bottom: 15px;
	box-shadow: 0px 5px 20px 2px rgba(0,0,0,0.1);
	position: relative;
}
#main #mark {
	position: absolute;
	height: 125px;
	width: 123px;
	top: 0px;
	right: 30px;
}


h1 {
	padding-top: 1em;
	padding-bottom: 1em;
	padding-left: 1em;
	background-color: #FFFF99;
	font-weight: bold;
	font-size: 110%;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
h2 {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 1em;
	font-weight: bold;
	font-size: 100%;
}
a    {
	color: #0168b3;
	text-decoration: none;
	font-weight:600;
}
a:hover   {
	color: #696969;
	text-decoration: none;
}

p {
	padding-left: 1em;
}
p.readText {
	margin-top: 1em;
	margin-bottom: 1em;
}
h2.prizeH2 {
	background-image: url(../img/crown.gif);
	background-repeat: no-repeat;
	background-position: left center;
	margin-left: 1em;
	padding-left: 25px;
}

table.prize {
	margin-left: 10px;
	width: 810px;
	margin-right: 10px;
	margin-bottom: 10px;
}
table.prize tr th {
	font-weight: bold;
	text-align: center;
	background-color: #CCFFFF;
}
table.prize tr th, table.prize tr td {
	padding: 5px;
	border: 1px solid #99cccc;
}
table.prize tr th.prizeName {
	text-align: left;
	font-weight: normal;
	background-color: #FFE9D7;
}
#main #gakkou {
	width: 50%;
}

div.toTop p {
	text-align: right;
	padding-right: 10px;
}



#footer {
	margin-top: 1em;
	font-size: 90%;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #999;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 5px;
	text-align: center;
}
#footer div.copyright p a {
	color: #696969;
}
#footer div.copyright p a:hover {
	color: #0066ff;
}



/*サブページのレイアウト */
p#topicPath {
	margin-bottom: 5px;
	background-color: #f7f39c;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	padding-top: 5px;
	padding-bottom: 5px;
}
p#topicPath img {
	margin:0 5px;
}
#details {
	text-align: center;
}
#details h1 {
	font-weight: bold;
	font-size: 140%;
	background-color: #FFF;
	padding-top: 5px;
	padding-bottom: 5px;
}
#details h1 img {
	margin-right: 5px;
}

#details h2 {
	padding-top: 0px;
	padding-bottom: 0px;
	margin-bottom: 5px;
	color: #0066ff;
	font-size: 110%;
}
p.productNav {
	padding: 10px;
	margin-top: 1em;
	margin-bottom: 1em;
	background-color: #f2dae8;
}
