@charset "utf-8";
/* CSS Document */

/*===================================
登場人物ページ レスポンシブ CSS
===================================*/

@media screen and (max-width: 899px) {

/*　TOPページ以外のheader位置調整　*/
header {
		height:100px;
}

/* グローバルナビ位置調整 */
#grobalNavi {
	width: 100%;
	margin: 25px auto 50px auto;
	background-color: #000;
}

/* キャラクター一覧 */
.charaList{
    display: flex;
    flex-wrap: wrap;
    margin: 50px auto 0 auto;
    list-style: none;
	justify-content: center;
	z-index: 5;
}

.charaList li a{
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
	font-weight: bold;
	font-size: 100%;
}

.charaList li{
    margin-bottom:20px;
}

/* 上下に線が伸びて背景になる */

.charaList li a{
	position: relative;
	overflow: hidden;
	transition: all .2s;
}

/* 現在地とhoverの設定 */
.charaList li.current a,
.charaList li a:hover{
    background: #28b9cc;
	color:#fff;
}

/* 背景がつくのアニメーションの開始を0.5秒遅らせる */
.charaList li a:hover{
	transition-delay: .5s;
}

/* 線の設定 */
.charaList li a:before,
.charaList li a:after {
	content: "";
	position: absolute;
    left: 0;
    height: 2px;
    width:100%;
    background: #28b9cc;
    transition: all .5s;
}

/* 線の位置と変化 */
.charaList li a::before {
    top: 0;
	transform: translateX(-100%);
}
.charaList li a::after {
    bottom: 0;
	transform: translateX(100%);
}

/* hoverした際の線の変化 */
.charaList li a:hover::before ,
.charaList li a:hover::after {
	transform: translateX(0);
}


.waku:after {
  content: "";
  display: block;
  clear: both;
}

.charaImg img {
	float: left;
	width: 55%;
	margin: 20px 0 0 10px;
}

.charaShokai {
	float: right;
	width: 40%;
	margin: 50px 10px 0 0;
	color: #333333;
}

.charaName {
	font-size: 130%;
	font-weight: bold;
	margin-bottom: 10px;
	background: linear-gradient(transparent 70%, #28b9cc 0%); /* 名前の下線*/
}

.kana {
	font-size: 17px;
	margin-left: 5px;
	letter-spacing: -0.05em;
}

.voice {
	text-align: right;
	font-weight: bold;
}

.charaText {
	margin: 30px auto 50px auto;
	padding-right: 1em;
	padding-left: 1em;
	line-height: 2em;
	background-image: linear-gradient(transparent 0, transparent 97%, #ddd 100%); /* 罫線の設定 */
	background-size: 100% 2em;
	background-color: #fff;
    position: relative;
}
 
.charaText::before,
.charaText::after{
    content:"";
    position: absolute;
    z-index: -1;
    bottom: 10px;
    display: block;
    width: 50%;
    height: 50%;
    box-shadow: 0 10px 5px rgba(0,0,0,.3);
}
 
.charaText::before{
    left: 5px;
    transform:rotate(-3deg);
}

.charaText::after{
    right: 5px;
    transform:rotate(3deg);
}

#hisora,#mio,#asuku,#naruomi,#koko {
	padding-bottom: 30px;
}

.line {
	text-align: center;
	margin: 50px 0;
}
}

/*===================================
画面サイズ　600px以下の設定
===================================*/

@media screen and (max-width: 600px) {

#wrap {
	margin-top: 170px;
}

.charaList{
    display: flex;
    flex-wrap: wrap;
    margin: 50px auto 0 auto;
    list-style: none;
	justify-content: center;
	z-index: 5;
}

.charaList li a{
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #666;
	font-weight: bold;
	font-size: 115%
}

.charaList li{
    margin-bottom: 5px;
}
	
#hisora,#mio,#asuku,#naruomi,#koko {
	width: 100%;
	padding-bottom: 0;
	margin: 50px auto 0 auto;
	}

.charaImg {
	width: 100%;
	margin: 0 auto 0 auto;
	}	
	
.charaImg img {
	width: 95%;
}

.charaShokai {
	width: 100%;
	margin: -25px auto 0 auto;
	padding: 10px;
	color: #333333;
}
	
.charaName {
	width: 100%;
	font-size: 200%;
	font-weight: bold;
	margin-bottom: 10px;
	background: linear-gradient(transparent 70%, #28b9cc 0%); /* 名前の下線*/
}	

.charaText {
	margin: 10px auto 20px auto;
	padding: 2em 2em;
	line-height: 2em;
	background-image: linear-gradient(transparent 0, transparent 97%, #ddd 100%); /* 罫線の指定 */
	background-size: 100% 2em;
	background-color: #fff;
}	
	
.line {
	text-align: center;
	margin-top: 30px;
}
}

/*===================================
画面サイズ　390px以下の設定
===================================*/

@media screen and (max-width: 390px) {
	
.charaList li a{
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #666;
	font-weight: bold;
	font-size: 16px;
}

.charaShokai {
	width: 100%;
	margin: -15px auto 0 auto;
	padding: 10px;
	color: #333333;
}	
	
.charaName {
	width: 100%;
	font-size: 150%;
	font-weight: bold;
	margin-bottom: 10px;
	background: linear-gradient(transparent 70%, #28b9cc 0%); /* 名前の下線*/
}	
	
.line {
	text-align: center;
	margin-bottom: 0;
}
}