@charset "UTF-8";

img {
   max-width: 100%;
   align-items: center;
   margin: auto;
   margin-bottom: 20px;
}

@media screen and (max-width: 500px) {
img {
  margin-bottom: 5px;
  }
}

/* =======  枠組み設定  ======= */
body {
    background-color: #000; /*#dde0e4;*/
    margin: auto;
}

/* サイト全体のコンテナー */
.container {
    display: grid;
    margin: 0 auto;
    min-height: 100vh;
    width: 100%;
background-color: #000;  /*#dde0e4;*/
    max-width: 890px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(auto-fit, 1fr);
    gap: 10px; /*編集中20*/
    grid-auto-flow: row;
    grid-template-areas:
        "header"
        "main"
        "card-container"
        "character"
        "footer";
}
@media only screen and (max-width: 900px){
body{
width:95%;
}
}
@media only screen and (max-width: 500px){
body{
width:100%;
}
}

.header {
    grid-area: header;
}

.main {
    grid-area: main;
}


/* =======  ナビゲーションメニュー  ======= */
/*nav td{
    width: calc(100%/4);
}*/

nav ul{
display: table;
margin: auto;
margin-bottom: 10px;
padding: 0;
width: 60%;
text-align: center;
}
nav li{
display: table-cell;
width: 100px;
min-width: 50px;
text-align: center;
margin: auto;
}
nav a{
font-size: 1.2em;
display: block;
width:100%;
text-decoration: none;
text-align: center;
}

nav li.current{
 /*border-bottom: 2px solid #b3bac2;*/
}
nav li:hover{
color: #ed2fc4;
a{
  /*下線を削除*/
  text-decoration: none;
}
/** マウスホバー時 **/
a:hover{
  /*background: #1B2538;*/
}
}

@media screen and (max-width: 500px) {
nav ul{
    width: 80%;
   margin-bottom: -10px;
}
}

/* =======  スクロールしたら出るトップへ戻るボタン  ======= */
html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 35px;
    width: 35px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    opacity: 0.7;
    border: solid 1px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}



/* =======  ベーシックフォント設定  ======= */
html {
    font-size: 80%;
}

* { font-family: Arial,"M PLUS 1p","游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic";
color: #fff;
    font-size: 15px;
    line-height: 2.5em;
    letter-spacing: 0.16em;
 }


h1 {
    font-size: 5rem;
    text-align: center;
    padding: 5px 0;
}

h2 {
    font-size: 2.5rem;
   border-bottom: 1px solid;
    padding: 0 10 0 5px;
    margin: 25px -5px;
}

h3 {
        font-size: 2.2rem;
        margin: auto;
        margin-bottom: 10px;
}


h4 {
   border-bottom: 1px solid;
}


/* =======  aタグの設定  ======= */
a:link {
    color: #fff  /*#1b2538;*/

}

a:visited {
    color: #fff;
}

a:hover {
    color: #a6b6bf;
}

a:active {
    color: #fff;
}

@media screen and (max-width: 500px) {
    * {
        font-size: 0.99rem;
        line-height: 1.8em;
    letter-spacing: 0.13em;
    }

    h1 {
        font-size: 2.5rem;
        padding: 15px 0;
    }

    h2 {
        font-size: 2rem;
        margin: auto;
        margin-bottom: 20px;
    }
h3 {
        font-size: 1.4rem;
margin-bottom: 5px;
}
h4 {
   font-size:1rem;
}
}

/* =======  リストデザイン  ======= */
ul {
    padding-left: 30px;
    list-style-type: circle;
}

dt {
    padding: 0;
    margin: 0 5px 0 15px;
    width: 20%;
    float: left;
}

dd::before {
    padding: 0;
    margin: 0 5px 0 0;
    content: "：";
    color: #000;
}

@media screen and (max-width: 500px) {
    dt {
        margin: 0 5px;
        width: 100%;
    }

    dd {
        margin: 5px 15px;
        padding: 5px;
    }

    dd::before {
        content: none;
    }
}

