@import url('https://fonts.googleapis.com/earlyaccess/roundedmplus1c.css');
@import url('https://fonts.googleapis.com/css2?family=Yusei+Magic&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&display=swap');

/*基本設定*/
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;}
body::before {
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100%;
  background:url(../img/bg.jpg) center/cover no-repeat;
  }


#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 >footer{background: none;color:#fff;text-align:center;}
.outer .inner{width: 980px;}
.outer a:hover{text-decoration:none;}

#visual{margin-bottom: -288px; position: relative;z-index: 2;}
#visual>div{position:relative;text-align: center;margin: 0 auto;}
#visual>div>h1{position:absolute;top:-15px;right: -10px;z-index:1;}
#visual>div>h2{position:absolute;top:0;left: 0;}
#visual>div>h3{position:absolute; top:1106px;right: calc( 50% - 261.5px );}
#visual>div>h4{position:absolute;top:976px;left: calc( 50% - 452px );}
#visual >div>figure img{width: 1080px; margin-left: -50px;margin-top: -40px;}

#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;width: 50%;}
#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 h2 img,#character h2 img,#keyword h2 img,#gallery h2 img{height: 7rem;width: auto;}

#story >.inner,#character >.inner,#keyword >.inner,#books >.inner{padding:0 10%;}


#story{width: 100%;position: relative;z-index: 2;padding:2em; margin: 5em auto 0;background: rgb(134 63 55);}
#story h2 {text-align: center; margin-bottom: 1em;}
#story p{
  margin: 0 auto;
  text-align:center;
  color:#fff;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
}


#character{position: relative;z-index: 2;padding: 4em 0 0;}
#character .inner{padding: 0;}
#character ul{display: flex; width:100%; justify-content: space-between;align-items: flex-end;margin-left: -45px;}
#character ul li{
  position: relative; 
  width: 31%;
  padding: 0;
  box-sizing: border-box;
  margin-bottom:-20em;
}
#character ul li figure {margin: 0;}
#character ul li figure img {width: 70%;}
#character ul li figure img.c4_img {width: 100%;}
#character ul li figure img.c5_img {padding-left: 60px;}
.chara_p.c1 {background: url(../img/c1text_bg.png) no-repeat;background-size: contain;} 
.chara_p.c2 {background: url(../img/c2text_bg.png) no-repeat;background-size: contain;} 
.chara_p.c3 {background: url(../img/c3text_bg.png) no-repeat;background-size: contain;} 
.chara_p.c4 {background: url(../img/c4text_bg.png) no-repeat;background-size: contain;} 
.chara_p.c5 {background: url(../img/c5text_bg.png) no-repeat;background-size: contain;} 
.chara_p.c6 {background: url(../img/c6text_bg.png) no-repeat;background-size: contain;} 
#character ul li .chara_p {
  position: relative;
  height: 300px;
  width: auto;
  top: -400px;
  right: -90px;
  z-index: -10;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
}
#character ul li .chara_p div {
  position: absolute;
  top: 5em;
  right: 5em;
  width: 160px;
}
#character ul li h3 {
  position: relative;
  padding-left: 1em;
  color: #fff; 
  font-size: 2.2rem;
  font-family: 'BIZ UDPMincho', serif;
  border-bottom: 2px solid #fff;
  padding-bottom: 0.2em;
}
#character ul li .chara_p p{
  padding: 15px 0;
  color:#fff;
  font-size: 1.2rem;
  line-height: 1.4;
  word-break: break-all;
}
#character ul li figure {position:relative;margin-right: 2.5em;}
#character ul li figure img{position:relative;z-index: 1}


#keyword{position: relative;z-index: 2;padding:4em 0;}
#keyword .inner{padding: 0;}
#keyword ul{text-align: center; display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;}
#keyword ul li{
  position: relative;
  width: 48%;
  margin:0 auto 2%;
  background: rgb(134 63 55);
  color: #fff;
}
#keyword dl {
  position: relative;
  height: 100%;
  padding: 2em;
  box-sizing: border-box;
}
#keyword dl img {
  height: 3.8rem;
  width: auto;
  padding-bottom: 0.2em;
}
#keyword dl dd {text-align: left;font-family: 'Zen Kaku Gothic Antique', sans-serif;font-size: 1.5rem;line-height:1.4;border-top: 3px solid #fff;padding-top: 1em;}

#gallery ul {display: flex;flex-wrap: wrap;justify-content: space-between; margin-bottom: 100px;}
#gallery ul li a{display: inline-block;position: relative;z-index: 1;width: 50%;height: auto;}
#gallery ul li a:hover {filter: contrast(1.5);opacity: 1;}
#gallery ul li a img.star:hover {opacity: 1;}
#gallery ul li a img.star {width: 100%;height: auto;}
#gallery ul {
  background: url(../img/gallery_pic.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 70%;
  height: 800px;
  margin: 0 auto -2em;
  position: relative;
}
#gallery ul li {
  position: absolute;
  z-index: 1000;
}
#gallery li.gal01 {
  top: 46rem;
  left: 33rem;
}
#gallery li.gal02 {
  top: 62rem;
  left: 6rem;
}
#gallery li.gal03 {
  top: 30.5rem;
  right: 4rem;
}
#gallery li.gal04 {
  bottom: 10rem;
  right: -4rem;
}
#gallery p.gal_comment {
  font-size: 2.4rem;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 800;
  color: #1962aa;
  text-align: center;
  margin-bottom: 1em;
}
#gallery p.gal_comment img {
  width: 3.4rem;
  height: auto;
  margin-block-end: 0.2em;
  vertical-align: text-top;
}


