@import url('https://fonts.googleapis.com/earlyaccess/roundedmplus1c.css');
@import url('https://fonts.googleapis.com/css2?family=New+Tegomin&family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');

/*基本設定*/
:root {
  --base-font-size: 16px;
  --border-radius:0.5em;
  --border-radius-b:2em;
  --clamp:clamp(0px, calc(16/1280*100vw), 1.72em);
  --swiper-theme-color:#54B332;
  --allwidth:980px;
  --innerwidth:980px;
}

main{width: var(--allwidth);margin:0 auto}
.inner{max-width: var(--innerwidth);margin:0 auto;position: relative;}

html{font-size: 62.5%;}
body,table{font-family: 'Zen Old Mincho', serif;font-size: 1.4rem;color:#fff;}
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;}
br.br_sp{display: block;}
br.br_on{display: none;}

a:hover>img{opacity:0.7;text-decoration:underline;}
img{display:block;pointer-events: all;}
body::before {
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
  background:#fff url(../img/bg.png) top/cover no-repeat;
  -webkit-background-size:cover;/*Android4*/
  background-size: cover;
  }


/*コンテンツ*/
.outer{max-width:var(--allwidth);margin: 0 auto;}

div.visual img{
  width: 100%;
}
div.visual{width: 100%;}
div.visual .inner{width: 90%;}
div.visual h1,div.visual h2,div.visual h5,div.visual h3,div.visual h4{position: absolute;z-index: 1;}
div.visual figure {
  width: 100%;
  mask-image: linear-gradient(to top, transparent 0%, #000 10%);
}
div.visual figure img{mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);}
div.visual h1{
  width: 50%;
  left: 67%;
  top: -1em;
  margin: auto;
}
div.visual h2{
  width: 100%;
  left: 0;
  top: 61em;
}
div.visual h3{
  width: 20%;
  top: 5em;
  left: 0%;
}
div.visual h4{
  width: 100%;
  left: 0;
  right: 0;
  margin: auto;
  top: 71.5em;
}



h2.cent {
  margin-bottom: 5em;
}
h2.cent img {
  max-height: 64px;
  margin: 0 auto;
}

