@charset "UTF-8";

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.75em;
    color: #333333;
    background-color: #fefefe;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    color: #222222;
}

/* 画像表示を最大横幅 */
img {
    background-color: #fafbfc;
    max-width: 100%;
    max-height: 80vh;
}

a {
    text-decoration: none;
    color: #96a4c8;
}

a:visited {
    text-decoration: none;
    color: #96a4c8;
}

a:hover {
    color: #d899c0;
    text-decoration: underline;
    transition: 0.2s ease-in-out;
}

ol,
ul {
    /* リスト横ぽち消す */
    list-style: none;
    padding-left: 0;
}

/*** LAYOUT STYLE ***/
.is-center {
    text-align: center;
    margin: 0 auto;
}

.is-right {
    text-align: right;
    margin: 0 0 0 auto;
}

.visuallyhidden {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
}

.bigger {
    font-size: 1.5em;
}

.pink {
    color: #d187b5;
}

.blue {
    color: #8999c1;
}

/*** WRAPPER ***
 * サイトの標準横幅と内部余白
 */

.wrap {
    max-width: 64em;
    width: 100%;
    margin: 0 auto;
}

.wrap-inner {
    padding: 0 2.5%;
}

/* header navgation */
.hwrapper {
    max-width: 64em;
    width: 100%;
    margin: 0 auto;
}

header h1 {
    text-align: center;
    font-size: xx-large;
    margin: 0;
}

/* 見出し */
h1 a:hover {
    text-decoration: none;
    color: #96a4c8;
}

h2 {
    margin-top: 1.5em;
    font-size: 1.75em;
    padding-bottom: 0.5em;
    text-align: center;
    position: relative;
}

h2::before,
h2::after {
    content: '';
    position: absolute;
    margin: auto;
    left: 0;
    bottom: 0;
    width: 2em;
    background-color: #e3e3e3;
    height: 3px;
    right: 2em;
}

h2::before {
    background-color: #96a4c8;
    left: 2em;
    width: 4em;
}

h3 {
    color: #333333;
    font-size: 1.5em;
    height: 1.5em;
    margin: .5em 0;
    background-image: linear-gradient(#e3e3e3 30%, #96a4c8 30%);
    background-size: .25em 100%;
    background-repeat: no-repeat;
    padding-left: 0.5em;
    padding-top: 0.25em;

}

h3 .en::before {
    content: " / ";
    color: #e3e3e3;
}

h3 .en {
    font-size: 1em;
    color: #96a4c8;
    font-weight: lighter;
}

header * {
    align-self: baseline;
    /* centerでもいいかも */
}

/* main container */
section,
article,
aside {
    margin: 2em 0;
}

/* footer */
/* This is the class used for the footer */
footer {
    background: #222222;
    color: #9c9c9c;
    width: 100%;
    margin-top: 3em;
    padding-top: 2em;
}

footer .pure-u-md-1-3 {
    padding: 0 1em 0;
}

footer ul {
    margin: 0 0 0 1em;
    list-style-type: disc;
}

.footer-headline {
    font-size: large;
    margin-bottom: 0;
}

.copyright {
    margin-top: 1em;
    opacity: 0.5;
}


/* TOP */
/* 更新履歴(外枠) */
.kframe {
    display: block;
    border: 1px solid #96a4c8;
    width: 80%;
    height: 5em;
    margin: 0 auto;
}

.kframe-under {
    display: block;
    font-size: .9em;
    width: 80%;
    margin: 0 auto;
    text-align: right;
}

.kframe-under a {
    display: inline-flex;
    vertical-align: top;
}

.kframe-under .material-icons {
    display: inline-flex;
    vertical-align: top;
}

#splash-container {
    z-index: -1;
    overflow: hidden;
}

#splash {
    height: 50vh;
    padding: auto;
    text-align: center;
}

#splash img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-banner {
    display: block;
    border-style: solid;
    border-color: #b7c1da;
    border-width: 1px;
}

/*
 *
 * pure.css custom
 *
 */
a.pure-menu-heading {
    color: #96a4c8;
    text-transform: none;
}

.pure-menu nav {
    display: flex;
    justify-content: space-around;
}

.pure-menu-item {
    height: auto;
}

.pure-menu-link,
.pure-menu-link:hover {
    text-decoration: none;
}

.pure-menu-link {
    color: #96a4c8;
}

/* ストーリー用メニュー編集 */
.story-menu {
    background-color: #96a4c8;
}

.story-menu .pure-menu nav ul {
    display: flex;
    justify-content: space-around;
}

.story-menu .pure-menu-list {
    flex-grow: 1;
    /* 親幅いっぱいを箱にする */
}

.story-menu .pure-menu-item {
    flex-grow: 1;
    /* listの中で要素を1ずつ持つ */
    text-align: center;
}

.story-menu a,
.story-menu a:visited {
    text-decoration: none;
    color: #fefefe;
}

.story-menu .pure-menu-link,
.story-menu .pure-menu-link:hover {
    color: #fefefe;
    transition: 0.2s ease-in-out;
}

.story-menu .pure-menu-link:hover {
    background-color: #b7c1da;
}

/* storyメニュー */

.story-list li {
    padding-left: 1em;
}

.story-list a {
    display: inline-block;
    text-decoration: none;
}

.story-list a:hover {
    text-decoration: underline;
}

.story-meta {
    display: inline-block;
    margin-left: 0.2em;
    font-size: 0.8em;
    color: #666666;
}

.story-list .story-sec {
    margin-top: 0.5em;
}

