* {
    -webkit-transform: translateZ(0px);
    -moz-transform: translateZ(0px);
    -ms-transform: translateZ(0px);
    font-family: Helvetica, Arial, sans-serif;
}

html {
    background: #000;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #000;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    font-size: 1em;
    -ms-touch-action: none;
}

#main-page {
    position: fixed;
    margin: 0 0;
    background: #000;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}

#viewport {
    position: absolute;
    background: #000;
    top: 0;
    left: 0;
    overflow: hidden;
}

.container {
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transform-origin: 0px 0px;
    -moz-transform-origin: 0px 0px;
    -ms-transform-origin: 0px 0px;
}

.frame-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100.1%;
    height: 100.1%;
    z-index: 999;
}

.cover-glass {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
    /*background:#000;
    opacity:0.8;*/
}

/* 
目次 
*/
/* 暗幕 */
#toc-base {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /* background: url(../images/smoke.png); */
    background: rgba(0, 0, 0, 0.7);
    display: none;
    text-align: center;
}

/* 目次一覧 */
#toc-box {
    width: 85%;
    margin: 0 auto;
    overflow: hidden;
    padding: 0px;
    text-align: left;
}

#toc-box ul {
    margin: 0;
    padding: 0;
}

#toc-box ul li {
    font-size: 2.4em;
    line-height: 1em;
    margin: 30px 0;
    list-style-type: none;
    text-shadow: none;
    border-bottom: solid 1px #fff;
}

#toc-box ul li a {
    color: #fff;
    cursor: pointer;
}

#toc-box ul li a:hover {
    color: #f00;
}

/* 
ポップアップメニュー 
*/
#black-screen {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.8;
    display: none;
    z-index: 0;
    text-align: center;
}

/* ファーストメニュー */
#first-menu {
    position: absolute;
    color: #000;
    opacity: 1.0;
    text-align: center;
    z-index: 2001;
    width: 400px;
    height: 400px;
    background: url(../images/dialog1.png) no-repeat;
    display: none;
}

#first-menu p {
    margin: 10px auto 10px auto;
    font-size: 1.6em;
}

.first-menu-item, .first-menu-note {
    font-size: 1.3em;
    margin: 10px 10px 20px 15px;
    clear: both;
    text-align: left;
}

.first-menu-item img {
    margin-right: 5px;
    float: left;
}

.first-menu-note img {
    vertical-align: baseline;
}

/* ガイド */

#guide-menu {
    height: 100%;
    width: 100%;
}

#guide-next {
    position: fixed;
    top: 0;
    background: url(../images/guide_next.png) no-repeat;
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1999;
}

#guide-center {
    position: fixed;
    top: 0;
    background: url(../images/guide_center.png) no-repeat;
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1999;
}

#guide-prev {
    position: fixed;
    top: 0;
    background: url(../images/guide_prev.png) no-repeat;
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1999;
}

/* サイドカバー */
#left-cover {
    position: fixed;
    top: 0;
    background-color: #000;
}

#right-cover {
    position: fixed;
    top: 0;
    background-color: #000;
}

/*** LastMenu ***/
.last-menu {
    background-color: rgba(240, 240, 240, 1.0);
    position: absolute;
    opacity: 1.0;
    border-radius: 10px;
    z-index: 2001;
    width: 600px;
    height: 820px;
    display: none;
    color: #000;
}

.last-menu .lm-box {
    height: 100%;
}

.last-menu .lm-box .lm-body {
    min-height: 100%;
    height: auto;
}

.last-menu p {
    margin: 0;
}

.last-menu .lm-center {
    margin: 10px 0;
    font-size: 2.0em;
    text-align: center;
}

.lm-button {
    height: 80px;
    width: 540px;
    font-size: 2.0em;
    margin: 10px 30px;
    text-align: center;
    border-radius: 10px;
    line-height: 80px;
    color: #fff;
    background-color: #a0a0a0;
}

.lm-button.lm-active {
    background-color: #909090;
}

.lm-button.lm-decide {
    background-color: #808080;
}

.lm-img-button {
    height: 270px;
    width: 540px;
    margin: 10px 30px;
    text-align: center;
}

.lm-img-button img {
    border-radius: 5px;
    height: 100%;
    width: 100%;
}

.lm-md-button {
    height: 80px;
    width: 300px;
    font-size: 1.6em;
    margin: 40px auto 20px auto;
    text-align: center;
    border-radius: 10px;
    line-height: 80px;
    color: #fff;
}

.lm-sm-button {
    height: 80px;
    width: 270px;
    font-size: 2.2em;
    margin: 4px auto;
    text-align: center;
    border-radius: 10px;
    line-height: 80px;
    color: #fff;
    border-style: none;
}

