@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;
    background: center / 100% #e7ebea;
    background-size: auto;
    background-image: url('../site_material/flower003.png');
    /* ↑スマホ版での色味調整のためimageだけ別に記述しています */
    color: #1c5220;
    font-size: 1.3rem;
    font-family: 'メイリオ', 'ヒラギノ角ゴ', sans-serif;
    letter-spacing: 0.2em;
    line-height: 1.8;
}
a {
    text-decoration: none;
}
h2,h3,h4,.back {
    font-family: 'Carrois Gothic SC', sans-serif;
}
h2 {
    padding: 0 0 3px 15px;
    margin: 3rem 0;
    border-left: #6fca56 solid 3px;
    border-bottom: #d9e2db solid 2px;
    font-size: 1.2em;
    font-weight: normal;
    line-height: 3rem;
}
h3 {
    padding: 3px 10px;
    margin: 2rem 1rem;
    background: #f3f9f4;
}
.ja {
    font-size: 90%;
    font-weight: bolder;
}
h4 {
    margin: 2rem;
}
h4 > span{
    padding: 5px 0;
    border-bottom: #94c89c solid 2px;
}
ul,ol {
    list-style: none;
}
em {
    background: #daebc7;
    color: #444444;
    font-style: normal;
}
strong {
    background: #657467;
    color: #ffffff;
}
main {
    display: block;
}


/* 段落、全体の余白、リンク色 */
p {
    padding: 0 2em;
}
section {
    margin: 3em 0;
}
[id^="link"] {
    scroll-margin-top: 3em;
    scroll-snap-margin-top: 3em;/* safari用 */
}

.space {
    margin: 2em;
}

.pageWrap {
    display: block;
    width: 65%;
     min-width: 800px;
     max-width: 1100px;
    min-height: 100vh;
    padding: 15vh 0 10vh;
    margin: auto;
    background: #ffffff;
}
.pageWrap a {
    color: #70a968;
}
.pageWrap a:hover {
    color: #4f664d;
}
.contentsWrap {  
    padding: 0 50px;
    margin: 10vh 0;
}
.box {
    margin: 10vh 0; 
    box-sizing: border-box;
}


/* フォーム関連 */
input[type],textarea {
    font-family: inherit;
    font-size: 95%;
    border: #c0ccc1 solid 1px;
    border-radius: 2px;
    box-sizing: border-box;
}
.mailForm .enter {
    width: 400px;
    padding: .3em;
    margin-bottom: 1em;
}
.mailForm textarea {
    height: 6em;
}
.mailForm .button {
    padding: .3em 1em;
    margin-right: 1em;
    background: #94c89c;
    border: none;
}


/* 小説一覧 */
.novelList {
    display: grid;
     grid-template-columns: 1fr 1fr 1fr 1fr;
     grid-template-rows: auto;
     gap: 1em;
     grid-gap: 1em;
}
.novelList li {
    display: flex;
    margin: 0 ;
}
.novelList li a {
    display: block;
    width: 100%;
    border: #e3e9e5 solid 1px;
    border-radius: 4px;
    color: #756e6c;
    transition: .3s;
}
.novelList li a:hover {
    box-shadow: 0 0 8px #e2e2e2;
}
.novelList li a > img {
    width: 100%;
    height: 80px;
    background: #e2e2e2;
    object-fit: cover;
    object-position: center;
}
.novelList li a > div {
    padding: 1rem;
}
.info {
    margin-top: 3px;
    color: #a7b09f;
    font-size: 1rem;
}


/* 更新履歴 */
.log {
    width: 450px;
    padding: 15px;
    margin: auto;
    border: #f3f9f4 solid 2px;
    border-radius: 4px;
    box-shadow: 0 0 5px #f3f9f4;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 2;
}
.log ul {
    height: 130px;
    padding: 0 1em;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: thin;
    transition: .8s;
}
.log ul::-webkit-scrollbar {
    width: 5px;
    background: #f0f0f0;
}
.log ul::-webkit-scrollbar-thumb {
    background: #cdcdcd;
}
.log li {
    display: flex;
    margin: 3px 0;
}
.log li:not([class])::before {
    content: '';
    flex-grow: 1;
    order: 1;
    width: 2em;
    height: .5em;
    padding: 1em 1em 0;
    margin: 0 1em;
    border-bottom: #bbbbbb dashed 1px;    
    box-sizing: border-box;
}
.log li > span {
    order: 2;
}
.more {
    justify-content: flex-end;
    padding: 5px;
}


/* ヘッダー */
.mainHeader {
    display: grid;
     grid-template-rows: auto;
     grid-template-columns: minmax(300px, auto) auto;
     justify-content: center;
    width: 80%;
    padding: 5vh 0;
    margin: auto;
}
/* ↓グリッドに関する設定はここにまとめて記述しています */
.siteName {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
}
.since {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}
.mainNav {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
}

