
input[type="button"],
input[type="submit"],
input[type="reset"] {
  -webkit-appearance: button;
}
.p-game-fw-error-loading {
    background-color:#000000;
    position: absolute;
    width: 100%;
    height: 100%;
}
.p-game-fw-error-loading .message {
    position: relative;
    text-align: center;
    color: #fff;
/*  font-size:4vw;
    top: 45%;*/
	/* 20160822 渡辺修正 */
	font-size:2vw;
	top: 40%;
}
.p-game-fw-loading {
    background-color:#000000;
    position: absolute;
    width: 100%;
    height: 100%;
}
.p-game-fw-loading .message {
    position: relative;
    text-align: center;
    color: #fff;
    font-size:4vw;
	font-size:4vw;
    top: 45%;
}
.p-game-fw-loading .progress {
    position: relative;
    text-align: center;
    top: 50%;
    height: 0.5%;
    width: 88%;
    margin: 0 6% 0 6%;
    background-color: #ffffff;
    border-radius: 2%;
}

.p-game-fw-loading .progress .bar {
    width: 0%;
    height: 100%;
    background-color: #ff5722;
    border-radius: 2%;
}

.p-game {
    font-size:5vw;
}

/* ゲーム終了画面 */
.p-game-fw-finish-frame {
    z-index: 10;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
}
.p-game-fw-finish-frame .p-game-fw-finish {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80%;
	margin: -50% 0 0 -40%;
	border: 2px solid #c1c1c1;
	background-color:#fff;
}
.p-game-fw-finish-frame .p-game-fw-finish .title-frame {
    height: 50px;
    line-height: 50px;
    background: #455a64 url("../images/logo.png") no-repeat 4px;
    background-size: 48px;
}
.p-game-fw-finish-frame .p-game-fw-finish .title-frame .title {
    margin-left: 20%;
    width: 80%;
    color: #ffffff;
    font-size: 18pt;
 	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.p-game-fw-finish-frame .p-game-fw-finish .score-title {
    color: #0091ea;
    text-align: center;
    margin-top: 4%;
    font-size: 4vw;
}
.p-game-fw-finish-frame .p-game-fw-finish .score-title-high {
    color: #ff5722;
    text-align: center;
    margin-top: 4%;
    font-size: 4vw;
}
.p-game-fw-finish-frame .p-game-fw-finish .score {
    text-align: center;
	width: 90%;
	height: 40px;
	line-height: 40px;
    margin: 15px 0 0 5%;
    background-color: #eceff1;
    border: 1px solid #b6b6b6;
    color: #212121;
    font-size: 18pt;
}
.p-game-fw-finish-frame .p-game-fw-finish .score span{
    color: #727272;
    font-size: 12pt;
}
.p-game-fw-finish-frame .p-game-fw-finish .goto-ranking {
    text-align: center;
	width: 80%;
	height: 60px;
	line-height: 60px;
    margin: 5% 0 0 10%;
    background: #0091ea url("../images/goto_icon.png") no-repeat 95%;
    background-size: 24px 24px;
    border: 1px solid #b6b6b6;
    color: #ffffff;
    font-size: 5.5vw;
}
.p-game-fw-finish-frame .p-game-fw-finish .goto-ranking a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    width: 100%;
}
.p-game-fw-finish-frame .p-game-fw-finish .return-game {
    text-align: center;
	width: 80%;
	height: 60px;
	line-height: 60px;
    margin: 5% 0 10% 10%;
    background: #455a64 url("../images/return_icon.png") no-repeat 5%;
    background-size: 24px 24px;
    color: #ffffff;
    border: 1px solid #b6b6b6;
    font-size: 5.5vw;
}
@media (orientation: landscape) {
    /* ゲーム終了画面 */
    .p-game-fw-finish-frame .p-game-fw-finish {
        top: 80%;
        left: 50%;
        width: 60%;
        margin: -40% 0 0 -30%;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .title-frame {
        height: 40px;
        line-height: 40px;
        background-size: 40px;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .title-frame .title {
        font-size: 16pt;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .score-title {
        margin-top: 2%;
        font-size: 3vw;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .score-title-high {
        margin-top: 2%;
        font-size: 3vw;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .score {
        width: 80%;
        margin: 2% 0 0 10%;
        font-size: 16pt;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .score span{
        color: #727272;
        font-size: 12pt;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .goto-ranking {
        width: 70%;
        height: 50px;
        line-height: 50px;
        margin: 5% 0 0 15%;
        font-size: 3.5vw;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .return-game {
        width: 70%;
        height: 50px;
        line-height: 50px;
        margin: 5% 0 5% 15%;
        font-size: 3.5vw;
    }
}

/* ゲーム終了画面 logout */
.p-game-fw-finish-frame .p-game-fw-finish .goto-login {
    text-align: center;
	width: 80%;
	height: 60px;
	line-height: 60px;
    margin: 0 0 0 10%;
    background: #ff5722 url("../images/goto_icon.png") no-repeat 95%;
    background-size: 24px 24px;
    border: 1px solid #b6b6b6;
    color: #ffffff;
    font-size: 5.5vw;
}
.p-game-fw-finish-frame .p-game-fw-finish .goto-login a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    width: 100%;
}
.p-game-fw-finish-frame .p-game-fw-finish .login-title {
    text-align: center;
    margin: 4% 0 4% 0;
    font-size: 3.5vw;
}
.p-game-fw-finish-frame .p-game-fw-finish .login-title span {
    color: #ff5722;
}
.p-game-fw-finish-frame .p-game-fw-finish .register-title {
    text-align: center;
    margin: 4% 0 4% 0;
    font-size: 3.5vw;
}
.p-game-fw-finish-frame .p-game-fw-finish .register-title a {
    color: #000000;
    text-decoration: underline;
}
.p-game-fw-finish-frame .p-game-fw-finish .register-title span {
    color: #9fadbe;
}
@media (orientation: landscape) {
    /* ゲーム終了画面 logout */
    .p-game-fw-finish-frame .p-game-fw-finish .score-title {
        margin-top: 2%;
        font-size: 3vw;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .score-title-high {
        margin-top: 2%;
        font-size: 3vw;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .goto-login {
        width: 70%;
        height: 50px;
        line-height: 50px;
        margin: 0 0 0 15%;
        font-size: 3.5vw;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .login-title {
        text-align: center;
        margin: 1% 0 1% 0;
        font-size: 2.2vw;
    }
    .p-game-fw-finish-frame .p-game-fw-finish .register-title {
        text-align: center;
        margin: 2% 0 1% 0;
        font-size: 2.2vw;
    }
}

/* メニュー */
.p-game-fw-menu-frame .menu-button {
	position: absolute;
    z-index: 1;
    top: 0px;
    left: 100%;
    margin-left: -50px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: url("../images/open-menu.png") no-repeat;
    background-size: 52px 52px;
    border: 1px solid #b6b6b6;
    opacity: 0.6;
}
.p-game-fw-menu-frame .menu-button.active {
    background: url("../images/hide-menu.png") no-repeat;
    background-size: 52px 52px;
}
.p-game-fw-menu-frame .menu {
	position: fixed;
    top: 0px;
    left: 100%;
    width: 50%;
    height: 100%;
    /*margin-left: -50%;*/
    background-color: #455a64;
    border: 1px solid #b6b6b6;
    font-size: 3.8vw;
}
.p-game-fw-menu-frame .menu .title {
    width: 96%;
    height: 51px;
    padding-left: 4%;
    line-height: 51px;
    color: #000000;
    background-color: #eceff1;
    position: relative;
    box-shadow: 0 2px 4px #000000;
}
.p-game-fw-menu-frame .menu a {
    color: #ffffff;
    text-decoration: none;
}
.p-game-fw-menu-frame .menu .item {
    width: 80%;
    height: 51px;
    padding-left: 20%;
    line-height: 51px;
    background-color: #0091ea;
    position: relative;
    border-bottom: 1px solid #b6b6b6;
}
.p-game-fw-menu-frame .menu .item.home {
    background-image: url("../images/home.png");
    background-repeat: no-repeat;
    background-size: 20px 22px;
    background-position: 5%;
}
.p-game-fw-menu-frame .menu .item.arrow {
    background-image: url("../images/right-arrow-white.png");
    background-repeat: no-repeat;
    background-size: 10px 20px;
    background-position: 90%;
}
@media (orientation: landscape) {
    .p-game-fw-menu-frame .menu-button {
        left: 0px;
        margin-left: 0px;
    }
    .p-game-fw-menu-frame .menu {
        left: 0%;
        width: 33%;
        margin-left: -33%;
        font-size: 3vw;
    }
    .p-game-fw-menu-frame .menu .title {
        width: 70%;
        padding-left: 30%;
    }
}

/* ajax error */
.p-game-fw-ajax-error {
    z-index: 5;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.8);
}
.p-game-fw-ajax-error #ajax-error {
	position: absolute;
	top: 10%;
	left: 50%;
	width: 70%;
	margin: 0 0 0 -35%;
	border: 1px solid #c1c1c1;
	background-color:#fff;
}
.p-game-fw-ajax-error #ajax-error .title {
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size:4vw;
    text-align: center;
    color:#FFF;
    background-color: #ff0000;
}
.p-game-fw-ajax-error #ajax-error .text {
    margin-top: 6%;
    font-size: 3.3vw;
	color:#212121;
	text-align:center;
}
.p-game-fw-ajax-error #ajax-error .text .petit-game {
    color: #ff5722;
}
.p-game-fw-ajax-error #ajax-error .goto-top {
    text-align: center;
	width: 80%;
	height: 60px;
	line-height: 60px;
    margin: 5% 0 10% 10%;
    background: #0091ea url("../images/goto_icon.png") no-repeat 95%;
    background-size: 24px 24px;
    border: 1px solid #b6b6b6;
    color: #ffffff;
    font-size: 5vw;
}
.p-game-fw-ajax-error #ajax-error .goto-top a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    width: 100%;
}

/* デバイスの向き調整 */
.p-game-fw-orientation {
    z-index: 5; 
    background-color:#000000;
    position: absolute;
    width: 100%;
    height: 100%;
}

.p-game-fw-orientation .device-orientation {
	position: absolute;
    text-align:center;
    width: 100%;
    height: 300px;
	top: 50%;
	margin: -150px 0 0 0;
}

.p-game-fw-orientation .device-orientation .message {
    font-size:30px;
    color:#ff5722;
}

.p-game-fw-orientation .device-orientation img {
    margin-top:20px;
    width: 50%;
}

@media (orientation: landscape) {
    .p-game-fw-orientation .device-orientation img {
        width: 30%;
    }
}
