@charset "utf-8";
/*@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
/*
'Alegreya Sans SC' is licensed under the Open Font License.
https://fonts.google.com/specimen/Alegreya+Sans+SC
*/

/* 共通設定 */
html {
    background: transparent;
    font-size: 62.5%;
}
body {
    min-height: 100vh;
    background: #ffffff;
    color: #5c6981;
    font-size: 1.3rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: 0.2em;
    line-height: 180%;
}
body.darkmode--activated {
    color: #bdc1c6;
}
a {
    text-decoration: none;
}
nav {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: normal;
}
nav,h2,h3,h4 {
    font-family: 'Open Sans', sans-serif;
/*    font-family: 'Alegreya Sans SC', sans-serif;*/
    font-weight: normal;
}
h2 {
    padding: .2em 1em;
    margin: 1em 0;
    font-size: 1.3em;
    align-item:center;
    background-color:#d4eef7;
    border-radius:3px;
}
h2:first-letter {
    font-size: 1.5em;
/*    color: #eb6100;*/
}
.darkmode--activated h2 {
    color: #5c6981;
}
div.head_h3 h3 {
    margin:  0;             /* デフォルトCSS打ち消し */
    font-size:1.4em;       /* 文字サイズ指定 */
    position:  relative;    /* 位置調整 */
    font-weight:  normal;   /* 文字の太さ調整 */
    display:  inline-block; /* インラインブロックにする */
    background-color: #fff; /* 背景色指定 */
    margin:0.5em 1em;
    padding: 0 10px;        /* 余白指定 */
}
div.head_h3 {
    position: relative;     /* 位置調整 */
    margin:0 1em;
    padding:.2em 1em;
}
div.head_h3:before {
    content:  '';           /* 空白の要素を作る */
    background-color:#a7dbed; /* 背景色指定 */
    display:  block;        /* ブロック要素にする */
    position:  absolute;    /* 位置調整 */
    left:  0;               /* 位置調整 */
    width:  100%;           /* 幅指定 */
    height:  2px;           /* 高さ指定 */
    top: 0;                 /* 位置調整 */
    bottom:  0;             /* 位置調整 */
    margin:  auto;          /* 位置調整 */
}
.darkmode--activated div.head_h3 h3 {
    background-color: #000;
    color:#bdc1c6;
}
h4 {
    margin: 1em 2em;
    border-bottom: solid 2px #a7dbed;
}
.darkmode--activated  h4 {
    color:#bdc1c6;
}
ul,ol,dl {
    list-style: none;
}
input[type],textarea,button,select {
    border: none;
    box-sizing: border-box;
/*    color: inherit;*/
    font-family: inherit;
    font-size: .9em;
    letter-spacing: .1em;
    line-height: inherit;
}
.bg {
    background: url('../img/top2.png') center / cover #586266;
}
em {
    background: #d4eef7;
    color: #000000;
    font-style: normal;
}

/* dl設定 */
dl {
    margin:1em 2em;
}
dt {
    margin:1em 1em 0;
}
dd {
    padding-left:3em;
}

/* 横並び */
dl.side {
    display: flex;
    flex-wrap: wrap;
}
dl.side dt {
    width: 20%;
    margin:0;
}
dl.side dd {
    width: 80%;
    padding:0;
}


/* 段落設定 */
p {
    padding: 0 2em;
}
section {
    margin: 10vh 0;
}
section[id] {
    scroll-margin-top: 15vh;
    scroll-snap-margin-top: 15vh;/* safari用 */
}

div.footer {
    padding:0 1em;
}
div.footer div {
    margin:1em;
}

/* 余白、基本リンク色設定 */
.wrap {
    position: relative;
    padding: 3vh 3em 10vh;
    margin: 0 auto;
     width: 60vw;
     min-width: 700px;
     max-width: 1000px;
    box-sizing: border-box;
}
.space {
    margin: 2vh 2em;
}

main a {
    color: #55b7d9;
    transition: .3s;
/*    text-decoration:underline;*/
}
.main-page a:hover {
    color: #6393a3;
}
.darkmode--activated main a {
    color:#66FCFF;
}
.darkmode--activated main a:visited {
    color:#d4eef7;
}
.darkmode--activated main a:hover {
    color:#ccfeff;
}

/* フォント指定 */
.font_serif {
    font-family: serif;
}

main.font_serif *{
    font-family: serif;
    font-size:1.3rem;
}

.wrap-text.font_serif > p {
    font-size:1.35rem;
}

/* メインページ（小説部分）設定 */

