a {
    text-decoration: none;
    color: inherit;
}



.novel{
    width:650px;
    margin: 0 auto;
    letter-spacing: 1px;
    font-size:18px;
    line-height: 1.8;
    word-wrap: break-word;
    white-space: pre-wrap;
    font-family: 'zen-mincho', sans-serif;
    font-weight: 500;
    font-style: normal;
}
.novel-vertical{
    max-height:95vh;
    padding:30px 0 ;
    letter-spacing: 1px;
    font-size:18px;
    line-height: 1.8;
    word-wrap: break-word;
    white-space: pre-wrap;
    text-orientation: upright;
    font-family: 'zen-mincho', sans-serif;
font-weight: 500;
font-style: normal;
}


p{
    margin:0 !important;
    padding:0 !important;
}
.episode-count{
    text-align:right;
    display: block;
    width:600px;
    margin: 0 auto;
    letter-spacing: 3px;
    font-size:18px;
    line-height: 34px;
    color:#8e8e8e;
    word-wrap: break-word;
    white-space: pre-wrap;
}
.episode-count-vertical{
    text-align:right;
    /*width:600px;
    margin: 0 auto;*/
    height:500px;
    margin:0 auto;
    /*padding-bottom: 200px;*/
    width:100px;
    letter-spacing: 1px;
    font-size:22px;
    line-height: 34px;
    color:#8e8e8e;
    word-wrap: break-word;
    white-space: pre-wrap;
    text-combine-upright: all;
}
.text-center{
    text-align:center;
    width:600px;
    margin: 0 auto;
    word-wrap: break-word;
    white-space: pre-wrap;
}
.text-center-vertical{
    /*text-align:center;*/
    padding-top:100px;
    padding-bottom:100px;
    margin-right:0;
    padding-right:50px;
    /*margin: 0 auto;*/
}
.text-center-vertical h1 {
    margin:0 !important;
    padding:0 !important;
}

#popupOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 20;
}
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}
.close-button-text {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid #d9d9d9;
    background: #e1e9f5;
    font-size: 16px;
    padding:4px 10px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
}
.close-button-text:hover {

    border: 1px solid #d9d9d9;
    background: #d6e1f1;
    box-shadow: 0 0 4px rgb(208, 208, 208);
}
#reviewFormPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    overflow-y: auto;
}
#commentFormPopup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 600px; /* モーダルの幅を調整 */
    height: 350px; /* モーダルの高さを調整 */
    overflow-y: auto;
}

.emphasisDots span {
    text-emphasis-style: filled;
    text-emphasis-color: black;
    -webkit-text-emphasis-style: filled;
    -webkit-text-emphasis-color: black;
    font-style: normal;
    line-height: 1.1;
}
em{
    font-style: normal;
}

.ad-center{
    width:700px;
    margin: 0 auto;
}
.ad-center-bottom{
    width:700px;
    margin: 0 auto;
    display:flex;
}
.ad-left {
    display: inline-block;
    width: 300px;
    height: 250px;
    margin-right: 100px;
}
.comment-content{
    /*display:flex;*/
    box-shadow: 0 0 4px rgb(11, 119, 234);
    padding:10px;
    margin-bottom:5px;
}
.comment-main{
    /*display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    width: 100%;*/
    display: block;
}

.comment-user {
    font-size:12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; /* 1行で省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* 必須 */
}

.comment-left-vertical{
    padding:20px;
}

.comment-date{
    font-size:10px;
    margin-right:12px;
}
.comment-show{
    width:550px;
    margin:0 auto;
    box-shadow: 0 0 10px rgb(126, 126, 126);
    padding:15px;
}
.comment-show-vertical{
    margin:30px 0;
    /*margin:0 auto;*/
    box-shadow: 0 0 10px rgb(126, 126, 126);
    padding:15px;
}


