@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,.link_banner{width: 980px;margin: 0 auto;}
.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;width: 980px;}
#visual>div>h1{width:1166px;position:absolute;top: -50px;;left:50%;transform: translateX(-50%); z-index:1;}
#visual>div>h1 img {width:100%;}
#visual>div>h2{    width: 908px;
    position: absolute;
    top: 770px;left:50%;transform: translateX(-50%);}
#visual>div>h2 img {width:100%;}
#visual>div>h3{width: 240px;
    position: absolute;
    top: 66px;
    right: 234px;}
#visual>div>h3 img{width:100%;}
#visual>div>h4{width: 652px;
    position: absolute;
    top: 902px;left: 50%;transform: translateX(-50%);}
#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: 100%;}

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

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

.link_banner a img{
  width: 98%;
  height: auto;
  margin: 0 auto;
    border: #F082B6 solid 4px;
}
.link_banner a:hover{
  opacity: 0.5;
}
.link_banner a{
  width: 98%;
}

#story h2,
#character h2,
#special h2{
  height: 46px;
  width: auto;
  margin-bottom: 44px;
}
#special h2{
  height: 82px;
  width: auto;
}
#story h2 img,
#character h2 img,
#special h2 img{
  height: 100%;
  width: auto;
}

#story{width: 100%;position: relative;z-index: 2;padding:30px 40px; margin: 40px auto 0;background: #F082B6;}
#story .inner{width: auto;}
#story h2 {text-align: center;margin-bottom: 20px;}
#story p{text-align:center;color:#ffffff; margin: 40px auto 0; font-size: 1.6rem;font-family: "M PLUS 1p", sans-serif;;font-weight: 500; line-height: 1.6;}
#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;
  flex-direction: column;
  gap: 18px;
  width:100%;
  margin: 0 auto;
  list-style: none;
}
#character ul li{
  width:100%;
  display: flex;
  justify-content: space-between;
  padding: 12px;
  background: url(../img/c1_bg.png) center/cover no-repeat;
}
#character ul li:nth-child(2){
  background: url(../img/c2_bg.png) center/cover no-repeat;
}
#character ul li:nth-child(3){
  background: url(../img/c3_bg.png) center/cover no-repeat;
}
#character ul li:nth-child(4){
  background: url(../img/c4_bg.png) center/cover no-repeat;
}
#character ul.list li .c_text{
  width: 570px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#character ul.list li:nth-child(3) .c_text,
#character ul.list li:nth-child(4) .c_text{
  justify-content: end;
}
#character ul.list .c_text figure{
  width: 231px;
  height: auto;
}
#character ul.list li:nth-child(2) .c_text figure {
  margin-left: auto;
}
#character ul.list .c_text div{
  padding: 24px;
  background: #5ABDD7;
}
#character ul.list li:nth-child(2) .c_text div{
  background: #F082B6;
}
#character ul.list li:nth-child(3) .c_text div{
  background: #B996F0;
}
#character ul.list li:nth-child(4) .c_text div{
  background: #62C068;
}
#character ul.list .c_text div figure{
  height: 50px;
  width: auto;
  margin-bottom: 12px;
}
#character ul.list .c_text div figure img {
  height: 100%;
  width: auto;
}
#character ul.list .c_text p{
  text-align:left;
  color:#ffffff;
  font-size: 1.6rem;
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 500;
  line-height: 1.6;
}
#character ul.list li:nth-child(1) .c_c{
  width: 295px;
  height: auto;
}
#character ul.list li:nth-child(2) .c_c{
  width: 271px;
  height: auto;
}
#character ul.list li:nth-child(3) .c_c{
  width: 293px;
  height: auto;
}
#character ul.list li:nth-child(4) .c_c{
  width: 332px;
  height: auto;
}
.on_768 {
  display: none;
}


#special {padding: 100px 0 0;}
#special .inner {padding: 0;}
#special ul.s_goods{
  display: flex;
  gap: 18px;
}
#special ul.s_goods figure{
  width: 100%;
  height: auto;
}
#special ul.s_goods figure img{
  width: 100%;
  height: auto;
}
#special ul.s_goods li{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 49%; 
  padding: 24px;
  color:#333333;
  font-size: 1.6rem;
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 500;
  line-height: 1.6;
  position: relative;
  background-color: #fff;
  box-shadow: 0px 0px 16px 0px rgba(240, 130, 182, 1);
}
#special ul li h3{
  height: 36px;
  width: auto;
}
#special ul li h3 img{
  height: 100%;
  width: auto;
}
#special ul li p{
  text-align: center;
}
#special ul li:nth-child(2) p{
  height: 51px;
}
.text_b {
  height: auto !important;
}
#special ul.s_goods li div{
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
#special ul.s_goods li div img {
  width: 72px;
    height: 72px;
}
#special ul.s_etc{
  margin-top: 18px;
  padding: 24px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0px 0px 16px 0px rgba(240, 130, 182, 1);
}
#special ul.s_etc li{
  width: 49%;
  text-align: left;
}
#special ul.s_etc li p{
  margin-top: 12px;
  text-align: left;
}

