@charset "utf-8";

/* 全称セレクタ */
* {
    padding: 0;
    margin: 0;
box-sizing: border-box;

}

/* ページ全体背景色・フォント、文字色指定 */
body {
font-family: 'Consolas',sans-serif;  /* フォント指定 */
color:#333333; /* 文字色websc */
line-height:1.5;  /* 行の高さ */
background-color: #cd3764; /* 全体背景色(wataraihibari_subcolor) */
}

/* ============================================
ヘッダー、サイトタイトル、見出し、フッター
============================================ */



/* サイトタイトル */
h1 {
font-family: "Palatino Linotype", "Times New Roman", serif;  /* フォント指定 */
    position: absolute; /* 位置 */
    top: 140px;
    right: 50px;
    font-weight: bold; /* 太字 */
    font-style: normal;
    color: #f0f0f5;  /* 文字色(furakanato_maincolor) */
}


 /* ヘッダー */
header {
    margin-right: auto;
    margin-left: auto;
    height: 200px;/* 高さ(ヘッダー画像の高さに合わせる) */
    position: relative;
    z-index: auto !important;

}

/* ヘッダー画像 */
.top {
    position: relative;
    margin-right: auto;
    margin-left: auto;
    background: #192332 url("../img/v06-bg-rose.png")no-repeat center ; 
    /* 背景色(wataraihibari_maincolor) / 使用画像(FOOL LOVERS) */
}

 /* フッター */
footer {
margin:0;
padding-left:30px;
color: #f0f0f5;  /* 文字色(furakanato_maincolor) */
background-color :#192332;  /* 背景色(wataraihibari_maincolor) */
text-align: center;

}

h2{
background: url("../img/wd16-icon-diamond.gif") no-repeat left center;/* 画像(FOOL LOVERS) */
padding-left: 30px;
color:#192332;   /* 文字色(wataraihibari_maincolor) */
margin: 15px 0;

}

h3{
color:#2f4f4f;   /* 文字色darkslategray */
padding-left: 5px;
border-bottom: dashed 1px #2f4f4f; /* ボーダー下線色darkslategray */
margin: 10px 0;
}


 /* メニュー設定 */
nav {
line-height:2.8;
background-color :#192332;  /* 背景色(wataraihibari_maincolor) */

}

nav ul {
justify-content: center;
display: flex;
flex-wrap: wrap;
margin: 0 ;
}

nav li {
font-family: "Palatino Linotype", "Times New Roman", serif;  /* フォント指定 */
width: 150px;
list-style: none; /* マーカー非表示 */
font-weight: bold;
}

nav a {
display: block;
height: 50px;
color: #f0f0f5; /* 文字色(furakanato_maincolor) */
text-align: center; /* 中央揃え */
background: url("../img/wd16-icon-diamond.gif") no-repeat center;/* 使用画像(FOOL LOVERS) */
text-decoration: none; /* 下線消し */
padding: 0 50px;

}

/* マウスオーバー時 */
nav a:hover {
height: 50px;
color: #bbc8e6;  /* 文字色(泡藤色) */
}

/* リンクタグ */
a{
	color: #165e83; /* 未訪問リンク(藍色) */
}
a:hover {
	color:#cc7eb1; /* マウスオーバー時、菖蒲（アヤメ）色 */
	text-decoration: none; /* 下線を消す */

} 
a:active {
	color:#93b69c; /* クリックした時(薄青) */
} 


/* ============================================
コンテンツ用設定
全体枠(コンテナ※body直下大枠)
フレックス用コンテナ(main)
本文枠(div)
他
============================================ */

/* 全体枠(コンテナ) */

.container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: #f8f8ff; /* 背景色(ghostwhite) */
}


/* フレックス用コンテナ */
main {
    display: flex;
    margin-right: auto;
    margin-left: auto;
    height: 100%;
    padding: 0;
    width: 100%;

}

/* 本文枠 */
.content {
    margin: 20px;
    height: 100%;
    width: 100%;
}


/* ============================================
本文枠内パーツ

============================================ */

 /* 履歴用ボックス */
