body {
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	font-family:'Noto Sans TC', sans-serif;
}
.menu-toggle .bt_open,.menu-toggle .bt_close{
	cursor: pointer;
}
.memoir-content {
display: none;
}
.memoir-content.active {
display: block;
}
#ind_menu{
		display: none;
	}
/* 第七靈災回憶錄 ----- */
.memoir #contents {
	background-color: #000;
}
	.memoir #contents {
		background-image: url(../images/memoir_bg.jpg);
	}
	.memoir #decoration-basic {
			background:  url(../images/decoration_memoir.png) no-repeat top center;
		}
		/* 上部装飾 */
		.memoir #decoration-top {
			background-image: none;
		}
	/* ----- 主選單(拿掉) ----- */
	#menu {
		width:100%;
		height: 112px;
		pointer-events: none;
	}
	/* 子頁面 */
	/* ----- 頁面標題 ----- */
	#subpage-title {
		width: 900px;
		height: 108px;
		margin: auto;
	}
		#subpage-title span {
			display: table-cell;
			height: 108px;
			vertical-align: middle;
		}
	/* ----- 引言 ----- */
	#subpage-lead {
		width: 893px;
		margin: auto;
		padding: 0 0 7px 0;
	}
	/* 回顧録：引言 */
	.memoir #subpage-lead {
		color: #fff;
	}
	/* ----- 框架 ----- */
	.content-frame {
		width: 900px;
		margin: auto;
	}
		.content-frame-header {
			background-image: url(../images/content_frame/header.png);
		}
		.content-frame-footer {
			background-image: url(../images/content_frame/footer.png);
		}
		.content-frame-header,
		.content-frame-footer {
			height: 7px;
			font-size: 0;
		}
		.content-frame-main {
			background-image: url(../images/content_frame/main.png);
		}
		/* ----- 標題 ----- */
		div.content-frame-subject,
		ul.content-frame-subject,
		ul.content-frame-subject-new
		{
			width: 846px;
			height: 36px;
			margin: auto;
			padding: 0 20px;
			font-size: 14px;
			overflow: hidden;
		}
		div.content-frame-subject,
		ul.content-frame-subject {
			background-image: url(../images/content_frame/subject.png);
		}
			.content-frame-subject li:first-child,
			.content-frame-subject-new li:first-child {
				float: left;
				color: #fff;
			}
			.content-frame-subject li,
			.content-frame-subject-new li {
				float: right;
				color: #ffe465;
				line-height: 2.5;
			}
		div.content-frame-subject {
			width: 886px;
			padding: 0 20px 0 10px;
			color: #fff;
			line-height: 2.5;
		}
		/* ----- 中身 ----- */
		.content-frame-detail {
			width: 846px;
			margin: auto;
			padding: 20px 0;
		}
			/* 文字連結 */
			.content-frame-detail a {
				color: #ec0000;
				text-decoration: underline;
			}
			.content-frame-detail a:hover {
				text-decoration: none;
			}
			/* 註解 */
			.content-frame-detail .note {
				color: #a11f00;
			}
			/* 強調 */
			.content-frame-main .strong {
				color: #ec0000;
				font-weight: bold;
			}

		/* ----- 圖片 ----- */
		.ss {
			border: 1px solid #000;
		}
	/* 內容 */
		.memoir .content-frame-header {
			background-image: url(../images/header.png?1);
		}
		.memoir .content-frame-footer {
			background-image: url(../images/footer.png?1);
		}
		.memoir .content-frame-main {
			color: #ccc;
			background-image: url(../images/main.png);
		}
		/* ----- 回顧録標題 ----- */
		.memoir div.content-frame-subject,
		.memoir ul.content-frame-subject {
			background-image: url(../images/subject.png);
		}
			/* 強調 */
			.memoir .content-frame-main .strong {
				color: #ac7500;
			}
		/* ----- 回顧録：邊框 ----- */
		.memoir .content-border {
			border-top: 1px solid #6d2b23;
		}
		/* ----- 回顧録：選單 ----- */
		#memoir-list {
			width: 886px;
			margin: 0 auto 3px auto;
			padding: 12px 0;
			background-image: url(../images/memoir_list_bg.png);
		}
		#memoir-list div {
			width: 838px;	
			margin: auto;
		}
		.nav_sp{
			display: none;
		}
		#memoir-list a {
			padding: 0 0 0 16px;
			color: #e3bc61;
			text-decoration: underline;
			background-image: url(../images/icon.png);
			background-repeat: no-repeat;
			background-position: 0 3px;
		}
		#memoir-list a:hover {
			text-decoration: none;
		}
		/* NEW標籤 */
		#memoir-list span.red {
			color: #d90000;
		}
		/* 圖片 */
		.content-ss,
		.memoir-ss {
			display: block;
			margin: auto;
		}
		#memoir-list .coming_menu,
		#memoir-list .coming_menu a{
			color: #666;
			text-decoration: none;
		}
		#memoir-list .coming_menu a {
			background-image: url(../images/icon_coming.png);
			background-repeat: no-repeat;
			background-position: 0 3px;
		}
		#memoir-list .coming_menu .coming_date{
			font-size: 12px;
		}
