@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;
}
#logo a img {
  max-width: none !important;
}

p.open{
  font-family: var(--font-family);
  font-size: 170%;
  font-weight: var(--fw-b);
  color: #ffffff;
  line-height: 1.8;
  text-align: center;
  padding: 6rem 0;
}

/* 関数設定 */
:root {
  --main-color: #CD0000;
  --font-size: 1em;/* 16pxから14pxで縮小 */
  --font-color: #ffffff;
  --font-family: "Noto Serif JP", serif;
  --fw-m: 500;/* ミディアム（フォントによって変化） */
  --fw-b: 700;/* ボールド（フォントによって変化） */
  --line-hight: 1.6;
  --drop-shadow: drop-shadow(0px 0px 6px #000000);
}

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

/* 画面トップ黒帯設定 */
#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{max-width: 980px;width: 100%;}

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

/* その他設定 */
.outer .inner{max-width:980px;width:100%;}
.outer #buttons .inner{width:90%;margin: 0 auto;}
.outer section .inner{width:90%;margin: 0 auto;}
.outer a:hover{text-decoration:none;}
a:hover > img {
  opacity: 0.7;
}

/* 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: 95%;
  top: 45%;
  left: 50%;
  z-index: 1;
}
#visual>div>h2{
  position: absolute;
  width: 92%;
  top: 74%;
  left: 50%;
  z-index: 1;
}
#visual>div>h3{
  position: absolute;
  width: 34%;
  top: 53.5%;
  right: 4.6%;
  z-index: 1;
}
#visual>div>h4{
  position: absolute;
  width: 93%;
  top: 80.5%;
  left: 50%;
  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%);}

/* ボタンエリア(margin以外はいじらない) */
#buttons{
  position: relative;
  z-index: 5;
  margin: -7.5em 0 1.5em;
  font-size: clamp(1.4rem, 1.343rem + 0.179vw, 1.6rem);/* 16pxを1として計算 */
}
#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:flex;padding: 1em 0;font-size:125%;align-items: center;justify-content: center;}
#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;}

/* こちらから下は％またはem,vwで指定してください。 */
/* 但し、borderやmax-widthはremまたはpx指定可。 */
/* font-size指定は子要素を持たないpタグのみ */

/* section設定 */
section{
  text-align: center;
  padding: 6.25em 0 0;
  font-size: clamp(1.4rem, 1.343rem + 0.179vw, 1.6rem);/* 16pxを1として計算 */
}
/* タイトル設定 */
section div.inner>h2{
  text-align:center;
  margin-bottom: 10%;
  width: auto;
  height: 5.343em;
}
section div.inner>h2 img{
  width: auto;
  height: 100%;
}

/* ストーリー｜あらすじ設定 */
#story{
  width: 100%;
  padding: 3.4375em 0 4.375em;
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--font-color);
}
#story h2{
  margin-bottom: 1.875em;
}
#story p{
  font-size: clamp(14px, 0.5089vw + 12.0916px, 16px);
  font-family:var(--font-family);
  font-weight: var(--fw-m);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
#story p:last-of-type {
  margin-bottom: 0;
}
#story .p-accent{
  font-weight: var(--fw-b);
  color: yellow;

}

/* キャラクター｜人物紹介 */
#comment{
  padding-bottom: 6em;
}
#comment .comment_wrap{
  border: 2px solid var(--main-color);
  background: #000000;
  display: grid;
  gap: 2rem;
  padding: 3.6rem;
  grid-template-columns: 1fr auto;
  align-items: center;
}
#comment .text_wrap{
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  /* width: calc(70% - 2.4rem * 0.3); */
  min-width: 0;
}
#comment .writer_wrap{
  background: #ffffff;
  text-align: center;
  display: flex;
  gap: .5rem;
  flex-direction: column;
  align-items: center;
  padding: 1.4rem;
}
#comment .writer{
  width: 65%;
  height: auto;
  margin: 0 auto;
}
#comment .book,
#comment .writer_wrap img{
  width: 100%;
  height: auto;
}
#comment p{
  text-align: left;
  font-size: 1.6rem;
  line-height: 1.4;
  font-family: "BIZ UDMincho", serif;
  font-weight: 400;
  font-style: normal;
  color: #ffffff;
}
#comment .sale-book{
  width: 100%;
  display: flex;
  gap: .8rem;
  align-items: center;
  font-family: "BIZ UDMincho", serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 1.4rem;
  color: #ffffff;
}
#comment .sale-book span{
  height: 1px;
  flex: 1;
  background: #ffffff;
}
#comment a{
  display: block;
  height: 340px;
  cursor: pointer;
}
#comment a img{
  width: auto;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* #comment figure,