.info {
height: 80px;
padding: 5px;
margin: 10px 0 0 0;
overflow: auto; /* 高さを超えた場合はスクロールバーを出す */
background-color: #d3d3d3; /* 背景色(lightgray) */

}


/* 水平線 */
hr {
margin:30px ;
}

/* 要約、概要 */
summary {
padding: 10px;
cursor: pointer;
}

/* 要約、概要(マウスを乗せた時) */
summary:hover {
cursor: pointer;
background-color: #e8d3d1; /* 背景色(灰桜) */

}

/* 文字装飾 */
.red{
color: #ff6666; /* websc */
}

.blue{
color: #003399; /* websc */
}
.green{
color: #006666; /* websc */
}

/* 段落 */
p{
   margin: 10px;
   padding-left:5px;
}

 /* 画像処理 */
img{
border:none; /* 画像周りの線を消す */
max-width:100%;
height:auto;
line-height: 0;
}

 /* 順序なしリスト(マーク非表示) */

ul{
list-style-type: none;
}


/* ログリスト枠(コンテナ) */
.flexbox{
display: flex;
flex-wrap: wrap;
width: 100%;
height:auto;
padding:10px;
}

/* ログリスト枠 */
.box-list_item{
text-align: left;
padding:5px 30px;

}


/* 装飾なし横並びリスト */
.list li{
display:inline;
text-align: left;
padding:5px;

}

/* 装飾なし縦並びリスト */
.list2 li{
list-style:none;
text-align: left;
padding:5px 10px;
}

/* 装飾あり縦並びリスト */
.list3 li{
list-style-image: url('../img/y23-icon-butterfly.gif') ; /* 画像(FOOL LOVERS) */
padding-top:5px;
padding-bottom:5px;
}



/* ============================================
以下前ファイルからの流用
============================================ */


/* ページ上部へ戻る＆右側ナビゲーション
(ギャラリーより下層のファイルへの適用) */
.toplink, .navigation {
text-align: right;
}


 /* サムネイル枠(pickup) */
.box_item{
    padding: 10px;
    margin: 0;
}
/* サムネイル処理(角丸に切り抜く&グレーフィルター) */

.box_item img{
border-radius:10%;
width:70px;
height:70px;
margin-top:5px ;
margin-bottom:5px;
vertical-align:top;
object-fit:cover;
filter: grayscale(90%);
}

/* サムネイル処理(マウスを乗せた時にカラーに戻る) */
.box_item img:hover {
filter: none;
}



/* 更新マーク：NEW(liにクラス名でリスト横に表示) */
.box-list_item li.new::after {
content: "NEW" ;
color: #ff6666; /* 文字色websc */
font-size: 13px;
font-weight: bold;
padding-left: 5px;
}

/* 更新マーク：UP(同上) */
.box-list_item li.up::after {
    content: "UP" ;
    color: #003399; /* 文字色websc */
    font-size: 13px;
    font-weight: bold;
    padding-left: 5px;
    }




/* ============================================
メインコンテンツ・個別(pickup)ページ（page_00）用設定
============================================ */

/* 画像位置 */
.img_box{
text-align: center;
}
 /* イラスト個別頁タイトル */
.titlebox{
font-weight:bold;
text-align: center;
border-bottom: dashed 1px #2f4f4f;	/* 下線(種類、幅、色)darkslategray */
padding: 5px;
}

 /* 説明文 */
.textmain{
max-width: 100%;
padding:15px;

}


/* ============================================
メインコンテンツ・まとめページ（subpage_000）用設定
============================================ */

 /* まとめページ（subpage-000）用コンテナ */
#box_contents {
max-width: 100%; /* 全体幅 */
    margin-right: auto;
    margin-left: auto;
padding:10px;

}

 /* イラスト、文章囲み枠 */
.box_card{
max-width: 500px; /* 全体幅 */
    margin: 10px auto;
background-color:#bbc8e6; /* 背景色(泡藤色) */
}

 /* イラスト */