#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;}

#books {padding: 4em 0;background: rgba(0,0,0,0.5);}
#books .inner{padding: 0;margin-top: -6em;;}
#books 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;}
#books ul{justify-content:flex-start}
#books ul:has(> :nth-child(-n+4):last-child) {justify-content: center;}
#books ul li{background: #fff;padding: 0.75em;position: relative;width: 19%;margin-right: 1.25%;margin-bottom: 1.25%;}
#books ul li h4{margin-bottom: 0.5em;font-size: 1.4rem;}
#books ul li a {display:block;color: #3b3b3b;}
#books ul li a figure {width: 100%;}
.list li figure {margin-bottom: 0;}
#books ul li a div {width: 100%;margin-top: 1em;}
#books ul li i{font-size: 1rem;font-style: normal;padding: 0.15em 1.5em;position: absolute;left: 0;top: 0;z-index: 1;}
#books ul li i.bnk{background: #f39800;color:#fff;}
#books ul li i.nvl{background: #000;color:#fff;}
#books ul li i.grd{background: #009fe8;color:#fff;}

#books ul li:last-child {margin-right: 0;}
#books ul li:nth-child(5n) {margin-right: 0;}

#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をトル！*/
  }

  
#story h2 img,#character h2 img,#keyword h2 img,#gallery h2 img{height: 9vw;width: auto;}

#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 #cmt{display: none;}

#visual>figure>img{display:none;}
#visual{margin-bottom: -2em;margin-top: 0;}
#visual >div>figure img{width: 100%; margin:0 0 -10px;}


#buttons {margin-bottom: 0;margin-top: 0.4em;}
#buttons .bt1{display: none;}
#buttons ul li a{font-size:80%;}


#story{width:100%; font-size:1.3rem;margin-top:-2em; padding: 3em 0 2em;}
#story p{ width: 100%;font-size: 1.2rem; padding: 0 5%; margin: 0; box-sizing: border-box; text-align: left;}

#character {padding: 4em 0 7em;overflow: hidden;}
#character .inner h2 {margin-bottom: 5em;}
#character ul li figure {margin-left: -1em;}
#character ul {display: block;margin-left: 0;}
#character ul li {width: 100%;margin-bottom: -77vw;}
#character ul li:first-child {margin-top: -3em;}
#character ul li:nth-child(4) {margin-top: 42vw;}
#character ul li:nth-child(5) {margin-top: 42vw;}
#character ul li:nth-child(6) {margin-top: -90vw;}
#character ul li figure img {width: 45vw;}
#character ul li figure img.c4_img {width: 70vw;position: relative;top: -10vw;}
#character ul li figure img.c5_img {width: 41vw;position: relative;top: -13vw;}
#character ul li:last-child img {position: relative;top: 15vw;}
#character ul li .chara_p {
  right: -15vw;
  height: 80vw;
  width: auto;
  top: -87vw;
}
#character ul li .chara_p.c4 {
  top: -97vw;
}
#character ul li .chara_p.c5 {
  top: -100vw;
}
#character ul li .chara_p div {
  right: calc(50% - 17vw);
  top: 21vw;
  width: 38vw;
}
#character ul li h3 {font-size: 2rem;}
#character ul li .chara_p p {
  font-size: 1.2rem;
  padding: 10px 0;
}

#keyword{padding: 1em 0 0;}
#keyword ul{width: 100%;font-size:1.3rem;flex-wrap: wrap;justify-content: space-around;}
#keyword ul li {width: 100%;}
#keyword dl img {height: 3rem;width: auto;}
#keyword dl dd {font-size: 1.3rem;}

#gallery {padding-top: 3em;}
#gallery .inner {padding: 0 5%;text-align: center;}
#gallery .inner h2 {margin-bottom: 1em;}
#gallery ul {width: 100%;height: 410px;}
#gallery p.gal_comment {font-size: 1.8rem;}
#gallery p.gal_comment img {width: 2.6rem;}
#gallery ul li a img.star {width: 3.8rem;height: auto;}
#gallery li.gal01 {
  top: 23.5rem;
  left: calc(50% - 2vw);
}
#gallery li.gal02 {
  top: 32rem;
  left: calc(50% - 23vw);
}
#gallery li.gal03 {
  top: 16rem;
  right: calc(50% - 16vw);
}
#gallery li.gal04 {
  bottom: 5rem;
  right: calc(50% - 23vw);
}

#read {padding: 5em 0;}
#read a{padding: 0.5em;width: 90%;}
#read span{margin-bottom: 0.5em;display: block;}
#read br{display:none;}

#books{padding: 5em 0 1em;}
#books ul li {width: 100%;padding: 0.5% 1.5% 0.5% 0.5%;margin-right: 0;}
#books ul li a {display: flex;justify-content: space-between;align-items: center;}
#books ul li a figure {width: 25%;}
#books ul li a div {width: 72%;}
#books h2{height: auto;font-size:90%;}
#books ul li figure i{padding: 0.15em 1em;font-size:70%;left: auto;right: 0;}
#books ul li h4 {font-size: 1.3rem;font-weight: bold;}

#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;}
*/
}

@media screen and (max-width: 600px) {

#character {padding: 4em 0;}
#character ul li figure img.c4_img {top: -6vw;}
#character ul li figure img.c5_img {top: -7vw;width: 45vw;}


}


@media screen and (max-width: 420px) {

#gallery li.gal03 {
  top: 16rem;
  right: calc(50% - 28vw);
}
#gallery li.gal04 {
  bottom: 5rem;
  right: calc(50% - 38vw);
}

}

