@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

body
{
    background:url(../img/bg_img.png);
}

header {
    background-color:rgba(0,0,0,0.65);
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:3;
}
header h1 {
    text-shadow:none;
    font-size:9px;
    display:none;
}
header #top_back {
    float:left;
    width:20%;
}
header #pdf_btn {
    float:right;
    text-align:right;
}
header #help_btn {
    float:right;
    text-align:right;
}
header #mokuji_btn {
    float:right;
    text-align:right;
}
#mokuji_header {
    background:#333;
    width:100%;
}
#mokuji_header #mokuji_title {
    float:left;
    width:80%;
}
#mokuji_header #mokuji_close {
    float:right;
    text-align:right;
    width:20%;
}

#mokuji {
    background:#333;
    clear:both;
    position:absolute;
    top: 0;
    left: 0;
    width:100%;
    min-height:100%;
    z-index:1000000;
    text-shadow:none;
    color:#FFF;
    display: none;
}

#mokuji ul {
    margin:0;
    padding:0;
    border-top:#FFF dotted 1px;
}
#mokuji ul li {
    list-style:url(../img/arrow.png) inside;
    border-bottom:#FFF dotted 1px;
    clear:both;
}
#mokuji ul li a {
    display:block;
    padding:15px;
    color:#FFF;
    text-decoration:none;
}
#mokuji ul li a span {
    text-align:right;
    float:right;
}
#help {
    background:#333;
    clear:both;
    position:absolute;
    top: 0;
    left: 0;
    width:100%;
    min-height:100%;
    z-index:1000000;
    text-shadow:none;
    color:#FFF;
    display: none;
}
#help_header {
    background:#333;
    width:100%;
}
#help_header #help_title {
    float:left;
    width:80%;
}
#help_header #help_close {
    float:right;
    text-align:right;
    width:20%;
}
#help #help_img_ios {

    width: 100%;
    text-align: center;
    display: none;
}
#help #help_img_android {
    width: 100%;
    text-align: center;
    display: none;
}
footer {
    background-color:rgba(0,0,0,0.65);
    text-align:center;
    position: fixed;
    left:0;
    bottom:0;
    width:100%;
    height:80px;
    z-index:2;
    padding: 20px 0px;
    display: none;
}

#book {
    position:relative;
    /*top:20px;*/
    z-index:1;
    overflow: hidden;
}

#pages
{
    position: relative;
    width: 320px;
    height: 400px;
    overflow: hidden;
}

#pages section
{
    float:left;
    width: 320px;
    height: 400px;
    display:block;
}
#pages section img
{
    
}

#pages .page_left
{
    position: relative;
    /*background: #CCC;*/
    /*width: 320px;
    height: 400px;*/
    /*left:0px;*/
   
    
    
   
}

#pages .page_left img
{
    position: absolute;
    
    width: 320px;
    height: 400px;
    left:0px;
}

#pages .page_right
{
    position: relative;
    /*background: #CCC;*/
    /*width: 320px;
    height: 400px;*/
    /*position: relative;*/
    /*overflow: hidden;*/
    
}
#pages .page_right img
{
   position: absolute;
    width: 640px;
    height: 480px;
    /*overflow: hidden;*/
    /*left: -100%;*/
    

}

#pages .page_section
{
    position: relative;
    width: 1px;
    margin-left: 1px;
    margin-right: 1px;

}
#pages .page_section img
{
    position: absolute;
   
}

#pages section img
{
        
    /*position: relative;*/
    /*width: 640px;
    height: 400px;*/
    
}

#pages_num
{
    color: #fff;
}


#prev {
    position: fixed;
    top: 50%;left: 10px;
    z-index: 900000;
    display: none;
}

#next {
    position: fixed;
    top: 50%;
    right: 10px;
    z-index: 900000;
    display: none;
}

#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 900000;
    /*display: none;*/
}

#sideways {
    width:100%;
    background: #000;
    position: fixed;
    top: 0px;
    z-index:100000;
    filter: alpha(opacity=0.5);
    -moz-opacity:0.5;
    opacity:0.5;
    display: none;
    overflow: hidden;
}

#sideways img
{
    position: absolute;
    left: 0px;
    top: 0px;
}


input[type="range"]{
    width:250px;
    -webkit-appearance: none;
    display: inline-block;
    margin:0;
    padding:0;
    position:relative;
    cursor:pointer;
    vertical-align:middle;
    line-height:28px;
    box-shadow: 0 1px 1px rgba(255,255,255,0.6);
    height:12px;
    background:#fff;
    margin:0 10px;
    box-shadow:inset 0 1px 2px rgba(0,0,0,0.2), 0 1px 0 rgba(255,255,255,0.2);
    border-radius:15px;
}
input[type="range"]{
    background: linear-gradient(#666,#ccc); /* 背景 */
    background-color:#fff; /* valueのバー */
    background-image: url(../img/slider.png);
    background-position: -250px 0px;
    background-repeat:no-repeat;
}

input[type="range"]::-webkit-slider-runnable-track {
margin:0 -7px;
}

input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    cursor:pointer;
    border:0px solid #000;
    width:27px;
    height:27px;
    background:rgba(0,0,255,0.5);
    border-radius:100%;
    border: 1px solid #777;
    border-top-color: #999;
    background: -webkit-linear-gradient(#ddd,#fff);
    /*background: -moz-linear-gradient(#ddd,#fff);*/
    background: linear-gradient(#ddd,#fff);
    box-shadow: 0 1px 1px rgba(0,0,0,0.2), inset 0px 1px 1px #fff;
}