/* ポップアップ全体を覆うオーバーレイ */
#popupWindow {
    position: fixed; /* ポップアップを画面に固定 */
    top: 0;
    left: 0;
    width: 100%; /* 画面全体を覆う */
    height: 100%; /* 画面全体を覆う */
    display: none; /* 初期状態では非表示に */
    background: rgba(0, 0, 0, 0.5); /* 半透明の背景色 */
    z-index: 1100; /* 他の要素より上に表示 */
}

/* ポップアップのコンテンツ部分 */
.popup-content {
    position: absolute;
    top: 40%; /* 画面の中央に表示 */
    left: 50%; /* 画面の中央に表示 */
    width:350px;
    transform: translate(-50%, -50%); /* 中央に配置するための調整 */
    padding: 20px;
    background: #fff; /* 背景色 */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* 影の効果 */
    z-index: 1001; /* 背景のオーバーレイより上に表示 */
}

.text-orientation{
            background-color: #a5a5a5;
            width:310px;
            padding:10px;
            color:white;
        }
.editFontStyle-section{
            background-color: #a5a5a5;
            width:310px;
            padding:10px;
            color:white;
}
.user-section{
        width:300px;
        border:1px solid #1b60ff;
        margin:0 auto;
        padding:15px 10px ;
        box-shadow: 0px 0px 5px rgba(15, 115, 255, 0.895);
        margin-bottom:10px;
        display:flex;
    }
    .user-section-left{
            width:160px;
            margin-right:10px;
            display:block;
    }
    .user-section-right{
        width:130px;
    }
    .user-section-right-vertical{
        width:50px;
        display: block;
    }
    .user-section-author{
        font-size: 16px;
    font-weight:600;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; /* 1行で省略 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* 必須 */
    width: 100%; /* 必須 */
    }
    .user-section-vertical{
        width:150px;
        border:1px solid #1b60ff;
        margin:0 auto;
        padding:15px 10px ;
        box-shadow: 0px 0px 5px rgba(15, 115, 255, 0.895);
        margin-bottom:10px;
        min-height: 30vh;
    }
    .user-section-left-vertical{
            width:50px;
            margin-right:20px;
            display:block;
            overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    }
.under-section{
    display:flex;
    width:700px;
    margin:0 auto;
}
.under-section-vertical{
    display:flex;
    /*width:700px;
    margin:0 auto;*/
    padding:20px;
}
.svg-icon-under-section {
    width: 25px;
    height: 25px;
}
.ad-center-bottom-small{
    width:250px;
    margin:0 auto;
}
.ad-center-vertical-small{
    width:250px;
    height:250px;
    margin:0 auto;
padding-top:100px;
}
.editFontSize-section{
    background-color: #a5a5a5;
            width:310px;
            padding:5px;
            color:white;
}
.editColor-section{
    background-color: #a5a5a5;
            width:310px;
            padding:5px;
            color:white;
}

.svg-icon-book {
    width: 18px;
    height: 18px;
}
button{
    padding:0;
    margin:0 ;
}
.orientationBtn {
    padding: 10px;

    border: 1px solid #ffffff;
    width:140px;
    background-color: #ffffff;
}

.orientationBtn.active {

    border:2px solid #00a2ff;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
}
.orientationBtn:hover {

border:2px solid #000000;
background-color: #ffffff;
color: rgb(0, 0, 0);
}
.font-style-button{
    padding: 10px;
    border:none;
    width:140px;
    background-color: #ffffff;
}
.font-style-button.active{
    border:2px solid #00a2ff;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
}
.font-style-button:hover{
    border:2px solid #000000;
background-color: #ffffff;
color: rgb(0, 0, 0);
}
.fontsizeSmall {
    font-size: 14px;
}

.fontsizeMedium {
    font-size: 18px;
}

.fontsizeLarge {
    font-size: 22px;
}

