@charset "UTF-8";

/* ========================================
	common
======================================== */
img {
	width: 100%;
	height: auto;
	vertical-align: top;
}
body {
}
body.is-hidden {
	overflow: hidden;
}
.l-wrapper {
	position: relative;
	overflow: hidden;
}

/* 背景固定 js切替 */
.background-area {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 120%;
}



/* ========================================
	header
======================================== */
.l-logo-3ds {
	position: absolute;
	z-index: 5000;
	top: 13px;
	right: 5px;
	width: 33.33333%; /* 250px / 750px * 100 */
}


/* ========================================
	footer
======================================== */
l-footer {
}
.l-footer_nav {
	position: relative;
	background: url(../images/common/footer_bg.png) repeat-y center top;
	background-size: 100% auto;
}
.l-footer_logo {
	position: relative;
	top: -12px;
	width: 48.8%;/* 366 / 750 * 100 */
  margin-left: auto;
  margin-right: auto;
}
.l-footer_pagetop {
	width: 16%;/* 120 / 750 * 100 */
	position: absolute;
	top: -14px;
	right: 15px;
}
.l-gnav {
  margin-top: -7px;
  padding-bottom: 28px;
	overflow: hidden;
}
.l-gnav_item {
	float: left;
	width: 50%;
	box-sizing: border-box;
}
.l-gnav_item:nth-child(even) {
	margin-left: -1.6%;
}
.l-gnav_item:nth-child(4) {
	margin-left: -2.4%;
}
.l-footer_info {
	position: relative;
  padding: 56px 0 25px 0;
	background: url(../images/common/footer_bg_btm.png) repeat center top;
	background-size: 4% auto;
}
.l-footer_official {
	text-align: center;
	font-size: 0;
}
.l-footer_official li {
	display: inline-block;
	font-size: 11px;
	padding: 0 14px;
}
.l-footer_official li:not(:last-child) {
	border-right: #FFF 1px solid;
}
.l-footer_nintendo {
	width: 104px;
}
.l-footer_3ds {
	width: 164px;
}


/* ========================================
	tab
======================================== */
[data-tabswitch] {
	position: relative;
	cursor: pointer;
}
[data-tabswitch] img {
	transition: opacity 300ms;
}
[data-tabswitch] .tabnv_switch-on {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}
[data-tabswitch].is-current .tabnv_switch-off {
	opacity: 0;
}
[data-tabswitch].is-current .tabnv_switch-on {
	opacity: 1;
}
[data-tabswitch].is-current .tabnv_switch-on {
	-webkit-animation: tabCurrent 2500ms linear infinite;
	animation: tabCurrent 2500ms linear infinite;
}

@-webkit-keyframes tabCurrent {
	0% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
	80% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
		animation-timing-function: ease-out;
	}
	86% {
		-webkit-transform: translateY(-10px);
		transform: translateY(-10px);
		animation-timing-function: ease-in;
	}
	92% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
		animation-timing-function: ease-out;
	}
	96% {
		-webkit-transform: translateY(-4px);
		transform: translateY(-4px);
		animation-timing-function: ease-in;
	}
	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}
@keyframes tabCurrent {
	0% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
	80% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
		animation-timing-function: ease-out;
	}
	86% {
		-webkit-transform: translateY(-10px);
		transform: translateY(-10px);
		animation-timing-function: ease-in;
	}
	92% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
		animation-timing-function: ease-out;
	}
	96% {
		-webkit-transform: translateY(-4px);
		transform: translateY(-4px);
		animation-timing-function: ease-in;
	}
	100% {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}
}
[data-tabbody] {
	visibility: hidden;
	opacity: 0;
	transition: 200ms;
}
[data-tabbody].is-current {
	visibility: visible;
	opacity: 1;
}
.l-tabbody {
	position: relative;
}
.l-tabbody_content {
	position: relative;
}
.l-tabbody_content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* ========================================
	modal
======================================== */
[data-modallink] {
	cursor: pointer;
}
[data-modalbody] {
	visibility: hidden;
	opacity: 0;
	transition: 200ms;
}
[data-modalbody].is-show {
	visibility: visible;
	opacity: 1;
}
.l-modal {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9500;
	width: 100%;
	height: 100%;
}
.l-modal_bg {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	background: url(../images/common/modal_bg.png) center top repeat-y;
	background-size: 100%;
	cursor: pointer;
}
.l-modal_body {
	position: relative;
	width: 73%;
	margin: auto;
}
.l-modal_inner {
	padding: 4px 4px 8px;
	background: #ffffff;
}
.l-modal_close {
	width: 145px;
	margin: 17px auto 0;
	cursor: pointer;
}
.l-modal_prev,
.l-modal_next {
	position: absolute;
	top: 50%;
	width: 34px;
	margin-top: -26px;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	cursor: pointer;
}
.l-modal_prev {
	left: -40px;
}
.l-modal_next {
	right: -40px;
}
.l-modal_contents {
	position: relative;
	z-index: 20;
	width: 100%;
	height: 100%;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
}
.l-modal_movie {
	position: relative;
	width: 100%;
}
.l-modal_movie:before {
	content: '';
	display: block;
	position: relative;
	width: 100%;
    padding-top: 56.25%; /* 100% / 640px * 360px */
}
.l-modal_movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.l-modal_ytTtl {
	margin-top: 9px;
}


/* ========================================
	animation
======================================== */


/** VARIABLES
===================================*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
  position: relative;
  padding: 0;
  *zoom: 1;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}
.bx-wrapper img {
  max-width: 100%;
  display: block;
}
.bxslider {
  margin: 0;
  padding: 0;
}
ul.bxslider {
  list-style: none;
}
.bx-viewport {
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
}
/** THEME
===================================*/
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: -30px;
  width: 100%;
}
/* PAGER */
.bx-wrapper .bx-pager {
  text-align: center;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  text-indent: -9999px;
  display: block;
  outline: 0;
}
.bx-wrapper .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  vertical-align: bottom;
  *zoom: 1;
  *display: inline;
}
.bx-wrapper .bx-pager-item {
  font-size: 0;
  line-height: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
  left: 10px;
}
.bx-wrapper .bx-next {
  right: 10px;
}
.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  outline: 0;
  text-indent: -9999px;
  z-index: 5000;
}
.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}


/* ========================================
	imagemaps
======================================== */
img[usemap] {
	width: 100%;
	height: auto;
}
