html, body{
    width:100%;
    height: 100%;
}

body{
    padding:0;
    margin:0;
    overflow: hidden;
}

a:focus, *:focus { outline: none; }
a:focus, *:focus {
    noFocusLine: expression(this.onFocus=this.blur());
}

.wrapper{
    position: relative;
    width:100%;
    height: 100%;
    padding:15px;
    box-sizing:border-box;
}


.frameCentering{
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;
}

.frame{
    padding-top:0px;
    width:960px;
    height:640px;
    /*margin-top:;*/
}

h1{
    height:128px;
    margin:0;
    margin-top: 10px;
}

a {
    color : #DC0000;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

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

.h1_logo{
    margin:0 auto;
    width:122px;
    height:128px;
}





/*************************************************
 *  .ytb_player
 */
#player_box{
    padding:0;
    width:80%;
    background:transparent;
}

#player_box .rbt-ytb-player{
    width:100%;
    height:100%;
}

#player_box .rbt-ytb-player iframe{
    margin:auto;
    width:100%;
    height:100%;
}


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

.top_navi{
    list-style: none;
    padding:0;
    margin-top: 35px;
}

.top_navi>li{
    position: absolute;
    width:300px;
}

.top_navi>li.center{
    position: absolute;
    left:330px;
    margin:0;
}

.top_navi>li.left{
    left:0;
}

.top_navi>li.right{
    right:0;
}

.top_navi .btn_base{
    position: relative;
    display: block;
    width: 300px;
    height: 300px;
}

.top_navi .btn_base img{
    position: absolute;
    margin: auto;
}

.top_navi .caption{
    font-weight: bold;
    text-align: center;
    margin-top:20px;
    font-size:12px;
}

.top_content{
    margin:0;
    padding:0;
    list-style: none;
    width: 300px;
    height:300px;
}

.top_content>li{
    margin:0;
    padding:0;
    position: absolute;
    width:300px;
    height:300px;
    display:none;
}

.top_content>li.top{
    display:block;
}

.top_content>li.top .text{
    font-size: 12px;
    font-weight: bold;
    color:#FFF;
}

.top_content>li div.text{

    width:280px;
    height: 1em;
    z-index: 100;
    text-align: center;
}


.top_content>li dl.text{

    width:280px;
    height:2.0em;
    z-index: 100;
    text-align: center;
}

.top_content>li dt{
    margin:0;
    margin-bottom: 3px;
    padding:0;
    font-weight:bold;
    font-size:10px;
}


.top_content>li dd{
    margin:0;
    padding:0;
    font-size: 13px;
}

.top_content_selector{
    position: relative;
}

.top_content_selector_inner{
    height:16px;
    padding:0;
    bottom:auto;
}

.top_content_selector_inner li{
    width:16px;
    height:16px;
    display: block;
    float:left;
    margin-left:8px;
    text-align: center;
    list-style-type: none;
    cursor: pointer;
}
.top_content_selector_inner li.first{
    margin-left:0;
}

.top_content_selector_inner li>img{
    width:16px;
    height:16px;
}

/*************************************************
 *  banner_area
 */
.banner_area{
    list-style: none;
    position: absolute;
    padding:0;
    margin:0 auto;
    left:0;right:0;
    bottom:12.5%;
    text-align: center;
    margin-left: -10px;
}

.banner_area.pc{
    display: block;
}
.banner_area.sp{
    display:none;
}

.banner_area li{
    margin-left: 10px;
    width:220px;
    height:70px;
    display: inline-block;
}

.banner_area li a,
.banner_area li img{
    width:220px;
    height:70px;
}
.banner_area li.navi{
    width:40px;
    height: 40px;
    padding: 15px 0px;
}

.banner_area li.navi a{

    width:40px;
    height:40px;
}
.banner_area li.navi a img {
    display: block;
    width:40px;
    height:40px;
}


/*************************************************
 *
 */
.footer{
    position: absolute;
    bottom:3%;
    width:100%;
    left:0;
    margin:0;
    padding:0;
}
.footer .sns{
    padding:0;
    margin:10px;
}

.footer .sns li{
    list-style: none;
    width:30px;
    height:30px;
    margin: 0 auto;
    padding: 0;
}

.footer p{
    margin:2px 0;
    font-size:10px;
    color:#666;
    text-align: center;

}

/*************************************************
 *
 */
.background{
    width:100%;
    height:100%;
    background: url("../img/bg2.png") center center no-repeat;
    background-size:100% 100%;
}

.background_tex {
    width:100%;
    height:100%;
    background: url("../img/bg.png") center center;
}

.noscript{
    position: fixed;
    top:0;
    left:0;
    color:#333;
    width:100%;
    z-index:999;
    font-size:10px;
    text-align: center;
}


@media screen and (max-width:980px),  screen and (max-height: 700px){

    h1{
        margin-top:-30px;
        -moz-transform:scale(0.7);
        -webkit-transform:scale(0.7);
        transform:scale(0.7);
    }

    .top_navi{
        margin-top: 00px;
    }

    .frame{
        width:720px;
        height:500px;
    }

    .top_navi>li, .btn_base, .btn_base img{
        width:225px !important;
        height:225px !important;
    }

    .top_navi>li.center{
        left:247px;
    }

     .top_content{
        width:225px;
        height:225px;
    }

    .top_navi>li dl.text{
        width:90%;
    }

    .top_navi>li div.text{
        width:90%;
    }

    .top_content>li{
        width:225px;
        height:225px;
    }

    .top_navi>li .caption{
        margin-top:15px;
    }

    .banner_area{
        bottom:16%;
    }

    .banner_area li,
    .banner_area li a,
    .banner_area li img{
        width:198px;
        height:63px;
    }

    .footer{
        margin-top: 70px;
        margin-bottom:5px;
    }
}



@media screen and (max-width: 720px), screen and (max-height: 530px) {
    body{
        overflow: auto;
    }


    h1{
        margin-top:0px;
    }

    .wrapper{
        height:auto;
        padding:10px;
    }
    .frame{
        width: 100%;
        height:auto;
        position: relative;
        padding-top:15px;
    }

    .background{
        position: absolute;
        top:15px; left:15px;
        right:15px; bottom:15px;
        width: auto;
        height:auto;
        z-index: -1;
    }

    .top_navi{
        margin-top:15px;
    }

    .top_navi>li{
        position: static !important;
    }
    .top_navi>.center{
        margin-top:20px !important;
    }


    .top_navi>li, .btn_base, .btn_base img{
        width:225px !important;
        height:225px !important;
    }

    .top_navi>li{
        margin:70px auto 0 !important;
    }

    .top_navi>li .top_content_selector{
        margin-top: 25px;
    }

    .top_navi>li dl.text{
        width:90%;
    }

    .top_navi>li div.text{
        width:90%;
    }

    .footer{
        position: static;
    }

    .top_content{
        width:225px;
        height:225px;
    }
    .top_content>li{
        width:225px;
        height:225px;
    }

    .banner_area{
        position: static;
        margin-top: 70px;
        margin-bottom: 0;
    }
    .banner_area.pc{
        display:none;
    }
    .banner_area.sp{
        display: block;
    }
    .banner_area li{
        margin:20px auto 0;
        display: block;
    }

    .footer{
        margin-top: 20px;
        margin-bottom:20px;
    }


}