/* 長編リスト */
.longList {
    display: flex;
     flex-wrap: wrap;
     align-items: stretch;
     align-content: stretch;
}
.longList li {
    display: flex;
    margin: 2em 5% 2em 0;
    width: 30%;
    background: #aeb2b9;
    border-radius: 4px;
    box-shadow: 2px 2px 1rem #e4e4e4;
    overflow: hidden;
}
.darkmode--activated .longList li {
    box-shadow:none;
}
.longList li a {
    display: flex;
     flex-direction: column;
     justify-content: space-between;
    padding: 2em 0;
    width: 100%;
    height: auto;
    color: #5c6981;
}
.longList li a:visited, .longList li a:visited {
    color: #5c6981;
}
.longList li:nth-of-type(3n) {
    margin: 2em 0;
}
.longInfo {
    padding: 1rem;
    font-size: 1.0em;
}

.longInfo_w {
    padding: 1rem;
    font-size: .8em;
    font-weight : bold;
    color       : #ffffff;
    text-shadow:  2px  2px 10px #aaa ,
                 -2px  2px 10px #aaa ,
                  2px -2px 10px #aaa ,
                 -2px -2px 10px #aaa;
}
.longTitle {
    padding: .5em 1em;
    background: rgba(255, 255, 255, 0.7);
    text-align: right;
}

/* 長編画像設定 */
#box1 {
    background: url('../img/design50_4.jpg') center / cover #dbdfe7;
}

#box11 {
    background: url('../img/design49_5.jpg') center / cover;
}
#box11 .longInfo {
    color: #ffffff;
}
#box11 .longTitle {
    color: #000000;
    font-family: serif;
    font-weight:bold;
}
#box12 {
    background: url('../img/bg/img1.jpg') center / cover;
}

#box3 {
    background: url('../img/bg/bg_10.jpg') center / cover;
}
#box4 {
    background: url('../img/design50_5.jpg') center / 150%;
}
#box4 .longInfo, #box4 .longTitle {
    background: rgba(59, 50, 38, 0.8);
    color: #d6d2cb;
}

#box5 {
    background: url('../img/bg/bg_55.jpg') center / cover;
}

/* 名前変換フォーム */
.nameChange {
/*    display:inline;*/
}
.nameChange input {

    margin-right: 1em;
}
.nameChange input[type="text"] {
    padding: .2em;
    width: 7em;
    border: #aeb2b9 solid 1px;
}
.nameChange input[type="button"] {
    padding: .2em 1em;
    color:#fff;
}

/* 短編リスト */
.shortList {
    columns: 2;
}
.shortList li {
    margin: .5em 0;
}
.shortList li a:visited {
    color: #9baaaf;
}
.shortList li > span {
    margin: 0 1em;
    font-size: .9em;
}

/* 小説本文 */
.wrap-text, .wrap-text + aside {
    margin: 0 auto;
     width: 80%;
     min-width: 600px;
    line-height: 200%;
}
.wrap-text h4 {
    margin-bottom: 3em;
}
.wrap-text + aside {
    padding: 1em;
    margin: 5vh auto;
    width: 70%;
    border: #aeb2b9 solid 1px;
    font-size: .9em;
}


/* ブックマークリスト */
.list {
    display: flex;
     flex-wrap: wrap;
}
.list li {
    margin: 0 .5em;
}


/* メールフォーム */
.mailForm input[type],.mailForm textarea {
    margin: .5em 0;
}
button.bg {
    padding: .2em 1em;
    background: url('../img/top2.png') #d4eef7;
    color:#ffffff;
}
.darkmode--activated button.bg {
    background: url('../img/top3.png') center / auto #d4eef7;
    color:#ffffff;
}
.mailForm input[type="text"], .mailForm textarea {
    padding: .2em;
    width: 50%;
     min-width: 400px;
    border: solid 1px #aeb2b9;
}
.mailForm textarea {
    height: 6em;
}


/* ヘッダー */
.mainHeader {
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
    position: relative;
    margin: 5vh auto 10vh;
}

/*.mainHeader::before {*/
/*    content: '';*/
/*    display: block;*/
/*}*/
/**/
/*.mainHeader::before {*/
/*    position: absolute;*/
/*     top: -6em;*/
/*     right: calc(50% - 2.5em);*/
/*    width: 5em;*/
/*    height: 5em;*/
/*    background: url('../img/top2.png') left center / cover no-repeat #dbf5ff;*/
/*    border-radius: 50%;*/
/*    -webkit-mask: url('../img/design50_icon.svg') center / contain no-repeat;*/
/*    mask: url('../img/design50_icon.svg') center / contain no-repeat;*/
/*    transform: rotate(-30deg);*/
/*}*/
/**/
/*body.darkmode--activated .mainHeader::before {*/
/*    background: #bce2e8;*/
/*    -webkit-mask: url('../img/icon3.svg') center / contain no-repeat;*/
/*    mask: url('../img/icon3.svg') center / contain no-repeat;*/
/*    transform: none;*/
/*    border-radius:inherit;*/
/*}*/
h1 {
    padding: .6em 1em;
    font-size: 2.5em;
}
h1 {
    width:120px;
    background: url('../img/ginsei.png') center / contain no-repeat;
    margin-bottom:2rem;
/*    position: relative;*/
}
/*h1:after{*/
/*    content:"";*/
/*    display: block;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background-image: url('../img/ginsei.png');*/
/*    background-size: cover;*/
/*}*/
body.darkmode--activated h1 {
    background: url('../img/ginsei2.png') center / contain no-repeat;
/*    color:#bdc1c6;*/
}
.mainHeader > div {
    color: #aeb2b9;
    font-size: 1rem;
    letter-spacing: 0.1em;
}


