@charset "shift_jis";

/* ブラウザスタイルの初期化 */
*{
  margin: 0;
  padding: 0;
  background-color: transparent;
  color: #000;
  font-family: 'Open Sans Condensed', "メイリオ", 'ＭＳ 明朝'
'MS Mincho', sans-serif, monospace;
  }

/* 文書本体 */
body{
background-color: #ffffff;
background-image : url("title.png");
background-attachment: fixed;
background-position:right top;
background-repeat: no-repeat;
  }

#wrapper{
  text-align: left;
  padding-top: 50px;
  padding-left: 5px;
  padding-right: 40%;
  line-height: 1.2;
  }

/* メニュー */
#menu{
   display:flex;
   flex-wrap:wrap;
   justify-content:flex-start;
}
#item{
  flex-grow:0;
  flex-shrink: 0;
  height: 60px;
}

#menu a:link,
a:visited{
  text-decoration: none;
  border-bottom: 1px solid #fff;
  transition: 0.5s;
  }
#menu a:hover,
a:active{
  text-decoration: none;
  border-bottom: 1px solid #0523c8;
  transition: 1s;
  }
/* --------------- テーブル --------------- */



/* 黒い部分 */
#gallery{
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50%;
  background: #000 url(sake.jpg) no-repeat 12% 100%;
  }
#gallery-b{
  height: 100px;
  background: #000 url(sake.jpg) no-repeat 10% 70%;
  }

/* 著作権表示 */
#copy{
  position: absolute;
  right: 30px;
  bottom: 15px;
  text-align: right;
  font-size: 8.5pt;
  }
#copy,#copy a{
  color: #444;
  font-family: "メイリオ", sans-serif;
  }
#copy a{
  text-decoration: none;
  }
  
/* 小説ページ */

#content{
  font-size: 13px;
  line-height: 1.5;
  font-family: "メイリオ", sans-serif;
  margin: 20px auto 80px;
  paddng: 10px;
  width: 700px;
  min-height: 100%;
  background-color: #fff;
  }

#footer{
  text-align: right;
  margin: 20px 0;
  }
#content a,#footer a{
  font-family: "メイリオ", sans-serif;
  }
h2{
  margin: 20px 0;
  }



/*--------------------------------------------------------
スマホ、タブレット用
横幅600pxで切り替え
--------------------------------------------------------*/
@media screen and (max-width: 600px){
body{
margin:0px;
background-size:50%;
font-size:1.4em
}
#wrapper{
width:100%
text-align: left;
 padding-top: 20px;
line-height: 1.2;
}
#menu {
  flex-direction:column;
  font-size:70%;}
#content{
width: 100%;
  }

#gallery{
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: #000 url(sake.jpg) no-repeat 12% 100%;
  }
img{max-width:100%;height:auto} /* 画像の縮小表示 */
}
}