@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=M+PLUS+Rounded+1c&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    
    /* 背景色（初期値: ほんのり暗い白） */
    --c-back: rgb(240,240,240);
    
    /* ページ背景色（初期値: ほんのり暗い白） */
    --c-base: rgb(253,253,253);
    
    /* 文字色 */
    --c-font: rgba(0,0,0,0.85);
    
    /* 文字色（太字） */
    --c-font: rgba(0,0,0,0.75);
    
    /* 文字色（薄い色） */
    --c-font-c: rgba(128,128,128,0.9);
    
    --c-link: rgb(64,96,255);

    /* .novel hover時背景色 */
    --c-hover: rgba(225,230,255,0.5);

    --c-dk-gray: rgb(160,160,160);
    --c-gray: rgb(192,192,192);
    --c-lt-gray: rgb(235,235,235);
    
    /* メインカラー（初期値: 黒） */
    --c-main: rgb(32,32,32);
    
    /* 背景がメインカラーの時の文字色（初期：白） */
    --c-main-font: rgb(255,255,255);
    
    /* サブカラー。リンク色など（初期：灰色） */
    --c-sub: rgb(180,180,180);
    
    /* input背景色（初期：白色） */
    --c-base-lt: rgb(255,255,255);
    
}/*

配色を変更する際はこの :root 内を編集してください。
上記コードを編集することで色が変更できます。
色名や16進数で入力しても問題ありません。

*/

img {
    max-width: 100%;
    height: auto;
}
/* 上記のimgは画像広告によるデザイン崩れを防止するためのものです。
※広告を削除・妨害するものではありませんが、不安な方、不要な方は削除してください。 */


/* フォント設定 */

body,
input,
select {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: var(--c-font);
}

hgroup h3 {
    font-family: "Dosis", "M PLUS Rounded 1c", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}


/* 共通設定 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: .1s;
}

:hover {
    transition: .2s;
}

a {
    text-decoration: underline;
    color: var(--c-link);
}

body {
    line-height: 1.6em;
    letter-spacing: 0.03em;
    font-size: 0.9em;
    background: var(--c-back);
}

a:hover {
    text-decoration: none;
}

b,em,strong,h1,h2,h3,h4,h5 {
    color: var(--c-font-b);
}
em {
    font-weight: 700;
}
strong {
    font-weight: 800;
}

p {
    margin: 10px 20px 0;
}

ul,ol {
    margin: 10px;
    margin-left: 35px;
}
ul ul, ul ol,
ol ol, ol ul {
    margin: 0;
    margin-left: 25px;
}
li {
    padding-top: 2px;
    padding-left: 5px;
}

hgroup {
    margin: 45px 10px 30px;
    text-align: center;
}
hgroup p {
    margin-top: 10px;
}

main {
    max-width: 580px;
    margin: auto;
    padding: 10px 0;
    background: var(--c-base);
}

form {
    margin: 25px 0 10px;
}

input[type=button],
input[type=submit],
input[type=reset],
input[type=text],
input[type=number],
input[type=tel],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input,
button {
    margin: 5px 10px 10px 0;
    outline: none;
    border: none;
    border-radius: 0;
    font-size: 1em;
    box-shadow: none;
    background: var(--c-base);
}

select {
    min-height: 2.3em;
    margin: 5px 10px 10px 0;
    padding: 0 5px;
    border: 1px solid var(--c-gray);
}

input[type=button],
input[type=submit],
input[type=reset],
input[type=image],
input[type=date],
input[type=datetime-local],
input[type=month],
input[type=week],
input[type=time],
input[type=file],
button {
    padding: 8px 20px;
    line-height: 1.4em;
    font-weight: 600;
    border-radius: 50px;
    color: var(--c-link);
    background: var(--c-lt-gray);
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover,
input[type=image]:hover,
input[type=date]:hover,
input[type=datetime-local]:hover,
input[type=month]:hover,
input[type=week]:hover,
input[type=time]:hover,
input[type=radio]:hover,
input[type=check]:hover,
input[type=file]:hover,
input[type=color]:hover,
input[type=range]:hover,
button:hover,
label[for]:hover {
    cursor: pointer;
    opacity: 0.6;
}

input[type=text],
input[type=number],
input[type=tel],
input[type=email],
input[type=url],
input[type=password],
input[type=search] {
    height: 2.5em;
    padding: 0 10px 2px;
    border: 2px solid var(--c-lt-gray);
}

input[type=text]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus {
    border-bottom-color: var(--c-link);
}

input[type=checkbox],
input[type=radio] {
    width: 0.95em;
    height: 0.95em;
    margin: 5px 5px 0 10px;
    accent-color: var(--c-link);
}

textarea {
    resize: vertical;
    display: block;
    width: 100%;
    min-height: 8em;
    margin: 10px 0;
    padding: 10px 15px;
    line-height: 1.5em;
    letter-spacing: 0.05em;
    font-size: 1em;
    border: 1px solid var(--c-dk-gray);
    background: var(--c-base);
}

label {
    margin-right: 5px;
}


/* main内デザイン */

h2 {
    margin: 30px 15px 10px;
    padding: 5px 10px 8px;
    border-bottom: 3px solid var(--c-gray);
}

h3 {
    display: flex;
    align-items: center;
    margin: 30px 20px 0;
}
h3::after {
    content: "";
    flex: 1;
    height: 2px;
    margin-left: 15px;
    background: var(--c-gray);
}

h4 {
    margin: 10px 20px 5px;
}
h5 {
    margin: 5px 20px 0;
    font-size: 1em;
}
h6 {
    font-size: 0.95em;
}