div.story{
  box-shadow: 0 0 1em 0 #00000098;
  width: 100%;
  margin: 0 auto 5em;
  position: relative;
  padding: 3em 2em 5em 2em;
  background: #fff;
}
div.story h2.cent {margin-bottom: 1em;}
div.story >div{width: 100%;}
div.story >div p{
  text-align: center;
  line-height: 1.6;
  font-size: 1.2em;
  color: #231815;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}

div.comment {margin: 0 auto 5em;}
div.comment figure img {width: 80%;height: auto;margin: 0 auto;box-shadow: 0 0 1em 0 #00000098;}

div.character{margin: 0 auto 5em;}
div.character ul{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
div.character ul li{
  width: 49%;
}
div.character ul li figure,
div.character ul li figure img{
  width: 100%;
  height: auto;
  position: relative;
  z-index: -1;
}
div.character ul li figure img{
  filter: drop-shadow(0px 0px 5px #fff);
}
div.character ul li h3{
  height: 54px;
  width: auto;
}
div.character ul li h3 img{
  height: 100%;
  width: auto;
}
div.character ul li div{
  background: #fff;
  height: 215px;
  box-shadow: 0 0 1em 0 #00000098;
}
div.character ul li .detail{
  padding: 24px;
  padding-top: 12px;
  line-height: 1.6;
  font-size: 1.1em;
  color: #231815;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
}
div.character ul li .detail span{
  font-size: 1.4em;
  font-weight: 700;
  color: #E5005A;
  margin-bottom: -18px;
  display: block;
}
div.character ul.first{margin-bottom: 2em;}

div.gallery {margin: 0 auto;}
div.gallery ul{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
div.gallery ul li{
  box-shadow: 0 0 1em 0 #00000098;
}
div.gallery ul li,
div.gallery ul li img{
  width: 100%;
  height: auto;
}


/*共通*/
#narou_head{margin-bottom: 0;background: #000; padding: 0.5em;max-height: 42px;color:#fff;position: relative;z-index: 3;}
#narou_head .inner img {height: 17px;width: auto;}
#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;font-family: 'Rounded Mplus 1c', sans-serif;font-family: 'Rounded Mplus 1c', sans-serif;}


.buttons{
  position: relative;
  z-index: 5;
  margin-bottom: 2.5em;
  margin-top: -94px;
}
.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%;font-family: 'Rounded Mplus 1c', sans-serif;}
.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;}

#read{padding: 6em 0 8em;}
#read span{font-size:70%;}
#read b{font-weight:bold;font-size:150%;}
#read a{font-family: 'Rounded Mplus 1c', sans-serif;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;}

div#books {padding: 4em 0;background: rgba(0,0,0,0.5);background:}
#books .inner{padding: 0;margin-top: -6em;;}
#books h2{font-family: 'Rounded Mplus 1c', sans-serif;color: #3b3b3b;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;font-family: 'Rounded Mplus 1c', sans-serif;}
#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;font-family: 'Rounded Mplus 1c', sans-serif;}
#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);background:}
#naroulink .inner{margin-top: -6em;;}
#naroulink h2{font-family: 'Rounded Mplus 1c', sans-serif;color: #3b3b3b;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;}


/*smartphone*****************************************************************************************************************************************************************************************/
@media screen and (max-width: 1180px) {
  .outer {font-size: calc(9.5/390*60vw);width: 100vw;}
  .outer .visual{font-size: calc(7.5/390*60vw);width: 100vw;}
  .inner{max-width: 100%;width: 100%;}
}


@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{font-size: calc(9.5/390*60vw);overflow: hidden;}
.outer .visual{font-size: calc(9.5/390*60vw);}
.outer div.visual figure {width: 100%;margin-left: 0;}
.outer div.visual figure img{mask-image: none;}
.outer ruby>rt {font-size: 60%;margin-bottom: -0.5em;}

.buttons {
  margin-top: 8vw;
  min-height: 30px;
}
.buttons ul{display: flex;flex-wrap: wrap;width: 90%;margin: 0 auto;}
.buttons ul li{border: 0.2em #fff solid;}
.buttons ul li a{padding: 1.25em;font-size: 2em;}
.bt1{
  display: none;
}

/*コンテンツ*/
div.visual img{margin-bottom: -10em;}
div.visual h1 {
  top: 0em;
  left: 64%;
}
div.visual h2 {
  width: 100%;
  left: 0;
}
div.visual h3 {
  top: 52em;
}
div.visual h4 {
  width: 100%;
}
h2.cent img {
  height: 6vw;
  min-height: 28px;
}

div.story{width:90%;font-size: 2em;padding: 3em;border-image-width: 2em;}
div.story >div p{text-align: justify; font-size: 16px;}
br.br_sp{display: none;}
br.br_on{display: block;}
div.comment figure img {width: 90%;}
div.character{width: 90%;}
div.character ul{justify-content: space-around;flex-wrap: wrap;}
div.character ul.first li{
  flex-direction: column;
  justify-content: center;
}
div.character ul li h3 {
  height: 6.5vw;
  min-height: 36px;
}
div.character ul li div {
  margin: 0 auto;
  height: auto;
  width: 80%;
  min-width: 337px;
}
div.character ul li .detail {
  font-size: 14px;
}
div.character ul li .detail span {
  font-size: 20px;
}
div.character ul li {
  width: 90%;
  min-width: 337px;
  max-width: 500px;
}
div.character ul li figure, div.character ul li figure img {
  width: 90%;
  margin: 0 auto;
}
div.character ul li .detail p{font-size: 2em;text-align: left;}
div.character ul li .detail span {
  margin-bottom: -2.5vw;
}
div.gallery{width: 90%;}



/*--------*/

#read {padding: 4em 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%;}
#naroulink a{width: 90%; margin: 0 auto;}

/*
.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;}
*/
}
@media screen and (max-width: 425px) {
    div.character ul li .detail span {
      font-size: 1.6rem;
    }
}
