@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;
}
	
/* 世界観一覧 */
.worldList{
    display: flex;
    flex-wrap: wrap;
    margin: 50px auto 0 auto;
    list-style: none;
	justify-content: center;
	z-index: 5;
}

.worldList li a{
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #666;
	font-weight: bold;
	font-size: 115%;
}

.worldList li{
    margin-bottom: 5px;
}

/* 上下に線が伸びて背景になる */

.worldList li a{
	position: relative;
	overflow: hidden;
	transition: all .2s;
}

/* 現在地とhoverの設定 */
.worldList li.current a,
.worldList li a:hover{
    background: #28b9cc;
	color:#fff;
}

/* 背景がつくのアニメーションの開始を0.5秒遅らせる */
.worldList li a:hover{
	transition-delay: .5s;
}

/* 線の設定 */
.worldList li a:before,
.worldList li a:after {
	content: "";
	position: absolute;
    left: 0;
    height: 2px;
    width:100%;
    background: #28b9cc;
    transition: all .5s;
}

/* 線の位置と変化 */
.worldList li a::before {
    top: 0;
	transform: translateX(-100%);
}
.worldList li a::after {
    bottom: 0;
	transform: translateX(100%);
}

/* hoverした際の線の変化 */
.worldList li a:hover::before ,
.worldList li a:hover::after {
	transform: translateX(0);
}

#story,#world,#nioi,#yado,#machi,#igyou {
	width: 95%;
	margin: 20px auto 20px auto;
	padding: 10px;
	background-color: #ffffff;
}

.koumoku {
	color: #ffffff;
	font-weight: bold;
	font-size: 140%;
	text-align: center;
	text-shadow: 0 0 5px #000000;
	background-image: url("../images/bg_rockywall.png");
	height: 3em;
	padding: 1em;
	margin-bottom: 30px;
}

.koumoku2 {
	width: 200px;
	box-shadow: 5px 5px 0px 0px #000000;
	text-align: center;
	margin: 0 auto;
	padding: 5px 5px;
	background-color: #28b9cc;
}

.koumoku2 h3 {
	font-size: 120%;
	font-weight: bold;
	color: #fff;	
}
.koumoku2 h3 {
	font-size: 120%;
	font-weight: bold;
	color: #fff;	
}
.naiyou {
	margin: 0 auto;
	width: 90%;	
	text-align: center;
	margin-bottom: 30px;
	padding: 2em 2em 0 2em;
	line-height: 2em;
	background-image: linear-gradient(transparent 0, transparent 97%, #ddd 100%);
	background-size: 100% 2em;
}
.line {
	text-align: center;
	margin: 50px 0;
}
.nana{
	font-style: italic;
}
.sawa{
	font-family: 'Sawarabi Mincho', serif;	font-size: 110%;
}

}

/*===================================
画面サイズ　600px以下の設定
===================================*/

@media screen and (max-width: 600px) {

#wrap {
	margin-top: 170px;
}
	
.worldList{
    display: flex;
    flex-wrap: wrap;
    margin: 50px auto 0 auto;
    list-style: none;
	justify-content: center;
	z-index: 5;
}

.worldList li a{
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #666;
	font-weight: bold;
	font-size: 115%;
}

.worldList li{
    margin-bottom: 5px;
}

.koumoku {
	color: #ffffff;
	font-weight: bold;
	font-size: 120%;
	}
	
.koumoku2 {
	margin: 0 auto;
	}
	
.naiyou {
	margin: 0 auto;
	width: 90%;	
	text-align: center;
	margin-bottom: 20px;
	padding: 0 2em 0 2em;
	line-height: 2em;
	background-image: linear-gradient(transparent 0, transparent 97%, #ddd 100%);
	background-size: 100% 2em;
	}

}

/*===================================
画面サイズ　390px以下の設定
===================================*/

@media screen and (max-width: 390px) {
	
.koumoku{	
letter-spacing:-.02rem;    transform: scale(0.9, 1);	
		}	
	
.koumoku2 {
	margin-bottom: 0;	
	}	
	
.naiyou {
	margin: 0 auto;
	width: 100%;	
	font-size: 14px;
	text-align: center;
	margin-bottom: 30px;
	padding: 0 1em 0 1em;
	line-height: 2em;
	background-image: linear-gradient(transparent 0, transparent 97%, #ddd 100%);
	background-size: 100% 2em;
	}
	
}