.link_koho a {
  display: block;
  width: 70%;
  text-align:center;
  color:#ffffff !important;
  padding: 24px 0;
  font-size: 2.4rem;
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 500;
  background-image: linear-gradient(90deg, rgba(54, 213, 255, 1), rgba(255, 151, 200, 1));
  margin: 50px auto 0;
  border-radius: 8px;
}
.link_koho a:link,
.link_koho a:visited{
  color: #fff;
}


#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) {
  #gallery a img {width: auto;height: 400px;margin-inline: auto;}
}

/*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,.link_banner{width: 100%;;}
#story >.inner, #character >.inner, #special >.inner, #gallery >.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{width: 100%;}
#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;}

div.inner>h2{width: auto;height: 5rem;margin-bottom: 0;}
div.inner>h2 img{height: 5rem;width: auto;}

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


#story h2,
#character h2,
#special h2{
  height: 5vw;
  min-height: 36px;
  width: auto;
}
#special h2{
  height: 8.91vw;
  min-height: 64px;
  width: auto;
}


#story{margin-top: 3rem;padding: 40px 10px;}
#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.list figure img {padding-bottom: 0; border-bottom: none;width: 90%;}
#character ul.list h3> img{max-width: 120px;}
#character ul.list p{font-size: 1.4rem;}
#character ul.list .c_text p{
  font-size: 1.4rem;
}
#character ul li {
  padding: 0;
}
.on_768 {
  display: block;
  background: none !important;
  margin: 0 auto;
}
.no_768 {
  display:none;
}
#character ul li:nth-child(4) {
 display: flex
;
        flex-direction: column;
}
#character ul.list li .c_text {
  width: 100%;
  position: relative;
}
#character ul.list .c_text div figure {
  height: 42px;;margin-bottom: 6px;
}
#character ul.list .c_text div {
  padding: 12px;
}

#character ul.list .c_text figure {
    width: 200px;
}
#character ul.list li:nth-child(1) .c_c,
#character ul.list li:nth-child(2) .c_c,
#character ul.list li:nth-child(3) .c_c,
#character ul.list li:nth-child(4) .c_c{
      width: 50vw;
      min-width: 240px;
      margin: 0 auto;
}
.cb1{
  position: absolute;
    top: 50%;
    width: 40vw;
    transform: rotate(-0deg);
    right: 0;
}
.cb2{
    position: absolute;
    top: 53%;
    width: 40vw;
    transform: rotate(-0deg);
    right: 0;
}


#character ul li{
  background:   linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)),url(../img/c1_bg.png) center/cover no-repeat;
}
#character ul li:nth-child(2){
  background:   linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)),url(../img/c2_bg.png) center/cover no-repeat;
}
#character ul li:nth-child(3){
  background:   linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)),url(../img/c3_bg.png) center/cover no-repeat;
}
#character ul li:nth-child(4){
  background:   linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)),url(../img/c4_bg.png) center/cover no-repeat;
}


#special {padding: 50px 0 0;}
#special ul{flex-direction: column;width: 100%;justify-content:center;}
#special ul li{width: 100%;max-width: 500px;margin-inline: auto;}
#special ul li .key_p{border-image: url(../img/border.png) 40;border-image-width: 50px;}
#special ul li h3 {
  height: 24px;}
#special ul li p{text-align: center;font-size: 1.4rem;}
#special ul li:nth-child(2) p{
  height: auto;
}

#special ul.s_goods {
  flex-direction: column;
}
#special ul.s_goods li {
  width: 100%;}
  #special ul.s_etc li {
    width: 100%;
    text-align: center;
  }
  #special ul.s_etc li p {
    text-align: center;}

#special ul.s_goods li div img {
  width: 56px;
    height: 56px;
}
.link_koho a {
  display: block;
  width: 90%;
  text-align:center;
  color:#ffffff !important;
  padding: 16px 0;
  font-size: 1.6rem;
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 500;
  background-image: linear-gradient(90deg, rgba(54, 213, 255, 1), rgba(255, 151, 200, 1));
  margin: 50px auto 0;
  border-radius: 8px;
}


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

