/* フォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;600&display=swap');

/* 全体設定 */
*{
font-family: 'Noto Serif JP', serif;
color: #262626;
font-size: 13px;
font-weight: 200;
letter-spacing: 0.1em;
line-height: 2.2em;
box-sizing: border-box;
padding: 0;
margin: 0;
list-style-type: none;
text-decoration:none;
}

/* ★★★背景設定：　()の中に使いたい画像のURLを入力してください★★★ */
body:before{
background: url('matanobg.png') no-repeat center top;
background-size: cover;
content: "";
display: block;
position: fixed;
top: 0;
left: 0;
z-index: -99;
width: 100%;
height: 100vh;
}

body{
width: 100vw;
overflow-x: hidden;
}

.wrap{
max-width: 800px;
min-height: 100vh;
position: relative;
padding: 40px 0 0;
overflow: hidden;
margin: 50px auto 30px;
}

/* リンク文字 */
a{
color: rgba(38,38,38,0.6);
transition: 0.2s;
  solid rgba(38,38,38,0.6);
}

a:hover{
filter: blur(1px);
border-bottom: rgba(38,38,38,0);
}

/* 強調文 */
strong{
font-weight: 600;
}

/* ヘッダーメニュー */
header{
width: 100%;
text-align: right;
}

.nav li{
display: inline-block;
}

.nav li + li{
padding-left: 20px;
}

.nav li a{
color: #262626;
font-size: 16px;
border-bottom: none;
transition: 0.2s;
}

.nav li a:hover{
background-color: transparent;
filter: blur(3px);
}

/* サイトタイトル */
h1{
font-size: 50px;
display: block;
line-height: 1.4em;
margin-bottom: 20px;
}

/* 見出し */
h2{
font-size: 20px;
padding-bottom: 5px;
background-image: linear-gradient(90deg, rgba(38,38,38,1) 0 5%, rgba(38,38,38,0.15) 5%);
background-repeat: no-repeat;
background-size: 100% 1px;
background-position: bottom;
margin-bottom: 30px;
}

h3{
font-size: 15px;
}

h3:before{
content:'[';
padding-right: 5px;
}

h3:after{
content:']';
padding-left: 5px;
}

/* メインコンテンツ */
main{
width: 100%;
margin: 100px auto 30px;
}

/* セクション（見出し＋本文のセット） */
.section{
width: 100%;
margin: 0 auto 70px;
}

/* グループ（h3タイトル＋小説リストのセット） */
.group + .group{
margin-top: 50px;
}

/* リスト */
.yoko li{
display: inline-block;
}

.yoko li + li{
padding-left: 5px;
}

/* 入力フォームと送信ボタン */
form{
display: flex;
align-items: center;
}

input[type="text"],input[type="radio"],input[type="button"],input[type="reset"],input[type="submit"],select,textarea{
-webkit-appearance: none;
-moz-appearance: none;
-webkit-box-shadow: none;
appearance: none;
box-shadow: none;
background: #FFF;
border-radius: 0;
color: #262626;
border:1px #262626 solid;
width: 30em;
height:2.0em;
}

input:focus, textarea:focus{
outline: none;
height:2.0em;
}

input[type="submit"]{
width: auto;
background-color: #262626;
border: none;
color: #FFF;
padding: 0 10px;
cursor: pointer;
transition: 0.2s;
}

input[type="submit"]:hover{
background-color: #FFF;
color: #262626;
}

/* 名前変換フォーム */
.dream input{
width: 8em;
margin-right: 10px;
padding: 2px 5px 1px;
line-height: normal;
}

.dream input[type="submit"]{
width: auto;
padding: 0px 10px;
line-height: normal;
}

/* 小説一覧*/
.novel{
padding-left: 15px;
}

.caption{
font-size: 11px;
padding-bottom: 6px;
}

/* 小説本文 */
.title{
text-align: right;
background-image: linear-gradient(-90deg, rgba(38,38,38,1) 0 5%, rgba(38,38,38,0.15) 5%);
padding-bottom: 30px;
}

.text{
margin: 70px 0;
}

.text-footer{
display: flex;
justify-content: space-between;
border-top:  rgba(38,38,38,0.15) solid 1px;
padding-top: 30px;
}

.back{
width: 50%;
}

.page{
text-align: right;
width: 50%;
}

/* ブログ（note） */
.note{
width: 100%;
padding: 30px 40px 40px;
background-color: rgba(255,255,255,0.5);
margin-bottom: 30px;
}

.note .back{
font-size: 12px;
color: red;
border: none;
}

.note p{
color: #262626;
}

.date{
font-size: 10px;
}

.note h5{
font-size: 16px;
}

.readmore a{
padding-top: 30px;
}

/* フッター */
footer{
text-align: center;
margin-top: 140px;
font-size: 11px;
}

/* 500px以下のデバイスでの見え方 */
@media screen and (max-width: 500px) {
.wrap{
padding: 0 25px 40px;
}

main{
margin-top: 55px;
}

h1{
font-size: 50px;
}

.dream input{
line-height: normal;
}

.note{
padding: 30px 15px 40px;
}
}