/* ナビゲーション */
.mainNav {
    position: sticky;
     top: 0;
    padding: 2rem 0;
    width: 100%;
    background: url('../img/top2.png') center / auto #dbf5ff;
    /*box-shadow: 1px 0 1em #e4e4e4;*/
    z-index: 4;
}
body.darkmode--activated .mainNav {
    background: url('../img/top3.png') center / auto #bce2e8;
    
}
.mainNav ul {
    display: flex;
     justify-content: center;
    margin: 0 auto;
}
.mainNav li {
    margin: 0 .5em;
}
.mainNav li a {
    padding: .5em 1em;
    color: #ffffff;
    font-size: 1.2em;
    transition: 0.3s ease-in-out;
}
.mainNav li a:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #294257;
    border-radius:3px;
}


/* モバイル用CSS */
@media (max-width:800px) {
    body {
        font-size: 1.1rem;
    }
    h4 {
        margin: 1em;
    }
    p {
        padding: 0 1em;
    }
    section {
        margin: 3em 0;
    }
    .wrap {
        padding: 1em 0;
        margin: 1vh auto;
         width: 90%;
         max-width: 500px;
         min-width: 200px;
    }
    .nameChange {
        text-align:center;
        display:block;
    }
    .nameChange input[type="text"] {
        margin-top: 5px;
    }
    .space {
        margin: 2em 1em;
    }
    .longList {
        flex-direction: column;
        margin: 0 auto;
         width: 90%;
         max-width: 350px;
    }
    .longList li {
        margin: 1em 0;
        width: 100%;
        overflow: hidden;
    }
    .longList > li:nth-of-type(even) {
        margin: 2em 0;
    }
    .longList li a {
        padding: 2rem 0;
    }
    .longInfo {
        padding: 1rem 2em;
    }
    .shortList {
        columns: 1;
    }
    .wrap-text,.wrap-text + aside {
        width: 100%;
        min-width: 300px;
    }
    .wrap-text + aside {
        width: 70%;
    }
    .mailForm input[type="text"],.mailForm textarea {
        width: 80%;
        min-width: 200px;
    }
    .mainNav {
        padding: 1rem 0;
    }
    .mainNav li a {
        font-size: 1em;
    }
}


/* フッター（削除OK） */
footer {
    display: none;
    margin: 5vh auto;
    color: #c8cfdd;
    font-size: 1rem;
    text-align: center;
}
footer a {
    color: #c1cce0;
}


.new::after {
    content: 'new';
    display: inline-block;
    padding-left:10px;
    color: #a7dbed;
    font-size: 1rem;
    letter-spacing: 0;
    transform: translateY(-3px) rotate(-10deg);
}

.ml20 {
    margin-left:20px;
}
.mt10 {
    margin-top:10px;
}
.mt15 {
    margin-top:15px;
}
.mt25 {
    margin-top:25px;
}
.pl10 {
    padding-left:10px;
}
.cnt {
    margin-top:10vh;
    text-align:center;
}
/*カウンター画像を小さく*/
.cnt a span nobr img {
    width:13px;
}

span.dash {
    letter-spacing: -1px;
    padding:0 3px;
}

.s {
    font-size:1rem;
}
.page_nav {
    margin-top:5vh;
}

div#pass {
    margin-top:10vh;
}
div#pass form {
    padding:0 2em;
}
.t_right {
    text-align:right;
}
/* ページング */
div#pagenation {
   position: relative;
   overflow: hidden;
}
div#pagenation ul {
    position:relative;
    left:50%;
    float:left;
    list-style: none;
}
div#pagenation li {
    position:relative;
    left:-50%;
    float:left;
}
div#pagenation li a {
    border:1px solid #ccc;
    margin: 0 3px;
    padding:3px 7px;
    display: block;
    text-decoration:none;
}
div#pagenation li.active a,
div#pagenation li a:hover{
    border:solid 1px #ccc;
    color: #5c6981;
    background: #d4eef7;
}

/* タブレット用CSS */
@media (max-width:1290px) and (min-width:800px) {
    .longList {
    }
    .longList li {
        margin:0 auto;
        max-height:155px;
        width:43%;
        min-height:156px;
    }
    .longList li:nth-of-type(3n) {
        margin: 2em auto;
    }
    .longList li {
        margin: 2em auto;
    }
}

