@charset "utf-8";
body {
    font-size: 1.1rem;
}
h2 {
    padding: .2em .5em;
    margin-bottom: 1em;
    background: right center / cover no-repeat #204665;
    background-image: linear-gradient(90deg, #cfd6db 80%, transparent 80%), url('../img/design49_6.jpg');
    color: #000000;
    font-size: 1.2em;
    font-weight: normal;
}
h3 {
    margin: 0.5em;
    color: #000000;
    font-size: 1.1em;
}
ul,ol,dl {
    list-style: none;
}
input[type],textarea,button,select {
    border: 0;
    font-family: inherit;
    font-size: 90%;
    letter-spacing: inherit;
    line-height: inherit;
}



/* 段落設定 */

p {
    padding: 0 1em;
}
section {
    padding: 3em 0;
    margin: 0;
}



/* メインコンテンツ設定 */

main {
    display: block;
}
.wrap {
    margin: 3vh auto;
    width: 90vw;
    max-width: 500px;
}
.wrap a {
    color: #204665;
}



/* 機能系で共通の余白 */

.mailForm,.novelList,.bookmark {
    margin: 1em;
}


/* メールフォーム設定 */

.mailForm > * {
    margin: .2em 0;
}
.mailForm textarea,.mailForm input[type="text"] {
    padding: .2em .5em;
    width: 90%;
     max-width: 400px;
    border: solid 1px #cfd6db;
}
.mailForm input[type="submit"] {
    padding: .2em 1em;
    background: #204665;
    color: #cfd6db;
}



/* 小説一覧設定 */

.novelList {
    display: flex;
     flex-direction: column;
     justify-content: center;
    margin: 2em auto;
     width: 80%;
}
.novelList li {
    margin-bottom: 2em;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
}

.novelList li a {
    display: flex;
     flex-direction: column;
     align-items: center;
    position: relative;
    padding: 1em;
    background: linear-gradient(-40deg, rgba(232,236,239,.9) 60%, transparent 60%);
}

.novelList li a > div {
    background: rgba(255, 255, 255, .8);
}
.novelTitle {
    padding: .2em .5em;
    margin: 1em 0 .3em;
}
.novelInfo {
    padding: 0 .5em;
    min-height: 2rem;
    font-size: 1rem;
}



/* ブックマークリスト設定 */

.bookmark {
    display: flex;
     flex-wrap: wrap;
}
.bookmark li {
    margin: 0 1em;
}



/* メニューボタン設定 */

.click {
    display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
    position: absolute;
     left: 1em;
     top: 1em;
    width: 5rem;
    height: 5rem;
    background: #cfd6db;
    border-radius: 50%;
    color: #000000;
    font-size: 1rem;
    line-height: 1em;
    z-index: 2;
}
.click::before {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    background: url('../img/menu.svg') center / cover no-repeat;
    transform: rotate(0deg);
    transition: .4s;
}
.active .click {
    background: #ffffff;
}



/* メニュー設定 */

.mainNav {
    position: fixed;
     top: 0;
    padding: 5rem 1rem 1rem;
    margin-bottom: auto;
    width: 100vw;
    background: rgba(207,214,219,.8);
    box-sizing: border-box;
    font-size: 1.5em;
    transform: translateX(-100vw);
    transition: transform 0.2s ease 0.4s, opacity 0.3s;
    opacity: 0;
    z-index: 1;
}
nav.active .mainNav {
    opacity: 1;
    transform: translateX(0vw);
    transition: transform 0.2s, opacity 0.3s ease 0.2s;
}
.mainNav li {
    text-align: center;
}
.mainNav li a {
    display: inline-block;
    padding: 1em 0;
    width: 100%;
    color: #204665;
}



/* ヘッダー設定 */

.mainHeader {
    display: flex;
     flex-direction: column-reverse;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden visible;
}
.siteInfoFrame,.siteName {
    max-width: 500px;
}
.siteInfoFrame {
    margin: 0 auto;
     width: 50%;    
}
.siteInfo {
    position: relative;
    padding: 2em;
    background: #cfd6db;
    border-radius: 1rem;
    color: #204665;
    font-size: 0.9rem;
    line-height: 1.5;
}
.siteInfo::before {
    content: '';
    display: block;
    position: absolute;
     top: -4em;
     left: calc(50% - 2em);
    width: 0;
    height: 0;
    border: solid 2em transparent;
    border-bottom: solid 3em #cfd6db;
}
.siteName {
    display: flex;
     flex-direction: column;
     justify-content: space-between;
     align-items: center;
    margin: 5vh auto;
    width: 70vw;
    max-width: 400px;
   height: 70vw;
    max-height: 400px;
   background: center 15rem / 50% no-repeat fixed #000000;
   background-image: url('../img/design49.jpg');
   border-radius: 50%;
   box-sizing: border-box;
   overflow: hidden;
}
h1 {
    padding: 2em 1em .5em;
    margin: 1em;
    max-width: 15em;
    color: #cfd6db;
    font-size: 1.5em;
    line-height: 2em;
}
h1 span {
    display: inline-block;
    padding: 0 .5em;
    background: rgba(0, 0, 0, .3);
    color: #cfd6db;
    transform: rotate(-10deg);
}
.siteName div {
    padding: .2em 0 3em;
    width: 100%;
    color: #ffffff;
    font-size: .8em;
    text-align: center;
}



/* フッター設定※削除OK */

footer {
    display: none;
    margin: 5vh auto;
    color: #cfd6db;
    font-size: 1rem;
    text-align: center;
}
footer a {
    color: #bbbbbb;
}


