body {
    font-family: "kosugiMaru", "游ゴシック", "Yu Gothic", "MS ゴシック", 'メイリオ', 'Meiryo', "monospace";
    color: #eee;
    font-size: 14px;
    margin: 0 0 0 2px;
    background-color: rgb(50, 50, 58);
    /* background-color: rgb(35, 35, 39); こっちとで迷う*/
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    /* overflow: hidden; */
}

/* ページ全体のスクロールの幅の指定 */

html::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

/* ページ全体のスクロールの背景の設定 */

html::-webkit-scrollbar-track {
    border-radius: 5px;
    box-shadow: 0 0 4px #aaa inset;
}

/* ページ全体のスクロールのつまみ部分の設定 */

html::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: rgba(195, 193, 207, 0.315);
}

/* その他のスクロールの幅の指定 */

#mainLog::-webkit-scrollbar, #kousinrireki::-webkit-scrollbar {
    width: 20px;
    height: 0px;
}

/* その他のスクロールの背景の設定 */

#mainLog-webkit-scrollbar-track, #kousinrireki::-webkit-scrollbar-track {
    border-radius: 5px;
    box-shadow: 0 0 4px #aaa inset;
}

/* その他のスクロールのつまみ部分の設定 */

#mainLog::-webkit-scrollbar-thumb, #kousinrireki::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: rgba(207, 199, 255, 0.315);
}

#mainFrame {
    overflow: hidden visible;
    -ms-overflow-style: none;
    /* IE, Edge 対応 */
    scrollbar-width: none;
    /* Firefox 対応 */
}

#mainFrame::-webkit-scrollbar {
    /* Chrome, Safari 対応 */
    display: none;
}

/* #PmainLeft {
    position: absolute;
    overflow: hidden;
} */

/* #PmainLeftFrame {
    overflow: hidden;
} */

h1 {
    margin: 0;
}

h2 {
    margin: 0;
}

p {
    margin: 0px;
}

li>pre {
    margin: 0px;
    word-break: break-all;
}

li>a {
    margin: 0px;
    word-break: break-all;
}

.nucomoe {
    color: #ebd40e;
}

.fontSize18px {
    font-size: 18px;
}

.flexContainer {
    display: -webkit-flex;
    display: flex;
}

.flexContainerColumn {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
}

.flexspaceBetween {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
}

.flexCenter {
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}

.flexEnd {
    display: -webkit-flex;
    display: flex;
    justify-content: flex-end;
}

.flexShrink0 {
    flex-shrink: 0;
}

.order1 {
    order: 1;
}

.order2 {
    order: 2;
}

.order3 {
    order: 3;
}

.order4 {
    order: 4;
}

.order5 {
    order: 5;
}

.rightSpace {
    /* IE11でも空白を使えるようにするための処置 */
    display: inline-block;
    padding-right: 15px;
}

.topMarginPlus {
    margin: 20px 0 0 0;
}

.topPaddingPlus {
    padding: 20px 0 0 0;
}

.bottom {
    margin: auto 0 0 0;
}

.line-through{
    text-decoration: line-through;
}

#day {
    font-size: 14px;
    flex: 1 0 auto;
    align-self: flex-end;
    margin-top: auto;
}


.logNoiseButton {
    background-color: green;
    /* height: 23px; */
    /* margin-right: 5px; */
    float: right;
}

#title {
    font-family: "microsoft jhenghei UI light";
    font-size: 40px;
    font-weight: bold;
}

#graphic {
    display: inline-block;
    position: relative;
    /* z-index: 1; */
    /* たぶんいらない、なんだこれ*/
    /* width: 660px; */
    /* background-color: rgb(76, 76, 82); */
    /* background-size: cover; */
    /* flex-basis: 10000px; */
}

#loginButton {
    position: absolute;
    font-weight: bold;
    border-style: none;
    color: rgb(76, 76, 82);
    /* 文字の色 */
    font-size: 25px;
    /* 文字のサイズ */
    letter-spacing: 4px;
    /* 文字間 */
    text-shadow: 2px 2px 5px #ffff1a, -2px 2px 5px #ffff1a, 2px -2px 5px #ffff1a, -2px -2px 5px #ffff1a, 2px 0px 5px #ffff1a, 0px 2px 5px #ffff1a, -2px 0px 5px #ffff1a, 0px -2px 5px #ffff1a;
    /* 文字の影 */
    background-color: rgb(76, 76, 82);
    transform: translateY(-50%) translateX(-50%);
    /*要素の大きさの半分ずつを戻す*/
    -webkit-transform: translateY(-50%) translateX(-50%);
    top: 50%;
    left: 61%;
    /*ここで左右調整*/
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

