@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');
/* フォントのライセンス表記 */
/*
'Abel' is licensed under the Open Font License.
https://fonts.google.com/specimen/Abel
*/


/* 基本設定 */
html {
    background: transparent;
    font-size: 62.5%;
}
body {
    background: #1d283c;
    color: #fff;
    min-height: 100vh;
    font-size: 1.3rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: 0.3em;
    line-height: 1.8;
}
a {
    color: #fff;
    text-decoration: none;
}
ul,
ol {
    list-style: none;
}


/* フォント指定まとめて */
h2,
h3,
h4,
.textNav {
    font-family: 'Abel', sans-serif;
}

/* 見出し */
h2 {
    margin: 40px 0 20px;
    font-size: 1.2em;
    letter-spacing: .2em;
    text-transform: capitalize;

}
h3 {
    margin: 20px 10px 10px;
}


/* 強調、段落、余白など */
em {
    background: #576b8f;
}
p {
    margin: 0 1em;
}
.space {
    margin: 20px 1em;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}

/* 背景付きボックス */
.box {
    padding: 30px;
    margin: 30px auto;
    background: #0006;
    box-sizing: border-box;
}


/* ページ全体 */
.allWrap {
    padding: 1px 0;
    min-height: 100vh;
    background: url('../img/ginga02.jpg') center 60% / auto 100%  fixed no-repeat #1d283c;
}
.allWrap a {
    color: #9ab5e2;
}
.allWrap a:hover {
    filter: blur(1px);
}


/* メインコンテンツ */
.mainWrap {
    position: relative;
    width: 60%;
     min-height: 100vh;
    padding: 15vh 80px 10vh;
    margin-left: 40%;
    backdrop-filter: blur(5px);
    background: linear-gradient(90deg, #0002 95%, #0000);
    box-sizing: border-box;
    opacity: 1;
}

/* アニメーション設定 */
.mainWrap {
    animation: fadeIn 1s;
}
@keyframes fadeIn {
    from {
        opacity: .0;

    }
    to {
        opacity: 1;
    }
}



/* フォーム関連 */
input[type],
textarea {
    padding: 5px;
    margin-bottom: 5px;
    background: #fff8;
    border: #0000 solid 1px;
    font-family: inherit;
    font-size: 100%;
    color: #000;
}
.nameChangeForm .enter {
    width: 10em;
}
.nameChangeForm .button {
    padding: 5px 10px;
}


/* サブタイトル */
.subTitle {
    display: flex;
     flex-direction: column;
     justify-content: center;
     gap: 20px;
    position: fixed;
    width: 40%;
    height: 100vh;
    padding: 100px 50px 120px;
    box-sizing: border-box;
    color: #fff8;
    font-family: serif;
    font-size: 1em;
}


/* タイトル */
.mainTitle {
    margin-bottom: 50px;
    font-family: serif;
    font-size: 5em;
    line-height: 1.2;
    text-shadow: 0 0 10px #fff8;
}


/* 話一覧 */
.storyList {
    position: relative;
    padding: 10px 0 10px 1.5em;
    margin-left: 1em;
    border-left: #ccc solid 2px;
}
.storyList li {
    margin-bottom: 10px;
}
.storyList li a {
    padding: 0 5px;
    background: #0008;
    color: #fff;
}
.storyList li a:visited {
    color: #aaa;
}


/* 章間の文章用 */
.storyIntro {
    width: 80%;
    margin: 40px auto;
    font-size: 1.1rem;
    line-height: 250%;
}


/* 本文ページ */
.textPage {
    background: url('../img/ginga02.jpg') center 60% / cover fixed no-repeat #29354a;
}
.textPage .mainWrap {
    width: 65%;
     min-width: 700px;
    margin: auto;
    animation: none;
    background: #131821cc;
    font-size: 1.5rem;
    line-height: 220%;
}
.textPage h2 {
    padding-left: .8em;
    border-left: #ccc solid 2px;
    font-family: serif;
    font-size: 1.6em;
}
.textPage .mainWrap p {
    margin: 0;
    text-indent: 1em;
}

.atogaki {
    font-size: 1.2rem;
}


/* 本文ページのナビゲーション */
.textNav ul {
    display: flex;
     justify-content: center;
}
.textNav li {
    margin: 0 1em;
}



/* フッター（削除OK※デフォルト非表示） */
.mainFooter {
    display: none;
    margin: 10vh auto 0;
    font-size: 1rem;
    text-align: center;
    opacity: .3;
}


/* レスポンシブ調整用 */
@media (max-width:1000px) {
    body {
        font-size: 1.1rem;
    }
    .mobileWrap {
        max-width: 600px;
        margin: auto;
    }
    .allWrap,
    .textPage {
        background-position: 18% center;
        background-size: cover;
    }
    .subTitle {
        position: static;
        width: 80%;
        height: auto;
         min-height: 300px;
        padding: 20px;
        margin: auto;
        font-size: 1rem;
    }
    .subTitle {
        animation: fadeIn 1s forwards;
    }
    .mainWrap {
        width: 100%;
        padding: 50px 40px;
        margin: auto;
    }
    .mainTitle {
        margin-bottom: 20px;
        font-size: 2em;
        line-height: inherit;
    }
    .nameChangeForm .enter {
        width: 8em;
    }
    .box {
        padding: 1em;
        margin: 20px auto;
    }
    .textPage .mainWrap {
        width: 100%;
         max-width: 500px;
         min-width: 200px;
        background: #131821ad;
        font-size: 1.1em;
    }
}

