@charset "utf-8";
.frame {
    display: black;
    position: fixed;
    z-index: 1005;
    background-color: rgba(255,255,255,1);
}
.frame_top {
    top: 0;
    left: 0;
    width: 100%;
    height: 25px;
}
.frame_bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
}
.frame_right {
    top: 0;
    right: 0;
    height: 100%;
    width: 25px;
}
.frame_left {
    top: 0;
    left: 0;
    height: 100%;
    width: 25px;
}
.frame::before {
	content: '';
	position: absolute;
	background-color: #000;
}
.frame_top::before {
    top: 25px;
    left: 25px;
    width: calc(100% - 50px);
    height: 1px;
}
.frame_bottom::before {
    bottom: 25px;
    left: 25px;
    width: calc(100% - 50px);
    height: 1px;
}
.frame_right::before {
    top: 25px;
    right: 25px;
    height: calc(100% - 50px);
    width: 1px;
}
.frame_left::before {
    top: 25px;
    left: 25px;
    height: calc(100% - 50px);
    width: 1px;
}
.frame::after {
	content: '';
	position: absolute;
	background-color: rgba(255,255,255,1);
}
.frame_top::after {
    top: 26px;
    left: 26px;
    width: calc(100% - 52px);
    height: 15px;
}
.frame_bottom::after {
    bottom: 26px;
    left: 26px;
    width: calc(100% - 52px);
    height: 15px;
}
.frame_right::after {
    top: 26px;
    right: 26px;
    height: calc(100% - 52px);
    width: 15px;
}
.frame_left::after {
    top: 26px;
    left: 26px;
    height: calc(100% - 52px);
    width: 15px;
}

#header header {
	padding: 0;
}
#header header.major h1:after {
	display: none;
}
.gnav {
	position: fixed;
  top: 50%;
  left: 56px;
  width: 38px;
  height: auto;
  z-index: 1000;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.gnav ul {
	position: absolute;
	top: 0px;
	bottom: 0px;
	margin: auto;
	padding: 0;
	height: 263px;
	list-style: none;
}
.gnav ul li {
	position: relative;
	margin-top: 7px;
	padding: 0;
	line-height: 0;
}
.gnav ul li:first-child {
	margin-top: 0;
}
.gnav ul li .balloon {
	position: absolute;
  top: 50%;
  left: 55px;
  background: #AAA;
  color: #FFF;
  margin: 0;
  padding: 18px 15px;
  width: 100px;
  font-size: 0.7em;
  opacity: 0;
  visibility: hidden;
  -webkit-transform : translateY(-50%);
	transform : translateY(-50%);
  border-radius: 5px;
  -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	transition: all .3s ease;
  -webkit-transition: all .3s ease;
}
.gnav ul li .balloon:after {
	content: " ";
  position: absolute;
  top: 50%;
  left: -12px;
  border: 5px solid transparent;
	border-right: 8px solid #AAA;
  width: 0;
  height: 0;
  pointer-events: none;
  -webkit-transform : translateY(-50%);
	transform : translateY(-50%);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.gnav ul li a:hover + .balloon {
  opacity: 1;
  visibility: visible;
}
.gnav ul li a {
	border-bottom: none;
}
.gnav ul li a img {
	width: 100%;
	height: auto;
}

#header .goto-next {
	/*background-color: rgba(144, 144, 144, 0.275);*/
	background-image: url("images/arw.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 25px auto;
	border: 0;
	bottom: 3em;
	display: block;
	height: 3em;
	left: 50%;
	line-height: 3em;
	margin-left: -1.5em;
	overflow: hidden;
	position: absolute;
	text-indent: 3em;
	white-space: nowrap;
	width: 3em;
	overflow: hidden;
	z-index: 1;
}

	#header .goto-next a {
		display: block;
		-moz-transition: ;
		-webkit-transition: none;
		-ms-transition: none;
		transition: none;
		border-bottom: none;
	}

	/* 線(ボーダー)のスタイル 共通 */
	#header .goto-next:before,
	#header .goto-next:after,
	#header .goto-next a:before,
	#header .goto-next a:after {
		content: '';
		position: absolute;
		background: #FFF; /*線の色*/
	}
	/* 下のボーダー */
	#header .goto-next:before {
		bottom: 0;
		left: -3em;
		width: 3em;
		height: 1px;
	}
	/* 右のボーダー */
	#header .goto-next:after {
		bottom: -3em;
		right: 0;
		width: 1px;
		height: 3em;
	}
	/* 上のボーダー */
	#header .goto-next a:before {
		top: 0;
		right: -3em;
		width: 3em;
		height: 1px;
	}
	/* 左のボーダー */
	#header .goto-next a:after {
		top: -3em;
		left: 0;
		width: 1px;
		height: 3em;
	}

	/* ホバー時のアニメーション指定 */
	#header .goto-next:hover:before {
		animation: leftAnim 0.6s linear 0s infinite;
	}
	#header .goto-next:hover:after {
		animation: bottomAnim 0.6s linear .3s infinite;
	}
	#header .goto-next a:hover:before {
		animation: rightAnim 0.6s linear 0s infinite;
	}
	#header .goto-next a:hover:after {
		animation: topAnim 0.6s linear .3s infinite;
	}

	/* 各アニメーション */
	@keyframes topAnim {
		0% {top:-3em;}
		100% {top:3em;}
	}
	@keyframes bottomAnim {
		0% {bottom:-3em;}
		100% {bottom:3em;}
	}
	@keyframes rightAnim {
		0% {right:-3em;}
		100% {right:3em;}
	}
	@keyframes leftAnim {
		0% {left:-3em;}
		100% {left:3em;}
	}


