@charset 'UTF-8';
.tab_pc_flex main{
	margin-right: 0;
}
#cookie-alert{
	position: fixed;
	top: 0;
	background: rgba(221, 221, 221, 0.95);
	text-align: center;
	width: 100%;
	display: block;
	padding: 8em 0;
}
/*中身を非表示にしておく*/
.hiddenbox .openbox {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}
/*クリックで中身表示*/
.hiddenbox input:checked ~ .openbox {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}
body#MAIN #MainLogo h1#logo, body#subpage h1.logo, body#bbspage h1.logo {
	background: url(https://novelcake.net/images/logo-t.png) no-repeat;
    background-size: contain;
    width: 8.2em;
    height: 2em;
}

body#kakisute header .catch{
	font-family: 'M PLUS Rounded 1c', sans-serif;
	max-width: 200px;
	display: inline-block;
	margin-left: .8em;
	font-size: .7em;
	padding-top: 1.6em;
}

/* ---------------------------- */
/* --- トグルボタン式のチェックボックス --- */
/* ---------------------------- */
.ItemBox{
}
.ItemBox-Tag{
	margin: .3em;
	display: flex;
	align-items: center;
}
.ItemBox-Tag div{
	width: 5em;
	border-radius: 80px;
	background: #d0d2d9;
	font-size: .7em;
	position: relative;
	text-align: center;
	margin-left: .2em;
}
.ItemBox-Tag div span{
	display: inline-block;
}
.ItemBox-Tag div.allagetag{
	background: #d0d2d9;
}
.ItemBox-Tag div.upper18tag{
	background: #41c9b4;
}
.ItemBox-Tag div.originaltag{
	background: #d0d2d9;
	width: 8em;
	white-space: nowrap;
}
.ItemBox-Tag div.sstag{
	background: #41c9b4;
	width: 7em;
	white-space: nowrap;
}


.ItemBox-Title{
display: block;
width: 100%;
color: #666; /* お好みで */
}
.ItemBox-CheckBox{
	margin: .3em;
	display: flex;
	align-items: center;
}
.ItemBox-CheckBox-Title{
font-size: .7em;
}
.ItemBox-CheckBox-Input{
	position: relative;
	display: none; /* inputタグは非表示にする */
}
.ItemBox-CheckBox-Label{
	position: relative;
	margin-left: auto;
	width: 4.5em;
	height: 1em;
	border-radius: 80px;
	cursor: pointer;
	transition: .2s ease; /* 円が動くスピードを指定 */
}
input#r18on_apr[type="checkbox"] + label::after {
	content:"全年齢";
	white-space: nowrap;
	font-size: .7em;
	position: absolute;
    top: -1px;
	left: 2em;
}
input#r18on_apr[type="checkbox"]:checked + label::after {
	content:"R18 ON";
	white-space: nowrap;
	font-size: .7em;
	transform: rotate(0deg) scale(1);
	position: absolute;
	top: -1px;
	left: .8em;
}
input#r18on_apr.ItemBox-CheckBox-Input + .ItemBox-CheckBox-Label{
	background: #e6e6e6; /* チェックされていない時の背景色 */
	cursor: pointer;
}
input#r18on_apr.ItemBox-CheckBox-Input:checked + .ItemBox-CheckBox-Label{
	background: #36aa82; /* チェックされた時の背景色 */
	color: #fff;
}
.ItemBox-CheckBox-Label:before{
content: '';
position: absolute;
top: 0;
left: 1px;
border-radius: 80px;
width: 1em;
height: 1em;
background: #fff;
transition: .2s ease; /* 円が動くスピードを指定 */
}
input#r18on_apr[type="checkbox"]:checked + .ItemBox-CheckBox-Label:before{
	left: 3.5em;
}

input#sson_apr[type="checkbox"] + label.ItemBox-CheckBox-Label{
	width: 6em;
}
input#sson_apr[type="checkbox"]:checked + label.ItemBox-CheckBox-Label{
	width: 5.5em;
}
input#sson_apr[type="checkbox"] + label::after {
	content:"二次創作OFF";
	white-space: nowrap;
	font-size: .7em;
	position: absolute;
    top: -1px;
	left: 1.8em;
}
input#sson_apr[type="checkbox"]:checked + label::after {
	content:"二次創作ON";
	white-space: nowrap;
	font-size: .7em;
	transform: rotate(0deg) scale(1);
	position: absolute;
	top: -1px;
	left: .5em;
}
input#sson_apr[type="checkbox"]:checked + .ItemBox-CheckBox-Label:before{
	left: 4.5em;
}
input#sson_apr.ItemBox-CheckBox-Input + .ItemBox-CheckBox-Label{
	background: #e6e6e6; /* チェックされていない時の背景色 */
	cursor: pointer;
}
input#sson_apr.ItemBox-CheckBox-Input:checked + .ItemBox-CheckBox-Label{
	background: #36aa82; /* チェックされた時の背景色 */
	color: #fff;
}

