@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) top 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:0px;right:-104px; z-index:1;}
#visual>div>h1 img {width:90%;}
#visual>div>h2{position:absolute;top:460px;left:26px;text-align: right;}
#visual>div>h2 img {width:90%;}
#visual>div>h3{position:absolute; top:250px;right:-80px;}
#visual>div>h4{position:absolute;top:1160px;left: calc( 50% - 488.5px );}
#visual>div>h5{position:absolute;top:10px;right:157px;}
#visual>div>h6{position:absolute;bottom:550px;right:0px;}
#visual >div>figure img{width: 110%; margin-left: -5%;}

#buttons{position: relative;z-index: 5;margin-top: -9em;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: 3rem;}
#story .inner >h2 img,#character .inner >h2 img,#special .inner >h2 img{height: 11.4rem;}

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

.emphasis01{
  display: inline-block;
  position: relative;
}
.emphasis01::before{
  position: absolute;
  top: -0.9em;
  left: 50%;
  transform: translate(-50%, 0);
  color: #fff;
  font-size: 1.2em;
  content: "・";
}


#story{width: 100%;position: relative;z-index: 2;padding:6rem 2rem; margin:7rem auto 0;background-color: rgba(0, 173, 169, 0.9);}
#story .inner{width: auto;}
#story h2 {text-align: center;}
#story p{text-align:center;color:#ffffff;font-size: 1.6rem;font-weight: 500;line-height: 2;font-family: "Noto Sans JP", sans-serif;}

#character{position: relative;z-index: 2;padding: 6rem 0 0;}
#character .inner{padding: 0;}
#character .inner > p {text-align: center;}
#character ul.list{width:100%;margin: 5rem auto 0;list-style: none;}
#character ul.list li{position: relative;width:100%;background-color: #fff;display: flex;align-items: center;gap: 5rem;border: 5px solid #A3A7AA;color: #485156;font-family: "Noto Sans JP", sans-serif;padding: 0;}
#character ul.list li:not(:first-child){margin-top: 3rem;}
#character ul.list li::before,#character ul.list li::after{content: "";display: block;width: 5rem;height: 5rem;background-color: #A3A7AA;position: absolute;}
#character ul.list li::before{top: 0;left: 0;clip-path: polygon(100% 0, 0 0, 0 100%);}
#character ul.list li::after{bottom: 0;right: 0;clip-path: polygon(100% 0, 100% 100%, 0 100%);}
#character ul.list li .tag{width: auto;height: 45px;margin-left: -1.2rem;}
#character ul.list li > div{padding: 4rem 0 4rem 7.2rem;}
#character ul.list li h3{font-size: 4rem;font-weight: 700;line-height: 1.5;color: #A3A7AA;margin: 2rem 0 1.2rem;}
#character ul.list li h3 .name_color{color: #FDF100;}
#character ul.list li h3 .name_kana{font-size: 1.7rem;}
#character ul.list li p{font-size: 1.8rem;font-weight: 500;line-height: 1.8;letter-spacing: -0.03em;}
#character ul.list li figure{flex-shrink: 0;}

#character ul.list li:nth-child(2){border-color: #EE6D83;}
#character ul.list li:nth-child(2)::before,#character ul.list li:nth-child(2)::after{background-color: #EE6D83;}
#character ul.list li:nth-child(2) h3{color: #EE6D83;}
#character ul.list li:nth-child(2) h3 .name_color{color: #A874B0;}

#character ul.list li:nth-child(3){border-color: #F39800;}
#character ul.list li:nth-child(3)::before,#character ul.list li:nth-child(3)::after{background-color: #F39800;}
#character ul.list li:nth-child(3) h3{color: #F39800;}
#character ul.list li:nth-child(3) h3 .name_color{color: #EE6D83;}

#character ul.list li:nth-child(4){border-color: #00A7D4;}
#character ul.list li:nth-child(4)::before,#character ul.list li:nth-child(4)::after{background-color: #00A7D4;}
#character ul.list li:nth-child(4) h3{color: #00A7D4;}
#character ul.list li:nth-child(4) h3 .name_color{color: #F69838;}

