@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.png) center/cover no-repeat;
}

.outer >footer{background: none;color:#fff;text-align:center;}
.outer .inner{
  width: 980px;
  text-align: center;
}
.outer a:hover{text-decoration:none;}
#visual img{
  width: 100%;
}
#visual{
  margin-bottom: 120px;
  position: relative;
  z-index: 2;
}
#visual>div{position:relative;text-align: center;margin: 0 auto;}
#visual>div>h1{
  position:absolute;
  z-index:1;
}
#visual>div>h2{
  position:absolute;
  top: 894px;
}
#visual>div>h3{
  width: 178px;
  height: auto;
  position:absolute;
  top: 520px;
  right: 50px;
}
#visual>div>h4.sale{
  position:absolute;
  top:1030px;
  left: calc(50% - 392px);
  width: 80%;
}
#visual>div>h4.i-popup {
  width: 246px;
  height: auto;
  position: absolute;
  top: 656px;
  z-index: 1;
  transition:1s all;
}
#visual>div>h4.i-popup:hover {
  transform:scale(1.2,1.2);
  transition:1s all;
}
.pc {
  margin-top: -48px;
}


#buttons{position: relative;z-index: 5;margin-top: -216px;}
#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;} */

#books >.inner{padding:0 10%;}

/* タイトル設定 */
#story h2,
#character h2,
#about h2 {
  height: 79px;
  text-align: center;
  margin-bottom: 36px;
}
#story h2 {
  margin-bottom: 24px;
}
#about h2 {
  height: 161px;
}
#story h2 img,
#character h2 img,
#about h2 img{
  height: 100%;
  width: auto;
}

#story{
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 60px 36px;
  margin: 60px auto 0;
  background: rgba(255, 255, 255,0.8);
}
#story .inner{width: auto;}
#story p{
  text-align:center;
  color:#2B2B2B;
  margin: 30px auto 0;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 2;
  font-weight: 600;
}
#story p img{max-width: 90%;width:auto;}

/* セクション余白 */
#character,
#about{
  position: relative;
  z-index: 2;
  padding: 120px 0 0;
}

#character .inner{padding: 0;}

#character >.inner{
  position: relative;
}
#character >.inner >div.equal{
  width: 240px;
  position: absolute;
  left: 45%;
  top: 500px;
}
#character >div.inner >div.equal img{
  width: 100%;
  height: auto;
}

#character ul{display: flex; gap: 20px 30px; width:100%;margin: 40px auto 0;list-style: none;
  padding-top: 0.5vw;
}
#character ul li{
  width:31%;
  text-align: center;
}
#character ul li.equal_sp{
  display: none;
}

#character ul li:first-child{
  width: 57%;
  outline: 6px solid #E4007F;
  border-radius: 24px;
  box-shadow: 0px 0px 24px 0px #E4007F;
  background:  rgba(255, 255, 255, 0.5);
}
#character ul li:first-child p{
  width: 90%;
  margin: 0 auto;
  padding-bottom: 12px;
} 
#character ul.list figure{text-align: center;}
#character ul li:nth-child(7) h3{padding-top: 1.2em;}
#character ul.list h3{
  padding-top: 1.7em;
  height: 5.2em;
}
#character ul.list h3> img{
  height: 100%;
  width: auto;
}
#character ul.list h4{font-size:1.8rem;margin-bottom: 0.75em;margin-top: -7em;font-weight: 600;font-family:a-otf-midashi-go-mb31-pr6n, sans-serif;}
#character ul.list h4 img {width: auto;}
#character ul.list p{
  color:#2B2B2B;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  padding-top: 12px;
  font-family: "Noto Sans JP", sans-serif;
}

#about ul {
  display: inline-flex;
  flex-direction: column;
}
#about ul li {
  display: flex;
  align-items: center;
}
#about ul li h3{
  width: 120px;
}
#about ul li h3 img{
  width: 100%;
  height: auto;
}
#about ul li p{
  font-size: 2.1em;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  color:#2B2B2B;
}
#about figure{
  margin-top: 12px;
  width: 100%;
  height: auto;
}
#about figure img{
  width: 100%;
  height: auto;
}

#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;
  width: 50%;
}
#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;
}

/*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, #about >.inner, #about >.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.png) 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>div>h4.i-popup {
  display: inline-block !important;
  width: 26vw;
  top: 66vw;
  left: 4vw;
  min-width: 82px;
}

.sp {
  width: 100%;
}

#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;}

div.inner>h2{width: auto;height: 5rem;margin-bottom: 0;padding-top: 1em;}
/* div.inner>h2 img{height: 100%;width: auto;} */
div.inner>h2 img{height: 5rem;width: auto;}

#buttons {
  margin-top: -21vw;
}
#buttons .bt1{display: none;}
#buttons ul li a{font-size:80%;}

/* セクションタイトル */
#story h2,
#character h2,
#about h2 {
  height: 8vw;
  min-height: 40px;
  margin-bottom: 18px;
}
#about h2 {
  height: 12.8vw;
  min-height: 52px;
}
#story{
  margin-top: 0rem;
  padding: 30px 16px;
}
#story h2{width: 100%;margin: 0;margin-top: 0.5em;}
#story p{
  font-size: 12px;
  text-align: left;
}

#character {padding: 50px 0 0;}

#character >.inner >div.equal{
  display: none;
}
#character ul li.equal_sp{
  display: block;
  width: 20%;
  margin: -5.2vw auto;
}
#character ul li.equal_sp img{
  width: 100%;
}


#character ul{
  width: 90%;
  justify-content:center;
  margin: 0 auto;
  gap: 0px;
}
#character ul li{
  width: 100%;
}
#character ul li figure{
  width: 56%;
  margin: 0 auto;
}
#character ul li:first-child {
  width: 100%;
}
#character ul li:first-child figure{
  width: 100%;
}
#character ul li:first-child p{
  padding-bottom: 0;
  width: 100%;
}
#character ul.list div{
  padding: 1em;
  margin: 0 auto;
  width: 80%;
  min-width: 288px;
}
#character ul.list h3> img{
  height: 6vw;
  min-height: 40px;
}
#character ul.list h3 {
  padding-top: 0;
  height: auto;
}
#character ul.list p {
  font-size: 12px;
}

#about {padding: 50px 0 0;}
#about ul{flex-direction: column;width: 100%;justify-content:center;}
#about ul li h3{
  width: 8vw;
  min-width: 60px;
}
#about ul li p{
  font-size: 1.1em;
}
#about ul,
#about figure {
  max-width: 500px;
  margin: 12px auto 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%;}
}