.head_sub_menu .head-login-menu a{
	border-radius: 20px;
    margin: .4em;
    font-size: .8em;
    font-weight: bold;
	padding: .5em 1em!important;
}
a.uspl-btn{
    background: #ddd;
}
.head_sub_menu .head-login-menu .login_button a{
 	background: #696969;
	color: #fff;
	margin-right: 0;
}

.head_sub_menu .head-nav-menu a{
	color: #727272;
	font-size: .7em;
}
.mypage_button, login-button{
	
}

/*modal*/
/*モーダルを開くボタン*/
.modal-open, .modal-open-sec, .search-button{
	color: #5d454b;
	font-weight: bold;
	border-radius: 10px;
	background: #f7f7f7;
	margin: 0 .5em 0 auto;
	cursor: pointer;
	width: 7em; 
	padding: .3em 0;
	text-align: center;
	font-size: .6em;
	line-height: 2em;
}
.modal-open:before, .modal-open-sec:before, .search-button:before{
	font-size: 2em;
	display: block;
}
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container, .modal-container-sec{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,50%);
	padding: 6em 0;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
    box-sizing: border-box;
	z-index: 2;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before, .modal-container-sec:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active, .modal-container-sec.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定*/
.modal-body, .modal-body-sec{
	position: absolute;
	right: 16%;
	display: inline-block;
}
.modal-body-sec{
	right: 2%;
	left: 2%;
}
.modal-body.yume_body{
	right: 2%;
	top: 20%;
}
/*モーダルを閉じるボタンの指定*/
.modal-close, .modal-close-sec{
	position: absolute;
	display: flex;
    align-items: center;
    justify-content: center;
	top: -40px;
	right: 0;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content, .modal-content-sec{
	background: #fff;
	text-align: center;
	padding: 1em;
	color: #2f2225;
}

/*nav*/
#view_mode_select{
	position: relative;
	padding-left: 1.5em;
}
#view_mode_select form:before{
	content: "\f078";
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	position: absolute;
	top:.2em; left: .5em;
}
#view_mode_select select{
	border: none;
	background: transparent;
	box-shadow: none;
	padding: .4em 0;
	font-size: .8em;
	color: #575757;
}
#view_mode_select select option{
	padding-bottom: 1em;
	font-size: 1em;
}

#novel_contents{
	padding: 0 0 3em;
}
#text_contents{
	padding: 2em 0 3em;
}
#comment_contents{
	padding: 1.6em 2em 3em .5em;
}
#novel_contents, #comment_contents, #text_contents{
	max-width: 64em;
	margin: 0 auto;
	background: #fff;
}

.comment-close{
	color: #a2a2a2;
	text-align: center;
	padding: 6em .5em 4em;
}

.admdel, .admdel-edit{
	color: #be5f5f;	
	font-size: .9em;
}
.admdel-req{
	color: #54A0BB;	
	font-size: .9em;
}
.authdel{
	color: #D13D3D;	
	font-size: .9em;
}
.comdel{
	color: #be5f5f;
	font-size: .9em;
}
.comdel-b{
	color: #b08888;	
	font-size: .9em;
}


/*news*/
#infobox{
	margin: .8em 0;
}
.top-info-box{
/*	width: 25em;
	margin: 0 auto;*/
	font-size: .8em;
	margin: 2em 0;
	justify-content: center;
}
.top-info-box a{
	display: inline-block;
    margin: .2em;
    border-bottom: 1px dashed #e2e2e2;
    padding: .2em;
    /* flex: 1; */
}
.top-info-box p.top-rule{
	display: inline-block;
    margin: .2em;
    border: 1px solid #e2e2e2;
    padding: .2em;
    border-radius: 16px;
}
#news_text_area{
	padding: 1em;
	color: #555;
	background: #f7f7f7;
	border-radius: 5px;
}
#news_text_area h3{
	font-size: 1em;
	padding-bottom: .5em;
}
#news_text_area p{
	font-size: .9em;
	padding: 0;
}

.violink{
	margin-left: auto;
	color: var(--grey-cl);
	text-align: right;
	margin-top: .5em;
}
.violink a{
	font-size: .8em;
	text-decoration: underline;
}

/*小説一覧*/
h3.novel_mode_button{
	font-size: .9em;
}
h3.novel_divi{
	margin: 1em 0 .4em;
	border: 1px solid;
}
.novel_mode_move div{
	margin: 1em .2em;
}

.novel_mode_move div button{
	display: inline-block;
	border-radius: 3px;
	padding: .2em .8em;
	white-space: nowrap;
}
.novel_mode_move div span{
	border-right:1px solid #ddd;
	border-bottom:1px solid #ddd;
}
.novel_mode_move div.novel_button button, .novel_mode_move div.novel_button span{
	background: #292C6D;
	color: #fff;
}
.novel_mode_move div.R18_novel_button button, .novel_mode_move div.R18_novel_button span{
	background: #EC255A;
	color: #fff;
}
.novel_mode_move div.All_novel_button button,.novel_mode_move div.All_novel_button span{
	background: #FFD880;
	color: #575757;
}

.select_sorting{
	width: 12em;
	margin-left: auto;
}

