@import url("../../assets/site-modern.css");
.novel-reader{background:#eef3f7}
.novel-reader main{width:min(780px,calc(100% - 24px));margin:28px auto 64px}
.novel-article{padding:clamp(22px,5vw,56px);background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:0 9px 28px rgba(27,48,67,.07)}
.novel-article h1{margin:.1em 0 .3em;color:var(--navy);font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(2rem,6vw,3.6rem);line-height:1.35}
.novel-byline{margin:0 0 36px;color:var(--muted)}
.novel-body{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:1.05rem;line-height:2.05}
.novel-body p{margin:0 0 1.35em;white-space:pre-wrap}
.novel-afterword{margin-top:48px;padding-top:28px;border-top:1px solid var(--line)}
.novel-afterword h2{color:var(--navy);font-family:"Yu Mincho","Hiragino Mincho ProN",serif}
.novel-back{margin:24px 0 0}
@media(max-width:560px){.novel-reader main{width:calc(100% - 14px);margin-top:10px}.novel-article{padding:22px 17px;border-radius:12px}.novel-body{font-size:1rem;line-height:1.95}}


/* ver1.3: 旧小説ページをスマホでも読みやすく */
body.novel-legacy{margin:0!important;padding:0 12px 48px!important;background:#eef3f7!important;color:#26313d!important;font-family:"Yu Mincho","Hiragino Mincho ProN",serif!important;font-size:16px!important;line-height:2!important;overflow-wrap:anywhere}
.novel-legacy .legacy-novel-heading{max-width:780px;margin:20px auto 0;padding:26px 28px 18px;background:#fffdf8;border:1px solid #d9d5cc;border-bottom:0;border-radius:16px 16px 0 0}
.novel-legacy .legacy-novel-heading h1{margin:.2em 0 .25em;color:#17324d;font-size:clamp(1.8rem,6vw,3rem);line-height:1.4}
.novel-legacy .legacy-novel-heading .novel-byline{margin:0;color:#667386;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-size:.95rem}
.novel-legacy>.legacy-novel-body{max-width:780px;margin:0 auto;padding:24px 28px 42px;background:#fffdf8;border:1px solid #d9d5cc;border-top:0;border-radius:0 0 16px 16px;overflow:hidden}
.novel-legacy .legacy-novel-body pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important;font:inherit!important;margin:0 0 1.4em}
.novel-legacy .legacy-novel-body font{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}
.novel-legacy .legacy-novel-body table{width:100%!important;max-width:100%!important;display:block;overflow-x:auto}
.novel-legacy .legacy-novel-body img{max-width:100%!important;height:auto!important}
.novel-legacy .legacy-novel-body p{max-width:100%;white-space:normal}
.novel-legacy .legacy-home{display:inline-block;margin-bottom:8px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Yu Gothic",Meiryo,sans-serif;font-size:.9rem}
@media(max-width:560px){body.novel-legacy{padding:0 7px 30px!important;font-size:16px!important;line-height:1.95!important}.novel-legacy .legacy-novel-heading{margin-top:8px;padding:20px 16px 12px;border-radius:12px 12px 0 0}.novel-legacy>.legacy-novel-body{padding:20px 16px 32px;border-radius:0 0 12px 12px}.novel-legacy .legacy-novel-body pre{white-space:pre-wrap!important}.novel-legacy .legacy-novel-body br{display:block}}


/* ver1.4: novel list return link at the end of every story */
.novel-bottom-back{margin:42px 0 0!important;padding:22px 0 0!important;border-top:1px solid #e3ded3;text-align:center;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Yu Gothic",Meiryo,sans-serif}
.novel-bottom-back a{display:inline-block;padding:10px 16px;border:1px solid #c8d1d8;border-radius:8px;background:#f7fafb;text-decoration:none;font-weight:700}