.next_page_sp{
	display: none;
}
/* gotop */
#go_top_embed .go_top{
	width: 80px;
	height: 59px;
	bottom: 20px;
	transform: translateX(0) translateY(0);
	background-color: #404040;
	border: none;
	background:none;
}
#go_top_embed .go_top a svg {display: none;}
#go_top_embed .go_top a{
	width: 80px;
    height: 59px;
    background-image: url(../images/scrolltop_button.png);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: right center;
}
/* link */
.link_memoir {
    margin: 30px auto 0;
	padding-bottom: 50px;
    text-align: center
}
.link_memoir img{
	width: 70%;
	max-width: 720px;
	height: auto;
}

@media (max-width:1000px) {
	.memoir img.ss {
		width: 80%;
	}
	.memoir #decoration-basic {
		background:  url(../images/decoration_memoir.png) no-repeat top center;
		background-size: 130% auto;
	}
	/* ----- 主選單(拿掉) ----- */
	#menu {
		width:100%;
		height:14.6875vw;
	}
	/* 子頁面 */
	/* ----- 頁面標題 ----- */
	#subpage-title {
		width:90%;
		height: auto;
		overflow-x: hidden;
	}
		#subpage-title span {
			height: 108px;
		}
	/* ----- 引言 ----- */
	#subpage-lead {
		width:90%;
	}
	/* ----- 框架 ----- */
	.content-frame {
		width:90%;
	}
		.content-frame-header {
			background-image: url(../images/content_frame/header.png);
			background-size: 100% 100%;
			background-repeat:  no-repeat;
		}
		.content-frame-footer {
			background-image: url(../images/content_frame/footer.png);
			background-size: 100% 100%;
			background-repeat:  no-repeat;
		}
		.content-frame-header,
		.content-frame-footer {
			height: 0.7vw;
		}
		.content-frame-main {
			background-image: url(../images/content_frame/main.png);
			background-size: 100% auto;
		}
		/* ----- 標題 ----- */
		div.content-frame-subject,
		ul.content-frame-subject,
		ul.content-frame-subject-new
		{
			width: 90%;
			height: 36px;
			margin: auto;
			padding: 0 20px;
			font-size: 14px;
			overflow: hidden;
		}
			.content-frame-subject li,
			.content-frame-subject-new li {
				line-height: 2.5;
			}
		div.content-frame-subject {
			width:calc(100% - 1.6vw);
		}
		/* ----- 中身 ----- */
		.content-frame-detail {
			width: 90%;
		}

		/* ----- 回顧録：選單 ----- */
		#memoir-list {
			width:calc(100% - 1.6vw);
		}
		#memoir-list div {
			width:94%;	
		}
}