#character ul.list li:nth-child(5){border-color: #B077B2;}
#character ul.list li:nth-child(5)::before,#character ul.list li:nth-child(5)::after{background-color: #B077B2;}
#character ul.list li:nth-child(5) h3{color: #B077B2;}
#character ul.list li:nth-child(5) h3 .name_color{color: #EB6CA3;}

#character ul.list li:nth-child(6){border-color: #00ADA9;}
#character ul.list li:nth-child(6)::before,#character ul.list li:nth-child(6)::after{background-color: #00ADA9;}
#character ul.list li:nth-child(6) h3{color: #00ADA9;}
#character ul.list li:nth-child(6) h3 .name_color{color: #00A7D4;}

#character ul.list li:nth-child(7){border-color: #EE6D83;}
#character ul.list li:nth-child(7)::before,#character ul.list li:nth-child(7)::after{background-color: #EE6D83;}
#character ul.list li:nth-child(7) h3{color: #EE6D83;}
#character ul.list li:nth-child(7) h3 .name_color{color: #A874B0;}

#character ul.list li:nth-child(8){border-color: #00ADA9;}
#character ul.list li:nth-child(8)::before,#character ul.list li:nth-child(8)::after{background-color: #00ADA9;}
#character ul.list li:nth-child(8) h3{color: #00ADA9;}
#character ul.list li:nth-child(8) h3 .name_color{color: #F69838;}

#special{margin: 6rem auto 0;}
#special .chart{position: relative;}
#special figure{display: block;}
#special .mask{display: block;position: absolute;width: 224px;height: 415px;top: 534px;cursor: pointer;}
#special .mask:hover{filter: brightness(1.1);}
#special .mask1{left: 21px;background-color: rgba(238,109,131,0.95);}
#special .mask2{left: 259px;background-color: rgba(243,152,0,0.95);}
#special .mask3{left: 497px;background-color: rgba(0,173,169,0.95);}
#special .mask4{left: 735px;background-color: rgba(0,167,212,0.95);}
#special .mask img{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);}

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

/*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, #special >.inner, #books >.inner, #naroulink >.inner{padding: 0 5%!important;}

#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{width: 100%; margin-left:0; margin-top:0;}

div.inner>h2{margin-bottom: 2rem;}
#story .inner >h2 img,#character .inner >h2 img,#special .inner >h2 img{height: 7rem;}

#buttons {margin: 0em;}
#buttons .bt1{display: none;}
#buttons ul li a{font-size:80%;}

#story{padding:4rem 0; margin:0 auto;}
#story p{font-size: 1.4rem;text-align: left;}

#character{padding: 4rem 0 0;}
#character .inner > p img {max-width: 100%;}
#character ul.list li{flex-direction: column;gap: 0;}
#character ul.list li > div{order: 2;padding: 2rem;}
#character ul.list li:nth-child(1) > div,#character ul.list li:nth-child(7) > div,#character ul.list li:nth-child(9) > div,#character ul.list li:nth-child(10) > div{padding: 4rem 2rem;}
#character ul.list li .tag{height: 30px;}
#character ul.list li h3{font-size: 2.4rem;margin: 1.5rem 0 1rem;}
#character ul.list li h3 .name_kana{font-size: 1.3rem;}
#character ul.list li p{font-size: 1.4rem;}

#special{margin: 4rem auto 0;}
#special figure{overflow-x: auto;}  
#special figure img{width: 100%;}
#special .mask{width: calc(224/980*100%);height: calc(410/980*100%);top: calc(514/980*100%);}
#special .mask1{left: calc(21/980*100%);}
#special .mask2{left: calc(259/980*100%);}
#special .mask3{left: calc(497/980*100%);}
#special .mask4{left: calc(735/980*100%);}
#special .mask img{width: calc(500/980*100%);}

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

