@charset "UTF-8";
/* 初期設定 */
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  line-height: 1.6;
  color: #3b3b3b;
  text-align: left;
}
table {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
p, a {
  text-align: inherit;
  word-wrap: break-word;
}
li, dd, dt {
  letter-spacing: normal;
  list-style: none;
}
a {
  text-decoration: none;
}
a img {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

/* 関数設定 */
:root {
  --main-color: #F1AA21;
  --white: #ffffff;
  --font-size: 1em;/* 16px */
  --font-color: #333333;
  --font-family: "Noto Serif JP", serif;
  --fw-m: 500;/* ミディアム（フォントによって変化） */
  --fw-b: 700;/* ボールド（フォントによって変化） */
  --line-hight: 1.8;
  --white-opacity: rgba(255, 255, 255, 0.8);
  --drop-shadow: drop-shadow(0px 0px 6px #FF7476);
}

.body_in{padding-top: 0;}

/* 画面トップ黒帯設定 */
header{display: none;}
#narou_head{position: relative;z-index: 3;margin-bottom:0;background:#000;}
#narou_head .inner{max-width: 980px;width: 100%;}
#narou_head .inner div{padding: 1em}
#narou_head div a{display: block;}
#narou_head div a img{max-height: 30px;width: auto;} 


/* Lightboxのデザイン変更 */
#cboxOverlay{background: #000!important;z-index:100000!important;}
#colorbox{z-index:100001!important;}

/* 背景設定 */
body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background: url(../img/bg_pc.webp) top center/cover no-repeat;
}

/* その他設定 */
.outer .inner{max-width:980px;width:100%;}
.outer a:hover{text-decoration:none;}
a:hover > img {
  opacity: 0.7;
}
.sp{display: none;}

/* FV設定 */
#visual{
  position:relative;
  z-index:2;
  max-width:980px;
  width:100%;
  margin: 0 auto;
  overflow: hidden;
}
#visual img {width: 100%;}
#visual>div>h1{
  position: absolute;
  width: 80%;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
#visual>div>h2{
  position: absolute;
  width: 90%;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
#visual>div>h3{
  position: absolute;
  width: 40%;
  top: 2%;
  left: 42%;
  z-index: 1;
}
#visual>div>h4{
  position: absolute;
  width: 80%;
  top: 78.5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
#visual>div>h5{
  position: absolute;
  width: 17%;
  top: 49%;
  left: 7%;
  z-index: 1;
}
#visual >div>figure{mask-image: linear-gradient(to top, transparent 0%, #000 10%);}
#visual >div>figure img{mask-image: linear-gradient(to right, transparent 0%, #000 15%, #000 85%, transparent 100%);}

/* バナー */
#top-banner{
  margin: -7em auto 15em;
  position: relative;
  z-index: 5;
  width: 55%;
  border-radius: 0.5em;
  overflow: hidden;
  filter: var(--drop-shadow);
  max-width: 78rem;
  min-width: 68rem;
}

/* ボタンエリア(margin以外はいじらない) */
#buttons{
  position: relative;
  z-index: 5;
  margin: -12rem 0 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%;}
#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;}

/* section設定 */
section{
  text-align: center;
  padding: 100px 0 0;
}
/* タイトル設定 */
section div.inner>h2{
  text-align:center;
  margin-bottom: 2.5em;
  width: auto;
  height: 10rem;
}
section div.inner>h2 img{
  width: auto;
  height: 100%;
}

/* ストーリー｜あらすじ設定 */
#story{
  padding: 0;
  margin: 0 auto;
  max-width: 980px;
  border: 4.6em solid;
  border-image-source: url(../img/frame.webp);
  border-image-slice: 280;
  border-image-repeat: round;
}
#story .inner{
  padding: 1em;
  width: auto;
  background: var(--white-opacity);
}
#story h2{
  margin-bottom: 1em;
}
#story p{
  color: var(--font-color);
  font-size: 1.125em;
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.8;
}
#story p span{
  color: var(--main-color);
  font-size: 1.25em;
}