.lm-sm-button.decide {
    font-size: 2.4em;
}

.lm-button.double {
    height: 100px;
    width: 540px;
    font-size: 2.0em;
    margin: 10px 30px;
    text-align: center;
    border-radius: 10px;
    line-height: 50px;
    color: #fff;
}

.lm-button,
.lm-img-button,
.lm-md-button,
.lm-sm-button {
    cursor: pointer;
}

.lm-button.confirm {
    background-color: #2185d0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.lm-button.confirm.lm-active {
    background-color: #1175e0;
}

.lm-button.confirm.lm-decide {
    background-color: #0165d0;
}

.lm-button.change {
    background-color: #a0a0a0;
}

.lm-button.change.lm-active {
    background-color: #909090;
}

.lm-button.change.lm-decide {
    background-color: #808080;
}

.lm-button.cancel,
.lm-sm-button.cancel {
    background-color: #b0b0b0;
}

.lm-button.cancel.lm-active,
.lm-sm-button.cancel.lm-active {
    background-color: #a0a0a0;
}

.lm-button.cancel.lm-decide,
.lm-sm-button.cancel.lm-decide {
    background-color: #909090;
}

.lm-md-button.cancel {
    background: url(../images/close.png);
    background-size: cover;
}

.lm-md-button.cancel.lm-active {
    background: url(../images/close_active.png);
    background-size: cover;
}

.lm-md-button.cancel.lm-decide {
    background: url(../images/close_decide.png);
    background-size: cover;
}

.lm-button.other {
    background-color: #2185d0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.lm-button.other.lm-active {
    background-color: #1175e0;
}

.lm-button.other.lm-decide {
    background-color: #0165d0;
}

.lm-md-button.decide {
    height: 120px;
    width: 310px;
    font-size: 2.0em;
    margin: 10px auto;
    text-align: center;
    border-radius: 10px;
    color: #fff;
    display: table;
    line-height: 50px;
}

.lm-md-button.decide p {
    display: table-cell;
    vertical-align: middle;
}

.lm-md-button.cancel {
    margin: 0;
    color: #fff;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    position: absolute;
    text-shadow: 1px 1px 0 #666;
    top: -32px;
    right: -22px;
    width: 100px;
    height: 100px;
    z-index: 1000;
    overflow: visible;
}

.lm-button.decide,
.lm-md-button.decide,
.lm-sm-button.decide {
    background-color: #e4656d;
}

.lm-button.decide.lm-active,
.lm-md-button.decide.lm-active,
.lm-sm-button.decide.lm-active {
    background-color: #d4555d;
}

.lm-button.decide.lm-decide,
.lm-md-button.decide.lm-decide,
.lm-sm-button.decide.lm-decide {
    background-color: #c4454d;
}

.lm-button.decide {
    margin: 0px auto;
}

#lm-info-box {
    width: 580px;
    height: 300px;
    margin: 10px auto;
}

#lm-info-box .lm-info-message {
    margin: 10px 10px 4px 10px;
    font-weight: bold;
    text-align: center;
}

.lm-info-message p {
    font-size: 2.0em;
    white-space: nowrap;
    overflow: hidden;
    -webkit-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.lm-info-message .lmt-left {
    width: 85%;
    text-align: right;
    float: left;
}

.lm-info-message .lmt-right {
    width: 13%;
    margin-left: 2%;
    text-align: left;
    float: left;
}

.lm-info-inner-box {
    height: 240px;
    margin: 4px 10px 10px 20px;
}

.lm-info-img {
    float: left;
    width: 160px;
    height: 240px;
}

.lm-info-img img {
    max-width: 160px;
    max-height: 240px;
}

.lm-info-r-box {
    width: 370px;
    float: right;
}

.lm-info-point {
    font-size: 2.0em;
}

.lm-info-text {
    font-size: 1.6em;
}

.lm-info-box:after {
    content: "";
    display: block;
    clear: both;
}

.rec-divide {
    height: 2px;
    width: 580px;
    margin: 0px auto;
    background-color: #e00064;
}

#confirm-box {
    position: absolute;
    background-color: rgba(240, 240, 240, 1.0);
    width: 640px;
    height: 210px;
    color: #000;
    opacity: 1.0;
    text-align: center;
    z-index: 2001;
    display: none;
    border-radius: 7px;
}

.dialog-box {
    width: 570px;
    margin: 0 auto;
}

#confirm-box p {
    margin: 10px;
    font-size: 2.0em;
}

#confirm-box div {
    color: #fff;
}

#confirm-box .leftbox {
    float: left;
}