.n_container{
	padding: 1.2em .5em;
	position: relative;
	border-bottom: 1px solid #f8f8f8;
}
.n_header{
}

.genre-container{	
	border: 1px solid #ddd;
	border-radius: 8px;
    padding: 0 0 1em 0;
	margin: 0 auto;
	width: 96%;
}

#Novel_Chart, #Novel_Chart_ss{
	padding-bottom: 3em;
}
#Novel_Chart .n_container .n_title h1,
#Novel_Chart .n_container .n_title h1 a,
#Novel_Chart_ss .n_container .n_title h1,
#Novel_Chart_ss .n_container .n_title h1 a{
	font-size: 1em;
	line-height: 1.3;
	color: #575757;
	display: block;
}
#Novel_Chart .n_container .n_title h1,
#Novel_Chart_ss .n_container .n_title h1{
	width: 100%;
}
#Novel_Chart .n_container .title_right,
#Novel_Chart_ss .n_container .title_right{
	text-align: right;
}
#Novel_Chart .n_container .title_right a,
#Novel_Chart_ss .n_container .title_right a{
	display: inline-block;
	text-align: center;
	margin-bottom: .2em;
	white-space: nowrap;
}
#Novel_Chart .n_container span.ratebox,
#Novel_Chart_ss .n_container span.ratebox{
	background: #d83542;
	font-size: .7em;
	border-radius: 4px;
	color: #fff;
	display: block;
	width: 4em;
	text-align: center;
	height: 1.8em;
	margin: .2em .4em 0 0;
}
#Novel_Chart .n_container a.title,
#Novel_Chart_ss .n_container a.title{
	text-decoration: none;
	color: #575757;
	display: block;
	flex: 1;
}
#Novel_Chart .n_container .n_title,
#Novel_Chart_ss .n_container .n_title{
	flex-grow: 1;
}

#Novel_Chart .novel_subpage_pre p,
#Novel_Chart .novel_pre p,
#Novel_Chart .novel_pre form button,
#Novel_Chart_ss .novel_subpage_pre p,
#Novel_Chart_ss .novel_pre p,
#Novel_Chart_ss .novel_pre form button{
	font-size: .9em;
	padding-right: .8em;
	color: #9e9d9d;
}
#Novel_Chart .novel_subpage_pre a,
#Novel_Chart .novel_pre a,
#Novel_Chart_ss .novel_subpage_pre a,
#Novel_Chart_ss .novel_pre a{
	display: inline-block;
	min-width: 3em;
	padding-right: .5em;
	color: #9e9d9d;
}
#Novel_Chart .novel_subpage_pre a.nuri,
#Novel_Chart .novel_pre a.nuri,
#Novel_Chart_ss .novel_subpage_pre a.nuri,
#Novel_Chart_ss .novel_pre a.nuri{
	margin-left: auto;
	display: block;
	color: #fff;
	border-radius: 3px;
	font-size: .8em;
	padding: 0 .5em;
}
.end_flg{
	font-size: .7em;
    margin-right: 0.4em;
	border-radius: 3px;
	padding: .2em;
	display: inline-block;
}
.kan{
    color: #d55252;
	background: #FAE0DB;
}

.NC-h2 {
	font-weight: bold;
	padding: .4em 1em .4em 1em;
	position: relative;
	display: inline-block;
}
.NC-h2:before {
	position: absolute;
    top: 25%;
    left: 8px;
    width: 6px;
    height: 50%;
    content: '';
    border-radius: 3px;
}
.NC-h2.NCor:before {
    background: var(--original-bg);
}
.NC-h2.NCss:before {
    background: var(--ss-bg);
}

.pre_setu{
	color: #fff;
	border-radius: 3px;
	font-size: .8em;
	padding: 0 .5em;
	display: inline-block;
}

.viewNG{
	border-radius: 3px;
	padding: .1em .5em .1em .5em!important;
}
.viewNG{
	display: inline-block;
	font-size: .8em;
	color: #de2c2c;
	border: 1px solid;
	margin-right: .5em;
	margin-bottom: .4em;
    white-space: nowrap;
}
.abmesse{
	display: inline-block;
	border-radius: 4px;
	background: #EFC2C3;
	color:#E24447;
    font-weight: bold;
	font-size: .8em;
	padding: 0 .4em;
}
.keikoku{
	display: inline-block;
	font-size: .7em;
    background: #de2c2c;
    font-weight: bold;
    padding: 0.1em 0.2em;
    border-radius: 4px;
    margin-left: 0.2em;
    color: #fff;
}
.ban-icon{
	position: relative;
	color: #D63435;
}
.ban-icon i{
	color: #e7040540;
	font-size: 1.3em;
}
.ban-icon span{
	position: absolute;
    white-space: nowrap;
    top: 1px;
    left: 3px;
	font-weight: bold;
    font-size: .8em;
}

/*#Novel_Chart .n_info a.genre{
	background: #cf3e86;
}
#Novel_Chart .n_info a.original{
	background: #84b3d2;
}
#Novel_Chart .n_info a.ss{
	background: #D289AE;
}
#Novel_Chart .n_info a.dream{
	background: #8f679d;
}
*/

