@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;}

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;
}

.outer >footer{background: none;color:#fff;text-align:center;}
.outer .inner{width: 980px;}
.outer a:hover{text-decoration:none;}

#visual{margin-bottom: 0px; position: relative;z-index: 2;}
#visual>div{position:relative;text-align: center;margin: 0 auto;}
#visual>div>h1{position:absolute;top:367px;right: -207px; z-index:1;}
#visual>div>h1 img {width:100%;}
#visual>div>h2{position:absolute;top:13px;left:-113px;}
#visual>div>h2 img {width:100%;}
#visual>div>h3{position:absolute; top:302px;right:-117px;}
#visual>div>h3 img{width:100%;}
#visual>div>h4{position:absolute;top:467px;left: -40px;}
#visual>div>h4 img{width:100%;}
#visual>div>h5{position:absolute;top:10px;right:157px;}
#visual>div>h6{position:absolute;bottom:550px;right:0px;}
#visual >div>figure img{width: 150%;max-width: 1230px;margin-left: -12%;padding-top: 93px;}

#buttons{position: relative;z-index: 5;margin-top: -220px;}
#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: 1rem;}

#character >.inner,#keyword >.inner,#books >.inner{padding:0 10%;}

.bg-color{position: relative;z-index: 1;}
.bg-color::before{content: "";display: block;position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: -1;background-image: linear-gradient(to bottom, #E95098 0, #00B0EC 100%);-webkit-filter: blur(40px);filter: blur(40px);box-shadow: none;}

#story{width: 100%;max-width: 980px;margin: 40px auto 0;z-index: 2;}
#story .inner{width: auto;padding:40px 30px 60px;background: url(../img/box_bg.jpg) no-repeat bottom center / cover;}
#story h2 {text-align: center;}
#story p{text-align:center;color:#000; margin: 40px auto 0; font-size: 1.7rem;font-family: "Noto Serif JP", serif;font-weight: 700; line-height: 1.7;}
#story p img{max-width: 90%;width:auto;}

#character{position: relative;z-index: 2;padding: 100px 0 0;}
#character .inner{padding: 0;}
#character ul{display: flex;align-items: flex-end; gap: 40px; width:100%;margin: 40px auto 0;list-style: none;}
#character ul li{width: 300px;position: relative;text-align: center;}
#character ul.list figure{width: 80%;text-align: center;position: relative;z-index: 1;margin-inline: auto;}
#character ul.list .cs{position: absolute;bottom: 155px;left: 0;;z-index: 2;width: 150px;}
#character ul.list h3{position: absolute;top: 0;right: 0;z-index: 2;}
#character ul.list h3> img{max-width:100%;width:auto;}
#character ul.list p{font-size: 1.5rem; font-weight: 700; line-height: 1.8;padding: 2rem 1.5rem;font-family: "Noto Serif JP", serif;color:#000;background-color: #fff;margin-top: -180px;position: relative;z-index: 2;box-sizing: border-box;}

#character ul.list li:nth-child(1) p{box-shadow: 0 0 30px 0 #45B035, 0 0 30px 0 #45B035;}
#character ul.list li:nth-child(2) p{box-shadow: 0 0 30px 0 #00A7EA, 0 0 30px 0 #00A7EA;}
#character ul.list li:nth-child(3) p{box-shadow: 0 0 30px 0 #E60012, 0 0 30px 0 #E60012;}
#character ul.list li:nth-child(4) p{box-shadow: 0 0 30px 0 #E85298, 0 0 30px 0 #E85298;}
#character ul.list li:nth-child(5) p{box-shadow: 0 0 30px 0 #6356A3, 0 0 30px 0 #6356A3;}
#character ul.list li:nth-child(6) p,#character ul.list li:nth-child(7) p{box-shadow: 0 0 30px 0 #B80006, 0 0 30px 0 #B80006;}
#character ul.list li:nth-child(8) p{box-shadow: 0 0 30px 0 #F39800, 0 0 30px 0 #F39800;}

#character ul.list li:nth-child(6) p,#character ul.list li:nth-child(7) p,#character ul.list li:nth-child(8) p{margin-top: -130px;}

#keyword {padding: 100px 0 0;}
#keyword .inner {padding: 0;}
#keyword ul{display: flex;gap: 30px;margin-top: 40px;}
#keyword ul li{width:calc(470/980*100%);text-align: center;font-family: "Noto Serif JP", serif;line-height: 1.7;position: relative;}
#keyword ul li>div{height: 100%;padding: 30px 25px 40px;background: url(../img/box_bg.jpg) no-repeat bottom center / cover;}
#keyword ul li h3{font-size: 2.8rem;font-weight: 700;color: #E95098;}
#keyword ul li p{font-size: 1.7rem; font-weight: 700; padding-top: 1.5rem;color:#000;}

#gallery {padding: 100px 0 0;}
#gallery .inner {padding: 0;}
#gallery ul {margin-top: 40px;display: flex;}
#gallery ul li {position: relative;width: calc(100%/3);}
#gallery dl{position: relative;z-index: 2;}
#gallery ul dt{position: relative;}
#gallery ul dd{padding: 2rem;font-family: "Noto Sans JP", sans-serif;font-size: 1.7rem;font-weight: 500;line-height: 1.8;color:#000;background-color: #FFF;}
#gallery .click {position: absolute; top: 10px;left: 20px;z-index: 2;max-width: 90px;}
#gallery a {transition: filter 0.3s ease;}
#gallery a:hover {filter: brightness(0.9);}
#gallery a img {width: 100%;}
#gallery a:hover > img {opacity: 1;}
#gallery .bg-color{width: 100%;position: absolute;bottom: 0;left: 0;}

#special{padding: 100px 0 0;}
#special .inner>ul{display: flex;width: 100%;margin-top: 2em;flex-wrap: wrap;justify-content: space-between;}
#special .inner>ul >li{width: 48%;display: flex;box-sizing: border-box;text-align: center;}
#special .inner>ul >li dl{width: 100%;padding: 4rem 3.5rem 3rem;background: #fff;position: relative;}
#special .inner>ul >li dt{font-size: 2.4rem;font-weight: 700;line-height: 1.8;color: #fff;background-color: #E95098;padding: 0 3rem;width: 353px;position: absolute;top: 0;width: 100%;max-width: 353px;left: 50%;transform: translate(-50%, -50%);box-sizing: border-box;}
#special .inner>ul >li dd{font-size: 1.7rem;font-weight: 500;line-height: 1.8;text-align: center;color: #000;}
#special .inner>ul >li dd p{margin-bottom: 2rem;text-align: center;}
#special ul li figure{position: relative;}
#special ul li figure img{max-width: 100%;}
#special ul li.pay figure::before{position: absolute;content: "";width: 90px;height: 90px;top: 20px;left: 20px;background: url(../img/deco.png) no-repeat;background-size: 100%;}
#special .bg-color::before{-webkit-filter: blur(20px);filter: blur(20px);}

#special ul.in_list{margin-top: 8rem;gap: 7rem 0;}
#special ul.in_list dd{font-size: 2rem;line-height: 1.5;}

#special .button{display: flex;align-items: center;justify-content: center;margin: 6rem auto 0;background: url(../img/button.png) no-repeat center / contain;width:100%;max-width: 450px;height: 70px;color: #fff;font-size: 2.4rem;font-weight: 700;line-height: 1.5;text-align: center;box-shadow: 0 0 20px rgba(255,255,255,0.5),0 0 20px rgba(255,255,255,0.5),0 0 20px rgba(255,255,255,0.5);border-radius: 10px;transition: opacity 0.3s ease;}
#special .button:hover{opacity: 0.8;}

#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;}

#page-top.fade-in {
  color: #888;
  font-size: 4rem;
  opacity: 0.6;
  transition: opacity 1s;
  z-index: 100;
}

@media screen and (min-width: 769px) {
  #character ul li:nth-child(1),#character ul li:nth-child(2){width: 470px;}
  #character ul.list li:nth-child(1) figure,#character ul.list li:nth-child(2) figure{width: 67%;}
  #character ul.list li:nth-child(4) figure{width: 70%;}
  #character ul.list li:nth-child(7) figure{width: 90%;}
  #character ul.list li:nth-child(8) figure{width: 117%;margin-left: -8%;}
  #character ul.list li:nth-child(1) .cs,#character ul.list li:nth-child(2) .cs{bottom: 140px;width: 220px;}
  #character ul.list li:nth-child(6) .cs,#character ul.list li:nth-child(7) .cs,#character ul.list li:nth-child(8) .cs{bottom: 110px;}
  #character ul.list li:nth-child(1) h3,#character ul.list li:nth-child(2) h3{right: 60px;}
  #character ul.list li:nth-child(2) h3{top: -85px;}
  #character ul.list li:nth-child(1) p,#character ul.list li:nth-child(2) p{font-size: 1.7rem;padding: 2rem;margin-top: -200px;}
  #character ul.list li:nth-child(3) p{min-height: 148px;}

  #gallery ul dd:not(:first-child){border-left: 1px solid #D0D0D0;}
}

/*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, #gallery >.inner, #special >.inner, #books >.inner, #naroulink >.inner{padding: 0 5%!important;}

.bg-color::before{-webkit-filter: blur(20px);filter: blur(20px);}

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;
}

#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;z-index: -1;}
#visual >div>figure img{width: 100%; margin-left:0; margin-top:0;padding-top: 0;}

div.inner>h2{width: auto;height: 6rem;margin-bottom: 0;}
div.inner>h2 img{height: 6rem;width: auto;}

#buttons{margin-top: -70px;}
#buttons .bt1{display: none;}
#buttons ul li a{font-size:80%;}


#story{margin-top: 3rem;padding: 0 10px;}
#story .inner{padding: 30px 5% 40px !important;}
#story h2{width: 100%;margin: 0;}
#story p{font-size: 15px;text-align: left;margin-top: 20px;}

#character {padding: 50px 0 0;}
#character ul{width: 100%;justify-content:center;}
#character ul li{width:100%;max-width: 500px;padding: 20px 15px 30px;}
#character ul.list figure img {padding-bottom: 0; border-bottom: none;width: 90%;}
#character ul.list li:nth-child(5) figure img {width: 100%;}
#character ul.list li:nth-child(7) figure img {width: 100%;}
#character ul.list li:nth-child(8) figure img {width: 130%;margin-left: -15%;}
#character ul.list li:nth-child(4) .cs{bottom: 180px;}
#character ul.list li:nth-child(6) .cs,#character ul.list li:nth-child(7) .cs,#character ul.list li:nth-child(8) .cs{bottom: 120px;}
#character ul.list p{font-size: 1.4rem;}

#keyword {padding: 50px 0 0;}
#keyword ul{flex-direction: column;width: 100%;justify-content:center;}
#keyword ul li{width: 100%;max-width: 500px;margin-inline: auto;}
#keyword ul li>div{padding: 30px 20px 40px;}
#keyword ul li h3{font-size: 2.4rem;line-height: 1.3;}
#keyword ul li p{text-align: left;font-size: 1.4rem;}

#gallery {padding: 50px 0 0;}
#gallery ul {max-width: 500px;margin-inline: auto;flex-direction: column;gap: 30px;}
#gallery ul li{width: 100%;}
#gallery ul dd {font-size: 1.4rem;}

#special {padding: 50px 0 0;}
#special div.inner>h2,#special div.inner>h2 img{height: 7rem;}
#special .inner>ul{flex-direction: column;gap: 7rem;max-width: 500px;margin-inline: auto;}
#special .inner>ul >li{width: 100%;}
#special .inner>ul >li dl{padding: 4rem 2rem 3rem;}
#special .inner>ul >li dt{max-width: 270px;font-size: 2rem;}
#special .inner>ul >li dd p{font-size: 1.7rem;}
#special ul li.pay figure::before{top: 10px;left: 10px;width: 70px;height: 70px;}
#special .button{max-width: 338px;font-size: 1.8rem;background: url(../img/button_sp.png) no-repeat center / contain;}

#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;}
*/
}

