/* 2012.04.25【html5doctor】に追加するリセット
----------------------------------------------------------- */
pre,code,form,fieldset,legend,input,textarea{
     margin:0;
     padding:0;
}
address,caption,cite,code,dfn,em,strong,th,var{
     font-style:normal;
     font-weight:normal;
}

li{
     list-style:none;
}

h1,h2,h3,h4,h5,h6{
     font-weight:normal;
}

input,textarea,select{
     font-family:inherit;
     font-size:inherit;
     font-weight:inherit;
}

input,textarea,select{
     *font-size:100%;
}

/* Style
----------------------------------------------------------- */
body {
     font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","MS PGothic",Helvetica,Sans-Serif;
     line-height: 1.6;
}

header {
	max-width: 640px;
	margin: 0 auto;
}

header p {
	text-align: center;
	margin: -20px auto 15px auto;
	font-size: 14px;
}

header img {
	width: 100%;
}

h1 {
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	text-align: center;
	margin: 0 5px 25px 5px;
	position: relative;
	background: #ffffff;
	border: 1px solid #CCCCCC;
	background: #FFFFFF;
	background: -moz-linear-gradient(top,#FFFFFF, #FFFFFF 50%, #EEEEEE);
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), color-stop(0.5, #FFFFFF), to(#EEEEEE));
	background: -o-linear-gradient(top, #FFFFFF, #FFFFFF 50%, #EEEEEE);
	background: linear-gradient(top, #FFFFFF, #FFFFFF 50%, #EEEEEE);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

h1:after,
h1:before {
	top: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

h1:after {
	border-top-color: #EEEEEE;
	border-width: 10px;
	left: 50%;
	margin-left: -10px;
}
	
h1:before {
	border-top-color: #CCCCCC;
	border-width: 11px;
	left: 50%;
	margin-left: -11px;
}

a {
	color: #000000;	
}

a:hover {
	filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;
}

p {
	text-align: left;
}

#wrap_pc {
	max-width: 468px;
	margin: 0 auto;
	text-align: center;
	font-size: 14px;
}

#wrap_pc a {
	-webkit-transition: 0.2s;
	-moz-transition: 0.2s;
	-o-transition: 0.2s;
	-ms-transition: 0.2s;
	transition: 0.2s;
}

#wrap_pc a:hover {
	text-decoration: none;
	color: #FF9900;
}

#wrap_pc img {
	width: 468px;
	height: 60px;
	display: block;
}

#wrap_pc p {
	margin-bottom: 15px;
}

#wrap_sp {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	border-bottom: 1px solid #CCCCCC;
	font-size: 14px;
}

#wrap_sp a {
	text-decoration: none;
}

#wrap_sp div{
	border-top: 1px solid #CCCCCC;
	padding: 15px 30px 10px 2%;
	background: #FFFFFF;
	background-image: url(arrow.png), -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#EEEEEE));
	background-image: url(arrow.png), -moz-linear-gradient(top, #FFFFFF, #EEEEEE);
	background-image: url(arrow.png), -o-linear-gradient(top, #FFFFFF, #EEEEEE);
	background-image: url(arrow.png), linear-gradient(top, #FFFFFF, #EEEEEE);
	background-repeat: no-repeat;
    background-position: 100% 50%, 0 0;
}

#wrap_sp p {
	width: 100%;
}

#wrap_sp img {
	width: 100%;
}

footer {
	max-width: 640px;
	margin: 15px auto;
	font-size: 12px;
	text-align: center;	
}

@media screen and (max-width: 480px) {
header p {
	margin-top: 0;
}

}