#Novel_Chart .newpo,
#Novel_Chart_ss .newpo{
	color: #E33767;
	font-size: .75em;
	font-weight: bold;
	position: absolute;
	top: 0; left: -.5em;
	width: 3.6em;
	text-align: center;
	transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    -webkit-transform: rotate(-10deg);
	background-size: auto auto;
	background-color: rgba(251, 226, 226, 1);
	background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255, 244, 244, 1) 5px, rgba(255, 244, 244, 1) 9px );
	z-index: 1;
}
#Novel_Chart .uppoint,
#Novel_Chart_ss .uppoint{
	font-size: .6em;
}
#Novel_Chart .n_title .uppoint,
#Novel_Chart_ss .n_title .uppoint{
	font-weight: normal;
	padding-left: .2em;
	color: #3CF;
}
#Novel_Chart .author{
	padding-top: .4em;
}
#Novel_Chart .author a,
#Novel_Chart .author span,
#Novel_Chart .author button,
#Novel_Chart_ss .author a,
#Novel_Chart_ss .author span,
#Novel_Chart_ss .author button{
	display: inline-block;
	font-size: .8em;
	color: #969494;
	text-decoration: none;
}
#Novel_Chart .author a:hover,
#Novel_Chart_ss .author a:hover{
	text-decoration: underline;
}
.last-date{
	font-size: .7em;
	color: #9d9d9d;
	text-align: right;
}
.n_head_info{
	padding-bottom: .3em;
}
.n_bottom_info{
	padding: .5em 0 0 0;
}

.tag_read{
	overflow: auto;
	white-space: nowrap;
}
.genre{
	color: #8a8989;
	background: #F5F5F5;
	border-radius: 4px;
	font-size: .8em;
	display: inline-block;
	padding: 0 .2em;
	margin-right: .4em;
	white-space: nowrap;
}
.freetag, .hashtag, .fixtag{
	font-size: .8em;
	display: inline-block;
	color: #909090;
}
.hashtag:hover{
	border-radius: 10px;
    background: #ddd;
    padding: 0 .4em;
}
.categorys a{
	padding-left: 0.4em;
}
.categorys a::before{
	content: "#";
}

/*小説執筆画面*/
#novel_contents.novel-write-page{
	padding: 3em 0;
}
#novel_contents.novel-write-page h2{
	font-size: 1.5em;
	border-bottom: 1px solid;
	padding-left: .4em;
}
#novel_contents.novel-write-page h3{
	font-size: 1.2em;
}
.novel_caution{
	padding: 0 .5em;
}
.write_menu{
	padding-top: 1em;
}
.write_menu input[type="button"]{
	padding: .2em .5em;
	background: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 25px;	
}
.write_menu input[type="button"].wide-button{
	font-size: .8em;
}
.write_menu input[type="button"].preview-button{
	border-width: 2px;
	border-color: #BEBEBE;
}
.deco-word{
}
.deco-word input[type=button]{
	display: inline-block;
	margin: 0 .1em .5em 0;
    padding: 0 .5em;
	height: 30px;
	font-size: .9em;
    vertical-align: middle;
	border-radius: 5px;
    background: #f1f1f1;
    background:linear-gradient(to bottom, #f9f9f9, #e6e6e6);;
}
.deco-word input[type=button]:hover{
	background: #ddd;
    background:linear-gradient(to bottom, #f1f1f1, #ddd);;
}
#wrap-bold{
	font-weight: bold;
}
#wrap-underline{
	text-decoration: underline;
}
#wrap-tilt{
	font-style: oblique;
}
#wrap-strike{
	text-decoration: line-through;
}
#wrap-font-lrg{
	font-size: 1.2em;
}
#wrap-font-sml{
	font-size: .8em;
}
#wrap-right{
	text-align: right;
}
#wrap-center{
	text-align: center;
}
#wrap-mincho{
	font-family: serif;
}

/*小説表示*/
.modal { position:absolute; display:none; z-index:9999; padding:20px; text-align:center; width:100%;}
.modal p { margin-bottom:10px; color: #CCC;}
.modal a { cursor:pointer; border: 1px solid; border-radius: 3px; padding: .5em; margin: 1em .5em; text-decoration: none!important;color: #568e7f;}

hr{
	border-bottom: .5px solid #b1b1b1; 
}

.caution{
	text-align: center;
	padding: .8em 0;
	border-radius: 3px;
	background-size: auto auto;
	background-color: rgb(242, 217, 34);
	background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(35, 34, 34, 0.47) 4px, rgba(35, 34, 34, 0.47) 7px );
	width: 24em;
	margin: 0 auto 3em;
}
.caution p{
	font-size: .9em;
	font-weight: bold;
	background: #fff;
	padding: .8em 0;
	color: #6c6b6b;
}
.caution p:first-child{
	font-size: 1.1em;
	padding-bottom: 0;
}

.penalty_head_message{
    color: #c51d1d;
	background: #ffe7e7;
	max-width: 88%;
	margin: 0 auto 2em;
	border-radius: 5px;
	font-size: .9em;
	padding: 1em .5em;
}
.penalty_head_message p{
	padding-top: 1em;
}
.penalty_head_message h3{
	font-size: 1em!important;
	border-bottom: 1px dotted;
	padding: 0 .5em;
}
.penalty_message{
	text-align: center;
}
.penalty_message p:first-child{
	font-size: 1.2em;
	font-weight: bold;
	padding-bottom: 1em;
    color: #d94848;
}
.penalty_message p:last-child{
	color: #898989;
}

#head_novel_menu_box{
	text-align: right;
	padding: 2em 0;
}
#head_novel_menu_box .head_novel_menu a{
	padding: .5em;
	border-radius: 3px;
	border: 1px solid;
	text-decoration: none;
}

