@font-face{src:url('assets/fonts/comicsans.ttf');font-family:comicsans;}
@font-face{src:url('assets/fonts/papyrus.ttf');font-family:papyrus;}
@font-face{src:url('assets/fonts/hangyaku.ttf');font-family:hangyaku;}
@font-face{src:url('assets/fonts/cube12.ttf');font-family:cube12;}
@font-face{src:url('assets/fonts/genjuu.ttf');font-family:genjuu;}
@font-face{src:url('assets/fonts/kaimetsu.otf');font-family:kaimetsu;}
@font-face{src:url('assets/fonts/hackgen.ttf');font-family:hackgen;}
@font-face{src:url('assets/fonts/wingdings.ttf');font-family:wingdings;}
@font-face{src:url('assets/fonts/wingdings2.ttf');font-family:wingdings2;}
@font-face{src:url('assets/fonts/wingdings3.ttf');font-family:wingdings3;}
@font-face{src:url('assets/fonts/kurundeco.otf');font-family: kurundeco;}
@font-face{src:url('assets/fonts/starrysky.otf');font-family: starrysky;}
@font-face{src:url('assets/fonts/kurobara.ttf');font-family: kurobara;}
@font-face{src:url('assets/fonts/marukoius.ttf');font-family: marukoius;}
@font-face{src:url('assets/fonts/novamono.ttf');font-family: novamono;}
@font-face{src:url('assets/fonts/pricedown.ttf');font-family: pricedown;}
@font-face{src:url('assets/fonts/corporate.otf');font-family: corporate;}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #def0ff;
    border: 2px solid #cfe9ff;
}

option {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #def0ff;
    color: #000000;
}

textarea{
    font-size: 16px;
    background-color: #f0f8ff;
    font-family: comicsans;
}

html{
    width: 100%;
    /* overflow: hidden; */
    background-color: #f0f8ff;
}
#body{
    font-family:comicsans;
    background-color: #f0f8ff;
    margin: 0px!important;
    font-size: 18px;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;
}

/*汎用？凡庸？神出鬼没？*/
.row{
    display: flex;
    flex-direction: row;
}
.column{
    display: flex;
    flex-direction: column;
}

@keyframes swayX {
    0% { transform: translateX(0); }
    50% { transform: translateX(10px); } /* 右に10px */
    100% { transform: translateX(0); }
}
.yurayura-x {
    animation: swayX 1s infinite ease-in-out;
}

@keyframes vibX {
    0%{transform: translateX(5px);}
   25%{transform: translateX(-5px)}
   50%{transform: translateX(5px);}
   75%{transform: translateX(-5px)}
  100%{transform: translateX(0)}
}
.vibable {
    animation: vibX 0.5s;
}

/*こまごめピペット*/
#movableDescription {
    display: none;
    position: fixed;
    pointer-events: none;
    background-color: rgba(90, 90, 90, 0.9);
    color: rgb(255, 255, 255);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 2000;
}

/*こっからupperUI*/
#upperUI{
    display: block;
    border-bottom: 3px solid #cfe9ff;
    background-color: #def0ff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    padding: 10px;
    z-index: 997;
}
#menuToggle{
    display: block;
    position: absolute;
    right:30px;
    top: 50%;
    transform: translateY(-50%);
    font-size:40px;
    cursor: pointer;
    z-index: 998;
}
#login-button{
    display: block;
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    padding: 3px;
    border: 2px solid #cfe9ff;
    cursor: pointer;
    z-index: 998;
}
#expbar{
    display: none;
    position: absolute;
    width: 50%;
    height: 30px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 998;
    background-color: #4473ad;
    text-align: center;
}
#exp{
    position: absolute;
    width:0%;
    height: 24px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #365172;
    z-index: 999;
    display: inline-block;
    vertical-align: middle;
}
#exptext{
    position:absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 20px;
    color: #f0f8ff;
    display: inline-block;
    vertical-align: middle;
    z-index: 1000;
}

