

/* common */
html, body {
  height:100%;
}

body {
	font-size: 14px/1.231;
  color: #555;
  text-align: center;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Droid Sans", sans-serif;
  background-color: #f6f2ed;
}

.container {
  width: 320px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

/* header common*/
header {
  background-color: #362e2b;
  padding: 5px 15px 5px;
}
header .logo {
  float: left;
  text-align: left;
  margin: 0;
  padding: 0;
}
.logo img{
  width: 215px;
}
p.popmenu {
  float: right;
  margin: 0;
  padding: 0;
}
p.popmenu a{
  background: url(../img/menuimg.png) no-repeat 50% 48%, -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #0e0e0e), color-stop(0.00, #666));
  background: url(../img/menuimg.png) no-repeat 50% 48%, -webkit-linear-gradient(#666, #0e0e0e);
  background: url(../img/menuimg.png) no-repeat 50% 48%, -moz-linear-gradient(#666, #0e0e0e);
  background: url(../img/menuimg.png) no-repeat 50% 48%, -o-linear-gradient(#666, #0e0e0e);
  background: url(../img/menuimg.png) no-repeat 50% 48%, -ms-linear-gradient(#666, #0e0e0e);
  background: url(../img/menuimg.png) no-repeat 50% 48%, linear-gradient(##666, #0e0e0e);
  background-size: 15px auto, auto;
  -webkit-background-size: 15px auto, auto;
  -moz-background-size: 15px auto, auto;
  -o-background-size: 15px auto, auto;
  -ms-background-size: 15px auto, auto;
  text-indent: -9999px;
  display: block;
  width: 25px;
  height: 25px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}
.totop {
  font-size: 80%;
  color: #58838c;
  text-align: center;
  text-decoration: none;
  display: block;
  margin: 0.8em 0;
}

/* footer common */
footer{
  font-size: 70%;
  text-align: center;
  margin-top: 1.0em;
  margin-bottom: 0.8em;
}
footer p {
	margin: 0;
	padding: 0;
}
p.footerlogo {
  margin-bottom: 0.5em;
}
p.footerlogo img{
  width: 147px;
}
p.copyright {
  font-family: Helvetica, Arial, "Droid Sans", sans-serif;
}

/* social common*/
ul.socialnav {
  font-size: 70%;
	margin-bottom: 1.0em;
}
ul.socialnav li {
  float: left;
  text-align: center;
  width: 33%;
}
ul.socialnav li span {
  display: block;
  margin-top: 0.2em;
}
ul.socialnav li a {
  display: block;
  width: 52px;
  height: 52px;
  text-indent: -9999px;
  -webkit-border-radius: 26px;
  -moz-border-radius: 26px;
  -o-border-radius: 26px;
  border-radius: 26px;
  -webkit-box-shadow: 1px 1px 3px #333 inset;
  -moz-box-shadow: 1px 1px 3px #333 inset;
  -o-box-shadow: 1px 1px 3px #333 inset;
  box-shadow: 1px 1px 3px #333 inset; 
  color: #fff;
  text-decoration: none;
  margin: auto;
}
ul.socialnav li a.socialMail {
  background: url(../img/socialMailimg.png) no-repeat center center #58838c;
  background-size: 29px auto;
}
ul.socialnav li a.socialTwitter {
  background: url(../img/socialTwitterimg.png) no-repeat center center #58838c;
  background-size: 34.5px auto;
}
ul.socialnav li a.socialFacebook {
  background: url(../img/socialFacebookimg.png) no-repeat center center #58838c;
  background-size: 15.5px auto;
}
ul.socialnav li a.hover {
  background-color: #ee6161;
}

#social li {
  display: inline-block;
  float: left;
  margin: 10px 5px;
}
.socialMail {
  text-decoration: none;
  font-weight: bold;
  color: #222;
  font-size: 11px;
  border: 1px solid #ccc;
  background-color: #f5f5f5;
  padding: 0.2em 0.8em 0.2em 1.7em;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  background: url(../img/mailimg.png) no-repeat 4px center #e3f2f2;
  background-size: 12px auto;
}
#social li.facebook {
  overflow: hidden;
}

/* parts common*/
img {
  vertical-align: bottom;
}
ul,ol{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* section common */
section.box {
  margin-left: 10px;
  margin-right: 10px;
}
section p {
	font-size: 80%;
	margin-bottom: 1em;
	line-height: 1.4;
}
.boxline {
  border-bottom: 1px solid #dad1c5;
  box-shadow: 0px 1px 0px #fff;
  -moz-box-shadow: 0px 1px 0px #fff;
  -webkit-box-shadow: 0px 1px 0px #fff;
	margin-bottom: 0.5em;
}

/* ipop */
#ipop {
  background-color: #362e2b;
  width: 100%;
  height: 100%;
  min-height:416px;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  font-size: 14px;
  color: #fff;
  line-height: 1.4;
  text-align: left;
  z-index: 9999;
  margin: 0;
  padding: 0;
  filter: alpha(opacity=95);
  -moz-opacity:0.95;
  opacity:0.95;
}
#ipop a {
  background: url(../img/menuArrow.png) no-repeat 98% 50%;
  background-size: 9px auto;
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 0.5em 1.0em;
}
#ipop .menu li.comics a,
#ipop .menu li.description a,
#ipop .menu li.information a {
  padding-left: 60px;
}
#ipop p.close{
  cursor: pointer;
  color: #000;
  position: absolute;
  top: 10px;
  right: 15px;
  width: 20px;
  height: 20px;
  font-size: 16px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.1;
  background-color: #fff;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}
#ipop ul {
  border-top: 1px dotted #9b9795;
  margin-top: 40px;
}
#ipop ul li {
  border-bottom: 1px dotted #9b9795;
}
#ipop .menu li.comics {
  background: transparent url(../img/topnavbgcomics.png) no-repeat 12px 50%;
  background-size: 40px auto;

}
#ipop .menu li.description {
  background: transparent url(../img/topnavbgdescription.png) no-repeat 12px 50%;
  background-size: 40px auto;

}
#ipop .menu li.information {
  background: transparent url(../img/topnavbginformation.png) no-repeat 12px 50%;
  background-size: 40px auto;

}


/* media Query */
@media screen and (max-width : 479px) {
      .container {
        width: 320px;
      }
} 
@media screen and (min-width: 480px) {
      .container {
        width: 480px;
        -webkit-text-size-adjust: none;
      }
} 



/* clearfix */
.clearfix,
#social,
ul.socialnav,
ul.pagenationimg,
ul.pagenation,
header { zoom:1; }
.clearfix:after,
#social:after,
ul.socialnav:after,
ul.pagenationimg:after,
ul.pagenation:after,
header:after {
  content: ".";
  display: block;
  height: 0px;
  clear: both;
  line-height: 0;
  visibility: hidden;
}