#loginButton:hover {
    text-shadow: 2px 2px 5px red, -2px 2px 5px red, 2px -2px 5px red, -2px -2px 5px red, 2px 0px 5px red, 0px 2px 5px red, -2px 0px 5px red, 0px -2px 5px red;
}

/* 画面サイズ大き過ぎたから80%にするための処理 */

/* -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8); */

/* -moz-transform-origin: 0px 0px;
    -webkit-transform-origin: 0px 0px;
    -o-transform-origin: 0px 0px;
    -ms-transform-origin: 0px 0px;
    transform-origin: 0px 0px; */

/* position: absolute; */

/* width: 528px; */

/* height: 480px;
/* } */

/* #Pmain { */
    /* 画面サイズ大き過ぎたから80%にするための処理
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8); 
    width: 528px;
    -moz-transform-origin: 0px 0px;
    -webkit-transform-origin: 0px 0px;
    -o-transform-origin: 0px 0px;
    -ms-transform-origin: 0px 0px;
    transform-origin: 0px 0px; */
/* } */

#form {
    background-color: #b6a3a3;
}

#form, #switchBar, #footer {
    width: 660px;
}

#nameForm {
    text-align: right;
    background-color: #939393;
}

#userName {
    font-size: 19px;
    width: 99%;
    background-color: #E1E1E1;
    -moz-transform-origin: 3px 0px;
    -webkit-transform-origin: 3px 0px;
    -o-transform-origin: 3px 0px;
    -ms-transform-origin: 3px 0px;
    transform-origin: 3px 0px;
    line-height: 20px;
    /* IE11対策 */
}

#msgForm {
    text-align: right;
    display: none;
    background-color: #939393;
    width: 100%;
    align-items: stretch;
    gap: 2px;
}

#sendBtn {
    flex-shrink: 0;
    padding: 0 10px;
    white-space: nowrap;
    font-weight: bold;
    background-color: #f5c080;
    border: 1px solid #e0a050;
    color: #fff;
    display: none;
}

@media(max-width: 870px) {
    #sendBtn {
        display: block;
    }
}

#msg {
    font-size: 19px;
    flex: 1;
    min-width: 0;
    background-color: #E1E1E1;
    -moz-transform-origin: 3px 0px;
    -webkit-transform-origin: 3px 0px;
    -o-transform-origin: 3px 0px;
    -ms-transform-origin: 3px 0px;
    transform-origin: 3px 0px;
    line-height: 20px;
    resize: none;
    overflow: hidden;
    box-sizing: border-box;
    /* IE11対策 */
}

#msg::placeholder {
    text-align: right;
}

.placeholder-gray::placeholder {
    color: #666;
}

/* 
input,//リセットCSS
,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type='checkbox'],
input[type='radio'] {
  display: none;
}

input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
} */

.input {
    height: 21px;
}



.topAndBottomadding6px {
    padding: 6px 0;
}

#effectVolume {
    width: 280px;
}

.audioVolume{
    width: 60%;
}

#switchBar {
    padding: 0px 0 0 0;
    background-color: #b6a3a3;
}

#checkAllListen {
    background-color: pink;
}

#PmainFooter {
    background-color: #b6a3a3;
}

#Pmachi {
    position: relative;
    z-index: 12;
}

/* #footer {
    padding: 60px 0 0 0;
} */

#mediaContainer {
    position: relative;

    /* background-color: #b6a3a3; */
}

#mediaContainer.video-transparent-mode {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
    background: transparent;
}




#mainLog {
    position:relative;
    font-family: "教科書体", "MS ゴシック", "kosugiMaru", "游ゴシック", "Yu Gothic", "MS ゴシック", 'メイリオ', 'Meiryo', "monospace";
    background-color: rgb(76, 76, 82);
    color: #999;
    overflow: scroll;
    height: 660px;
    max-width: 1000px;
    padding: 0px;
}