@media (max-width: 839px) {
	body.lock-scroll {
		position: fixed;
		width: 100%;
		overflow: hidden;
	}
    #content-area:has(.active) ~ #memoir-list {
        display: none;
    }
	.memoir #contents{
		background: url(../images/memoir_bg.jpg) center no-repeat;
		background-size: auto 100%;
	}
    .memoir #decoration-basic{
		background: none;
		padding-bottom: 6%;
	}
    #content-area:not(:has(.active)) {
        display: none;
    }
	
	/* ----- 手機選單 ----- */
	.nav_sp{
		display:block;
		padding-top: 40px;
		position:fixed;
		width: 100%;
		top: 0;
		left: 0;
	}
		.nav_sp .go-home{
			color: #fff;
			position: absolute;
			display: flex;
			align-items: center;
			height: 40px;
			width: 100%;
			max-width: 280px;
			border-bottom: 1px solid #e3bc61;
			pointer-events: initial;
			padding: 0 0 0 16px;
			z-index: 2;
		}
		.menu-toggle{
			
			position:fixed;
			left: 280px;
			top: 40px;
			min-height: 100%;
			height: 100vh;
			transition: all 0.3s;
			transform: translateX(-280px);
			z-index: 250;
		}
		.menu-toggle.open{
			width: calc(100% - 280px);
			transform: translateX(0);
		}
		.menu-toggle div{
			background: rgba(0, 0, 0, 0.3);
			display:flex;
			justify-content: center;
			align-items: center;
			width: 40px;
			height: 40px;
			padding: 8px;
			position: absolute;
			left:0;
			top: 0;
			z-index: 9;
		}
		.menu-toggle .bt_close::before{
			content: '';
			display: block;
			width: 25px;
			height: 25px;
			background: url(../images/close.svg) center no-repeat;
			background-size:100%;
		}
		.menu-toggle .bt_open::before{
			content: '';
			display: block;
			width: 25px;
			height: 25px;
			background: url(../images/menu.svg) center no-repeat;
			background-size:100%;
		}
		.menu-toggle .bt_open,.menu-toggle .bt_close{
			display: none;
		}
		.menu-toggle .bt_open.open,.menu-toggle .bt_close.open{
			display:flex;
		}
		.nav_sp .menu-mask{
			position: absolute;
			width: 100%; 
			height: 100vh;
			background: rgba(0, 0, 0, 0.7);
			opacity: 0;
			transition: opacity 0.4s;
			z-index: 0;
			display: none;
		}
		.nav_sp .menu-mask.open{
			opacity: 0.7;
			display: block;
		}
		#ind_menu{
			display: block;
		}
		#ind_menu a{
			display: flex;
			justify-content: center;
			align-items: center;
			margin: 1% auto;
			width: 360px;
			position: relative;
		}
		#ind_menu img{
			width:100%;
			margin: 0 auto;
		}
		#ind_menu li .new{
			position: absolute;
			bottom: 0;
			right:40px;
		}
		#ind_menu li .new img{
			width: auto;
			height: 3.9vw;
			max-height: 16px;
		}
	#memoir-list{
		position:fixed;
		top: 0;
		left: 0;
		width:  100%;
		height: 100vh;
		padding-top: 80px;
		background: #262626;
	}
		.sp_menu{
			width:  100%;
			max-width: 285px;
			min-height: 100%;
			height: 100vh;
			position: fixed;
			top: 0;
			left: 0;
			z-index: 8;
			transition: all 0.3s;
			transform: translateX(-290px);
		}
		.sp_menu.open{
			transform: translateX(0);
		}
		#memoir-list div{
			display: flex;
			align-items: center;
			width: 100%;
			height: 40px;
			border-bottom: 1px solid #333;
			position: relative;
		}
		#memoir-list a{
			background: none;
			text-decoration: none;
			color: #fff;
			line-height: 40px;
		}
		#memoir-list span.red{
			position: absolute;
			right: 5px;
			top: 0;
			font-size: 12px;
		}
		#memoir-list div a.active{
			color: #e3bc61;
		}
		#memoir-list div a::before{
			font-size: 10px;
		}
		#memoir-list .nav_b01 a::before{
			content: "第一話";
		}
		#memoir-list .nav_b02 a::before{
			content: "第二話";
		}
		#memoir-list .nav_b03 a::before{
			content: "第三話";
		}
		#memoir-list .nav_b04 a::before{
			content: "第四話";
		}
		#memoir-list .nav_b05 a::before{
			content: "第五話";
		}
		#memoir-list a span{
			display: none;
		}
		div.content-frame-subject, ul.content-frame-subject, ul.content-frame-subject-new {
			height:auto;
			padding: 7px ;
			text-align: center;
		}
		
		#memoir-list .coming_menu{
			position: relative;
		}
		#memoir-list .coming_menu a {
			background-image:none;
		}
		#memoir-list .coming_menu .coming_date{
			position: absolute;
			right:5px;
			bottom: 2px;
		}

		.memoir div.content-frame-subject,
		.memoir ul.content-frame-subject {
			font-size: 18px;
			background-size: cover;
			line-height: 1.5;
		}
		.memoir div.content-frame-subject span{
			display: block;
		}
		/* gotop */
		#go_top_embed .go_top{
			width: 44px;
			height: 30px;
			bottom: 20px;
		}
		#go_top_embed .go_top a svg {display: none;}
		#go_top_embed .go_top a{
			width: 44px;
			height: 30px;
		}