/*こっからsideMenu*/
#sideMenu {
    position: fixed;
    top: 0;
    left: -255px;
    width: 250px;
    height: 100%;
    color: #333344;
    background-color: #def0ff!important;
    border-right: 3px solid #cfe9ff;
    transition: left 0.3s;
    padding-left: 5px;
    z-index:999;
};
hr{
    background-color: #cfe9ff;
    border: 2px solid #cfe9ff;
}
#sideMenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #def0ff;
};
#sideMenu ul li {
    padding: 3px;
};
#sideMenu ul li a {
    color: #000000;
    text-decoration: none;
};
#sideMenu ul li select{
    background-color: #def0ff;
    border: 1px solid #cfe9ff;
}
#sideMenu button {
    background-color: #def0ff;
    border: none;
    color: #000000;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
}

/*こっからsmart-phone*/
.smart-menu{
    position: fixed;
    right: 0px;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    user-select: none;
    pointer-events: none;
}
.smart-icon{
    width: 50px;
    height: 50px;
    background-color: #333;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-family: webdings;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    clip-path: polygon(0% 0%, 100% 0%, 100% 80%, 80% 100%, 0% 100%);
    pointer-events: all;
}
.smart-icon.hidden{
    transform: translateY(20px);
    opacity: 0;
    user-select: none;
    pointer-events: none;
}
.smart-phone{
    font-family: wingdings;
    background-color: #4473ad;
    pointer-events: all;
}

/* notceのやつ */
#notice{
    display: none;
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 700px;
    background-color: #def0ff;
    color:#2b2b2b;
    border: 2px solid #cfe9ff;
    z-index: 1020;
    overflow-y: scroll;
}
#notice .x{
    position: absolute;
    right: 8px;
    top: 0;
    font-size: 20px;
    cursor: pointer;
    z-index: 1019;
}
#notice .list{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-top: 20px;
}
#notice .list .item{
    margin-top: 5px;
    border: 1px solid #b5dcff;
    padding: 2px 6px;
    cursor: pointer;
}
#notice .show{
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    word-wrap: break-word;
}
#notice .show .back{
    text-align: left;
    font-size: 20px;
    padding: 6px 3px;
    cursor: pointer;
    border-bottom: 2px solid #cfe9ff;
}
#notice .show .title{
    text-align: center;
    font-size: 24px;
    padding: 6px 3px;
    border-bottom: 2px solid #cfe9ff;
}
#notice .show .body{
    text-align: left;
    font-size: 18px;
    padding: 6px 3px;
}

#cpopup{
    display: none;
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    max-height: 600px;
    background-color: #eeeeee;
    color:#2b2b2b;
    border: 2px solid #b2b2b2;
    z-index: 999;
    overflow: auto;
}
#cpopup ul{
    background-color: #eeeeee;
}
#cpopup ul li{
    background-color: #eeeeee;
}

#iframe{
    display: none;
    width: 70%;
    height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: 2px solid #ffbb00;
    border-radius: 5px;
    background-color: #f0f8ff;
    overflow: scroll;
    padding:2px;
    z-index: 1100;
}

#iframes{
    display: none;
}
#Linkframe2,#Linkframe3,#Linkframe4{
    display: none;
}
#iframes .commands{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
#iframes .button{
    width: 30px;
    height: 20px;
    border: 1px solid #b2b2b2;
    background-color: #e5ecf2;
    text-align: center;
    appearance: none;
}


.wd{
    display: none;
}
#wdcheck{
    cursor: pointer;
    font-size:4px;
    font-family: wingdings!important;
    background-color: #bebebe;
}
#wdtextarea{
    font-family: wingdings;
}

.row{
    display: flex;
    flex-direction: row;
}

/*ログインのやつ*/
#login{
    display: block;
    width: 75%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #def0ff;
    border: 1px solid #b5dcff;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.5s ease; 
    z-index: 1234;
    user-select: none;
    pointer-events: none;
}
#login input {
    width: calc(100% - 20px);
    margin-bottom: 10px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #b5dcff;
    
}
#login button {
    width: 100%;
    padding: 10px;
    background-color: #cfe9ff;
    border: 2px solid #b5dcff;
    color: #000000;
    font-size: 16px;
    cursor: pointer;
}
#login button:hover {
    background-color: #cfe9ff;
}
#logout{
    cursor: pointer;
}

/*タブ切り替えるやつ 実装は未定*/
#tabs {
    display: flex;
    height: 65px;
    font-size: 45px;
    justify-content: center;
    gap: 20%;
    padding: 5px 5%;
    background-color: #def0ff;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 998;
}