.box_image img{
object-fit:contain;
}

 /* タイトル */
.box_title {
font-size: 120%;
font-weight: bold;
padding-left: 50px;
}

/* 説明文(まとめ用) */
.box_text{
margin: 0;
max-width: 100%;
padding:15px;
}

/* ============================================
グリッド使用まとめページ（subpage_000）用設定
============================================ */


/* グリッド(全体枠・新イラストまとめ用) */
.cssgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-auto-rows: 1fr; /* 各行の高さ */
  grid-gap: 0.8em;
  padding: 0.5em ;
  margin: 0 0 2em;
  background-color: #f8f8ff; /* 背景色(ghostwhite) */

}
/* グリッド(全体枠・旧イラストまとめ用) */
.cssgrid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 1fr; /* 各行の高さ */
  grid-gap: 0.8em;
  padding: 0.5em ;
  margin: 0 0 2em;
  background-color: #f8f8ff; /* 背景色(ghostwhite) */


}

/* グリッド(個別枠) */
.cssgrid >div {
  background: #fff;
  border: 1px solid #000;
  overflow: auto;
  min-width: 0;
  padding: 1em;
}

.cssgrid2 >div {
  background: #fff;
  border: 1px solid #999;
  overflow: auto;
  min-width: 0;
  padding: 1em;
}

 /* タイトル */
.box_title2 {
font-size: 100%;
font-weight: bold;
}


/* ============================================
コンテンツ・novelページ（page_000）用設定
============================================ */

/* タイトル(二色のライン) */
.box_n_title {
height: 35px;
font-weight: bold;
letter-spacing: 0.2em;
text-indent: 1em;
border-bottom: 3px solid #192332; /* 色(wataraihibari_maincolor) */
position: relative;
}

.box_n_title::after{
position: absolute;
content: " ";
display: block;
border-bottom: 3px solid #cd3764; /* 色(wataraihibari_subcolor) */
bottom: -3px;
width: 20%;
}


/* 小説本文 */
.box_n_text{
margin: 0;
max-width: 100%;
padding-top:10px;
line-height: 2;
/* background-color: #93b69c; /* 背景色(確認用) */

}

/* 本文内段落 */
.box_n_text p{
padding: 10px ;
margin: 10px;
/* background-color:lightcyan; /* 背景色(確認用) */
}

/* 本文内段落(上に余白) */
.box_n_text p.ts{
margin-top: 5em;
padding: 10px ;
/* background-color:lightsalmon; /* 背景色(確認用) */
}

/* 本文内段落(下に余白) */
.box_n_text p.bs{
margin-bottom: 5em;
padding: 10px ;
/* background-color:moccasin; /* 背景色(確認用) */
}

/* 本文内段落(上下に余白) */
.box_n_text p.tbs{
margin:5em 10px;
padding: 10px ;
/* background-color:pink; /* 背景色(確認用) */
}

/* 説明文(小説内容用) */
.box_text2{
margin: 0;
padding:15px;
color:#696969; /* 文字色(dimgray) */
}

/* 説明文(小説あとがき用) */
.box_n_txt{
margin: 30px 10px;
max-width: 100%;
padding:20px;
color:#696969; /* 文字色(dimgray) */
background-color:#d3d3d3; /* 背景色(lightgray) */

}

/* ======================================================================= */


/* メディアクエリ */
@media only screen and (max-width:770px) {
    .top {
        width: auto;
        position: relative;
    }
    header {
        width: auto;
    }

.container {
    /*background-color: #808080;/* 背景色(gray) */
    margin-right: auto;
    margin-left: auto;

}

    main {
        display: flex;
        border: 0;
        width: 100%;

        padding: 10px 2%;
    }

.content {
        border: 0;
        padding: 10px 2%;
    }

nav {
line-height:50px;
width: 100%;
}

nav ul {
justify-content: center;
margin:0px;

}

.toplink,textarea,.info{
width: 95%;
}


summary {
padding: 10px;
}

summary:hover {
background-color: #e8d3d1; /* 背景色(灰桜) */

}

}