/* キャラクター｜人物紹介 */
#character .inner{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}
#character ul{
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}
#character ul li{
  grid-column: span 3;
  margin: 0;
  border: 3.1em solid;
  border-image-source: url(../img/frame.webp);
  border-image-slice: 280;
  border-image-repeat: round;
  width: calc((100% - 2rem * 2) / 3);
  flex: 0 1 calc((100% - 2rem * 2) / 3);
}
#character ul:nth-of-type(1) li:nth-of-type(1){
  border: 3.1em solid;
  border-image-source: url(../img/frame2.webp);
  border-image-slice: 280;
  border-image-repeat: round;
}
#character ul li .frame-wrap{
  background: var(--white-opacity);
}
#character ul li div h3{
  height: 4rem;
  text-align: center;
}
#character ul li div p{
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: var(--fw-m);
  line-height: var(--line-hight);
  color: var(--font-color);
  padding: 1.2rem 0;
  height: 134px;
  text-align: left;
}
#character ul li div h4{
  text-align: center;
  height: 3.2rem;
  padding: 0.8rem 0;
}
#character ul:nth-of-type(1) li:nth-of-type(1) h4{
  background: #43D7A6;
}
#character ul:nth-of-type(1) li:nth-of-type(2) h4{
  background: #FFC41A;
}
#character ul:nth-of-type(2) li:nth-of-type(1) h4{
  background: #FEA1AF;
}
#character ul:nth-of-type(2) li:nth-of-type(2) h4{
  background: #9393AF;
}
#character ul:nth-of-type(2) li:nth-of-type(3) h4{
  background: #FFA36A;
}
#character ul li div h3 img,
#character ul li div h4 img{
  height: 100%;
  width: auto;
}

/* キーワード */
#keyword ul li {
  margin-bottom: 2.4rem;
  border: 4em solid;
  border-image-source: url(../img/frame.webp);
  border-image-slice: 265;
  border-image-repeat: round;
}
#keyword ul li figure:first-child{
  height: 4rem;
  margin-bottom: 1.6rem;
}
#keyword ul li figure:first-child img{
  height: 100%;
  width: auto;
}
#keyword ul li .frame-wrap{
  background: var(--white-opacity);
  padding: 2rem;
}
#keyword ul li p{
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: var(--fw-m);
  line-height: var(--line-hight);
  color: var(--font-color);
}
#keyword ul li:nth-of-type(3) .frame-wrap{
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
#keyword ul li:nth-of-type(3) .frame-wrap div,
#keyword ul li:nth-of-type(3) .frame-wrap .k3-img{
  width: 50%;
}
#keyword ul li:nth-of-type(3) .k3-img img{
  width: 100%;
  height: auto;
}

/* スペシャル */
#special{
  padding: 0;
  margin: 100px auto 0;
  max-width: 980px;
  border: 4.6em solid;
  border-image-source: url(../img/frame.webp);
  border-image-slice: 280;
  border-image-repeat: round;
}
#special .inner{
  width: auto;
  background: var(--white-opacity);
}
#special h2{
  margin-bottom: 1em;
}
#special p{
  margin-bottom: 1.6rem;
  color: var(--font-color);
  font-size: 1.125em;
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.8;
}
#special a{
  display: block;
  position: relative;
  width: 100%;
  display: block;
}
#special a .arrow{
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
  width: 12%;
  top: -15%;
  left: -5%;
  position: absolute;
  z-index: 5;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}


/* 下記共通コンテンツのためいじらない */
#read{padding: 4em 0 6em;}
#read span{font-size:61%;}
#read b{font-weight:bold;font-size:130%;}
#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;}

/*smartphone*****************************************************************************************************************************************************************************************/
@media screen and (max-width: 768px) {

/* 背景設定 */
body::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background: url(../img/bg_sp.webp) top center/cover no-repeat;
}

/* 画面トップ、その他設定 */
#narou_head{position: relative;z-index: 3;margin-bottom:0;background:#000;}
#narou_head .inner div{padding: 0.6em}
#narou_head div a img{height: 4vw;} 
.outer .inner{width: 100%;}

.pc{display: none;}
.sp{display: block;}


/* FV以外に左右余白を設置 */
section .inner,#books >.inner,#naroulink >.inner{padding: 0 5%!important;}

/* FV設定 */
#visual >div>figure img{
  width: 100%;
  margin-left:0;
  margin-top:0;
  mask-image: linear-gradient(to top, transparent 0%, #000 10%);
}