#mainLogResizeBar {
  width: 100%;
  height: 8px;
  background: #ccc;
  cursor: ns-resize;
  position: relative;
  bottom: 0;
  touch-action: none;
  /* z-index: 10; */
}
#mainLogResizeBar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  bottom: -8px;
}

#mainLog ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background-image: url(../img/chatscroll.png);
    background-repeat: repeat-y;
    background-size: 100% auto;
}



#mainLog li {
    color: black;
    overflow-wrap: break-word;
}


.msgPrefix {
    display: inline;
    white-space: nowrap;
}

li>pre {
    font-size: 100%;
    white-space: pre-wrap;
    font-family: "kosugiMaru", "教科書体", "MS ゴシック", "游ゴシック", "Yu Gothic", "MS ゴシック", 'メイリオ', 'Meiryo', "monospace";
}

li>a {
    font-size: 100%;
    /* word-break: break-all; */
    overflow-wrap: break-word;
    font-family: "kosugiMaru", "教科書体", "MS ゴシック", "游ゴシック", "Yu Gothic", "MS ゴシック", 'メイリオ', 'Meiryo', "monospace";
}

.inlineBlock {
    display: inline-block;
}

.defaultRed {
    background-color: red;
}

.right {
    float: right;
}

.strike {
    text-decoration: line-through;
}

.nonUnder {
    /* リンクの下線を消す用 */
    text-decoration: none;
}


.video{
    width: 100%;
    height: 100%;
    /* border-right: 10px solid rgb(160, 153, 153); */
    
}


#setting{
    display: none;
    font-size: 16px;
    position: relative;
    z-index: 20;
    overscroll-behavior-x: contain;
    touch-action: pan-y;
    color: rgb(114, 108, 153);
    width: 655px;
    min-height: 200px;
    background-color: rgba(221, 220, 228, 0.904);
    border: 2px solid black;
    border-top: transparent; /* 上辺が透明になる */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
#setting input[type="range"] {
    touch-action: pan-x;
}
#setting input[type="checkbox"] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}
#setting select {
    font-size: 16px;
}
#cameraDeviceSelect, #micDeviceSelect {
    max-width: 400px;
}


/*配信メニュー*/
#mediaMenu {
    position: relative;
    right: +40px;
    width: 100%;
    /* height: 50px; */
    margin: 0 auto;
    list-style: none;
    display: flex;
    flex-direction: column;
}

#mediaMenu>li {
    /* width: 25%; グローバルナビ4つの場合 */
    height: 34px;
    /* line-height: 50px; */
    background: rgb(29, 33, 19);
}

/* #mediaMenu > li a {
    display: block;
    color: #fff;
} */

#mediaMenu>li a:hover {
    color: #999;
}

ul#mediaMenu_second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    list-style: none;
}


/* .mediaElement{ */

/* margin: 0; */

/* } */

/* #mediaMenu > li:hover {
    background: #072A24;
    -webkit-transition: all .5s;
    transition: all .5s;
} */

/* .mediaMenu_second-level li {
    border-top: 1px solid #111;
} */

/* #mediaMenu_second-level li a:hover {
    background: #111;
} */

/* 下矢印 */

/* .init-bottom:after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 0 15px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
} */

/* floatクリア */

/* #mediaMenu:before,
#mediaMenu:after {
    content: " ";
    display: table;
}

#mediaMenu:after {
    clear: both;
}

#mediaMenu {
    *zoom: 1;
}
#mediaMenu > li#mediaMenu_single {
    position: relative;
}

li#mediaMenu_single ul#mediaMenu_second-level {
    position: absolute;
    top: 40px;
    width: 150%;
    background: #072A24;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

li#mediaMenu_single:hover ul#mediaMenu_second-level {
    top: 50px;
    visibility: visible;
    opacity: 1;
} */

#pkun {
    cursor: pointer;
    stroke-linecap: round;
    fill: skyblue;
}

.svgText {
    font-size: 40px;
    font-weight: bold;
    font-family: Arial;
    fill: #fff;
    text-anchor: middle;
}

#pkun.moved {
    animation-name: spin;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    /* animation-direction: alternate; */
    animation-fill-mode: forwards;
}

