@charset "utf-8";
/* CSS Document */

/*===================================
登場人物ページ　CSS
===================================*/

/* キャラクター一覧設定 */
.charaList {
    display: flex;
    flex-wrap: wrap;
    margin: 30px auto 0 auto;
    list-style: none;
	justify-content: center;
	z-index: 5;
}

.charaList li a{
    display: block;
    padding: 10px 30px;
    text-decoration: none;
    color: #333;
	font-weight: bold;
	font-size: 115%;
}

.charaList li{
    margin-bottom: 50px;
}

/* 上下に線が伸びて背景になる */
.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 {
	float:left;
}

.charaShokai {
	float: right;
	width: 40%;
	margin-top: 100px;
	color: #333333;
}

.charaName {
	font-size: 180%;
	font-weight: bold;
	margin-bottom: 10px;
	background: linear-gradient(transparent 70%, #28b9cc 0%); /* 名前の下線 */
}

.kana {
	font-size: 20px;
	margin-left: 10px;
	letter-spacing: -0.05em;
}

.voice {
	text-align: right;
	font-weight: bold;
}

.charaText {
	margin: 30px auto 50px auto;
	padding: 2em;
	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;
}