.next_page_sp{
	width:100% ;
	margin: 0 auto;
	display: flex;
	padding: 10px;
	border-top: #a11f00 1px solid;
}
.next_page_sp a{
	display: flex;
	justify-content: center;
	align-items: center;
	color: #e3bc61;
}
.next_page_sp a:last-child{
	margin-left:auto;
}
.next_page_sp a.prev::before,.next_page_sp a.next::after{
	content: '';
	display: flex;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	background: url(../images/arrow.png) center no-repeat;
	background-size: cover;
}
.next_page_sp a.prev::before{
	transform: rotate(180deg);
}
#subpage-title{
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}
#subpage-title span{
	height: auto;
}
.is-subpage #subpage-title{
    display:none;
  }
#subpage-title_sp{
	width: 100%;
	height: 40px;
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	top:40px;
	background: url(../images/nav_bg_sp.png) repeat;
	overflow: hidden;
}
#subpage-title_sp span{
	height: auto;
	position: relative;
	width: 100%;
	display: flex;
	justify-content: flex-end;
	transform: translateX(0);
	transition: all 0.3s;
}
#subpage-title_sp span.open{
	transform: translateX(200px);
}
#subpage-title_sp span img{
	height:40px;
	width: auto;
	margin-right: 10px;
}
#subpage-lead{
	width:82%;
}
.menu-toggle div{
	background: rgba(161, 31, 0,0.5);
}
.link_memoir img{
	width:72%;
	max-width: 320px;
	margin: 0 auto;
}
/* link */
.link_memoir {
    margin:0 auto 0;
	padding-bottom:8px;
}
}
@media (max-width: 360px) {
		#ind_menu a{
			width:90%;
		}
		#ind_menu li .new{
			right:8vw;
		}
}
@media (max-width: 330px) {
	.sp_menu{
		width:calc( 100% - 20vw);
	}
	.menu-toggle.open {
		left:  calc(100% - 20vw);
    }
	.menu-toggle {
        transform: translateX(100% + 20vw);
    }
	#memoir-list div{
		height: auto;
		padding: 5px;
	}
	#memoir-list a {
		font-size:5.5vw;
        line-height: 40px;
		line-height: 1.5;
    }
}

@media (max-width: 250px) {
	#subpage-title span{
		width:90%;
		margin: 0 auto;
	}
	#subpage-title span img{
		width:100%;
	}
	#memoir-list .coming_menu .coming_date{
		font-size:4vw;
	}
	#subpage-title_sp span picture{
		width:70%;margin-right:5px;
	}
	#subpage-title_sp span img{
		height:auto;
        width:100%;
        margin-right: 0px;
	}
	.nav_sp{
		padding-top: 15vw;
	}
	#subpage-title_sp{
		height:20vw;
		top: 15vw;
	}
	.menu-toggle div {
        width:20vw;
        height:20vw;
        padding: 2%;
    }
	.menu-toggle{
		top: 15vw;
	}

}