/* ==========================================================================
   Common
   ========================================================================== */

ul, li {
	margin: 0;
	padding: 0;
}

ul li{
	list-style: none;
	list-style-type: none;
}

img{
	vertical-align: bottom;
}

.ytVideo p {
	padding: 0px 10px;
	font-size: 55%;
	color: #666;
}


/* ==========================================================================
   Global Navi
   ========================================================================== */

.globalNavi {
	width: 305px;
	height: 44px;
	margin: 0 auto;
	padding-left: 4px;
}

.globalNavi li {
	display: block;
	float: left;
	width: 59px;
	height: 49px;
	margin: 0 2px 0 0;
	padding: 0;
}

.globalNavi li a {
	display: block;
	width: 59px;
	height: 48px;
	background-image: url(../images/common/navi.png);
	background-repeat: no-repeat;
	background-size: 494px 262px;
	text-indent: -9999px;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

.globalNavi li.new a:before {
	content: ".";
	position: absolute;
	display: block;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	background-size: 38px 32px;
	text-indent: -9999px;
	margin-top: -8px;
	margin-left: 10px;
	width: 38px;
	height: 16px;
}

.globalNavi li.new a:active:before {
	background-repeat: no-repeat;
	background-position: 0px -16px;
	background-size: 38px 32px;
	text-indent: -9999px;
	margin-top: -8px;
	margin-left: 10px;
	width: 38px;
	height: 16px;
}

body.ds3 .globalNavi li a,
body.newds3 .globalNavi li a,
body.android .globalNavi li a {
	background-image: url(../images/common/navi-android.png);
}

.globalNavi .play a			{ background-position: -0px 0px; }
.globalNavi .create a		{ background-position: -59px 0px; }
.globalNavi .costume a	{ background-position: -118px 0px; }
.globalNavi .movie a		{ background-position: -177px 0px; }
.globalNavi .products a	{ background-position: -236px 0px; }

.globalNavi .play a:active			{ background-position: -0px -48px; }
.globalNavi .create a:active		{ background-position: -59px -48px; }
.globalNavi .costume a:active		{ background-position: -118px -48px; }
.globalNavi .movie a:active			{ background-position: -177px -48px; }
.globalNavi .products a:active	{ background-position: -236px -48px; }

.globalNavi .play.selected a			{ background-position: -0px -96px; }
.globalNavi .create.selected a		{ background-position: -59px -96px; }
.globalNavi .costume.selected a		{ background-position: -118px -96px; }
.globalNavi .movie.selected a			{ background-position: -177px -96px; }
.globalNavi .products.selected a	{ background-position: -236px -96px; }

.globalNavi .play.selected a:active			{ background-position: -0px -144px; }
.globalNavi .create.selected a:active		{ background-position: -59px -144px; }
.globalNavi .costume.selected a:active	{ background-position: -118px -144px; }
.globalNavi .movie.selected a:active		{ background-position: -177px -144px; }
.globalNavi .products.selected a:active	{ background-position: -236px -144px; }


/* ==========================================================================
   Header
   ========================================================================== */
#Header {
	background-color: #facd00;
	padding-bottom: 12px;
}
   
#NintendoHeader {
	width:100%;
	height: 44px;
}

#NintendoHeader li {
	margin-top: 8px;
	display: block;
}

#NintendoHeader a {
	display: block;
	background-image: url(../images/common/navi.png);
	background-repeat: no-repeat;
	background-size: 494px 262px;
	text-indent: -9999px;
}

body.ds3 #NintendoHeader a,
body.newds3 #NintendoHeader a,
body.android #NintendoHeader a {
	background-image: url(../images/common/navi-android.png);
}

#NintendoHeader .nintendo {
	margin-left: 10px;
	float: left;
	width: 82px;
	height: 28px;
}

#NintendoHeader .nintendo a {
	width: 82px;
	height: 28px;
	background-position: -295px -86px;
/* 	background-position: -295px -114px; */
}

#NintendoHeader .wiiu {
	margin-left: 5px;
	float: left;
	width: 80px;
	height: 28px;
}

#NintendoHeader .wiiu a {
	width: 80px;
	height: 28px;
	background-position: -381px 0px;
/* 	background-position: -381px -28px; */
}

#Logo {
	width: 320px;
	height: 62px;
	margin: auto;
	padding: 5px 0 3px 0;
}

.index #Logo {
	padding: 0;
}

#Logo a {
	display: block;
	background-image: url(../images/common/navi.png);
	background-repeat: no-repeat;
	background-size: 494px 262px;
	text-indent: -9999px;
	background-position: 0px -192px;
	width: 320px;
	height: 70px;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

body.ds3 #Logo a,
body.newds3 #Logo a,
body.android #Logo a {
	background-image: url(../images/common/navi-android.png);
}

/* Caution */
.Caution {
	background-color: #efefef;
	text-align: left;
	font-size: 10.5px;
}

.CautionTxt > a > p {
	display:-webkit-box;
  	display:-ms-flexbox;
	display:flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	color: #3c3c3c;
	margin: 0;
}
.CautionTxt > a {
	display: block;
	color: #666666;
	height: 100%;
	padding: 12px 10px;
	text-decoration: none;
}
.CautionTxt > a > p::after {
	content: '';
    display: block;
    background: url(../../../../common/img/footer_ico_arrow_small_r_2x.png) 50% 50% no-repeat;
	background-size: 14px;
	background-color: #8c8c8c;
	border-radius: 50%;
    width: 12px;
	height: 12px;
	margin: 0 0 .5px auto;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */


#Footer {
	width: 100%;
	padding-top: 25px;
}