/* =======  ボーダーのデザイン  ======= */
      .border {
        width: 100%;
        margin: auto;
        margin-bottom: 20px;
      }
      .border-top {
        border-top: 1px dashed #63686e;
      }
      .border-bottom {
        border-bottom: 1px dashed #63686e;
      }
      .border-left {
        border-left: 1px dashed #63686e;
      }
      .border-right {
        border-right: 1px dashed #63686e;
      }


/* =======  各セクション枠のデザイン  ======= */
section {
    background-color: #000;  /*#dde0e4;*/ 
}

@media screen and (max-width: 500px) {
    section {
        margin: 5px 10px;
        padding: 5px 10px;
    }
}

/* =======  画像のデザイン  ======= */
#single-content p.illust {
    text-align:center;
}

.illust img {
    width: 100%;
    margin-bottom: 15px;
    vertical-align: bottom;
}


/* =======  更新履歴のデザイン  ======= */
p.infobox {
    padding: 10px;
    height: 6.3em;
    overflow: auto;
    border: 1px solid #777777;
    background-color: #000;
}

.infobox span {
    color: #a6b6bf;
    font-weight: bold;
    margin-right: 10px;
}

.info .info-button {
    padding: 10px 20px;
    margin: 15px 10px;
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.info .info-button:hover {
    margin-top: 5px;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

    
/* =======  トップ画像のデザイン  ======= */
.topimg-container {
   width: 100%;
   object-fit: cover;
   margin: auto;
   display: grid;
   justify-items: center;
   align-items: center;
}


/* =======  続きを読むボタン  ======= */
.cp_box *, .cp_box *:before, .cp_box *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.cp_box {
	position: relative;
}
.cp_box label {
	position: absolute;
	z-index: 1;
	bottom: 0;
	width: 100%;
	height: 140px; /* グラデーションの高さ */
	cursor: pointer;
	text-align: center;
	/* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
	background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.5) 90%);
}
.cp_box input:checked + label {
	background: inherit; /* 開いた時にグラデーションを消す */
}
.cp_box label:after {
	line-height: 2.5rem;
	position: absolute;
	z-index: 2;
	bottom: 20px;
	left: 50%;
	width: 16rem;
	font-family: FontAwesome,Arial;
	content: '\f13a''more'; /*続きを読む*/
        font-size: 0.8em;
	transform: translate(-50%, 0);
	letter-spacing: 0.5em;
	color: #ffffff;
	border-radius: 20px;
	background-color: rgba(27, 37, 56, 1);
}
.cp_box input {
	display: none;
}
.cp_box .cp_container {
	overflow: hidden;
	height: 250px; /* 開く前に見えている部分の高さ */
	transition: all 0.5s;
}
.cp_box input:checked + label {
	/* display: none ; 閉じるボタンを消す場合解放 */
}
.cp_box input:checked + label:after {
        letter-spacing: 0.5em;
        font-size: 0.8em;
	font-family: FontAwesome,Arial;
	content: '\f139''close'; /*閉じる*/
}
.cp_box input:checked ~ .cp_container {
	height: auto;
	padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
	transition: all 0.5s;
}




/* =======  漫画販売情報と登場人物紹介  ======= */
.container2 {
    display: flex;
    flex-direction: column;
    margin-bottom: 5px;
  }
  
  .imgarea {
    order: -1;
      object-fit: cover;
      margin-bottom: -5px;
      text-align: center;
  }
  
  .container2 a{
    text-decoration: none;
  }
  
  @media screen and (min-width:621px) {
  .container2-wrap{
    display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
  }

  .container3-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .container2{
    flex-basis: 30%;
        margin: 0.7em;
  }
  .imgarea img{
      width: 80%;
      object-fit: cover;
          margin-bottom: 10px;
          text-align: center;
    }
  
    .txtarea{
      line-height: 1.5em;
    }
  }
  @media screen and (max-width:620px) {
    .container2 {
      flex-direction: row;
    }
  
    .imgarea {
      order: 0;
      width: 41%;
    }
  
    .txtarea {
      width: 56%;
      margin-left: 1em;
        font-size: 0.9em;
    }
.txtarea h4{
 font-size: 1.05em;
}

.container2 a{
 font-size: 1.05em;
{
  }



/* =======  フッターのデザイン  ======= */
.footer {
    margin-bottom: 50px;
}