/* 小説リンク */

.novel {
    margin: 15px 0 30px;
    border-top: 1px solid #5555;
}
.novel > a {
    color: var(--c-font);
    text-decoration: none;
}
.novel > * {
    display: block;
    position: relative;
    padding: 15px calc( 1em + 20px + 1.5em ) 15px 17px;
    border-left: 1px solid var(--c-base);
    border-right: 1px solid var(--c-base);
    border-bottom: 1px solid #5555;
}
.novel > *::after {
    content: "";
    width: 1em;
    height: 1em;
    position: absolute;
    top: 0;
    right: 30px;
    bottom: 0;
    margin: auto;
    border-right: 1px solid var(--c-gray);
    border-bottom: 1px solid var(--c-gray);
    transform: rotate(-45deg);
}
.novel > *:hover {
    background: var(--c-hover);
}
.novel > *:hover::after {
    right: 25px;
    border-color: var(--c-link);
    transition: .2s;
 }
.novel > * h4,
.novel > * h5,
.novel > * h6 {
    margin: 0;
    padding: 0;
    border: none;
}
.novel > * h4 {
    margin: 3px 0;
    font-size: 1.1em;
}
.novel > * h5,
.novel > * h6 {
    display: inline-block;
}
.novel > * h6 {
    position: relative;
    margin-left: 35px;
    color: var(--c-font-c);
}
.novel > * h6::before {
    content: "";
    display: block;
    width: 20px;
    height: 0.5px;
    position: absolute;
    top: 0;
    left: -35px;
    bottom: 1px;
    margin: auto 5px;
    background: var(--c-dk-gray);
}
.novel p {
    margin: 0;
    margin-top: 2px;
    padding: 0;
}
.novel > * > img {
    margin: 5px 0;
}


/* その他 */

.border_t,
.border_l,
.border_b {
    border-width: 0;
    border-style: solid;
    border-color: var(--c-link);
}
.border_t {
    padding: 8px;
    padding-top: 10px;
    padding-bottom: 0;
    border-top-width: 6px;
}
.border_l {
    padding: 3px;
    padding-left: 15px;
    border-left-width: 6px;
}
.border_b {
    padding: 8px;
    padding-top: 0;
    padding-bottom: 10px;
    border-bottom-width: 6px;
}

.novel .border_t,
.novel .border_l,
.novel .border_b {
    position: relative;
    left: -3px;
}

.info {
    margin: 0;
    color: var(--c-font-c);
}

.text {
    margin: 30px 20px;
    font-size: 1em;
    line-height: 2em;
}

.pager {
    display: flex;
    margin: 30px 25px 10px;
    text-align: center;
    color: var(--c-gray);
    border: 1px solid var(--c-gray);
    border-bottom: 0;
}
.pager a {
    display: block;
    flex: 1;
    padding: 5px 10px;
    text-decoration: none;
    border-right: 1px solid var(--c-gray);
    border-bottom: 1px solid var(--c-gray);
}
.pager a:last-child {
    border-right: none;
}
.pager a:hover {
    border-bottom: 1px solid var(--c-link);
    background: var(--c-hover);
}

.box {
    display: block;
    margin: 20px 15px;
    padding: 15px 20px;
    background: var(--c-lt-gray);
}
.box p {
    margin-left: 0;
    margin-right: 0;
}
.text .box {
    margin: 30px 0;
}

.left,
.right,
.center {
    margin: 4px 20px;
}

.left {
    text-align: left;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}

.flex {
    display: flex;
    align-items: flex-start;
}
.novel .flex:first-child {
    flex: 0 0 10%;
}
.novel .flex div {
    margin: 5px 15px;
}

.flex_b {
    display: flex;
    justify-content: space-between;
    margin: 5px 20px;
}
.flex_b * {
    margin: 0;
}

.tag,
.tag_b {
    display: inline-block;
    margin: 0.2em 0;
    margin-left: 0.1em;
    padding: 0.14em 0.4em 0.05em;
    line-height: 1.4em;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 3px;
}
.tag {
    color: #fff;
    background: red;
}
.tag_b {
    color: #000e;
    background: #fe0;
}

.hid {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hid_2,
.hid_3,
.hid_4,
.hid_5 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}
.hid_3 {
    -webkit-line-clamp: 3;
}
.hid_4 {
    -webkit-line-clamp: 4;
}
.hid_5 {
    -webkit-line-clamp: 5;
}


/* PC・Pad向け */

@media (min-width: 502px) {

    main {
        padding: 10px;
    }

    .novel {
        margin-left: 15px;
        margin-right: 15px;
    }

    .novel > *:hover {
        border-left: 1px solid var(--c-gray);
        border-right: 1px solid var(--c-gray);
    }

}


/* スマートフォン向け */

@media (max-width: 501px) {

    body {
        font-size: 0.9em;
    }
    
}




/* name change setting 20.02.16 ------------------------------------------ */

div.dreaming{
 box-sizing: border-box;
 width: 100%;
 margin: 0 auto;
 display: flex;
 align-items: center;
}

div.dreaming input[type="text"],div.dreaming input[type="button"]{
 box-sizing: border-box;
 cursor: pointer;
 width: 20%;
 margin: 2px;
 padding: 5px;
 color: #566C73;;
 border: solid 1px #566C73;
 border-radius: 2px;
 background: #fff;
 font: 1rem;
 text-align: center;
}

.dreaming input[type="button"]:hover{
 box-sizing: border-box;
 width: 20%;
 margin: 2px;
 padding: 5px;
 color: #fff;
 border: solid 1px #566C73;
 background: #566C73;
}