.fontsizeXLarge {
    font-size: 26px;
}
.fontsizeBtn{
    width:70px;
    height:40px;
    font-weight: 500;
    background-color: #fff;
    border:none;
}
.fontsizeBtn.active{
    font-weight: 500;
    background-color: #fff;
    border:2px solid #00a2ff;
}
.fontsizeBtn:hover{
    font-weight: 500;
    background-color: #fff;
    border:2px solid #000000;
}
.fontcolorBtn{
    width:70px;
    height:40px;
    font-weight: 500;
    background-color: #fff;
    border:none;
}
.fontcolorBtn.active{
    font-weight: 500;
    background-color: #fff;
    border:2px solid #00a2ff;
}
.fontcolorBtn:hover{
    width:70px;
    height:40px;
    font-weight: 500;
    border:none;
}
/* 横書きのスタイル */
.horizontal-section {
  /*  */
}

/* 縦書きのスタイル */
.vertical-section {
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-rendering: optimizeLegibility;
    max-width: 100vw;
    overflow-x: auto;
}
.hidden {
  display: none;
}
.title-text-vertical{
        font-size:12px;
    margin-top:2px;
        overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}
.subtitle-text-vertical{
    font-size:11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}
.banner-text-top-vertical{
    text-align:left;
}
.inserted-image{
            max-width:600px;
            max-height:600px;
}
.home-top {
    width: 728px;
    height: 90px;
}
.novel-content{
    display:flex;
}
.total-detail{
    font-size:11px;
    white-space: nowrap;
    display: inline-block;
}
.text-catchphrase-small{
    font-size:16px;
    font-weight: 600;
    margin-bottom: 0;
    font-family: '游明朝', 'YuMincho', 'ヒラギノ明朝 Pr6N', 'Hiragino Mincho Pr6N', 'ヒラギノ明朝 ProN',
'Hiragino Mincho ProN', 'ヒラギノ明朝 StdN', 'Hiragino Mincho StdN', 'HiraMinProN-W3', 'Helvetica', 'Arial', 'ヒラギノ角ゴ Pr6N', 'Hiragino Kaku Gothic Pr6N', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN', 'Segoe UI', 'Verdana', 'メイリオ', 'Meiryo', sans-serif;


}

.text-catchphrase{
    font-size:16px;
    font-weight: 700;
    margin-bottom: 0;
    height:45px;
font-family: '游明朝', 'YuMincho', 'ヒラギノ明朝 Pr6N', 'Hiragino Mincho Pr6N', 'ヒラギノ明朝 ProN',
'Hiragino Mincho ProN', 'ヒラギノ明朝 StdN', 'Hiragino Mincho StdN', 'HiraMinProN-W3', 'Helvetica', 'Arial', 'ヒラギノ角ゴ Pr6N', 'Hiragino Kaku Gothic Pr6N', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN', 'Segoe UI', 'Verdana', 'メイリオ', 'Meiryo', sans-serif;

}

.text-catchphrase p,.text-catchphrase-relay p, .novel-detail a ,.text-catchphrase-genre p,.text-catchphrase-genre-popup p{
    margin: 0;
    padding: 0;

}
.text-catchphrase-small p{
    margin:0;
    padding:0;
}

.novel-detail{

}
.table,.table-bordered{
    padding:0;
    margin:0;
}
.episode-detail{
    min-height:115px;
}
.title-block {
    margin-bottom: 0;
    padding-bottom: 0;
    min-height:95px;
    line-height: 1.3;
    cursor: pointer;
}

