@charset "utf-8";
/*
 *  間宮くんちの五つ子事情
 *  layout.css
 *  (c)CUBE All Rights Reserved.
 *  共通設定
 */

/*
==== font ====
*/
@font-face {
	font-family: 'TakaHand';
	src: url('./font/A-OTF-TakaHandStd-Bold.otf'),
	url('./font/A-OTF-TakaHandStd-Bold.woff'); /* IE9 Compat Modes */
}
@font-face {
	font-family: 'UDShinGoB';
	src: url('./font/A-OTF-UDShinGoNTPro-Bold.otf'),
	url('./font/A-OTF-UDShinGoNTPro-Bold.woff'); /* IE9 Compat Modes */

}
@font-face {
	font-family: 'UDShinGoM';
	src: url('./font/A-OTF-UDShinGoNTPro-Medium.otf'),
	url('./font/A-OTF-UDShinGoNTPro-Medium.woff'); /* IE9 Compat Modes */

}

/*
==== page ====
*/
html { height: 100%; }
body {
	background: url('./images/layout_bg_body.jpg') top center repeat;
	width: 100%;
	min-width: 1066px;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	overflow-y: scroll;
}
#page {
	background: url('./images/layout_bg_page.png') top center repeat-y;
	width: 980px;
	height: auto;
	min-height: 100%;
	margin: 0 auto;
	padding: 0 43px;
}

/*
==== common ====
*/
h1 {
	width: 980px;
	height: 36px;
	margin: 0 auto;
}
.contentsLine {
	background: url('./images/layout_line_contents.png') top left no-repeat;
	clear: both;
	width: 980px;
	height: 10px;
	text-indent: -9999px;
	margin: 0;
}
.contentsLine.pageTop {
	margin: 8px 0;
}
/*
==== header ====
*/
#header {
	width: 980px;
	height: 130px;
	margin: 0 auto;
	padding-top: 8px;
}
#header #headerTitle {
	width: 220px;
	height: 130px;
	margin: 0 8px 0;
	float: left;
}
#header ul.globalNav {
	width: 700px;
	height: 36px;
	margin:24px 0 0;
	float: left;
}
#header ul.globalNav.row02 {
	margin-left: 40px;
}
#header ul.globalNav li {
	width: 160px;
	height: 36px;
	margin-left: 20px;
	float: left;
	position: relative;
}
#header ul.globalNav li:first-child {
	margin: 0;
}
#header ul.globalNav li a {
	background: url('./images/layout_nav_global.png') top left no-repeat;
	width: 100%;
	height: 100%;
	display: block;
}
#header ul.globalNav li#nStory a { background-position: 0 0; }
#header ul.globalNav li#nChar a { background-position: 0 -36px; }
#header ul.globalNav li#nCg a { background-position: 0 -72px; }
#header ul.globalNav li#nDownload a { background-position: 0 -108px; }
#header ul.globalNav li#nSpecial a { background-position: 0 -144px; }
#header ul.globalNav li#nSpec a { background-position: 0 -180px; }
#header ul.globalNav li#nDiary a { background-position: 0 -216px; }
#header ul.globalNav li#nCube a { background-position: 0 -252px; }
#header ul.globalNav li a img {
	opacity: 0;
}
#storyPage #header ul.globalNav li#nStory a { background-position: -160px 0; }
#charPage #header ul.globalNav li#nChar a { background-position: -160px -36px; }
#cgPage #header ul.globalNav li#nCg a { background-position: -160px -72px; }
#downloadPage #header ul.globalNav li#nDownload a { background-position: -160px -108px; }
#specialPage #header ul.globalNav li#nSpecial a { background-position: -160px -144px; }
#specPage #header ul.globalNav li#nSpec a { background-position: -160px -180px; }
#diaryPage #header ul.globalNav li#nDiary a { background-position: -160px -216px; }
#storyPage #header ul.globalNav li#nStory a img,
#charPage #header ul.globalNav li#nChar a img,
#cgPage #header ul.globalNav li#nCg a img,
#downloadPage #header ul.globalNav li#nDownload a img,
#specialPage #header ul.globalNav li#nSpecial img,
#specPage #header ul.globalNav li#nSpec a img,
#diaryPage #header ul.globalNav li#nDiary a img {
	visibility: hidden;
}
#header ul.globalNav li span {
	background: url('./images/layout_header_icon_new.png') top left no-repeat;
	width: 23px;
	height: 24px;
	text-indent: -9999px;
	position: absolute;
	top: -10px;
	left: -10px;
}
#header ul.globalNav li#nStory span { background-position: 0 0; }
#header ul.globalNav li#nChar span { background-position: -23px 0; }
#header ul.globalNav li#nCg span { background-position: -46px 0; }
#header ul.globalNav li#nDownload span { background-position: -69px 0; }
#header ul.globalNav li#nSpecial span { background-position: -92px 0; }
#header ul.globalNav li#nSpec span { background-position: -115px 0; }
#header ul.globalNav li#nDiary span { background-position: -138px 0; }
#header ul.globalNav li#nCube span { background-position: -161px 0; }