#novel_container {
	padding-bottom: 3em;
}
#novel_container h1{
	text-align: center;
	padding: 1em 0 0 .4em;
	font-size: 1.3em;
}
#novel_container .autopagerize_page_element{
	text-align: center;
	margin: 1em 0;
}
#novel_container .autopagerize_page_element span,
#novel_container .autopagerize_page_element a,
#novel_container .autopagerize_page_element form button{
	display: block;
    width: 40px;
    height: 6em;
    line-height: 6em;
}
#novel_container .autopagerize_page_element span{
	color: #fff;
	background: #fff;
}
#novel_container .autopagerize_page_element a,
#novel_container .autopagerize_page_element form button{
	color: #8e8e8e;
    background: #f9f9f9;
}

.title_oriss{
	font-size: .6em;
	display: inline-block;
	padding: .2em .4em;
	background: #e7e7e7;
	color: #6D6D6D;
	border-radius: 4px;
	margin-bottom: 1em;
}

#novel_container .autopagerize_page_element .subtitle{
	flex-grow: 1;
}
#novel_container .autopagerize_page_element .indexlink{
	flex-grow: 1;
}
#novel_container .autopagerize_page_element button.indexlink,
#novel_container .autopagerize_page_element a.indexlink{
	display: inline-block;
	margin: 0 auto;
	width: 100px;
}
#novel_container .autopagerize_page_element button.indexlink{
	line-height: 2em;	
}

#novel_container .autopagerize_page_element .subtitle p{
	color: #999;
}
#novel_container .autopagerize_page_element .subtitle p:first-child{
	height: 2em;
	line-height: 2em;
	font-size: .8em;
}
#novel_container .autopagerize_page_element .subtitle p:last-child{
	padding: 0 .4em;
	font-weight: bold;
}
#novel_container #work{
	padding: 2em 1em 3em;
}
.newiinebtn{
	margin: 3em auto 1em;
	color: #b45656;
	border-radius: 16px;
	padding: .2em .4em;
	text-align: center;
	background: #DFD0D0;
	width: 6em;
}
.newiinebtn i,.newiinebtn span{
	vertical-align: middle;
	font-size: 15px;
}
.newiinebtn-box{
	margin: 4em auto 0;
	line-height: 1;
	text-align: center;
	width: 16em;
}
/*いいね誤クリック防止*/
input.iine-checkbox {
  display: none;
}
label.iine-label {
  position: relative;
  cursor: pointer;
  margin-top: .8em;
}
label.iine-label:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100% + 10px);
  bottom: 0;
  margin: auto;
  z-index: 2;
  transition: 0.3s;
	background: #ffffff78;
}
label.iine-label:before {
	white-space:pre;
	content: "";
	word-break: keep-all;
	display: block;
	font-size: .8em;
	color: #7B7B7B;
	background: #fff;
	position: absolute;
	padding: .4em 0;
	z-index: 3;
	top: 75%;
	right: 50%;
	bottom: calc(100% + 5px);
	margin: auto;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
	height: -webkit-fit-content;
	height: -moz-fit-content;
	height: fit-content;
	transition: 0.3s;
	pointer-events: none;
	opacity: 1;
}
label.iine-label:hover:before {
	opacity: 1;
}
input.iine-checkbox:checked + label.iine-label:after {
	/*-webkit-backdrop-filter: blur(0px);
	backdrop-filter: blur(0px);*/
	display: none;
}
input.iine-checkbox:checked + label.iine-label {
	opacity: 1;
}
input.iine-checkbox:checked + label.iine-label::before {
	opacity: 0;
}

/*ページ移管*/
.novel_page_navi{
	text-align: center;
	padding: 2.4em 0;
}
.novel_page_navi .now{
	display: inline-block;
	width: 4em;	
}
.novel_page_navi a, .novel_page_navi span:not(.now){
	display: inline-block;
	width: 40px; height: 32px;
	line-height: 32px;
	color: #8e8e8e;
}
.novel_page_navi span:not(.now){
	color: #e9e9e9;
}
.novel_page_navi select{
	display: inline-block;
	margin-left: 1em;
	width: 5em;
}

