@charset "utf-8";

/*
スマホ: 320px - 480px
タブレット: 480 - 768px
PC: 768px以上
*/

/* 共通の設定 */
html,body{
    height: 100%;
}

html{
    background: black;
}

body {
    margin:0 auto;
    width: 95%;
    background: black;
    font-family: Arial, Verdana, sans-serif;
}

#header {
    overflow: hidden;
    /*padding-bottom: 1%;*/
    /*padding-top: 1%;*/
    margin-top: 0.5%;
    height: 11.5%;
    background: black;
}

#headerTitle>h1{
    font-size: 42pt;
}

#info{
    background: black;
    margin-top: 0.5%;
    height: 12.5%;
}

#container {
    height: 85%;
}

#footer {
    height: 0%;
    background: black;
}

#main {
    background: black;
    margin-top: 1%;
    margin-bottom: 1%;
    height: 85%;
}

#side1 {
    background: black;
    /*background: #111111;*/
    margin-top: 1%;
    margin-bottom: 1%;
    height: 85%;
}

#side2 {
    background: black;
    /*background: #111111;*/
    margin-top: 1%;
    margin-bottom: 1%;
    height: 85%;
}


#s1img_wrapper {
    width: 100%;
    text-align: center;
}

#s1flash_wrapper {
    width: 100%;
    text-align: center;
}

#s2wrapper {
    position: relative;
    width: 100%;
    height: 45%;
    text-align: center;
    z-index:10;
}

#s3wrapper {
    position: relative;
    margin-top: 10%;
    width: 100%;
    height: 45%;
    text-align: center;
    z-index:10;
}

#ref_shiai{
    position: absolute;
    clear: both;
    z-index: 30;
}

#ref_kaisetsu{
    position: absolute;
    clear: both;
    z-index: 30;
}

#screen2{
/*    position: absolute;
    top: 0;
    left: 0;
*/    z-index: 20;
}

#screen3{
/*    position: absolute;
    top: 0;
    left: 0;
*/    z-index: 20;
}

#chatArea {
    overflow: scroll;
    height: 90%;
    background-color: #f0f0f0;
}

#chatArea>dl>dd.myPost {
 float: left;
 margin-right: 5px;
 margin-right: 5px;
 margin-left: 5px;
 margin-left: 5px;
 padding-bottom: 5px;
 width: 250px;
 color: blue;
 word-break: normal;
 font-weight: bold;
 font-size: 7pt;
}

#chatArea>dl>dd.othersPost {
 float: left;
 margin-right: 5px;
 margin-left: 5px;
 padding-bottom: 5px;
 width: 250px;
 word-break: normal;
 font-size: 7pt;
}

#chatTxt {
 float: left;
 width: 98%;
 margin-right: 1%;
 margin-left: 1%;
 margin-top:3px;
 height: 1.4em;
 resize: none;
 font-size: 10pt;
}

#headerTitle {
    float: left;
/* overflow: hidden; */
    width: 20%;
}

#headerNav{
    float: left;
    width: 80%;
}

#headerNav ul {
    overflow: hidden;
    list-style: none;
}

#headerNav li {
    float:right;
    margin-left:1.2%;
}

#footerNav{
    float: right;
    margin-right:5%;
    margin-left: 5%;
    width: 90%;
}

#footerNav ul {
    overflow: hidden;
    list-style: none;
}

#footerNav li {
    float:left;
    width: 15%;
}

h1{
    color: #f1f1f1;
    font-size: 20pt;
    font-family:"ヒラギノ明朝 Pro W6", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", serif;
    padding-bottom: 5px;
}

h2{
    color: #f1f1f1;
    font-size: 16pt;
    font-family:"ヒラギノ明朝 Pro W6", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", serif;
}

img{
    max-width: 100%;
    max-height: 100%;
}

img.kifu{
    max-width: 100%;
    max-height: 94%;
}

img.icon{
    border-radius: 4px;            /* CSS3草案 */  
    -webkit-border-radius: 4px;    /* Safari,Google Chrome用 */  
    -moz-border-radius: 4px;       /* Firefox用 */
}

/* スマホのスタイル */

#headerNav {
    display: none;
}
#side1{
    display: none;
}
#side2{
    display: none;
}
#footerNav {
    display: block;
}

/* タブレットのスタイル */

@media all and (min-width: 480px) {
    #headerNav {
        display: block;
    }
    #footerNav {
        display: none;
    }
    #main {
        float: left;
        width: 65%;
    }
    #side1 {
        display: block;
        float:right;
        width: 35%;
    }
}

/* PCのスタイル */

@media all and (min-width: 768px) {
    #container {
        overflow: hidden;
    }
    #main {
        float: left;
        /*width: 55%;*/
        width: 48%;

    }
    #side1 {
        float:left;
        margin-left: 2%;
        width: 26%;
    }
    #side2 {
        display: block;
        float: left;
        margin-left: 2%;
        width: 22%;
    }
}


/* ここから下幽玄の間デモ用 */
@media all and (min-width: 1200px) {
    #s1flash_wrapper {
        padding-top: 8%;
    }

@media all and (min-width: 1250px) {
    #s1flash_wrapper {
        padding-top: auto;
    }




