@charset "UTF-8";
@import url("html5reset-1.6.1.css");
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lora&display=swap');

/*--------------------テンプレート情報--------------------*/
/*template　Maison de R*/
/*url　https://maisonder.web.fc2.com/*/
/*title　FLOWER STORY vol.3 white*/
/*code　CSS3*/

/*--------------------ライセンス--------------------*/

/*HTML5 Reset Stylesheet
html5doctor.com Reset Stylesheet v1.6.1
http://html5doctor.com/html-5-reset-stylesheet/
Copyright Richard Clark - http://richclarkdesign.com
Released under the CC0 Public Domain Dedication and MIT License
http://opensource.org/licenses/mit-license.php
*/

/*
jQuery v3.3.1
http://jquery.com/
(c) JS Foundation and other contributors
Released under the MIT license
http://jquery.org/license
http://opensource.org/licenses/mit-license.php
*/

/*
jQuery Smooth scroll
Handy Web Design
https://handywebdesign.net/2017/10/jquery-smooth-scroll/
*/

/*
Google Fonts
"Noto Serif JP" is lisenced under the SIL Open Font License
http://scripts.sil.org/OFL
https://fonts.google.com/(Google)
"Lora" is lisenced under the SIL Open Font License
http://scripts.sil.org/OFL
https://fonts.google.com/(Cyreal)
*/

/*
Font Awesome(Font License)
"font-awesome" is lisenced under the SIL Open Font License 1.1
http://scripts.sil.org/OFL
https://fontawesome.com/v4.7.0/
*/

/*
Font Awesome(Code License)
https://fontawesome.com/v4.7.0/
Released under the MIT license
https://fontawesome.com/v4.7.0/license/
http://opensource.org/licenses/mit-license.php
*/


/*------------PCファーストで記述------------*/


/*------------初期設定の追加&リセット------------*/

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    word-break: break-all;
    -webkit-appearance: none;
    -moz-appearance: none;
    /*プラットフォームのスタイルをリセット*/
}

/*フェードイン*/
body {
    -webkit-animation: fadein 2s ease 0s 1 normal;
    animation: fadein 2s ease 0s 1 normal;
}

@-webkit-keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*ボディ*/

body {
    text-align: left;
    letter-spacing: 0.05em;
    line-height: 1.8;
    font-family:'Times New Roman', Times, serif;
    font-size: 12px;
    color: white;
    background: #3b3b3b;
    /*モバイル端末でのテキストサイズの自動調整対策*/
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}


/*背景画像*/

body::before {
    background: url('bg01.jpg') no-repeat top center #3b3b3b;
    background-size: cover;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -2;
}


/*背景画像に色を被せる*/

body::after {
    background: rgba(0, 0, 0, 0.7);
    background-size: cover;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
}

/*リンク*/
a {
    color: white;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    /*リンクカラーをふわっと変化させる*/
}

a:hover {
    color: white;
}

/*画像*/

img {
    /*画像の伸縮設定*/
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    /*画像の縦の隙間対策*/
}

a img {
    /*画像リンクの枠線を消す*/
    border: 0;
}

/*リスト*/

ul,
ol {
    list-style-position: inside;
    /*リストマークを内側に表示*/
    list-style-type: none;
    /*リストマークをつけない*/
}


/*フォント*/

header h1 {
    font-weight: normal;
}

.pagetop {
    font-family: 'Lora', serif;
}

.aftertitle {
    font-family: 'Lora', serif;
}

/*テキスト 行の高さ*/
.pagetop {
    line-height: 1;
}


/*テキスト 文字間隔*/

header h1 {
    letter-spacing: 0.2em;
}

.aftertitle {
    letter-spacing: 0.2em;
}

.pagetop {
    letter-spacing: 0 !important;
}

/*ベース*/
#bodyall {}

#all {
    width: 100%;
    padding: 30px;
}

#wrap {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}


/*リンク下線一括指定*/
header h1 a,
.pagetop a {
    text-decoration: none;
}

/*ヘッダー*/

header {
    margin-top: 15px;
}

header h1 {
    text-align: center;
    font-size: 30px;
}

/*メイン*/

#main {
    margin-top: 60px;
    margin-bottom: 30px;
}

/*小説部分*/

.novel {
    margin: 15% 0;
    text-align: left;
    letter-spacing: 0.05em;
    line-height: 1.8;
    font-size: 14px;
}

.title {
    
    text-align: center;
    margin: 20px auto 0;
    letter-spacing: 0.05em;
    line-height: 1.8;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.navi {
    margin: 0 auto;
    text-align: center;
    margin: 20px auto 0;
    letter-spacing: 0.05em;
    line-height: 1.8;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
}



/*小説部分 タグ間のマージン調整*/

.novel p {
    margin-top: 30px;
}

.novel p:first-child {
    margin-top: 0;
}

/*あとがき*/
.afterword {
    text-align: left;
    margin: 80px auto 0;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
}

.aftertitle {
    margin-bottom: 1.5em;
    font-size: 13px;
    text-align: center;
    margin-top: 0 !important;
}

/*あとがき タグ間のマージン調整*/

.afterword p {
    margin-top: 14px;
}

.aftertitle + p {
    margin-top: 0;
}

/*ページトップボタン*/

.pagetop {
    position: fixed;
    /*位置固定*/
    bottom: 0;
    right: 0;
}

.pagetop a {
    background: #464646;
    text-align: center;
    padding: 10px;
    display: inline-block;
    /*リンク範囲の調整*/
}

/*フッター*/

footer {}


/*配布元表示*/

#licence {
    font-size: 0;
    /*隙間対策*/
}

#licence li {
    font-size: 12px;
    /*隙間対策 再指定*/
    display: inline-block;
    /*横並び*/
    margin: 0.2em 1em 0.2em 0;
}

#licence li:last-child {
    margin-right: 0;
}


/*------------画面サイズ1024px以下用（タブレット/スマホ向け）------------*/

@media screen and (max-width:1024px) {

    #all {
        padding: 20px;
    }

    header {
        margin-top: 10px;
    }

    header h1 {
        font-size: 24px;
    }

    #main {
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .afterword {
        padding: 20px;
    }

}


/*コーディング確認済*/
