@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Carrois+Gothic+SC&display=swap');
/*
'Carrois Gothic SC' is licensed under the Open Font License.
https://fonts.google.com/specimen/Carrois+Gothic+SC
*/

/* 基本設定 */
html {
    background: transparent;
    font-size: 62.5%;
}
body {
    min-height: 100vh;
    padding-top: 1em;
    background: #ffffff;
    color: #41515f;
    font-size: 1.3rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: 0.2em;
    line-height: 1.8;
}
a {
    text-decoration: none;
}


h2,h3,h4,.mainNav {
    font-family: 'Carrois Gothic SC', sans-serif;
}
h2 {
    display: flex;
     flex-direction: column;
     align-items: center;
    margin: 2rem 0 3rem;
    font-size: 1.2em;
}
h2::after {
    content: '';
    flex-grow: 1;
    display: block;
    width: 10%;
    height: 3px;
    margin-top: 1rem;
    background: url('../img/line.png') center / cover #e3d2ff;
    box-sizing: border-box;
}
h3 {
    display: inline-block;
    padding: 0 1.5rem;
    margin: 2rem 0 1rem;
    background: #EAE8F2;
    border-radius: 2px;
    color: #51598C;
    font-size: 1.1em;
    font-weight: normal;
    line-height: 3rem;
}
.nihongo {
    font-size: .9em;
}
h4 {
    display: flex;
     align-items: center;
    margin: .5em 1em;
    color: #596477;
    font-size: 1.1em;
}
h4::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 3px;
    margin-right: 1rem;
    background: #51598C;
    box-sizing: border-box;
}
ul,ol,dl {
    list-style: none;
}
em {
    background: #f6e5c8;
    font-style: normal;
}
strong {
    border-bottom: #23AD7B dashed 2px;

}


/* 段落 */
p {
    padding: 0 1em;
}
section {
    margin: 5vh 0;
}


/* 全体の余白、基本リンク色など */
.pageWrap {
    margin: 15vh auto 15vh 25%;
}
.contentsWrap {
    width: 75%;
    min-width: 600px;
    margin: auto;
}
.pageWrap a {
    color: #3D963B;
    transition: .3s;
}
.pageWrap a:hover {
    color: #BAE2CD;
}
.box {
    padding: 5vh;
    margin: 10vh 0;
    background: #ffffff;
    border: #f7f5f8 solid 2px;
    border-radius: 3px;
    box-shadow: 5px 5px 1em #f7f5f8;
    box-sizing: border-box;
}
.space {
    margin: 5vh 1em;
}


/* フォーム系 */

input[type],textarea,button,select {
    border: none;
    color: #41515f;
    font-family: inherit;
    font-size: .9em;
    letter-spacing: .1em;
    line-height: inherit;
}
form .enter {
    padding: .2em;
    margin: .5em 0;
    border: #cccccc solid 1px;
}
form .button {
    padding: .2em 1em;
    margin-right: 1em;
    background: url('../img/design60_4.jpg') center / 300% #e3d2ff;
    color: #3b4853;
}



/* 小説部分設定 */

/* 名前変換フォーム */
.nameChange {
    text-align: center;
}
.nameChange .enter {
    width: 10em;
}
.nameChange .button {
    background: url('../img/design60_4.jpg') center / 300% #e3d2ff;
    border: none;
    color: #3b4853;
}

/* 長編リスト */
.longList {
    display: flex;
     flex-wrap: wrap;
}

/* ＊＊＊＊＊長編画像＊＊＊＊＊ */

.long1::before {
    background: url('../img/design61_banner.png') center / cover;
}
.long2::before {
    background: url('../img/design61_banner_2.png') center / cover;
}
.long3::before {
    background: url('../img/design61_banner_3.png') center / cover;
}
.long4::before {
    background: url('../img/design61_banner_4.png') center / cover;
}
.long5::before {
    background: url('../img/design61_banner_5.png') center / cover;
}

/* ＊＊＊＊＊長編画像＊＊＊＊＊ */



.longList li {
    display: flex;
    position: relative;
    margin: 1em 0 1em 0;
    width: 50%;
}
.longList li::before {
    content: '';
    flex-shrink: 0;
    width: 20%;
    min-height: 10vh;
    background-color: #dbe0e9;
    border-radius: 3px;
}
.longInfo {
    flex-grow: 1;
    padding: 1em;
}
.title a {
    margin-top: 2em;
    color: #666666;
}
.title a::before {
    content: '「';
}
.title a::after {
    content: '」';
}
.longInfo > .summary {
    padding: .5em 1em;
    color: #999999;
    font-size: 1rem;
}


/* 短編リスト */
.shortList {
    columns: 2;
}
.shortList li {
    margin: .5em 0;
}
.caution {
    margin-left: 1em;
    color: #999999;
}
.shortList li a {
    border-bottom: #3D963B solid 2px;
    color: #666666;
}
.shortList li a:visited {
    border-bottom: #f8f3f6 solid 2px;
}


/* 小説本文余白 */
.textWrap {
    width: 50%;
    max-width: 900px;
    min-width: 600px;
    margin: 10vh auto;
    letter-spacing: 3px;
    line-height: 220%;
}

/* ルビ */
.ruby {
    display: inline-block;
    position: relative;
}
.ruby > * {
    display: inline-block;
}
.yomigana {
    position: absolute;
     top: -3px;
     left: calc(50% - 1.5px);
    width: 100%;
    height: 1.5em;
    font-size: .8rem;
    letter-spacing: 0;
    line-height: 1em;
    overflow-wrap: normal;
    text-align: center;
    transform: translateX(-50%) scale(0.8);
    word-break: normal;
}
/* Firefox用 */
@-moz-document url-prefix() {
	.yomigana {
        transform: translateX(-50%);
    }
}

