@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:1180px;--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;}

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:#393776 url(../img/bg.jpg) bottom/cover no-repeat;-webkit-background-size:cover;/*Android4*/background-size: cover;}


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

div.visual img{width: 100%;margin-bottom: -10em;}
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 {mask-image: linear-gradient(to top, transparent 0%, #000 10%);margin-bottom: 0;}
div.visual figure img{mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);}
div.visual h1{width: 45%;right: -12%;top: -5em;}
div.visual h2{width: 85%;left: 0%;top: 48em;right: 0;margin: auto;}
div.visual h3{width: 11%;top: 3em;left: 5%;}
div.visual h4{width: 90%;left: 0;right: 0;margin: auto;top: 59em;}
div.visual h5{width:20%;width: 20%;/* left: 0; */right: -2em;margin: auto;top: 2em;}

h2.cent {margin-bottom: 2em;height:8em;}
h2.cent img{height: 100%;margin: 0 auto;}

div.story{width: 90%;margin: 0 auto 5em;position: relative;/* padding: 3em; */position:relative;}
div.story >div{width: 100%;color: #e75297;position: relative;padding: 5em;background: #fff699;border: 1em #fff solid;box-shadow: 0 0 1em #00000050;}
div.story >div p{text-align:center;line-height: 1.8;font-size: 1.2em;}
div.story >div p b{font-size: 1.4em;font-weight: bold;}

div.character{margin: 0 auto 5em;}
div.character ul{display: flex;justify-content: center;gap: 2%;width: 90%;margin: 0 auto;flex-wrap: wrap;}
div.character ul li{position:relative;width: 32%;margin-bottom: 3em;background: #e75297;display:block;border: 1em #fff solid;box-shadow: 0 0 1em #00000050;box-sizing: border-box;}
div.character ul li:before{background:url(../img/after.png);position:absolute;display:block;content:'';width: 12em;height: 10em;z-index: 5;top: -1em;left: -1em;    transform: rotate(180deg);}
div.character ul li:after{background:url(../img/after.png);position:absolute;display:block;content:'';width: 12em;height: 10em;z-index: 5;right: -1em;bottom:-1em;}
div.character ul li div figure{position: relative;margin-top: -3em;z-index: 1;}
div.character ul li div img{width: 100%;}
div.character ul li div.detail{position: unset;}
div.character ul li div.detail h2{writing-mode: vertical-rl;position: absolute;right: 1em;top: 1em;color: #ffe100;font-size: 1.5em;}
div.character ul li div.detail h2 span{font-size: 0.7em;}
div.character ul li div.detail div.cinfo{z-index: 1;position: relative;bottom: 0.5em;width: 100%;padding: 2em;/* text-shadow: 0 0 1em #5a5699, 0 0 1em #5a5699,0 0 1em #5a5699, 0 0 1em #5a5699; */}
div.character ul li div.detail div.cinfo h3{margin-bottom: 0.3em;font-size: 1.5em;}




div.introduction{margin: 0 auto 5em;}
div.introduction ul{display: flex;flex-direction: column;justify-content: center;gap:1.3%;    width: 90%;margin: 0 auto;}
div.introduction ul li{border: 1em #fff solid;box-shadow: 0 0 1em #00000050;box-sizing: border-box;margin-bottom: 1em;}
div.introduction ul li img{width: 100%;}
div.introduction ul li div{   display: flex;flex-direction: column; flex-grow: 1;}
div.introduction ul li .detail{padding: 1em 1em 0 1em;flex-grow: 1;display: flex;flex-direction: column;}
div.introduction ul li .detail p{flex-grow: 1;text-align: center;}
div.introduction ul li div h3{text-align: center;font-size: 1.4em;}

div.other{margin: 0 auto 5em;}
div.other h2.cent {height: 6em;}
div.other ul{display: flex;justify-content: center;gap:1.3%;    width: 90%;margin: 0 auto;}
div.other ul li img{width: 100%;}

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


.buttons{position: relative;z-index: 5;margin-bottom: 1.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%;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{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;font-family: 'Rounded Mplus 1c', sans-serif;}
#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;font-family: 'Rounded Mplus 1c', sans-serif;color: #3b3b3b;}
#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);}
#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;font-family: 'Rounded Mplus 1c', sans-serif;color: #3b3b3b;}
#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(8/390*60vw);width: 100vw;}
  .outer .visual{font-size: calc(8.3/390*60vw);width: 100vw;}
  div.visual img{margin-bottom: -20em;}
  .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(8/390*60vw);overflow: hidden;}
.outer .visual{font-size: calc(8/390*60vw);}
.outer div.visual figure img{mask-image: none;}

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

h2.cent{margin-bottom: 6em;height: 7em;box-sizing: border-box;text-align: center;transform: scale(1.5);}


/*コンテンツ*/

div.visual img{margin-bottom: -10em;}
div.story{width:90%;}
div.story >div{padding: 6em 3em 3em 3em;}
div.story >div p{text-align: left;font-size: 2.4em;}
div.character{width: 100%;}
div.character ul{justify-content: space-around;flex-wrap: wrap;}
div.character ul.first li{width: 48%;}
div.character ul li div.detail div.cinfo{width: 100%;}
div.character ul li div.detail h2{font-size: 3.6em;}
div.character ul li div.detail div.cinfo h3{font-size: 2.6em;margin-bottom: 0.5em;}
div.character ul li div.detail div.cinfo p{font-size: 2.4em;}

div.keyword{width: 100%;}
div.keyword p{font-size: 2em;}
div.keyword ul li{width: 100%;}
div.gallery{width: 100%;}
div.gallery ul{justify-content: space-around;}
div.gallery ul li{width: 80%;margin-bottom: 1.5em;}
div.gallery ul li p{font-size: 2em;text-align: left;}


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

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