/* バナー */
#top-banner{
  margin: -13vw auto 18vw;
  max-width: none;
  min-width: auto;
  width: 80%;
  border-radius: 0.2em;
}

/* ボタンエリア(#buttonsのmargin以外はいじらない) */
#buttons{
  margin: 0;
  margin-top: -12vw;
}
#buttons .bt1{display: none;}
#buttons ul li {margin-bottom: 0;}
#buttons ul li a{font-size:80%;}

/* section設定 */
section{
  padding: 60px 0 0;
}

/* タイトル設定 */
section div.inner>h2{
  margin-bottom: 5%;
  height: 11vw;
  min-height: 4em;
}

/* ストーリー｜あらすじ設定 */
#story{
  margin: 8vw auto 0;
  width: 90%;
  border: 7vw solid;
  border-image-source: url(../img/frame.webp);
  border-image-slice: 200;
  border-image-repeat: round;
}
#story .inner{
  padding-top: 1em !important;
  padding-bottom: 1em !important;
}
#story h2{
  margin-bottom: -2%;
}
#story p{
  font-size: 1em;
  text-align: left;
  margin-top: 2vw;
}

/* キャラクター｜人物紹介 */
#character .inner,
#character ul{
  flex-direction: column;
}
#character ul li {
  overflow: hidden;
  border: 7vw solid;
  border-image-source: url(../img/frame.webp);
  border-image-slice: 200;
  border-image-repeat: round;
}
#character ul:nth-of-type(1) li:nth-of-type(1){
  border: 7vw solid;
  border-image-source: url(../img/frame2.webp);
  border-image-slice: 200;
  border-image-repeat: round;
}
#character ul li{
  width: 100%;
  max-width: 38rem;
}
#character ul li .c_img-wrap figure:nth-of-type(2){
  display: none;
}
#character ul li .frame-wrap figure{
  height: 48vw;
  min-height: 39rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: baseline;
  mask-image: linear-gradient(to top, transparent 0%, #000 20%);
  position: relative;
  width: 100%;
}
#character ul li .frame-wrap figure img{
  max-width: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
#character ul:nth-of-type(1) li:nth-of-type(1) .frame-wrap figure img{
  top: -15%;
}
#character ul:nth-of-type(1) li:nth-of-type(2) .frame-wrap figure img{
  top: -15%;
}
#character ul:nth-of-type(2) li:nth-of-type(1) .frame-wrap figure img{
  top: -14%;
}
#character ul:nth-of-type(2) li:nth-of-type(2) .frame-wrap figure img{
  top: 0%;
}
#character ul:nth-of-type(2) li:nth-of-type(3) .frame-wrap figure img{
  top: -12%;
}
#character ul li .frame-wrap .text-wrap{
  margin-top: -8rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}
#character ul li div h3{
  height: 6rem;
  padding-top: 2rem;
  text-align: center;
}
#character ul li div p{
  padding-top: 1rem;
  height: auto;
}


/* キーワード */
#keyword ul li {
  border: 7vw solid;
  border-image-source: url(../img/frame.webp);
  border-image-slice: 200;
  border-image-repeat: round;
}
#keyword ul li figure:first-child{
  height: 3rem;
}
#keyword ul li:nth-of-type(3){
  flex-direction: column;
}
#keyword ul li:nth-of-type(3) div,
#keyword ul li:nth-of-type(3) .k3-img{
  width: 100%;
}
#keyword ul li .frame-wrap {
  padding: 1.5rem 0 0;
}
#keyword ul li:nth-of-type(3) .frame-wrap{
  flex-direction: column;
}
#keyword ul li:nth-of-type(3) .frame-wrap div,
#keyword ul li:nth-of-type(3) .frame-wrap .k3-img {
  width: 100%;
}

/* スペシャル */
#special{
  margin: 8vw auto 0;
  width: 90%;
  border: 7vw solid;
  border-image-source: url(../img/frame.webp);
  border-image-slice: 200;
  border-image-repeat: round;
}
#special .inner{
  padding: 1em 0 !important;
}
#special h2{
  margin-bottom: -2%;
}
#special p{
  font-size: 1em;
  margin-top: 2vw;
}


/* 下記共通コンテンツのためいじらない */

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