/* あとがき */
.atogaki {
    padding: 1em;
    background: #f7f5f8;
    font-size: .9em;
}

/* 小説ページのナビゲーション */
.novelNav {
    margin: 10vh 0;
    font-family: 'Carrois Gothic SC', sans-serif;
}
.novelNav ul {
    display: flex;
     justify-content: center;
}
.novelNav li {
    margin: 0 1em;
}
.novelNav a {
    color: #999999;
    transition: .3s;
}
.novelNav a:hover {
    color: #cccccc;
}



/* メールフォーム */
.mailForm .enter {
    width: 50%;
    min-width: 400px;
}
textarea.enter {
    height: 6em;
}


/* スラッシュ付きリスト */
.list-slash {
    display: flex;
     flex-wrap: wrap;
}
.list-slash li::before {
    content: '/';
    margin: 1em;
    color: #a2a7b1;
}
.list-slash li:first-of-type::before {
    content: none;
}



/* ヘッダー */
.mainHeader {
    display: flex;
     flex-direction: column;
     justify-content: space-evenly;
     align-items: center;
    position: fixed;
     top: 10vh;
     left: 0;
    width: 20%;
    min-width: 250px;
    height: 80vh;
    margin: 0 5%;
    text-align: center;
    background: center / cover #CBDF97;
    background-image: linear-gradient(rgba(247,245,248,.5), rgba(247,245,248,.5)), url('');
    border-radius: 3px;
}


h1 {
    margin: 0 .5em;
    font-size: 1.5em;
    text-align: center;
}
.hitokoto {
    margin-bottom: 3em;
    font-size: 1rem;
}

/* ナビゲーション */
.mainNav {
    border-radius: 3px;
}
.mainNav ul {
    display: flex;
     flex-direction: column;
     justify-content: center;
    margin: 2em 0;
}
.mainNav li {
    padding: 0 1em;
    margin: .2em 0;
}
.mainNav li a {
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
    padding: .2em .5em;
    color: #596477;
    font-size: 1em;
    transition: .3s;
}
.mainNav li a:hover {
    color: #a2a7b1;
}


.siteInfo {
    color: #000000;
    font-size: .8em;
    line-height: 3em;
}
.siteInfo a {
    color: #ffffff;
}
.siteInfo ul {
    justify-content: center;
}


/* トップに戻るリンク */
.backTop {
    position: fixed;
     bottom: 2em;
     right: 5%;
}
#back {
    display: inline-block;
    width: 3em;
    height: 3em;
    background: url('../img/icon.png') center / 400% #e3d2ff;
    border-radius: 2px;
    color: #a2a7b1;
    cursor: pointer;
    line-height: 3em;
    text-align: center;
    transition: .3s;
}
#back:hover {
    color: #596477;
}


/* フッター（削除OK） */
.mainFooter {
    display: none;
    margin: 15vh 0 0;
    color: #c7c7c7;
    font-size: 1rem;
    text-align: center;
}
.mainFooter a {
    color: #f3d7e9;
}


/* その他 */
.center {
    text-align: center;
}
.right {
    text-align: right;
}


/* 画面幅1001px以下用CSS */

@media (max-width:1001px) {
    body {
        font-size: 1.1rem;
    }
    h3, h4 {
        font-size: 1em;
    }
    section {
        margin: 2em 0;
    }
    .space {
        margin: 1em;
    }
    .contents {
        margin: 2em 1em;
        min-width: 200px;
    }
    .box {
        min-width: 200px;
        padding: 2em;
        box-shadow: 1px 1px 1rem #f7f5f8;
    }
    .pageWrap {
        margin: 0 0 5vh;
    }
    .contentsWrap {
        width: 90%;
        min-width: 200px;
        max-width: 500px;
        padding: 0;
        margin: 3em auto;
        
    }
    .nameChange .enter {
        width: 8em;
        min-width: 8em;
    }
    .longList {
        flex-direction: column;
        align-items: center;
        padding: 1em 0;
    }
    .longList li {
        width: 100%;
        margin: .5em 0;
    }
    .shortList {
        columns: 1;
    }
    .textWrap {
        width: 90%;
        max-width: 500px;
        min-width: 200px;
    }
    .mailForm .enter {
        width: 90%;
        min-width: 200px;
    }
    textarea.enter {
        height: 6em;
    }
    .mainHeader {
        position: static;
        width: 80%;
        max-width: 400px;
        height: auto;
        margin: 5em auto 5em;
        background: #fff;
    }
    /* ↓トップの四角 */
    .headerContents::before {
        content: '';
        display: block;
        width: 120px;
        height: 120px;
        margin: auto;
        background: center / 300% no-repeat #CBDF97;
        background-image: url('');
        border-radius: 4px;
    }
    .headerContents {
        display: flex;
         flex-direction: column;
        min-width: 180px;
        padding: 1em;
        background: rgba(255,255,255,.9);
        z-index: 2;
    }
    .hitokoto {
        margin-bottom: 2em;
        color: #999999;
    }
    .mainNav {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: auto;
        padding: 2em 0 0;
    }
    .mainNav ul {
        display: flex;
         flex-direction: row;
         flex-wrap: wrap;
        margin: 1em 0;
    }
    .mainNav li {
        padding: 0;
        margin: .2em;
    }
    .mainHeader h1 {
        margin-top: 0;
        font-size: 1.2em;
    }
    .mainNav li a {
        font-size: 1em;
        line-height: 1.5;
    }
    .mainNav li a::after {
        content: nne;
    }
    .siteInfo {
        width: 100%;
        margin-top: 2em;
    }
    .backTop {
        bottom: 2em;
        right: 1em;
    }
    .hidden_mobile {
        display: none;
    }
}