/* 小説用 */
.typeface-serif {
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Noto Serif JP', serif;
}

.novel-wrap {
    max-width: 48em;
    width: 100%;
    margin: 0 auto;
}

.novel-title {
    letter-spacing: 0.1em;
    margin-bottom: 2em;
    /* h2のスタイル規定と同じにする */
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;

    /* liner */
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.novel-title::after {
    content: '';
    flex-grow: 1;
    height: 0.05em;
    background: #96a4c8;
    min-width: 1em;
    margin: auto;
    margin-left: 0.5em;
}

.novel-title-inner {
    dominant-baseline: text-bottom;
    vertical-align: text-bottom;
}

.novel-title-inner::first-letter {
    font-size: 1.75em;
    color: #d187b5;
}

p {
    line-height: 1.75em;
    margin: 1em 0;
}

.letter-dash {
    /* 二倍ダーシ 試験運用 */
    display: inline-block;
    /* 変形するためのブロック化 */
    transform: scale(1.2, 1);
    /* 変形 横,縦 */
    letter-spacing: -0.3em;
    margin-left: .2em;
    margin-right: .5em;
}

.transition {
    /* ＊入れるやつ */
    padding: 2em 0 2em 5em;
    color: #8999c1;
}

.chunk {
    /* 意味段落 */
    margin: 3em 0;
}

ruby rt {
    /* ルビ設定 */
    font-size: 0.5em;
    color: #666666;

}

.dot {
    /* 傍点設定 */
    text-emphasis-style: filled;
}

.italic {
    /* イタリック体 */
    font-style: italic;
}

.foot-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* 折り返し */
    justify-content: space-between;
    /* 装飾 */
    margin-top: 2em;
    padding: 0em 0em;
    border: 1px solid #c8d0e2;
    border-left-style: none;
    border-right-style: none;
}

.to-top {
    margin: 0.1em;
    padding: 0.9em;
    width: 90%;
    /* 未対応ブラウザ用フォールバック */
    width: -webkit-calc(100% - 1em);
    width: calc((100% - 1em));
}

.paging {
    margin: 0.1em;
    padding: 0.9em;
    width: 33%;
    /* 未対応ブラウザ用フォールバック */
    width: -webkit-calc((100% - 1em) / 3);
    width: calc((100% - 1em) / 3);
    text-align: center;

}

a.paging:hover {
    background-color: #eee;
}

/* イラスト展示用 */
ul.illust {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    margin: 1.5em auto;
}

ul.illust li {
    position: relative;
    height: 100px;
    width: 100px;
    margin-bottom: 0.5em;
}

ul.illust li:not(:last-of-type) {
    margin-right: 0.5em;
}

ul.illust li a {
    display: block;
    -webkit-transition: .2s;
    transition: .2s;
}

ul.illust li a img {
    width: 100px;
    height: 100px;
    background-color: #fefefe;
    -o-object-fit: cover;
    object-fit: cover;
}

ul.illust li a img:hover {
    -webkit-transition: .5s;
    transition: .5s;
    opacity: .5;
    /* マウスオーバーで透明にする */
}

/*******************************/
/* リンクページ */
/*******************************/
.link-list {
    margin: 1em 0 2em;
    padding-left: 1em;
}

.link-list li {
    border-bottom: 1px solid #e3e3e3;
    padding: 1em 0;
}

.link-sitename {
    font-size: 1.2em;
}

.link-banner {
    max-width: 200px;
    max-height: 60px;
    display: inline-block;
}

.link-owner {
    display: inline-block;
    font-size: 0.85em;
    color: #999999;
    margin: 0;
}

.link-desc {
    margin: 0.1em 0 0;
    font-size: 0.9em;
}

.link-text-box {
    display: inline-block;
    padding: 0.4em 0.8em;
    background: #f5f7fb;
    border: 1px solid #96a4c8;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.05em;
    transition: background 0.2s ease-in-out;
}

.link-text-box:hover {
    background: #e6eaf5;
}

/* メディアクエリ */
/* lg-画面サイズ1024px以上 */
@media screen and (min-width: 64em) {
    .wrap-inner {
        padding: 0 0em;
    }
}

/* md-画面サイズ768px以上 */
@media screen and (min-width: 48em) {
    footer .pure-u-md-1-3 + .pure-u-md-1-3 {
        border-left: 1px solid #4c4c4c;
    }

    .kframe {
        height: 7em;
    }

}

/* sm-画面サイズ568以上 */
@media screen and (min-width: 35.5em) {

    .wrap-inner {
        padding: 0 4%;
    }

    header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    header h1 {
        margin: .5em 0 .5em;
    }

    /* トップメニューの作品バナー */
    .story-banner {
        display: inline-block;
        margin: .5em 0;
        width: calc((100% - 1em) / 2);
    }

}

/* sm表示以下で要素を非表示にする */
@media screen and (max-width:35.5em) {
    .sm-visuallyhidden {
        position: absolute;
        clip: rect(1px, 1px, 1px, 1px);
        -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
        clip-path: inset(0px 0px 99.9% 99.9%);
        overflow: hidden;
        height: 1px;
        width: 1px;
        padding: 0;
        border: 0;
    }
}

/* てがろぐ埋め込み用 */
.tegalog {
    margin-left: 1em;
}

#tegalog {
    height: 17em;
    display: block;
    border: 1px solid #96a4c8;
}

#tegalog-under {
    font-size: .9em;
    margin: 0 auto;
    text-align: right;
}