@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Questrial&display=swap');



/* 全体に適用する */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Zen Kurenaido', sans-serif;
font-weight: normal;
 box-sizing: border-box;

}


/* 共通設定 */
body.page1 {
line-height: 1.7;
letter-spacing: 0.1em;
text-align: justify;
word-break: break-all;
background: url('../../image/middle_novel_bg/platonic_01.jpg') left bottom fixed;
background-repeat: no-repeat;
color: #000;
margin: 0;
padding: 0; 
}

body.page2 {
line-height: 1.7;
letter-spacing: 0.1em;
text-align: justify;
word-break: break-all;
background: url('../../image/middle_novel_bg/platonic_01.jpg') left bottom fixed;
background-repeat: no-repeat;
color: #000;
margin: 0;
padding: 0;
}


/* コンテナ基本設定 */

section,
article {
margin: 3em auto;
width: 80%;
max-width: 500px;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 5px;
   
}

/* 見出し */
header h1 {
padding: 2em 0;
text-shadow: 1px 1px 0 #fff;
font-size: 11px;
font-family: 'Zen Kurenaido', sans-serif;
font-weight: normal;
}

a:link{
color:#2DB186;
text-decoration:none;
}

a:visited{
color:#2DB186;
text-decoration:none;
}

a:hover{
text-decoration:none;
color:#4DE5B3;
}

.item a:link{
color:#333;
text-decoration:none;
}

.item a:visited{
color:#333;
text-decoration:none;
}

.item a:hover{
text-decoration:none;
color:#4DE5B3;
}

.imglink:hover {
 /*リンクホバーに背景色を指定した時に、画像には背景色を設定させたくない場合の設定*/
background: transparent !important;
}

.box30{
margin: 2em auto;
padding:1em;/*内側余白*/
background:linear-gradient(-45deg,transparent 25%,#fafafa 25%,#fafafa 50%,transparent 50%,transparent 75%,#fafafa 75%,#fafafa);
background-size: 4px 4px;
border-bottom: 4px double #ddd;
border-top: 4px double #ddd;
background-clip: padding-box;
}

.item{
background-color:#fff;
text-align:center;
padding:3px 10px;
border-radius:4px;
font-family: 'Klee One', 'Halant', 'YuMincho', 'Yu Mincho', 'Hiragino Mincho ProN W3', 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', serif;
font-weight: 100; /* Thin */
letter-spacing: -0.01em; /* 文字間を狭くする */
        }

.menu{
margin:20px 0px;
display:flex;
flex-wrap:wrap;
justify-content:center;
font-family: 'Slabo 27px', serif;
}




/* コンテナ設定 */
header,
aside,
section {
margin: 0 auto 2em;
max-width: 600px;
font-size: 16px;
}

/* ヘッダー*/
header {
    position: relative;
}

header img {
width: 100%;
border-radius: 20px;
}

#head {
position: absolute;
bottom: 10%;
left: 6%;
}

#head h1 {
font-family: 'Zen Kurenaido', sans-serif;
font-weight: normal;
letter-spacing: 0.2em;
text-shadow: 1px 1px 15px #fff;
font-size: 2.3em;
}

#head span {
margin: 0 0.5em;
padding: 0.2em 0.5em;
background-color: rgba(255, 255, 255, 0.3);
}

/* ナビゲーション */
nav {
margin-top: 1em;
}

nav ul {
list-style-type: none;
}

nav ul li {
display: inline-block;
}

nav ul li a {
margin: 0 0.5em;
padding: 0.3em 1em;
text-transform: uppercase;
background-color: rgba(23, 24, 75, 0.4);
font-size: 1.1em;
color: #fff;
}

/* 補足情報 */
aside {
font-size: 0.9em;
}

aside,
main > section {
padding: 1em 3em;
}

/* セクション */
section > section:not(.right) {
padding-left: 1.5em;
border-left: 1px solid #646464;
}

section .right {
padding-right: 1.5em;
border-right: 1px solid #646464;
}

section a:not(.link) {
text-shadow: 1px 1px 3px #e3b8bf;
}

/* 見出し */
section h2 {
position: relative;
margin: 1em auto;
padding: 0.1em 1em;
letter-spacing: 0.2em;
text-indent: 0.2em;
font-size: 1.5em;
color: #000;

}

section h2::before {
display: block;
content: '';
position: absolute;
z-index: -100;
top: 15%;
left: -10px;
width: 20px;
height: 20px;
background: url('icon.jpg') center/cover;
transform: rotate(45deg);
}

section h3 {
font-size: 1em;
}

/* セクション共通設定 */
section p {
 margin: 1em auto 1.5em;
}

section mark {
padding: 0.2em 0.3em;
background: linear-gradient(transparent 80%, #c0c0c0 20%);
}

section span {
font-weight: bold;
}

/* リスト系 */
section strong {
color: red;
font-weight: bold;
}

section dl {
margin: 0.5em auto 1.5em;
 
}

section dd {
margin-bottom: 0.5em;
 margin-left: 1.5em;
}


section ul {
margin: 0.5em auto 1em;
padding-left: 1em;
list-style-type: none;
border-left: thin solid #000;
}

.float li {
float: left;
margin-right: 1.5em;
}

.float::after {
display: block;
content: '';
clear: both;
}

/* フッター */
footer {
margin: 0.5em auto;
text-align: center;
}





/* 枠線リンク */
.link {
display: inline-block;
margin: 0.3em auto;
padding: 0.1em 0.5em;
background-color: #4b6a9c;
color: #fff;
}

/* 線 */
.line {
padding: 1em 1.5em;
border: thin solid #000;
}

/* 下線 */
.bottomline {
border-bottom: thin solid #000;
}

/* 右寄せ */
.right {
text-align: right;
font-weight: normal;
font-family: 'Raleway', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

/* 上に戻るボタン */
#Top {
height: 1px;
}

.pagetop{
position:fixed;
bottom:10px;
right:14px;
}
 
.pagetop a{
display: block;
text-decoration: none;
}
 
.pagetop:hover{
opacity: 0.7 ;
}



/* スマホ表示用のスタイル */
@media (max-width: 767px) {
    /* 見出しのサイズを調整 */
header h1 {
font-size: 9px;
padding: 1em 0;
    }

    /* コンテナのマージンとフォントサイズを調整 */
header,
aside,
section {
margin: 0 auto 1em;
max-width: 100%;
font-size: 14px;
    }

    /* ヘッダー画像の高さを調整し、比率を保つ */
header img {
max-height: 150px;
object-fit: cover;
    }

    /* ヘッダーのテキスト位置を調整 */
#head {
 bottom: 5%;
left: 3%;
    }

#head h1 {
font-size: 1.8em;
    }


aside {
font-size: 0.8em; /* フォントサイズを少し小さく */
  }

aside,
main > section {
padding: 0.5em 1.5em; /* パディングを調整 */
  
 }

}
