@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: 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:-10;
  width:100%;
  height:100vh;
  background:#ffffff url(../img/bg.png) top/cover no-repeat;
  -webkit-background-size:cover;
  background-size: cover;
  }
/* @media screen and (max-width: 1440px) {
    body::before {
      width:1440px;
      margin: 0 auto;
    }
} */


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

div.visual img{width: 100%;margin-bottom: -27em;}
div.visual{width: 100%;background: #fff;}
div.visual .inner{width: 100%;}
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: 98%;
  left: 3%;
  right: 0;
  top: -0.5em;
  margin: auto;
}
div.visual h2{
  width: 70%;
  left: 0px;
    top: 44em;
}
div.visual h3{
  width: 20%;
  top: 61em;
  left: 76%;
}
div.visual h4{
  width: 100%;
  left: 0;
  right: 0;
  margin: auto;
  top: 68.5em;
}
div.story,
div.character,
div.keyword{
  margin: 0 auto 5em;
}
div.gallery {
  margin: 0 auto;
}


h2.cent {margin-bottom: 2em;}
h2.cent img {
  height:4vw;
  max-height: 48px;
  margin: 0 auto;
}

div.story{
  position: relative;
  padding: 4.2em 3em;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 0px 15px -5px #E5006E;
}
div.story h2.cent {
  margin-bottom: 2.8em;
}
div.story >div{width: 100%;}
div.story >div p{
  text-align:center;
  line-height: 1.6;
  font-size: 1.2em;
  color: #231815;
  font-weight: 500;
  font-family: "M PLUS Rounded 1c", sans-serif;
}


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.li_flex{
  width: 100%;
  display: flex;
}
div.character ul li.li_flex:nth-of-type(1) {
  min-height: 525.23px;
  max-height: 525.23px;
}
div.character ul li{
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 0px 15px -5px #E5006E;
  background: #fff;
}
div.character ul li.li_flex figure {
  width: 47%;
  height: auto;
  }
div.character ul li.li_flex figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
div.character ul li.li_block{
  width: 32%;
}
div.character ul li.li_block figure,
div.character ul li.li_block figure img {
  width: 100%;
  height: auto;
  }
div.character ul  li.li_block .detail h3{
  margin: 0 auto;
}
div.character ul li h3{
  height: 30px;
  width: auto;
}
div.character ul li:nth-of-type(1) h3,
div.character ul li:nth-of-type(5) h3{
  height: 46px;
}
div.character ul li h3 img{
  height: 100%;
  width: auto;
}
div.character ul .detail{
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 36px 36px 24px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.6;
  color: #231815;
  width: 100%;
}
div.character ul  li.li_block .detail{
  padding: 16px 24px 24px 24px;
}
div.character ul li dl{
  letter-spacing: 0;
}
div.character ul li .detail dl h4{
  width: 97%;
  padding: 4px 8px;
  color: #fff;
  font-weight: 700;
  background: #E5006E;
}
div.character ul li .detail dl dt,
div.character ul li .detail dl dd{
  font-weight: 500;
  padding: 4px 0px 0px 8px;
  border-bottom: solid 1px #E5006E;
}
div.character ul li .detail dl dt:nth-of-type(1),
div.character ul li .detail dl dd:nth-of-type(1){
  padding-top: 8px;
}
div.character ul li .detail dl dd:nth-last-child,
div.character ul li .detail dl dt:nth-last-child{
  padding-bottom: 0px;
}
div.character ul li .detail dl dd.dd_sup{
  font-size: 0.8em;
  font-weight: 400;
  border: none;
  margin-left: 78px;
}
div.character ul li .detail dl dt{
  font-weight: 700;
  float: left;
  width: 30%;
  color: #E5006E;
}
div.character ul li:nth-of-type(5) .detail dl dt{
  width: 16%;
}
div.character ul li:nth-of-type(1) .detail,
div.character ul li:nth-of-type(5) .detail{
  width: 62%;
}
/* ---------------------------------------------------- */
/* 隠されたコンテンツの表示/非表示の初期設定 */
/* ---------------------------------------------------- */
.secret-skills{
  width: 100%;
  text-align: center;
  cursor: pointer;
    position: relative;
}
.secret-skills::after {
  position: absolute;
  width: 72px;
  height: 72px;
  content: '';
  background-size: contain;
  background-image: url('../img/click_btn.png');
  background-repeat: no-repeat; 
  top: 18%;
  right: 0%;
  cursor: pointer;
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.4));
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s, visibility 0.3s;
  bottom: 20px;
  animation: poyopoyo 2s ease-out infinite;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}