.tab {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
}
#home-tab{font-family: webdings;}
#memo-tab{font-family: wingdings;}
#tools-tab{font-family: webdings;}
#nanj-tab{font-family: webdings;}
#twitter2-tab{font-family: webdings;}
#jine-tab{font-family: webdings;}
#answer-tab{font-family: wingdings;}
#question-tab{font-family: wingdings;}
#en-tab{font-family: webdings;}
#tips-tab{font-family: wingdings;}


/*一旦全体にエンチャ*/
#Home,#Commu,#Anonymous,#Study,#Pixelen{
    margin-top: 95px;
    height: 100%;
    background-color: #f0f8ff;
    overflow-y: scroll;
    margin-bottom: 80px;
}

/*こっからHome*/

/*こっからhome*/
#home{
    display: block;
    background-color: #f0f8ff;
}

#links{
    margin-top: 10px;
    max-height: 20%;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 2px solid #cfecff;
    background-color: #f0f8ff;
    margin-bottom: 20px;
}

#memos{
    max-height: 60%;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 2px solid #cfecff;
    background-color: #f0f8ff;
    padding: 15px;
    margin-bottom: 20px;
}
.memo{
    width: 400px;
    min-width: 50px;
    max-width: 99%;
    height: 180px;
    border: 2px solid #cfe9ff;
    background-color: #f0f8ff;
    margin-bottom: 25px;
    position: relative;
    resize: both;
    overflow: hidden;
}
.m-title{
    width: 100%;
    min-width: 50px;
    height: 23px;
    border-bottom: 2px solid #cfe9ff;
    overflow-x: scroll;
    white-space: nowrap;
    scrollbar-width: none;
}
.m-text{
    width: 100%;
    min-width: 50px;
    padding: 0px 3px;
    font-size: 16px;
    height: calc(100% - 23px); 
    overflow-x: hidden;
    overflow-y: scroll;
    white-space: pre-wrap;
    word-wrap: break-word;
    scrollbar-width: none;
}
.m-title::-webkit-scrollbar,#text::-webkit-scrollbar {
    display: none; /* Chrome, Edge, Safariでスクロールバーを非表示 */
}
.m-delete{
    position: absolute;
    top: 1.3px;
    right: 0px;
    cursor: pointer;
    font-family: wingdings; 
    border: 1px solid #cfe9ff;
}
.m-delete:hover{
    color: red;
}
.m-add{
    width: 400px;
    height: 23px;
    cursor: pointer;
    font-size: 22px;
    text-align: center;
    border: 2px solid #cfe9ff;
}

#iframes{
    height: 20%;
    max-height: 1200px;
    overflow-y: scroll;
    overflow-x: hidden;
    border: 2px solid #cfe9ff;
}
.iframe-frame{
    width: 100%;
    height: 100vh;
    border: 2px solid #cfe9ff;
}

/*こっからmemo*/
#memo{
    display: none;
}
#memo .title{
    margin-left: 5px;
    display: block;
    border: 2px solid #cfe9ff;
    background-color: #f0f8ff;
    padding: 5px;
    width: 100px;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    overflow-x: scroll;
    scrollbar-width: none;
}
#memo .title::-webkit-scrollbar {
    display: none;
}
#memo .search{
    margin-left: 2px;
    background-color: #f0f8ff;
    border: solid 2px #cfe9ff;
}
#memo .search:hover{
    background-color: #def0ff;
}
#memo .text{
    margin-top: 10px;
    display: block;
    border: 2px solid #cfe9ff;
    background-color: #f0f8ff;
    padding: 5px;
    min-width: 50px;
    height: 90vh;
    max-height: 90vh;
    font-size: 16px;
    overflow-x: hidden;
    overflow-y: scroll;
    white-space: pre-wrap;
    word-wrap: break-word;
    scrollbar-width: none;
}
#memo .title:focus, #memo-text:focus{
    background-color: #def0ff;
}

/*こっからtools*/
#tools{
    display: none;
}

/*こっからprofile*/
#profile{
    display: none;
}
#profile .icon{
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    cursor: pointer;
}
#profile .fileInput{
    display: none;
}


/*こっからCommu*/
#Commu{
    display: none;
    overflow: hidden!important;
}

