@charset 'UTF-8';

/* --------------------------------------------------
 * 家族からはじまる物語
 * -------------------------------------------------- */
::-moz-selection {
 color:black;
 background-color: transparent;
}

::selection {
	color: black;
	background-color: transparent;
}

.no-touch a:hover img {
	opacity: 1;
	filter: alpha(opacity=100);
}

#story { background-color: #6baf34; }

#wrapper { background: url(/assets/img/story/bg_00.png); }

#container {
	-webkit-animation: fadeIn 2s cubic-bezier(0.75, 0, .35, 1) 0s 1 normal;
	animation: fadeIn-Bg 2s cubic-bezier(0.75, 0, .35, 1) 0s 1 normal;
}

@keyframes fadeIn-Bg {
 0% { opacity: 0; }
 100% { opacity: 1; }
}

@-webkit-keyframes fadeIn-Bg {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

.content {
	min-height: 485px;
	background: url(/assets/img/story/bg_01.png) repeat-x left bottom;
}

.head-logo {
	/*margin: 24px 0 0 23px;*/
	margin: 10px 0 0 20px;
	position: absolute;
}


/* --------------------------------------------------
 * オープニング
 * -------------------------------------------------- */
header,
#scene,
.content-nav { display: none; }

.op { position: relative; }

.op .op-title,
.op .op-read,
.op .op-enter,
.op .op-image {
	position: absolute;
	z-index: 0;
}

.op .op-title {
	top: 68px;
	left: 65px;
}

.op .op-read {
	top: 156px;
	left: 101px;
}

.op .op-enter:hover img { display: none; }


/* アニメーション */
.op .op-title,
.op .op-read {
	-webkit-animation: fadeIn-Read .75s cubic-bezier(0.75, 0, .35, 1) 1.5s 1 normal backwards;
	animation: fadeIn-Read .75s cubic-bezier(0.75, 0, .35, 1) 1.5s 1 normal backwards;
}

@keyframes fadeIn-Read {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@-webkit-keyframes fadeIn-Read {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

.op .op-image {
	top: 67px;
	left: 366px;
	-webkit-animation: fadeIn-Image .5s ease-out 2.5s 1 normal backwards;
	animation: fadeIn-Image .5s ease-out 2.5s 1 normal backwards;
}

@keyframes fadeIn-Image {
	0% { opacity: 0; top:97px; left:216px; }
	100% { opacity: 1; top:67px; left:366px; }
}

@-webkit-keyframes fadeIn-Image {
	0% { opacity: 0; top:97px; left:216px; }
	100% { opacity: 1; top:67px; left:366px; }
}

.op .op-enter {
	width: 136px;
	height: 33px;
	display: inline-block;
	background: url(/assets/img/story/start_img_04_on.png);
	cursor: pointer;
	top: 310px;
	left: 156px;
	-webkit-animation: fadeIn-Enter .5s cubic-bezier(0.75, 0, .35, 1) 3s 1 normal backwards;
	animation: fadeIn-Enter .5s cubic-bezier(0.75, 0, .35, 1) 3s 1 normal backwards;
}

@keyframes fadeIn-Enter {
 0% { opacity: 0; display:none; }
 100% { opacity: 1; display:inline-block; }
}

@-webkit-keyframes fadeIn-Enter {
 0% { opacity: 0; }
 100% { opacity: 1; }
}


/* --------------------------------------------------
 * 内容
 * -------------------------------------------------- */
#scene {
	width: 468px;
	height: 459px;
	position: absolute;
	top: 13px;
	left: 282px;
	background: url(/assets/img/story/scene_bg.png) no-repeat;
}

#page {
	height: 100%;
	padding: 38px 35px 0 60px;
	background-repeat: no-repeat;
	background-position: right -1px top 9px;
	min-width: auto;
}

.scene-title {
	color: #000;
	font-size: 18px;
	font-size: 1.8rem;
	letter-spacing: -.025em;
	margin: 0 0 8px 0;
	text-shadow: #fff 1px 1px 0px, #fff -1px 1px 0px, #fff 1px -1px 0px, #fff -1px -1px 0px,  #fff 2px 2px 0px, #fff -2px 2px 0px, #fff 2px -2px 0px, #fff -2px -2px 0px;
}

.scene-read {
	color: #000;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 2.4;
	letter-spacing: -.035em;
	text-align: justify;
	text-justify: inter-ideograph;
	-ms-text-justify: inter-ideograph;
	text-shadow: #fff 1px 1px 0px, #fff -1px 1px 0px, #fff 1px -1px 0px, #fff -1px -1px 0px,  #fff 2px 2px 0px, #fff -2px 2px 0px, #fff 2px -2px 0px, #fff -2px -2px 0px;
}


/* --------------------------------------------------
 * 各シーンの背景
 * -------------------------------------------------- */
.prologue #page { background-image: url(/assets/img/story/bg_prologue.png); }

.scene1-1_1 #page,
.scene1-1_2 #page { background-image: url(/assets/img/story/bg_1-1.png); }

.scene1-2_1 #page,
.scene1-2_2 #page,
.scene1-2_3 #page,
.scene1-2_4 #page { background-image: url(/assets/img/story/bg_1-2.png); }

.scene2-1_1 #page,
.scene2-1_2 #page,
.scene2-1_3 #page { background-image: url(/assets/img/story/bg_2-1.png); }

.scene2-2_1 #page,
.scene2-2_2 #page,
.scene2-2_3 #page { background-image: url(/assets/img/story/bg_2-2.png); }

.scene3-1_1 #page,
.scene3-1_2 #page,
.scene3-1_3 #page,
.scene3-1_4 #page,
.scene3-1_5 #page,
.scene3-1_6 #page { background-image: url(/assets/img/story/bg_3-1.png); }

.scene3-2_1 #page,
.scene3-2_2 #page,
.scene3-2_3 #page { background-image: url(/assets/img/story/bg_3-2.png); }


/* --------------------------------------------------
 * ページャー
 * -------------------------------------------------- */
.pager {
	width: 100%;
	position: absolute;
	bottom: 0;
	z-index: 10;
}

.pager-next {
	position: absolute;
	bottom: 28px;
	right: 0;
}

.pager-prev {
	position: absolute;
	bottom: -4px;
	right: -4px;
}

.pager-next a {
	font: 0/0 aa;
	color: transparent;
	width: 86px;
	height: 30px;
	display: block;
	background: url(/assets/img/story/pager_next.png);
}

.pager-prev a {
	font: 0/0 aa;
	color: transparent;
	width: 86px;
	height: 30px;
	display: block;
	background: url(/assets/img/story/pager_prev.png);
}

.pager-next a:hover { background: url(/assets/img/story/pager_next_on.png); }

.pager-prev a:hover { background: url(/assets/img/story/pager_prev_on.png); }


/* ページャー 数字 */
.pager-scene-number {
	letter-spacing: -.5em;
	text-align: center;
	padding: 0 0 25px 0;
}

.pager-scene-number li {
	font-size: 14px;
	font-size: 1.4rem;
	letter-spacing: 0;
	display: inline-block;
}

.pager-scene-number li:before,
.pager-scene-number li:last-child:after {
	content: '';
	vertical-align: .225em;
	width: 3px;
	height: 2px;
	margin: 0 5px;
	display: inline-block;
	background: #999;
}

.pager-scene-number li a { text-decoration: none; }

.pager-scene-number li a:hover { color: #bbbd75; }


/* ページャーのカレント色 */
.scene1-1_1 .pager-scene-number li:nth-child(1) a,
.scene1-1_2 .pager-scene-number li:nth-child(2) a,
 .scene1-2_1 .pager-scene-number li:nth-child(1) a,
.scene1-2_2 .pager-scene-number li:nth-child(2) a,
.scene1-2_3 .pager-scene-number li:nth-child(3) a,
.scene1-2_4 .pager-scene-number li:nth-child(4) a,
 .scene2-1_1 .pager-scene-number li:nth-child(1) a,
.scene2-1_2 .pager-scene-number li:nth-child(2) a,
.scene2-1_3 .pager-scene-number li:nth-child(3) a,
 .scene2-2_1 .pager-scene-number li:nth-child(1) a,
.scene2-2_2 .pager-scene-number li:nth-child(2) a,
.scene2-2_3 .pager-scene-number li:nth-child(3) a,
 .scene3-1_1 .pager-scene-number li:nth-child(1) a,
.scene3-1_2 .pager-scene-number li:nth-child(2) a,
.scene3-1_3 .pager-scene-number li:nth-child(3) a,
.scene3-1_4 .pager-scene-number li:nth-child(4) a,
.scene3-1_5 .pager-scene-number li:nth-child(5) a,
.scene3-1_6 .pager-scene-number li:nth-child(6) a,
 .scene3-2_1 .pager-scene-number li:nth-child(1) a,
.scene3-2_2 .pager-scene-number li:nth-child(2) a,
.scene3-2_3 .pager-scene-number li:nth-child(3) a { color: #bbbd75; }


/* --------------------------------------------------
 * 左ナビ
 * -------------------------------------------------- */
.content-nav {
	width: 270px;
	height: 299px;
	padding: 20px 0 0 21px;
	background: url(/assets/img/story/nav_img_00.png) no-repeat;
	position: absolute;
	top: 130px;
	left: 11px;
}

.content-nav .nav-title,
.content-nav ul,
.content-nav li {
	font: 0/0 aa;
	color: transparent;
	margin: 0;
	padding: 0;
}

.content-nav li { position: relative; }

.content-nav li:before {
	position: absolute;
	top: 0;
	left: 0;
}

.prologue .scene-prologue:before { content: url(/assets/img/story/nav-btn_00_active.png); }

.scene1-1_1 .scene-1_1:before,
.scene1-1_2 .scene-1_1:before { content: url(/assets/img/story/nav-btn_1-01_active.png); }

.scene1-2_1 .scene-1_2:before,
.scene1-2_2 .scene-1_2:before,
.scene1-2_3 .scene-1_2:before,
.scene1-2_4 .scene-1_2:before { content: url(/assets/img/story/nav-btn_1-02_active.png); }

.scene2-1_1 .scene-2_1:before,
.scene2-1_2 .scene-2_1:before,
.scene2-1_3 .scene-2_1:before { content: url(/assets/img/story/nav-btn_2-01_active.png); }

.scene2-2_1 .scene-2_2:before,
.scene2-2_2 .scene-2_2:before,
.scene2-2_3 .scene-2_2:before { content: url(/assets/img/story/nav-btn_2-02_active.png); }

.scene3-1_1 .scene-3_1:before,
.scene3-1_2 .scene-3_1:before,
.scene3-1_3 .scene-3_1:before,
.scene3-1_4 .scene-3_1:before,
.scene3-1_5 .scene-3_1:before,
.scene3-1_6 .scene-3_1:before { content: url(/assets/img/story/nav-btn_3-01_active.png); }

.scene3-2_1 .scene-3_2:before,
.scene3-2_2 .scene-3_2:before,
.scene3-2_3 .scene-3_2:before { content: url(/assets/img/story/nav-btn_3-02_active.png); }

.epilogue .scene-epilogue:before { content: url(/assets/img/story/nav-btn_4-01_active.png); }


/* --------------------------------------------------
 * CSS3 Transition
 * -------------------------------------------------- */
a,
a img,
a:before,
a:after {
	-webkit-transition: none;
	transition: none;
}

@media screen and (max-width: 767px) {

img {
	width: auto;
	height: auto;
}

}
