@charset "UTF-8";
/* CSS Document */

/* リセット */
p,h1,h2,h3,h4,h5,h6 {margin: 0;}
img {vertical-align: bottom;}
ul {margin: 0;padding: 0;}
li {list-style-type: '';}
button,iframe{
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

html{
  min-height: 100%;
  position: relative;
  font-size: 62.5%;
}

body {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.3rem;
  background-color: #ffffff00;
  color: #606060;

}

#header{
  padding: 40px;
  color: #fff;
  text-align: center;
}

.box{
  padding: 40px;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-flow: column;
}

#box1{
background-image: url(../img/top_bg.png);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}

#box2{
    background: #fafafa;
}

#footer{
  padding:40px 0px;
  text-align:center;
  background: #fafafa;
  width: 100%;
}

a {
  text-decoration: none;
  color: #4d4d4d;
}

a:hover {
  position: relative;
  top: 1px;
  left: 1px; 
}

h2,h3{
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ","Meiryo, Osaka", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
text-align: center;
}

.btn{
  display: inline-block;
  background-color: rgb(63, 0, 0);
  padding: 5px;
  margin: 20px;
  outline: 10px double rgb(63, 0, 0);
}

.about{
  margin:20px;
  font-size: 1.7rem;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  max-height: 400px;
}

.chara{
  margin:20px;
}

.chara ul{
  display: flex;
  
}

.chara li{
  margin: 0 10px;
  position: relative;
}

.chara img {
max-width: 225px;
/* height: 400px; */
/* border: #282828 solid 1px; */

}

.sub li{
  position: relative;
	margin: 0 auto;
  margin: 0px 20px;
}

.sub li img{
  max-width: 120px;
  /* filter: drop-shadow(0 0 0.5rem rgb(207, 207, 207)); */

}

.omote{
  position: relative;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.omote:hover{
  opacity: 0;
}

.nakami,.subnakami{
  z-index: -5;
  position: absolute;
	top: 41%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.subnakami{	
  top: 32%;
}


.charaname,.subcharaname{
  display: block;
  font-size: 1.7rem;
  margin: 10px auto;
  text-align: center;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.subcharaname{
  font-size: 1.4rem;
}

/* 個別ページ */

#wrap{
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  margin-top: 100px;
  background-color: #ffffff00;
  padding: 20px;
  width: 80%;

}

.main-img{
  position: relative;
  width: 350px;
}

.main-img img{
  position: relative;
  margin: 0 auto;
  max-width: 300px;
  box-shadow:0px 0px 5px 3px #707070;
}

.lines{
  position: absolute;
  font-size: 1.5rem;
  bottom: -10px;
  right: 0px;
  color: #ffffff;
  opacity: 0.8;
  text-align: right;
}

.profile{
  /* padding-top:50px; */
  width: 100%;
  max-width: 600px;
  font-family: "Times New Roman", Times, serif;

}

.mainname,.charadata,.maintext,.kankei{
  background-color: #ffffff;
  padding:15px;
  margin: 5px;
  box-shadow:0px 0px 5px 3px #707070;
  opacity: 0.9;
}

.mainname {
  position: relative;
  display: inline-block;
  font-weight: bold;
  font-size: 3rem;

}

.charadata{
  font-size: 1.5rem;
}

.maintext {
  text-align: left;
}

.nakami-text{
  background-color: #bdbdbd;
}

input + #img{
  opacity: 0;
  position: absolute;
  top:0px;
  -webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
input:checked + #img {
  opacity: 1;
}
#check{
  display:none;
}

label{
  position: relative;
  left:-20px;
  top:-20px;
  background-color: #bdbdbd;
  padding: 20px;
  z-index: 550;
  font-size: 2rem;
  box-shadow:0px 0px 5px 3px #707070;
  opacity: 0.9;
}

.kankei{
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family:  'Noto Sans JP', sans-serif;;
  
}

.kankeimain{
  position: relative;
  width: 15%;
}

.kankeimain img{
  width: 100%;
  margin: 0 auto;
}

.hoka{
  width: 80%;
}

.hoka p {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 5px;
}

.hoka img{
  width: 60px;
  height:60px;
}

.hoka span{
  display: block;
  width: 165px;
  padding-left: 5px;
}

@media screen and (max-width: 768px) {
  #wrap {
    position: relative;
    height: auto !important; /*IE6対策*/
    height: 100%; /*IE6対策*/
    min-height: 100%;
    max-width: 700px;
    height: auto;
  }

  .main {
    margin-top: 8%;
  }

  .main img {
    width: 200px;
  }

  .main::after {
    z-index: 2;
    top: 190px;
    right: 20px;
  }
  .main p {
    top: -20px;
    left: -0px;
  }

  .title {
    min-width: 300px;
  }
  .maintext {
    position: relative;
    left: -20px;
    padding: 15px;
    min-width: 230px;
    max-width: 350px;
    margin: 20px;
  }
}