#footer {
  min-height: auto;
  padding: 0;
}
#footer footer {
  bottom: 45px;
  color: #FFF;
}
#footer footer .support {
  color: rgba(30, 30, 30, 1);
  margin: 0;
  font-size: 10px;
}
#footer footer .support a {
	border-bottom: none;
}
#footer footer .copyright_wrap {
	position: fixed;
	top: 50%;
	right: 47px;
	width: 4em;
	height: 80px;
	-webkit-transform : translateY(-50%);
	transform : translateY(-50%);
	z-index: 1000;
}
#footer footer .copyright {
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 0;
  left: 0;
  /* color: #333; */
  margin: auto;
  padding: 0;
  height: 4.4em;
  line-height: 1.1em;
  -webkit-transform: rotate(90deg);
  transform: rotate(-90deg);
}

section header.major h2 {
	position: fixed;
	bottom: 70px;
	left: 41px;
	margin: 0;
  font-size: 4.1em;
	opacity: 0;
}
section.active header.major h2 {
	opacity: 1;
	-moz-transition-duration: 1.2s;
	-webkit-transition-duration: 1.2s;
	-ms-transition-duration: 1.2s;
	-moz-transition-timing-function: ease-in-out;
	-webkit-transition-timing-function: ease-in-out;
	-ms-transition-timing-function: ease-in-out;
}
section header.major h2:after {
  background: #FFF;
  content: '';
  display: block;
  height: 5px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.br {display:none;}

.window {
	position: relative;
	margin-left: 30px;
}
.window:before {
	content:'';
	position: absolute;
	top: 0.1em;
	left: -30px;
	background-image: url("images/window.png");
	background-repeat: no-repeat;
	background-size: 20px auto;
	width: 20px;
	height: 20px;
}

@media screen and (max-width: 1680px) {

  section header.major h2 {
    font-size: 4.35em;
  }

}

@media screen and (max-width: 980px) {

	section header.major h2 {
		font-size: 3.75em;
	}

}

@media screen and (max-width: 736px) {

	.frame_top {
		height: 15px;
	}
	.frame_bottom {
		height: 15px;
	}
	.frame_right {
		width: 15px;
	}
	.frame_left {
		width: 15px;
	}
	.frame_top::before {
		top: 15px;
		left: 15px;
		width: calc(100% - 30px);
	}
	.frame_bottom::before {
		bottom: 15px;
		left: 15px;
		width: calc(100% - 30px);
	}
	.frame_right::before {
		top: 15px;
		right: 15px;
		height: calc(100% - 30px);
		width: 1px;
	}
	.frame_left::before {
		top: 15px;
		left: 15px;
		height: calc(100% - 30px);
	}
	.frame_top::after {
		top: 16px;
		left: 16px;
		width: calc(100% - 32px);
		height: 10px;
	}
	.frame_bottom::after {
		bottom: 16px;
		left: 16px;
		width: calc(100% - 32px);
		height: 10px;
	}
	.frame_right::after {
		top: 16px;
		right: 16px;
		height: calc(100% - 32px);
		width: 10px;
	}
	.frame_left::after {
		top: 16px;
		left: 16px;
		height: calc(100% - 32px);
		width: 10px;
	}

	.gnav {
		left: 40px;
		width: 32px;
	}
	.gnav ul li .balloon {
		display: none;
	}

	#footer footer {
		bottom: 5px;
	}
	#footer footer .copyright_wrap {
		right: 33px;
	}

	section header.major h2 {
		bottom: 50px;
		left: 26px;
		font-size: 3.15em;
	}

	.br {display:block;}
	.window {
		margin-left: 25px;
	}
	.window:before {
		left: -25px;
		background-size: 18px auto;
		width: 18px;
		height: 18px;
	}

}


@media screen and (max-width: 480px) {

	#header header {
		padding: 0;
	}
	#header header.major h1:after {
		display: none;
	}
	#header header.major h1 img {
		width: 100px;
	}
	.gnav {
		left: 33px;
		width: 25px;
	}
	.gnav ul {
		height: 185px;
	}
	.gnav ul li {
		padding: 0;
		line-height: 0;
	}
	.gnav ul li:first-child {}
	.gnav ul li a {
		border-bottom: none;
	}
	.gnav ul li a img {
		width: 100%;
		height: auto;
	}

	/* 線(ボーダー)のスタイル 共通 */
	#header .goto-next:before,
	#header .goto-next:after,
	#header .goto-next a:before,
	#header .goto-next a:after {
		display: none;
	}

	#footer footer .copyright_wrap {
		right: -3.5em;
		width: 1em;
	}
	#footer footer .copyright {
		left: auto;
		right: -1px;
		width: 19em;
		height: 0;
		white-space: nowrap;
	}

	section header.major h2 {
		font-size: 2.15em;
	}

}