/* -- Basic -- */
body {
  background-image: url("../img/bg.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  font-family: "EB";
  font-size: 17px;
  line-height: 1.2em;
  overflow: hidden;
}
.wb {white-space: nowrap;}
body div.bg_op {
	width: 100%;
	height: 100%;
	background-image: url("../img/pattern.png");
	background-repeat: repeat;
	opacity: 0.55;
}
button {
	color: #000000;
	font-family: "EB";
	font-size: 1em;
	line-height: 1.2em;
}

h1 {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
	padding: 30px;
}
h1 img {
	width: 100%;
	max-width: 300px;
	min-width: 200px;
}

nav {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1;
}
nav #menu {
	display: table;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background-image: url("../img/pattern.png");
	background-repeat: repeat;
	text-align: center;
}
nav #menu.closed {
	display: none;
}/*
nav button.opened {
	display: table;
}
	*/
nav #menu ul {
	display: table-cell;
	vertical-align: middle;
}
nav #menu ul li {
	padding: 10px 0;
}
nav #menu ul li button, nav #menu ul li a {
	position: relative;
}
nav #menu ul li button span, nav #menu ul li a span {
	display: block;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 0);
	width: 0;
	height: 2px;
	background: #2d2d2d;
	transition: 0.2s ease;
}
nav #menu ul li button:hover span, nav #menu ul li a:hover span {
	width: calc(100% + 10px);
}
nav button#btn_gnb {
	position: fixed;
	top: 50px;
	right: 50px;
	width: 60px;
	height: 60px;
	font-size: 17px;
	line-height: 1em;
	text-align: right;
}
nav button#btn_gnb span {
	display: inline-block;
	width: 100%;
	height: 11px;
	margin-top: 2px;
	margin-bottom: 2px;
	background: #13553c;
	border: 2px solid #ffffff;
	transition: 0.2s ease;
}
nav button#btn_gnb.closed .top {
	width: 70%;
}
nav button#btn_gnb.closed .bottom {
	width: 87%;
}
nav button#btn_gnb.closed:hover span {
	background-color: #bd212a;
}
nav button#btn_gnb.closed:hover .top {
	width: 100%;
}
nav button#btn_gnb.closed:hover .bottom {
	width: 100%;
}
nav button#btn_gnb.opened span {
	background-color: #bd212a;
	width: 100%;
}
nav button#btn_gnb.opened:hover span {
	background-color: #13553c;
}
nav button#btn_gnb.opened .top {
	position: absolute;
	top: 22px;
	left: 0;
	transform: rotate(45deg);
}
nav button#btn_gnb.opened .middle {
	width: 0;
	height: 0;
	border: none;
}
nav button#btn_gnb.opened .bottom {
	position: absolute;
	top: 22px;
	left: 0;
	transform: rotate(-45deg);
}

section.menu_li {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #ffffff;
	z-index: 2;
}
section.menu_li.closed {
	display: none;
}
section.menu_li .li_bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #2d2d2d;
	opacity: 0.7;
}
section.menu_li .div_table {
	position: relative;
	top: 0;
	left: 0;
	display: table;
	width: 100%;
	height: 100%;
}
section.menu_li .div_cell {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
section.menu_li .box {
	position: relative;
	min-width: 300px;
	display: inline-block;
	padding: 90px 100px;
	background: #2d2d2d;
	text-align: center;
}
section.menu_li .box table {
	display: inline;
	text-align: left;
}
section.menu_li .box table th {
	text-align: center;
}
section.menu_li .box table th, section.menu_li .box table td {
	padding: 8px 12px;
}
section.menu_li .btn_next {
	position: absolute;
	top: 50%;
	right: 32px;
	transform: translateY(-50%);
	width: 38px;
}
section.menu_li .btn_prev {
	position: absolute;
	top: 50%;
	left: 32px;
	transform: translateY(-50%);
	width: 38px;
}
section.menu_li .btn_next img, section.menu_li .btn_prev img {width: 100%;} 
section.menu_li .btn_popup {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 60px;
	height: 60px;
	text-align: left;
}
section.menu_li .btn_popup span {
	display: inline-block;
	width: 100%;
	height: 11px;
	margin-top: 2px;
	margin-bottom: 2px;
	background: #13553c;
	border: 2px solid #ffffff;
	transition: 0.2s ease;
}
section.menu_li .btn_popup span:nth-child(1) {
	position: absolute;
	top: 22px;
	left: 0;
	transform: rotate(45deg);
}
section.menu_li .btn_popup span:nth-child(2) {
	position: absolute;
	top: 22px;
	left: 0;
	transform: rotate(-45deg);
}
section.menu_li .btn_popup:hover span {
	background:#bd212a;
}

section.menu_li .box ul {
	position: relative;
	overflow: hidden;
}

section.menu_li .box ul li {
	position: absolute;
	top: 0;
	left: 0;
	transform: translateX(100%);
	transition: 0.2s ease;
}
section.menu_li .box ul li:first-child {
	position: relative;
	transform: translateX(0%);
}
section.menu_li .box ul li:last-child {
	transform: translateX(-100%);
}
section.menu_li .box li img {
	width: 100%;
	max-width: 800px;
	/* max-height: 678px; */
	max-height: calc(100vh - 200px);
}

footer {
	position: fixed;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}
footer table {display: inline-block;}
footer table td {
	width: min-content;
	padding-left: 5px;
}
footer img {
	width: 38px;
}

/*
body {
  background-image: url("../img/pattern.png");
  background-repeat: repeat;
}
*/


@media screen and (orientation: landscape) {
	
	section.menu_li .box li img {
		width: 100%;
		max-width: 800px;
		max-height: calc(100vh - 200px);
	}
	
}

@media screen and (orientation: portrait) {
/* 		
	section.menu_li .box li img {
		width: 100%;
		max-width: 800px;
	} */
	
}

@media screen and (max-device-height: 768px){

section.menu_li .box {
	padding: 58px;
}
section.menu_li .box li img {
	max-height: calc(100vh - 126px);
}
section.menu_li .btn_next {
	right: 12px;
}
section.menu_li .btn_prev {
	left: 12px;
}
section.menu_li .btn_popup {
	top: 2px;
	right: 6px;
	width: 50px;
	height: 50px;
}

footer {bottom: 10px;}
footer img {width: 1.7em;}

}

@media screen and (max-device-width: 768px){

body {
  font-size: 2rem;
}
button {
	font-size: 2rem;
}

h1 {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-align: center;
	padding: 10px;
}
h1 img {
	max-width: 400px;
	min-width: 300px;
}
nav #menu ul li {
	padding: 16px 0;
}
nav #menu ul li button span, nav #menu ul li a span {
	height: 4px;
}
nav #menu ul li button:hover span, nav #menu ul li a:hover span {
	width: calc(100% + 16px);
}
nav button#btn_gnb {
	width: 80px;
	height: 80px;
}
nav button#btn_gnb span {
	height: 15px;
	border-width: 3px;
}

section.menu_li .box {
	padding: 70px;
}
section.menu_li .box table th, section.menu_li .box table td {
	padding: 16px 12px;
}
section.menu_li .btn_next {
	right: 20px;
}
section.menu_li .btn_prev {
	left: 20px;
}
section.menu_li .btn_popup {
	top: 14px;
	right: 14px;
	width: 50px;
	height: 50px;
}

footer table td {padding-left: 10px;}

}