.tag,.tag_contest,.tag-R18,.tag-R15,.tag-status,.genre,.classification{
    padding-left:4px;
    padding-right:4px;
    padding-top:1px;
    padding-bottom:1px;
    border-radius: 3px;
    background-color: #ffffff;
    white-space: nowrap;
    display: inline-block;
    font-size:10px;
    margin-bottom: 0;
}
.tag {
    border: 1px solid rgba(255, 145, 0, 0.847);
}
.tag_contest {
    border: 1px solid rgba(244, 23, 236, 0.847);
}
.tag-R18 {
    border: 1px solid rgba(255, 0, 0, 0.847);
}
.tag-R15 {
    border: 1px solid rgba(24, 137, 28, 0.847);
}
.tag-status {
    border: 1px solid rgba(255, 0, 0, 0.847);
}
.genre {
    border: 1px solid rgba(24, 33, 137, 0.847);
}
.classification {
    border: 1px solid rgba(204, 55, 189, 0.847);
}
.tag:hover,.genre:hover ,.classification:hover,.tag-R18:hover ,.tag-R15:hover ,.tag-status:hover{
    border: 1px solid rgba(112, 112, 112, 0.847);
    background-color: #e8e8e8;
}
.title-detail{
    padding:20px;
    margin-bottom:50px;
}
.title-detail-bottom-small{
    font-size:13px;
}
.title-detail-top{
    font-size:16px;
    font-weight:600;
}
.title-detail-bottom-left{
    font-weight: 500;
    margin-right:20px;
}
.title-detail-bottom-right-small{
    margin-left:15px;
}

.title-list-vertical-small {
    padding-right: 10px;
    padding-left:10px;
    padding-top:100px;

    background-color: #f9f9f9;
}




/**/


.title-list-large-vertical {
    padding: 20px 0;
    background-color: #aaaaaa;
}
.vertical-table{
    writing-mode: horizontal-tb;
    text-rendering: optimizeLegibility;
    width:800px;

}
.vertical-table-small{
    writing-mode: horizontal-tb;
    text-rendering: optimizeLegibility;
    margin:0 auto;


}



.rating:not(:checked) > input {
    position: absolute;
    appearance: none;
  }

  .rating:not(:checked) > label {
    float: right;
    cursor: pointer;
    font-size: 30px;
    color: #666;
  }

  .rating:not(:checked) > label:before {
    content: '★';
  }

  .rating > input:checked + label:hover,
  .rating > input:checked + label:hover ~ label,
  .rating > input:checked ~ label:hover,
  .rating > input:checked ~ label:hover ~ label,
  .rating > label:hover ~ input:checked ~ label {
    color: #e58e09;
  }

  .rating:not(:checked) > label:hover,
  .rating:not(:checked) > label:hover ~ label {
    color: #ff9e0b;
  }

  .rating > input:checked ~ label {
    color: #ffa723;
  }


  input[type="text"], textarea {
      border: 1px solid #ccc;
      padding: 8px;
      width: 100%;
      box-sizing: border-box;
  }

  textarea {
      height: 150px;
      resize: vertical;
  }

.next-episode {
    background-color: #e7e7e7;
    color: rgb(0, 0, 0);
    padding: 100px;
    text-align: center;
    cursor: pointer;
}
.next-episode:hover {
    background-color: #d0d0d0;
}

.review-section-vertical {
    padding: 18px 9px;
    background-color: #2fb6ff;
    box-shadow: 0 0 10px #0f6fd5;
    border:2px solid #94cfff;
    width:100px;
    font-size:20px;
    font-weight:bold;
    border-radius: 7px;
    color:#ffffff;
    text-align: center;

}
.review-section-vertical:hover {
    background-color: #98dbff;
    box-shadow: 0 0 5px #0f6fd5;
    border:2px solid #bae0ff;
    color:#ffffff;
}
.comment-section {
    padding: 10px 15px;
    background-color: #2fb6ff;
    border:2px solid #94cfff;
    font-size:18px;
    font-weight:bold;
    border-radius: 7px;
    color:#ffffff;
    text-align: center;
    cursor: pointer;
}
.comment-section:hover {
    background-color: #98dbff;
    box-shadow: 0 0 5px #0f6fd5;
    border:2px solid #bae0ff;
    font-weight:bold;
    color:#ffffff;
}
.comment-section-vertical {
    padding: 18px 9px;
    background-color: #2fb6ff;
    box-shadow: 0 0 10px #0f6fd5;
    border:2px solid #94cfff;
    width:100px;
    font-size:20px;
    font-weight:bold;
    border-radius: 7px;
    color:#ffffff;
    text-align: center;
}
.comment-section-vertical:hover {

    background-color: #98dbff;
    box-shadow: 0 0 5px #0f6fd5;
    border:2px solid #bae0ff;
    color:#ffffff;
}

