@import url('https://fonts.googleapis.com/earlyaccess/roundedmplus1c.css');
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;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;
  -moz-user-select: none;
  -ms-user-select: none;
      user-select: none;
  vertical-align: bottom;
  -webkit-user-select: none;
  width: auto;
  height: auto;
  -ms-interpolation-mode: bicubic;}
a img{display:block;}


.outer .inner img {width: 100%;height: auto;}

#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;}
#narou_head .inner img {height: 17px;width: auto;}

.outer{
  background: url(../img/bg.png) fixed;
  background-size: cover;
  background-position: top center;
}
.outer >footer{background: none;color:#fff;text-align:center;}
.outer .inner{width: 980px; text-align: center;}
.outer a:hover{text-decoration:none;}


#visual{margin-bottom: -110px; position: relative;z-index: 2;width: 1030px;margin: 0 auto;}
#visual>div{position:relative;text-align: center;margin: 0 auto;}
#visual>div>h1 {position:absolute;top: 20px;right: 0;left: 0;}
#visual>div>h2{
  position:absolute;
  top: 748px;
  right: 103px;
  width: 635px;
}
#visual>div>h3{position:absolute; top: 66px;left: calc(50% - -236px);}
#visual>div>h4{
  position:absolute;
  top: 1048px;
  left: calc(50% - 467px);
}
#visual>div>h5{position:absolute;top:670px;left:0;}
#visual >div>figure img{width: 980px;margin-left: -80px;margin-top: -56px;}

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

#story div.inner>h2,#character div.inner>h2,#chart div.inner>h2,#gallery div.inner>h2,#special div.inner>h2 {
  text-align:center;
  margin-bottom: 4.2em;
}
#story div.inner>h2 img,#character div.inner>h2 img,#chart div.inner>h2 img,#gallery div.inner>h2 img {height: 5rem;width: auto;}

/* #story >.inner,#character >.inner,#chart >.inner,#books >.inner{padding:0 10%;} */

h2 img{
  height: 50px;
}


#story {
  width: 100%;
  padding: 2.8em 4.2em;
  margin: 5em auto 0;
  background: radial-gradient(circle, #fff, #ffffffab);
  box-shadow: 0px 0px 18px 0px rgba(235, 97, 124,0.5)
}
#story h2 {
  text-align: center;
  margin-bottom: 4.2em;
}
#story h2 img {
  height: 5rem;
  width: auto;
}
#story p{
  text-align:center;
  color: #2b2b2b;;
  width: 100%;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.7rem;
  line-height: 1.6;
  font-weight: 600;
}

#character {
  width: 100%;
  margin: 5em auto 0;
}
#character ul{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2.1em;
}
.c_top{
  width: 48.5%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0px 0px 18px 0px rgba(0, 179, 187,0.5)
}
.c_top figure img{
  width: 100%;
  height: auto;
}
.c_ul .c_top{
  width: 31.5%;
}
#character h3 img {
  height: 46px;
  width: auto;
}
#character .c-p1,
#character .c-p2,
#character .c-p3,
#character .c-p4,
#character .c-p5 {
  font-size: 1.8em;
  line-height: 1.4;
  font-weight: 900;
}
.em-dot {
  background: top left / 1em .5em repeat-x radial-gradient(circle, #3b3b3b .06em, rgba(0, 0, 0, 0) .06em);
  padding-top: .2em;
}
#character .c-p1,
#character .c-p4{
  color: #00B3BB;
}
#character .c-p2,
#character .c-p5{
  color: #EB617C;
}
#character .c-p3{
  color: #9B73AF;
}

#gallery ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#gallery li {
  padding: 0.8em 0.5em;
  background: #fff;
  box-shadow: 0px 0px 18px 0px rgba(155, 115, 175,0.5)
}
#gallery p{
  text-align:center;
  color: #2b2b2b;;
  width: 100%;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.7rem;
  line-height: 1.6;
  font-weight: 600;
}
#gallery .g_1 p,
#gallery .g_2 p{
  margin-top: 1em;
}
#gallery .g_1 {
  width: 62%;
}
#gallery .g_2 {
  width: 35.5%;
}
.g_1 img {
  width: 100%;
}
.g_1 div,
.g_2 div {
  overflow: hidden;
}
#gallery .g_1 img,
#gallery .g_2 img {
  transition: transform .6s ease;
}
#gallery .g_1:hover img,
#gallery .g_2:hover img{
transform: scale(1.1);
}

#special {
  font-weight: bold;
  width: 100%;
  margin: 10em auto 0;
}

#special h2 img {
  height: 86px;
  width: auto;
}

#special ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 64px;
}
#special li {
  width: 48.5%;
  text-align: center;
}
#special .s_t{
  display: flex;
  height: 3.2em;
  color: #fff;
  justify-content: center;
  align-items: center;
}
#special .g_p1 {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.7em;
  background: #680036;
  padding: 0 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
}
#special .g_p2,
.g_st {
  font-family: "Mochiy Pop One", sans-serif;
  font-size: 1.7em;
  letter-spacing: 5%;
  background: #EB617C;
  padding: 0 1em;
  display: flex;
  justify-content: center;
  align-items: center;
    height: 45px;
}
.g_p2{
  width: 227px;
    text-align: center;
}
#special .g_img {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: -20px;
  background: #fff;
  padding: 2.8em 2.1em 2em 2.1em; 
  box-shadow: 0px 0px 18px 0px rgba(235, 97, 124,0.5)
}
#special .g_img p{
  text-align: center;
  line-height: 2vw;
}
.g_bold {
  font-weight: 900;
  margin-bottom: -12px;
}
.g_1 img {
  height: 447px;
  width: auto;
}
.g_st {
  z-index: 999;
  width: 320px;
  color: #fff;
  align-items: center;
  display: flex;
  justify-content: center;
  z-index: 999;
  margin: 0 auto;
  font-family: "Mochiy Pop One", sans-serif;
}
.g_s{
  display: flex;
  flex-direction: column;
}