.pagination_button{
	text-align: center;
	margin: 2em auto;
	justify-content: center;
	border-top: 1px solid #ddd;
	padding: 1em 0;
}
.pagination_button .prev, .pagination_button .next{
	border: 1px solid #d4d4d4;
	border-radius: 3px;
}
.pagination_button .prev a, .pagination_button .next a{
	display: inline-block;
	padding: .2em .5em;
	border-left: 1px solid #d4d4d4;
}
.page_select{
	text-align: center;
}
.page_select select{
	display: inline-block;
	width: 60px;
	margin: 0 .8em;
}

.foot_page_list{
	margin: 2em auto;
	text-align: center;
}
.foot_page_list .s_button{
	margin: 0 .5em;
}

/*名前変換用*/
#dreambox{
	margin: 0 auto 2em;
	padding: 2em 0;
	text-align: center;
	border-bottom: 2px solid #f7f7f7;
    border-top: 1px solid #f7f7f7;
}
.dream_open{
	padding: .2em .4em;
	border-radius: 30px;
	display: inline-block;
	width: 10em;
	font-size: .8em;
	border-right: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
	background: #fff;
}
#dream_caution{
	padding-bottom: 1em;
	font-size: .9em;
}
#dream_form{
	width: 24em;
    margin: 0 auto;
	padding-top: 2em;
}
#dreambox h3{
}
.dream_table{
	border-top:1px solid #ddd;
	padding: 2em 0 0;
}
.nc_table{
	margin: 0 auto;
	text-align: left;
}
.nc_table td{
	vertical-align: middle;
	padding: .3em;
}
.nc_table tr td:first-child{
	width: 10em;
	font-size: .8em;
}
form.NameChanger p{
	padding-bottom: .5em;
}
.hide-message{ 
  display: none;
}
input.hide-toggle:checked ~ .hide-message{
  display: block;
  animation: fadein 1.5s;
}


/*作者メッセージ*/
.message_box{
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 1em .8em;
}
.message_box > div{
	width: 98%;
	margin: 0 auto;
}
.message_box h4{
	font-size: 1em;
}
.message_box .message_text{
	padding: 1em .5em;
	font-size: .9em;
}
.maessage_box_foot{
	text-align: right;
	color: #757575;
}
.maessage_box_foot form{
	line-height: 1;
}

/*小説通報*/
.novel_report{
	padding: 1em 0 3em;
}
.novel_report > label{
	display: block;
	text-align: center;
	color: #8e8e8e;
	margin-bottom: 1em;
	font-size: .9em;
	
}
.novel_report > label span:before{
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	padding-right: 3px;
	content: "\f674";	
}

h1#rev_h1{
	padding: 0 .3em;
	line-height: 1.2;
}
h1#rev_h1 span{
	vertical-align: middle;
	display: block;
	font-size: .9em;
}
/*h1#rev_h1 span:first-child{
	font-size: .8em;
}*/
h1#rev_h1 span.rat{
	font-size: .5em;
	color: #F36;
}
h1#rev_h1 + div{
	padding: .2em 0 .4em .2em;
	font-size: .9em;
}
.comment_report > label{
	text-align: right;
	display: block;
	color: #8e8e8e;
	font-size: .8em;
	text-decoration: underline;
}
.comform-link{
	padding-bottom: 1em;
}
.comform-link a{
    display: inline-block;
    color: #568e7f;
}

.comment_open label.form-title{
	display: block;
	width: 16em;
	margin: 0 auto;
	padding: .3em;
	font-size: 1em;
	font-weight: bold;
	text-align: center;
}
.comment_open label.form-title.ft01{
	background: #fcc;
	border-radius: 3px;
}
.comment_open label.form-title.ft02{
	background: #e5e5e5;
	border-radius: 25px;
	color: #9f9f9f;
}
.com-del-select{
	display: inline-block;
	white-space: nowrap;
	padding-right: 1em;
}
.com-del-select p{
	padding-bottom: .4em;
}
.ad-comcau{
	margin: 1em .4em 2em;
    padding: 1em;
    font-size: .9em;
    color: #aa5b5b;
    border-radius: 10px;
    background: #fddada;
}

#Comment_Chart{
	padding-top: 1em;
}
.comment_head{
}
#Comment_Chart h1 span{
	font-size: .8em;
}
.comment_head{
	padding: 2em 1em 0;
	font-size: .9em;
}
#comment_contents .comcaution{
	font-size: .8em;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin-top: 1em;
	padding: .5em .4em;
}
#comment_contents .comcaution ul{
	width: fit-content;
	margin: 0 auto;
	max-width: 45em;
	line-height: 1.3em;
}
p.com_kibou {
	padding: .5em .8em;
	border-radius: 3px;
	border: 1px solid #ddd;
	background: #f7f7f7;
	display: inline-block
}
.com_cont{
}
ul#comment{
	padding-left: 0;
}
ul#comment li{
	padding: 0;
}
ul#comment li .comno{
	font-weight: bold;
	border-bottom: .5px solid;
	padding: .2em .8em;
	font-size: .8em;
}
ul#comment li .res{
	padding: .3em .8em;
	font-size: .9em;
}
ul#comment li p{
	padding-top: .5em;
}
ul#comment li .com_info{
	text-align: right;
	font-size: .8em;
	padding: 1em 0 .8em;
}
ul#comment li .com_info .name{
	font-weight: bold;
	padding-right: .5em;
}
ul.com_reply{
}
ul.com_reply li{
	border-top: .5px dashed;
}
.admcolor{
	font-weight: bold;
	color: #7a4cc5;
}
.authmark::before{
	content: "作者";
	background: #f7f7f7;
	border-radius: 25px;
	font-size: .8em;
    padding: 0.2em 0.8em;
    color: #8d8c8c;
	font-weight: bold;
}