/*nanj*/
#nanj{
    display: none;
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    background-color: #f0f8ff;
    border: 2px solid #cfe9ff;
    border-radius: 5px;
    overflow: hidden;
    flex-direction: column;
}
#messages {
    flex: 1;
    padding: 10px;
    overflow-y: scroll;
    max-height: 60vh;
    border-bottom: 2px solid #cfe9ff;
}
.message {
    margin-bottom: 10px;
    padding: 8px 12px;
    background-color: #def0ff;
    border-radius: 5px;
    max-width: 80%;
    max-height: 150px;
    overflow-y: auto;
}
.message.users {
    background-color: #c7fff0;
    align-self: flex-end;
}
#message-input {
    border: none;
    padding: 15px;
    flex: 1;
    font-size: 16px;
    width: 100%;
}
#send-button {
    border: none;
    padding: 15px;
    background-color: #b5dcff;
    color: #f0f8ff;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}
#send-button:hover {
    background-color: #cfe9ff;
}
#room-select {
    display: block;
    width: 100%;
    height: 30px;
    border-bottom: 2px solid #cfe9ff;
}


.hover-element {
    position: relative;
    display: inline-block;
}
.popup {
    display: none;
    padding: 10px;
    background-color: rgba(72, 72, 72, 0.563);
    color: #fff;
    border-radius: 5px;
    z-index: 1100;
}
.hover-element:hover .popup {
    display: block;
}

/*こっからtwitter2*/
#twitter2{
    display: none;
    width: 500px;
    height: 100%;
    margin: 10px auto;
    background-color: #f0f8ff;
    border: 2px solid #cfe9ff;
    border-radius: 5px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    position: relative;
}
#tweets {
    position: relative;
    flex: 1;
    width: 100%;
    overflow-y: scroll;
    padding: 10px;
    max-height: 73vh;
    z-index: 100;
}

#twitter2 .tweets-2{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #f0f8ff;
    overflow-x: hidden;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 102;
}
#twitter2 .t-tweet-motono{
    padding: 5px;
    border-bottom: 2px solid #cfe9ff;
}
#twitter2 .t-tweet-motono .tweet{
    width: calc(100% - 14px) !important;
}
#twitter2 .tweets-2 .t-tweet-replies{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.motono{
    margin-bottom: 5px!important;
}

#t-make-button {
    position: fixed;
    bottom: 75px;
    right: 73px;
    width:80px;
    height: 50px;
    cursor: pointer;
    border: none;
    padding: 5px;
    background-color: #4473ad;
    color: #f0f8ff;
    font-size: 32px;
}
#t-make-zone{
    display: block;
    position: fixed;
    width: 500px;
    height: 600px;
    bottom: -600px;
    background-color: #eaf5ff;
    color:#000000;   
    transition: bottom 0.3s;
    z-index: 200;
}
#t-make-header{
    margin: 0 auto;
    background-color: #eaf5ff;
    border-bottom: 2px solid #cfe9ff;
    width: 100%;
    height: 5%;
    position: relative;
}
#t-make-send{
    color: #4473ad;
    font-size: 18px;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}
#t-make-cancel{
    color: #4473ad;
    font-size: 18px;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}
#t-make-body{
    margin: 0 auto;
    background-color: #def0ff;
    width: 100%;
    height: 95%;
    position: relative;
}
#t-make-text{
    height: 100%;
    border: 1px solid #def0ff;
    padding: 5px;
    /* resize: both; */
    overflow-y: auto;
}

.tweet{
    margin-bottom: 15px;
    padding: 8px 5px;
    background-color: #def0ff;
    border: 2px solid #cfe9ff;
    border-radius: 5px;
    width: calc(100% - 34px);
    max-width: 100%;
    max-height: 400px;
    overflow: hidden;
    /* overflow-y: auto; */
    display: flex;
    flex-direction: row;
    scrollbar-width: none;
    z-index: 101;
}/* これ、左にアイコン、右上にtextがあって、その下に評価というかハートとかそーゆうのがある形にする？いわゆるreddit風だね*/
.tweet .header{
    display: block;
    width: 60px;
    height: 100%;
    padding-right: 10px;
}
.tweet .header .icon{
    margin: 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    background-color: #f0f8ff;
    border: 1px solid #cfe9ff;
}
.tweet .column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    min-height: 50px;
}
.tweet .content{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.tweet .content .text{
    padding: 3px 0px;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    border: 1px solid #cfe9ff;
    scrollbar-width: none;
}
.tweet .evaluation{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}
.tweet .evaluation .eval{
    width: 60px;
    height: 30px;
    cursor: pointer;
    margin-right: 5px;
    background-color: #cfe9ff;
    border: 2px solid #b5dcff;
    border-radius: 5px;
    color: #000000;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 5px;
}


/*こっからAnonymous*/
#Anonymous{
    display: none;
}