#confirm-box .rightbox {
    float: right;
}

#confirm-box form input {
    border: none;
    -webkit-appearance: none;
}

/*** MessageBox ***/
#message-box {
    background-color: rgba(240, 240, 240, 1.0);
    position: absolute;
    color: #000;
    opacity: 1.0;
    border-radius: 10px;
    z-index: 2001;
    width: 600px;
}

#message-box.type0 {
    height: 260px;
}

#message-box.type1 {
    height: 340px;
}

#message-box.type2 {
    height: 420px;
}

#message-box > .lm-button {
    position: absolute;
    bottom: 10px;
}

#message-box p {
    margin: 20px;
    font-size: 2em;
    line-height: 1.3em;
}

#message-box .lm-center {
    margin: 10px 0;
    font-size: 2.0em;
    text-align: center;
}

.menu-link {
    margin: 2px auto 0px auto;
}

.menu-link-note {
    font-size: 1.2em;
    color: #115;
    width: 90%;
    line-height: 1.0em;
    margin: 0px auto 0px auto;
}

.two-state-button, three-state-button {
    cursor: pointer;
}

.css-two-state-button {
    width: 344px;
    height: 60px;
    text-align: center;
    font-size: 25px;
    margin: 0 auto;
    padding-top: 17px;
    cursor: pointer;

    color: #333;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 15px;
    background: #ccc;
}

.css-two-state-button:hover {
    background: #ddd;

}

/***************************************************************
メニューページ
****************************************************************/
#menu-page {
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    z-index: 1001;
    display: none;
}

.menu-page-button {
    display: block;
    width: 600px;
    height: 72px;
    margin: 20px auto 0px auto;
    cursor: pointer;
    opacity: 0.8;
}

.menu-page-button:hover {
    opacity: 1.0;
}

#menu-page-button-enq {
    height: 200px;
    margin-top: 200px;
}

#menu-page-button-back {
}

#menu-page-button-mm {
    margin-top: 50px;
    height: 100px;
}

#menu-page-comic-info-outer {
    width: 600px;
    height: 320px;

    margin: 0px auto 0px auto;
}

#menu-page-comic-info {
    position: relative;
    width: 600px;
    height: 290px;
}

#menu-page-thumbnail {
    display: block;

    width: 200px;
    height: 287px;
    position: absolute;
    top: 0px;
    left: 0px;

}

#menu-page-label-comic {
    display: block;

    width: 300px;
    height: 37px;
    position: absolute;
    top: 30px;
    left: 260px;
}

#menu-page-button-netshop {
    width: 250px;
    height: 114px;
    position: absolute;
    top: 90px;
    left: 280px;
}

.menu-page-bar {
    display: block;

    width: 600px;
    height: 9px;
    margin: 10px auto;
}

#next-preview {
    width: 600px;
    height: 100px;
    margin: 20px auto 0px auto;
    font-size: 30px;
    line-height: 120%;
    text-align: left;
}

/* 奥付情報 */
#publish-info {
    position: absolute;
    width: 720px;
    margin: 20px auto 0 auto;
    padding: 20px 40px;
    font-size: 20px;
    line-height: 155%;
    text-align: left;
    border: 2px solid #000;
    left: 80px;
    bottom: 80px;

    display: none;
}

#pi-title {
    font-size: 35px;
    font-weight: bold;
    padding-bottom: 6px;
    border-bottom: 4px solid #000;

}

#pi-episode {
    font-size: 22px;
    font-weight: bold;
    margin-top: 5px;
}

#pi-author {
    margin-top: 5px;
    font-size: 28px;
}

#pi-copyright {
    font-size: 20px;
    margin-top: 0;
}

#pi-author, #pi-copyright, #pi-publisher, #pi-opendate {
    font-family: 'MS PMincho', "HGS明朝E", "ＭＳ Ｐ明朝", "ヒラギノ明朝 Pro W6", "Hiragino Mincho Pro", serif;
    font-weight: bold;
}

#copyright {
    position: absolute;
    font-size: 30px;
    bottom: 30px;
    right: 50px;
    color: #555;
}

.nav-rect {
    position: absolute;
    /*background: #fa5;
    opacity: 0.3;*/
    cursor: pointer;
    z-index: 1001;
}

/********************************************************************/

#stock {
    position: absolute;
    left: 10000px;
    display: none;
}

#debug {
    position: absolute;
    width: 200px;
    height: 500px;
    background: #fff;
    color: #000;
    display: none;
    opacity: 0.8;
    overflow: auto;
}

#trans-sheet {
    position: absolute;
    background: #FFF;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.0;
    display: none;
    text-align: center;
}