#Footer .upper {
	width: 100%;
	height: 30px;
	overflow: visible;
	background-color: #eca305;
}

#Footer .globalNavi {
	position: absolute;
	width: 308px;
	left: 50%;
	margin: -25px auto auto -154px;
}

#Footer .lower {
	width: 100%;
	height: 60px;
	overflow: hidden;
	background-color: #692800;	
}

#SNSNavi li a,
#NintendoNavi li a,
#NintendoNavi li.copyright {
	display: block;
	background-image: url(../images/common/navi.png);
	background-repeat: no-repeat;
	background-size: 494px 262px;
	text-indent: -9999px;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

body.ds3 #SNSNavi li a,
body.ds3 #NintendoNavi li a,
body.ds3 #NintendoNavi li.copyright,
body.newds3 #SNSNavi li a,
body.newds3 #NintendoNavi li a,
body.newds3 #NintendoNavi li.copyright,
body.android #SNSNavi li a,
body.android #NintendoNavi li a,
body.android #NintendoNavi li.copyright {
	background-image: url(../images/common/navi-android.png);
}


#SNSNavi {
	float: right;
	width: 96px;
	padding-top: 10px
}

#SNSNavi li {
	display: block;
	float: left;
	margin-right: 3px;
	width: 43px;
	height: 43px
}
#SNSNavi li a {
	width: 43px;
	height: 43px
}
#SNSNavi li.facebook a { background-position: -295px 0px }
#SNSNavi li.facebook a:active { background-position: -295px -43px }
#SNSNavi li.twitter a { background-position: -338px 0px }
#SNSNavi li.twitter a:active { background-position: -338px -43px }

#NintendoNavi {
	float: left;
	width: 197px;
	padding-left: 12px;
	padding-top: 13px;
}

#NintendoNavi li.nintendo {
	display: block;
	float:left;
	width: 94px;
	height: 19px;
	background-image: url(../images/common/border-footer.png);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: 1px 11px;
}

#NintendoNavi li.nintendo a {
	display: block;
	width: 94px;
	height: 19px;
	background-position: -381px -132px;
}

#NintendoNavi li.wiiu {
	display: block;
	float:left;
	width: 103px;
	height: 19px;
}

#NintendoNavi li.wiiu a {
	display: block;
	width: 103px;
	height: 19px;
	background-position: -381px -151px;
}

#NintendoNavi li.copyright {
	float: left;
	width: 92px;
	height: 8px;
	margin-top: 4px;
	background-position: -381px -170px;
}

#Footer .top {
	width: 113px;
	height: 38px;
	padding-bottom: 40px;
	margin: auto;
}
#Footer .top a {
	position: absolute;
	display: block;
	width: 113px;
	height: 38px;
	background-image: url(../images/common/navi.png);
	background-repeat: no-repeat;
	background-size: 494px 262px;
	background-position: -381px -56px;
	text-indent: -9999px;
	-webkit-tap-highlight-color:rgba(0,0,0,0);
}

body.ds3 #Footer .top a,
body.newds3 #Footer .top a,
body.android #Footer .top a {
	background-image: url(../images/common/navi-android.png);
}

#Footer .top a:active {
	background-position: -381px -94px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
	display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *	`contenteditable` attribute is included anywhere else in the document.
 *	Otherwise it causes space to appear at the top and bottom of elements
 *	that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *	`:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
	   (-webkit-min-device-pixel-ratio: 1.25),
	   (min-resolution: 1.25dppx),
	   (min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
	*,
	*:before,
	*:after {
		background: transparent !important;
		color: #000 !important; /* Black prints faster:
								   http://www.sanbeiji.com/archives/953 */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links that are fragment identifiers,
	 * or use the `javascript:` pseudo protocol
	 */

	a[href^="#"]:after,
	a[href^="javascript:"]:after {
		content: "";
	}

	pre,
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	/*
	 * Printing Tables:
	 * http://css-discuss.incutio.com/wiki/Printing_Tables
	 */

	thead {
		display: table-header-group;
	}

	tr,
	img {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	h2,
	h3 {
		page-break-after: avoid;
	}
}

/* ==========================================================================
   for ipad only
   ========================================================================== */
.ipad #ncommon-ghdr-header .ncommon-ghdr-header-menu-btn,
.ipad #ncommon-ghdr-header .ncommon-ghdr-header-search-btn,
.ipad #ncommon-ghdr-header .ncommon-ghdr-header-account{
	display: none;
}
.ipad #ncommon-ghdr-header{
	height: 20px;
	-moz-box-shadow: rgba(0,0,0,0.14902) 0px 0px 2px 0px;
	-webkit-box-shadow: rgba(0,0,0,0.14902) 0px 0px 2px 0px;
	box-shadow: rgba(0,0,0,0.14902) 0px 0px 2px 0px;
}
.ipad #ncommon-ghdr-header:after{
	top:20px;
}
.ipad #ncommon-ghdr-header .ncommon-ghdr-header-logo {
	top: 10px;
	zoom:0.5;
}