/*こっからStudy*/
#Study{
    display: none;
}

/* こっからen */
#en{
    width: 90%;
    margin: 0 auto;
    background-color: #def0ff;
    border: 2px solid #cfe9ff;
    overflow: hidden;
    flex-direction: column;
}
#en #search-area{
    background-color: #def0ff;
    border: 2px solid #cfe9ff;
    height: 24px;
    text-align: left;
}
#en #search-result{
    display: none;
    background-color: #def0ff;
    border-top: 2px solid #cfe9ff;
    padding: 15px;
}
#en .search-result-item{
    display: block;
    background-color: #cfe9ff;
    border: 2px solid #b5dcff;
    max-height: 200px;
    overflow-y: scroll;
    margin: 0 auto;
    text-align: left;
    padding: 5px;
    margin-bottom: 15px;
    /* position:relative; */
}
#en .search-result-en{
    font-size: 18px;
}
#en .search-result-ja{
    font-size: 16px;
}
#en .search-result-speech{
    font-size: 16px;
}
#en .search-result-attribute{
    font-size: 16px;
}
#en .search-result-description{
    font-size: 14px;
}
#en #search-narrow {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background: #def0ff;
    border-radius: 8px;
    margin-top: 8px;
    transition: all 0.3s ease-in-out;
    max-height: 40px;
    overflow: hidden;
}
#en #search-narrow.expanded {
    max-height: 200px;
}

#en .narrow-option {
    padding: 6px 12px;
    border: 1px solid #cfe9ff;
    background: #f0f8ff;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}
#en .narrow-option.active {
    background: #5278a5;
    color: #f0f8ff;
}
#en #narrow-apply {
    padding: 6px 12px;
    border: none;
    background: #4473ad;
    color: #f0f8ff;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}
#en #narrow-apply:hover {
    background: #315f97;
}

#en #post-make-button{
    position: absolute;
    bottom: 75px;
    right: 73px;
    width:80px;
    height: 50px;
    border: none;
    padding: 5px;
    background-color: #4473ad;
    color: #f0f8ff;
    font-size: 32px;
}
#en #post-area{
    background-color: #def0ff;
    border: 2px solid #cfe9ff;
    width: 90%;
    height: calc(100vh - 110px);
    padding: 10px;
    padding: 10px;
    position: fixed;
    right: calc(-90% - 34px);
    bottom: 0px;
    transition: right 0.3s;
    z-index: 998;
}
#en #post-header{
    margin: 0 auto;
    background-color: #eaf5ff;
    border-bottom: 2px solid #cfe9ff;
    width: 100%;
    height: 5%;
    position: relative;
}
#en #post-cancel{
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}
#en #post-send{
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}
#en #post-body{
    margin: 0 auto;
    background-color: #eaf5ff;
    width: 100%;
    height: 90%;
    padding: 10px;
}
#en #post-en textarea, #en #post-ja textarea, #en #post-speech textarea, #en #post-attribute textarea{
    width: 98%;
    height: 25px;
    max-height: 25px;
    margin-bottom: 20px;
    border: 1px solid #cfe9ff;
    background-color: #f0f8ff;
    resize: vertical;
}
#en #post-description textarea{
    width: 98%;
    height: 25px;
    max-height: 150px;
    border: 1px solid #cfe9ff;
    background-color: #f0f8ff;
    resize: vertical;
}
#en #post-checkboxes {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}
#en .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #222233;
}
#en .checkbox-label input {
    margin-right: 5px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/*こっからPixelen*/
#Pixelen{
    display: none;
}

