@charset "UTF-8";
@import url("reset.css");
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;600&display=swap');


/* 全体設定 */
*{
font-family: 'Shippori Mincho', serif;
color: #fff;/* 全体の文字色 */
font-size: 13px;
font-weight: 400;
letter-spacing: 0.1em;
line-height: 1.9em;
box-sizing: border-box;
padding: 0;
margin: 0;
list-style-type: none;
text-decoration:none;
text-align:center
}

body:before{
background-image: url("img/top2.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
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: 500px;
height: auto;
padding: 0 40px;
overflow: hidden;
margin: 0 auto 30px;
}

img {
  vertical-align: middle;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  max-width: 100%;
  height: auto;
}

p{
  text-align: left
}

/* リンク文字 */
a{
border-bottom: 1px solid rgba(255,255,255,0.4);/* ★リンク文字の下線の色 */
transition: 0.2s;
}

a:hover{
color: rgba(255,255,255,0.4);/* ★リンクをホバーした時の文字色 */
}

/* 強調文 */
strong{
font-weight: 600;
border-bottom: 2px solid #FFF;/* ★強調文の下線の色 */
}


.dream{
padding-top: 20px;
}

.dream a{
border-bottom: none;
background-color: #50485C;/* ★名前変換ボタンの背景色 */
padding: 0 4px 2px;
margin-right: 10px;
font-size: 13px;
}

.dream a:hover{
background-color: #B7AFC3;/* ★名前変換ボタンをホバーした時の背景色 */
color: #FFF;
}

/* 見出し */
h1{
font-size: 28px;
letter-spacing: 0.2em;
padding-bottom: 20px;
}

h2{
font-size: 14px;
font-weight: 600;
padding-bottom: 5px;
}

h3{
font-size: 15px;
padding-bottom: 20px;
}

/* 章 */
main{
width: 100%;
margin-top: 50px;
}

.chapter+.chapter{
padding-top: 40px;
}

.chapter a{
margin-right: 8px;
}

.back{
margin-top: 50px;
}

/*newマーク*/
.new::after {
    content: "new";
    margin-left: 0.5em;
    background: #333333;
    color: white;
    padding: 0 5px;
}


/* 名前変換フォーム */
.name{
width: 100%;
margin: 80px auto;
padding: 30px;
background-color: rgba(0,0,0,0.3);/* 名前変換の背景色 */
mix-blend-mode: overlay;/* 背景にかけるオーバーレイ */
}

form{
padding-top: 20px;
}

input[type="text"],input[type="submit"]{
-webkit-appearance: none;
-moz-appearance: none;
-webkit-box-shadow: none;
appearance: none;
box-shadow: none;
background: transparent;/* 入力フォームの背景色 */
border-radius: 0;
border: 1px solid #FFF;/* 入力フォームの枠線の色 */
height:30px;
width: 6em;
margin: 0 8px 0 0;
padding: 2px 5px 2px;
line-height: normal;
}

input:focus{
outline: none;
height:30px;
}

input[type="submit"]{
width: auto;
background-color: #FFF;
border: none;
color: #262626;/* OKボタンの文字色 */
font-size: 11px;
padding: 0 10px;
cursor: pointer;
line-height: normal;
transition: 0.2s;
}

input[type="submit"]:hover{
opacity: 0.6;
}

/* 小説本文 */
.novel-wrap{
max-width: 700px;
padding: 0 30px;
margin: 0 auto;
}

.novel{
width: 100%;
min-height: 100vh;
background-color: rgba(0,0,0,0.5);/* 本文の背景色 */
padding: 60px 80px;
margin-top: 0;
}

.text{
margin: 0 auto;
line-height: 2.0em;
font-size: 13px;
}

.page{
text-align: center;
width: 100%;
padding-top: 70px;
}


/* 500px以下のデバイスでの見え方 */
@media screen and (max-width: 500px) {
h1{
font-size: 24px;
}

.image{
width: 160px;
right: 10px;
}

.title{
width: 220px;
}

.novel-wrap{
padding: 0 15px;
}

.novel{
padding: 40px 25px;
}
}