#Comment_Form{
	padding: 4em 0;
}
#Comment_Form h2{
}
.com_form{
	padding: 1em;
}
.com_form .koumoku{
	padding-bottom: 2em;
}
.com_form .koumoku textarea{
	width: 100%;
}
.com_form.undform{
	padding: 2em 1em;
	margin-top: 2em;
	background: #f2f2f2;
}
.com_form.undform .radio label:before,
.com_form.undform .check label::before {
	background: #fff;
}
.comkibo{
	background: #bee8e4;
}
.reply-conf{
	background: #f7f7f7;
	color: #939090;
	margin-top: 1em;
}
.reply-conf .repmid{
	padding: .5em;
	text-align: center;
	font-weight: bold;
}

.rev_all{
	text-align: right;
	font-size: .8em;
    color: #949494;
}


/*ログイン画面内移動ボタン*/
.login_move_button{
	background: transparent;
	border: none;
	margin: 0;
	border-radius: 0;
	padding: 2em 0;
}
.login_move_button form{
	padding: 1em;
}
.submit.bf-wrap{
	padding-left: 1em;
}
.bf-wrap{
	display: inline-block;
	padding: .5em 1em .5em 1em;
}
.bf-wrap.back_button{
	background: #FCFAF9;
	color: #5b4f49;
	border: 1px solid #5b4f49;
	border-radius: 3px;
}
.bf-wrap input[type="submit"]{
	display: inline-block;
	padding: .5em .5em .5em 0;
	color: #5b4f49;
}
.bf-wrap input[type="submit"]:hover{
	border-bottom: none;
	background: none;
	border-radius: 0;
}

/*送信完了*/
#message_contents{
	padding: 4em 1em 3em;
}
.messe_form{
	text-align:center;
	max-width: 40em;
    margin: 0 auto;
}
.messe_form h1{
	padding-bottom: 2em;
}
.messe_form p{
}

/*登録画面*/
.login_head{
	padding: 1em 0 0;
}
.check-item-box{

}
.check-item-box h3{
	border-bottom: .5px solid;
	margin-bottom: 1em;
}

/*検索*/
h3.search_list_item{
	padding-top: 1em;
}
.result_message{
	padding: 0 0 2em .5em;
}
.hit{
	font-weight: bold;
	color: #F36;
}
.tags_head{
	font-weight: bold;
	padding-top: 1em;
}
.typ_select{
	width: 150px;
}
.result_message{
	padding-top: 3em;
	text-align: center;
}
.result_message p{
	display: inline-block;
	margin: .4em 0;
	padding: 0 1em;
	background: #f5f5f5;
	border-radius: 10px;
	color: var(--write-cl);
}

/*コメント*/
.com_toggle p{
	display: inline-block;
	padding: 0 1em;
	border-radius: 50px;
	color: #939393;
	background: #f7f7f7;
}
.com_toggle p:hover{
	cursor: pointer;
}

.btm_button_cont{
	text-align: center;
	padding: 1em 0;
}
.btm_ua_button{
}
.btm_ua_button div{
	font-size: .8em;
	padding: 0 1em;
	width: 7em;
}
.btm_ua_button a{
	display: block;
}
.btm_ua_button button, .btm_ua_button a{
	border-radius: 50%;
}
.btm_ua_button button i, .btm_ua_button a i{
	padding: .4em;
	color: #fff;
	font-size: 2em;
	display: inline-block;
	position: relative;
	border-radius: 50%;
	transition: all 0.3s ease;
	box-shadow: 10px 0 20px rgba(0, 0, 0, 0), 6px 0 6px rgba(0, 0, 0, 0.24);
}
.btm_ua_button button i:hover, .btm_ua_button a i:hover{
	transform: rotate(15deg);
}
.btm_ua_button button i:after, .btm_ua_button a i:after {
	content: "";
	padding: 1.1em;
	width: 100%;
	height: 100%;
	border: solid 2px;
	transform: scale(0.8);
	position: absolute;
	top: -.3em;
	left: -.3em;
	border-radius: 50%;
	transition: all 0.3s ease;
}
.btm_ua_button button i:hover:after, .btm_ua_button a i:hover:after{
	transform: scale(.8);
	box-shadow: 10px 0 20px rgba(0, 0, 0, 0.19), 6px 0 6px rgba(0, 0, 0, 0.23);
}
.btm_ua_button button i.vote_button, .btm_ua_button a i.vote_button{
	background: #F38181;
}
.btm_ua_button button i.comment_button, .btm_ua_button a i.comment_button{
	background: #ff925d;
}
.btm_ua_button button i.write_button, .btm_ua_button a i.write_button{
	background: #266c9e;
}
.btm_ua_button a i.eraser_button{
	background: #66b7a4;
}