/*こっからBooks*/
#books{
    width: 90%;
    margin: 0 auto;
    background-color: #def0ff;
    border: 2px solid #cfe9ff;
    overflow: hidden;
    flex-direction: column;
}
#books #search-area{
    background-color: #def0ff;
    border: 2px solid #cfe9ff;
    height: 24px;
    text-align: left;
}
#books #search-result{
    display: none;
    background-color: #def0ff;
    border-top: 2px solid #cfe9ff;
    padding: 15px;
}
#books .search-result-item{
    display: block;
    background-color: #cfe9ff;
    border: 2px solid #b5dcff;
    max-height: 200px;
    overflow-y: scroll;
    margin: 0 auto;
    text-align: left;
    padding: 5px;
    margin-bottom: 15px;
    /* position:relative; */
}
#books .search-result-title{
    font-size: 18px;
}
#books .search-result-attribute{
    font-size: 16px;
}
#books .search-result-description{
    font-size: 14px;
    color: #3c3c3c;
}

#books #search-narrow {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    background: #def0ff;
    border-radius: 8px;
    margin-top: 8px;
    transition: all 0.3s ease-in-out;
    max-height: 40px;
    overflow: hidden;
}
#books #search-narrow.expanded {
    max-height: 200px;
}
#books .narrow-option {
    padding: 6px 12px;
    border: 1px solid #cfe9ff;
    background: #f0f8ff;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}
#books .narrow-option.active {
    background: #5278a5;
    color: #f0f8ff;
}
#books #narrow-apply {
    padding: 6px 12px;
    border: none;
    background: #4473ad;
    color: #f0f8ff;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}
#books #narrow-apply:hover {
    background: #315f97;
}

#books #post-make-button{
    position: absolute;
    bottom: 75px;
    right: 73px;
    width:80px;
    height: 50px;
    border: none;
    padding: 5px;
    background-color: #4473ad;
    color: #f0f8ff;
    font-size: 32px;
}
#books #post-area{
    background-color: #def0ff;
    border: 2px solid #cfe9ff;
    width: 90%;
    height: calc(100vh - 110px);
    padding: 10px;
    padding: 10px;
    position: fixed;
    right: calc(-90% - 34px);
    bottom: 0px;
    transition: right 0.3s;
    z-index: 998;
}
#books #post-header{
    margin: 0 auto;
    background-color: #eaf5ff;
    border-bottom: 2px solid #cfe9ff;
    width: 100%;
    height: 5%;
    position: relative;
}
#books #post-cancel{
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}
#books #post-send{
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}
#books #post-body{
    margin: 0 auto;
    background-color: #eaf5ff;
    width: 100%;
    height: 90%;
    padding: 10px;
    overflow-y: scroll;
}
#books #post-title textarea, #books #post-attribute textarea{
    width: 98%;
    height: 25px;
    max-height: 25px;
    margin-bottom: 20px;
    border: 1px solid #cfe9ff;
    background-color: #f0f8ff;
    resize: vertical;
}
#books #post-description textarea{
    width: 98%;
    height: 50px;
    max-height: 150px;
    border: 1px solid #cfe9ff;
    background-color: #f0f8ff;
    resize: vertical;
}
#books #post-bodies textarea{
    width: 98%;
    height: 100px;
    border: 1px solid #cfe9ff;
    background-color: #f0f8ff;
    resize: vertical;
}
#books #post-checkboxes {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}
#books .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #222233;
}
#books .checkbox-label input {
    margin-right: 5px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

#books #show-area{
    display: none;
    width: 100%;
    max-height: 80vh;
    overflow-x: hidden;
    overflow-y: scroll;
    word-wrap: break-word;
}
#books #show-area .back{
    text-align: left;
    font-size: 20px;
    padding: 6px 3px;
    cursor: pointer;
    border-bottom: 2px solid #cfe9ff;
}
#books #show-area .title{
    text-align: center;
    font-size: 24px;
    padding: 6px 3px;
    border-bottom: 2px solid #cfe9ff;
}
#books #show-area .description{
    text-align: left;
    font-size: 18px;
    color: #4c4c4c;
    padding: 6px 3px;
    border-bottom: 2px solid #cfe9ff;
}
#books #show-area .body{
    text-align: left;
    font-size: 18px;
    padding: 6px 3px;
}