/* サイト名 */
.siteName {
    display: flex;
     justify-content: center;
     align-items: center;
    position: relative;
    min-width: 300px;
    height: 180px;
}
.siteName > h1 {
    position: relative;
    max-width: 180px;
    font-size: 1.2em;
    font-weight: normal;
    text-align: center;
    transform: rotate(-5deg);
    z-index: 2;
}
h1 > span {
    color: #6d6563;
}
.siteName::before, .siteName::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}
.siteName::before {
    background: url('../site_material/leaf001.svg') center / contain no-repeat;
    filter: drop-shadow(0 0 2px #999);
}
.siteName::after {
    background: center bottom / auto 140% no-repeat #f3f9f4;
    background-size: 70%;
    background-image: url('../site_material/flower004.png');
    mix-blend-mode: screen;
}
.since {
    margin: 1em 1em 0;
    color: #756e6c;
    font-size: 1rem;
    text-align: center;
}

/* ナビゲーション */
.mainNav {
    font-family: 'Carrois Gothic SC', sans-serif;
}
.mainNav ul {
    display: flex;
     flex-direction: column;
     justify-content: center;
    height: 100%;
}
.mainNav li {
    padding: 1px;
    margin: .5em 1em;
}
.mainNav li a {
    display: inline-block;
    position: relative;
    padding: 2px 1em;
    color: #6d6563;
    border-radius: 1rem;
    box-sizing: border-box;
    font-size: 1.2em;
    font-weight: bolder;
    letter-spacing: .1em;
    text-align: center;
    transition: .3s;
    z-index: 2;
}
.mainNav li a:hover {
    color: #6d65637e;
    text-shadow: 0 0 3px #b3bbb5;
}


/* トップに戻るリンク */
.back {
    margin-right: 2em;
    text-align: right;
}
.back a {
    display: inline-block;
    position: fixed;
     bottom: 2em;
    width: 4em;
    height: 4em;
    background: rgba(151, 178, 153, .5);
    border-radius: 50%;
    line-height: 4em;
    text-align: center;
}


/* フッター（削除OK）※デフォルト非表示 */
.mainFooter {
    display: none;
    margin-top: 5vh;
    color: #d0d5cc;
    font-size: 1rem;
    text-align: center;
}
.mainFooter a {
    color: #a7b09f;
}


/* PCのみ非表示用 */
@media (min-width:900px) {
    .mibile {
        display: none;
    }
}


/* モバイル用調整CSS */
@media (max-width:901px) {
    body {
        background-image: linear-gradient(rgba(255, 250, 221, 0.308), rgba(255, 250, 221, 0.308)), url('../site_material/flower003.png');
        background-size: auto 40%;
        background-size: auto;
        font-size: 1.2rem;
    }
    h2 {
        padding-left: 10px;
        border-left-color: #94c89c;
        border-bottom-width: 1px;
        line-height: 2rem;
    }
    h3 {
        padding: 2px 5px;
        margin: 1rem 5px;
        background: #f4f4f4;
    }
    h4 {
        margin: 1rem;
    }
    p {
        padding: 0 1em;
    }
    .pageWrap {
        width: 90%;
        max-width: 600px;
        min-width: 300px;
        padding: 40px 0;
    }
    .contentsWrap {
        padding: 20px;
        margin: auto;
    }
    .novelList {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        grid-row-gap: 1em;
        grid-column-gap: 5%;
    }
    .novelList li {
        display: inline-flex;
        margin-bottom: 1em;
    }
    .novelList li a > img {
        height: 50px;
    }
    .mailForm .enter {
        width: 100%;
    }
    .log {
        width: 75%;
        max-width: 400px;
        padding: 5px;
        border: #d5dbd6 solid 1px;
        border-radius: 2px;
        box-sizing: border-box;
        color: #756e6c;
    }
    .log ul {
        height: 80px;
    }
    .log li {
        margin: 0;
    }
    .mainHeader {
        display: flex;
         flex-direction: column;
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
    }
    .siteName {
        align-self: flex-start;
        width: auto;
        min-width: 250px;
        height: auto;
        min-height: 150px;
    }
    .siteName::after {
        background-image: linear-gradient(rgba(255, 250, 221, 0.308), rgba(255, 250, 221, 0.308)),background-size: 70%;, url('../site_material/flower004.png');
    }
    .since {
        order: 1;
        margin: 1rem;
        padding-right: 15px;
        text-align: right;
    }
    #click::before {
        content: '';
        transition: .3s;
    }
    .active #click::before {
        content: 'close×';
        color: #999;
    }
    .mainNav {
        padding-right: 15px;
        margin: 3em 0 0;
    }
    .mainNav li {
        padding: 0;
        margin: 3px 0;
        text-align: right;
    }
    .mainNav li a {
        padding: 3px 1rem;      
    }
    .subpage_header {
        padding-bottom: 0;
    }
    .subpage_header .siteName {
        align-self: auto;
    }
    .subpage_header .since {
        padding: 0;
        text-align: center;
    }
    .subpage_header .mainNav {
        display: none;
    }
    .back a {
        bottom: 1em;
    }
    .hidden_mobile {
        display: none;
    }
    .mobile-scroll {width: 100%; overflow-x: scroll;}
.sentence-scroll {width: 900px;}
}

/* 小説部分１列表示用 */
@media (max-width:550px) {
    .novelList {
        display: flex;
         flex-direction: column;
        align-items: center;
    }
    .novelList li {
        width: 250px;
    }
}