.green-underline {
    color: rgb(0, 0, 0);
    text-decoration: none;
    position: relative;
    font-weight:500;
    font-size: 13px;
}

.green-underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
}

.green-underline:hover {
    color: rgb(51, 173, 51);
}
.orange-underline {
    color: rgb(156, 156, 156);
    text-decoration: none;
    position: relative;

}

.orange-underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
}

.orange-underline:hover {
    color: orange;
}
.blue-underline {
    color:  rgb(0, 0, 0);
    text-decoration: none;
    position: relative;
}



.blue-underline:hover {
    color: rgb(0, 21, 255);
}
.blue-underline:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    border-bottom: 2px solid rgb(55, 55, 221);
}
.blue-text {
    color: rgb(0, 0, 0);
    text-decoration: none;
    position: relative;
}

.blue-text:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    border-bottom: 2px solid rgb(38, 132, 255);
}

.blue-text:hover {
    color: rgb(0, 19, 223);
}
.novel-content-vertical{
    display:flex;
    width:400px;
}


    .next-novels-icon{
        width:50px;
    }


    .read-comment-icon{
        width:30px;
    }

.novel-cover-image{
    width:100px;
    height:140px;
}
.home-top-small {
    width: 320px;
    height: 100px;
}
@media screen and (min-width: 481px) {
    .ad-center-vertical-small{
        display:none;
    }
    .title-list-vertical-small{
        display:none;
    }
}


@media screen and (max-width: 480px) {
    .comment-section {
            padding-left:7px;
            padding-right:7px;
            padding-top: 10px;
            padding-bottom: 10px;
            font-size:14px;
        }

}
@media screen and (min-width: 481px) {
    .ad-center-bottom-small{
        display:none;
    }
}

@media screen and (max-width: 480px) {
    .header {
            padding: 10px;
            min-width: 350px;
    }
    .under-section{
        width:360px;
    }
    .ad-center-bottom{
        display:none;
    }

#sidebarContent{
        display:none;
    }
    .font-style-button{
    padding: 10px;

    border: 1px solid #ffffff;
    width:140px;
    background-color: #ffffff;
    font-size:13px;
}
.font-style-button.active{
    border:2px solid #00a2ff;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
}
.font-style-button:hover{
    border:2px solid #000000;
background-color: #ffffff;
color: rgb(0, 0, 0);
}

.svg-icon-table {
    width: 30px;
    height: 30px;
}

        #reviewFormPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
        height: 80%;
            overflow-y: auto;
    /*position: relative;*/
}
#commentFormPopup{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    height: 50%;
    overflow-y: auto;
}
.novel{
    width:360px;
    margin: 0 auto;
}
.text-center{

    width:375px;
    margin: 0 auto;
}
.episode-count{
    width:320px;
}
.ad-center{
    width:380px;
    margin: 0 auto;
}
.comment-left{
    width:280px;
    /*height:auto;*/
}

.comment-show{
    width:360px;
    margin:0 auto;
    box-shadow: 0 0 5px rgb(126, 126, 126);
    padding:10px;
}
.inserted-image{
            max-width:375px;
            max-height:375px;
        }


.comment-main{
    font-size:14px;
}
.title-follow-bottom-vertical{
    width:50px;
    height:150px;
    padding-top:5px;
    padding-bottom:5px;
    font-weight:600;
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    margin-top:15px;
}


}