.btm_menu_button div::first-child{
	padding: 1em 0;
}
.btm_menu_button a{
	display: inline-block;
	padding: .3em .5em;
	background: #fff;
	border-radius: 5px;
	border: 1px solid;
	margin: 0 .1em;
}

.passno{
    position: relative;	
}
.passno input[type="text"],
.passno input[type="password"]{
	text-align: left;
	padding-right: 2em;
	width: 10em
}

/*広告*/
.foot_view_ad{
	padding: 4em 0;
	text-align: center;
}

/* タブレット端末
================================================= */

@media screen and (min-width:737px){
	.violink{
		margin-top: 0;
	}
	.top-info-box{
		margin: 2em 0;
		text-align: left;
		justify-content: flex-start;
		margin-left: 2em;		
	/*width: 32em;*/
	}
	
	#view_mode_select select{
		font-size: .9em;
	}
	#view_mode_select{
		padding-left: 2em;
	}
	#view_mode_select form:before{
		top:.2em; left: 1.1em;
	}
	.caution{
		width: 36em;
	}
	.modal-open{
	}
	.modal-body.yume_body{
		right: 25%;
	}
	.genre-container{	
		margin: 0 1em 3em 0;
	}
	#Novel_Chart, #Novel_Chart_ss{
		width: 100%;
	}
	#Novel_Chart .n_container, #Novel_Chart_ss .n_container{
	}
	#Novel_Chart .n_container .n_title h1,
	#Novel_Chart_ss .n_container .n_title h1{
		font-size: 1.2em;
		line-height: 1.3;
	}
	#novel_container h1, #novel_container .autopagerize_page_element{
		padding-top: 1em;
	}
	#novel_container #work{
		padding: 3em;
	}
	.message_box{
	}

/*名前変換用*/
	#dreambox{
	}
	form.nameform input{
		width:32%;
	}

/*コメント*/

}

/*パソコン
================================================= */

@media screen and (min-width:1025px){
	.novel_pc_only_flex{
		display:-webkit-box;
		display:-ms-flexbox;
		display:flex;
		max-width: 72em;
		margin: 0 auto;
	}
	body#NOVEKATU header #head{
		padding-top: 2rem;
	}
	body#NOVEKATU h1#logo{
		font-size: 3em;
	}

	#novel_contents, #comment_contents{
		box-shadow: 0 1px 3px 0 rgba(0,0,0,.3), 0 4px 8px 3px rgba(0,0,0,.15);
	}
	#novel_contents{
		max-width: 56em;
	}
	#comment_contents{
		max-width: 56em;
		padding: 1.6em 1em 3em;
	}
	#novel_container {
		padding: 0 0 3em;
	}	
		.caution{
		width: 70%;
	}
	/*.com_form{
		padding: 3em 0;
	}*/
	/*side*/
	.novel_pc_only_flex #side{
		margin-left: auto;
		padding: 2em 1em;
	}

	/*modal*/
	.modal-body-sec{
		right: 10%;
		left: 10%;
	}

}

/*ダークモード
================================================= */
@media (prefers-color-scheme: dark) {
	body#MAIN #MainLogo h1#logo, body#subpage h1.logo , body#bbspage h1.logo{
	background: url(https://novelcake.net/images/logo-dark-t.png) no-repeat;
	background-size: contain;
    width: 8.2em;
    height: 2em;
	}
	nav#headnav {
		background: var(--nav-bg);
		color: var(--wt-cl);		
	}
	#news_text_area {
		color: var(--wt-cl);
		background: #828282;
	}
	#Novel_Chart .n_container .n_title h1,
	#Novel_Chart .n_container .n_title h1 a,
	#Novel_Chart_ss .n_container .n_title h1,
	#Novel_Chart_ss .n_container .n_title h1 a{
    	color: var(--h1-cl);
	}
	#novel_contents, #comment_contents, #text_contents {
		background: var(--wrap-bg);
	}
	.n_container {
		border-bottom: 1px solid #8b8b8b;
	}
	.genre{
		color: #212121;
    	background: var(--side-bg);
	}
	.kan{
		color: #b34f4f;
		background: #d0b3ad;
	}
	#novel_container h1 {
		color: var(--h1-cl);
		padding-bottom: 1.6em;
	}
	#novel_container #work {
		color: var(--view-cl);
	}
	#dreambox{
		border-top: none;
	}
	#dream_caution {
		color: var(--view-cl);
	}
	.cushion {
		background: transparent;
	}
	#novel_container .autopagerize_page_element span {
		color: var(--wrap-bg);
		background: var(--wrap-bg);
	}
	#novel_container .autopagerize_page_element a, #novel_container .autopagerize_page_element form button {
		color: #dedede;
		background: #424242;
	}
	
	.com_form.undform{
		background: #525252;
	}
	.admcolor{
		color: #c7aaf5;
	}
	.passno i{
		color: var(--view-cl);
	}
}
