/* サンカク */
details summary.hide {
    list-style: none;
}
details summary.hide ::-webkit-details-marker {
    display: none;
}
details summary{
    cursor: pointer;
}
/* FAQ like message */
*{
    margin:0;
    padding:0;
}
.faq_area {
    /* 上 | 右 | 下 | 左  要調整*/
    margin: 0px 0% 0 0%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.faq_area .author{
    /* 上 | 右 | 下 | 左  要調整*/
    flex-wrap:nowrap;
}
.faq_area img{
    /* 上 | 右 | 下 | 左  要調整*/
    margin: 0;
    width: 30px;    /* 横幅を割合で指定 */
    height: auto;  /* 高さは自動指定 */
}
.faq_area .B,
.faq_area .A {
    min-width:80px;
    padding:10px 2% 10px 2%;
    color: #fff;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.faq_area .A {
    text-align:left;
    margin:5px auto 5px 50px;
    background-clip: content-box;
    background: #494044;
}
.faq_area .A:before {
    content: "";
    border: 10px solid transparent;
    border-right: 20px solid #494044;
    position: absolute;
    left: -20px;
    top: 20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.faq_area .B {
    text-align:right;
    margin:5px 10px 5px auto;
    background: #0096e5;
}
.faq_area .B:after {
    content: "";
    border: 10px solid transparent;
    border-left: 20px solid #0096e5;
    position: absolute;
    right: -20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* 以下、高橋編集 */
.sortTable{
    height: 20%;
    display : flex;
    justify-content: space-between;
    flex-direction:column;
    align-items: flex-start;
    cursor: pointer;
}
.sortTable_radio{
    height: 13%;
    margin-top: 7%;
    cursor: pointer;

}
.chart_radio{
    cursor: pointer;
}
.wrapper{
    width: 80%;
    margin: 20px 0 10% 10%;
}
.toplevelcomment{
    margin: 10px 0;
}
.filter{
    display: flex;
    width: 100%;
    margin: 0 10px 0 0 ;
}
.filter-name{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.filter_label{
    height: 20%;
}
.filter-input{
    width: 50%;
    display: flex;
    flex-direction: column;
}
/* DEBUG: Added margin to each slider to create vertical space for the rulers. */
.filter-input .slider {
    margin-bottom: 40px;
    width: 90%;
}

/* DEBUG: Added margin-top to push the keyword input down below the sliders. */
.keyword{
    margin: 20px 0 10px 0;
}
.table{
    margin: 10px 0;
}
.sort{
    margin: 10px 0;
}
.sorttext{
    width: 45%;
}
.page{
    margin: 10px 0;
}
.pageturn{
    margin: 10px 0;
}
.details{
    width: fit-content;
}
@media (prefers-color-scheme: dark) {
    body {
      background-color: rgb(36, 36, 36);
      color: #e9e9e9;
    }

    .nondisp{
        display: none;
        color: #121212;
    }
}

@media (prefers-color-scheme: light) {
    body {
      background-color: rgb(255, 255, 255);
      color: #000000;
    }

    .nondisp{
        display: none;
    }
}

#chart-container{
    background-color: #fffce5;
}

.popup_text {
    display: none; /* 最初は非表示にする */
    position: absolute; /* 他の要素の上に重ねるために絶対位置を指定 */
    /* その他のスタイルプロパティを適用 */

    padding: 5px;
    background-color: #e4e4e4;
    border-radius: 5px;
    max-width: 400px;

    @media (prefers-color-scheme: light){
        color: #121212;
    }

    @media (prefers-color-scheme: dark) {
        color: #121212;
    }
}

.nondisp{
    display: none;
}

.noUi-handle {
    border: 1px solid #D9D9D9;
    border-radius: 3px;
    background: #FFF;
    cursor: pointer;
    box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
  }

.noUi-handle:before,
.noUi-handle:after {
  content: "";
  display: block;
  position: absolute;
  height: 14px;
  width: 1px;
  background: #ffffff00;
  left: 14px;
  top: 6px;
}

.noUi-base{
    width: 100%;
    height: 100%;
    margin: auto;
}

.noUi-target {
    position: relative;
    display: flex;
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
    height: 18px;
    top: 2px;
}

.noUi-horizontal .noUi-handle {
    width: 18px;
    height: 18px;
    right: -9px;
    bottom: -17px;
    top:-1px;
}

.noUi-connect {
    background: rgb(0, 157, 255);
}

.noUi-tooltip {
    z-index: 9999;
  }

/* Fix for Video Description cursor and interaction */
details.display_elements summary.details {
    cursor: pointer;
    user-select: none; /* Prevent text selection on quick clicks */
    outline: none;
}
details.display_elements summary.details:hover {
    text-decoration: underline;
    color: #0056b3;
}