@media screen and (max-width: 480px) {
  #wrap {
    max-width: 380px;
  }
}

@media screen and (max-width: 375px) {
  #wrap {
    max-width: 360px;
    margin-left: 5px;
  }
  .title {
    left: -5px;
  }
  .maintext {
    width: 320px;
    left: -15px;
  }
  .list div {
    width: 115px;
    margin: 2px 2px 0px 0px;
  }
  .list img {
    width: 115px;
  }
  .list div::after {
    top: 110px;
  }
}
@media screen and (max-width: 320px) {

}
@keyframes fadeIn {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/

body{
  background:#ffffff00;/*遷移アニメーションと同じ色を指定*/
}

body.appear{
  background:#ffffff00;/*画面を開いた後の背景色を指定*/
}

.splashbg{
position: fixed;
top: 0;
right:0;
bottom:0;
left: 0;
border-width: 0px;/*開始はボーダーの太さは0*/
border-style:solid;
border-color: #fafafa;/*拡大する四角の色*/
animation-duration:.5s;
animation-fill-mode:forwards;
}

@keyframes backBoxAnime{
99.9% {/*アニメーション終了ぎりぎりまで*/
      z-index: 2;/*最前面に*/
  border-width: 0px;/*開始はボーダーの太さは0*/
}
  100%{
     z-index: -1; /*最背面に*/
      border-width: 0px;/*終了はボーダーの太さは0*/
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
  position: relative;
opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
animation-name:PageAnimeAppear;
animation-duration:1s;
animation-delay:0.2s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes PageAnimeAppear{
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
  
  /* Loading画像中央配置　*/
  #splash_logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #5f5f5f;
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  /* Loading アイコンの大きさ設定　*/
  #splash_logo img {
    width:300px;
  }
  
  /* fadeUpをするアイコンの動き */
  .fadeUp{
  animation-name: fadeUpAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity: 0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
  
    }
  
    to {
      opacity: 1;
      }
  }

/*========= ページネーションCSS ===============*/

.pagination {
	position:fixed;
	right:20px;
	top: 50%;
  	transform: translateY(-50%);
	font-size:1em;
	z-index: 10;
	list-style: none;
}

.pagination a {
	display:block;
	height:20px;
	margin-bottom:5px;
	color:#5a5a5a;
	position:relative;
	padding:4px;
}

.pagination a.active:after {
	box-shadow:inset 0 0 0 5px;
}

/*現在地表示のテキストの設定*/
.pagination a .hover-text {
	position:absolute;
	right:15px;
	top:0;
	opacity:0;
	-webkit-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
	padding-right: 15px;
}

.pagination a:hover .hover-text {
	opacity: 1;
}

.pagination a:after {
	-webkit-transition:box-shadow 0.5s ease;
	transition:box-shadow 0.5s ease;
	width:10px;
	height:10px;
	display: block;
	border:1px solid;
	border-radius:50%;
	content:"";
	position: absolute;
	margin:auto;
	top:0;
	right:3px;
	bottom:0;
}

/*768px以下は現在地表示のテキストを非表示*/
@media screen and (max-width:768px) { 
	.pagination a .hover-text{
		display: none;
	}	
}

/*========= 流れるテキスト ===============*/

/*全共通*/

.slide-in {
	overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
	display: inline-block;

}

/* 上下のアニメーション*/
.upAnime{
    opacity: 0;/* 事前に透過0 にして消しておく*/
}

.slideAnimeDownUp {
    animation-name:slideTextY100;
    animation-duration:0.9s;
    animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextY100 {
    from {
        transform: translateY(100%);/* 要素を上の枠外に移動*/
        opacity: 0;
    }
    to {
        transform: translateY(0);/* 要素を元の位置に移動*/
        opacity: 1;
    }
}
.slideAnimeUpDown {
    animation-name:slideTextY-100;
    animation-duration:0.9s;
    animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextY-100 {
    from {
    transform: translateY(-100%);/* 要素を下の枠外に移動*/
    opacity: 0;
    }
    to {
    transform: translateY(0);/* 要素を元の位置に移動*/
    opacity: 1;
    }
}

/*左右のアニメーション*/
.leftAnime{
  opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
animation-name:slideTextX100;
animation-duration:0.8s;
animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes slideTextX100 {
from {
transform: translateX(-100%); /*要素を左の枠外に移動*/
      opacity: 0;
}

to {
transform: translateX(0);/*要素を元の位置に移動*/
  opacity: 1;
}
}

.slideAnimeRightLeft {
animation-name:slideTextX-100;
animation-duration:0.8s;
animation-fill-mode:forwards;
  opacity: 0;
}


@keyframes slideTextX-100 {
from {
transform: translateX(100%);/*要素を右の枠外に移動*/
  opacity: 0;
}

to {
transform: translateX(0);/*要素を元の位置に移動*/
  opacity: 1;
}
}