#comment figure img{
  width: 100%;
  height: auto;
} */

/* 下記共通コンテンツのためいじらない */
#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%;}

footer {width: 100%; overflow: hidden;}

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

.tb{display: none;}

/*smartphone*****************************************************************************************************************************************************************************************/
@media screen and (max-width: 980px) {
  .tb{
    display: block;
  }
}
@media screen and (max-width: 768px) {
/* 画面トップ、その他設定 */
#narou_head{padding: 0.75em 0.5em 0.75em 5rem;height: 42px;}
#narou_head .ttl{display:none;}
.outer .inner{width: 100%;}

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

/* FV以外に左右余白を設置 */
#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%);
}

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

/* section設定 */
section{
  padding:4em 0 0;
}

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

/* ストーリー｜あらすじ設定 */
#story h2{
  margin-bottom: 5vw;
}
#story p{
  text-align: left;
}

/* コメント */
/* #comment figure{
  max-width: 420px;
} */
#comment .book{
  width: 100%;
          max-width: 400px;
}
#comment .writer_wrap{
  gap: 2vw;
  padding: 3.5vw;
  width: 100%;
}
#comment .text_wrap{
  gap: 2rem;
}
#comment a{
  width: 100%;
  margin: 0 auto;
  height: auto;
  max-width: 350px;
}
#comment a img{
  width: 100%;
  height: auto;
}
#comment .comment_wrap{
  gap: 0;
  padding: 5%;
}
#comment .writer {
  max-width: 350px;
      width: 100%;
}
.sale-book{
  display: flex;
  flex-direction: column;
}
#comment .sale-book span{
  display: block;
  width: 100%;
  flex: none;
  height: 0.5px;
}
#comment .sale-book span:nth-of-type(2){
  display: none;
}
/* 下記共通コンテンツのためいじらない */

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

/* アニメーション */
.anim-bg-hero {
  opacity: 0;
  animation: bgHeroIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* h1ロゴ: 自動で衝撃出現 */
.anim-impact {
  opacity: 0;
  animation: popIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.1s;
}

/* h2: 上からフェードイン */
.fadeindown {
  opacity: 0;
  animation: fadeInDown 0.6s ease-out forwards;
}
.fadeindown.delay-1 {
  animation-delay: 0.45s;
}

/* =========================================================
   2. スクロール発火用（FV下部エリア: h3, h4, h5）
========================================================= */

.anim-scroll {
  opacity: 0;
  animation: none;
}

/* スクロール位置に来たら発火 */
.anim-scroll.fadeindown.is-animated {
  animation: fadeInDown 0.6s ease-out forwards;
}

.anim-scroll.fadeindowncentered.is-animated {
  animation: fadeInDownCentered 0.6s ease-out forwards;
}

/* スクロール後の連続ディレイ */
.anim-scroll .delay-1 .is-animated { animation-delay: 0.1s; }
.anim-scroll .delay-2 .is-animated { animation-delay: 0.25s; }
.anim-scroll .delay-3 .is-animated { animation-delay: 0.4s; }

/* =========================================================
   3. キーフレーム定義
========================================================= */

/* 背景用 */
@keyframes bgHeroIn {
  0% {
    opacity: 0;
    transform: scale(1.12);
    filter: brightness(0.4) contrast(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: brightness(1) contrast(1);
  }
}

@keyframes popIn {
0% { 
    opacity: 0; 
    transform: translate(-50%, 20px) scale(0.96); 
  }
  100% { 
    opacity: 1; 
    transform: translate(-50%, 0) scale(1); 
  }
}

/* フェードインダウン */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDownCentered {
  0% { opacity: 0; transform: translate(-50%, -20px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}
