@charset "utf-8";

/********* HTMLリセット *********************************************/

body, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, pre, blockquote, th, td, form, fieldset, input, textarea {
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}


/********* HTML再定義 ***********************************************/

body {
	line-height: 1.4;
	margin: 0 auto;
	background:#DCD8D2;
	color: #333;
	font-size: 80%;
	font-family:"メイリオ", Meiryo, Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

h1 {
	float:left;
	padding:15px;
}

header p {
	float:right;
}

h1 {
	float:none;
	font-size:20px;
	font-weight:bold;
}

h2 {
	float:none;
	margin:20px 0;
}

p {
	margin: 10px 0;
}
em, strong {
	font-style: normal;
	font-weight: bold;
}
ul {
	margin: 10px 20px;
}
ul li {
	list-style: none;
}
ol {
	margin: 10px 30px;
}
ol li {
	list-style: decimal;
}
dl {
	margin: 50px auto;
	max-width:400px;
	text-align:left;
}
dl dt {
	float:left;
	padding:15px;
}
dl dd {
	padding:15px 15px 15px 80px;
	border-bottom:1px solid #FFF;
}

img {
	vertical-align: middle;
	margin: auto 1px;
}

a:link, a:visited {
	color: #0000CC;
	text-decoration: underline;
}
a:active, a:hover {
	color: #FF7700;
	text-decoration: underline;
}

/********* 基本構造 *************************************************/

div#wrapper {
	padding: 50px;
}

div#container {
	width: 80%;
	max-width:500px;
	margin: 0 auto;
	padding: 40px;
	background:#EDEAE6;
	border-radius: 6px;        /* CSS3草案 */  
    -webkit-border-radius: 6px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 6px;   /* Firefox用 */
	-webkit-box-shadow: inset 3px 3px 5px 0 #E7E3DE;
	-moz-box-shadow: inset 3px 3px 5px 0 #E7E3DE;
	box-shadow: inset 3px 3px 5px 0 #E7E3DE;
	text-align: center;

}

div#container02 {
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

address {
	font-size:80%;
	font-style:normal;
}

/********* IE6用設定 ************************************************/

* html body {
	text-align: center;
}
* html body div#container {
	width: 400px;
	text-align: center;
}
* html body pre {
	width: 100%;
}
* html body table tr th, * html body table tr td {
	font-size: 80%;
}


/********* スマホ設定 ************************************************/

@media screen and (max-width:640px){
	
div#wrapper {
  padding: 20px 5%;
}

div#container {
	width: 90%;
	max-width:none;
	margin: 0 auto;
	padding: 20px 5%;
	background:#EDEAE6;
	border-radius: 6px;        /* CSS3草案 */  
    -webkit-border-radius: 6px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 6px;   /* Firefox用 */
	-webkit-box-shadow: inset 3px 3px 5px 0 #E7E3DE;
	-moz-box-shadow: inset 3px 3px 5px 0 #E7E3DE;
	box-shadow: inset 3px 3px 5px 0 #E7E3DE;
	text-align: center;
}

div#container h2 img {
	max-width:70%;
}

}