.hidden-content {
  display: none; /* 初期状態では非表示 */
}

.placeholder {
  cursor: pointer; /* クリック可能を示す */
  text-align: center;
  font-size: 4rem;
  color: #E5006E;
  padding: 1rem;
  position: relative;
    bottom: -1vw;
}
.secret-skills.is-clicked {
    cursor: default;
}
/* ボタン非表示 */
.secret-skills.is-clicked::after {
    visibility: hidden;
    opacity: 0;
}

/* 「？？？」非表示 */
.secret-skills.is-clicked .placeholder {
  display: none;
    visibility: hidden;
    opacity: 0;/
}
/* ===================================== */
/* 初期状態：隠されているコンテンツを非表示にするCSS */
/* ===================================== */
.secret-skills .hidden-content {
    /* 初期状態では非表示にする */
    display: none; 
    /* 必要に応じて、非表示状態のスタイルを調整 */
}

/* ===================================== */
/* クリック後：コンテンツを表示するCSS */
/* ===================================== */
.secret-skills.is-clicked .hidden-content {
    /* is-clickedクラスが付いたら表示する */
    display: block; 
    /* その他、表示時のスタイル（例：margin、paddingなど）を必要に応じて追加 */
    height: 100%;
}

/* ---------------------------------------------------- */
/* dtとddを横一列に並べるための設定 */
/* ---------------------------------------------------- */
.skill-item-hidden {
  align-items: baseline; 
  border-bottom: solid 1px #E5006E;
}

.skill-item-hidden dt {
  /* スキル名（dt）の幅を固定 */
  flex-basis: 150px; 
  text-align: right;
  font-weight: bold;
  /* dl/dt/ddのデフォルトの余白をリセット */
  margin-top: 0;
  margin-bottom: 0;
  border: none !important;
  text-align: justify;
}

.skill-item-hidden dd {
  /* 説明文（dd）が残りの幅を占める */
  flex-grow: 1; 
  /* dl/dt/ddのデフォルトの余白をリセット */
  margin-left: 0;
  border: none !important;
  text-align: justify;
}
div.character ul li:nth-of-type(5) .detail dl dt:nth-of-type(1){
  border: none;
}
.dd_sup{
  display: block;
    margin-left: 16%;
    font-size: 0.8em;
    font-weight: 400;
}


div.keyword {margin: 0 auto 5em;}
div.keyword dl {
  display: flex;
  justify-content: center;
  gap: 1.2em;
  flex-wrap: wrap;
}
div.keyword dl .keyword-item {
  width: 49%;
  padding: 1.4em;
  background: #E5006E;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 0px 15px -5px #E5006E;
}
div.keyword dl dt{
  margin-bottom: 0.8em;
}
div.keyword dl dt img{
  height: 4vw;
  max-height: 48px;
  margin: 0 auto;
}
div.keyword dl dd {
  text-align: center;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 1.1em;
  font-weight: 500;
}


div.gallery ul li{
  box-shadow: 0px 0px 15px -5px #E5006E;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
}
div.gallery ul li:nth-of-type(2){
  width: 60%;
  margin-top: 24px;
}
div.gallery ul li figure img {
  width: 100%;
  height: auto;
}
div.gallery ul li p{
  font-size: 24px;
  color: #fff;
  background: #E5006E;
  padding: 12px;
  text-align: center;
  font-weight: 800;
  font-family: "M PLUS Rounded 1c", sans-serif;
}


/*共通*/
#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: 1.5em;
  margin-top: 20em;
}
.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);}
#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);}
#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: 1400px) {}
@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;}

body::before {
  background:#ffffff url(../img/bg_sp.png) top/cover no-repeat;
  }
  br.br_sp{
  display: block;
}