@keyframes spin {
    0% {
        transform: rotate(0) scale(1.8) translateX(-80px);
    }
    10% {
        transform: rotate(50) scale(1.8) translateX(-5px);
    }
    20% {
        transform: rotate(75deg) scale(1.7);
    }
    25% {
        transform: rotate(100deg) scale(1.7);
    }
    30% {
        transform: rotate(270deg) scale(1.8) translateX(-80px);
        border-radius: 25%;
        width: 250px;
    }
    40% {
        transform: rotate(400deg) scale(1.8) translateX(-80px);
        border-radius: 25%;
        width: 250px;
        background-color: transparent;
    }
    50% {
        transform: rotate(-200deg) scale(1.8) translateX(30px);
        border-radius: 50%;
        background-color: transparent;
        /* fill:skyblue; */
    }
    55% {
        background-color: rosybrown;
    }
    60% {
        transform: rotate(-200deg) scale(1.8) translateX(30px);
        border-radius: 50%;
        background-color: transparent;
        /*背景を初期値（透明）にする*/
        /* fill: rgb(233, 200, 12); */
    }
    80% {
        transform: rotate(640deg) scale(5.8) translateX(100px);
        background-color: gold;
        /* fill:skyblue; */
    }
    90% {
        transform: rotate(640deg) scale(5.8) translateX(100px);
        background-color: transparent;
        /*背景を初期値（透明）にする*/
    }
    95% {
        transform: rotate(720deg) scale(1.8) translateX(200px);
        border-radius: 20%;
    }
    100% {
        transform: rotate(720deg) scale(1.8) translateX(50px);
        border-radius: 20%;
    }
}

.Q-AColor {
    color: rgb(169, 255, 111);
}

#Q-AURL {
    font-size: 25px;
}

#Q-A {
    font-size: 20px;
}

#Q-A a {
    font-size: 18px;
}

.linkColor {
    color: rgb(236, 236, 55);
}

#linkURL {
    font-size: 25px;
}

#link {
    font-size: 20px;
}

#link a {
    font-size: 18px;
}

.errorHandlingColor {
    color: rgb(238, 27, 97);
}

#errorHandlingURL {
    font-size: 25px;
}

#errorHandlingTitle {
    font-family: "Nico Moji";
}

#kousinrirekiURL {
    font-size: 20px;
    background-color: #333332;
}

#kousinrirekiFrame {
    display: -webkit-flex;
    display: flex;
    font-size: 18px;
}

#kousinrireki {
    background-color: #223852;
    width: 61.803%;
    border-right: 5px solid rgb(0, 0, 0);
}

#bagusyusei {
    background-color: #e06818;
    width: 38.197%;
}

#kousinrireki a {
    font-size: 14px;
}

#dominion p, a {
    font-size: 17px;
}

#senburahaihu {
    flex-wrap: wrap;
    margin: 0 0 0 30px;
}

#senburahaihu p, a {
    font-size: 15px;
}

.mzk {
    display: inline-block;
    color: rgba(153, 153, 153, 0.10);
    /* 文字の色 */
    font-size: 12pt;
    /* 文字のサイズ */
    letter-spacing: 2px;
    /* 文字間 */
    text-shadow: 1px 1px 1px #ffffff, -1px 1px 1px #ffffff, 1px -1px 1px #ffffff, -1px -1px 1px #ffffff, 1px 0px 1px #ffffff, 0px 1px 1px #ffffff, -1px 0px 1px #ffffff, 0px -1px 1px #ffffff;
    /* 文字の影 */
}

#sizeSelecter {
    width: 46px;
}

#fontSizeSelecter {
    width: 40px;
}

.selectreFrame {
    border-bottom: 2px solid #ffffff;
}

.sel {
    /* font-size: 1rem;
    display: inline-block;
    margin: 3em 2em;
    width: 350px;
    background-color: transparent;
    position: relative;
    cursor: pointer; */
    /* appearance: none;
	-webkit-appearance:none; */
    /* outline: none; */
    border-radius: 0;
    border: none;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0);
}

.sel>option {
    color: #000;
    background-color: rgba(18, 5, 141, 0.1);
}

#selecter {
    width: 70%;
}

/* .bottomLine {
    border-bottom: 4px solid rgba(0, 0, 0, 0.3);
} */

.smartphone {
    display: none;
}

