body {
	overflow: hidden;
	padding: 0;
	margin: 0;
	font-family: "07YasashisaAntique", sans-serif;
	font-size: 14pt;
}
@font-face {
	font-family: '07YasashisaAntique';
	src: local('07YasashisaAntique.otf'), local('07YasashisaAntique'), url('07YasashisaAntique.otf') format('opentype');
}
.header h1 {
	width: 4em;
	height: 4em;
	max-width: 200px;
	background: url(img/h1.png) no-repeat;
	background-size: cover;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 200;
}
.header a {
	width: 100%;
	height: 100%;
	display: block;
}
#main {
	width: 80%;
	height: 70%;
	right: 0;
	left: 0;
	margin: 0 auto;
	position: relative;
	top: -9000px;
	overflow: hidden;
	background: url(img/mainbg.png)repeat;
	box-shadow: 1px 0px rgba(255, 255, 255, 0.7), 2px 1px rgba(255, 255, 255,0.7), 3px 2px rgba(255, 255, 255, 0.7), 4px 3px rgba(255, 255, 255, 0.7), 5px 4px rgba(255, 255, 255,0.7), 6px 5px rgba(255, 255, 255, 0.7), 7px 6px rgba(255, 255, 255, 0.7), 8px 7px rgba(255, 255, 255,0.7), 9px 8px rgba(255, 255, 255, 0.7), 10px 9px rgba(255, 255, 255, 0.7), 11px 10px rgba(255, 255, 255,0.7), 12px 11px rgba(255, 255, 255, 0.7);
	z-index: 40;
}
.panel {
	color: #FFF;
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 50;
	padding: 2em;
	box-sizing: border-box;
	line-height: 1.3em;
}
.panel h1 {
	font-size: 1.3em;
	margin: 0 0.5em;
	padding: 0.5em;
	box-sizing: border-box;
	position: relative;
	text-shadow: 1px 1px 1px #000;
}
.panel h1:hover {
	opacity: 0.8;
}
.panel h1:hover a:after {
	border-bottom: solid 4px #009e81;
}
.panel h1 a {
	display: block;
	text-align: center;
	text-decoration: none;
	color: #ff1493;
}
.panel .leftpanel h1 a {
	color: #008b8b;
}
.panel h1 a:after {
	content: "";
	display: block;
	background: rgba(255, 255, 255, 0.8);
	width: 130%;
	height: 100%;
	position: absolute;
	top: 0;
	right: -7%;
	z-index: -1;
	-moz-transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-moz-transform: perspective(1000px) rotateY(-45deg);
	-webkit-transform: perspective(1000px) rotateY(-45deg);
	transform: perspective(1000px) rotateY(-45deg);
}
.panel h1 span {
	font-size: 0.7em;
	display: block;
	color: #383838;
	text-shadow: none;
	margin-top: 3px;
}
.panel dl {
	padding: 0.5em;
}
.panel dd {
	margin-bottom: 0.8em;
	text-shadow: 1px 1px 1px #000;
}
.panel h6 {
	font-size: 1em;
	position: absolute;
	right: 1em;
	bottom: 1em;
	margin: 0.5em 0;
	padding: 0.5em;
	text-shadow: 1px 1px 2px #1d1d1d;
	background: rgba(99, 99, 99, 0.7);
	border-radius: 4px;
	border: solid 1px #bdbdbd;
	box-sizing: border-box;
	box-shadow: 2px 2px 0 #008b8b;
}
.panel h6:hover {
	opacity: 0.8;
}
.panel h6 a {
	text-decoration: none;
	color: #ff7f50;
}
.leftpanel {
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	position: absolute;
	box-sizing: border-box;
	z-index: 55;
	padding: 1em;
}
.leftpanel:after {
	content: "";
	background: #800000;
	width: 85%;
	height: 85%;
	display: block;
	position: absolute;
	z-index: -10;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	-moz-transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-moz-transform: perspective(1000px) rotateY(45deg);
	-webkit-transform: perspective(1000px) rotateY(45deg);
	transform: perspective(1000px) rotateY(45deg);
}
.righpanel {
	top: 0;
	right: 0;
	width: 50%;
	height: 100%;
	position: absolute;
	box-sizing: border-box;
	z-index: 55;
	padding: 1em;
}
.righpanel:after {
	content: "";
	background: #17cddd;
	width: 85%;
	height: 85%;
	display: block;
	position: absolute;
	z-index: -10;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	-moz-transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-moz-transform: perspective(1000px) rotateY(45deg);
	-webkit-transform: perspective(1000px) rotateY(45deg);
	transform: perspective(1000px) rotateY(45deg);
}
.box {
	width: 50%;
	height: 100%;
	position: absolute;
	box-sizing: border-box;
	z-index: 100;
}
.leftbox {
	top: 0;
	left: 0;
	background: url(img/bg.png)repeat 100% 100%;
	border-right: solid 7px #b1b1b1;
	box-sizing: border-box;
}
.rightbox {
	top: 0;
	right: 0;
	background: url(img/bg.png)repeat 0 100%;
	border-left: solid 7px #b1b1b1;
	box-sizing: border-box;
}
.fullwidth .expand {
	display: none;
	width: 100%;
	height: 7px;
	top: 0;
	margin: 0;
	background: #17cddd;
	position: absolute;
	-moz-animation: fullexpand 2s ease-out;
	-webkit-animation: fullexpand 2s ease-out;
}
@-moz-keyframes fullexpand {
 0% {
width:0px;
}
 100% {
width:100%;
}
}
@-webkit-keyframes fullexpand {
 0% {
width:0px;
}
 100% {
width:100%;
}
}
#message {
}
#message p span, .toptext:nth-of-type(7) {
	color: #FFF;
}
p {
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
	font-smoothing: antialiased;
	margin: 0.8em 0;
	color: rgb(46, 152, 139);
}
.toptext:nth-of-type(1) {
	color: #e41e68;
}
.toptext:nth-of-type(2), .toptext:nth-of-type(3), .toptext:nth-of-type(4), .toptext:nth-of-type(5), .toptext:nth-of-type(6) {
	margin-left: 2em;
}
.ghost, .glitch {
	opacity: 0.25;
}
#message {
	margin: auto;
	position: absolute;
	height: 40%;
	width: 50%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	box-sizing: border-box;
}
#animate {
	text-shadow: 0 0 8px rgba(209, 194, 165, 0.1);
	position: absolute;
	color: #4f4228;
	bottom: 0;
}
#container {
	background: url(img/stripe.gif);
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	right: 0;
	top: 0;
	margin: auto;
}
#container:before {
	pointer-events: none;
	position: absolute;
	height: 100%;
	width: 100%;
	content: "";
	left: 0;
	top: 0;
	background-image: url();
}
.button {
	display: none;
	width: 20em;
	height: 20em;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 20;
	background: url(img/button1.png) no-repeat 100% 100%;
	background-size: 100% 100%;
}
.button:hover {
	opacity: 0.8;
}
.button img {
	width: 100%;
	height: 100%;
}
.button2 {
	opacity: 0;
	width: 20em;
	height: 20em;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	background: url(img/button2.png) no-repeat 100% 100%;
	background-size: 100% 100%;
}
.ask {
	position: absolute;
	right: 0;
	top: 7px;
}
.ask h2 {
	margin: 0.5em;
	border-radius: 6px;
	font-size: 1em;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #303030), color-stop(1.00, #000));
	background: -webkit-linear-gradient(#303030, #000);
	background: -moz-linear-gradient(#303030, #000);
	background: -o-linear-gradient(#303030, #000);
	background: -ms-linear-gradient(#303030, #000);
	background: linear-gradient(#303030, #000);
	border: solid 2px rgba(86, 80, 55, 0.7);
	box-sizing: border-box;
}
.ask h2 a {
	color: #6f5c24;
	text-decoration: none;
	display: block;
	padding: 1em;
}
.ask h2 a:hover {
	text-decoration: underline;
	opacity: 0.8;
}
.ask h2 span {
	-moz-transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	transform: rotate(-90deg);
	display: inline-block;
	color: #404040;
	background: #cecece;
	padding: 5px;
	border-radius: 20px;
	margin: 0px 0px 0px 10px;
	font-size: 0.8em;
	box-sizing: border-box;
}


.sns {
	position: absolute;
	bottom: 1em;
	right: 1em;
	margin: auto;
	z-index: 500;
}









@media (min-width: 1620px) {
body {
	background: #242424;
	font-size: 15pt;
}
#container {
	max-width: 1420px;
}
.header h1 {
	width: 5em;
	height: 5em;
	margin: 0;
	top: 7px;
}
}

@media (max-width: 1200px) {
body {
	font-size: 13pt;
}
.header h1 {
	width: 3em;
	height: 3em;
	margin: 0;
	top: 7px;
}
.textdl {
	overflow: auto;
	display: block;
	height: 70%;
	padding-bottom: 2em;
}
}

@media screen and (min-width:721px) and ( max-width:900px) {
}

@media (max-width: 720px) {
body {
	font-size: 12pt;
}
.header h1 {
	width: 2.8em;
	height: 2.8em;
	margin: 0;
	top: 7px;
}
#main {
	width: 90%;
	height: 82%;
	overflow-y: auto;
	display: block;
	max-width: 480px;
}
.panel {
	padding: 1em;
	line-height: 1.1em;
}
.leftpanel {
	width: 100%;
	height: auto;
	position: relative;
	padding: 0;
	margin-bottom: 3em;
}
.leftpanel:after {
	content: "";
	width: 95%;
	height: auto;
	-moz-transform: perspective(1000px) rotateY(25deg);
	-webkit-transform: perspective(1000px) rotateY(25deg);
	transform: perspective(1000px) rotateY(25deg);
}
.righpanel {
	width: 100%;
	height: auto;
	position: relative;
	padding: 0;
}
.righpanel:after {
	content: "";
	width: 95%;
	height: auto;
	-moz-transform: perspective(1000px) rotateY(-25deg);
	-webkit-transform: perspective(1000px) rotateY(-25deg);
	transform: perspective(1000px) rotateY(-25deg);
}
.panel h1 a:after {
	content: "";
	right: -14%;
}
.panel .righpanel h1 a:after {
	content: "";
	-moz-transform: perspective(1000px) rotateY(45deg) !important;
	-webkit-transform: perspective(1000px) rotateY(45deg) !important;
	transform: perspective(1000px) rotateY(45deg) !important;
}
.panel h6 {
}
#message {
	height: 40%;
	width: 70%;
}
.ask h2 {
	font-size: 0.8em;
}
}
@media (max-width: 480px) {

.header h1 {
	width: 2.5em;
	height: 2.5em;
	margin: 0;
	top: 7px;
}
}