#character,
#gallery,
#special {
  margin: 7.1em auto 0;
}
#gallery .g_1 img {
  width: 100%;
}
#special .g_1 img{
  width: 80%;
}
.ul_bottom {
  row-gap: 36px !important;
}



.btn{
  padding: 12px 24px;
  font-size: 16px;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(251, 213, 251, 1), rgba(149, 233, 243, 1));
  border-radius: 12px;
  box-shadow: 0px 0px 30px 0px rgba(235, 97, 124,0.5);
  max-width: 250px;
}

.a_link {
    display: block;
    padding: 1em 6em;
    margin
: 60px auto;
    width: 90%;
    font-size: 24px;
    background-image: linear-gradient(90deg, rgba(251, 213, 251, 1), rgba(149, 233, 243, 1));
    border-radius: 12px;
    font-weight: bold;
    color: white;
    letter-spacing: 4px;
    box-shadow: 0px 0px 30px 0px rgba(155, 115, 175, 0.5);
}
#a_link >a{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%;  max-height: 125px;}

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

body {overflow-x: hidden;}
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; /*fixedをトル！*//*Android4*/
  background-size: cover;
  }


#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: -7vw;
  margin-top: -6px;
  width: 100%;
}
#visual >div>figure img{width: 100%; margin:0;}

#character, #gallery, #special {
    margin: 6em auto 0;
}

#character ul,
#gallery ul,
#special ul {
  min-width: 350px;
}
character h3 img {
    height: 36px;
    width: auto;
}

#story h2,#character div.inner>h2,#chart div.inner>h2,#gallery div.inner>h2 {margin-bottom: 2.4em;}
#special div.inner>h2{
  margin-bottom: 1em;
}
#story h2 img,#character div.inner>h2 img,#chart div.inner>h2 img,#gallery div.inner>h2 img
{height: 6vw;
  width: auto;
}
#character h3 img {
  height: 36px;
}

#character, #gallery, #special {
    margin: 4em auto 0;
}
#special h2 img{
height: 11vw;
}

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

#story{width:90%;margin-top: 5em;padding: 3%;}
#story .border {
  border: 1px solid #000;
  border-image: url(../img/border.png) 60;
  border-image-width: 2.6em;
}
#story h2 {
  margin: 1em 0
}
#story p{padding: 0 4% 6% 4%;margin: 0;box-sizing:border-box;font-size: 3.2vw;text-align: justify;line-height: 2;}
.emphasis::before {
  position: absolute;
  top: -0.8em;
  left: 50%;
  transform: translate(-50%, 0);
  color: #002147;
  font-size: 1.2em;
  content: "・";
}





#gallery {padding: 3em 0 0;}
#gallery ul.gallery_list li {
  padding: 1em;
  width: 90%;
}
#gallery ul.gallery_list li a {font-size: 3vw;}
#gallery ul.gallery_list li a>div {
  overflow: hidden;
  border: 4px solid #fff;
  box-sizing: border-box;
  border-radius: 10px;
}
#character .c-p1, #character .c-p2, #character .c-p3, #character .c-p4, #character .c-p5{
  text-align: center;
        font-size: 1.5em;
}
.g_p1{
  font-size: 8px;
}
.g_p2{
  font: 12px;
}
.c-t {
  font-size: 1em;
}
#character ul,
#gallery ul{
  flex-direction: column;
  gap: 24px;
        margin: 0 auto;
  margin-bottom: 24px;
  width: 70%;
}
#character li,
#gallery li,
#special li{
  width: 90%;
  margin: 0 auto;
}
#special .g_p1,
#special .g_p2{
font-size: 2.4vw;
        height: 6vw;
}
.g_st {
font-size: 2.4vw;
        height: 6vw;
}
#special ul {
  flex-direction: column;
  gap: 24px;
  width: 70%;
        margin: 0 auto;
}
#special .g_img {
  gap: 1;
}
.ul_bottom {
  width: 100% !important;
}
#special .g_img p {
    line-height: 5vw;
}
.outer .inner .g_1 img {
    width: 100%;
}

.a_link {
    display: block;
    padding: 3vw;
    font-size: 14px;
}
#special .s_t {
  width: 70%;
    margin: 0 auto;
}
.g_p1,.g_st {
  min-width: 36px;
}
.ul_bottom .g_st{
  width: 70%;
  margin-bottom: -0.5vw;
}
#special .ul_bottom .g_img {
  margin-top: -2vw;
}

#special .g_img{
  padding-left: 1em;
  padding-right: 1em;
}
#special .ul_bottom .g_img {
    padding-left: 2em;
  padding-right: 2em;
}

#special .g_1 img,
#special .g_2 img {
    width: 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%;}

}

@media screen and (max-width: 425px) {
    #special .g_p1, #special .g_p2,.g_st {
        font-size: 3.4vw;
        height: 7vw;
    }
        #story h2 img, #character div.inner>h2 img, #chart div.inner>h2 img, #gallery div.inner>h2 img{
          height: 8vw;
        }
}
/*
.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;}
*/