@media(max-width: 870px) {
    .PC {
        display: none;
    }
    .smartphone {
        display: inline;
    }
    body {
        /* background:#F68B1F; */
        background: skyblue;
    }
    #form {
        order: -1;
    }
    /* #userName {
        width: 50%;
    } */
    /* #msg {
        width: 50%;
    } */
    #titleBar {
        order: 4;
        flex-wrap: wrap;
    }
    #logs {
        flex-direction: column-reverse;
    }
    #switchBar {
        padding: 0;
    }
    #train {
        min-height: 3em;
    }
    #mediaMenu>li {
        /* ボタンが押しにくいので */
        padding: 10px;
    }
    #kousinrirekiFrame {
        flex-direction: column;
    }
    #kousinrireki {
        width: 100%;
    }
    #bagusyusei {
        width: 100%;
    }
    #roomEditBtns {
        position: static;
    }
}

/* 右クリックメニュー */

#contextMenu {
    display: none;
    position: fixed;
    z-index: 1;
    top: 0px;
    white-space: nowrap;
    border: 1px solid rgb(59, 9, 9);
    background-color: rgba(143, 199, 201, 0.5);
    list-style: none;
}

#contextMenu li {
    cursor: pointer;
}

#contextMenu>ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 870px) {
  #contextMenu {
    font-size: 2em;
  }
  #contextMenu li {
    padding: 6px 10px;
  }
}


#abonMenu {
    display: none;
}
#avatarOekakiMenu{
    display: none;
}

/* formatはファイルの拡張子を見て合わせる  ttfならtruetype otfならopentype*/

@font-face {
    font-family: JKゴシックM;
    src: url("/stylesheets/JKG-L_3.ttf") format("truetype");
}

@font-face {
    font-family: 鉄瓶ゴシック;
    src: url("/stylesheets/07鉄瓶ゴシック.otf") format("opentype");
}


@font-face {
    font-family: kosugiMaru;
    src: url("/stylesheets/KosugiMaru-Regular.ttf") format("truetype");
}

@font-face {
    font-family: チカラヅヨク;
    src: url("/stylesheets/851CHIKARA-DZUYOKU_kanaA_004.ttf") format("truetype");
}

@font-face {
    font-family: チカラヨワク;
    src: url("/stylesheets/851CHIKARA-YOWAKU_002.ttf") format("truetype");
}

@font-face {
    font-family: まるっかな;
    src: url("/stylesheets/851CHIKARA-YOWAKU_002.ttf") format("truetype");
}

@font-face {
    font-family: M+フォント;
    src: url("/stylesheets/851CHIKARA-YOWAKU_002.ttf") format("truetype");
}

@font-face {
    font-family: 源界明朝;
    src: url("/stylesheets/title_genkai-mincho.ttf") format("truetype");
}

@font-face {
    font-family: にゃしぃフォント改二;
    src: url("/stylesheets/title_Nyashi_Friends.ttf") format("truetype");
}

@font-face {
    font-family: PixelMplus;
    src: url("/stylesheets/title_PixelMplus12-Regular.ttf") format("truetype");
}

@font-face {
    font-family: めもわーるしかく;
    src: url("/stylesheets/title_memoir-square.otf") format("opentype");
}

/* @font-face {
    font-family: ;
    src: url("/stylesheets/") format("truetype");
} */

@font-face {
    font-family: Q-A;
    src: url("/stylesheets/Q-A.ttf") format("truetype");
}

@font-face {
    font-family: link;
    src: url("/stylesheets/link.ttf") format("truetype");
}

select {
    font-family: "鉄瓶ゴシック", "游ゴシック", "Yu Gothic", "MS ゴシック", 'メイリオ', 'Meiryo', "monospace";
    background-color: #ffffffb9;
}

.鉄瓶ゴシック {
    font-family: "鉄瓶ゴシック";
}

.JKゴシックM {
    font-family: "JKゴシックM";
}

.kosugiMaru {
    font-family: "kosugiMaru";
}

.チカラヅヨク {
    font-family: "チカラヅヨク";
}

.チカラヨワク {
    font-family: "チカラヨワク";
}

.MSゴシック {
    font-family: "MSゴシック";
}

.UDDigiKyokashoN-R {
    font-family: "UD Digi Kyokasho N-R";
}

.游ゴシック {
    font-family: "游ゴシック";
}

.microsoftjhengheiUIlight {
    font-family: "microsoft jhenghei UI light";
}

.headIcon{
    font-size: 100px;
    content:"tes!!!";
    
}

