@import url('https://fonts.googleapis.com/earlyaccess/roundedmplus1c.css');

/*基本設定*/
html{font-size: 62.5%;}
body,table{font-family: 'Rounded Mplus 1c';font-size: 1.4rem;color:#3b3b3b;}
div{box-sizing:border-box;}
p, a{text-align:inherit}
p{word-break: normal;word-wrap: break-word;text-align:justify;}
h2{line-height:1.3em;}
ul,dl{letter-spacing: -.40em;}
li,dd,dt{letter-spacing: normal;}

a:hover>img{opacity:0.7;text-decoration:underline;}
img{  pointer-events: none;
  user-select: none;
  vertical-align: bottom;
  -webkit-user-select: none;
  width: auto;
  height: auto;
  -ms-interpolation-mode: bicubic;}
a img{display:block;}


#cboxOverlay{background: #000!important;z-index:100000!important;}
#colorbox{z-index:100001!important;}

#narou_head{margin-bottom: 0;background: #000; padding: 0.5em;max-height: 42px;color:#fff;position: relative;z-index: 3;}
#narou_head ul{display:table;width: 100%;}
#narou_head ul li{display:table-cell;vertical-align: middle;}
#narou_head .ttl{padding-left: 0.5em;font-size:80%;text-align:right;}

.outer{background: #dcd0c5 url(../img/bg.jpg) fixed;background-size: cover;background-position: top center;}
.outer >footer{background: none;color:#fff;text-align:center;}
.outer .inner{width: 980px;}
.outer a:hover{text-decoration:none;}

#visual{margin-bottom: -350px;    margin-top: ;position: relative;z-index: 2;}
#visual>div{position:relative;text-align: center;margin: 0 auto;}
#visual>div>h1{position:absolute;top:10px;left:0;z-index:1;}
#visual>div>h2{position:absolute;top:600px;right:0;}
#visual>div>h3{position:absolute;top:740px;right:72px;}
#visual>div>h4{position:absolute;top:785px;right:40px;}
#visual>div>h5{position:absolute;top:170px;left:50px;}
#visual >div>figure img{width: 100%;margin-top: -100px;}
/**
#visual>div>h1{text-align:center;filter: drop-shadow(0px 0px 2px rgba(255,255,255,1))drop-shadow(0px 0px 2px rgba(255,255,255,1))drop-shadow(0px 0px 2px rgba(255,255,255,1))drop-shadow(0px 0px 2px rgba(000,000,000,1));}
#visual>div>h2{text-align:center;filter: drop-shadow(0px 0px 2px rgba(000,000,000,1))drop-shadow(0px 0px 2px rgba(000,000,000,1))drop-shadow(0px 0px 2px rgba(000,000,000,1))drop-shadow(0px 0px 2px rgba(000,000,000,1));}
#visual>div>h3{text-align:center;filter: drop-shadow(0px 0px 2px rgba(255,255,255,1))drop-shadow(0px 0px 2px rgba(255,255,255,1))drop-shadow(0px 0px 2px rgba(255,255,255,1))drop-shadow(0px 0px 2px rgba(000,000,000,1));}
#visual>div>h4{text-align:center;filter: drop-shadow(0px 0px 2px rgba(000,000,000,1))drop-shadow(0px 0px 2px rgba(000,000,000,1))drop-shadow(0px 0px 2px rgba(000,000,000,1))drop-shadow(0px 0px 2px rgba(000,000,000,1));}
**/
#buttons{position: relative;z-index: 5;margin-bottom: -3.5em;}
#buttons ul{list-style: none;display:flex;justify-content: center;}
#buttons ul li{text-align:center;margin: 0 0.5em 1em 0.5em;border-radius:0.5em;border:2px solid #fff;box-shadow:0px 0px 3px 1px #000000;}
#buttons ul li a{color:#fff;display:block;padding: 1em 0;font-size:125%;}
#buttons ul li a i{font-size:130%;vertical-align:middle;margin-right: 0.5em;}
#buttons ul li:hover{opacity:0.8;transition:0.5s;}
#buttons ul li:first-child{flex-grow: 1;background: #000;}
#buttons ul li:nth-child(2){flex-grow: 1;background: #000;}
#buttons ul li:nth-child(3){flex-grow: 1;background: #009fe8;}

div.inner>h2{text-align:center;margin-bottom: 2em;}

#story >.inner,#character >.inner,#keyword >.inner,#books >.inner{padding:0 10%;}


#story{background: rgba(0,0,0,0.8);position: relative;z-index: 2;padding: 5em 0 2em;}
#story >.inner{padding: 0;}
#story p{text-align:center;color:#fff;    width: 100%;}
#story p img{max-width: 100%;width:auto;}

#character{position: relative;z-index: 2;padding: 4em 0 0;/*background: rgba(255,255,255,0.9)*/;}
#character .inner{padding: 0;}
#character ul{width:85%;margin: 5em auto 0;list-style: none;display:flex;justify-content:center;}
#character ul li{width:31.33%;margin:0 1% 1em;padding: 0;background: #fff;}
#character ul li:first-child{margin:0 1.1% 2.5em;}
#character ul li:nth-child(2){margin:0 1.1% 2.5em;}
#character ul.list div{position:relative;width: 100%;display: block;vertical-align: middle;padding: 1em;}
#character ul.list figure{position:relative;width: 100%;display: block;vertical-align: bottom;/*filter: drop-shadow(0px 0px 2px rgba(255,255,255,1))drop-shadow(0px 0px 2px rgba(255,255,255,1));*/}
#character ul.list figure img{width: 100%;margin-top: -5.5em;}
#character ul.list h3{margin-bottom: 0.15em;font-family:a-otf-midashi-go-mb31-pr6n, sans-serif;;font-weight: 600;font-style: normal;font-size:3rem;color:#000;line-height:1;display:inline-block;}
#character ul.list span{font-size:1.6rem;margin-left: 1em;position:absolute;bottom:0;right:0;background: #000;color:#fff;padding: 0.25em 0.75em}
#character ul.list h4{font-size:1.8rem;margin-bottom: 0.75em;font-weight: 600;font-family:a-otf-midashi-go-mb31-pr6n, sans-serif;}
#character ul.list h5{font-size:1.6rem;margin-bottom: 0.25em;font-weight: 600;font-family:a-otf-midashi-go-mb31-pr6n, sans-serif;display:inline-block;}
#character ul.list h3> img{max-width:100%;width:auto;}
#character ul.list p{color:#000;font-size: 1.4rem;    line-height: 1.4;}


#keyword{position: relative;z-index: 2;padding:4em 0;}
#keyword .inner{padding: 0;}
#keyword ul{margin: 2em auto 0;width: 70%;    margin: 0 auto;}
#keyword ul li{border:#fff 3px solid;margin-bottom: 1em;padding: 0;width: 100%;/*margin-right: 2%;*/padding: 1em;margin: 1%;background: #fff;}
#keyword ul li:nth-child(even){}
#keyword li{margin-bottom: 2em;}
#keyword li figure{margin-top: 1em;}
#keyword h3{margin-bottom: 0.25em;vertical-align: middle;width:100%;display:;text-align:center;/*border-bottom: 1px solid #fff;*/font-family:a-otf-midashi-go-mb31-pr6n, sans-serif;;font-weight: 600;font-style: normal;font-size:2.7rem;color:#000;}
#keyword ul.list h3> img{width:auto;}
#keyword ul.list h3 ruby rt{position:absolute;}
#keyword p{color:#000;text-align:center;;width: 100%;}
[data-ruby] {
    position: relative;
}
[data-ruby]::before {
	    white-space: nowrap;
    content: attr(data-ruby);
    position: absolute;
    top: -1em;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 0.3em;
    text-align:center;
}

#read{padding: 4em 0 6em;}
#read span{font-size:70%;}
#read b{font-weight:bold;font-size:150%;}
#read a{width: 70%;color:#fff;display:block;padding: 1em 0;font-size:125%;background: #000;text-align:center;margin: 0 auto;border-radius:0.5em;border:2px solid #fff;box-shadow:0px 0px 3px 1px #000000;}
#read a:hover{opacity:0.8;transition:0.5s;}


#naroulink {padding: 4em 0;background: rgba(0,0,0,0.3);}
#naroulink .inner{margin-top: -6em;;}
#naroulink h2{border-radius:0.5em;border:3px solid #000;font-size:2rem;display:inline-block;text-align:center;background: #fff;margin: 0 auto 1em;    display: table;padding:0.5em 2em;}
#naroulink a{margin:0 auto;    display: table;border-radius: 0.5em;overflow: hidden;}
#naroulink a img{width: 100%;}

.box{background: rgba(255,255,255,0.75);padding:4em;margin-bottom: 1em;box-shadow:0 0 1px 1px rgba(0,0,0,0.5);border-radius:1em;}

.outer footer dl dd{display: inline-block;text-align:center;margin: 0 0.5em;}
.outer footer dl {margin-bottom: 1em;}

/*smartphone*****************************************************************************************************************************************************************************************/
@media screen and (max-width: 768px) {
#narou_head{
  	padding: 0.75em 0.5em 0.75em 5rem;
    background: #000;
    height: 42px;}
#narou_head .ttl{display:none;}
.outer{background: none;}
.outer .inner{width: 100%;;}
#story >.inner, #character >.inner, #keyword >.inner, #books >.inner, #naroulink >.inner{padding: 0 5%!important;}

body::before {
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
  background: url(../img/bg.jpg) center/cover no-repeat; /*fixedをトル！*/
  -webkit-background-size:cover;/*Android4*/
  }

#visual>div>h1{display:none;}
#visual>div>h2{display:none;}
#visual>div>h3{display:none;}
#visual>div>h4{display:none;}
#visual>div>h5{display:none;}
#visual>figure>img{display:none;}
#visual{margin-bottom: 0;margin-top: 0;}
#visual >div>figure img{margin-top:0;}

div.inner>h2{width: auto;height: 4em;margin-bottom: 2em;}
div.inner>h2 img{height: 100%;width: auto;}

#buttons {margin-bottom: 0;margin-bottom: -2.5em;}
#buttons .inner{margin-top: -1.5em;}
#buttons .bt1{display: none;}
#buttons ul li a{font-size:80%;}


#story{font-size:1.3rem;    padding: 4em 0 2em;}

#character {    padding: 2em 0;}
#character ul{width: 100%;justify-content:left;margin-top: 0;}
#character ul li{width:100%;font-size:60%;line-height:1.4;padding: 1em;margin:0 0 1em;}
#character ul.list figure{width: 40%;display:table-cell;margin: 0 auto;vertical-align: bottom;}
#character ul.list div{width: 60%;display:table-cell;padding: 0 0 0 1em;}
#character ul.list h3{font-size:1.8rem;margin: 0.5em 0;}
#character ul.list h3> img{max-height:100%;}
#character ul.list h4{font-size:1.3rem}

#character ul.list p{font-size:1.1rem}

#keyword{    padding: 2em 0;}
#keyword ul{width: 100%;font-size:85%;}
#keyword ul li{width:100%;margin-right: 0;padding: 1em;margin-bottom: 1em;}
#keyword h3{padding: 0.5em 0;width: 100%;display:block;text-align:center;font-size:1.8rem;}
#keyword p{width: 100%;display:block;}
#keyword h3 img{height: 100%;}


#read a{padding: 0.5em;width: 90%;}
#read span{margin-bottom: 0.5em;display: block;}
#read br{display:none;}

#naroulink h2{height: auto;font-size:90%;}


/*
.box{padding: 1em;}
.inner{    width: 95%;}
#catch{margin-bottom: 1em;}
#read h3:before,#read h3:nth-child(3):before{display:block;margin: 0 auto;margin-bottom: 0.25em;    width: 60px;
    height: 60px;
}
#detail table td:first-child{width: 30%;}
.outer >footer{background: none;color:#fff;text-align:center;font-size:70%;padding-bottom: 2em;}

.outer footer dl dd{width: 45%;}
.outer footer dl dd img{width: 100%;}
.outer footer dl {margin-bottom: 1em;}
*/
}