#header ul.globalNav li {
	background: url('./images/layout_nav_global_not.png') top left no-repeat;
	width: 160px;
	height: 36px;
}
#header ul.globalNav li#nStory { background-position: 0 0; }
#header ul.globalNav li#nChar { background-position: 0 -36px; }
#header ul.globalNav li#nCg { background-position: 0 -72px; }
#header ul.globalNav li#nDownload { background-position: 0 -108px; }
#header ul.globalNav li#nSpecial { background-position: 0 -144px; }
#header ul.globalNav li#nSpec { background-position: 0 -180px; }
#header ul.globalNav li#nDiary { background-position: 0 -216px; }
#header ul.globalNav li#nCube { background-position: 0 -252px; }
/*
==== footer ====
*/
.contentsLine.pageBottom {
	margin: 24px auto 16px;
}
#footer {
	font-size: 12px;
	letter-spacing: 1px;
	width: 804px;
	height: auto;
	text-align: center;
	margin: 0 auto;
	padding-bottom: 24px;
}
#footer ul#footerNav {
	width: 804px;
	height: auto;
	margin: 0 auto;
}
#footer ul#footerNav li {
	width :auto;
	height: auto;
	float: left;
	margin-left: 16px;
}
#footer ul#footerNav li:first-child {
	margin: 0;
}
#footer ul#footerNav li a {
	font-weight: normal;
}
#footer ul#footerNav li a:hover {
	font-weight: bold;
}
#footer ul#footerNav li#fTop a:hover,
#topPage #footer ul#footerNav li#fTop a { color: #ffa028; }
#footer ul#footerNav li#fStory a:hover,
#storyPage #footer ul#footerNav li#fStory a { color: #40b8ff; }
#footer ul#footerNav li#fChar a:hover,
#charPage #footer ul#footerNav li#fChar a { color: #ff7890; }
#footer ul#footerNav li#fCg a:hover,
#cgPage #footer ul#footerNav li#fCg a { color: #00c890; }
#footer ul#footerNav li#fDownload a:hover,
#downloadPage #footer ul#footerNav li#fDownload a { color: #a858ff; }
#footer ul#footerNav li#fSpecial a:hover,
#specialPage #footer ul#footerNav li#fSpecial a { color: #ffc800; }
#footer ul#footerNav li#fSpec a:hover,
#specPage #footer ul#footerNav li#fSpec a { color: #90d000; }
#footer ul#footerNav li#fDiary a:hover,
#diaryPage #footer ul#footerNav li#fDiary a { color: #c07020; }

#topPage #footer ul#footerNav li#fTop a,
#storyPage #footer ul#footerNav li#fStory a,
#charPage #footer ul#footerNav li#fChar a,
#cgPage #footer ul#footerNav li#fCg a,
#downloadPage #footer ul#footerNav li#fDownload a,
#specialPage #footer ul#footerNav li#fSpecial a,
#specPage #footer ul#footerNav li#fSpec a,
#diaryPage #footer ul#footerNav li#fDiary a {
	font-weight: bold;
}

