@charset "UTF-8";
*{
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
}

/*基本設定*/
body{
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7em;
}

h1,h2,h3,h4,h5,h6{
  font-weight: normal;
  font-size: 1.1rem;
  line-height: 1.7em;
}

a[href], a[href]:link, a[href]:visited{
  text-decoration: none;
}

a[href]:hover, a[href]:active{
  text-decoration: underline;
}

nav ul{
  list-style: none;
}

nav li{
  display: inline-block;
}

nav li a:only-child{
  display: block;
  width: 100%;
  height: 100%;
}

/*文書設定・一般*/
.wf-sawarabimincho { font-family: "Sawarabi Mincho"; }

h1{
  font-weight: bold;
  font-size: 2rem;
  line-height: 2em;
  font-family: "Sawarabi Mincho";
}

h2{
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1.5em;
  font-family: "Sawarabi Mincho";
  margin-bottom: 1rem;
}

h3{
  font-weight: bold;
  font-size: 0.9rem;
  padding-left: 0.5em;
  margin-bottom: 0.5rem;
  border-left: solid 4px;
  border-bottom: dashed 1px;
}

p{
  margin: 1rem 0;
}

hr{
  height: 15px;
  margin: 2rem 0;
  background-image: url(img/line.png);
  background-repeat: repeat-x;
  background-size: contain;
}

body > hr{
  margin: 2rem 70px;
}

.p-box{
  margin: 1rem;
}

.roundbox-white{
  padding: 1rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.3);
}

/*サイト骨組み*/
#sitenav{
  width: auto;
  text-align: left;
  padding-left: 70px;
  background-color: rgba(255, 255, 255, 0.3);
}
#site-header{
  margin-top: 1.5rem;
  text-align: center;
}

#wrapper{
  box-sizing: border-box;
  width: 900px;
  margin: 0 auto; 
}

#content{
  padding: 15px 15px 0 15px;
}

#footer{
  clear: both;
  text-align: center;
  padding-bottom: 2rem;
}

#nav-body{
  position: fixed;
  right: 13px;
  bottom: 10px;
}
#novel-body{
  padding: 1rem 1rem 0 1rem;
}

/*サイトヘッダ*/
#site-header img{
  width: 376px;
}
#header-caption{
  margin-top: 0;
  font-family: "Sawarabi Mincho";
}

/*小説ナビ*/
#nav-short nav{
  padding: 0 1rem;
}

#nav-short li{
  display: block;
  margin: 1rem 0;
}

.short-header {
  display: flex;
  display: -webkit-flex;
  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;
}

.short-header div{
  margin-right: 1.5rem; 
}

.short-header div:first-child{
  font-weight: bold;
  font-family: "Sawarabi Mincho";
}

.short-header div:last-child{
  margin-right:　0;
  margin-left: auto;
}

.short-desc{
  margin: 0 1rem;
  font-size: 0.85rem;
  line-height: 1.7em;
}


/*ページ内ナビ*/
#nav-body li{
  display: block;
  overflow: hidden;
  width: 48px;
  height: 48px;
}
#nav-body img{
  height: 96px;
}

#arrow-top{
  position: relative;
}
#arrow-top:hover{
  top: -48px;
}

#arrow-bottom{
  position: relative;
}
#arrow-bottom:hover{
  top: -48px;
}

/*コンテント・表紙*/
#content dl{
  margin: 1rem 1rem 2rem 1rem;
}
#content dt{
  font-weight: bold;
  font-family: "Sawarabi Mincho";
}
#content dd{
  padding: 0 2rem;
}
.dllist{
  margin: 0 1.5rem;
  list-style-type: square;
  list-style-position: inside;
}
/*コンテント・本文*/
#novel-body{
}
#novel-body h1{
  margin: 2rem;
}
#novel-body img{
  float: right;
  border: solid 1px;
  border-radius: 1rem;
  margin: 1rem;
}
#novel-nav{
  clear: both;
}
#novel-nav ul{
  height: 2rem;
  line-height: 2rem;
  text-align: center;
}
#novel-nav li{
  width: 5rem;
  border-radius: 1rem;
  overflow: hidden;
}
#novel-nav a:hover{
  background-color: rgba(255, 255, 255, 0.3);
}

#fin{
  font-size: 1.1rem;
  font-family: "Rounded Mplus 1c";
  text-align: right;
  padding-right: 2rem;
}

/*フッタ*/
#copyright{
  font-size: 0.7rem;
  line-height: 1.7em;
}

/*スマホ表示*/
@media screen and (max-width: 1024px){
  #site-header{
    margin: 1.5rem 70px 0 70px;
  }
  #wrapper, #footer{
    width: auto;
    margin: 0 70px;
  }
}
@media screen and (max-width: 768px){
  #wrapper{
    width: auto;
    margin: 0 70px;
  }
  #site-header img{
    width: 100%;
    max-width: 376px;
  }

  #content{
    padding: 0;
    margin: 2rem 0;
  }

  .short-header{
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
  }
.short-header div{
    margin: 0 1.5rem;
}

  .short-header div:first-child{
    width: 100%;
    margin: 0;
  }
  .short-header div:last-child{
    width: 100%;
    margin: 0;
    text-align: right;
  }
  #novel-body{
    padding: 1rem 0 0 0;
  }

  #novel-body img{
    float: none;
    display: block;
    margin: 2rem auto;
  }
}

@media screen and (max-width: 540px){
  #sitenav{padding: 0 1rem;}
  #site-header, #wrapper, #footer{
    margin-right: 1rem;
    margin-left: 1rem;
  }
  #novel-body img{
    width: 100%;
  }
  body > hr{
    margin: 2rem 1rem;
  }
}

/*カラー設定*/
body{
  color : #4f4120;
  background-color : #cec79d;
  background-image: url(img/bg-left.png), url(img/bg-right.png), url(img/bg.png);
  background-position: top left, top right, top left;
  background-repeat: repeat-y, repeat-y, repeat;
}

a[href], a[href]:link, a[href]:visited{
  color: #bf0000;
}

h3{
  border-color: #4f4120;
}

.s-set{
  border-color: #4f4120;
}

@media screen and (max-width: 540px){
  body{
    background-image: url(img/bg.png);
    background-position: auto;
    background-repeat: repeat;
  }
}