.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: 9vw;}
.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{background: none;}
div.visual img{margin-bottom: -10em;}
div.visual h1 {top: 1em;}
div.visual h2 {width: 70%;}
div.visual h3 {
  top: 62em;
  left: 77%;
}
div.visual h4 {
  top: 71em;
  width: 100%;
  margin-left: 0%;
}
h2.cent img{
  height: 8vw;
  max-height: 62px;
}

div.story{width:90%;font-size: 2em;padding: 3em;border-image-width: 2em;max-width: 560px;}
div.story >div p{text-align: justify;}

div.character{width: 90%;max-width: 560px;}
div.character ul{justify-content: space-around;flex-wrap: wrap;flex-direction: column;}
div.character ul li{
  width: 100%;
  flex-direction: column;
}
div.character ul li.li_flex:nth-of-type(1) {
min-height:   100%;
        max-height: 100%;
}
div.character ul.second li{margin-bottom: 1.5em;}
div.character ul .detail {
      padding: 2.5vw 4vw 4vw;
      margin: 0 auto;
}
div.character ul li.li_flex figure  {
  width: 100%;
}
div.character ul li.li_block{
  width: 100%;
}
div.character ul li .detail dl dd.dd_sup{
  margin-left: 16%;
}
div.character ul li .detail h3{height: 6vw; margin: 0;
margin: 0 auto;}
div.character ul li:nth-of-type(1) h3,
div.character ul li:nth-of-type(5) h3{
  height: 10vw;
}
div.character ul li .detail p{font-size: 2em;text-align: left;}
div.character ul li .detail dl h4 {
          width: 95%;
}
div.character ul li:nth-of-type(1) .detail,
div.character ul li:nth-of-type(5) .detail{
  width: 100%;
}
div.character ul li dl {
  font-size: 1.5em;
}
.dd_sup {
    margin-top: -0.3vw;
}
.secret-skills::after {
  filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.4));
  width: 6vw;
  height: 6vw;
  min-width: 34px;
  min-height: 34px;
}
@keyframes left-move {
    /* 0% - 左端、着地 */
    0% {
        left: 2%;
        bottom: 1%;
        transform: rotate(-20deg); 
    }
    25% {
        left: 21%;
        bottom: 4%;
        transform: rotate(20deg); 
    }
    50% {
        left: 42%;
        bottom: 1%;
        transform: rotate(-20deg); 
    }
    75% {
        left: 64%;
        bottom: 4%;
        transform: rotate(20deg); 
    }
    100% {
        left: 86%;
        bottom: 1%;
        transform: rotate(-20deg); 
    }
}

div.keyword {max-width: 560px;width: 100%;}
div.keyword dl dt img {
    height: 8vw;
    max-height: 62px;
}
div.keyword dl .keyword-item {width: 100%;}
div.keyword dl .keyword-item:not(:nth-child(-n+2)) {margin-top: 0;}
div.keyword dl .keyword-item:not(:first-child) {margin-top: 2em;}
div.keyword dl dt {font-size: 4em;}
div.keyword dl dd {font-size: 2em;}
div.gallery{width: 90%;max-width: 560px;}
div.gallery ul li p {
  font-size: 1.6em;
  font-weight: 600;
}
/* div.keyword dl .keyword-item {
  box-shadow: 0px 0px 15px -5px #fff;
} */
 div.character, div.keyword {
margin: 0 auto 10em;
}
.placeholder {
  font-size: 2.4rem;
}

div.story,
div.character,
div.keyword {
  width: 78%;
}

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

#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: 713px) {
  .character .li_flex .br_sp{
    display: none;
  }
}
@media screen and (max-width: 430px) {
div.story {
  width: 75%;
  padding: 2em 1.5em;
}

    .character .li_flex .br_sp {
  display: block;
}
div.story h2.cent {
  margin-bottom: 0.8em;
}
div.character{
  width: 75%;
}
div.keyword {
  width: 75%;
}
div.gallery {
  width:75%;
}
div.gallery ul li:nth-of-type(2) {
  width: 100%;
}
}
@media screen and (max-width: 375px) {
div.story {
  max-width: 270px;
}
div.character{
  max-width: 270px;
}
div.keyword {
  max-width: 270px;
}
div.keyword dl .keyword-item {
  width: 100%;
}
div.keyword dl dt {
  margin-bottom: 0.3em;
}
div.gallery {
  max-width: 270px;
}
}