#footer ul#footerNav li span {
	background: url('./images/layout_icon_category.png') bottom left no-repeat;
	width: 12px;
	height: 11.5px;
	vertical-align: 2px;
	text-indent: -9999px;
	margin-right: 6px;
	float: left;
	display: block;
}
#footer ul#footerNav li#fTop a:hover span,
#topPage #footer ul#footerNav li#fTop a span { background-position: -12px bottom; }
#footer ul#footerNav li#fStory a:hover span,
#storyPage #footer ul#footerNav li#fStory a span { background-position: -24px bottom; }
#footer ul#footerNav li#fChar a:hover span,
#charPage #footer ul#footerNav li#fChar a span { background-position: -36px bottom; }
#footer ul#footerNav li#fCg a:hover span,
#cgPage #footer ul#footerNav li#fCg a span { background-position: -48px bottom; }
#footer ul#footerNav li#fDownload a:hover span,
#downloadPage #footer ul#footerNav li#fDownload a span { background-position: -60px bottom; }
#footer ul#footerNav li#fSpecial a:hover span,
#specialPage #footer ul#footerNav li#fSpecial a span { background-position: -72px bottom; }
#footer ul#footerNav li#fSpec a:hover span,
#specPage #footer ul#footerNav li#fSpec a span { background-position: -84px bottom; }
#footer ul#footerNav li#fDiary a:hover span,
#diaryPage #footer ul#footerNav li#fDiary a span { background-position: -96px bottom; }

#footer #fBanner {
	background-color: #fff;
	width: 200px;
	height: 40px;
	margin: 20px auto 6px;
}
#footer #fBanner a {
	width: 100%;
	height: 100%;
	display: block;
}

/*
==== mirrorArea ====
*/
.mirrorArea {
	width: 880px;
	height: auto;
	margin: 32px auto 0;
}
.mirrorArea h2 {
	width: 880px;
	height: 25px;
	margin: 0 auto 8px;
}
.mirrorArea .mirrorLine {
	border-bottom: 1px dotted #b8b8b8;
	width: 834px;
	height: 4px;
	text-indent: -9999px;
	margin: 0 0 0 16px;
}
.mirrorArea .mirrorLine.color {
	border-color: #ffc800;
}
.mirrorArea .mirrorLine span {
	background: url('./images/layout_icon_category.png') top left no-repeat;
	background-position: -156px 0;
	width: 12px;
	height: 10px;
	margin-right: -14px;
	float: right;
}
.mirrorArea .mirrorLine.color span {
	background-position: -72px 0;
}
.mirrorArea .mirrorList {
	background-color: rgba(255,255,255,0.6);
	color: #606060;
	font-family: 'UDShinGoM';
	font-size: 16px;
	letter-spacing: 1px;
	width: 848px;
	height: auto;
	margin: 0 0 0 16px;
}
.mirrorArea .mirrorList a {
	font-weight: normal;
}
.mirrorArea .mirrorList dl {
	width: 848px;
	min-height: 24px;
	margin: 0 auto -4px;
	padding: 6px 0 2px;
}
.mirrorArea .mirrorList dl.odd {
	background-color: rgba(255,248,216,0.4);
}
.mirrorArea .mirrorList dl.row02 {
	min-height: 44px;
}
.mirrorArea .mirrorList dl dt {
	width: 416px;
	min-height: 21px;
	margin-left: 8px;
	float: left;
}
.mirrorArea .mirrorList dl dt span {
	background: url('./images/layout_icon_category.png') top left no-repeat;
	background-position: -72px;
	width: 12px;
	height: 10px;
	margin: 4px 6px 0 0;
	text-indent: -9999px;
	display: block;
	float: left;
}
.mirrorArea .mirrorList dl dd {
	width: 205px;
	min-height: 21px;
	text-align: center;
	float: left;
}
.mirrorArea .mirrorList dl dd.page {
	border-left: 1px solid #b8b8b8;
	border-right: 1px solid #b8b8b8;
}
.mirrorArea .mirrorList dl.row02 dd {
	min-height: 41px;
}
.mirrorArea .mirrorList .mirrorLine {
	margin-left: 0;
}
